/* =========================================================
   ZONEEPIC — Stil Sistemi
   Marka: pas turuncusu (#c0512b) + buz mavisi (#c5e5f7) · Space Grotesk
   ========================================================= */

:root {
  /* Zemin */
  --bg: #0c0c0e;
  --bg-soft: #141417;
  --bg-card: #18181c;
  --bg-card-hi: #202026;
  --line: rgba(197, 229, 247, 0.10);
  --line-hi: rgba(197, 229, 247, 0.22);

  /* Marka renkleri */
  --rust: #c0512b;
  --rust-hi: #db6438;
  --rust-soft: rgba(192, 81, 43, 0.14);
  --rust-glow: rgba(192, 81, 43, 0.40);
  --ice: #c5e5f7;
  --ice-dim: rgba(197, 229, 247, 0.62);

  /* Metin */
  --ink: #eef4f9;
  --ink-soft: #9bacba;
  --ink-dim: #69757f;

  /* Durum */
  --ok: #4ec98a;

  /* Tipografi */
  --font: "Space Grotesk", system-ui, sans-serif;

  /* Ölçü */
  --maxw: 1280px;
  --radius: 16px;
  --radius-sm: 11px;
  --pad-x: clamp(16px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
[hidden] { display: none !important; }

/* Metin seçimini ve görsel sürüklemeyi engelle (kopyalamayı zorlaştırır).
   Form alanlarında seçim geri açılır — yoksa kullanıcı yazdığını düzeltemez. */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea, select, [contenteditable] { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

/* Erişilebilir odak halkası — UX: focus ring kaldırılmaz */
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 6px; }

/* Genel ikon stili */
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Dolu ikonlar */
.is-filled svg, svg.fill { fill: currentColor; stroke: none; }

/* ============ ARKA PLAN ATMOSFER ============ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 80% -5%, var(--rust-soft), transparent 60%),
    radial-gradient(50vw 40vh at 0% 10%, rgba(197,229,247,0.05), transparent 55%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ TICKER ============ */
.ticker {
  background: var(--rust); color: #fff;
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em;
  overflow: hidden; white-space: nowrap; padding: 8px 0;
}

/* "Çok Yakında Açılıyor" şeridi */
.coming-soon-bar {
  background: linear-gradient(90deg, #0c0c0e, var(--rust) 50%, #0c0c0e);
  background-size: 200% 100%; animation: csbar 6s linear infinite;
  color: #fff; text-align: center; padding: 11px 18px; font-size: 0.92rem; line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.coming-soon-bar b { color: var(--ice); }
@keyframes csbar { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (max-width: 540px) { .coming-soon-bar { font-size: 0.8rem; padding: 9px 12px; } }
@media (prefers-reduced-motion: reduce) { .coming-soon-bar { animation: none; background: var(--rust); } }
.ticker__track { display: inline-flex; gap: 26px; align-items: center; animation: ticker 26s linear infinite; }
.ticker__track i { font-style: normal; opacity: 0.6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ NAVBAR ============ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(12,12,14,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 22px; padding: 14px var(--pad-x);
}

/* Logo: gerçek ikon + tek renk yazı */
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo__icon {
  width: 44px; height: 30px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo__icon img { width: 215%; max-width: none; height: auto; }
.logo__text { font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--ice); }

/* Arama */
.search { flex: 1; max-width: 520px; position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 15px; font-size: 1.15rem; color: var(--ink-dim); pointer-events: none; }
.search input {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  padding: 12px 42px 12px 44px; border-radius: 12px; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: var(--ink-dim); }
.search input:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.search__clear {
  position: absolute; right: 10px; background: none; border: none; color: var(--ink-dim);
  font-size: 1rem; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; transition: color 0.2s;
}
.search__clear:hover { color: var(--ice); }
.search--mobile { display: none; max-width: none; padding: 0 var(--pad-x) 14px; }

.nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  position: relative; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  width: 46px; height: 46px; border-radius: 12px; font-size: 1.2rem; display: grid; place-items: center;
  transition: all 0.18s ease;
}
.icon-btn:hover { border-color: var(--rust); color: var(--rust); transform: translateY(-1px); }
.icon-btn.active { color: var(--rust); border-color: var(--rust); }
.icon-btn__count {
  position: absolute; top: -7px; right: -7px; background: var(--rust); color: #fff;
  font-size: 0.68rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 5px; transform: scale(0); transition: transform 0.25s cubic-bezier(.5,1.6,.5,1);
}
.icon-btn__count.show { transform: scale(1); }
.nav__burger { display: none; }

/* ============ BUTONLAR ============ */
.btn {
  font-weight: 600; font-size: 0.95rem; padding: 13px 22px; border-radius: 12px; border: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s ease; position: relative; overflow: hidden; min-height: 46px;
}
.btn__ico { font-size: 1.05rem; }
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-hi); transform: translateY(-2px); box-shadow: 0 10px 26px var(--rust-glow); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-hi); }
.btn--ghost:hover { border-color: var(--ice); color: var(--ice); }
.btn--block { width: 100%; }

/* ============ HERO SLIDER ============ */
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: clamp(24px, 4vw, 44px) var(--pad-x) clamp(20px, 3vw, 32px); }

.slider {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(70vw 60vh at 85% 20%, var(--rust-soft), transparent 60%),
    var(--bg-soft);
}
.slider__track { display: flex; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }

.slide {
  min-width: 100%; box-sizing: border-box;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
}
.slide__content { animation: slide-in 0.7s cubic-bezier(.2,.7,.2,1) both; }
.slider__track.no-anim .slide__content { animation: none; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.slide__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; color: var(--rust); margin-bottom: 16px; }
.slide__title { font-weight: 700; font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 18px; }
.slide__title span { display: block; }
.slide__title--accent { color: var(--rust); }
.slide__sub { font-size: 1.05rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 26px; }

.slide__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero__orb {
  width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--bg-card-hi), var(--bg) 72%);
  border: 1px solid var(--line); display: grid; place-items: center;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6), 0 0 80px var(--rust-glow); position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero__orb::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--rust), transparent 30%, var(--ice) 60%, transparent 85%, var(--rust));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite; opacity: 0.7;
}
.hero__orb-emoji { font-size: clamp(3.4rem, 10vw, 6.8rem); filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.hero__orb-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Slider kontrolleri */
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(12,12,14,0.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; display: grid; place-items: center;
  transition: all 0.18s ease; opacity: 0.65;
}
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-hi); border: none; padding: 0; transition: all 0.2s; cursor: pointer; }
.slider__dot.active { background: var(--rust); width: 26px; border-radius: 5px; }
.slider__bar { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--rust); width: 0; z-index: 3; }
.slider__bar.run { animation: slider-bar var(--slide-dur, 5500ms) linear forwards; }
@keyframes slider-bar { from { width: 0; } to { width: 100%; } }

/* Güven şeridi */
.hero__trust { max-width: var(--maxw); margin: 18px auto 0; padding: 0 var(--pad-x); display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--ink-soft); }
.hero__trust svg { font-size: 1.05rem; color: var(--ice); }

/* ============ KATEGORİ ŞERİDİ ============ */
.categories { padding: clamp(20px, 4vw, 40px) 0 0; }
.cat-strip {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.cat-tile {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: all 0.22s ease; position: relative; overflow: hidden;
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--rust); }
.cat-tile__emoji { font-size: 2rem; margin-bottom: 10px; }
.cat-tile__img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; margin: 0 auto 10px; }
.cat-tile__label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.cat-tile__count { font-size: 0.78rem; color: var(--ink-dim); margin-top: 2px; }

/* ============ BÖLÜM BAŞLIĞI ============ */
.section-head {
  max-width: var(--maxw); margin: 0 auto 28px; padding: 0 var(--pad-x);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.section-head__tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; color: var(--rust); }
.section-head__title { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 6px; line-height: 1.1; }
.section-head__count { font-size: 0.88rem; color: var(--ink-dim); white-space: nowrap; }

/* ============ ÜRÜNLER ============ */
.products { padding: clamp(40px, 6vw, 72px) 0; }
.filters {
  max-width: var(--maxw); margin: 0 auto 26px; padding: 0 var(--pad-x);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.filter-chip {
  font-weight: 500; font-size: 0.88rem; background: var(--bg-card); border: 1px solid var(--line);
  color: var(--ink-soft); padding: 9px 16px; border-radius: 10px; transition: all 0.18s; min-height: 40px;
}
.filter-chip:hover { color: var(--ink); border-color: var(--line-hi); }
.filter-chip.active { background: var(--rust); color: #fff; border-color: var(--rust); }

.product-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.card__media {
  aspect-ratio: 1; display: grid; place-items: center; position: relative; cursor: pointer;
  background: radial-gradient(circle at 50% 38%, var(--bg-card-hi), var(--bg-card)); overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.card__emoji { font-size: 4.4rem; transition: transform 0.3s ease; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.card:hover .card__emoji { transform: scale(1.1); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; padding: 5px 10px; border-radius: 7px; background: var(--rust); color: #fff;
}
.card__badge.is-yeni { background: var(--ice); color: #06222e; }
.card__badge.is-limited { background: #1a1a1d; color: var(--ice); border: 1px solid var(--ice); }
.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(12,12,14,0.72); backdrop-filter: blur(6px); border: 1px solid var(--line);
  color: var(--ink); font-size: 1.05rem; display: grid; place-items: center; transition: all 0.18s ease;
}
.card__fav:hover { color: var(--rust); border-color: var(--rust); transform: scale(1.1); }
.card__fav.active { color: var(--rust); border-color: var(--rust); }
.card__fav.active svg { fill: currentColor; stroke: none; }

.card__body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__cat { font-size: 0.72rem; color: var(--rust); font-weight: 600; letter-spacing: 0.06em; }
.card__name { font-weight: 600; font-size: 1.02rem; line-height: 1.3; cursor: pointer; transition: color 0.18s; }
.card__name:hover { color: var(--ice); }
.card__rating { font-size: 0.8rem; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; }
.card__rating svg { color: var(--rust); font-size: 0.9rem; fill: currentColor; stroke: none; }
.card__rating b { color: var(--ink); }
.card__stock { font-size: 0.74rem; color: var(--rust); font-weight: 600; }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.card__price-now { font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.card__price-old { font-size: 0.85rem; color: var(--ink-dim); text-decoration: line-through; }
.card__add {
  margin-top: 12px; width: 100%; min-height: 46px; background: var(--rust-soft); color: var(--rust);
  border: 1px solid transparent; border-radius: 11px; font-weight: 600; font-size: 0.92rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.18s ease;
}
.card__add svg { font-size: 1.1rem; }
.card__add:hover { background: var(--rust); color: #fff; }

/* Kart giriş animasyonu (observer'a bağlı DEĞİL → her zaman görünür olur) */
#urunler { scroll-margin-top: 78px; }
.product-grid .card { animation: card-in 0.45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* İndirim rozeti */
.card__discount {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.72rem; font-weight: 700;
  padding: 5px 9px; border-radius: 7px; background: #d61f2b; color: #fff; line-height: 1;
}
.card__badge + .card__discount { top: 44px; }

/* Stok durumu */
.card__stock { font-size: 0.74rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.card__stock.low { color: var(--rust); }
.card__stock.ok { color: var(--ok); }
.card__stock.out { color: #ff6b6b; }

/* Tükendi (stok yok) */
.card.is-out .card__media { opacity: 0.55; }
.card.is-out .card__emoji { filter: grayscale(0.6) drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.card__soldout {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: rgba(12,12,14,0.35);
}
.card__soldout span {
  background: #d61f2b; color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 7px 16px; border-radius: 8px; transform: rotate(-6deg);
}
.card__add:disabled { background: var(--bg-card-hi); color: var(--ink-dim); cursor: not-allowed; }
.card__add:disabled:hover { background: var(--bg-card-hi); color: var(--ink-dim); }

/* Boş durum */
.empty-state { max-width: var(--maxw); margin: 0 auto; padding: 50px var(--pad-x); text-align: center; }
.empty-state p { color: var(--ink-soft); margin-bottom: 18px; }

/* ============ HİKAYE ============ */
.story {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--pad-x);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center;
}
.story__visual {
  aspect-ratio: 4/5; border-radius: var(--radius); position: relative; border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 25%, var(--rust-soft), transparent 55%), radial-gradient(circle at 75% 80%, rgba(197,229,247,0.08), transparent 50%), var(--bg-card);
  display: grid; place-items: center; overflow: hidden;
}
.story__emoji { font-size: clamp(5rem, 13vw, 8.5rem); filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); animation: float 5s ease-in-out infinite; }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__badge { position: absolute; top: 16px; left: 16px; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--rust); border: 1px solid var(--rust); padding: 6px 11px; border-radius: 8px; }
.story__title { font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.7rem); margin: 10px 0 16px; line-height: 1.12; }
.story__content > p { color: var(--ink-soft); margin-bottom: 22px; max-width: 34rem; }
.story__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.story__list li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.story__list svg { color: var(--rust); font-size: 1.15rem; flex-shrink: 0; }

/* ============ BÜLTEN ============ */
.cta-band {
  max-width: var(--maxw); margin: 0 auto 72px; padding: clamp(36px, 5vw, 60px) var(--pad-x);
  border-radius: var(--radius); text-align: center; border: 1px solid var(--line);
  background: radial-gradient(circle at 20% 20%, var(--rust-soft), transparent 55%), var(--bg-soft);
}
.cta-band h2 { font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 22px; }
.newsletter { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 200px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; color: var(--ink); font-size: 0.95rem;
}
.newsletter input:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.cta-band__note { margin-top: 14px; color: var(--ok); font-size: 0.9rem; min-height: 1.2em; }

/* ============ FOOTER ============ */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 52px var(--pad-x) 30px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px;
}
.footer__brand .logo { margin-bottom: 12px; }
.footer__brand p { color: var(--ink-dim); font-size: 0.9rem; max-width: 22rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 0.95rem; margin-bottom: 13px; }
.footer__cols a { display: block; color: var(--ink-dim); font-size: 0.9rem; margin-bottom: 9px; transition: color 0.18s; }
.footer__cols a:hover { color: var(--rust); }
.footer__bottom {
  grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--ink-dim); font-size: 0.82rem;
}

/* ============ ÜRÜN DETAY MODAL ============ */
.modal-overlay, .drawer-overlay {
  position: fixed; inset: 0; background: rgba(5,5,7,0.74); backdrop-filter: blur(5px);
  z-index: 200; opacity: 0; visibility: hidden; transition: opacity 0.28s, visibility 0.28s;
}
.modal-overlay.open, .drawer-overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(0.97);
  width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg-soft); border: 1px solid var(--line-hi); border-radius: 20px; z-index: 201;
  opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(.2,.8,.2,1);
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal { overflow-x: hidden; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(12,12,14,0.7); border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem;
  display: grid; place-items: center; transition: all 0.18s;
}
.modal__close:hover { color: var(--rust); border-color: var(--rust); }
.modal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.modal__left { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-self: start; }
.modal__media {
  aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; min-height: 0;
  background: radial-gradient(circle at 50% 40%, var(--bg-card-hi), var(--bg-card));
}
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
/* Galeri küçük resimleri */
.modal__thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.modal__thumb { width: 58px; height: 58px; border-radius: 9px; overflow: hidden; border: 2px solid var(--line); background: var(--bg-card); padding: 0; transition: border-color 0.18s; }
.modal__thumb:hover { border-color: var(--line-hi); }
.modal__thumb.active { border-color: var(--rust); }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Galeri noktaları (mobil — Etsy tarzı) */
.modal__dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: none; gap: 6px; z-index: 2; }
.modal__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); transition: all 0.2s; }
.modal__dots span.active { background: #fff; width: 20px; border-radius: 4px; }
.modal__emoji { font-size: 7rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); }
.modal__badge { position: absolute; top: 16px; left: 16px; z-index: 3; font-size: 0.7rem; font-weight: 700; padding: 5px 11px; border-radius: 7px; background: var(--rust); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.modal__info { padding: clamp(22px, 4vw, 34px); display: flex; flex-direction: column; min-width: 0; }
.modal__media { min-width: 0; }
.modal__cat { font-size: 0.76rem; color: var(--rust); font-weight: 600; letter-spacing: 0.06em; }
.modal__name { font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin: 6px 0 10px; }
.modal__rating { font-size: 0.86rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.modal__rating svg { color: var(--rust); fill: currentColor; stroke: none; }
.modal__rating b { color: var(--ink); }
.modal__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.modal__price-now { font-weight: 700; font-size: 1.8rem; }
.modal__price-old { font-size: 1rem; color: var(--ink-dim); text-decoration: line-through; }
.modal__desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; white-space: pre-line; line-height: 1.6; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.modal__pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--line); }
.modal__pill.discount { background: #d61f2b; color: #fff; border-color: transparent; }
.modal__pill.stock-ok { color: var(--ok); }
.modal__pill.stock-low { color: var(--rust); }
.modal__pill.stock-out { color: #ff6b6b; }
.modal__pill svg { font-size: 0.95rem; }
.btn:disabled { background: var(--bg-card-hi); color: var(--ink-dim); cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; background: var(--bg-card-hi); }

/* Favori modu: geri dön çipi */
.filter-chip.back { background: var(--rust-soft); color: var(--rust); border-color: transparent; font-weight: 600; }
.filter-chip.back:hover { background: var(--rust); color: #fff; }
.modal__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.spec { background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; }
.spec__label { font-size: 0.72rem; color: var(--ink-dim); margin-bottom: 2px; }
.spec__value { font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.modal__buy { display: flex; gap: 10px; margin-top: auto; align-items: stretch; }
.qty { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; background: none; border: none; color: var(--ink); font-size: 1.1rem; display: grid; place-items: center; transition: background 0.15s; }
.qty button:hover { background: var(--bg-card-hi); color: var(--rust); }
.qty span { min-width: 32px; text-align: center; font-weight: 600; }
.modal__fav-btn {
  width: 50px; flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-size: 1.2rem; display: grid; place-items: center; transition: all 0.18s;
}
.modal__fav-btn:hover, .modal__fav-btn.active { color: var(--rust); border-color: var(--rust); }
.modal__fav-btn.active svg { fill: currentColor; stroke: none; }

/* ============ SEPET ÇEKMECESİ ============ */
.drawer {
  position: fixed; left: 50%; top: 50%; width: min(440px, calc(100% - 24px)); max-height: 88vh;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; z-index: 201;
  transform: translate(-50%, -50%) translateY(26px); opacity: 0; visibility: hidden;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), opacity 0.26s, visibility 0.26s;
  display: flex; flex-direction: column; overflow: hidden;
}
.drawer.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
/* Mobilde alttan yukarı kayan sheet */
@media (max-width: 560px) {
  .drawer { left: 0; top: auto; bottom: 0; width: 100%; max-height: 90vh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .drawer.open { transform: translateY(0); }
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 9px; }
.drawer__head svg { color: var(--rust); }
.drawer__close { background: none; border: none; color: var(--ink-soft); font-size: 1.15rem; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; transition: all 0.18s; }
.drawer__close:hover { color: var(--rust); background: var(--bg-card); }
.drawer__items { flex: 1; overflow-y: auto; padding: 14px 22px; display: flex; flex-direction: column; gap: 13px; }

.cart-item { display: flex; gap: 13px; align-items: center; }
.cart-item__media { width: 62px; height: 62px; border-radius: 11px; flex-shrink: 0; background: var(--bg-card-hi); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.7rem; overflow: hidden; cursor: pointer; padding: 0; transition: border-color 0.18s; }
.cart-item__media:hover { border-color: var(--rust); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 600; font-size: 0.9rem; line-height: 1.25; }
.cart-item__name--link { cursor: pointer; transition: color 0.18s; }
.cart-item__name--link:hover { color: var(--ice); }
.cart-item__price { color: var(--rust); font-size: 0.88rem; font-weight: 600; margin-top: 2px; }
.cart-item__line { color: var(--ink-soft); font-size: 0.78rem; font-weight: 500; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item__qty button { width: 26px; height: 26px; border-radius: 7px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; display: grid; place-items: center; transition: all 0.15s; }
.cart-item__qty button:hover { border-color: var(--rust); color: var(--rust); }
.cart-item__qty span { font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item__remove { background: none; border: none; color: var(--ink-dim); font-size: 1.05rem; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; transition: color 0.18s; }
.cart-item__remove:hover { color: var(--rust); }

.cart-empty { text-align: center; color: var(--ink-dim); padding: 56px 20px; }
.cart-empty svg { font-size: 2.6rem; display: block; margin: 0 auto 14px; opacity: 0.4; }

.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer__total span { color: var(--ink-soft); }
.drawer__total strong { font-weight: 700; font-size: 1.6rem; color: var(--rust); }
.drawer__note { text-align: center; color: var(--ink-dim); font-size: 0.78rem; margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Sipariş özeti (sepet + checkout) */
.cart-summary { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; margin-bottom: 14px; }
.cart-summary__title { font-weight: 700; font-size: 1rem; margin-bottom: 9px; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ink-soft); padding: 4px 0; }
.cart-summary__row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 1rem; color: var(--ink); }
.cart-summary__row--total strong { font-size: 1.4rem; color: var(--rust); }
.cart-summary__hint { font-size: 0.78rem; color: var(--ice); background: rgba(197,229,247,0.08); border-radius: 8px; padding: 6px 10px; margin: 5px 0; text-align: center; }
.cart-summary__row--disc span:last-child { color: var(--ok); font-weight: 600; }
.cart-item__old { color: var(--ink-dim); text-decoration: line-through; font-size: 0.82rem; font-weight: 400; margin-left: 5px; }
.ord-det__sumrows { margin-top: 12px; }

/* Checkout "Sepete Dön" */
.checkout-back { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; color: var(--ink-soft); font-family: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; margin-bottom: 10px; padding: 4px 0; transition: color 0.15s; }
.checkout-back:hover { color: var(--rust); }
.checkout-back svg { transform: rotate(180deg); }

/* Şifremi unuttum linki */
.acc-forgot { display: block; width: 100%; text-align: center; background: none; border: none; color: var(--ice); font-family: inherit; font-size: 0.85rem; cursor: pointer; margin-top: 12px; padding: 4px; }
.acc-forgot:hover { text-decoration: underline; }

/* Checkout sözleşme onayı (PayTR/yasal — zorunlu) */
.co-agree { display: flex; gap: 9px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; margin: 6px 0 14px; cursor: pointer; }
.co-agree input { width: 18px; height: 18px; accent-color: var(--rust); flex-shrink: 0; margin-top: 1px; }
.co-agree a { color: var(--ice); text-decoration: underline; }
.legal-link { background: none; border: none; padding: 0; margin: 0; color: var(--ice); text-decoration: underline; cursor: pointer; font: inherit; }
.legal-link:hover { color: #fff; }

/* Sözleşme açılır penceresi (checkout üstünde) */
.legal-modal { position: fixed; inset: 0; z-index: 320; background: rgba(0,0,0,0.72); display: grid; place-items: center; padding: 18px; }
.legal-modal__box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 28px 26px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.legal-modal__close { position: absolute; top: 14px; right: 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; color: var(--ink-soft); display: grid; place-items: center; }
.legal-modal__close:hover { color: var(--rust); border-color: var(--rust); }
.legal-modal__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; padding-right: 44px; }
.legal-modal__text { white-space: pre-line; line-height: 1.65; color: var(--ink-soft); font-size: 0.92rem; }

/* Değerlendirme henüz yokken */
.card__rating-none { font-size: 0.82rem; color: var(--ink-dim); }
.modal__norating { font-size: 0.86rem; color: var(--ink-dim); }

/* Ürün görseli büyütme imleci */
#modalMainImg { cursor: zoom-in; }

/* Masaüstünde ürün özellikleri SOL sütunda (görselin altında); mobilde sağda akışta kalır */
.modal__specs--side { display: none; }
@media (min-width: 861px) {
  .modal__info > .modal__specs { display: none; }
  .modal__left .modal__specs--side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 18px clamp(18px,3vw,26px) 24px; }
}

/* Tam ekran görsel büyütme (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.93); display: grid; place-items: center; padding: 30px; animation: lb-in 0.2s ease; }
/* Galeri video küçük resmi (▶) + tam ekran video */
.modal__thumb--video { position: relative; }
.modal__thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.95rem; background: rgba(0,0,0,0.4); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.lightbox--video .lightbox__video { width: min(92vw, 1080px); aspect-ratio: 16 / 9; }
.lightbox__video iframe { width: 100%; height: 100%; border: none; border-radius: 10px; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer; font-size: 2rem; line-height: 0.9; }
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; background: rgba(0,0,0,0.5); padding: 5px 14px; border-radius: 20px; }

/* ====== HAFİF ANİMASYONLAR (performans dostu, reduced-motion saygılı) ====== */
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s; }
  .card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,0.42); }
  .card__add:active { transform: scale(0.97); }
  /* Favori kalbe basınca pop */
  .card__fav.active svg, .modal__fav-btn.active svg { animation: ze-pop 0.32s ease; }
  @keyframes ze-pop { 0%{transform:scale(1)} 50%{transform:scale(1.35)} 100%{transform:scale(1)} }
}

/* ============ HESAP MODALI ============ */
.account-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(0.97);
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg-soft); border: 1px solid var(--line-hi); border-radius: 20px; z-index: 201;
  opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(.2,.8,.2,1); padding: clamp(24px, 5vw, 34px);
}
.account-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.acc-head { text-align: center; margin-bottom: 22px; }
.acc-head .logo { justify-content: center; margin-bottom: 12px; }
.acc-title { font-weight: 700; font-size: 1.4rem; }
.acc-sub { color: var(--ink-soft); font-size: 0.9rem; margin-top: 4px; }
.acc-tabs { display: flex; gap: 6px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 20px; }
.acc-tab { flex: 1; background: none; border: none; color: var(--ink-soft); padding: 10px; border-radius: 9px; font-weight: 600; font-size: 0.9rem; transition: all 0.18s; }
.acc-tab.active { background: var(--rust); color: #fff; }
.acc-social {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1a1a1d; border: none; border-radius: 11px; padding: 12px;
  font-weight: 600; font-size: 0.92rem; font-family: inherit; cursor: pointer; transition: opacity 0.18s; margin-bottom: 16px;
}
.acc-social:hover { opacity: 0.9; }
.acc-divider { display: flex; align-items: center; gap: 12px; color: var(--ink-dim); font-size: 0.78rem; margin-bottom: 16px; }
.acc-divider::before, .acc-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acc-field { margin-bottom: 14px; }
.acc-field > label { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 6px; }
.acc-input--area { align-items: flex-start; }
.acc-input--area > svg { top: 13px; }
.acc-input textarea { width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px 12px 40px; color: var(--ink); font-size: 0.95rem; font-family: inherit; resize: vertical; min-height: 70px; }
.acc-input textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.acc-input input[readonly] { opacity: 0.7; cursor: not-allowed; }
.checkout-guest { background: var(--rust-soft); border-radius: 11px; padding: 11px 14px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; }
.checkout-guest button { background: none; border: none; color: var(--rust); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.85rem; padding: 0; text-decoration: underline; }
.checkout-summary { display: flex; justify-content: space-between; align-items: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 15px; margin-bottom: 16px; }
.checkout-summary span { color: var(--ink-soft); font-size: 0.88rem; }
.checkout-summary strong { color: var(--rust); font-size: 1.2rem; }
.pay-methods { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-opt { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: border-color 0.18s; }
.pay-opt:has(input:checked) { border-color: var(--rust); background: var(--rust-soft); }
.pay-opt input { accent-color: var(--rust); }
.pay-opt.disabled { opacity: 0.5; cursor: not-allowed; }
.pay-box { background: var(--bg-card); border: 1px solid var(--line-hi); border-radius: 12px; padding: 15px; margin: 16px 0; text-align: left; }
.pay-box__title { color: var(--ice); font-weight: 700; margin-bottom: 12px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-soft); }
.pay-row:last-of-type { border-bottom: none; }
.copy-btn { flex-shrink: 0; background: var(--rust-soft); color: var(--rust); border: none; border-radius: 8px; padding: 6px 12px; font-size: 0.78rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 0.15s; }
.copy-btn:hover { background: var(--rust); color: #fff; }
.acc-input { position: relative; display: flex; align-items: center; }
.acc-input > svg { position: absolute; left: 13px; color: var(--ink-dim); font-size: 1.05rem; pointer-events: none; }
.acc-input input { width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px 12px 40px; color: var(--ink); font-size: 0.95rem; }
.acc-input input:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.acc-error { color: #ff6b6b; font-size: 0.82rem; margin-bottom: 12px; min-height: 1em; }
.acc-note { text-align: center; color: var(--ink-dim); font-size: 0.78rem; margin-top: 16px; line-height: 1.5; }
.acc-profile { text-align: center; }
.acc-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--rust-soft); color: var(--rust); display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; margin: 0 auto 14px; }
.acc-avatar svg { font-size: 2rem; }
.acc-name { font-weight: 700; font-size: 1.2rem; }
.acc-email { color: var(--ink-soft); font-size: 0.9rem; margin-top: 2px; }
.acc-menu { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.acc-menu button { display: flex; align-items: center; gap: 11px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink); padding: 13px 16px; border-radius: 11px; font-size: 0.92rem; font-weight: 500; transition: all 0.15s; text-align: left; width: 100%; }
.acc-menu button:hover { border-color: var(--rust); color: var(--rust); }
.acc-menu button svg { font-size: 1.1rem; flex-shrink: 0; }

/* Siparişlerim listesi */
.orders-list { display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow-y: auto; margin-bottom: 16px; }
.order-row { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.order-row__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.order-row__top strong { font-size: 1.05rem; color: var(--rust); }
.order-row__status { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ice); background: rgba(197,229,247,0.1); padding: 3px 9px; border-radius: 6px; }
.order-row__items { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.order-row__date { font-size: 0.74rem; color: var(--ink-dim); margin-top: 5px; }

/* ============ MOBİL ALT MENÜ ============ */
.botnav { display: none; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  opacity: 0; pointer-events: none;
  background: var(--bg-card-hi); border: 1px solid var(--rust); color: var(--ink); padding: 13px 22px;
  border-radius: 12px; font-weight: 500; z-index: 300; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.9rem; max-width: calc(100vw - 32px);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { animation: reveal-in 0.6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 0.07s); }
@keyframes reveal-in { to { opacity: 1; transform: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .search { display: none; }
  .search--mobile { display: flex; }
  .nav__account { display: none; }
  body { padding-bottom: 72px; }
  /* Mobilde sticky başlık daha yüksek (nav + arama) → sonuçlar altında kalmasın */
  #urunler { scroll-margin-top: 132px; }

  /* Mobil alt menü */
  .botnav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: rgba(12,12,14,0.96); backdrop-filter: blur(18px); border-top: 1px solid var(--line);
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  }
  .botnav__item {
    flex: 1; background: none; border: none; color: var(--ink-dim); cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px;
    font-size: 0.64rem; font-weight: 500; position: relative; transition: color 0.15s; min-height: 52px; justify-content: center;
  }
  .botnav__item svg { font-size: 1.3rem; }
  .botnav__item.active { color: var(--rust); }
  .botnav__badge {
    position: absolute; top: 2px; right: calc(50% - 20px); background: var(--rust); color: #fff;
    font-size: 0.6rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px;
    display: none; align-items: center; justify-content: center; padding: 0 4px; font-style: normal; line-height: 1;
  }
  .botnav__badge.show { display: flex; }
  /* Slider: dikey yığıl, görsel üstte küçük */
  .slide { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 32px 22px 52px; }
  .slide__content { order: 2; }
  .slide__sub { margin-inline: auto; }
  .slide .btn { margin-inline: auto; }
  .slide__visual { order: 1; max-width: 190px; margin: 0 auto; }
  .slider__arrow { display: none; }
  .hero__trust { justify-content: center; }
  .story { grid-template-columns: 1fr; }
  .story__visual { max-width: 400px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__left { border-right: none; border-bottom: 1px solid var(--line); }
  .modal__media { aspect-ratio: 1; }
  .modal__emoji { font-size: 5rem; }
  /* Mobil galeri: küçük fotoğraflar yerine noktalar (Etsy tarzı) */
  .modal__dots { display: flex; }
  .modal__thumbs { display: none; }
  /* Bildirim alt menünün üstünde kalsın */
  .toast { bottom: 88px; }
}
@media (max-width: 540px) {
  .cat-strip { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .card__emoji { font-size: 3.3rem; }
  .card__body { padding: 13px; }
  .card__name { font-size: 0.92rem; }
  .card__price-now { font-size: 1.12rem; }
  .card__add { font-size: 0.85rem; min-height: 44px; }
  .hero__trust { gap: 14px; }
  .modal__specs { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .ticker { font-size: 0.65rem; }
}

/* Erişilebilirlik: hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== STATİK SAYFA (sayfa.html) ===================== */
.page-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px,5vw,48px); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(12,12,14,0.9); backdrop-filter: blur(14px); z-index: 50; }
.page-top .btn { min-height: 0; padding: 9px 16px; }
.page-wrap { max-width: 780px; margin: 0 auto; padding: clamp(28px,5vw,56px) clamp(16px,5vw,32px); }
.page-title { font-weight: 700; font-size: clamp(1.8rem,5vw,2.6rem); margin-bottom: 22px; color: var(--ice); }
.page-content { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; white-space: pre-wrap; }
.page-foot { max-width: 780px; margin: 30px auto 0; padding: 26px clamp(16px,5vw,32px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--ink-dim); font-size: 0.82rem; }

/* ===================== YÖNETİM PANELİ ===================== */
.admin-body { padding-bottom: 40px; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.admin-login__card { width: min(420px, 100%); }
.admin-login__card .acc-input input { padding-left: 14px; }

.admin-top { display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px,4vw,40px); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(12,12,14,0.9); backdrop-filter: blur(14px); z-index: 50; }
.admin-top__tag { font-weight: 600; color: var(--ink-soft); }
.admin-top__right { margin-left: auto; display: flex; gap: 10px; }
.admin-top .btn { padding: 9px 16px; min-height: 0; }

.admin-tabs { display: flex; gap: 8px; padding: 14px clamp(16px,4vw,40px); border-bottom: 1px solid var(--line); flex-wrap: wrap; position: sticky; top: 65px; background: var(--bg); z-index: 40; }
.admin-tab { background: var(--bg-card); border: 1px solid var(--line); color: var(--ink-soft); padding: 9px 16px; border-radius: 10px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.18s; }
.admin-tab.active { background: var(--rust); color: #fff; border-color: var(--rust); }

.admin-main { max-width: 900px; margin: 0 auto; padding: 24px clamp(16px,4vw,40px); }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-toolbar h2 { font-size: 1.3rem; }
.admin-toolbar .btn { min-height: 0; padding: 10px 16px; }
.admin-muted { color: var(--ink-dim); font-weight: 400; font-size: 0.85rem; }
.admin-empty { background: var(--bg-card); border: 1px dashed var(--line-hi); border-radius: 14px; padding: 40px 20px; text-align: center; color: var(--ink-soft); }

.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row { display: flex; align-items: center; gap: 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; }
.admin-row__media { width: 54px; height: 54px; border-radius: 10px; background: var(--bg-card-hi); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.7rem; overflow: hidden; flex-shrink: 0; }
.admin-row__media img { width: 100%; height: 100%; object-fit: cover; }
.admin-row__info { flex: 1; min-width: 0; }
.admin-row__name { font-weight: 600; }
.admin-row__meta { font-size: 0.82rem; color: var(--ink-soft); margin-top: 3px; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.admin-row__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.admin-row__actions .btn { min-height: 0; padding: 8px 14px; }
.admin-order { align-items: flex-start; }
.order-status { background: var(--bg-card-hi); color: var(--ice); border: 1px solid var(--line-hi); border-radius: 7px; padding: 3px 8px; font-family: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }

.icon-del { background: var(--bg-card-hi); border: 1px solid var(--line); border-radius: 9px; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; transition: all 0.15s; }
.icon-del:hover { border-color: #d61f2b; }

.tag { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--bg-card-hi); color: var(--ink-soft); border: 1px solid var(--line); }
.tag--ok { color: var(--ok); border-color: transparent; background: rgba(78,201,138,0.12); }
.tag--low { color: var(--rust); border-color: transparent; background: var(--rust-soft); }
.tag--out { color: #ff6b6b; border-color: transparent; background: rgba(214,31,43,0.14); }
.tag--disc { color: #fff; background: #d61f2b; border-color: transparent; }

/* Ürün düzenleme modalı */
.admin-modal { width: min(640px, calc(100vw - 32px)); }
.pm-grid { display: flex; flex-direction: column; }
.pm-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-input select { width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; color: var(--ink); font-family: inherit; font-size: 0.95rem; appearance: none; cursor: pointer; }
.acc-input select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.pm-images { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-img { position: relative; width: 78px; height: 78px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-img.is-main { border-color: var(--rust); }
.pm-img .pm-rm { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,0.72); color: #fff; border: none; cursor: pointer; font-size: 0.7rem; line-height: 1; z-index: 2; }
.pm-main-badge { position: absolute; top: 3px; left: 3px; background: var(--rust); color: #fff; font-size: 0.58rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; z-index: 2; }
.pm-img__ctrl { position: absolute; bottom: 0; left: 0; right: 0; display: flex; background: rgba(0,0,0,0.6); }
.pm-img__ctrl button { flex: 1; background: none; border: none; color: #fff; cursor: pointer; font-size: 0.8rem; padding: 3px 0; }
.pm-img__ctrl button:hover:not(:disabled) { background: var(--rust); }
.pm-img__ctrl button:disabled { opacity: 0.3; cursor: default; }

.ticker-row { display: flex; gap: 8px; align-items: center; }
.ticker-row .acc-input { flex: 1; }

/* Admin: kategori görseli yükleme butonu */
.cat-img-btn { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-card-hi); cursor: pointer; overflow: hidden; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; padding: 0; transition: border-color 0.15s; }
.cat-img-btn:hover { border-color: var(--rust); }
.cat-img-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ====== SİPARİŞ YÖNETİMİ ====== */
.order-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.order-tab { background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 13px; color: var(--ink-soft); font-family: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.order-tab:hover { border-color: var(--line-hi); color: var(--ink); }
.order-tab.active { background: var(--rust); border-color: var(--rust); color: #fff; }
.order-tab__n { background: rgba(0,0,0,0.22); border-radius: 20px; padding: 1px 7px; font-size: 0.74rem; min-width: 18px; text-align: center; }
.order-tab.active .order-tab__n { background: rgba(255,255,255,0.28); }

.order-cards { display: flex; flex-direction: column; gap: 12px; }

.order-card { border-left: 4px solid var(--line-hi); }
.order-card.is-wait   { border-left-color: #e0a33a; }
.order-card.is-paid   { border-left-color: #4ec98a; }
.order-card.is-prep   { border-left-color: var(--ice); }
.order-card.is-ship   { border-left-color: #8b7bd8; }
.order-card.is-done   { border-left-color: var(--ok); }
.order-card.is-cancel { border-left-color: #d61f2b; opacity: 0.72; }

.order-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.order-card__total { font-size: 1.1rem; font-weight: 700; color: var(--rust); }

.order-badge { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.order-badge.is-wait   { color: #e0a33a; background: rgba(224,163,58,0.13); }
.order-badge.is-paid   { color: #4ec98a; background: rgba(78,201,138,0.14); }
.order-badge.is-prep   { color: var(--ice); background: rgba(197,229,247,0.12); }
.order-badge.is-ship   { color: #b3a6f0; background: rgba(139,123,216,0.16); }
.order-badge.is-done   { color: var(--ok); background: rgba(78,201,138,0.14); }
.order-badge.is-cancel { color: #ff6b6b; background: rgba(214,31,43,0.14); }

.order-ship { display: flex; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.order-ship__carrier, .order-ship__no { background: var(--bg-card-hi); border: 1px solid var(--line-hi); border-radius: 9px; padding: 9px 12px; color: var(--ink); font-family: inherit; font-size: 0.85rem; }
.order-ship__carrier { cursor: pointer; }
.order-ship__no { flex: 1; min-width: 150px; }
.order-ship__no:focus, .order-ship__carrier:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }

.order-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.order-card__actions .btn { min-height: 0; padding: 9px 15px; font-size: 0.85rem; }

@media (max-width: 540px) {
  .pm-2 { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-row__actions { width: 100%; justify-content: flex-end; }
  .order-card__actions .btn { flex: 1; }
}

/* ====== ADRESLERİM (hesap) ====== */
.addr-list { display: flex; flex-direction: column; gap: 10px; }
.addr-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.addr-card.is-default { border-color: var(--rust); }
.addr-card__title { font-weight: 700; font-size: 0.95rem; }
.addr-badge { font-size: 0.64rem; font-weight: 700; color: var(--rust); background: var(--rust-soft); padding: 2px 8px; border-radius: 20px; margin-left: 6px; }
.addr-card__name { font-size: 0.85rem; color: var(--ink-soft); margin-top: 5px; }
.addr-card__text { font-size: 0.85rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.4; }
.addr-card__actions { display: flex; gap: 14px; margin-top: 11px; }
.addr-card__actions button { background: none; border: none; color: var(--ice); font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 0; }
.addr-card__actions .addr-del { color: #ff6b6b; }
.addr-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); margin: 4px 0 14px; cursor: pointer; }
.addr-check input { width: 16px; height: 16px; accent-color: var(--rust); }

/* ====== CHECKOUT — kayıtlı adres seçici ====== */
.co-saved { margin: 12px 0; }
.co-saved__label { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; }
.co-saved__list { display: flex; gap: 8px; flex-wrap: wrap; }
.co-addr { text-align: left; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; font-family: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 2px; min-width: 132px; transition: all 0.15s; }
.co-addr b { font-size: 0.82rem; }
.co-addr span { font-size: 0.73rem; color: var(--ink-dim); }
.co-addr.active { border-color: var(--rust); background: var(--rust-soft); }
.co-addr--new { justify-content: center; align-items: center; color: var(--ice); font-weight: 600; font-size: 0.82rem; }

/* ====== FATURA BİLGİLERİ (adres formu + checkout) ====== */
.addr-invoice, .co-invoice { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.addr-sub { font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.inv-type { display: flex; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.inv-radio { display: flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--ink-soft); cursor: pointer; }
.inv-radio input { width: 16px; height: 16px; accent-color: var(--rust); }
.addr-card__inv { font-size: 0.8rem; color: var(--ice); margin-top: 5px; }

/* Müşteri "Siparişlerim" — durum rozeti + kargo takip + detay/tekrarla */
.order-row__no { font-size: 0.72rem; color: var(--ink-dim); margin-top: 2px; }
.order-row__track { font-size: 0.78rem; color: var(--ice); margin-top: 6px; }
.order-row__top .order-badge { font-size: 0.68rem; }
.order-row.is-clickable { cursor: pointer; transition: border-color 0.15s, transform 0.1s; }
.order-row.is-clickable:hover { border-color: var(--rust); }
.order-row.is-clickable:active { transform: scale(0.995); }
.order-row__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 9px; }
.order-reorder { background: var(--rust-soft); color: var(--rust); border: 1px solid transparent; border-radius: 8px; padding: 6px 12px; font-family: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.order-reorder:hover { background: var(--rust); color: #fff; }

/* Sipariş detayı */
.ord-det__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ord-det__items { display: flex; flex-direction: column; gap: 10px; }
.ord-det__item { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ord-det__img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-card-hi); flex-shrink: 0; }
.ord-det__info { flex: 1; min-width: 0; font-size: 0.88rem; }
.ord-det__sub { font-weight: 700; color: var(--rust); font-size: 0.9rem; white-space: nowrap; }
.ord-det__total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ord-det__total strong { font-size: 1.2rem; color: var(--rust); }
.ord-det__addr { font-size: 0.84rem; color: var(--ink-soft); margin-top: 10px; }
