/* ============================================================
   FutCards Vitrin — 2026 tasarım dili
   Antrasit & Pudra: füme mürekkep, pudra gülü vurgu,
   sıcak kırık-beyaz zemin, minimal-lüks e-ticaret
   ============================================================ */

:root {
  --bg: #F4F2F0;
  --surface: #FFFFFF;
  --ink: #1E1E22;
  --ink-2: #78757E;
  --line: #E9E5E3;
  --brand: #26262B;
  --brand-dark: #0E0E11;
  --brand-soft: #F2E8E6;
  --amber: #B27C74;
  --amber-soft: #F4E7E4;
  --gold: #BC8079;
  --rose: #BC8079;
  --rose-soft: #F4E7E4;
  --star: #E0A63A;
  --red: #C0402E;
  --red-soft: #F8E7E2;
  --dark: #18181C;
  --radius: 16px;
  --radius-sm: 11px;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(24, 24, 28, 0.05);
  --shadow-md: 0 12px 30px -14px rgba(24, 24, 28, 0.2);
  --shadow-lg: 0 26px 60px -26px rgba(24, 24, 28, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(24, 24, 28, 0.5);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(24, 24, 28, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-amber {
  background: linear-gradient(135deg, #C68C84, var(--amber));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(178, 124, 116, 0.5);
}
.btn-amber:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-disabled { background: var(--line); color: var(--ink-2); cursor: not-allowed; }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Rozetler & çipler ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-discount { background: var(--ink); color: #fff; }
.badge-wholesale { background: var(--amber-soft); color: var(--amber); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-amber.chip-active { background: var(--amber); border-color: var(--amber); }

/* ---------- Duyuru & üst menü ---------- */

.announce {
  background: var(--dark);
  color: #EBD8D2;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 9px 20px;
}
.announce b { color: var(--rose); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(24, 24, 28, 0.5); }

/* Ana satır: logo · arama · aksiyonlar */
.header-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: 4px; }

.brand-mark {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: linear-gradient(135deg, #3A3A42 0%, var(--brand) 50%, #050506 100%);
  box-shadow: 0 2px 6px rgba(24, 24, 28, 0.28), inset 0 0 0 1px rgba(188, 128, 121, 0.35);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Belirgin arama çubuğu (ana satırın ortası) */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.header-search:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft); }
.header-search svg { width: 17px; height: 17px; color: var(--ink-2); flex-shrink: 0; }
.header-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  width: 100%;
  color: var(--ink);
}

/* Sağ aksiyonlar: hesap + sepet */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.18s ease;
}
.icon-link:hover { background: var(--brand-soft); }
.icon-link svg { width: 22px; height: 22px; stroke-width: 1.7; }
.icon-link .il-text { display: flex; flex-direction: column; line-height: 1.15; }
.icon-link .il-top { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.icon-link .il-bot { font-size: 13.5px; font-weight: 700; }
.icon-link.active .il-bot { color: var(--rose); }

.cart-badge {
  position: absolute;
  top: 2px;
  left: 26px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}
.cart-badge-user { background: var(--brand); }

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px;
  color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; display: block; }

/* Kategori çubuğu (ana satırın altında) */
.cat-bar { border-top: 1px solid var(--line); background: rgba(255,255,255,0.6); }
.cat-bar-in {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-bar-in::-webkit-scrollbar { display: none; }
.cat-bar-in a {
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.cat-bar-in a:hover { color: var(--ink); background: var(--brand-soft); }
.cat-bar-in a.active { color: var(--ink); font-weight: 600; }
.cat-bar-in a.cat-all { color: var(--rose); font-weight: 600; }
.cat-sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; flex-shrink: 0; }

/* ---------- Bildirim şeritleri ---------- */

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.flash a { font-weight: 700; white-space: nowrap; }
.flash-success { background: var(--brand-soft); color: var(--brand-dark); }
.flash-success a { color: var(--brand-dark); }
.flash-error { background: var(--red-soft); color: var(--red); }
.flash-info { background: var(--amber-soft); color: var(--amber); }

/* ---------- Hero ---------- */

.hero { overflow: hidden; }

.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 80px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-row {
  display: flex;
  gap: 34px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.45;
}
.trust-item svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }

.hero-visual {
  position: relative;
  height: 520px;
}

.hero-blob {
  position: absolute;
  inset: 8% 2%;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(188, 128, 121, 0.22), transparent),
    radial-gradient(closest-side at 75% 70%, rgba(38, 38, 43, 0.12), transparent);
  border-radius: 50%;
  filter: blur(6px);
}

/* Zarif süsleme: bölüm başlıklarının yanında altın yıldız */
.section-title em::after,
.page-title em::after {
  content: ' ✦';
  font-style: normal;
  font-size: 0.45em;
  color: var(--gold);
  vertical-align: 0.5em;
  letter-spacing: 0;
}

.hero-card {
  position: absolute;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}
.hero-card-label {
  display: block;
  padding: 10px 6px 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card:hover { transform: translateY(-6px) rotate(0deg) !important; box-shadow: var(--shadow-lg); z-index: 5; }

.hero-card-1 { top: 2%; left: 6%; transform: rotate(-5deg); z-index: 3; }
.hero-card-2 { top: 18%; right: 2%; transform: rotate(4deg); z-index: 2; width: 220px; }
.hero-card-3 { bottom: 0; left: 26%; transform: rotate(-2deg); z-index: 1; width: 210px; }

/* ---------- Bölümler ---------- */

.section { padding: 44px 0; }
.section-tight { padding: 20px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-title em, .page-title em, .hero-title em {
  font-style: italic;
  color: var(--rose);
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.section-link:hover { color: var(--brand); }

/* ---------- Ürün kartları ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176, 138, 46, 0.45);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.045); }

.card-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #EDE9E0, #DDD6C8);
}
.card-noimg span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  color: rgba(27, 25, 21, 0.22);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.card-soldout {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 240, 0.55);
  backdrop-filter: blur(1.5px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-soldout span {
  background: var(--ink);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.card-body { padding: 16px 18px 20px; }

.card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.card-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.card-price s { color: var(--ink-2); font-size: 13.5px; }
.card-price strong { font-size: 16.5px; font-weight: 700; }

/* Fiyatlar hiçbir zaman satır ortasından bölünmesin ("189,90 / ₺" gibi) */
.card-price strong, .card-price s,
.product-price strong, .product-price s,
.wholesale-price strong,
.summary-row strong, .summary-total strong,
.cart-line-total, .cart-unit, .payment-meta strong,
.card-wholesale-info strong { white-space: nowrap; }

.card-wrap { display: flex; flex-direction: column; gap: 10px; }
.card-wholesale-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--amber-soft);
  color: var(--amber);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
}
.card-wholesale-info strong { font-weight: 700; }

/* ---------- Sayfa başlıkları ---------- */

.page-head { padding: 56px 0 8px; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.page-sub { color: var(--ink-2); font-size: 16px; }

/* ---------- Filtre çubuğu ---------- */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-chips { display: flex; gap: 9px; flex-wrap: wrap; }

.sort-form select {
  appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E675C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 42px 10px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  outline: 0;
  cursor: pointer;
}

.cat-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cat-strip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-right: 8px;
}

/* ---------- Ürün detay ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-current { color: var(--ink); font-weight: 500; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
/* Grid/flex kolonlarının uzun içerik yüzünden taşmasını önler */
.product-layout > *, .cart-grid > *, .checkout-grid > *, .cart-info { min-width: 0; }

.gallery { position: sticky; top: 96px; }

.gallery-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.gallery-noimg { aspect-ratio: 4 / 5; }

.gallery-thumbs { display: flex; gap: 11px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: 13px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--surface);
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--brand); opacity: 1; }

.product-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 6px 0 18px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.product-price s { color: var(--ink-2); font-size: 18px; }
.product-price strong { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }

.stock { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.stock-in { background: var(--brand-soft); color: var(--brand); }
.stock-out { background: var(--red-soft); color: var(--red); }

.product-desc {
  color: var(--ink-2);
  font-size: 15.5px;
  white-space: pre-line;
  margin-bottom: 30px;
  max-width: 56ch;
}

.product-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 26px; }

/* ---------- Kişiye özel ürün ---------- */

.custom-pill { background: var(--brand-soft); color: var(--brand-dark); }

.custom-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.custom-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.custom-fee {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.custom-note { font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.custom-box .field { margin-bottom: 12px; }
.custom-box .field:last-child { margin-bottom: 2px; }

.cart-custom { font-size: 13px; color: var(--brand-dark); margin-bottom: 3px; }
.cart-custom strong { font-weight: 600; }
.cart-fee-note { font-size: 12px; color: var(--ink-2); }
.order-hint { font-size: 13.5px; color: var(--ink-2); margin-bottom: 24px; }

.wholesale-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.wholesale-head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.wholesale-min { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.wholesale-price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 9px; }
.wholesale-price strong { font-size: 22px; font-weight: 700; }
.wholesale-price span { font-size: 13.5px; color: var(--ink-2); }
.wholesale-note { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.wholesale-box .btn { margin-top: 4px; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.tag:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- Satın alma & adet ---------- */

.buy-row { display: flex; gap: 13px; margin-bottom: 16px; flex-wrap: wrap; }
.btn-grow { flex: 1; min-width: 200px; }

.qty-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.qty-input input {
  width: 52px;
  border: 0;
  outline: 0;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-input input::-webkit-outer-spin-button,
.qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-btn {
  width: 42px;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease, background 0.15s ease;
}
.qty-btn:hover { color: var(--ink); background: rgba(27, 25, 21, 0.04); }

/* ---------- Sepet sayfası ---------- */

.cart-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.cart-items {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
}

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-of-type { border-bottom: 0; }

.cart-thumb {
  width: 84px;
  height: 84px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .card-noimg span { font-size: 30px; }

.cart-title { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.cart-title:hover { color: var(--brand); }
.cart-unit { font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }

.cart-remove button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-remove button:hover { color: var(--red); }

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}
.cart-qty .qty-btn { height: 40px; width: 38px; font-size: 17px; }
.qty-val { min-width: 34px; text-align: center; font-weight: 700; font-size: 14.5px; }

.cart-line-total { font-weight: 700; font-size: 16px; min-width: 92px; text-align: right; }

.cart-continue {
  display: inline-block;
  margin: 16px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.cart-continue:hover { color: var(--brand); }

/* ---------- Özet kutusu ---------- */

.summary-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 96px;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 18px;
}

.ship-progress {
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--brand-dark);
}
.ship-progress-text { margin-bottom: 9px; }
.ship-progress-text strong { font-weight: 700; white-space: nowrap; }
.ship-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(47, 62, 143, 0.15);
  overflow: hidden;
}
.ship-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: width 0.4s ease;
}
.ship-done { text-align: center; font-weight: 600; }
.ship-free { color: var(--brand); }

.summary-items { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  padding: 7px 0;
}
.summary-item:last-child { padding-bottom: 14px; }
.summary-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg);
}
.summary-thumb-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}
.summary-item-name { color: var(--ink-2); flex: 1; min-width: 0; }
.summary-item-name em { font-style: normal; font-weight: 700; color: var(--ink); }
.summary-item-price { white-space: nowrap; font-weight: 600; color: var(--ink); }

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14.5px;
  padding: 7px 0;
  color: var(--ink-2);
}
.summary-row strong { color: var(--ink); font-weight: 600; }

.summary-discount { color: var(--brand); }
.summary-discount strong { color: var(--brand); }
.summary-discount code {
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12.5px;
  font-weight: 700;
}
.coupon-remove { display: inline-block; }
.coupon-remove button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  padding: 0 4px;
  line-height: 1;
  vertical-align: middle;
}

.coupon-form {
  display: flex;
  gap: 9px;
  padding: 10px 0;
}
.coupon-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: 0;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.coupon-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: var(--surface); }
.coupon-form .btn { padding: 11px 20px; font-size: 13.5px; }

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.summary-total strong { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }

.summary-box .btn-block { width: 100%; margin-top: 4px; }

.summary-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-2);
}
.summary-secure svg { width: 15px; height: 15px; color: var(--brand); }

/* ---------- Ödeme sayfaları ---------- */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel-lite {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.panel-lite-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 20px;
}

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field > span em { color: var(--red); font-style: normal; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; }
.field select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E675C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding: 12px 42px 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:disabled { opacity: 0.6; cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Onay kutusu (vitrin formları) */
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 6px 0 2px; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid #CFC8BA;
  background: var(--surface);
  flex-shrink: 0;
  position: relative;
  transition: all 0.18s ease;
  margin-top: 1px;
}
.check input:checked + .check-box { background: var(--brand); border-color: var(--brand); }
.check input:checked + .check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.check-label { font-size: 14px; font-weight: 500; line-height: 1.4; }
.check-label small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }

.guest-note { font-size: 13px; color: var(--ink-2); }
.guest-note a { color: var(--brand); font-weight: 600; }

/* ---------- Üyelik sayfaları ---------- */

.auth-wrap { display: flex; justify-content: center; }
.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
}
.auth-title em { font-style: italic; color: var(--brand); }
.auth-sub { color: var(--ink-2); font-size: 14.5px; margin-bottom: 24px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 20px; }
.auth-alt a { color: var(--brand); font-weight: 600; }

.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.order-list { display: flex; flex-direction: column; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.order-row:last-child { border-bottom: 0; }
.order-row-main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-row-side { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-date { font-size: 13px; color: var(--ink-2); }
.order-empty { color: var(--ink-2); font-size: 14.5px; }
.order-empty a { color: var(--brand); font-weight: 600; }
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.pill-green { background: var(--brand-soft); color: var(--brand); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-gray { background: #EEEBE4; color: var(--ink-2); }

/* ---------- Ödeme kapısı ---------- */

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.gate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gate-card-featured { border-color: var(--brand); border-width: 2px; }
.gate-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.gate-icon svg { width: 24px; height: 24px; }
.gate-card h3 { font-size: 18px; }
.gate-card p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.gate-cta { font-size: 14px; font-weight: 700; color: var(--brand); }

.cart-badge-user {
  background: var(--brand);
  font-size: 8px;
  min-width: 12px;
  height: 12px;
  padding: 0;
  top: 0;
  right: 1px;
}

.container-narrow { max-width: 760px; margin-inline: auto; }

.payment-head { margin-bottom: 24px; }
.payment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  flex-wrap: wrap;
}
.payment-meta code { background: var(--bg); border-radius: 6px; padding: 2px 9px; font-weight: 700; }
.payment-meta strong { font-size: 19px; }

.payment-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.payment-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.result-box { padding: 72px 32px; }
.result-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.result-icon svg { width: 34px; height: 34px; }
.result-ok { background: var(--brand-soft); color: var(--brand); }
.result-fail { background: var(--red-soft); color: var(--red); }
.order-code {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 12px;
  font-weight: 700;
  font-size: 15px;
}

/* ============================================================
   Ürün Detay Sayfası (Amazon tarzı üç kolon)
   ============================================================ */

.pdp { padding: 22px 0 60px; }
.pdp .breadcrumb { margin-bottom: 18px; }

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}
.pdp-grid > * { min-width: 0; }

/* --- Galeri --- */
.pdp-gallery { display: flex; gap: 12px; position: sticky; top: 130px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.pdp-thumb {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { border-color: var(--rose); }
.pdp-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.pdp-main-img {
  position: relative;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pdp-main-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pdp-main-img .card-noimg { aspect-ratio: 1 / 1; }
.pdp-disc { position: absolute; top: 12px; left: 12px; }

/* --- Orta kolon: bilgiler --- */
.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.pdp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pdp-rating { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; }
.pdp-rating strong { font-weight: 700; }
.pdp-rating-count { color: var(--ink-2); }
.pdp-rating:hover .pdp-rating-count { color: var(--rose); text-decoration: underline; }
.pdp-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.pdp-cat:hover { border-color: var(--ink); color: var(--ink); }

.pdp-price-row { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; margin: 16px 0 4px; }
.pdp-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.pdp-old { font-size: 17px; color: var(--ink-2); text-decoration: line-through; white-space: nowrap; }
.pdp-save {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  padding: 3px 9px;
}
.pdp-tax { font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }

.pdp-section { padding-top: 22px; margin-top: 20px; border-top: 1px solid var(--line); }
.pdp-h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.pdp-h2-lg { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.pdp-lead { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.pdp-bullets { margin: 0; padding-left: 20px; }
.pdp-bullets li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 7px; }

.pdp-specs { width: 100%; border-collapse: collapse; }
.pdp-specs tr { border-bottom: 1px solid var(--line); }
.pdp-specs tr:last-child { border-bottom: 0; }
.pdp-specs th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  padding: 10px 14px;
  width: 42%;
  border-radius: 6px 0 0 6px;
}
.pdp-specs td { font-size: 13.5px; padding: 10px 14px; }
.pdp .tag-row { margin-top: 22px; }

/* --- Sağ kolon: satın alma kutusu --- */
.pdp-buybox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 130px;
  box-shadow: var(--shadow-sm);
}
.buybox-price { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.buybox-note-sm { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.buybox-ship {
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin: 15px 0;
  font-size: 13px;
  line-height: 1.5;
}
.ship-head { font-size: 14px; margin-bottom: 5px; }
.ship-head strong { color: var(--brand-dark); }
.ship-line { color: var(--ink-2); }
.ship-timer {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(38, 38, 43, 0.18);
  font-size: 13px;
  color: var(--ink-2);
}
.ship-timer strong { color: var(--rose); font-weight: 700; white-space: nowrap; }

.buybox-stock { margin: 14px 0; font-size: 15px; font-weight: 600; }
.stock-in-text { color: #14804A; }
.stock-out-text { color: var(--red); }

.buybox-qty { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.buybox-qty > span { font-size: 13.5px; font-weight: 600; }
.buybox-qty select {
  flex: 1;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378757E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 10px 38px 10px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: 0;
  cursor: pointer;
}
.buybox-qty select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.buybox-btn { margin-bottom: 6px; }
.buybox-wa { margin-top: 10px; font-size: 13.5px; padding: 11px 18px; }
.pdp-buybox .custom-box { margin: 0 0 14px; padding: 15px 16px; }

.buybox-trust { list-style: none; margin: 16px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); }
.buybox-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 5px 0;
}
.buybox-trust svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
.buybox-trust a { color: var(--rose); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.buybox-wholesale { margin: 16px 0 0; padding: 16px; }
.buybox-wholesale .wholesale-price strong { font-size: 19px; }

/* --- Değerlendirme ve benzer ürünler bölümleri --- */
.pdp-reviews, .pdp-related { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 4px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.review-avg { text-align: center; }
.review-avg strong { display: block; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.review-avg .stars { margin: 6px 0 3px; }
.review-avg-count { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.review-bars { display: grid; gap: 5px; }
.review-bar-row { display: grid; grid-template-columns: 62px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.rb-track { height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.rb-fill { display: block; height: 100%; background: var(--star); border-radius: 999px; }
.rb-pct { text-align: right; }
.review-privacy { font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.review-privacy strong { color: var(--ink); }

/* ---------- Yıldızlar & değerlendirmeler ---------- */

.stars { display: inline-flex; gap: 1px; }
.star { color: #DAD5C6; font-size: 16px; line-height: 1; }
.star-on { color: var(--star); }
.stars-sm .star { font-size: 13px; }

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  font-size: 14px;
}
.rating-line strong { font-weight: 700; }
.rating-count { color: var(--ink-2); font-size: 13px; }
.rating-line:hover .rating-count { color: var(--brand); }

.card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--ink-2);
  margin: -4px 0 8px;
}
.card-rating .star { font-size: 13px; }
.card-rating strong { color: var(--ink); }

.review-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.review-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 26px;
}
.review-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 13px; margin-bottom: 9px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14.5px; }
.review-anon {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 5px;
}
.review-date { margin-left: auto; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.review-text { font-size: 14.5px; color: var(--ink-2); white-space: pre-line; }
.review-empty { padding: 26px 0; color: var(--ink-2); font-size: 14.5px; }
.review-delete {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.review-form-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.review-form-box h3 { font-size: 17px; margin-bottom: 14px; }
.review-note { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 3px;
  margin-bottom: 16px;
}
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label {
  font-size: 34px;
  line-height: 1;
  color: #DAD5C6;
  cursor: pointer;
  transition: color 0.12s ease, transform 0.12s ease;
}
.star-input label:hover { transform: scale(1.12); }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--star); }

/* ---------- Kargo firması seçimi ---------- */

.cargo-pick { display: grid; gap: 9px; }
.cargo-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px !important;
  height: 1px;
  padding: 0 !important;
  border: 0 !important;
}
.cargo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 13px 17px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cargo-option:hover .cargo-box { border-color: var(--brand); }
.cargo-option input:checked + .cargo-box {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(47, 62, 143, 0.12);
}
.cargo-logo {
  width: 92px;
  height: 34px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 9px;
  flex-shrink: 0;
}
.cargo-name { font-size: 13.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cargo-fee { font-size: 14px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* Dar ekranda firma adını logo temsil eder */
@media (max-width: 520px) {
  .cargo-name { display: none; }
  .cargo-box { justify-content: space-between; }
}

/* ---------- Yasal sayfalar ---------- */

.legal-wrap { max-width: 760px; }
.legal-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 26px 0 10px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.legal-body strong { color: var(--ink); }
.legal-body ol, .legal-body ul { margin: 0 0 12px; padding-left: 22px; }
.legal-body a { color: var(--brand); font-weight: 600; }
.legal-note {
  margin-top: 20px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.req-star { color: var(--red); font-style: normal; }
.check-label a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Toptan sayfası ---------- */

.wholesale-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  text-align: center;
}

.wholesale-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
  text-align: left;
}

.wstep-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 14px;
}
.wstep h3 { font-size: 16.5px; margin-bottom: 8px; }
.wstep p { font-size: 14px; color: var(--ink-2); }

/* ---------- İletişim ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 18px;
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-icon-wa { background: var(--brand-soft); color: var(--brand); }
.contact-icon-ig { background: #F6E6EF; color: #A0326E; }
.contact-icon-mail { background: #E5EBF4; color: #33547E; }

.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- Bant / CTA ---------- */

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(640px 320px at 92% 8%, rgba(176, 138, 46, 0.28), transparent),
    linear-gradient(120deg, var(--dark) 0%, #222B52 100%);
  color: #fff;
  border-radius: 24px;
  padding: 44px 48px;
  flex-wrap: wrap;
}
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  margin-bottom: 10px;
}
.banner-sub { color: rgba(255, 255, 255, 0.66); font-size: 15px; max-width: 52ch; }

/* ---------- Boş durum ---------- */

.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-icon { font-size: 40px; margin-bottom: 16px; }
.empty-state h3, .empty-state h1 { font-size: 19px; font-weight: 600; margin: 0 0 9px; }
.empty-state p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 22px; }

/* ---------- Alt bilgi ---------- */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 64px;
}

.footer-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding: 64px 0 44px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.footer-tagline { color: rgba(255, 255, 255, 0.55); font-size: 14.5px; max-width: 34ch; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-muted { color: rgba(255, 255, 255, 0.4); font-size: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- "Üye Ol, Kazan" penceresi ---------- */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 18, 14, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay[hidden] { display: none; }
body.popup-open { overflow: hidden; }

.popup-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 26px;
  padding: 40px 34px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popupIn 0.35s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.popup-close svg { width: 15px; height: 15px; }
.popup-close:hover { color: var(--ink); border-color: var(--ink); }

.popup-gift {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.popup-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}
.popup-title em { font-style: italic; color: var(--brand); }

.popup-sub { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.popup-sub strong { color: var(--brand-dark); }

.popup-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 2px dashed var(--brand);
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 14px 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.popup-code svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }
.popup-code:hover { background: #DDE2F5; }
.popup-code.copied { background: var(--brand); color: #fff; border-style: solid; }

.popup-later {
  margin-top: 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.popup-later:hover { color: var(--ink); }

/* ---------- Görünüm animasyonu ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Duyarlı tasarım ---------- */

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero-visual { height: 420px; max-width: 560px; }
  .header-search { max-width: 380px; }
}

@media (max-width: 1180px) {
  /* Buy box orta kolonun altına iner */
  .pdp-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .pdp-buybox { grid-column: 1 / -1; position: static; max-width: 460px; }
}

@media (max-width: 980px) {
  .cart-grid, .checkout-grid, .review-layout { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .pdp-buybox { max-width: none; }
  .review-summary { grid-template-columns: 1fr; gap: 18px; }
  .summary-box, .review-form-box { position: static; }
  .gate-grid { grid-template-columns: 1fr; }
  .legal-body { padding: 26px 22px; }
}

@media (max-width: 860px) {
  .container { width: min(1200px, 100% - 36px); }
  .header-in { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px 10px; }
  .brand { margin-right: auto; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; padding: 10px 16px; }
  .header-actions { margin-left: 0; }
  .icon-link .il-text { display: none; }
  .icon-link { padding: 9px; }
  .icon-link svg { width: 24px; height: 24px; }
  .cart-badge { left: 28px; }
  .cart-row { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; }
  .cart-thumb { width: 64px; height: 64px; grid-row: span 2; }
  .cart-qty { justify-self: start; }
  .cart-line-total { grid-column: 2; text-align: left; min-width: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; }
  .wholesale-steps { grid-template-columns: 1fr; gap: 26px; }
  .wholesale-hero { padding: 32px 24px; }
  .banner { padding: 34px 28px; }
  .footer-in { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 36px; }
  .trust-row { gap: 22px; }
  .hero-visual { height: 360px; }
  .hero-card { width: 190px; }
  .hero-card-2 { width: 175px; }
  .hero-card-3 { width: 165px; }
}

@media (max-width: 620px) {
  /* Küçük görseller yatay şeride döner */
  .pdp-gallery { flex-direction: column-reverse; }
  .pdp-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
  .pdp-thumb { width: 52px; height: 52px; flex-shrink: 0; }
  .pdp-buybox { padding: 18px; }
  .pdp-price { font-size: 27px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-name { font-size: 20px; }
  .header-in { gap: 9px; }
  .auth-card { padding: 30px 22px; }
  .card-body { padding: 12px 14px 16px; }
  .card-title { font-size: 14px; }
  .hero-cta .btn { width: 100%; }
  .product-actions .btn { width: 100%; }
  .section { padding: 32px 0; }
}

/* ---------- Özel logo ---------- */

.brand-logo {
  display: block;
  height: 42px;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 12px;
}
.footer-logo-chip img { display: block; height: 40px; max-width: 200px; object-fit: contain; }
@media (max-width: 860px) {
  .brand-logo { height: 36px; max-width: 160px; }
}

/* ==== Varyant seçici (ürün sayfası) ==== */
.variant-box { margin: 0 0 16px; }
.variant-title { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.variant-title em { color: var(--red); font-style: normal; }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip { position: relative; }
.variant-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-chip .vc-box {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.variant-chip:hover .vc-box { border-color: var(--brand); }
.variant-chip input:checked + .vc-box { border-color: var(--brand); background: var(--brand); color: #fff; }
.variant-chip input:focus-visible + .vc-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.vc-diff { font-size: 11.5px; color: var(--ink-2); }
.variant-chip input:checked + .vc-box .vc-diff { color: rgba(255, 255, 255, 0.75); }
.variant-chip.vc-out .vc-box { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }
.variant-chip.vc-out:hover .vc-box { border-color: var(--line); }
.stock-low-text { display: inline-block; margin-left: 10px; color: #B4651E; font-size: 12.5px; font-weight: 700; }

/* ==== Ödeme: fatura tipi ==== */
.bill-type { display: flex; gap: 8px; margin: 0 0 14px; }
.bill-opt { flex: 1; position: relative; }
.bill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bill-opt span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.bill-opt input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.bill-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ==== Ödeme: sözleşme onayı ==== */
.agree-check { margin: 2px 0 12px; }
.agree-check .check-label { font-size: 12.5px; line-height: 1.55; }
.agree-check .check-label a { color: var(--rose); font-weight: 600; text-decoration: underline; }
.agree-check .check-label em { color: var(--red); font-style: normal; }
.sum-variant { color: var(--ink-2); font-size: 11.5px; font-weight: 500; }

/* ==== Altbilgi: bülten kutusu ==== */
.footer-news { margin-top: 22px; max-width: 360px; }
.footer-news h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); margin-bottom: 10px;
}
.footer-news-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 12px; }
.footer-news-form { display: flex; gap: 8px; }
.footer-news-form input[type="email"] {
  flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); padding: 11px 16px; font-family: inherit;
  font-size: 13.5px; color: #fff; outline: 0; transition: border-color 0.2s ease, background 0.2s ease;
}
.footer-news-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-news-form input[type="email"]:focus { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); }
.footer-news-form .btn { padding: 11px 20px; background: #fff; color: var(--ink); border-color: #fff; }
.footer-news-form .btn:hover { background: rgba(255, 255, 255, 0.85); }
.footer-news-msg { margin-top: 10px; font-size: 13px; font-weight: 600; }
.footer-news-msg.is-ok { color: #8FD4A8; }
.footer-news-msg.is-err { color: #E89B8A; }

/* ==== Giriş: şifremi unuttum ==== */
.auth-forgot { text-align: right; margin: -6px 0 14px; }
.auth-forgot a { font-size: 13px; color: var(--ink-2); text-decoration: underline; }
.auth-forgot a:hover { color: var(--ink); }

/* ==== Sipariş sorgulama ==== */
.lookup-card { max-width: 640px; margin: 0 auto; }
.lookup-result {
  max-width: 640px; margin: 22px auto 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.lookup-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lookup-head .order-date { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.lookup-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lookup-steps {
  display: flex; justify-content: space-between; gap: 4px;
  margin: 0 0 18px; padding: 14px 6px; border-block: 1px dashed var(--line);
}
.lstep { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); flex: 1; text-align: center; }
.lstep-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.lstep.done { color: var(--ink); }
.lstep.done .lstep-dot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.lookup-items { margin-bottom: 12px; }
.lookup-note { font-size: 12.5px; color: var(--ink-2); margin: 12px 0 0; }
.lookup-result .btn { margin-top: 14px; }
.lookup-tip {
  font-size: 13px; color: var(--ink-2); background: var(--brand-soft);
  border-radius: var(--radius-sm); padding: 11px 15px; margin: 4px 0 16px; line-height: 1.55;
}
.lookup-tip a { color: var(--rose); font-weight: 700; text-decoration: underline; }
@media (max-width: 480px) {
  .lookup-result { padding: 18px 16px; }
  .lstep { font-size: 10.5px; }
}

/* ---------- Hesap açılır menüsü (üye girişliyken sağ üstte) ---------- */

.account-menu-wrap { position: relative; }

.account-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 140;
}

.account-menu a,
.account-menu .account-menu-cikis {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.account-menu a:hover,
.account-menu .account-menu-cikis:hover { background: var(--brand-soft); }

.account-menu form {
  margin: 4px 0 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.account-menu .account-menu-cikis { color: var(--red); }
