/* =========================================================
   Platini Sport — Ana Stil Dosyası
   Tasarım Referansları: Nike (minimalizm), Decathlon (navigasyon),
   JD Sports (ürün kartı), Tennis Warehouse (filtre UX)
   ========================================================= */

/* ── CSS Değişkenleri (Admin'den override edilir) ─────── */
:root {
  --color-primary:    #0a0a0a;
  --color-accent:     #e63329;   /* Ana vurgu rengi */
  --color-accent-2:   #1a56db;   /* İkincil (hover, link) */
  --color-surface:    #f8f8f8;
  --color-border:     #e2e2e2;
  --color-text:       #111111;
  --color-text-muted: #6b7280;
  --color-white:      #ffffff;

  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display:'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-card: 0 2px 8px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,.14);

  --header-h:    64px;
  --container:   1400px;
  --gap:         24px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Yardımcı Sınıflar ────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.flex { display: flex; }
.grid { display: grid; }

/* =========================================================
   HEADER & NAVİGASYON
   ========================================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  color: var(--color-white);
  height: var(--header-h);
  border-bottom: 2px solid var(--color-accent);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-white);
}
.site-logo span { color: var(--color-accent); }

/* Arama */
.header-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  color: var(--color-white);
  font-size: .9375rem;
  transition: background .2s;
}
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search input:focus {
  outline: none;
  background: rgba(255,255,255,.2);
}
.header-search button {
  position: absolute;
  right: 0; top: 0;
  height: 40px; width: 40px;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { color: var(--color-white); }

/* Header Araçlar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-actions a,
.header-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .2s, background .2s;
  position: relative;
}
.header-actions a:hover,
.header-actions button:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.08);
}
.header-actions svg { width: 22px; height: 22px; }

/* Sepet sayacı */
.cart-count {
  position: absolute;
  top: 2px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--color-accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── Mega Menu ─────────────────────────────────────────── */
#mega-menu-bar {
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mega-menu-nav {
  display: flex;
  height: 44px;
  align-items: stretch;
}
.mega-menu-nav > li { position: relative; }
.mega-menu-nav > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 16px;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .2px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.mega-menu-nav > li > a svg { width: 14px; height: 14px; transition: transform .2s; }
.mega-menu-nav > li:hover > a { color: var(--color-white); background: rgba(255,255,255,.06); }
.mega-menu-nav > li:hover > a svg { transform: rotate(180deg); }
.mega-menu-nav > li.has-accent > a { color: var(--color-accent); }

/* Dropdown paneli */
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 640px;
  max-width: 900px;
  background: var(--color-white);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--color-accent);
  padding: 20px 24px 24px;
  z-index: 999;
  animation: panelIn .18s ease;
}
@keyframes panelIn {
  from { opacity:0; transform: translateY(8px); }
  to   { opacity:1; transform: translateY(0); }
}
.mega-menu-nav > li:hover .mega-panel { display: block; }

/* Panel açıkken menü öğesi altı çizgisi */
.mega-menu-nav > li:hover > a {
  color: var(--color-white) !important;
  background: rgba(255,255,255,.1);
}

/* Panel içi grid */
.mega-panel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.mega-panel-col {
  flex: 0 0 auto;
}
.mega-col-link {
  display: block;
  padding: 9px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mega-col-link:hover {
  background: var(--color-surface);
  color: var(--color-accent);
}
.mega-see-all {
  width: 100%;
  border-top: 1px solid var(--color-border);
  margin-top: 10px;
  padding-top: 6px;
}
.mega-see-all .mega-col-link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: .875rem;
}
.mega-see-all .mega-col-link:hover {
  background: none;
  text-decoration: underline;
}

/* Markalar accent item */
.mega-menu-nav > li.has-accent > a {
  color: var(--color-accent) !important;
  font-weight: 700;
}
.mega-menu-nav > li.has-accent > a::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* Mobil menu toggle — masaüstünde kesinlikle gizli */
.mobile-menu-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--color-white);
  border-radius: var(--radius-sm);
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,.1); }

/* Mobil Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: var(--color-white);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.mobile-search {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-search input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
}
.mobile-search button {
  padding: 8px 12px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
}
.mobile-menu-list {
  padding: 8px 0;
  flex: 1;
}
.mobile-menu-list li {
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu-list li a {
  display: block;
  padding: 13px 48px 13px 20px; /* sağda ok butonu için yer */
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background .15s, color .15s;
}
.mobile-menu-list li a:hover { background: var(--color-surface); color: var(--color-accent); }
/* Alt menü ok butonu — sadece link satırı kadar yüksek */
.mob-sub-toggle {
  position: absolute;
  right: 0; top: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  background: none; border: none;
  transition: transform .2s;
  flex-shrink: 0;
}
.mobile-menu-list li.open > .mob-sub-toggle { transform: rotate(180deg); }
/* Alt menü */
.mobile-menu-list li ul { display: none; background: var(--color-surface); }
.mobile-menu-list li.open > ul { display: block; }
.mobile-menu-list li ul li { border-bottom: 1px solid rgba(0,0,0,.05); }
.mobile-menu-list li ul li a {
  padding: 11px 20px 11px 36px;
  font-size: .875rem;
  font-weight: 400;
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  height: clamp(360px, 52vw, 640px);
  background: var(--color-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero-content .tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.125rem;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: #c42a21; box-shadow: 0 4px 16px rgba(230,51,41,.4); }
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,.08); }

/* =========================================================
   KATEGORİ TILES
   ========================================================= */
.section { padding: 56px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.3px;
}
.section-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-accent-2);
}
.section-link:hover { text-decoration: underline; }

/* =========================================================
   FİBOSEARCH ENTEGRASYONU
   ========================================================= */
.header-search--fibo {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.header-search--fibo .dgwt-wcas-search-wrapp { width: 100%; }

/* Header'ın genel .header-search input CSS'ini sıfırla */
.header-search--fibo input.dgwt-wcas-search-input {
  background: transparent !important;
  color: #0a0a0a !important;
  height: 40px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: .9375rem !important;
  font-family: inherit !important;
}
.header-search--fibo input.dgwt-wcas-search-input::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

/* Sonuç paneli */
.dgwt-wcas-suggestions-wrapp { z-index: 9999 !important; }
.dgwt-wcas-suggestion-price { color: var(--color-accent) !important; font-weight: 700 !important; }

@media (max-width: 768px) {
  .header-search--fibo { display: none; }
}

/* ── Kategori Bento Grid ──────────────────────────────── */
.category-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px 180px;
  gap: 10px;
}

/* 1. tile → hero (2 sütun × 2 satır) */
.cat-bento-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
/* 2-5 → sağdaki 2 sütunda çiftler */
.cat-bento-item:nth-child(2) { grid-column: 3;     grid-row: 1; }
.cat-bento-item:nth-child(3) { grid-column: 4;     grid-row: 1; }
.cat-bento-item:nth-child(4) { grid-column: 3;     grid-row: 2; }
.cat-bento-item:nth-child(5) { grid-column: 4;     grid-row: 2; }
/* 6-9 → alt şerit, 4 eşit kolon */
.cat-bento-item:nth-child(6) { grid-column: 1; grid-row: 3; }
.cat-bento-item:nth-child(7) { grid-column: 2; grid-row: 3; }
.cat-bento-item:nth-child(8) { grid-column: 3; grid-row: 3; }
.cat-bento-item:nth-child(9) { grid-column: 4; grid-row: 3; }

.cat-bento-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  display: block;
  text-decoration: none;
}

/* Renk fallback'leri — fotoğraf yokken de güzel görünür */
.cat-bento-item:nth-child(1) { --cat-bg: #1a1a2e; }
.cat-bento-item:nth-child(2) { --cat-bg: #162032; }
.cat-bento-item:nth-child(3) { --cat-bg: #1f1b2e; }
.cat-bento-item:nth-child(4) { --cat-bg: #0d2137; }
.cat-bento-item:nth-child(5) { --cat-bg: #2a1a1f; }
.cat-bento-item:nth-child(6) { --cat-bg: #1a2a1a; }
.cat-bento-item:nth-child(7) { --cat-bg: #1a1a0d; }
.cat-bento-item:nth-child(8) { --cat-bg: #2a1a0d; }

.cat-bento-item { background: var(--cat-bg); }

.cat-bento-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
  display: block;
}
.cat-bento-item:hover img { transform: scale(1.06); }

/* Gradient overlay */
.cat-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.15) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background .3s;
}
.cat-bento-item:hover .cat-bento-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.8) 0%,
    rgba(0,0,0,.3) 60%,
    transparent 100%
  );
}

.cat-bento-name {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.2px;
}
/* Hero tile → büyük yazı */
.cat-bento-item:nth-child(1) .cat-bento-name { font-size: 1.5rem; }
/* Orta tileler */
.cat-bento-item:nth-child(2) .cat-bento-name,
.cat-bento-item:nth-child(3) .cat-bento-name,
.cat-bento-item:nth-child(4) .cat-bento-name,
.cat-bento-item:nth-child(5) .cat-bento-name { font-size: 1rem; }
/* Alt şerit */
.cat-bento-item:nth-child(6) .cat-bento-name,
.cat-bento-item:nth-child(7) .cat-bento-name,
.cat-bento-item:nth-child(8) .cat-bento-name { font-size: .9375rem; }

.cat-bento-count {
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 500;
  margin-top: 3px;
}

/* Hover'da "Keşfet" chip göster */
.cat-bento-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.cat-bento-item:hover .cat-bento-chip {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet — 3 kolon, hero + 2 sağ + alt 3 + gizlenen 1 */
@media (max-width: 960px) {
  .category-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 220px 220px 150px 150px;
  }
  .cat-bento-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cat-bento-item:nth-child(2) { grid-column: 3; grid-row: 1; }
  .cat-bento-item:nth-child(3) { grid-column: 3; grid-row: 2; }
  .cat-bento-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .cat-bento-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .cat-bento-item:nth-child(6) { grid-column: 3; grid-row: 3; }
  .cat-bento-item:nth-child(7) { grid-column: 1; grid-row: 4; }
  .cat-bento-item:nth-child(8) { grid-column: 2; grid-row: 4; }
  .cat-bento-item:nth-child(9) { grid-column: 3; grid-row: 4; }
}

/* Mobil — 2 kolon, hero tam genişlik + 4 çift */
@media (max-width: 600px) {
  .category-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 130px 130px 130px 130px;
  }
  .cat-bento-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .cat-bento-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .cat-bento-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .cat-bento-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .cat-bento-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .cat-bento-item:nth-child(6) { grid-column: 1; grid-row: 4; }
  .cat-bento-item:nth-child(7) { grid-column: 2; grid-row: 4; }
  .cat-bento-item:nth-child(8) { grid-column: 1; grid-row: 5; }
  .cat-bento-item:nth-child(9) { grid-column: 2; grid-row: 5; }

  .cat-bento-item:nth-child(1) .cat-bento-name { font-size: 1.2rem; }
  .cat-bento-overlay { padding: 14px; }
}

/* Fotoğrafsız fallback ikon */
.cat-bento-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: .18;
  pointer-events: none;
  /* Hafif nokta desen */
  background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cat-bento-item:nth-child(1) .cat-bento-noimg { font-size: 8rem; }

/* Eski .category-tiles ve .category-tile legacy — artık kullanılmıyor */
.category-tiles { display: none; }
.category-tile  { display: none; }

/* =========================================================
   ÜRÜN KARTLARI
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
}

/* Ana sayfada sabit 4 kolon — 4'ün katı ürün sayısı tam dolar */
.products-grid--home {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .products-grid--home { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Image wrapper — tüm overlay butonlar burada konumlanır, body'e taşmaz */
.product-card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-surface);
}

.product-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  filter: contrast(1.04) saturate(1.08);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

/* Hızlı ekle butonu */
.product-card-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px;
  text-align: center;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .2s ease;
}
.product-card:hover .product-card-quick-add { transform: translateY(0); }

/* Etiketler (yeni, indirim) */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-sale { background: var(--color-accent); color: #fff; }
.badge-new  { background: var(--color-primary); color: #fff; }

/* Favori butonu */
.product-card-wish {
  position: absolute;
  top: 8px; right: 8px;
  width: 36px; height: 36px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity .2s;
  color: var(--color-text-muted);
  z-index: 4;
}
.product-card-wish:hover { color: var(--color-accent); }
.product-card:hover .product-card-wish { opacity: 1; }

/* Ürün bilgileri */
.product-card-body { padding: 14px; }
.product-card-brand {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.product-card-title {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.price-now {
  font-size: 1rem;
  font-weight: 800;
  color: #0a0a0a;
  display: block;
  line-height: 1.4;
}
.price-was {
  font-size: .8125rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}
.price-pct {
  font-size: .6875rem;
  font-weight: 700;
  background: #e63329;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
}
/* WooCommerce native price span'ları (fallback) */
.product-card-price .woocommerce-Price-amount,
.price-current {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111111;
}
/* İndirimli fiyat: ins içindeki tutar */
.product-card-price ins { text-decoration: none; }
.product-card-price ins .woocommerce-Price-amount { color: var(--color-accent); }
/* Eski fiyat: del içindeki tutar */
.product-card-price del { opacity: .6; }
.product-card-price del .woocommerce-Price-amount {
  font-size: .8125rem;
  font-weight: 400;
  text-decoration: line-through;
  color: var(--color-text-muted);
}
/* "X ₺ – Y ₺" aralık format */
.product-card-price .woocommerce-Price-amount:only-child { color: var(--color-text); }
.price-old {
  font-size: .875rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.price-discount {
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Beden hızlı seçim (hover'da görünür) */
.product-card-sizes {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 10px;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .2s, max-height .2s;
}
.product-card:hover .product-card-sizes { opacity: 1; max-height: 60px; }
.size-chip {
  padding: 3px 7px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: border-color .15s, color .15s;
}
.size-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.size-chip.out { text-decoration: line-through; opacity: .4; pointer-events: none; }

/* =========================================================
   CİNSİYET TAB STRIP  (Nike / Adidas referans)
   ========================================================= */
.gender-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.gender-tabs::-webkit-scrollbar { display: none; }
.gender-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--color-border);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.gender-tab:hover  { border-color: var(--color-primary); color: var(--color-primary); }
.gender-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* =========================================================
   ARŞİV / KATEGORİ SAYFASI
   ========================================================= */
.archive-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Filtre Sidebar (Zalando / ASOS referans) ─────────── */
.filter-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
  padding-right: 4px;
}
.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.filter-sidebar-header h3 {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text);
  margin: 0;
}
.filter-clear-all {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
}

/* Aktif filtre chips (ASOS referans) */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 12px;
  border-radius: 99px;
  background: var(--color-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}
.filter-chip svg { width: 12px; height: 12px; }

/* Filtre grupları */
.filter-group { border-bottom: 1px solid var(--color-border); padding: 0 0 4px; margin-bottom: 0; }
.filter-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  font-weight: 700;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
}
.filter-group-title svg { width: 14px; height: 14px; transition: transform .2s; flex-shrink: 0; }
.filter-group.open .filter-group-title svg { transform: rotate(180deg); }
.filter-options {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
}
.filter-group.open .filter-options { display: flex; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  padding: 5px 0;
  cursor: pointer;
  border-radius: 4px;
  transition: color .1s;
}
.filter-option:hover { color: var(--color-accent); }
.filter-option.active { font-weight: 700; }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.filter-option-label { flex: 1; }
.filter-option-count {
  font-size: .75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ── Fiyat Kaydırıcı (Zalando referans) ──────────────── */
.price-slider-wrap {
  padding: 8px 0 16px;
}
.price-range-display {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}
.price-slider-track {
  position: relative;
  height: 4px;
  background: var(--color-border);
  border-radius: 99px;
  margin: 0 8px;
}
.price-slider-range {
  position: absolute;
  height: 4px;
  background: var(--color-primary);
  border-radius: 99px;
  pointer-events: none;
}
.price-slider-wrap input[type="range"] {
  position: absolute;
  width: calc(100% + 16px);
  left: -8px;
  top: -7px;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  height: 18px;
}
.price-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  pointer-events: all;
  cursor: pointer;
}
.price-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  pointer-events: all;
  cursor: pointer;
}
/* Filtrele butonu */
.filter-apply-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  position: sticky;
  bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.filter-apply-btn:hover { background: #222; }
.filter-apply-btn.has-changes {
  background: var(--color-accent);
  animation: pulse-btn .3s ease;
}
@keyframes pulse-btn {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.load-more-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 40px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-primary);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.load-more-btn:hover { background: var(--color-primary); color: #fff; }
.load-more-btn:disabled { opacity: .6; cursor: wait; }
.load-more-count { font-size: .75rem; font-weight: 400; color: var(--color-text-muted); }
.load-more-btn:hover .load-more-count { color: rgba(255,255,255,.7); }
.load-more-progress { font-size: .8125rem; color: var(--color-text-muted); margin-top: 12px; }

/* Sıralama toolbar */
.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}
.result-count { font-size: .875rem; color: var(--color-text-muted); }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  background: var(--color-white);
  cursor: pointer;
  font-weight: 600;
}
.sort-select:focus { outline: 2px solid var(--color-primary); }

/* ── Cart drawer checkout butonu tam görünür ─────────── */
.cart-drawer-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1rem;
}
.btn-checkout {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: background .15s;
  box-sizing: border-box;
}
.btn-checkout:hover { background: #c42a21; }
.btn-checkout svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================================
   ÜRÜN DETAY SAYFASI
   ========================================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
}
.product-detail > * { min-width: 0; }  /* grid child taşmasını önle */

/* Galeri */
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 1;
  cursor: zoom-in;
  position: relative;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.08);
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform .2s ease;
  will-change: transform;
}
@media (hover: hover) {
  .product-gallery-main:hover img { transform: scale(2.2); }
}

/* Lightbox */
.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.img-lightbox.open { opacity: 1; pointer-events: all; }
.img-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  filter: contrast(1.04) saturate(1.08);
}
.img-lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,.3); }
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.product-gallery-thumbs img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
}
.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover { border-color: var(--color-accent); }

/* Ürün bilgi paneli */
.product-info-panel { position: sticky; top: calc(var(--header-h) + 24px); }
.product-breadcrumb {
  display: flex; gap: 6px;
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.product-breadcrumb a:hover { color: var(--color-accent); }
.product-breadcrumb .sep { opacity: .4; }
.product-brand-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent-2);
  display: block;
  margin-bottom: 8px;
}
.product-title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.product-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.product-price-main {
  font-size: 1.875rem;
  font-weight: 900;
}
.product-price-old {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.product-price-badge {
  background: var(--color-accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Beden seçici */
.variant-section { margin-bottom: 20px; }
.variant-label {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.variant-label a { color: var(--color-accent-2); font-weight: 400; }
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 52px;
  padding: 9px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.size-btn:hover { border-color: var(--color-primary); }
.size-btn.selected { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.size-btn.unavailable { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* Sepete ekle */
.add-to-cart-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.qty-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-input button {
  width: 32px; height: 48px;
  font-size: 1.25rem;
  color: var(--color-text);
  transition: background .15s;
}
.qty-input button:hover { background: var(--color-surface); }
.qty-input input {
  flex: 1;
  text-align: center;
  border: none;
  outline: none;
  font-size: .9375rem;
  font-weight: 700;
}
.btn-add-cart {
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.btn-add-cart:hover { background: #222; }
.btn-add-cart:disabled { background: #aaa; cursor: not-allowed; }
.btn-add-cart.loading { opacity: .7; pointer-events: none; }

/* Güven rozeti bandı (ürün sayfası) */
.product-trust-band {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
  font-size: .75rem;
  color: var(--color-text-muted);
}
.product-trust-band span { color: #16a34a; font-weight: 600; }

/* Paylaşım */
.product-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.product-share__label {
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-right: 2px;
}
.product-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: .8125rem;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.product-share__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.product-share__btn--wa  { color: #25d366; border-color: #25d366; }
.product-share__btn--wa:hover { background: #25d366; color: #fff; }
.product-share__btn--copy.copied { color: #16a34a; border-color: #16a34a; }

/* Stok uyarısı */
.stock-alert, .stock-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.stock-alert { color: #dc2626; }
.stock-ok    { color: #16a34a; }
.stock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
  animation: pulse-stock 1.5s infinite;
}
.stock-dot--ok { background: #16a34a; animation: none; }
@keyframes pulse-stock {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* Teslimat tahmini */
.delivery-estimate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--color-text-muted);
  padding: 10px 12px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.delivery-estimate svg { flex-shrink: 0; color: var(--color-accent-2); }
.delivery-estimate strong { color: var(--color-text); }

/* Wishlist buton aktif hali */
.btn-wishlist.wishlisted { color: var(--color-accent); border-color: var(--color-accent); }
.product-card-wish.wishlisted svg { fill: var(--color-accent); stroke: var(--color-accent); }

/* Mobil Sticky ATC */
.sticky-atc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  z-index: 500;
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform .3s ease;
  display: none;
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.sticky-atc-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.sticky-atc-name {
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-atc-price { font-size: .875rem; font-weight: 800; }
.sticky-atc-btn {
  height: 44px;
  padding: 0 20px;
  font-size: .875rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 769px) { .sticky-atc { display: none !important; } }
@media (max-width: 768px) { .sticky-atc { display: block; } }

.btn-wishlist {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.btn-wishlist:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-wishlist svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Stok bildirimi */
.stock-notify-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.stock-notify-label {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}
.stock-notify-row {
  display: flex;
  gap: 8px;
}
.stock-notify-email {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color .15s;
}
.stock-notify-email:focus { border-color: var(--color-accent); }
.stock-notify-btn {
  padding: 10px 18px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.stock-notify-btn:hover { opacity: .88; }
.stock-notify-btn:disabled { opacity: .6; cursor: not-allowed; }
.stock-notify-msg { font-size: .82rem; margin: 8px 0 0; display: none; }

/* Güven ikonları */
.trust-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 20px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
}
.trust-item svg { width: 20px; height: 20px; color: var(--color-accent-2); flex-shrink: 0; }

/* Ürün açıklama sekmeleri */
.product-tabs {
  margin-top: 48px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  gap: 0;
}
.tab-btn {
  padding: 12px 20px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.tab-btn.active { color: var(--color-text); border-bottom-color: var(--color-primary); }
.tab-panel { padding: 24px 0; display: none; overflow-x: hidden; }
.tab-panel.active { display: block; }
.tab-panel p, .tab-panel li { font-size: .9375rem; line-height: 1.7; color: var(--color-text-muted); }
.tab-panel ul { padding-left: 20px; list-style: disc; }
/* Ticimax HTML taşmasını önle */
.tab-panel img { max-width: 100% !important; width: auto !important; height: auto !important; }
.tab-panel table { max-width: 100% !important; display: block; overflow-x: auto; border-collapse: collapse; }
.tab-panel td, .tab-panel th { word-break: break-word; padding: 6px 8px; }
.tab-panel iframe, .tab-panel video, .tab-panel embed { max-width: 100% !important; }

/* =========================================================
   MARKA ŞERIDI
   ========================================================= */
.brand-strip {
  background: var(--color-surface);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.brand-strip-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.brand-strip-inner::-webkit-scrollbar { display: none; }

/* Logo olan marka */
.brand-strip-item--logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-strip-item--logo img {
  height: 32px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .2s;
}
.brand-strip-item--logo:hover img { filter: grayscale(0) opacity(1); }

/* Logosuz marka — metin chip */
.brand-strip-item--text {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.brand-strip-item--text:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .brand-strip-inner { gap: 18px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { font-size: 1.25rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-col ul li a {
  display: block;
  padding: 4px 0;
  font-size: .875rem;
  transition: color .15s;
}
.footer-col ul li a:hover { color: var(--color-white); }
/* Güven rozetleri */
.footer-trust {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin: 24px 0;
  padding: 20px 0;
  flex-wrap: wrap;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 160px;
  padding: 8px 16px;
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  line-height: 1.4;
}
.footer-trust-item svg { flex-shrink: 0; opacity: .7; }
.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  opacity: .6;
}
/* Taksit bandı */
.footer-payment-band {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.footer-payment-band__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.footer-payment-band__cards { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.footer-card-chip {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: .6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  letter-spacing: .02em;
}
.footer-payment-band__secure {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .footer-payment-band { gap: 10px; }
  .footer-payment-band__secure { display: none; }
}

/* ── Checkout Progress Bar ───────────────────────────── */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 16px 16px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.cp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cp-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  transition: background .2s, border-color .2s;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
}
.cp-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.cp-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  min-width: 40px;
  margin-bottom: 20px;
  transition: background .2s;
}
.cp-line--done { background: var(--color-accent); }

/* Tamamlanmış adım */
.cp-done .cp-circle {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cp-done .cp-label { color: var(--color-accent); }

/* Aktif adım */
.cp-active .cp-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.cp-active .cp-label { color: var(--color-primary); font-weight: 700; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  border-radius: 99px;
  padding: 12px 18px 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  color: #fff;
}
.whatsapp-fab-label {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .3px;
}
@media (max-width: 768px) {
  .whatsapp-fab { bottom: 76px; right: 16px; padding: 12px; border-radius: 50%; }
  .whatsapp-fab-label { display: none; }
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--color-white); color: var(--color-white); }

/* =========================================================
   TOAST BİLDİRİMİ
   ========================================================= */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  font-size: .875rem;
  animation: toastIn .25s ease;
  border-left: 3px solid var(--color-accent);
}
@keyframes toastIn {
  from { opacity:0; transform: translateX(20px); }
  to   { opacity:1; transform: translateX(0); }
}

/* =========================================================
   SKELETON LOADER
   ========================================================= */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, #e8e8e8 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* =========================================================
   CART DRAWER (Yan Sepet)
   ========================================================= */
.cart-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
}
.cart-drawer-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 420px; height: 100%;
  background: var(--color-white);
  z-index: 1101;
  display: flex; flex-direction: column;
  transition: right .3s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-header h2 { font-size: 1.125rem; font-weight: 800; }
.cart-drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.cart-drawer-close:hover { background: var(--color-surface); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--color-border); }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 1.0625rem; font-weight: 800;
  margin-bottom: 14px;
}
.btn-checkout {
  width: 100%;
  height: 52px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: .3px;
  transition: background .2s;
}
.btn-checkout:hover { background: #c42a21; }

/* =========================================================
   MOBİL RESPONSIVE
   ========================================================= */
/* Filtre Mobil Trigger Butonu */
.filter-mobile-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin-bottom: 16px;
}
.filter-mobile-trigger svg { width: 18px; height: 18px; stroke: #fff; }
.filter-badge-count {
  background: var(--color-accent);
  color: #fff;
  border-radius: 99px;
  padding: 1px 8px;
  font-size: .7rem;
}
.filter-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1199;
}
.filter-mobile-overlay.open { display: block; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .filter-mobile-trigger { display: flex; }

  /* Sidebar → sol kenar çekmecesi */
  .filter-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 85vw);
    z-index: 1200;
    overflow-y: auto;
    background: var(--color-white);
    padding: 20px;
    transform: translateX(-110%);
    transition: transform .3s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
    max-height: 100vh;
    scrollbar-width: thin;
  }
  .filter-sidebar.open { transform: translateX(0); }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  #mega-menu-bar { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-search { display: none; }
  .header-search.open { display: flex; position: absolute; top: 56px; left: 0; right: 0; width: auto; background: var(--color-primary); padding: 10px 16px; }

  /* Hesabım ve Favoriler linklerini gizle — bottom nav'da zaten var */
  .header-actions > a { display: none; }
  /* Header gap daralt */
  .header-inner { gap: 12px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-banner { height: auto; min-height: 240px; padding: 44px 0; }
  .hero-content h1 { font-size: 1.75rem; margin-bottom: 10px; }
  .hero-content p  { font-size: .9375rem; margin-bottom: 20px; }
  .add-to-cart-row { grid-template-columns: 1fr 2fr; }
  .trust-row { flex-wrap: wrap; gap: 12px; }

  /* Ürün kartı aksiyon butonları — mobilde her zaman görünür */
  .product-card-wish      { opacity: 1; }
  .product-card-qv-btn    { opacity: 1; transform: translateY(0) scale(1); }
  .product-card-quick-add { transform: translateY(0); }

  /* Adet satırı — dar ekranda taşmaması için */
  .add-to-cart-row { grid-template-columns: 1fr 2fr; }
  .qty-input button { width: 38px; height: 44px; }

  /* Cart: sağa kayan animasyon yerine transform (taşma yok) */
  .cart-drawer {
    width: 100%;
    right: 0 !important;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .cart-drawer.open { transform: translateX(0); }

  /* Sticky ATC: mobil alt nav (60px) üzerinde dur */
  .sticky-atc { bottom: 60px; }

  /* iOS input zoom engelle — 16px altı font otomatik zoom yapar */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea { font-size: 16px !important; }
}


@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-body { padding: 10px; }
  .product-card-title { font-size: .8125rem; }
  .price-current { font-size: .9375rem; }
}

/* =========================================================
   SAYFA YÜKLENİYOR (NProgress alternatifi)
   ========================================================= */
#page-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--color-accent);
  z-index: 9999;
  width: 0%;
  transition: width .3s ease;
}

/* =========================================================
   WooCommerce Native Overrides
   ========================================================= */
.woocommerce .woocommerce-message { border-top-color: var(--color-accent); }
.woocommerce-page .woocommerce { padding: 0; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 12px 24px;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: #333; }

/* =========================================================
   YORUM / DEĞERLENDİRME ÖZETİ
   ========================================================= */
.review-summary-box {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.review-avg-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}
.review-big-score {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
}
.star-display { display: flex; gap: 2px; }
.star-display .star { font-size: 1.1rem; color: #d0d0d0; }
.star-display .star.filled { color: #f59e0b; }
.star-display .star.half { color: #f59e0b; } /* simplificado */
.review-avg-block small { font-size: .75rem; color: var(--color-muted); white-space: nowrap; }

.review-bar-block { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; }
.review-bar-label { font-size: .8125rem; font-weight: 600; width: 28px; text-align: right; white-space: nowrap; }
.review-bar-track { flex: 1; height: 8px; background: var(--color-border); border-radius: 99px; overflow: hidden; }
.review-bar-fill { height: 100%; background: #f59e0b; border-radius: 99px; transition: width .4s ease; }
.review-bar-count { font-size: .75rem; color: var(--color-muted); width: 20px; }

@media (max-width: 480px) {
  .review-summary-box { flex-direction: column; gap: 16px; padding: 16px; }
}

/* =========================================================
   KATEGORİ ALT KATEGORİ TİLELERİ
   ========================================================= */
.cat-tiles-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-tiles-strip::-webkit-scrollbar { display: none; }

.cat-tile-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
  min-width: 90px;
  text-align: center;
  transition: transform .18s ease;
}
.cat-tile-chip:hover { transform: translateY(-3px); color: var(--color-accent); }

.cat-tile-chip img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
}
.cat-tile-no-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.cat-tile-chip span {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-tile-chip small {
  font-size: .7rem;
  color: var(--color-muted);
}

/* =========================================================
   MOBİL ALT NAV
   ========================================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
  height: 60px;
  align-items: stretch;
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: .62rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0 8px;
  transition: color .15s;
  position: relative;
}
.mob-nav-item svg { transition: color .15s; }
.mob-nav-item.active,
.mob-nav-item:hover { color: var(--color-accent); }
.mob-nav-item.active svg,
.mob-nav-item:hover svg { stroke: var(--color-accent); }

@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
  /* İçerik mobile nav yüksekliği kadar yukarı çekilmesin diye boşluk */
  #site-footer { padding-bottom: 72px; }
}

/* =========================================================
   BEDEN KILAVUZU MODELİ
   ========================================================= */
.size-guide-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color .15s, color .15s;
}
.size-guide-trigger:hover { border-color: var(--color-primary); color: var(--color-primary); }

.size-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.size-guide-modal[hidden] { display: none; }

@media (min-width: 640px) {
  .size-guide-modal { align-items: center; }
}

.size-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}

.size-guide-inner {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: sgSlideUp .25s ease;
}
@media (min-width: 640px) {
  .size-guide-inner {
    border-radius: var(--radius-lg);
    max-height: 80vh;
  }
}

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

.size-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.size-guide-header h2 { font-size: 1.125rem; font-weight: 800; margin: 0; }
.size-guide-close {
  background: none; border: none; cursor: pointer;
  color: var(--color-muted); padding: 4px; border-radius: 4px;
}
.size-guide-close:hover { color: var(--color-primary); }

.size-guide-body {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
}
.size-guide-body h3 {
  font-size: .9375rem;
  font-weight: 800;
  margin: 0 0 12px;
  padding-top: 20px;
}
.size-guide-body h3:first-child { padding-top: 0; }
.size-guide-body h4 { font-size: .875rem; font-weight: 700; }

.sg-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
  white-space: nowrap;
}
.sg-table th {
  background: var(--color-surface);
  font-weight: 700;
  padding: 10px 14px;
  text-align: center;
  border-bottom: 2px solid var(--color-border);
}
.sg-table td {
  padding: 9px 14px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.sg-table tbody tr:hover { background: var(--color-surface); }
.sg-table td:first-child { font-weight: 600; }

.sg-tip {
  font-size: .8rem;
  color: var(--color-muted);
  margin: 6px 0 20px;
  padding: 10px 14px;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sg-measure-guide {
  margin-top: 24px;
  padding: 18px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
}
.sg-measure-guide h3 { padding-top: 0; margin-bottom: 12px; }
.sg-measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: .8125rem;
}
@media (max-width: 480px) {
  .sg-measure-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   VIDEO BÖLÜMÜ
   ========================================================= */
.hp-video-section { background: var(--color-surface); }
.hp-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.hp-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   ÜRÜN SAYFASI FLASH COUNTDOWN
   ========================================================= */
.product-flash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-flash-icon {
  font-size: 1.1rem;
  animation: flash-pulse 1.4s ease-in-out infinite;
}
.product-flash-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.product-flash-timer {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}
.product-flash-ends {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-left: 2px;
}

/* =========================================================
   FLASH SALE — Tek koyu blok, başlık + sayaç + ürünler
   ========================================================= */
.flash-sale {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
  padding: 32px 0 40px;
}
/* Subtle kırmızı glow sol üst köşe */
.flash-sale::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(230,51,41,.22) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Başlık Satırı ─────────────────────────────────── */
.flash-sale__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.flash-sale__info { flex: 1; min-width: 140px; }

.flash-sale__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  line-height: 1.15;
}
.flash-sale__icon {
  animation: flash-pulse 1.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes flash-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.2); opacity: .7; }
}
.flash-sale__sub {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* Sağ grup: sayaç + buton */
.flash-sale__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Countdown ─────────────────────────────────────── */
.flash-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  padding: 9px 11px;
  min-width: 54px;
}
.countdown-num {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}
.countdown-lbl {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}
.countdown-sep {
  font-size: 1.375rem;
  font-weight: 900;
  color: rgba(230,51,41,.75);
  align-self: flex-start;
  margin-top: 8px;
  line-height: 1;
}

/* ── Buton ─────────────────────────────────────────── */
.flash-sale__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .875rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.flash-sale__btn:hover {
  background: #c42a21;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ── Ürün Grid ─────────────────────────────────────── */
.flash-sale-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}
/* 4 kolon varsayılan */
.flash-sale-grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]) {
  grid-template-columns: repeat(4, 1fr);
}
.flash-sale-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.flash-sale-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }
.flash-sale-grid[data-count="1"] { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

/* ── Ürün Kartı — Koyu Arka Plan ───────────────────── */
.flash-sale .product-card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.11);
  transition: background .2s, border-color .2s, transform .2s;
}
.flash-sale .product-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-3px);
}
.flash-sale .product-card-brand  { color: rgba(255,255,255,.5); }
.flash-sale .product-card-title  { color: var(--color-white); }
.flash-sale .price-now           { color: var(--color-white); }
.flash-sale .price-was           { color: rgba(255,255,255,.4); }
.flash-sale .price-pct           { background: var(--color-accent); color: #fff; }
.flash-sale .product-card-wish svg { stroke: rgba(255,255,255,.5); }
.flash-sale .product-card-wish:hover svg { stroke: #fff; }

/* ── Tablet (≤860px) ────────────────────────────────── */
@media (max-width: 860px) {
  .flash-sale__head { gap: 14px; }
  .flash-sale__right { width: 100%; justify-content: space-between; }
  .flash-sale-grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]),
  .flash-sale-grid[data-count="3"] {
    grid-template-columns: repeat(2, 1fr);
  }
  .countdown-unit { min-width: 50px; padding: 7px 9px; }
  .countdown-num  { font-size: 1.375rem; }
}

/* ── Mobil (≤560px) ─────────────────────────────────── */
@media (max-width: 560px) {
  .flash-sale { padding: 24px 0 32px; }
  .flash-sale__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .flash-sale__title { font-size: 1.25rem; }
  .flash-sale__right { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .flash-countdown { justify-content: center; gap: 5px; }
  .countdown-unit { min-width: 56px; padding: 8px 10px; flex: 1; }
  .countdown-num  { font-size: 1.5rem; }
  .flash-sale__btn { display: block; text-align: center; padding: 12px; }
  .flash-sale-grid[data-count="1"] { max-width: 100%; }
  .flash-sale-grid[data-count="2"] { max-width: 100%; }
}

/* =========================================================
   HIZLI BAK BUTONU (Ürün Kartı)
   ========================================================= */
.product-card-qv-btn {
  position: absolute;
  top: 8px; right: 50px;   /* Kalp butonu right:8px (36px) — göz ikonu solunda */
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px) scale(.9);
  transition: opacity .2s, transform .2s, background .15s;
  z-index: 3;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.product-card:hover .product-card-qv-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.product-card-qv-btn:hover { background: #fff; }
.product-card-qv-btn svg { stroke: var(--color-text); transition: stroke .15s; }
.product-card-qv-btn:hover svg { stroke: var(--color-accent); }

.product-card-quick-add--view {
  background: rgba(10,10,10,.8);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.product-card-quick-add--view:hover { background: var(--color-accent); }

/* =========================================================
   HIZLI BAK MODAL
   ========================================================= */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.qv-overlay[hidden] { display: none !important; }

.qv-modal {
  background: var(--color-white);
  border-radius: 14px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: qvIn .22s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
@keyframes qvIn {
  from { opacity: 0; transform: scale(.97) translateY(8px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.qv-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background .15s;
}
.qv-close:hover { background: var(--color-border); }

/* Loading */
.qv-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
}
.qv-spinner {
  display: block;
  width: 36px; height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

/* İç yapı: 2 kolon */
.qv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Galeri */
.qv-gallery {
  padding: 24px;
  border-right: 1px solid var(--color-border);
}
#qv-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: opacity .2s;
}
.qv-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.qv-thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.qv-thumb.active,
.qv-thumb:hover { border-color: var(--color-accent); }

/* Bilgi paneli */
.qv-info {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qv-brand {
  font-size: .8rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.qv-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}
.qv-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qv-price-now { font-size: 1.375rem; font-weight: 900; }
.qv-price-was {
  font-size: .9375rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.qv-price-pct {
  background: var(--color-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.qv-desc {
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.qv-variant { /* reuses existing variant-section styles */ }

.qv-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.qv-qty { flex-shrink: 0; } /* reuses .qty-input */
.qv-add-btn {
  flex: 1;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s;
}
.qv-add-btn:hover:not(:disabled) { background: #c42a21; }
.qv-add-btn:disabled { background: #c0c0c0; cursor: not-allowed; }
.qv-add-btn.loading { opacity: .7; cursor: wait; }

.qv-product-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}
.qv-product-link:hover { text-decoration: underline; }

/* Mobil: bottom sheet */
@media (max-width: 640px) {
  .qv-overlay { padding: 0; align-items: flex-end; }
  .qv-modal {
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
    animation: qvUp .25s ease;
  }
  @keyframes qvUp {
    from { transform: translateY(48px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .qv-inner { grid-template-columns: 1fr; }
  .qv-gallery {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
  }
  #qv-main-img { max-height: 240px; width: auto; margin: 0 auto; aspect-ratio: auto; }
  .qv-info { padding: 20px; }
  .qv-title { font-size: 1rem; }
}

/* =========================================================
   YAZDIRMA
   ========================================================= */
@media print {
  #site-header, #mega-menu-bar, #site-footer, .cart-drawer, #toast-container { display: none; }
}
