/* CENTER GSM klon — tasarım sistemi (orijinal siteden ölçülen değerler) */

:root {
  --bg: #f3f6fb;
  --fg: #09090b;
  --muted: #71717a;
  --muted-light: #a1a1aa;
  --border: rgba(228, 228, 231, .8);
  --border-strong: #d4d4d8;
  --primary: #e41111;
  --primary-dark: #c00d0d;
  --primary-soft: #fef2f2;
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ecfdf5;
  --amber: #f59e0b;
  --surface: #ffffff;
  --surface-subtle: #f4f4f5;
  --surface-muted: #e4e4e7;
  --radius-card: 16px;
  --radius-premium: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(9,9,11,.08);
  --shadow-lg: 0 12px 32px rgba(9,9,11,.14);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--fg); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; }

.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.icon { width: 1.25rem; height: 1.25rem; }
.icon.size-4 { width: 1rem; height: 1rem; }
.icon.size-5 { width: 1.25rem; height: 1.25rem; }
.icon.size-6 { width: 1.5rem; height: 1.5rem; }
.icon.size-3 { width: .8rem; height: .8rem; }

/* ============ BUTONLAR ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px; font-size: 14px; font-weight: 600;
  padding: .72rem 1.5rem; transition: all .2s var(--ease);
  white-space: nowrap; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--fg); color: #fff; }
.btn-dark:hover { background: #27272a; }
.btn-outline { background: #fff; border: 1px solid var(--border-strong); color: var(--fg); }
.btn-outline:hover { border-color: var(--fg); background: var(--surface-subtle); }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: var(--emerald-dark); }
.btn-sm { padding: .5rem 1rem; font-size: 13px; }
.btn-lg { padding: .9rem 2rem; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 9999px; color: #3f3f46; background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
}
.icon-btn:hover { transform: scale(1.05); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.95); }
.icon-btn.active { color: var(--primary); background: var(--primary-soft); border-color: #fecaca; }

/* ============ ROZETLER ============ */
.badge { display: inline-flex; align-items: center; border-radius: 9999px; padding: .28rem .65rem; font-size: 11px; font-weight: 700; line-height: 1; }
.badge-discount { background: var(--primary-soft); color: var(--primary); }
.badge-stock { background: var(--emerald-soft); color: var(--emerald-dark); font-size: 10px; }
.badge-out { background: #fef2f2; color: #b91c1c; font-size: 10px; }
.badge-limited { background: var(--emerald); color: #fff; font-size: 10px; font-weight: 900; box-shadow: var(--shadow-md); }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }

.campaign-bar {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
  background: var(--emerald); color: #fff; padding: .5rem .75rem;
  font-size: 10px; font-weight: 700; line-height: 1; text-align: center;
}
.campaign-bar:hover { background: var(--emerald-dark); }
.campaign-bar time { background: rgba(0,0,0,.2); border-radius: 9999px; padding: .25rem .55rem; font-variant-numeric: tabular-nums; }
.campaign-bar .cb-link { text-decoration: underline; }
@media (min-width: 640px) { .campaign-bar { flex-direction: row; font-size: 12px; } .campaign-bar time { margin-left: .5rem; } .campaign-bar .cb-link { margin-left: .5rem; } }

.announce-bar { background: var(--fg); color: #fff; }
.announce-bar .container { display: flex; height: 1.5rem; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; }
.announce-bar .ar { display: none; color: var(--muted-light); }
@media (min-width: 640px) { .announce-bar .container { justify-content: space-between; font-size: 11px; } .announce-bar .ar { display: block; } }

.header-main { display: flex; align-items: center; gap: .5rem; height: 3.5rem; }
@media (min-width: 640px) { .header-main { height: 4rem; } }
@media (min-width: 1024px) { .header-main { gap: 1.5rem; } }

.logo { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.logo-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .375rem; background: var(--fg); color: #fff; font-size: 14px; font-weight: 900; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-3deg); }
.logo-text { display: none; }
@media (min-width: 375px) { .logo-text { display: block; } }
.logo-title { display: block; font-size: 1.125rem; font-weight: 900; line-height: 1; letter-spacing: -.055em; }
@media (min-width: 640px) { .logo-title { font-size: 1.25rem; } }
.logo-title .red { color: var(--primary); }
.logo-sub { display: none; margin-top: .25rem; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: var(--muted); }
@media (min-width: 640px) { .logo-sub { display: block; } }

.header-search { display: none; flex: 1; position: relative; }
@media (min-width: 768px) { .header-search { display: block; } }
.header-search .icon-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-light); pointer-events: none; }
.header-search input {
  width: 100%; height: 3rem; border-radius: 9999px; border: 1px solid #e4e4e7;
  background: var(--surface-subtle); padding: 0 2.75rem; font-size: 14px; outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.04); transition: all .2s var(--ease);
}
.header-search input:hover { border-color: var(--border-strong); }
.header-search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(228,17,17,.12); }

.search-dropdown {
  position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-lg);
  overflow: hidden; max-height: 26rem; overflow-y: auto;
}
.search-dropdown .sd-head { padding: .6rem 1rem .3rem; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: var(--muted); }
.search-dropdown a.sd-item { display: flex; align-items: center; gap: .75rem; padding: .55rem 1rem; transition: background .15s; }
.search-dropdown a.sd-item:hover { background: var(--surface-subtle); }
.search-dropdown .sd-img { width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: #fff; border: 1px solid var(--border); object-fit: contain; padding: 2px; }
.search-dropdown .sd-name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.search-dropdown .sd-meta { font-size: 11px; color: var(--muted); }
.search-dropdown .sd-price { margin-left: auto; font-size: 13px; font-weight: 900; white-space: nowrap; }
.search-dropdown .sd-all { display: block; text-align: center; padding: .7rem; font-size: 12px; font-weight: 700; color: var(--primary); border-top: 1px solid var(--border); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: .125rem; }
.header-action {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 .5rem; border-radius: .375rem;
  color: #52525b; transition: all .2s; font-size: 10px; font-weight: 600;
}
.header-action:hover { background: var(--surface-subtle); color: var(--fg); }
.header-action .label { display: none; }
@media (min-width: 1280px) { .header-action .label { display: block; } }
/* İkon + rozet sarmalayıcısı: rozet ikonun sağ üst köşesine, dışına oturur */
.header-action .ha-icon { position: relative; display: inline-flex; }
.header-action .count {
  position: absolute; top: -.45rem; right: -.5rem; display: grid; place-items: center;
  min-width: 1.05rem; height: 1.05rem; border-radius: 9999px; background: var(--primary);
  color: #fff; font-size: 10px; font-weight: 800; padding: 0 .3rem; line-height: 1;
  box-shadow: 0 0 0 2px #fff; pointer-events: none;
}
.ha-compare { display: none; }
@media (min-width: 768px) { .ha-compare { display: flex; } }
.ha-fav { display: none; }
@media (min-width: 360px) { .ha-fav { display: flex; } }

.mobile-menu-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; border: 1px solid var(--border); background: #fff; color: #27272a; box-shadow: var(--shadow-sm); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.cat-nav { display: none; border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .cat-nav { display: block; } }
.cat-nav .container { display: flex; align-items: center; gap: .25rem; height: 2.75rem; }
.cat-nav a, .cat-nav button.cn-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 9999px;
  font-size: 13px; font-weight: 600; color: #3f3f46; transition: all .15s;
}
.cat-nav a:hover, .cat-nav button.cn-btn:hover { background: var(--surface-subtle); color: var(--fg); }
.cat-nav .cn-campaign { margin-left: auto; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }
.cat-nav .cn-campaign:hover { background: #fee2e2; color: var(--primary); }

.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 55; display: none; padding: .5rem 0 1rem;
}
.mega-menu.open { display: block; animation: mega-in .22s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* ==== ZENGİN MEGA-MENÜ (sol kategori listesi + sağ görselli içerik) ==== */
.mega-menu .container.mega-shell {
  display: grid; grid-template-columns: 15.5rem 1fr; height: auto !important; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow-lg); padding: 0;
}
/* SOL: kategori listesi */
.mega-nav { display: flex; flex-direction: column; gap: .1rem; padding: .6rem; background: var(--surface-subtle); border-right: 1px solid var(--border); max-height: 27rem; overflow-y: auto; scrollbar-width: thin; }
.mega-cat { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .45rem .55rem; border-radius: .7rem; text-align: left; transition: background .15s var(--ease), box-shadow .15s var(--ease); }
.mega-cat .mc-ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .6rem; overflow: hidden; background: #fff; border: 1px solid var(--border); flex-shrink: 0; color: var(--muted); }
.mega-cat .mc-ico img { width: 100%; height: 100%; object-fit: cover; }
.mega-cat .mc-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mega-cat .mc-name { font-size: 13px; font-weight: 800; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat .mc-count { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.mega-cat > .icon { margin-left: auto; color: var(--muted-light); opacity: 0; transform: translateX(-4px); transition: all .15s var(--ease); flex-shrink: 0; }
.mega-cat:hover, .mega-cat.active { background: #fff; box-shadow: 0 4px 14px -8px rgba(15,23,42,.3); }
.mega-cat.active { box-shadow: inset 3px 0 0 var(--primary), 0 4px 14px -8px rgba(15,23,42,.3); }
.mega-cat.active .mc-name, .mega-cat:hover .mc-name { color: var(--primary); }
.mega-cat.active > .icon, .mega-cat:hover > .icon { opacity: 1; transform: none; color: var(--primary); }
/* SAĞ: içerik panelleri */
.mega-content { position: relative; padding: 1.15rem 1.3rem 1.3rem; min-height: 20rem; }
.mega-panel { display: none; }
.mega-panel.active { display: block; animation: mega-in .2s var(--ease); }
.mp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .95rem; }
.mp-head h3 { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.mp-head p { font-size: 12.5px; color: var(--muted); margin-top: .1rem; }
.mp-all { display: inline-flex; align-items: center; gap: .3rem; font-size: 12.5px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.mp-all .icon { transition: transform .15s var(--ease); }
.mp-all:hover .icon { transform: translateX(3px); }
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.mp-prod { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: .9rem; overflow: hidden; background: #fff; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.mp-prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.mpp-badge { position: absolute; left: .45rem; top: .45rem; z-index: 2; font-size: 10px; font-weight: 800; color: #fff; background: var(--primary); padding: .12rem .4rem; border-radius: 9999px; }
.mpp-media { aspect-ratio: 1 / 1; background: #fff; }
.mpp-media img { width: 100%; height: 100%; object-fit: contain; padding: .55rem; }
.mpp-name { padding: 0 .6rem; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: #3f3f46; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.15rem; }
.mpp-price { padding: .15rem .6rem .6rem; font-size: 13px; font-weight: 900; color: var(--fg); }
.mp-empty { display: flex; align-items: center; gap: 1.25rem; padding: 1rem; border: 1px dashed var(--border); border-radius: 1rem; background: var(--surface-subtle); }
.mp-empty img { width: 7rem; height: 7rem; object-fit: cover; border-radius: .8rem; }
.mp-empty p { font-size: 14px; font-weight: 800; margin-bottom: .6rem; }
.mp-brands { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-top: 1.05rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.mpb-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mpb-chip { font-size: 12px; font-weight: 700; color: #3f3f46; padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 9999px; transition: all .15s var(--ease); }
.mpb-chip:hover { background: var(--primary-soft); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
:root[data-theme="dark"] .mega-menu .container.mega-shell { background: var(--surface); border-color: var(--border); }
:root[data-theme="dark"] .mega-cat:hover, :root[data-theme="dark"] .mega-cat.active { background: #101014; }
:root[data-theme="dark"] .mp-prod, :root[data-theme="dark"] .mpp-media { background: #18181b; }

/* Mobil menü çekmecesi */
.mobile-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer .md-overlay { position: absolute; inset: 0; background: rgba(9,9,11,.5); }
.mobile-drawer .md-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(20rem, 85vw); background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; padding: 1.25rem; }
.mobile-drawer .md-panel a { display: flex; align-items: center; gap: .6rem; padding: .7rem .5rem; border-radius: .6rem; font-size: 14px; font-weight: 600; }
.mobile-drawer .md-panel a:hover { background: var(--surface-subtle); }
.mobile-search { display: block; padding: 0 1rem .75rem; }
@media (min-width: 768px) { .mobile-search { display: none; } }
.mobile-search .ms-wrap { position: relative; }
.mobile-search input { width: 100%; height: 2.75rem; border-radius: 9999px; border: 1px solid #e4e4e7; background: var(--surface-subtle); padding: 0 1rem 0 2.6rem; font-size: 14px; outline: none; }
.mobile-search .icon-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-light); }

/* ============ ÜRÜN KARTI ============ */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card:active { transform: scale(.99); }

.pc-media { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .2s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.035); }
.pc-badge-discount { position: absolute; left: .75rem; top: .75rem; z-index: 2; box-shadow: var(--shadow-sm); }
.pc-badge-limited { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; }
.pc-actions { position: absolute; right: .75rem; top: .75rem; z-index: 2; display: flex; flex-direction: column; gap: .375rem; }
.pc-actions .icon-btn { width: 2.25rem; height: 2.25rem; }

.pc-body { display: flex; flex-direction: column; flex: 1; padding: .875rem; gap: .35rem; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.pc-brand { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-title { font-size: 14px; font-weight: 900; line-height: 1.15; letter-spacing: -.03em; min-height: 2.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title a::after { content: ""; position: absolute; inset: 0; }
.pc-rating { display: flex; align-items: center; gap: .35rem; font-size: 11px; color: var(--muted); }
.stars { color: #d4d4d8; font-size: 12px; letter-spacing: 1px; }
.stars .filled { color: var(--amber); }
.pc-prices { margin-top: auto; padding-top: .35rem; }
.pc-old-price { font-size: 12px; color: var(--muted-light); text-decoration: line-through; font-weight: 500; }
.pc-price { font-size: 22px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.pc-installment { font-size: 11px; color: var(--muted); font-weight: 600; }
/* ===== Ürün kartı güven rozetleri: Accent Pills ===== */
.pc-trust { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0; }
.pc-trust-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .22rem .55rem .22rem .42rem; border-radius: 9999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.pc-trust-pill .icon { width: .82rem; height: .82rem; flex-shrink: 0; transition: transform .18s var(--ease); }
.pc-trust-pill > span { transform: translateY(.02rem); }
/* Kargo = yeşil tint */
.pc-trust-ship { color: #15803d; background: rgba(22, 163, 74, .10); border-color: rgba(22, 163, 74, .18); }
.pc-trust-ship .icon { color: #16a34a; }
/* Ödeme = mavi tint */
.pc-trust-pay { color: #1d4ed8; background: rgba(37, 99, 235, .10); border-color: rgba(37, 99, 235, .18); }
.pc-trust-pay .icon { color: #2563eb; }
/* Hover mikro-etkileşim */
.product-card:hover .pc-trust-pill { box-shadow: var(--shadow-sm); }
.pc-trust-pill:hover { transform: translateY(-1px); }
.pc-trust-pill:hover .icon { transform: translateY(-1px); }
.pc-trust-ship:hover { background: rgba(22, 163, 74, .16); }
.pc-trust-pay:hover  { background: rgba(37, 99, 235, .16); }
/* Karanlık mod */
:root[data-theme="dark"] .pc-trust-ship { color: #4ade80; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .24); }
:root[data-theme="dark"] .pc-trust-ship .icon { color: #4ade80; }
:root[data-theme="dark"] .pc-trust-pay { color: #7fa9ff; background: rgba(59, 130, 246, .16); border-color: rgba(59, 130, 246, .26); }
:root[data-theme="dark"] .pc-trust-pay .icon { color: #7fa9ff; }
:root[data-theme="dark"] .pc-trust-ship:hover { background: rgba(34, 197, 94, .22); }
:root[data-theme="dark"] .pc-trust-pay:hover  { background: rgba(59, 130, 246, .24); }
.pc-add { position: relative; z-index: 2; }

/* ============ BÖLÜMLER ============ */
.section { padding: 2.5rem 0; }
@media (min-width: 768px) { .section { padding: 3.5rem 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.5rem; }
.section-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; }
.section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
@media (min-width: 640px) { .section-title { font-size: 1.875rem; } }
.section-sub { margin-top: .6rem; font-size: 14px; color: var(--muted); max-width: 36rem; }
.section-link { display: inline-flex; align-items: center; gap: .4rem; font-size: 13px; font-weight: 700; color: var(--fg); white-space: nowrap; border-bottom: 2px solid var(--fg); padding-bottom: .15rem; transition: color .2s; }
.section-link:hover { color: var(--primary); border-color: var(--primary); }

/* Yatay ürün şeridi */
.product-strip { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.product-strip::-webkit-scrollbar { display: none; }
.product-strip .product-card { flex: 0 0 clamp(12.5rem, 58vw, 15rem); scroll-snap-align: start; }
@media (min-width: 768px) { .product-strip .product-card { flex-basis: 31%; } }
@media (min-width: 1024px) { .product-strip .product-card { flex-basis: calc((100% - 2.25rem) / 4); } }

/* ============ FOOTER ============ */
.site-footer { background: var(--fg); color: #d4d4d8; margin-top: 3rem; }
.site-footer .container { padding-top: 3rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo-mark { background: #fff; color: var(--fg); }
.footer-brand p { font-size: 13px; line-height: 1.6; color: #a1a1aa; max-width: 20rem; }
.footer-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: #fff; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: 13px; color: #a1a1aa; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-meta { display: flex; align-items: center; gap: .5rem; font-size: 13px; color: #a1a1aa; padding: .25rem 0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #27272a; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; font-size: 12px; color: #71717a; }

/* ============ YÜZEN BUTONLAR (WhatsApp + Canlı Destek) ============ */
.float-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; }
.float-btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; padding: .8rem 1.1rem; font-size: 13px; font-weight: 700; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.float-btn:hover { transform: translateY(-2px); }
.float-whatsapp { background: #25d366; }
.float-chat { background: var(--fg); }

/* ============ CANLI DESTEK ============ */
.chat-widget {
  position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 95; width: min(22rem, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden; max-height: 70vh;
}
.chat-widget.open { display: flex; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--fg); color: #fff; }
.chat-head h3 { font-size: 15px; font-weight: 800; }
.chat-status { display: flex; align-items: center; gap: .4rem; font-size: 11px; color: #a1a1aa; }
.chat-status .dot { width: .5rem; height: .5rem; border-radius: 9999px; background: #71717a; }
.chat-status.online .dot { background: #34d399; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--surface-subtle); min-height: 12rem; }
.chat-msg { max-width: 85%; padding: .6rem .85rem; border-radius: 1rem; font-size: 13px; line-height: 1.4; }
.chat-msg.guest { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: .25rem; }
.chat-msg.admin { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: .25rem; }
.chat-msg img { border-radius: .5rem; margin-top: .3rem; max-height: 10rem; }
.chat-note { font-size: 11px; color: var(--muted); text-align: center; }
.chat-foot { display: flex; align-items: center; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border); background: #fff; }
.chat-foot input[type=text] { flex: 1; height: 2.5rem; border: 1px solid var(--border); border-radius: 9999px; padding: 0 1rem; font-size: 13px; outline: none; }
.chat-foot input[type=text]:focus { border-color: var(--primary); }
.chat-foot .cf-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: var(--primary); color: #fff; flex-shrink: 0; }
.chat-foot .cf-file { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; color: var(--muted); flex-shrink: 0; }
.chat-foot .cf-file:hover { background: var(--surface-subtle); }
.chat-hint { padding: 0 1rem .6rem; font-size: 10px; color: var(--muted-light); background: #fff; text-align: center; }

/* KRİTİK: hidden attribute'u display:flex/block'u ezmeli (form/akış birbirini dışlasın) */
.chat-register[hidden], .chat-body[hidden], .chat-foot[hidden], .chat-hint[hidden],
.chat-endbar[hidden], .chat-rate[hidden], .chat-ended[hidden] { display: none !important; }

/* Sohbet öncesi kayıt formu (ad soyad + telefon) */
.chat-register { flex: 1; display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.25rem 1.25rem; background: var(--surface-subtle); overflow-y: auto; }
.cr-lead { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.cr-hours { display: flex; flex-direction: column; gap: .3rem; padding: .6rem .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: .6rem; }
.crh-line { display: inline-flex; align-items: center; gap: .35rem; font-size: 11.5px; color: var(--fg); }
.crh-line .icon { color: var(--primary); flex-shrink: 0; }
.crh-note { font-size: 11px; color: var(--muted); }
.cr-field { display: flex; flex-direction: column; gap: .3rem; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; color: var(--fg); }
.cr-field > span i { color: var(--primary); font-style: normal; }
.cr-field input { height: 2.6rem; border: 1px solid var(--border); border-radius: .6rem; padding: 0 .85rem; font-size: 13px; font-weight: 500; outline: none; background: var(--surface); color: var(--fg); }
.cr-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.cr-error { margin: 0; font-size: 12px; color: var(--primary); font-weight: 700; }
.chat-register .btn-block { width: 100%; justify-content: center; }
.cr-kvkk { margin: 0; font-size: 10px; color: var(--muted-light); text-align: center; }

/* Sistem bildirimi (yetkili bağlandı vb.) */
.chat-sys { align-self: center; max-width: 92%; text-align: center; font-size: 11px; font-weight: 700; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 9999px; padding: .32rem .85rem; }
:root[data-theme="dark"] .chat-sys { color: #6ee7b7; background: rgba(16,185,129,.14); border-color: rgba(16,185,129,.3); }

/* Yetkili mesajı: avatar + isim + baloncuk (kim yazıyor görünsün) */
.chat-msg.admin.has-who { display: flex; align-items: flex-start; gap: .5rem; max-width: 90%; padding: 0; background: none; border: none; border-radius: 0; }
.cm-avatar { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: linear-gradient(135deg, var(--primary), #b30d0d); color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 6px -2px rgba(228,17,17,.5); }
.cm-col { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.cm-who { font-size: 10.5px; font-weight: 800; color: var(--muted); padding-left: .25rem; letter-spacing: .01em; }
.cm-bubble { background: #fff; border: 1px solid var(--border); border-radius: 1rem; border-top-left-radius: .3rem; padding: .55rem .8rem; font-size: 13px; line-height: 1.42; color: var(--fg); box-shadow: 0 1px 3px -2px rgba(15,23,42,.25); }
.cm-bubble img { border-radius: .5rem; margin-top: .3rem; max-height: 10rem; display: block; }
:root[data-theme="dark"] .cm-bubble { background: #18181b; }

/* "Sohbeti bitir" — şık bar + pill buton */
.chat-endbar { display: flex; justify-content: center; padding: .55rem .75rem; background: #fff; border-top: 1px solid var(--border); }
.chat-end-link { display: inline-flex; align-items: center; gap: .4rem; font-size: 11.5px; font-weight: 700; color: var(--muted); padding: .35rem .95rem; border: 1px solid var(--border); border-radius: 9999px; background: var(--surface-subtle); transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
.chat-end-link:hover { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); background: var(--primary-soft); }
.chat-end-link .icon { width: .8rem; height: .8rem; }

/* Puanlama paneli */
.chat-rate { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.1rem 1.25rem 1.25rem; background: #fff; border-top: 1px solid var(--border); }
.cr-rate-title { margin: 0; font-size: 13px; font-weight: 700; color: var(--fg); }
.chat-stars { display: flex; gap: .3rem; }
.chat-star { font-size: 1.9rem; line-height: 1; color: #d4d4d8; transition: transform .12s var(--ease), color .12s; }
.chat-star:hover { transform: scale(1.15); }
.chat-star.on { color: var(--amber); }
.chat-rate-actions { display: flex; gap: .5rem; margin-top: .1rem; }

/* Sonlandırıldı durumu */
.chat-ended { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1.75rem 1.25rem; text-align: center; background: var(--surface-subtle); }
.ce-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 9999px; background: #ecfdf5; color: #059669; }
.ce-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--fg); }
.ce-sub { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 16rem; }

/* ============ FORMLAR ============ */
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field label { font-size: 12px; font-weight: 700; color: #3f3f46; }
.form-field label .req { color: var(--primary); }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1px solid #e4e4e7; border-radius: .75rem; background: #fff;
  padding: .7rem 1rem; font-size: 14px; outline: none; transition: all .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(228,17,17,.1); }
.form-textarea { min-height: 6rem; resize: vertical; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: .75rem; padding: .7rem 1rem; font-size: 13px; margin-bottom: 1rem; }
.form-success { background: var(--emerald-soft); border: 1px solid #a7f3d0; color: var(--emerald-dark); border-radius: .75rem; padding: .7rem 1rem; font-size: 13px; margin-bottom: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; font-size: 13px; color: #3f3f46; cursor: pointer; }
.form-check input { margin-top: .2rem; accent-color: var(--primary); width: 1rem; height: 1rem; }

/* ============ KARTLAR / PANELLER ============ */
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.panel-premium { border-radius: var(--radius-premium); }
.panel-pad { padding: 1.5rem; }

/* ============ BREADCRUMB ============ */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: 12px; color: var(--muted); padding: 1rem 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { color: var(--muted-light); }

/* ============ SAYFA BAŞLIĞI (statik sayfalar) ============ */
.page-hero { padding: 2.5rem 0 1.5rem; }
.page-hero .section-eyebrow { margin-bottom: .4rem; }
.page-hero h1 { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.5rem; } }
.page-hero p { margin-top: .6rem; color: var(--muted); font-size: 15px; max-width: 40rem; }

/* ============ SAYFALAMA ============ */
.pagination { display: flex; justify-content: center; gap: .4rem; margin: 2rem 0; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .5rem;
  border-radius: 9999px; font-size: 13px; font-weight: 700; border: 1px solid var(--border); background: #fff;
}
.pagination a:hover { border-color: var(--fg); }
.pagination .active { background: var(--fg); color: #fff; border-color: var(--fg); }

/* ============ KAMPANYA GERİ SAYIM BANDI (sayfa içi) ============ */
.campaign-strip { background: var(--fg); color: #fff; border-radius: var(--radius-premium); padding: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.campaign-strip .cs-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .2em; color: #f87171; }
.campaign-strip h3 { font-size: 1.15rem; font-weight: 900; margin-top: .35rem; }
.campaign-strip .cs-timer { display: flex; gap: .5rem; font-variant-numeric: tabular-nums; }
.campaign-strip .cs-timer > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: .9rem; padding: .6rem .8rem; text-align: center; min-width: 4rem; }
.campaign-strip .cs-timer b { display: block; font-size: 1.3rem; }
.campaign-strip .cs-timer small { font-size: 10px; color: #a1a1aa; }

/* ============ YARDIMCILAR ============ */
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-emerald { color: var(--emerald-dark); }
.fw-900 { font-weight: 900; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Boş durum */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .es-icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 9999px; background: var(--surface-subtle); color: var(--muted); margin-bottom: 1.25rem; }
.empty-state h2 { font-size: 1.35rem; font-weight: 800; }
.empty-state p { color: var(--muted); font-size: 14px; margin: .6rem auto 1.5rem; max-width: 26rem; }

/* Promo video modal */
.promo-modal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.promo-modal.open { display: flex; }
.promo-modal .pm-overlay { position: absolute; inset: 0; background: rgba(9,9,11,.7); backdrop-filter: blur(4px); }
.promo-modal .pm-box { position: relative; width: min(52rem, 100%); background: #000; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.promo-modal .pm-close { position: absolute; right: .75rem; top: .75rem; z-index: 2; }
.promo-modal video, .promo-modal iframe { width: 100%; aspect-ratio: 16/9; display: block; }

/* Toast bildirimi */
.toast-wrap { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.toast { background: var(--fg); color: #fff; font-size: 13px; font-weight: 600; border-radius: 9999px; padding: .7rem 1.4rem; box-shadow: var(--shadow-lg); animation: toast-in .25s var(--ease); display: flex; align-items: center; gap: .5rem; }
.toast.success .icon { color: #34d399; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============ SWEETALERT2 MARKA TEMASI ============ */
.swal2-popup.gsm-swal {
  border-radius: var(--radius-premium); padding: 2rem 1.75rem 1.75rem;
  font-family: var(--font); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.swal2-popup.gsm-swal .swal2-title { font-size: 1.3rem; font-weight: 900; letter-spacing: -.03em; color: var(--fg); }
.swal2-popup.gsm-swal .swal2-html-container { color: var(--muted); font-size: 14px; }
.swal2-popup.gsm-swal .swal2-actions { gap: .6rem; margin-top: 1.5rem; }
.gsm-swal-confirm { background: var(--primary); color: #fff; border-radius: 9999px; font-weight: 700; font-size: 14px; padding: .72rem 1.6rem; transition: background .2s; }
.gsm-swal-confirm:hover { background: var(--primary-dark); }
.gsm-swal-cancel { background: var(--surface-subtle); color: var(--fg); border-radius: 9999px; font-weight: 700; font-size: 14px; padding: .72rem 1.6rem; transition: background .2s; }
.gsm-swal-cancel:hover { background: var(--surface-muted); }
.swal2-popup.gsm-toast { font-family: var(--font); border-radius: 1rem !important; box-shadow: var(--shadow-lg) !important; border: 1px solid var(--border); }
.swal2-popup.gsm-toast .swal2-title { font-size: 13px !important; font-weight: 700; color: var(--fg); }
.swal2-timer-progress-bar { background: var(--primary) !important; }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============ MİNİ SEPET ÇEKMECESİ ============ */
.cart-drawer { position: fixed; inset: 0; z-index: 130; visibility: hidden; }
.cart-drawer.open { visibility: visible; }
.cart-drawer .cd-overlay { position: absolute; inset: 0; background: rgba(9,9,11,.5); opacity: 0; transition: opacity .3s var(--ease); }
.cart-drawer.open .cd-overlay { opacity: 1; }
.cart-drawer .cd-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(26rem, 92vw);
  background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease);
}
.cart-drawer.open .cd-panel { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.cd-head h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 900; }
.cd-head .cd-count { display: grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem; border-radius: 9999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.cd-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; padding: 2rem; color: var(--muted); }
.cd-empty .es-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--surface-subtle); }

.cd-item { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.cd-item .cd-img { width: 3.5rem; height: 3.5rem; border-radius: .6rem; border: 1px solid var(--border); object-fit: contain; padding: 3px; background: #fff; }
.cd-item .cd-name { font-size: 13px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-item .cd-meta { font-size: 11px; color: var(--muted); margin-top: .15rem; }
.cd-item .cd-line { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.cd-item .cd-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 9999px; }
.cd-item .cd-stepper button { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; color: #3f3f46; }
.cd-item .cd-stepper button:disabled { opacity: .35; }
.cd-item .cd-stepper span { min-width: 1.4rem; text-align: center; font-size: 12px; font-weight: 800; }
.cd-item .cd-price { font-size: 13px; font-weight: 900; white-space: nowrap; }
.cd-item .cd-remove { color: var(--muted-light); }
.cd-item .cd-remove:hover { color: var(--primary); }

.cd-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .6rem; }
.cd-subtotal { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.cd-subtotal strong { font-size: 1.15rem; font-weight: 900; }
.cd-note { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: .35rem; margin: 0; }
.cd-note .cd-ok { color: var(--emerald-dark); font-weight: 700; }
.cd-progress { height: .35rem; border-radius: 9999px; background: var(--surface-muted); overflow: hidden; }
.cd-progress > span { display: block; height: 100%; background: var(--emerald); border-radius: 9999px; transition: width .4s var(--ease); }

/* ============ BÜLTEN ŞERİDİ ============ */
.newsletter-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.75rem; margin-bottom: 2.5rem; border-radius: var(--radius-premium);
  background: linear-gradient(120deg, #18181b, #27272a); border: 1px solid #3f3f46;
}
.newsletter-strip .ns-text h3 { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.15rem; font-weight: 900; }
.newsletter-strip .ns-text p { color: #a1a1aa; font-size: 13px; margin-top: .35rem; max-width: 32rem; }
.newsletter-strip .ns-form { display: flex; gap: .6rem; flex: 1; min-width: 16rem; max-width: 28rem; }
.newsletter-strip .ns-form input { flex: 1; height: 2.9rem; border-radius: 9999px; border: 1px solid #3f3f46; background: #0b0b0e; color: #fff; padding: 0 1.1rem; outline: none; }
.newsletter-strip .ns-form input:focus { border-color: var(--primary); }

/* ============ SCROLL İLERLEME ÇUBUĞU ============ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; pointer-events: none; }
.scroll-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), #f87171); transition: width .1s linear; }

/* ============ BAŞA DÖN ============ */
.back-to-top {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 88; display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; border-radius: 9999px; background: var(--fg); color: #fff;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* ============ ÇEREZ BANNER (özel tasarım) ============ */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 140; animation: cb-in .4s var(--ease); }
@media (min-width: 640px) { .cookie-banner { left: auto; right: 1.25rem; width: 24rem; } }
@keyframes cb-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner .cb-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 1.35rem;
  box-shadow: var(--shadow-lg); padding: 1.25rem;
}
.cookie-banner .cb-icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .85rem;
  background: var(--primary-soft); color: var(--primary); margin-bottom: .75rem;
}
.cookie-banner .cb-text strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: .3rem; }
.cookie-banner .cb-text p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cookie-banner .cb-text a { color: var(--primary); font-weight: 700; white-space: nowrap; }
.cookie-banner .cb-text a:hover { text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.cookie-banner .cb-actions .btn { flex: 1; }
:root[data-theme="dark"] .cookie-banner .cb-inner { background: var(--surface); border-color: var(--border); }

/* ============ TEMA DÜĞMESİ ============ */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ============ SON GEZİLENLER ============ */
.recently-viewed { padding: 2.5rem 0; }
.rv-strip { display: flex; gap: .75rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .5rem; }
.rv-strip::-webkit-scrollbar { display: none; }
/* NOT: .rv-card adı hem "son gezilenler" şeridinde hem ürün yorumlarında kullanılıyor.
   Şerit kuralları yorum kartlarına sızmasın diye .rv-strip ile sınırlandırıldı. */
.rv-strip .rv-card { flex: 0 0 9.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
.rv-strip .rv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rv-strip .rv-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: .75rem; background: #fff; }
.rv-strip .rv-card .rv-body { padding: .6rem .75rem .8rem; }
.rv-strip .rv-card .rv-name { font-size: 12px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1rem; }
.rv-strip .rv-card .rv-price { font-size: 14px; font-weight: 900; margin-top: .3rem; }

/* ============ KARANLIK MOD ============ */
:root[data-theme="dark"] {
  --bg: #0b0b0e;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --muted-light: #71717a;
  --border: rgba(255,255,255,.1);
  --border-strong: #3f3f46;
  --primary-soft: #2a1416;
  --surface: #18181b;
  --surface-subtle: #1c1c22;
  --surface-muted: #27272a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.6);
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--fg); }
:root[data-theme="dark"] .site-header { background: rgba(11,11,14,.9); border-bottom-color: var(--border); }
:root[data-theme="dark"] .header-search input { background: #18181b; border-color: #3f3f46; color: #fff; }
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .pc-media,
:root[data-theme="dark"] .search-dropdown,
:root[data-theme="dark"] .cd-panel,
:root[data-theme="dark"] .cookie-banner .cb-inner,
:root[data-theme="dark"] .rv-card,
:root[data-theme="dark"] .category-card { background: var(--surface); border-color: var(--border); }
:root[data-theme="dark"] .pc-media,
:root[data-theme="dark"] .rv-card img,
:root[data-theme="dark"] .cd-item .cd-img { background: #101014; }
:root[data-theme="dark"] .btn-outline { background: #18181b; color: #f4f4f5; border-color: #3f3f46; }
:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] .form-textarea { background: #18181b; border-color: #3f3f46; color: #f4f4f5; }
:root[data-theme="dark"] .mobile-menu-btn,
:root[data-theme="dark"] .icon-btn { background: #18181b; border-color: #3f3f46; color: #d4d4d8; }
:root[data-theme="dark"] .cat-nav { border-top-color: var(--border); }
:root[data-theme="dark"] .pc-title, :root[data-theme="dark"] .pc-price { color: var(--fg); }
:root[data-theme="dark"] .section-title, :root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3 { color: var(--fg); }

/* ============ SABİT KARŞILAŞTIRMA ÇUBUĞU ============ */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 92; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(9,9,11,.1); animation: cbar-up .3s var(--ease); }
@keyframes cbar-up { from { transform: translateY(100%); } to { transform: none; } }
.cbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; }
.cbar-items { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.cbar-items::-webkit-scrollbar { display: none; }
.cbar-item { position: relative; flex-shrink: 0; width: 3rem; height: 3rem; border: 1px solid var(--border); border-radius: .6rem; background: #fff; }
.cbar-item img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cbar-item button { position: absolute; top: -.5rem; right: -.5rem; width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: var(--fg); color: #fff; font-size: 11px; display: grid; place-items: center; }
.cbar-actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ============ BÜLTEN POPUP ============ */
.newsletter-popup { position: fixed; inset: 0; z-index: 145; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.newsletter-popup[hidden] { display: none; }
.newsletter-popup .np-overlay { position: absolute; inset: 0; background: rgba(9,9,11,.6); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.newsletter-popup .np-box { position: relative; width: min(26rem, 100%); background: #fff; border-radius: var(--radius-premium); padding: 2.25rem 1.75rem 1.75rem; text-align: center; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.newsletter-popup .np-close { position: absolute; top: .75rem; right: .75rem; }
.newsletter-popup .np-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--primary); background: var(--primary-soft); border-radius: 9999px; padding: .4rem .9rem; margin-bottom: 1rem; }
.newsletter-popup h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.newsletter-popup p { color: var(--muted); font-size: 14px; margin: .6rem 0 1.25rem; }
.newsletter-popup .np-form input { width: 100%; height: 3rem; border-radius: 9999px; border: 1px solid #e4e4e7; background: var(--surface-subtle); padding: 0 1.2rem; margin-bottom: .75rem; outline: none; text-align: center; }
.newsletter-popup .np-form input:focus { border-color: var(--primary); background: #fff; }
.newsletter-popup .np-dismiss { margin-top: .9rem; font-size: 12px; color: var(--muted-light); text-decoration: underline; }
:root[data-theme="dark"] .compare-bar, :root[data-theme="dark"] .newsletter-popup .np-box, :root[data-theme="dark"] .cbar-item { background: var(--surface); border-color: var(--border); }

/* ===== Canlı Havale/IBAN bilgisi (sipariş başarılı sayfası) ===== */
.bank-live { display: inline-flex; align-items: center; gap: .3rem; font-size: 11px; font-weight: 700; color: #059669; margin-left: .5rem; vertical-align: middle; }
.bank-live-dot { width: .5rem; height: .5rem; border-radius: 9999px; background: #10b981; animation: bankPulse 1.8s infinite; }
@keyframes bankPulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.od-transfer-note { margin-top: .5rem; font-size: 13px; color: var(--muted); }
.bank-updated { display: inline-flex; align-items: center; gap: .3rem; margin: .6rem 0; font-size: 12px; font-weight: 700; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 9999px; padding: .3rem .75rem; }
.od-bank.bank-flash { animation: bankFlash 1.6s var(--ease); }
@keyframes bankFlash { 0% { box-shadow: 0 0 0 3px rgba(16,185,129,.55); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
:root[data-theme="dark"] .bank-updated { color: #6ee7b7; background: rgba(16,185,129,.14); border-color: rgba(16,185,129,.3); }
