/* =====================================================
   ILKERAKGOZ.COM — Mağaza Stilleri
   Ferah & sade tasarım. Light (varsayılan) + Dark mode.
   ===================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-soft: #6b6b6b;
  --text-muted: #9a9a9a;
  --border: #ececec;
  --border-strong: #dcdcdc;
  --accent: #1a1a1a;
  --accent-text: #ffffff;
  --danger: #c0392b;
  --topbar-bg: #1a1a1a;
  --topbar-text: #e6e6e6;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.10), 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

[data-theme="dark"] {
  --bg: #131313;
  --bg-soft: #1b1b1b;
  --bg-elevated: #1e1e1e;
  --text: #f2f2f2;
  --text-soft: #b0b0b0;
  --text-muted: #808080;
  --border: #2a2a2a;
  --border-strong: #383838;
  --accent: #f2f2f2;
  --accent-text: #131313;
  --danger: #e74c3c;
  --topbar-bg: #000000;
  --topbar-text: #d6d6d6;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 12px;
  letter-spacing: 0.3px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar-left, .topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 6px; opacity: 0.9; }
.topbar a:hover { opacity: 1; color: #fff; }

/* ---------- Canlı yayın bandı ---------- */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #c0140e, #e0241f, #c0140e);
  background-size: 200% 100%;
  color: #fff;
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: liveBannerShift 4s linear infinite;
}
@keyframes liveBannerShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.live-banner:hover { color: #fff; filter: brightness(1.05); }
.live-banner-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: liveBannerPulse 1.4s infinite;
}
@keyframes liveBannerPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.live-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}
@media (max-width: 600px) {
  .live-banner { height: 34px; font-size: 12px; gap: 8px; }
  .live-banner-cta { padding: 3px 10px; }
}

/* ---------- Header ---------- */
.header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 16px;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}
.logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
}
.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.icon-btn {
  position: relative;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.icon-btn:hover { opacity: 0.6; }

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.nav .container {
  display: flex;
  justify-content: center;
  gap: 32px;
  height: 48px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-soft);
  position: relative;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav a.accent { color: var(--danger); font-weight: 600; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -16px;
  width: 0; height: 2px;
  background: var(--text);
  transition: width 0.25s;
}
.nav a:hover::after { width: 100%; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s;
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline-flex; }

/* ---------- Favori sayacı (header) ---------- */
.wish-link { position: relative; }
.wish-count {
  position: absolute;
  top: -6px; right: -8px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.wish-link .wish-count[hidden] { display: none; }

/* ---------- Arama paneli ---------- */
.search-panel {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 18px 0;
}
.search-panel.open { display: block; animation: slideDown 0.2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.search-panel-form {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-panel-form > svg { color: var(--text-soft); flex-shrink: 0; }
.search-panel-form input {
  flex: 1;
  border: none;
  background: none;
  color: var(--text);
  font-size: 18px;
  font-family: inherit;
  padding: 8px 0;
  outline: none;
}
.search-panel-close {
  font-size: 28px;
  color: var(--text-soft);
  line-height: 1;
  padding: 0 6px;
}
.search-panel-close:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 460px;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

/* Hero slider */
.hero-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 460px;
  /* Hizalama JS ile yapılır (script.js -> alignHeroWithNav):
     hero metni, ortalanmış nav'ın "TÜMÜ" öğesiyle aynı sol hizaya getirilir. */
  margin-left: 0;
}
.hero-badge {
  font-size: 12px;
  letter-spacing: 3px;
  opacity: 0.85;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; max-width: 360px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s, opacity 0.2s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-light { background: #fff; color: #1a1a1a; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Features bar ---------- */
.features {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon { color: var(--text-soft); flex-shrink: 0; }
.feature-title { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.feature-desc { font-size: 12px; color: var(--text-soft); }

/* ---------- Section ---------- */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.section-title {
  font-size: 22px;
  letter-spacing: 1.5px;
  text-align: center;
  flex: 1;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--text);
  margin: 12px auto 0;
}
.see-all {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-soft);
  white-space: nowrap;
}
.see-all:hover { color: var(--text); }

/* Ortalı bölüm başlığı (tek başına kullanım) */
.section-title-center {
  display: block;
  flex: none;
  margin: 0 auto 32px;
}
.section-more {
  text-align: center;
  margin-top: 36px;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  position: relative;
  z-index: 1;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.product-badges {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
}
.badge-new { background: #1a1a1a; }
.badge-sale { background: var(--danger); }
.wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.active { color: var(--danger); }
.product-info { padding: 14px 16px 18px; }
.product-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row { display: flex; align-items: center; gap: 8px; }
.product-price { font-size: 15px; font-weight: 600; }
.product-price.sale { color: var(--danger); }
.product-price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-color-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  margin-top: 10px;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-soft);
}

/* ---------- Shop page ---------- */
.shop-header { padding: 40px 0 24px; }

/* Mağaza arama kutusu */
.shop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 4px 4px 4px 14px;
  background: var(--bg-elevated);
}
.shop-search:focus-within { border-color: var(--text); }
.shop-search-icon { color: var(--text-soft); flex-shrink: 0; }
.shop-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  padding: 10px 0;
  outline: none;
}
.shop-search-clear {
  font-size: 22px;
  color: var(--text-muted);
  padding: 0 8px;
  line-height: 1;
  flex-shrink: 0;
}
.shop-search-clear:hover { color: var(--text); }
.shop-search-btn {
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.shop-search-btn:hover { opacity: 0.88; }

.shop-controls { display: flex; gap: 10px; flex-wrap: wrap; }

/* Aktif filtre rozetleri */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: all 0.15s;
}
.filter-chip:hover { color: var(--text); border-color: var(--text-soft); }
.filter-chip-clear { background: none; color: var(--danger); }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-soft);
  transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--text); color: var(--text); }
.filter-tab.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.shop-filter-select,
.shop-sort select {
  padding: 9px 38px 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-elevated);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: 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='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.shop-filter-select:focus,
.shop-sort select:focus { outline: none; border-color: var(--text); }
.result-count { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }

/* ---------- Product detail ---------- */
.product-detail { padding: 40px 0 64px; }
.breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--text); }
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-gallery-main {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.pd-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pd-gallery-slide {
  min-width: 100%;
  height: 100%;
}
.pd-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery-main .product-thumb-placeholder { height: 100%; }
.pd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}
.pd-gallery-nav:hover { background: #fff; }
.pd-gallery-nav.prev { left: 12px; }
.pd-gallery-nav.next { right: 12px; }
.pd-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.18s;
  padding: 0;
  background: var(--bg-soft);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { border-color: var(--text); opacity: 1; }
.pd-brand {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pd-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 16px;
}
.pd-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pd-title-row .pd-title { margin-bottom: 16px; }
.pd-wish-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.pd-wish-btn:hover { border-color: var(--danger); color: var(--danger); }
.pd-wish-btn.active { color: var(--danger); border-color: var(--danger); background: rgba(192,57,43,0.08); }
.pd-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.pd-price { font-size: 26px; font-weight: 600; }
.pd-price.sale { color: var(--danger); }
.pd-price-old { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.pd-meta { margin-bottom: 8px; font-size: 14px; }
.pd-meta .label { color: var(--text-soft); margin-right: 8px; }
.pd-stock { margin: 20px 0; font-size: 14px; font-weight: 500; }
.pd-stock.in { color: #2e7d32; }
.pd-stock.low { color: #e67e22; }
.pd-stock.out { color: var(--danger); }
.pd-color { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.pd-color-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}
.pd-sizes { margin: 24px 0; }
.pd-sizes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.pd-sizes-label { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.size-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.size-table-btn:hover { border-color: var(--text); color: var(--text); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  min-width: 46px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-elevated);
  transition: all 0.15s;
}
.size-chip:hover { border-color: var(--text); }
.size-chip.selected { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.pd-size-warn { color: var(--danger); font-size: 13px; margin-top: 10px; font-weight: 500; }
.size-options.shake { animation: sizeShake 0.4s ease; }
@keyframes sizeShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.pd-actions { display: flex; gap: 12px; margin-top: 28px; }

/* WhatsApp butonu */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-whatsapp:hover { background: #1ebe5b; opacity: 1; }

/* Beden tablosu modalı */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-hover);
}
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 28px;
  line-height: 1;
  color: var(--text-soft);
  background: none;
  border: none;
}
.modal-close:hover { color: var(--text); }
.size-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-table-scroll .size-table { min-width: 640px; }

/* Benzer ürünler bölümü */
.similar-section { padding-top: 56px; padding-bottom: 16px; border-top: 1px solid var(--border); margin-top: 40px; }

/* Accordion / sections */
.pd-section { border-top: 1px solid var(--border); padding: 24px 0; }
.pd-section h3 { font-size: 15px; letter-spacing: 0.5px; margin-bottom: 12px; }
.pd-section p { color: var(--text-soft); white-space: pre-line; }

/* Size table */
.size-table-wrap { margin-top: 48px; }
.size-table-head { text-align: center; margin-bottom: 24px; }
.size-table-head h2 { font-size: 20px; letter-spacing: 1px; margin-bottom: 8px; }
.size-table-head p { color: var(--text-soft); font-size: 14px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th {
  padding: 14px;
  text-align: center;
  color: var(--text-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.size-table td { padding: 14px; text-align: center; }
.size-table tbody tr:nth-child(odd) { background: var(--bg-soft); }

/* ---------- Canlı Yayın Sayfası ---------- */
.stream-page { max-width: 920px; padding-top: 32px; padding-bottom: 56px; }
.stream-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 14px;
}
.stream-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.stream-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
}
.stream-status.live { color: #e02424; }
.stream-status.live .stream-dot {
  background: #e02424;
  box-shadow: 0 0 0 0 rgba(224, 36, 36, 0.6);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 36, 36, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(224, 36, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 36, 36, 0); }
}
.stream-status.offline { color: var(--text-soft); }
.stream-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2e9e5b;
  font-weight: 500;
}

.stream-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Aktif yayın oynatıcı */
.stream-player { position: absolute; inset: 0; }
.stream-player iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.stream-player.blurred iframe { filter: blur(14px); transform: scale(1.06); }
.stream-click-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.10);
  transition: background 0.2s;
}
.stream-click-overlay:hover { background: rgba(0, 0, 0, 0.22); }
.stream-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(2px);
}

/* Yayın kapalı */
.stream-offline { position: absolute; inset: 0; }
.stream-offline img { width: 100%; height: 100%; object-fit: cover; }
.stream-offline-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  text-align: center;
  padding: 20px;
}
.stream-offline-overlay span { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; }

/* Kanal bilgisi */
.stream-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 4px 0;
}
.stream-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}
.stream-avatar img { width: 100%; height: 100%; object-fit: cover; }
.stream-avatar-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--text-soft);
}
.stream-channel-info { flex: 1; min-width: 0; }
.stream-channel-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 600;
}
.verified-badge { color: #4a9eff; flex-shrink: 0; }
.stream-channel-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 2px;
}
.stream-subscribe { padding: 10px 22px; font-size: 13px; border-radius: 999px; }

@media (max-width: 600px) {
  .stream-channel-name { font-size: 15px; }
  .stream-subscribe { padding: 9px 16px; }
  .stream-offline-overlay span { font-size: 15px; }
  .stream-click-hint { font-size: 13px; padding: 10px 16px; }
}

/* ---------- Blog ---------- */
.blog-page { padding: 40px 0 56px; }
.blog-header { text-align: center; margin-bottom: 40px; }
.blog-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 10px;
}
.blog-subtitle { color: var(--text-soft); font-size: 16px; max-width: 600px; margin: 0 auto; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.blog-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.blog-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 12px; color: var(--text-muted); letter-spacing: 0.3px; }
.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 8px 0 10px;
}
.blog-card-title a:hover { color: var(--text-soft); }
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.blog-card-more { font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }
.blog-card-more:hover { color: var(--text-soft); }

/* Tek yazı */
.blog-post { padding: 32px 0 56px; max-width: 760px; }
.post-head { margin-bottom: 24px; }
.post-title {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 12px;
}
.post-meta { font-size: 14px; color: var(--text-soft); display: flex; gap: 8px; align-items: center; }
.post-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 16.5px; line-height: 1.8; color: var(--text); }
.post-content h2 {
  font-size: 23px;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.post-content h3 { font-size: 19px; font-weight: 600; margin: 24px 0 10px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--danger); text-decoration: underline; }
.post-content strong { font-weight: 600; }
.post-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-posts { border-top: 1px solid var(--border); margin-top: 48px; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-title { font-size: 30px; }
  .post-title { font-size: 27px; }
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 21px; }
}

/* ---------- İletişim sayfası ---------- */
.contact-section { padding-top: 48px; }
.contact-intro {
  text-align: center;
  color: var(--text-soft);
  max-width: 560px;
  margin: -16px auto 36px;
  font-size: 15px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
a.contact-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-icon-wa { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.contact-icon-ig { background: rgba(214, 41, 118, 0.12); color: #d62976; }
.contact-icon-yt { background: rgba(255, 0, 0, 0.10); color: #ff0000; }
.contact-label { font-size: 13px; color: var(--text-soft); letter-spacing: 0.4px; margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 600; word-break: break-word; }

@media (max-width: 768px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 { font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.footer-about { color: var(--text-soft); font-size: 14px; max-width: 280px; }
.footer-logo { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--text-soft); font-size: 14px; }
.footer li a:hover { color: var(--text); }
.footer-contact-item { color: var(--text-soft); font-size: 14px; margin-bottom: 10px; display: flex; gap: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Katlanabilir SEO bölümü */
.footer-seo-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 0 18px;
  color: var(--text-soft);
  background: none;
  border: none;
  border-top: 1px solid var(--border);
}
.footer-seo-toggle:hover { color: var(--text); }
.footer-seo-toggle svg { transition: transform 0.3s ease; }
.footer-seo-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.footer-seo {
  border-top: 1px solid var(--border);
  padding: 28px 0 8px;
}
.footer-seo-block { margin-bottom: 22px; }
.footer-seo-block:last-child { margin-bottom: 0; }
.footer-seo-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.footer-seo-block p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Responsive ---------- */

/* Büyük tabletler */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .features .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Küçük tabletler */
@media (max-width: 768px) {
  .header .container { grid-template-columns: auto 1fr auto; height: 64px; }
  .logo { font-size: 22px; letter-spacing: 1px; }
  .header-search span { display: none; }
  .nav .container {
    gap: 22px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav .container::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav a::after { bottom: -14px; }

  .hero { height: 380px; }
  .hero h1 { font-size: 42px; }

  .product-grid,
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
  .pd-title { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .section { padding: 40px 0; }
}

/* Telefonlar — tek sütun ürün listesi (yan yana ürün yok) */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Tüm ürün ızgaraları 2 sütun (2x2) */
  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Resim odaklı kart: görsel üstte, bilgi altta */
  .product-card { flex-direction: column; }
  .product-thumb { width: 100%; aspect-ratio: 1 / 1; }
  .product-info { padding: 12px 12px 14px; }
  .product-title {
    -webkit-line-clamp: 2;
    white-space: normal;
    font-size: 13.5px;
  }
  .product-price { font-size: 14.5px; }
  .product-price-old { font-size: 12px; }
  .product-color-dot { margin-top: 8px; }

  /* Topbar sadeleşsin */
  .topbar .container { height: 32px; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .topbar-right { gap: 16px; }

  /* Header */
  .header .container { height: 60px; gap: 10px; }
  .logo { font-size: 19px; }
  .header-actions { gap: 14px; }

  /* Hero */
  .hero { height: 340px; }
  .hero-content { max-width: 100%; margin-left: 0; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14px; }
  .hero-bg::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.2) 100%);
  }

  /* Avantaj şeridi: 2x2 yerine tek sütun, kompakt */
  .features .container {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .feature { gap: 10px; }
  .feature-icon svg { width: 24px; height: 24px; }
  .feature-title { font-size: 12px; }
  .feature-desc { font-size: 11px; }

  /* Bölüm başlığı + tümünü gör alt alta */
  .section { padding: 36px 0; }
  .section-head { flex-direction: column; gap: 12px; }
  .section-title { font-size: 19px; }

  /* Mağaza araç çubuğu */
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
  .filter-tabs { gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { white-space: nowrap; }
  .shop-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .shop-controls #sortSelect { grid-column: 1 / -1; }
  .shop-filter-select, .shop-sort select { width: 100%; }
  .shop-search input { font-size: 16px; }
  .shop-search-btn { padding: 10px 16px; }

  /* Ürün detay */
  .pd-title { font-size: 24px; }
  .pd-price { font-size: 22px; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; text-align: center; }

  /* Beden tablosu yatay kaydırılabilir */
  .size-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .size-table { min-width: 640px; }
  .size-table th, .size-table td { padding: 10px; font-size: 13px; }
  .size-table-head h2 { font-size: 17px; }
  .size-table-head p { font-size: 13px; }

  /* Footer tek sütun */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-about { max-width: 100%; }

  /* Butonlar dokunmaya uygun */
  .btn { padding: 13px 28px; }
}

/* Küçük telefonlar */
@media (max-width: 380px) {
  .hero h1 { font-size: 29px; }
  .features .container { grid-template-columns: 1fr; }
}


/* =====================================================
   Yüklenme & kaydırma efektleri (sade)
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Sayfa açılışında hafif solma */
  html.js body { animation: pageFade 0.45s ease both; }
  @keyframes pageFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Kaydırınca alttan yumuşak beliriş */
  html.js .feature,
  html.js .hero-content,
  html.js .product-card,
  html.js .blog-card,
  html.js .section-head,
  html.js .pd-gallery,
  html.js .pd-details,
  html.js .size-table-wrap,
  html.js .post-article {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  html.js .is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Güvenlik: efekt JS'i çalışmazsa her şey görünür kalsın */
  html.reveal-fallback .feature,
  html.reveal-fallback .hero-content,
  html.reveal-fallback .product-card,
  html.reveal-fallback .blog-card,
  html.reveal-fallback .section-head,
  html.reveal-fallback .pd-gallery,
  html.reveal-fallback .pd-details,
  html.reveal-fallback .size-table-wrap,
  html.reveal-fallback .post-article {
    opacity: 1;
    transform: none;
  }
}


/* =====================================================
   Sayfa yükleme göstergesi (merkezden çıkan çizgiler)
   ===================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
html.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  position: relative;
  width: 92px;
  height: 92px;
  color: #1a1a1a;
}
.spinner i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 28px;
  margin: -14px 0 0 -1.5px;          /* çubuğu merkeze hizala */
  border-radius: 2px;
  background: currentColor;
  transform-origin: center center;   /* merkezdeki boşluk translateY ile sağlanır */
  animation: spokeFade 1s linear infinite;
}
@keyframes spokeFade {
  0%   { opacity: 1; }
  100% { opacity: 0.12; }
}
/* Hareket azaltma tercihinde sabit (dönmeyen) göster */
@media (prefers-reduced-motion: reduce) {
  .spinner i { animation: none; opacity: 0.5; }
}
