@charset "UTF-8";

/* Plus Jakarta Sans (değişken font, 400–900) — kendi sunucumuzdan. Google Fonts
   render-blocking CSS isteği ve iki ekstra bağlantı ortadan kalktı. Türkçe
   karakterler (ş, ğ, İ) latin-ext dosyasında. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==============================================================================
   BOOM STORE — MODERN SNEAKER & STREETWEAR DESIGN SYSTEM
   Fonts: Bebas Neue (Headings) & Inter (UI, Body & Labels)
   Responsive Range: 320px — 1920px (Zero Horizontal Overflow)
   ============================================================================== */

:root {
  /* Color Palette */
  --bg: #FAFAF7;
  --ink: #141416;
  --ink-soft: #55555C;
  --ink-subtle: #8E8E96;
  --line: #E5E3DC;
  --surface: #F2F0E8;
  --surface-card: #FFFFFF;
  --accent: #FF3D1A;
  --accent-hover: #E02F0E;
  --cobalt: #1B3BFF;
  --green: #16A34A;
  --white: #FFFFFF;

  /* Typography Scale */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Boundaries */
  --maxw: 1400px;
  --header-height: 72px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.08);

  /* Animation */
  --trans: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  /* Mobilde sayfanın yatayda sağa-sola kaymasını engeller (iOS body overflow'u yok sayar). */
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 'hidden' değil 'clip': html de clip olduğundan 'hidden' body'yi ayrı bir kaydırma
     kutusuna çeviriyor ve üst menünün (position: sticky) sabit kalmasını bozuyordu. */
  overflow-x: clip;
  width: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans), opacity var(--trans);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
}

/* Visibility Utilities */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}
@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 61, 26, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ==============================================================================
   ANNOUNCEMENT TOP BAR & ROTATER
   ============================================================================== */
.top-announcement {
  background: var(--ink);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 70;
}

.top-announcement-wrap {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.announcement-rotater {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.announcement-item.exit-up {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* ==============================================================================
   DYNAMIC HERO BANNER POSITIONING & TYPOGRAPHY
   ============================================================================== */
.hero-content-dynamic {
  position: absolute !important;
  left: var(--content-x-desk, 8%) !important;
  top: var(--content-y-desk, 50%) !important;
  transform: var(--transform-desk, translate(0, -50%)) !important;
  text-align: var(--align-desk, left) !important;
  max-width: clamp(320px, 50vw, 680px) !important;
  z-index: 5 !important;
  padding: 0 !important;
}

.hero-content-dynamic .hero-title {
  font-size: var(--title-size-desk, 42px) !important;
  font-weight: var(--title-weight, 900) !important;
  color: var(--title-color, #ffffff) !important;
  margin-bottom: 10px !important;
}

.hero-content-dynamic .hero-subtitle {
  font-size: var(--sub-size-desk, 16px) !important;
  color: var(--sub-color, rgba(255, 255, 255, 0.85)) !important;
  margin-bottom: 20px !important;
}

.hero-content-dynamic .hero-actions {
  justify-content: var(--btn-justify-desk, flex-start) !important;
}

@media (max-width: 900px) {
  .hero-content-dynamic {
    left: var(--content-x-mob, 5%) !important;
    top: var(--content-y-mob, 50%) !important;
    transform: var(--transform-mob, translate(0, -50%)) !important;
    text-align: var(--align-mob, center) !important;
    max-width: 90% !important;
  }
  .hero-content-dynamic .hero-title {
    font-size: var(--title-size-mob, 26px) !important;
  }
  .hero-content-dynamic .hero-subtitle {
    font-size: var(--sub-size-mob, 14px) !important;
  }
  .hero-content-dynamic .hero-actions {
    justify-content: var(--btn-justify-mob, center) !important;
  }
}


a.announcement-item:hover {
  color: #FF7B60;
}

a.announcement-item span {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease;
}

a.announcement-item:hover span {
  border-color: #FF7B60;
}

@media (max-width: 600px) {
  .top-announcement {
    height: 38px;
    font-size: 12px;
  }
  .announcement-item {
    font-size: 12px;
    letter-spacing: 0.03em;
  }
}

/* ==============================================================================
   AKAN KAMPANYA ŞERİDİ (INFINITE MARQUEE TICKER)
   ============================================================================== */
.ticker-strip {
  width: 100%;
  background: #111115;
  color: #FFFFFF;
  overflow: hidden;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  position: relative;
  z-index: 25;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: marqueeContinuous 35s linear infinite;
}

.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.ticker-item.link {
  text-decoration: none;
  cursor: pointer;
}

.ticker-item.link:hover {
  color: var(--accent, #FF3D1A);
}

.ticker-item.link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ticker-bullet {
  color: var(--accent, #FF3D1A);
  opacity: 0.9;
  font-size: 15px;
}

@keyframes marqueeContinuous {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .ticker-strip {
    padding: 11px 0;
  }
  .ticker-item {
    font-size: 12.5px;
    letter-spacing: 0.04em;
  }
  .ticker-content {
    gap: 22px;
    padding-right: 22px;
  }
  .ticker-track {
    animation-duration: 20s;
  }
}

/* Windows'ta "Animasyon efektleri" kapalıysa (veya "en iyi performans" ayarı) tarayıcı
   prefers-reduced-motion bildirir. Şerit önceden tamamen duruyordu ve mağaza sahibinin
   bilgisayarında "akmıyor" görünüyordu; artık durmak yerine yavaş ve sakin akar. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation-duration: 70s;
  }
}



/* ==============================================================================
   SITE HEADER & NAVIGATION
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.5vw, 28px);
  height: var(--header-height);
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  line-height: 0.88;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-boom {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo-shoes {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-top: 1px;
}

/* Desktop Main Navigation (6 Items with Dropdowns) */
.desktop-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  position: relative;
  transition: color var(--trans);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-item.active .nav-link {
  color: var(--accent);
}
.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-link .chevron {
  transition: transform var(--trans);
  opacity: 0.6;
}
.has-dropdown:hover .nav-link .chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent);
}

/* Dropdown Panels */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 200;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: background var(--trans), color var(--trans), padding-left var(--trans);
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--surface);
  color: var(--accent);
  padding-left: 22px;
}

.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

.dropdown-see-all {
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
}

/* Mega Menu Dropdown for Brands */
.mega-nav-item {
  position: static;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(740px, 90vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
}

.mega-nav-item:hover .mega-panel,
.mega-nav-item:focus-within .mega-panel {
  transform: translateX(-50%) translateY(0);
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mega-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
}

.mega-all-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}
.mega-all-link:hover {
  text-decoration: underline;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 14px;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}

.mega-brand-item {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--trans);
}

.mega-brand-item:hover {
  background: var(--surface);
  color: var(--accent);
  padding-left: 10px;
}

/* New & Sale Navigation Badges */
.nav-link-new {
  position: relative;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
  margin-left: 2px;
  margin-top: -6px;
}

.nav-link-sale {
  color: var(--accent) !important;
  font-weight: 800 !important;
}
.nav-sale-pill {
  font-size: 10px;
  font-weight: 800;
  background: var(--accent);
  color: var(--white);
  padding: 1px 5px;
  border-radius: 999px;
  line-height: 1.2;
}

/* ==============================================================================
   GENDER NAVIGATION STRIP (Kadın / Erkek / Unisex) — Segmented Control
   ============================================================================== */
.gender-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px clamp(16px, 3vw, 36px);
  /* header'ın altında ayrı durur (sabit değil); header zaten alt çizgiye sahip */
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.gender-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
}

.gender-seg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color var(--trans), background var(--trans), box-shadow var(--trans);
}

.gender-seg-item:hover {
  color: var(--ink);
}

.gender-seg-item.active {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
  /* Mobilde header'ı büyütmemek için şerit gizlenir; cinsiyet seçimi drawer'da sunulur */
  .gender-strip {
    display: none;
  }
}

/* Drawer Gender Segmented Control (mobile) */
.drawer-gender-seg {
  display: flex;
  gap: 3px;
  padding: 4px;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}

.drawer-gender-item {
  flex: 1;
  text-align: center;
  padding: 9px 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-radius: var(--radius-full);
  transition: color var(--trans), background var(--trans);
}

.drawer-gender-item.active {
  background: var(--ink);
  color: var(--white);
}

/* Orta genişlik (1025–1300px): sağdaki ikonların kırpılmasını önlemek için
   nav ve arama kutusu kademeli olarak sıkıştırılır. */
.desktop-main-nav {
  min-width: 0;
}
@media (min-width: 1025px) and (max-width: 1300px) {
  .header-container {
    gap: 14px;
    padding-left: clamp(14px, 2vw, 24px);
    padding-right: clamp(14px, 2vw, 24px);
  }
  .nav-menu {
    gap: clamp(10px, 1.3vw, 18px);
  }
  .nav-link {
    font-size: 12.5px;
    letter-spacing: 0.02em;
    padding: 10px 2px;
  }
  .search-box,
  .search-box:focus-within {
    width: 150px;
  }
  .header-actions {
    gap: 8px;
  }
}
@media (min-width: 1025px) and (max-width: 1140px) {
  .nav-menu {
    gap: 10px;
  }
  .search-box,
  .search-box:focus-within {
    width: 118px;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Desktop Search Box */
.search-box {
  position: relative;
  width: 220px;
  transition: width var(--trans);
}
.search-box:focus-within {
  width: 280px;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--ink-subtle);
  pointer-events: none;
}

.search-form input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--ink);
  transition: all var(--trans);
}

.search-form input:focus {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 22, 0.08);
}

/* Autocomplete Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lg);
  display: none;
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
}

.search-autocomplete-dropdown.active {
  display: block;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: background var(--trans);
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover {
  background: var(--surface);
}

.autocomplete-thumb {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--surface);
}

.autocomplete-info {
  flex: 1;
  min-width: 0;
}

.autocomplete-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* Action Icon Buttons */
.action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--ink);
  background: transparent;
  transition: all var(--trans);
}
.action-btn:hover {
  background: var(--surface);
  color: var(--accent);
}

.action-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255, 61, 26, 0.35);
  pointer-events: none;
  z-index: 2;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* User Profile Dropdown Menu */
.user-menu-dropdown-wrapper {
  position: relative;
}

.user-profile-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
  display: none;
  z-index: 500;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-profile-dropdown-panel.is-open,
.user-profile-dropdown-panel.active {
  display: block !important;
}

.user-dropdown-header {
  padding: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.user-dropdown-header .user-name {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-header .user-email {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}

.user-dropdown-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9.5px 12px;
  border-radius: var(--radius-s);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all var(--trans);
}

.user-dropdown-item:hover {
  background: var(--surface);
  color: var(--accent);
}

.user-dropdown-item.logout-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
}

.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   BOOM STORE AUTH PAGE
   Desktop hedef: 1920x1080
   Responsive: tablet + mobile
========================================================= */

body.auth-page-body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: #f8f6f2;
    color: #111;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.auth-page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* PAGE */
.auth-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f8f6f2;
}

.auth-page.register-page {
    background: #f8f6f2 url('/assets/images/register-bg-v2.webp') no-repeat right bottom / contain;
}

.auth-page.login-page {
    background: #f8f6f2 url('/assets/images/login-bg-v2.webp') no-repeat left 35% / cover;
}

.auth-shell {
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* TOPBAR */
.auth-topbar {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: #111;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
}

.auth-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.auth-logo span {
    margin-left: 4px;
    color: #ff4b13;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.auth-back {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-back:hover {
    color: #ff4b13;
}

/* MAIN GRID */
.auth-main-grid {
    display: grid;
    grid-template-columns: minmax(460px, 520px) minmax(500px, 1fr);
    gap: clamp(35px, 4vw, 80px);
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px 0 50px;
}

/* LEFT */
.auth-left {
    position: relative;
    z-index: 5;
}

.auth-heading {
    margin-bottom: 20px;
}

.auth-heading h1 {
    margin: 0 0 6px;
    font-size: clamp(36px, 3.2vw, 48px);
    line-height: .95;
    letter-spacing: -2px;
    font-weight: 850;
    color: #111;
}

.auth-heading p {
    margin: 0;
    max-width: 460px;
    color: #666;
    font-size: 14px;
    line-height: 1.45;
}

/* FORM CARD */
.auth-card {
    width: 100%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 15, 15, .055);
    border-radius: 22px;
    padding: 28px 32px 24px;
    box-shadow: 0 22px 55px rgba(34, 27, 20, .075);
    backdrop-filter: blur(6px);
}

/* ALERTS */
.auth-alert-error,
.auth-alert-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.auth-alert-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #DC2626;
}
.auth-alert-success {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #16A34A;
}

/* PROGRESS */
.register-progress {
    width: min(360px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}

.progress-item {
    min-width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #888;
}

.progress-item span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1eee8;
    border: 1px solid #ddd7ce;
    font-size: 11px;
    font-weight: 700;
}

.progress-item small {
    white-space: nowrap;
    font-size: 10.5px;
    font-weight: 650;
}

.progress-item.active {
    color: #111;
}

.progress-item.active span {
    color: #fff;
    background: #0b0b0c;
    border-color: #0b0b0c;
}

.progress-line {
    flex: 1;
    height: 1px;
    background: #ddd8cf;
    margin-top: 13px;
}

.auth-divider {
    height: 1px;
    background: #ebe7df;
    margin: 16px 0 20px;
}

/* FORM (Ad and Soyad Stacked Vertically) */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12.5px;
    font-weight: 750;
    color: #111;
}

.input-wrap {
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255,255,255,.88);
    border: 1px solid #ddd8d0;
    border-radius: 9px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-wrap:focus-within {
    border-color: #a6a099;
    box-shadow: 0 0 0 3px rgba(10,10,10,.035);
}

.input-icon {
    width: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #8a8a8a;
    font-size: 15px;
}

.input-wrap input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 40px 0 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #151515;
    font-size: 13.5px;
}

.input-wrap input::placeholder {
    color: #9c9c9c;
}

.password-toggle {
    width: 38px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #888;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PASSWORD RULES */
.password-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.password-rules span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1eee7;
    color: #777;
    font-size: 10px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.password-rules span.valid {
    color: #16A34A;
    background: rgba(22, 163, 74, 0.12);
    font-weight: 700;
}

/* CHECKBOX */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 18px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #333;
}

.checkbox-line input {
    width: 15px;
    height: 15px;
    margin: 0;
    margin-top: 1px;
    accent-color: #111;
    cursor: pointer;
}

/* BUTTON */
.auth-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: #09090a;
    color: #fff;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .2px;
    transition: transform .15s ease, background .2s ease;
}

.auth-submit:hover {
    background: #ff4b13;
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-login-link {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e8e3da;
    text-align: center;
    color: #666;
    font-size: 11.5px;
}

.auth-login-link a {
    color: #ff4b13;
    text-decoration: none;
    font-weight: 700;
    margin-left: 4px;
}

/* RIGHT HERO */
.auth-right {
    position: relative;
    min-width: 0;
}

.shoe-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoe-circle,
.beige-brush,
.black-brush,
.decor-dot,
.hero-shoe {
    display: none !important;
}

/* BENEFITS */
.auth-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -12px;
    padding: 0 8px;
}

.benefit-item {
    position: relative;
    text-align: center;
    padding: 10px 23px;
}

.benefit-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15px;
    width: 1px;
    height: 85px;
    background: rgba(0,0,0,.075);
}

.benefit-icon {
    margin-bottom: 11px;
    color: #ff4b13;
    font-size: 34px;
    line-height: 1;
}

.benefit-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 12.5px;
    color: #111;
}

.benefit-item p {
    margin: 0;
    color: #737373;
    font-size: 11px;
    line-height: 1.42;
}

/* BLACK BRUSH */
.black-brush {
    position: absolute;
    left: -115px;
    bottom: -130px;
    width: 350px;
    height: 300px;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-10deg);
    background: radial-gradient(ellipse at center, #121212 0%, #171717 45%, transparent 46%);
    opacity: .96;
}

/* LARGE DESKTOP */
@media (min-width: 1700px) {
    .auth-shell {
        width: min(1500px, calc(100% - 120px));
    }
    .auth-main-grid {
        grid-template-columns: 610px 1fr;
    }
    .shoe-hero {
        height: 590px;
    }
    .hero-shoe {
        width: min(700px, 92%);
    }
}

/* LAPTOP */
@media (max-width: 1250px) {
    .auth-shell {
        width: min(1150px, calc(100% - 55px));
    }
    .auth-main-grid {
        grid-template-columns: minmax(480px, 560px) 1fr;
        gap: 45px;
    }
    .shoe-hero {
        height: 490px;
    }
    .shoe-circle {
        width: 440px;
        height: 350px;
    }
    .hero-shoe {
        width: min(560px, 94%);
    }
    .benefit-item {
        padding: 10px 12px;
    }
}

/* TABLET */
@media (max-width: 950px) {
    .auth-page {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .auth-page.register-page,
    .auth-page.login-page {
        /* Masaüstünde tüm sayfaya işlenen arkaplan resmi, mobilde tek kolona
           inince sayfanın en altına sabitleniyor ve kart ile arasında boşluk
           bırakıyordu. Mobilde resmi sayfa arkaplanından çıkarıp doğrudan
           kartın hemen altındaki .shoe-hero kutusunun içine koyuyoruz. */
        background-image: none;
    }
    .register-page .shoe-hero {
        background-image: url('/assets/images/register-bg-mobile-v2.webp');
    }
    .login-page .shoe-hero {
        background-image: url('/assets/images/login-bg-mobile-v2.webp');
    }
    .shoe-hero {
        background-color: #f8f6f2;
        background-repeat: no-repeat;
        background-position: center center;
        /* Genişliğe göre ölçeklemek (auto yükseklik) resmin altını kutunun
           dışına taşırıp kesiyordu. Yüksekliği sabitleyip genişliği auto
           bırakıyoruz ki resmin tamamı (alt kısmı dahil) her zaman görünsün. */
        background-size: auto min(380px, 95%);
    }
    .auth-shell {
        width: min(650px, calc(100% - 32px));
    }
    .auth-topbar {
        height: 65px;
    }
    .auth-main-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        padding: 15px 0 50px;
    }
    .auth-left,
    .auth-right {
        width: 100%;
    }
    .auth-heading h1 {
        font-size: 36px;
    }
    .shoe-hero {
        height: 400px;
        margin-top: -10px;
    }
    .auth-benefits {
        margin-top: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 0;
    }
    .benefit-item:nth-child(2)::after {
        display: none;
    }
}

/* MOBILE */
@media (max-width: 620px) {
    .auth-shell {
        width: calc(100% - 24px);
    }
    .auth-topbar {
        height: 55px;
    }
    .auth-logo {
        font-size: 22px;
    }
    .auth-logo span {
        font-size: 9px;
        letter-spacing: 3px;
    }
    .auth-logo-img {
        height: 32px;
    }
    .auth-back {
        font-size: 11.5px;
    }
    .auth-main-grid {
        padding-top: 10px;
    }
    .auth-heading {
        margin-bottom: 14px;
    }
    .auth-heading h1 {
        font-size: 30px;
        letter-spacing: -1px;
    }
    .auth-heading p {
        font-size: 12.5px;
    }
    .auth-card {
        padding: 18px 16px 14px;
        border-radius: 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .register-progress {
        width: 100%;
    }
    .progress-item {
        min-width: 65px;
    }
    .progress-item small {
        font-size: 9px;
    }
    .input-wrap {
        height: 42px;
    }
    .password-rules {
        gap: 4px;
    }
    .password-rules span {
        padding: 3px 6px;
        font-size: 9px;
    }
    .shoe-hero {
        height: 340px;
    }
    .auth-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 0;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  color: var(--ink);
}

/* Mobile Expandable Search Bar */
.mobile-search-bar {
  display: none;
  padding: 10px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
}
.mobile-search-bar.active {
  display: block;
}

.mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.mobile-search-form svg {
  position: absolute;
  left: 12px;
  color: var(--ink-subtle);
}
.mobile-search-form input {
  width: 100%;
  padding: 10px 40px 10px 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13.5px;
}
.mobile-search-form button {
  position: absolute;
  right: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 62px;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .brand-logo .logo-boom {
    font-size: 26px;
  }
  .brand-logo .logo-shoes {
    font-size: 11px;
  }
  .brand-logo-img {
    height: 34px;
  }
}

/* ==============================================================================
   MOBILE OFFCANVAS DRAWER
   ============================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--ink-soft);
}
.drawer-close-btn:hover {
  background: var(--surface);
  color: var(--ink);
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.drawer-section-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Mobile Drawer Accordions */
.drawer-accordion-group {
  display: flex;
  flex-direction: column;
}

.drawer-accordion-item {
  border-bottom: 1px solid var(--line);
}

.drawer-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--trans);
}

.drawer-accordion-btn:hover {
  color: var(--accent);
}

.drawer-accordion-btn .chevron {
  transition: transform var(--trans);
  color: var(--ink-subtle);
}

.drawer-accordion-item.open .drawer-accordion-btn {
  color: var(--accent);
}

.drawer-accordion-item.open .drawer-accordion-btn .chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.drawer-accordion-content {
  display: none !important;
  flex-direction: column;
  padding: 8px 12px 14px 14px;
  gap: 8px;
  background: rgba(242, 240, 232, 0.5);
  border-radius: var(--radius-s);
  margin-bottom: 8px;
}

.drawer-accordion-item.open > .drawer-accordion-content {
  display: flex !important;
}

.drawer-sub-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: all var(--trans);
}

.drawer-sub-link:hover {
  color: var(--ink);
  padding-left: 4px;
}

.drawer-sub-link.sub-see-all {
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
}

/* Mobil menü markaları: eskiden 220px'lik bir kutuda ikinci bir kaydırma alanı vardı;
   telefonda fark edilmiyor, markaların çoğu yarım/görünmez kalıyordu. Artık hepsi menünün
   normal kaydırmasıyla görünür, uzun isimler kesilmez, butonlar parmakla basılacak boyutta. */
.drawer-brand-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.drawer-brand-search:focus {
  outline: none;
  border-color: var(--ink);
}

.drawer-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 2px 0;
}

.drawer-brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  overflow-wrap: anywhere;
  transition: all var(--trans);
}

.drawer-brand-chip[hidden] {
  display: none;
}

.drawer-brand-empty {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
.drawer-brand-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.drawer-direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer-direct-link:hover {
  color: var(--accent);
}

.drawer-direct-link .direct-badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--ink);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 999px;
}

.drawer-direct-link.drawer-sale-link {
  color: var(--accent);
}

.drawer-direct-link.drawer-sale-link .sale-badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--accent);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 999px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background var(--trans);
}
.drawer-nav-item:hover, .drawer-nav-item.active {
  background: var(--surface);
  color: var(--ink);
}

.drawer-nav.secondary .drawer-nav-item {
  font-size: 13.5px;
  padding: 10px;
}

/* ==============================================================================
   HOME HERO SECTION (2-Column Balanced Showcase)
   ============================================================================== */
.home-hero {
  padding: 8px 0 clamp(16px, 2vw, 24px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}


.hero-banner-card {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 40vw, 540px);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  background-color: #D6D6D4;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}

/* Dokunmatik ekranda "hover" dokununca tetiklenip banner'ı zıplatıyordu. */
@media (hover: hover) {
  .hero-banner-card:hover .hero-banner-bg {
    transform: scale(1.02);
  }
}

.hero-banner-card .hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: clamp(28px, 3.5vw, 48px);
  padding-left: clamp(68px, 6.5vw, 96px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 61, 26, 0.12);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

/* Nabız halkası box-shadow yerine transform/opacity ile çizilir; böylece animasyon
   GPU'da (compositor) çalışır, her karede sayfa yeniden boyanmaz. */
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: clamp(13.5px, 1.2vw, 15px);
  color: var(--ink-soft);
  max-width: 44ch;
  line-height: 1.55;
  margin-bottom: 22px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-perks {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 1.8vw, 18px);
  flex-wrap: nowrap !important;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(10px, 2.2vw, 12px);
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap !important;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-banner-card {
    min-height: 420px;
  }
  .hero-banner-img {
    object-position: 75% center;
  }
}

@media (max-width: 680px) {
  .home-hero {
    padding: 12px 0 8px;
  }
  .hero-banner-card {
    min-height: 420px;
    flex-direction: row;
    align-items: center;
  }
  /* Her banner görselinde ürünün fotoğraf içindeki konumu farklı olabilir;
     home.php her slide için --bg-mobile-pos değişkenini ayarlar
     (varsayılan: ortalı, ürünü sağda olan banner için: sağa yaslı). */
  .hero-banner-img {
    object-position: var(--bg-mobile-pos, center center);
  }

  .hero-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Yazı artık altta değil, dikeyde ortada durduğu için karartma da
       fotoğrafın tamamına daha dengeli, okunurluğu her yerde koruyacak
       şekilde uygulanıyor (yalnızca alt kısmı koyulaştırmak yetmiyordu). */
    background: linear-gradient(180deg, rgba(20, 20, 22, 0.45) 0%, rgba(20, 20, 22, 0.55) 50%, rgba(20, 20, 22, 0.75) 100%);
    pointer-events: none;
  }

  /* Farklı banner'larda içerik miktarı (alt başlık/perks var mı yok mu) farklı
     olabiliyor; "grup olarak ortala" yaklaşımı bu yüzden slide değişince
     rozet/başlık/buton hep farklı bir yükseklikte zıplıyordu. Bunun yerine her
     eleman kartın içinde SABİT bir konuma (top/bottom) oturtuluyor, böylece
     hangi banner gösterilirse gösterilsin aynı yerde kalıyorlar. */
  .hero-banner-card .hero-content {
    position: absolute;
    inset: 0;
    padding: 0 18px;
    background: transparent;
    color: var(--white);
    width: auto;
    max-width: none;
  }

  .hero-banner-card .hero-badge {
    position: absolute;
    top: 50px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    width: max-content;
    background: rgba(255, 61, 26, 0.12);
    border: none;
    color: var(--accent);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 0;
  }

  .hero-banner-card .hero-title {
    position: absolute;
    top: 106px;
    left: 18px;
    right: 18px;
    color: var(--white);
    font-size: clamp(1.6rem, 5.8vw, 2.2rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
    text-align: left;
  }

  .hero-banner-card .hero-subtitle {
    position: absolute;
    top: 234px;
    left: 18px;
    right: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-banner-card .hero-actions {
    position: absolute;
    bottom: 64px;
    left: 18px;
    right: 18px;
    margin-top: 0;
    /* İki buton dar ekranda (iPhone 390px) alt alta kayıp açıklama yazısının
       üstüne biniyordu; tek satırda kalsınlar, gerekirse küçülsünler. */
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero-banner-card .hero-actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    padding: 11px 14px;
    font-size: clamp(12px, 3.4vw, 14px);
    white-space: nowrap;
  }

  .hero-banner-card .hero-perks {
    position: absolute;
    bottom: 16px;
    left: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    width: auto;
  }

  .hero-banner-card .perk-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(10px, 2.7vw, 12px);
    font-weight: 700;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
}






/* ==============================================================================
   SECTION HEADERS
   ============================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-top: 6px;
}

.section-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover {
  text-decoration: underline;
}

/* ==============================================================================
   CATEGORY SHOWCASE SECTION
   ============================================================================== */
.home-categories-section {
  padding: clamp(36px, 5vw, 64px) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(10px, 2vw, 16px);
}

.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all var(--trans);
}
.category-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 32px;
  line-height: 1;
}

.category-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.category-arrow {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
}

/* ==============================================================================
   3D COVERFLOW CAROUSEL (KATEGORİLERİ KEŞFET)
   ============================================================================== */
.coverflow-carousel-wrapper {
  position: relative;
  width: 100%;
  --cf-card: clamp(210px, 24vw, 290px);
  margin: 16px 0;
  user-select: none;
}

.coverflow-frame {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 32px 0 24px;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
}

.coverflow-frame:active {
  cursor: grabbing;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: clamp(270px, 30vw, 360px);
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cf-card);
  height: clamp(270px, 30vw, 360px);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  will-change: transform, opacity;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.coverflow-card.active {
  box-shadow: 0 24px 50px rgba(255, 61, 26, 0.25);
  border-color: var(--accent);
}

.coverflow-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coverflow-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
}

.coverflow-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
}

.coverflow-icon {
  font-size: 36px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.coverflow-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.coverflow-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.coverflow-card-btn {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Nav arrows */
.coverflow-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 120;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.coverflow-nav:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.coverflow-prev { left: 8px; }
.coverflow-next { right: 8px; }

/* Caption Banner */
.coverflow-caption {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeIn 0.3s ease;
}

.coverflow-active-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.coverflow-active-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* Dots */
.coverflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.coverflow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.3;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.coverflow-dot.active {
  opacity: 1;
  background: var(--accent);
  width: 26px;
  border-radius: 99px;
}

@media (max-width: 600px) {
  .coverflow-carousel-wrapper {
    --cf-card: 200px;
  }
  .coverflow-stage, .coverflow-card {
    height: 270px;
  }
  .coverflow-nav {
    width: 36px;
    height: 36px;
  }
}


/* ==============================================================================
   FEATURED PRODUCTS & BRAND STRIP
   ============================================================================== */
.featured-products-section {
  padding: 16px 0 20px 0;
}

.brand-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  padding: 4px 0;
}
.brand-filter-strip::-webkit-scrollbar {
  display: none;
}

.brand-chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface);
  color: var(--ink-soft);
  transition: all var(--trans);
}
.brand-chip:hover {
  background: var(--ink);
  color: var(--white);
}
.brand-chip.active {
  background: var(--ink);
  color: var(--white);
}
.brand-chip.more-chip {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ink);
}

/* Featured 5-Card Horizontal Carousel Slider Outer & Side Nav Arrows */
.featured-carousel-outer {
  position: relative;
  width: 100%;
}

.featured-side-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 10;
  cursor: pointer;
}

.featured-side-nav:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-50%) scale(1.1);
}

.featured-side-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.featured-side-prev {
  left: -52px;
}

.featured-side-next {
  right: -52px;
}

@media (max-width: 1520px) {
  .featured-side-prev {
    left: -36px;
  }
  .featured-side-next {
    right: -36px;
  }
}

@media (max-width: 1400px) {
  .featured-side-prev {
    left: -20px;
  }
  .featured-side-next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .featured-side-nav {
    width: 36px;
    height: 36px;
  }
  .featured-side-prev {
    left: 2px;
  }
  .featured-side-next {
    right: 2px;
  }
}

.featured-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 4px 0 6px;
  /* Parmakla yatay kaydırma home.php'deki JS'e ait; dikey kaydırma sayfaya. */
  touch-action: pan-y;
}

.featured-products-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.featured-card-item {
  flex: 0 0 calc((100% - (16px * 4)) / 5);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.featured-card-item .product-card {
  height: 100%;
  width: 100%;
}

@media (max-width: 1200px) {
  .featured-card-item {
    flex: 0 0 calc((100% - (16px * 3)) / 4);
  }
}
@media (max-width: 900px) {
  .featured-card-item {
    flex: 0 0 calc((100% - (16px * 2)) / 3);
  }
}
@media (max-width: 600px) {
  .featured-card-item {
    flex: 0 0 calc((100% - 12px) / 2);
  }
}

/* Products Responsive Grid */
/* minmax(0, 1fr): "1fr" aslında minmax(auto, 1fr) demektir — bir kartın içeriği (uzun
   isim, geniş bir öğe) sütunu kendi genişliğine zorlayıp ızgarayı ekrandan taşırabilir.
   minmax(0, 1fr) ile sütunlar HER ZAMAN eşit ve kapsayıcıya sığar; içerik kartın içinde kırılır. */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 24px);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ==============================================================================
   PRODUCT CARD COMPONENT
   ============================================================================== */
.product-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-soft);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
@media (hover: hover) {
  .product-card:hover .product-thumb {
    transform: scale(1.04);
  }
}

/* Product Card Image Gallery Slider & Dots */
.card-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-slider-img.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Card Hover Arrow Buttons */
.card-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 6;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.product-card:hover .card-img-nav {
  opacity: 1;
}

@media (max-width: 768px) {
  .card-img-nav {
    opacity: 0.85; /* Always visible on touch screens */
  }
}

.card-img-prev {
  left: 8px;
}

.card-img-next {
  right: 8px;
}

.card-img-nav:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

/* Bottom Pagination Dots */
.card-img-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 6;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  pointer-events: auto;
}

.card-img-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.card-img-dot:hover, .card-img-dot.active {
  background: var(--white);
  width: 14px;
  border-radius: 4px;
}

/* SVG Placeholder */
.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  background: #ECE9DF;
  color: var(--ink-soft);
}
.placeholder-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* Badges */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* rozetler birbirinin genişliğine göre esnemesin (stretch) */
  gap: 4px;
  z-index: 2;
  max-width: calc(100% - 46px);
}

.badge {
  display: inline-block;
  padding: 3px 6px;
  border-radius: var(--radius-xs);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}
.badge-discount {
  background: var(--accent);
  color: var(--white);
}
.badge-new {
  background: var(--ink);
  color: var(--white);
}
.badge-featured {
  background: var(--cobalt);
  color: var(--white);
}
.badge-campaign {
  background: #15803D;
  color: var(--white);
  text-decoration: none;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Favorite Button */
.card-fav-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  margin: 0;
}

.card-fav-btn {
  position: relative;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: all var(--trans);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-fav-btn:hover {
  background: var(--white);
  color: var(--accent);
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(255, 61, 26, 0.25);
}

.card-fav-btn.active svg {
  fill: var(--accent);
  stroke: var(--accent);
}

.product-mini-meta {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  gap: 4px;
}

/* Product Info */
.product-info {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
  margin-bottom: 4px;
}

.product-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  min-height: 2.7em;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Boşluksuz çok uzun isimler (örn. model kodu) kartı genişletmez, kart içinde kırılır. */
  overflow-wrap: anywhere;
}

.product-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  min-height: 38px;
  width: 100%;
}

.price-original {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-subtle);
  text-decoration: line-through;
  line-height: 1.1;
  opacity: 0.75;
}

.price-current {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.price-sale {
  color: var(--accent);
}

/* Product Card Footer & Quick Add Cart */
.product-footer-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-add-cart-btn svg {
  transition: transform 0.25s ease;
}

.quick-add-cart-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(255, 61, 26, 0.35);
}

.quick-add-cart-btn:hover svg {
  transform: scale(1.15);
}

.quick-add-cart-btn:active {
  transform: translateY(0) scale(0.98);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* Hemen Al — ürün sayfasındaki "Hemen Satın Al" ile aynı dil: beyaz zemin, turuncu çerçeve */
.quick-buy-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.quick-buy-now-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.quick-buy-now-btn:active {
  transform: scale(0.98);
}

.card-actions-spacer {
  visibility: hidden;
  pointer-events: none;
}

/* <a> (Tükendi), <button> ve yer tutucu <span> aynı yükseklikte olsun: tarayıcı butona
   "normal", linke gövdenin 1.5 satır yüksekliğini verdiği için sabitlenir. */
.card-actions .quick-add-cart-btn,
.card-actions .quick-buy-now-btn {
  line-height: 1.2;
}

/* Beden paneli "Hemen Al" için açıldığında başlık turuncu */
.quick-size-overlay.is-buy-mode .quick-size-title {
  color: var(--accent);
}

/* Tükenmiş ürün — kart butonu */
.quick-add-cart-btn.is-sold-out {
  background: var(--surface, #f1f1ee);
  color: var(--ink-soft, #6a6a6a);
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.quick-add-cart-btn.is-sold-out:hover {
  background: #e9e9e5;
  color: var(--ink, #16161a);
  transform: none;
  box-shadow: none;
}

.quick-add-cart-btn.is-sold-out:hover svg {
  transform: none;
}

/* Quick Size Selector Overlay inside Product Media */
.quick-size-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 14px 16px;
  border-top: 1px solid var(--line);
  z-index: 15;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
}

.quick-size-overlay.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.quick-size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.quick-size-close {
  background: var(--surface);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quick-size-close:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.quick-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  max-height: none;
  overflow: visible;
  padding-right: 2px;
}

.quick-size-btn {
  width: 100%;
  padding: 8px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.quick-size-btn:hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



@media (max-width: 768px) {
  .product-info {
    padding: 10px 10px 12px;
  }
  .product-title {
    font-size: 12.5px;
  }
  .price-current {
    font-size: 15px;
  }
  .price-original {
    font-size: 11.5px;
  }
  .price-current {
    font-size: 16px;
  }
  .product-footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
  }
  .product-pricing {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1px;
    min-height: 34px;
  }
  .quick-add-cart-btn {
    width: 100%;
    justify-content: center;
    padding: 7.5px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-radius: var(--radius-s);
  }
  .quick-add-cart-btn svg {
    width: 13.5px;
    height: 13.5px;
  }
  .card-actions {
    gap: 5px;
  }
  .quick-buy-now-btn {
    padding: 6.5px 12px;
    font-size: 12px;
    letter-spacing: 0.01em;
  }
  .quick-buy-now-btn svg {
    width: 12.5px;
    height: 12.5px;
  }
  .card-fav-btn {
    width: 30px;
    height: 30px;
  }
}





/* ==============================================================================
   BRANDS SHOWCASE
   ============================================================================== */
.home-brands-showcase {
  padding: 32px 0 52px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.brands-showcase-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-subtle);
  text-align: center;
  margin-bottom: 20px;
}

.brands-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.brands-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 120s linear infinite;
  will-change: transform;
}

.brands-marquee-container:hover .brands-marquee-track {
  animation-play-state: paused;
}

.brands-marquee-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}

.brand-tag-pill {
  padding: 8px 18px;
  background: var(--surface);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-tag-pill:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ==============================================================================
   PRODUCT CATALOG & LISTING PAGE (catalog.php)
   ============================================================================== */
.catalog-page {
  padding: 24px 0 64px;
}

.catalog-breadcrumbs, .detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-breadcrumbs a:hover, .detail-breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.catalog-breadcrumbs .sep, .detail-breadcrumbs .sep {
  color: var(--ink-subtle);
}
.catalog-breadcrumbs .current, .detail-breadcrumbs .current {
  color: var(--ink);
  font-weight: 600;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
}

.catalog-count {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}

.catalog-description {
  max-width: 840px;
  margin: -8px 0 28px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-description p {
  margin: 0;
}

.catalog-sorting {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.sort-select {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.mobile-filter-bar {
  margin-bottom: 16px;
}
.mobile-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.catalog-layout {
  display: grid;
  /* minmax(0, 1fr): sütun, içindeki en geniş öğeye (örn. sayfalama butonları)
     göre büyüyüp ürünleri ekrandan dışarı itmesin. */
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
}

.catalog-content {
  min-width: 0;
}

/* Left Sidebar Filters */
.catalog-sidebar {
  display: flex;
  flex-direction: column;
}

.filter-group {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 12px;
}

.filter-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cat-link {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  display: block;
}
.cat-link:hover, .cat-link.active {
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
}
/* Kategori grupları (Ayakkabılar / Giyim) ve Giyim'in alt kategorileri */
.cat-group-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-group.is-open > .cat-group-link { color: var(--ink); font-weight: 700; }
.cat-group-chevron { flex-shrink: 0; transition: transform 0.2s; }
.cat-group.is-open .cat-group-chevron { transform: rotate(180deg); }
.cat-sublist {
  list-style: none;
  margin: 4px 0 2px 10px;
  padding: 0 0 0 8px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cat-sublist .cat-link { font-size: 12.5px; }

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.filter-scroll-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 6px;
  /* İnce ama görünür kaydırma çubuğu (masaüstü/Android) */
  scrollbar-width: thin;
  scrollbar-color: var(--ink-subtle) transparent;
}
.filter-scroll-list::-webkit-scrollbar { width: 4px; }
.filter-scroll-list::-webkit-scrollbar-thumb { background: var(--ink-subtle); border-radius: 999px; }

/* Liste kaydırılabiliyorsa (app.js initScrollHints → .has-more): alt kenar solar,
   altında kibar bir "kaydırın" ipucu çıkar. Sona gelince ikisi de kaybolur.
   iPhone kaydırma çubuğunu göstermediği için müşteri listenin devam ettiğini anlar. */
.filter-scroll-list.has-more {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.scroll-more-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  padding: 6px 8px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.scroll-more-hint[hidden] { display: none; }
.scroll-more-hint svg { animation: scrollHintNudge 1.6s ease-in-out infinite; }
@keyframes scrollHintNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-more-hint svg { animation: none; }
}

.brand-search-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.brand-search-input {
  width: 100%;
  padding: 7px 10px 7px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.2s ease;
}

.brand-search-input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(22, 22, 26, 0.08);
}

.brand-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

.no-brand-found {
  padding: 8px 4px;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}


.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.price-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  font-size: 13px;
}
.btn-filter-apply {
  width: 100%;
  padding: 8px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 700;
}

.size-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.size-pill-btn {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  overflow: hidden;
  cursor: pointer;
}
.size-pill-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.size-pill-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.size-pill-btn:hover span {
  background: var(--surface);
}
.size-pill-input:checked ~ span {
  background: var(--ink);
  color: var(--white);
}
.size-pill-input:focus-visible ~ span {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-filter-apply-all {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.btn-filter-apply-all:hover {
  opacity: 0.9;
}
.btn-clear-filters {
  display: block;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.btn-clear-filters:hover {
  background: var(--surface);
  color: var(--ink);
}

/* Active Chips */
.active-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.active-chips-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-subtle);
}
.filter-chip {
  padding: 4px 10px;
  background: var(--surface);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.chip-clear-all {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
}

/* Pagination */
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

@media (max-width: 640px) {
  .catalog-pagination {
    gap: 6px;
    margin-top: 28px;
  }
  .catalog-pagination .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
  .catalog-pagination .page-btn-ellipsis {
    min-width: 16px;
    height: 34px;
  }
  /* Mevcut sayfaya 2 uzaklıktaki numaralar mobilde gizlenir (PaginationHelper::mobileHint). */
  .catalog-pagination .page-btn-far {
    display: none;
  }
  .catalog-pagination .page-btn-ellipsis.page-mobile-only {
    display: flex;
  }
  /* Dar ekranda Önceki/Sonraki yazısı gizlenir, yalnızca ‹ › okları kalır. */
  .catalog-pagination .page-btn-label {
    display: none;
  }
  .catalog-pagination .prev-btn,
  .catalog-pagination .next-btn {
    font-size: 18px;
  }
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.page-btn:hover {
  background: var(--surface);
}
.page-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.page-btn-ellipsis {
  min-width: 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-weight: 700;
  user-select: none;
}
/* Yalnızca mobilde görünen "…" (bkz. PaginationHelper::mobileHint). */
.page-btn-ellipsis.page-mobile-only {
  display: none;
}

/* Empty State */
.catalog-empty-state, .empty-products-card {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-m);
}
.empty-state-icon, .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state-desc {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto 20px;
}

/* Responsive Catalog Sidebar */
@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: var(--white);
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
  }
  .catalog-sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .close-sidebar-btn {
    font-size: 18px;
    color: var(--ink-soft);
  }
}

/* ==============================================================================
   PRODUCT DETAIL PAGE (product-detail.php)
   ============================================================================== */
.product-detail-page {
  padding: 24px 0 80px;
}

.detail-grid {
  display: grid;
  /* minmax(0, 1fr): küçük fotoğraf şeridi gibi geniş içerikler sütunu ekrandan
     taşırmasın; şerit kendi içinde yana kayar. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

/* Gallery */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Izgara öğesi olarak min-width varsayılanı "auto"dur: tarayıcı sütunu içindeki küçük
     resim şeridinin TAM genişliğine göre boyutlandırır (5 foto = 400px) ve sayfa taşar.
     0 ile sütun genişliği içerikten bağımsız olur; şerit kendi içinde kayar. */
  min-width: 0;
}

.main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  user-select: none;
  /* Dikey kaydırma sayfaya, yatay kaydırma galeriye (product-detail.php) ait. */
  touch-action: pan-y pinch-zoom;
}

/* Product Detail Main Gallery Navigation Arrows */
.detail-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 8;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-gallery-arrow:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-50%) scale(1.08);
}

.detail-gallery-prev {
  left: 16px;
}

.detail-gallery-next {
  right: 16px;
}

@media (max-width: 768px) {
  .detail-gallery-arrow {
    width: 36px;
    height: 36px;
  }
  .detail-gallery-prev {
    left: 10px;
  }
  .detail-gallery-next {
    right: 10px;
  }
}

.detail-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
  display: block;
}

/* Desktop Lens Indicator */
.zoom-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1.5px solid rgba(255, 61, 26, 0.6);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  display: none;
  z-index: 10;
  border-radius: var(--radius-s);
}

/* Floating Zoom Window / Result Panel */
.zoom-result-panel {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: 480px;
  height: 480px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  background-repeat: no-repeat;
  z-index: 500;
  display: none;
  pointer-events: none;
  overflow: hidden;
}

.zoom-hint-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(22, 22, 26, 0.75);
  color: #FFFFFF;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s;
}

@media (max-width: 1280px) {
  .zoom-result-panel {
    width: 380px;
    height: 380px;
    left: calc(100% + 12px);
  }
}

@media (max-width: 992px) {
  .zoom-result-panel, .zoom-lens {
    display: none !important;
  }
  .main-image-wrap {
    overflow: hidden;
  }
}

/* Lightbox Modal */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.94);
  backdrop-filter: blur(10px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.lightbox-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  z-index: 10;
  max-width: 1200px;
}

.lightbox-counter {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 99px;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 160px);
  position: relative;
  user-select: none;
  touch-action: pan-y;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  max-width: 90vw;
  z-index: 10;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lightbox-thumb-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #222;
  flex-shrink: 0;
}

.lightbox-thumb-btn.active, .lightbox-thumb-btn:hover {
  opacity: 1;
  border-color: var(--accent);
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-image { max-width: 95vw; max-height: 72vh; }
}


.detail-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}

.detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.detail-placeholder-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-subtle);
}

/* Küçük resim şeridi: boyutlar sabit (72px), fotoğraf kaç tane olursa olsun şerit sayfa
   genişliğini ASLA artırmaz — fazlası sağda devam eder, şerit kendi içinde yana kayar
   (mobilde parmakla, masaüstünde trackpad/ince kaydırma çubuğuyla). */
.gallery-thumbs {
  position: relative; /* küçük resimlerin offsetLeft'i şeride göre ölçülsün (otomatik kaydırma) */
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; /* şeridin sonuna gelince sayfa/geri hareketi tetiklenmesin */
  scrollbar-width: none;
  padding: 2px 0; /* seçili resmin çerçevesi kırpılmasın */
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
/* Fare kullanan masaüstünde sağda daha fazla fotoğraf olduğu görünsün diye ince kaydırma çubuğu */
@media (hover: hover) and (pointer: fine) {
  .gallery-thumbs {
    scrollbar-width: thin;
    padding-bottom: 6px;
  }
  .gallery-thumbs::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
  .gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
  }
}

.thumb-btn {
  flex: 0 0 72px; /* sabit boyut: çok fotoğrafta küçülmez, şerit kayar */
  width: 72px;
  height: 72px;
  border-radius: var(--radius-s);
  border: 2px solid var(--line);
  overflow: hidden;
  transition: border-color var(--trans);
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-btn.active, .thumb-btn:hover {
  border-color: var(--ink);
}

/* Buy Box Details */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.detail-brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
}
.detail-gender-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--surface);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.detail-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.detail-sku-row {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-price-box {
  background: var(--surface);
  border-radius: var(--radius-s);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.detail-price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}
.detail-old-price {
  font-size: 16px;
  color: var(--ink-subtle);
  text-decoration: line-through;
  margin-left: 8px;
}
.tax-info {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  display: block;
}

/* Size Variant Selector */
.detail-size-section {
  margin-bottom: 24px;
}

.size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.size-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.stock-status-info {
  font-size: 12px;
  font-weight: 700;
}

.size-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}

.size-choice-btn {
  padding: 10px 6px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-s);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all var(--trans);
}

.size-choice-btn .size-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.size-choice-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--surface);
}

.size-choice-btn.selected {
  border-color: var(--ink);
  background: var(--ink);
}
.size-choice-btn.selected .size-text {
  color: var(--white);
}

.size-choice-btn.out-of-stock {
  opacity: 0.45;
  cursor: not-allowed;
  background: #F3F3F1;
}
.size-choice-btn .out-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
}

.size-warning-message {
  margin-top: 10px;
  padding: 8px 12px;
  background: #FEF2F2;
  border: 1px solid #F87171;
  border-radius: var(--radius-xs);
  color: #B91C1C;
  font-size: 12.5px;
  font-weight: 600;
}

/* Detail CTAs */
.detail-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-add-to-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all var(--trans);
}
.btn-add-to-cart:hover {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(255, 61, 26, 0.3);
  transform: translateY(-1px);
}
.btn-add-to-cart:disabled,
.btn-add-to-cart.disabled {
  background: var(--ink-soft);
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-add-favorite {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.btn-add-favorite:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hemen Satın Al — "Sepete Ekle"nin hemen altında, express satın alma CTA'sı */
.detail-cta-form {
  margin-bottom: 28px;
}
.detail-cta-form .detail-cta-row {
  margin-bottom: 10px;
}

.btn-buy-now {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-s);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), box-shadow var(--trans), transform var(--trans);
}
.btn-buy-now svg {
  flex-shrink: 0;
}

/* Ürün seçenekleri: fotoğraflı opsiyon kartları */
.detail-options { margin: 0 0 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.detail-options-head { margin-bottom: 10px; color: var(--ink); }
.detail-options-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 17px; font-weight: 800; }
.detail-options-head p { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }
.detail-options-badge { font-size: 11px; font-weight: 700; color: var(--ink-soft); background: var(--surface); border-radius: 999px; padding: 4px 9px; }
.detail-options-badge.is-active { color: var(--white); background: var(--accent); }
.detail-options-list { display: grid; gap: 8px; }
.detail-option-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; align-items: center; gap: 12px; min-height: 80px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); cursor: pointer; transition: border-color var(--trans), background var(--trans); }
.detail-option-row:hover { border-color: var(--ink-soft); }
.detail-option-row { cursor: default; }
.detail-option-row.is-selected { border-color: var(--accent); background: var(--white); }
.detail-option-image { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink-subtle); }
.detail-option-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-option-preview { font-family: inherit; cursor: zoom-in; padding: 0; }
.detail-option-preview.detail-option-name { border: 0; background: transparent; text-align: left; }
.detail-option-preview.detail-option-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-option-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.detail-option-toggle { display: flex; align-items: center; align-self: center; justify-content: center; min-height: 44px; cursor: pointer; }
.detail-option-toggle .detail-option-check { align-self: center; margin-top: 0; }
.option-image-dialog { position: fixed; inset: 0; margin: auto; padding: 16px; width: min(680px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink); box-shadow: 0 16px 64px rgba(0,0,0,.25); }
.option-image-dialog::backdrop { background: rgba(0,0,0,.7); }
.option-image-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.option-image-dialog-head strong { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.option-image-dialog-head button { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 28px; }
.option-image-dialog > img { display: block; width: 100%; max-height: 72vh; max-height: 72dvh; object-fit: contain; }
.detail-option-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.detail-option-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.detail-option-price { font-size: 14px; font-weight: 800; color: var(--ink); }
.detail-option-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.detail-option-check { position: relative; width: 40px; height: 24px; align-self: start; margin-top: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--line); transition: background var(--trans); }
.detail-option-check::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform var(--trans); }
.detail-option-row input:checked ~ .detail-option-check { background: var(--accent); border-color: var(--accent); }
.detail-option-row input:checked ~ .detail-option-check::after { transform: translateX(16px); }
.detail-option-row input:focus-visible ~ .detail-option-check { outline: 2px solid var(--ink); outline-offset: 4px; }
.detail-options-note { margin: 10px 0; font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
.detail-options-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.detail-options-total strong { color: var(--ink); font-size: 16px; }
.detail-options-total[hidden] { display: none; }
@media (max-width: 480px) {
  .detail-options { padding: 10px; }
  .detail-options-title { font-size: 16px; }
  .detail-option-row { grid-template-columns: 48px minmax(0, 1fr) 36px; gap: 9px; min-height: 74px; padding: 9px; }
  .detail-option-image { width: 48px; height: 48px; }
  .detail-option-name { font-size: 12px; }
  .detail-option-price { font-size: 14px; }
  .detail-option-check { width: 36px; }
  .detail-option-row input:checked ~ .detail-option-check::after { transform: translateX(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .detail-option-row, .detail-option-check, .detail-option-check::after { transition: none; }
}

/* Sepet / ödeme / sipariş: satırdaki opsiyonlar */
.line-options { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.line-options li { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.line-options li strong { color: var(--ink); font-weight: 700; }
.btn-buy-now:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 61, 26, 0.28);
  transform: translateY(-1px);
}
.btn-buy-now:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Perks Box */
.detail-perks-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.perk-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.perk-row .icon {
  font-size: 18px;
  line-height: 1;
}
.perk-row strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}
.perk-row span {
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Description Card */
.detail-desc-card {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.desc-heading {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}
.desc-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Ürün açıklaması / Teslimat bilgisi sekmeleri */
.pdp-info-tabs {
  padding-top: 8px;
  min-width: 0;
}
.pdp-info-tablist {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.pdp-info-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding: 10px 8px;
  margin-bottom: -1px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-subtle);
  text-align: center;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pdp-info-tab:hover {
  color: var(--ink);
}
.pdp-info-tab.is-active {
  color: var(--ink);
  font-weight: 800;
  border-bottom-color: var(--ink);
}
.pdp-info-tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  border-radius: 4px;
}
.pdp-info-panel {
  padding: 16px 2px 4px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.pdp-info-panel[hidden] {
  display: none;
}
.pdp-info-panel:focus-visible {
  outline: 2px solid var(--line);
  outline-offset: 4px;
  border-radius: 4px;
}
.pdp-info-panel p {
  margin: 0 0 8px;
}
.pdp-info-panel ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.pdp-info-panel li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
}
.pdp-info-panel li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.pdp-info-panel > :last-child,
.pdp-info-panel li:last-child {
  margin-bottom: 0;
}
.pdp-info-own {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
@media (max-width: 640px) {
  .pdp-info-tab {
    font-size: 14px;
  }
  .pdp-info-panel {
    font-size: 13.5px;
  }
}

/* Related Products Section */
.related-products-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-logo .logo-boom {
  color: var(--white);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all var(--trans);
}
.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* Ödeme bilgilendirmesi (sanal POS gelene kadar Havale / EFT) */
.footer-payment-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.footer-payment-note strong { color: #fff; }
.footer-payment-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.security-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.footer-credit a:hover {
  color: var(--white);
}
.footer-credit-by a {
  color: #4EA1FF;
  font-weight: 700;
}
.footer-credit-by a:hover {
  color: #7fbaff;
}
.footer-credit-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-credit-ig-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==============================================================================
   TOAST NOTIFICATION & WHATSAPP FLOAT
   ============================================================================== */
.live-support-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 11px;
  background: #25D366;
  color: #FFF;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
  z-index: 90;
  transition: transform var(--trans), box-shadow var(--trans);
}
.live-support-float:hover {
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
}
.live-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.live-support-label {
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 600px) {
  .live-support-float {
    bottom: 16px;
    right: 16px;
    padding: 8px 15px 8px 9px;
    font-size: 12.5px;
    gap: 7px;
  }
  .live-support-icon {
    width: 24px;
    height: 24px;
  }
  .live-support-icon svg {
    width: 21px;
    height: 21px;
  }
}

#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==============================================================================
   HERO BANNER CAROUSEL SLIDER (Nav Arrows & Pagination Dots)
   ============================================================================== */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-areas: "slide";
}

.hero-slide-item {
  grid-area: slide;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  pointer-events: none;
  z-index: 1;
}

.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Glassmorphism Sol/Sağ Ok Tuşları */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 15;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-nav:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--accent);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-slider-prev {
  left: 24px;
}

.hero-slider-next {
  right: 24px;
}

/* Alt Noktalar (Pagination Dots) */
.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  width: 26px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-slider-nav {
    width: 40px;
    height: 40px;
  }
  .hero-slider-prev {
    left: 12px;
  }
  .hero-slider-next {
    right: 12px;
  }
  .hero-slider-dots {
    bottom: 14px;
    padding: 5px 12px;
  }
}

/* ==============================================================================
   FLOWING ANIMATED BORDER BUTTONS (Hero Action Buttons Glow Animation)
   ============================================================================== */
.hero-actions .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-m);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow: hidden;
  border: none !important;
  z-index: 1;
  transition: transform var(--trans), box-shadow var(--trans);
}

.hero-actions .btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    #FF3D1A,
    #FF9900,
    #00E5FF,
    #1B3BFF,
    #FF3D1A
  );
  animation: flowingBorder 3.5s linear infinite;
  z-index: -2;
}

.hero-actions .btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-m) - 2px);
  z-index: -1;
  transition: background var(--trans);
}

.hero-actions .btn-primary::after {
  background: var(--ink);
}

.hero-actions .btn-primary {
  color: #FFFFFF;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 61, 26, 0.4);
}

.hero-actions .btn-primary:hover::after {
  background: var(--accent);
}

.hero-actions .btn-outline {
  color: var(--ink);
}

.hero-actions .btn-outline::after {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.hero-actions .btn-outline:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 59, 255, 0.3);
}

.hero-actions .btn-outline:hover::after {
  background: var(--ink);
}

.hero-actions .btn span,
.hero-actions .btn svg {
  position: relative;
  z-index: 2;
  transition: color var(--trans);
}

@keyframes flowingBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Quick Size Overlay Selector Component */
.quick-size-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  height: auto;
  max-height: none;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 15;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.quick-size-overlay.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quick-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.quick-size-close {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.quick-size-close:hover {
  background: var(--surface);
  color: var(--ink);
}

.quick-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  overflow: visible;
  max-height: none;
}

.quick-size-btn {
  flex: 1 0 calc(33.333% - 6px);
  min-width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-s);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
  padding: 0 4px;
}

.quick-size-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.quick-size-btn.out-of-stock,
.quick-size-btn:disabled {
  background: var(--surface);
  color: var(--ink-subtle);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: 0.6;
}

.quick-size-btn.out-of-stock s {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Cart Quantity Selector */
.cart-qty-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: border-color var(--trans);
}
.cart-qty-form:hover {
  border-color: var(--ink-soft);
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  padding: 0;
}
.cart-qty-btn:hover {
  background: var(--surface);
  color: var(--accent);
}
.cart-qty-btn:active {
  background: var(--line);
}
.cart-qty-input {
  width: 38px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  outline: none;
  pointer-events: none;
}

/* ==============================================================================
   PREMIUM HERO ENTRANCE, AMBIENT MOTION & ACCESSIBILITY (GPU-Accelerated)
   ============================================================================== */

/* 1. Staggered Entrance Animations for Active Slide Elements */
.hero-slide-item.active .hero-banner-bg {
  animation: heroBgZoom 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards, heroSubtleFloat 16s ease-in-out 800ms infinite alternate;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-badge {
  animation: heroFadeUp 550ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-title {
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-subtitle {
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 340ms both;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-actions {
  animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 460ms both;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-perks {
  animation: heroFadeUp 650ms cubic-bezier(0.16, 1, 0.3, 1) 580ms both;
  will-change: transform, opacity;
}

/* 2. Keyframes for Entry & Ambient Breathing Float */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgZoom {
  0% {
    opacity: 0.85;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSubtleFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.018) translateY(-4px);
  }
}

/* 3. Enhanced Button Hover Micro-Interactions */
.hero-actions .btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease !important;
}

.hero-actions .btn:hover {
  transform: translateY(-2.5px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.hero-actions .btn:active {
  transform: translateY(-0.5px) !important;
}

/* 4. Mobile Responsive Optimizations */
@media (max-width: 768px) {
  .hero-slide-item.active .hero-badge,
  .hero-slide-item.active .hero-title,
  .hero-slide-item.active .hero-subtitle,
  .hero-slide-item.active .hero-actions,
  .hero-slide-item.active .hero-perks {
    animation-duration: 450ms;
  }

  @keyframes heroFadeUp {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes heroSubtleFloat {
    0%, 100% {
      transform: scale(1) translateY(0);
    }
    50% {
      transform: scale(1.008) translateY(-2px);
    }
  }

  /* Mobilde hero sabit dursun: sonsuz "nefes alma" animasyonu (büyük görseli
     sürekli yeniden çizdiriyordu) ve yazıların aşağıdan kayarak girişi (başlık
     ve buton açılışta oynuyordu, LCP'yi geciktiriyordu) kapatıldı. Slaytlar
     arası yumuşak geçiş (opacity) korunuyor. */
  .hero-slide-item,
  .hero-slide-item.active {
    transform: none;
  }
  .hero-slide-item.active .hero-banner-bg,
  .hero-slide-item.active .hero-badge,
  .hero-slide-item.active .hero-title,
  .hero-slide-item.active .hero-subtitle,
  .hero-slide-item.active .hero-actions,
  .hero-slide-item.active .hero-perks {
    animation: none;
    will-change: auto;
  }
}

/* 5. Accessibility Support: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide-item.active .hero-badge,
  .hero-slide-item.active .hero-title,
  .hero-slide-item.active .hero-subtitle,
  .hero-slide-item.active .hero-actions,
  .hero-slide-item.active .hero-perks,
  .hero-slide-item.active .hero-banner-bg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}





/* ==============================================================================
   ÇOK SATANLAR HORIZONTAL SLIDER & TÜM SNEAKERS CATALOG STRIP
   ============================================================================== */
.bestsellers-section {
  padding: 32px 0 40px;
}

.bestsellers-header {
  margin-bottom: 20px;
}

.bestsellers-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}

.bestseller-slider-wrapper {
  position: relative;
  width: 100%;
}

.bestseller-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.bestseller-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.bestseller-track .product-card {
  flex: 0 0 clamp(200px, 22vw, 250px);
  min-width: 200px;
}

.bestseller-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid var(--ink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.bestseller-nav:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.bestseller-prev { left: -12px; }
.bestseller-next { right: -12px; }

@media (max-width: 768px) {
  .bestseller-prev { left: 4px; }
  .bestseller-next { right: 4px; }
}

/* Tüm Sneakers Catalog Header & Filter Bar */
.all-sneakers-section {
  padding: 24px 0 60px;
}

.sneakers-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sneakers-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.sneakers-count-badge {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.catalog-toolbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F8F9FA;
  border-top: 1px solid #EEEEEE;
  border-bottom: 1px solid #EEEEEE;
  padding: 10px 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.catalog-search-box {
  position: relative;
  min-width: 180px;
  flex: 0 0 200px;
}

.catalog-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.catalog-search-input:focus {
  border-color: var(--ink);
}

.catalog-sort-links {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.catalog-sort-links::-webkit-scrollbar {
  display: none;
}

.sort-link-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

/* ==============================================================================
   SECTION-SCOPED STYLES: ÖNE ÇIKAN MODELLER (ISO-FEATURED)
   ============================================================================== */
.featured-models-section {
  padding: 32px 0 40px;
}

.featured-models-header {
  margin-bottom: 20px;
}

.featured-models-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}

.featured-carousel-wrapper {
  position: relative;
  width: 100%;
}

.featured-carousel-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 8px 2px 16px !important;
  scrollbar-width: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.featured-carousel-track::-webkit-scrollbar {
  display: none !important;
}

/* 5 Cards on Desktop (>= 1200px) */
.featured-models-section .featured-card-wrapper {
  flex: 0 0 calc(20% - 12.8px) !important;
  width: calc(20% - 12.8px) !important;
  max-width: 220px !important;
  min-width: 175px !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 1400px) {
  /* 5-6 Cards on 1400px+ Desktop */
  .featured-models-section .featured-card-wrapper {
    flex: 0 0 calc(16.666% - 13.33px) !important;
    width: calc(16.666% - 13.33px) !important;
    max-width: 215px !important;
  }
}

@media (max-width: 1024px) {
  .featured-models-section .featured-card-wrapper {
    flex: 0 0 calc(33.333% - 10.66px) !important;
    width: calc(33.333% - 10.66px) !important;
    min-width: 155px !important;
  }
}

@media (max-width: 640px) {
  .featured-models-section .featured-card-wrapper {
    flex: 0 0 calc(46% - 8px) !important;
    width: calc(46% - 8px) !important;
    min-width: 140px !important;
  }
}

.featured-models-section .product-card {
  width: 100% !important;
  height: 330px !important;
  max-width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
}

.featured-models-section .product-media {
  height: 185px !important;
  min-height: 185px !important;
  max-height: 185px !important;
  aspect-ratio: auto !important;
  background: #FFFFFF !important;
  position: relative !important;
}

.featured-models-section .product-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
}

.featured-models-section .product-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35 !important;
  height: 2.7em !important;
  font-size: 13px !important;
}

.featured-models-section .product-info {
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
}

.featured-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}

.featured-nav:hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.featured-prev { left: -10px; }
.featured-next { right: -10px; }

/* NOT: Katalog/Tüm Ayakkabılar bölümü için .catalog-layout, .catalog-sidebar ve
   .catalog-content stilleri yukarıda (~satır 3425 ve 3687) tanımlıdır — mobilde
   kaydırmalı filtre çekmecesini (drawer) buradaki eski/çakışan sürüm bozuyordu,
   bu yüzden kaldırıldı. .catalog-products-grid hiçbir view'de kullanılmıyordu. */

/* Global Toast Notification Responsive Container */
#global-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

@media (max-width: 640px) {
  #global-toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    align-items: center;
  }
}

/* Cart Quantity Stepper Component */
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  overflow: hidden;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.qty-btn {
  width: 32px;
  height: 100%;
  border: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}

.qty-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.qty-btn:active {
  transform: scale(0.94);
}

.qty-value {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  min-width: 24px;
  text-align: center;
}

/* ==============================================================================
   STATIC CONTENT & POLICY PAGES STYLING (BOOM STORE DESIGN SYSTEM)
   ============================================================================== */
.static-page-wrapper {
  padding: 32px 0 64px 0;
  background-color: var(--bg);
}

.static-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-subtle);
  margin-bottom: 24px;
}

.static-breadcrumb a {
  color: var(--ink-soft);
  transition: color var(--trans);
}

.static-breadcrumb a:hover {
  color: var(--accent);
}

.static-breadcrumb .sep {
  color: var(--line);
}

.static-breadcrumb .current {
  color: var(--ink);
  font-weight: 700;
}

.static-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
}

.static-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.static-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 61, 26, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}

.static-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}

.static-subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.static-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.static-body p {
  margin-bottom: 16px;
}

.about-body-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.about-stat-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 16px;
  border-radius: var(--radius-s);
  text-align: center;
}

.about-stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat-item .stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.about-founder-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-s);
  border-left: 4px solid var(--accent);
}

.founder-avatar {
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.founder-info .founder-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.founder-info .founder-title {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Contact Page Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--trans);
}

.contact-card.highlight-card {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,61,26,0.04) 0%, #FFFFFF 100%);
}

.contact-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.contact-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-value-sm {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-subtext {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-whatsapp {
  background: #16A34A;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #15803D;
  color: #FFFFFF;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-top: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
}

.hours-row strong {
  color: var(--ink);
}

/* Policies & Legal Sections */
.policy-section {
  margin-bottom: 32px;
}

.policy-section h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.clean-bullet-list {
  padding-left: 20px;
  margin: 12px 0;
  list-style-type: disc;
}

.clean-bullet-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.clean-numbered-list {
  padding-left: 20px;
  margin: 12px 0;
  list-style-type: decimal;
}

.clean-numbered-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

/* FAQ Styling */
.faq-container {
  margin-top: 24px;
}

.faq-category {
  margin-bottom: 36px;
}

.faq-cat-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--trans);
}

.faq-item[open] {
  border-color: var(--ink-subtle);
  background: var(--surface-card);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Expanded About Page Styles */
.author-signature {
  font-weight: 800;
  color: var(--accent);
  margin-top: 12px;
  font-size: 15px;
}

.about-process-section {
  margin: 40px 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.process-header {
  margin-bottom: 24px;
}

.process-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--cobalt);
  background: rgba(27, 59, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}

.process-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.process-header p {
  font-size: 14px;
  color: var(--ink-soft);
}

.prep-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--trans);
}

.step-card:hover {
  border-color: var(--ink-subtle);
}

.step-card.highlight-step {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 61, 26, 0.04) 0%, #FFFFFF 100%);
}

.step-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  background: rgba(255, 61, 26, 0.1);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.about-care-box {
  background: var(--surface);
  border-radius: var(--radius-m);
  padding: 28px;
  border: 1px solid var(--line);
  margin: 36px 0;
}

.highlight-callout {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  margin-top: 12px;
  margin-bottom: 0 !important;
}

.about-quote-card {
  background: #141416;
  color: #FFFFFF;
  border-radius: var(--radius-m);
  padding: clamp(28px, 5vw, 44px);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.quote-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.quote-icon {
  font-size: 40px;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 0.8;
}

.quote-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
}

.quote-body-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-emphasized {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  margin-top: 16px;
}

.about-quote-card .about-founder-box {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--accent);
  color: #FFFFFF;
}

.about-quote-card .founder-name {
  color: #FFFFFF;
}

.about-quote-card .founder-title {
  color: rgba(255, 255, 255, 0.7);
}

/* Shipping Page Modern Styling */
.shipping-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.shipping-highlight-item {
  background: var(--white);
  border: 2.5px solid var(--accent);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 61, 26, 0.05);
}

.sh-text {
  width: 100%;
  text-align: center;
}

.sh-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.sh-text span {
  font-size: 12px;
  color: var(--ink-soft);
}

.shipping-timeline-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  border-left: 3.5px solid var(--ink);
  transition: all var(--trans);
}

.flow-step:hover {
  border-color: var(--ink-subtle);
  border-left-color: var(--ink);
  transform: translateY(-1px);
}

.flow-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
  background: var(--ink);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.flow-body h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.flow-body p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 !important;
}

/* Exact Mockup Alignment Contact Page Styling */
.contact-mockup-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.mockup-header {
  text-align: center;
  margin-bottom: 24px;
  border-bottom: none;
  padding-bottom: 0;
}

.mockup-badge {
  background: none;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0;
  margin-bottom: 6px;
}

.mockup-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.mockup-subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact-mockup-stream {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 16px;
  text-align: left;
}

.whatsapp-mockup-row {
  padding: 0;
}

.wa-mockup-details {
  width: 100%;
}

.wa-mockup-details h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.wa-mockup-details p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-wa-mockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background var(--trans), transform var(--trans);
}

.btn-wa-mockup:hover {
  background: #15803D;
  color: #FFFFFF;
}

.btn-wa-mockup .arrow {
  font-size: 16px;
  transition: transform var(--trans);
}

.btn-wa-mockup:hover .arrow {
  transform: translateX(3px);
}

.mockup-divider {
  height: 1px;
  background-color: var(--line);
  width: 100%;
}

.mockup-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}

.mockup-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mockup-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.row-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  transition: color var(--trans);
  /* Uzun e-posta adresi dar ekranda satır kırabilsin (taşmasın). */
  min-width: 0;
  overflow-wrap: anywhere;
}

a.row-value:hover {
  color: var(--accent);
}

.mockup-footer-tagline {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  margin-top: 12px;
  padding-top: 16px;
}

@media (max-width: 640px) {
  .whatsapp-mockup-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-wa-mockup {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================================================
   ÇEREZ ONAY ÇUBUĞU (KVKK) — mobilde tam genişlik alt panel, masaüstünde ortalı şerit.
   position: fixed olduğu için sayfa düzenini kaydırmaz (CLS yok).
   ============================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120; /* WhatsApp "Canlı Destek" butonunun (90) üstünde */
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  background: var(--ink);
  color: #F2F0E8;
  border-radius: var(--radius-m);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-size: 13.5px;
  line-height: 1.5;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  flex: 1;
  margin: 0;
}

.cookie-banner-text strong {
  color: #FFFFFF;
}

.cookie-banner-text a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Reddet ve Kabul Et eşit boyutta ve eşit erişilebilir (KVKK rehberi). */
.cookie-btn {
  min-width: 112px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
}

.cookie-btn-reject {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-accept {
  background: #FFFFFF;
  color: var(--ink);
  border: 1.5px solid #FFFFFF;
}

.cookie-btn-accept:hover {
  background: #E5E3DC;
}

.cookie-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .cookie-banner-actions .cookie-btn {
    flex: 1;
    min-width: 0;
  }
}

/* Footer'daki "Çerez Tercihleri" bağlantısı diğer footer linkleri gibi görünür. */
.footer-links .footer-cookie-link {
  cursor: pointer;
}

/* ==============================================================================
   PERFORMANS: GEREKSİZ SÜREKLİ İŞİ AZALTMA (masaüstünde "kasma" şikayeti)
   Ölçüm: sayfa boşta beklerken ana thread %21 meşguldü; saniyede ~140 kez stil
   hesabı + 144 bulanıklık (backdrop-filter) katmanı yeniden birleştiriliyordu.
   ============================================================================== */

/* 1) Kart ve hero üzerindeki küçük kontrollerde bulanıklık kaldırıldı. Arka planları
      zaten %85-97 opak olduğundan görünüm değişmiyor; ama her biri ayrı bir GPU
      katmanıydı ve kaydırırken her karede yeniden hesaplanıyordu. */
.card-img-nav,
.card-img-dots,
.card-fav-btn,
.product-mini-meta,
.quick-size-overlay,
.hero-badge,
.hero-slider-nav,
.hero-slider-dots,
.hero-actions .btn-outline::after {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* 2) Hero görselinin 16 sn'lik sonsuz "nefes alma" animasyonu kaldırıldı
      (koca görseli her karede yeniden işletiyordu). Giriş yakınlaşması kalıyor. */
.hero-slide-item.active .hero-banner-bg {
  animation: heroBgZoom 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: auto;
}

/* 3) Dekoratif sonsuz animasyonlar yalnızca GÖRÜNEN slaytta ve hero ekrandayken
      çalışır; gizli slaytlarda ve sayfa aşağı kaydırılınca durur (app.js:
      data-pause-offscreen → .is-offscreen). */
.hero-actions .btn::before,
.pulse-dot::after {
  animation-play-state: paused;
}
.hero-slide-item.active .hero-actions .btn::before,
.hero-slide-item.active .pulse-dot::after {
  animation-play-state: running;
}
.is-offscreen .hero-slide-item.active .hero-actions .btn::before,
.is-offscreen .hero-slide-item.active .pulse-dot::after,
.ticker-strip.is-offscreen .ticker-track {
  animation-play-state: paused;
}

/* ==============================================================================
   MİNİ SEPET (sağdan açılan panel) — ürün eklenince müşteri sayfada kalır
   ============================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(20, 20, 22, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-drawer-backdrop.open { opacity: 1; }
.cart-drawer-backdrop[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(420px, 100vw);
  background: var(--white);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  outline: none;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s;
}
.cart-drawer-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-title { font-size: 17px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.cart-drawer-count { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--surface); border-radius: 999px; padding: 3px 10px; }
.cart-drawer-close {
  display: inline-flex;
  padding: 6px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
}
.cart-drawer-close:hover { background: var(--surface); }
.cart-drawer-added {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #ECFDF3;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 700;
  border-bottom: 1px solid #D1FADF;
}
.cart-drawer-ship { padding: 12px 20px; font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.cart-drawer-ship strong { color: var(--ink); }
.cart-drawer-ship-bar { margin-top: 8px; height: 5px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.cart-drawer-ship-bar span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.cart-drawer-items {
  list-style: none;
  margin: 0;
  padding: 4px 20px;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-item.is-unselected { opacity: 0.55; }
.cart-drawer-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: #fff;
}
.cart-drawer-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-drawer-info { flex: 1; min-width: 0; }
.cart-drawer-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
.cart-drawer-name:hover { text-decoration: underline; }
.cart-drawer-meta { margin-top: 3px; font-size: 12px; color: var(--ink-soft); }
.cart-drawer-price { margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.cart-drawer-remove {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px;
  border: none;
  background: none;
  color: var(--ink-subtle);
  cursor: pointer;
  border-radius: 50%;
}
.cart-drawer-remove:hover { color: var(--accent); background: var(--surface); }
.cart-drawer-remove:disabled { opacity: 0.4; cursor: wait; }
.cart-drawer-foot {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-drawer-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); padding: 3px 0; }
.cart-drawer-row.discount { color: var(--green); }
.cart-drawer-row.total { font-size: 16px; font-weight: 800; color: var(--ink); padding: 8px 0 12px; }
.cart-drawer-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-s);
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.cart-drawer-btn.primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.cart-drawer-btn.primary:hover { background: #000; }
.cart-drawer-btn.secondary { margin-top: 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.cart-drawer-btn.secondary:hover { border-color: var(--ink); }
.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; color: var(--ink-soft); }
.cart-drawer-empty .cart-drawer-btn { width: auto; padding: 12px 28px; }
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-drawer.open, .cart-drawer-backdrop { transition: none; }
}

/* Güvenli alışveriş rozeti (components/secure-badge.php) — sepet, ödeme, Hemen Al */
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid #D1FADF;
  border-radius: var(--radius-s);
  background: #F0FDF4;
  color: #166534;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}
.secure-badge svg { flex-shrink: 0; color: var(--green); }
.secure-badge strong { font-weight: 800; }
.cart-summary-card .secure-badge { margin-top: 0; }

/* Google ile Giriş / Kayıt (components/google-auth-button.php) — Google marka kurallarına uygun
   beyaz buton + renkli "G" logosu */
.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border: 1px solid #DADCE0;
  border-radius: 9px;
  background: #fff;
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.google-auth-btn:hover { background: #F8F9FA; border-color: #C6C9CE; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.google-auth-btn svg { flex-shrink: 0; }
.google-auth-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.google-auth-note a { color: var(--accent); font-weight: 600; }
.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--ink-subtle);
  font-size: 12px;
  font-weight: 600;
}
.auth-or-divider::before,
.auth-or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
