/* Yazı tipleri buradan @import EDİLMEZ: @import, styles.css indirilip
   ayrıştırılana kadar başlamaz (seri zincir). Her sayfanın <head>'inde
   preconnect + <link rel="stylesheet"> ile paralel indiriliyor. */

:root {
  --bg: #faf7f4;
  --bg-warm: #fbefe9;
  --surface: #ffffff;
  --ink: #2c2420;
  --muted: #8a7d74;
  --brand: #c56b52;
  --brand-dark: #a5533c;
  --border: #ece5df;
  --success: #2e7d4f;
  --success-bg: #e6f4ea;
  --danger: #c0392b;
  --danger-bg: #fdecea;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 4px 18px rgba(90, 55, 40, 0.07);
  --shadow-lg: 0 16px 40px rgba(90, 55, 40, 0.14);
  --warm: linear-gradient(135deg, #c56b52 0%, #a5533c 100%);
  --heading: 'Quicksand', system-ui, sans-serif;
  --body: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* Yapışkan footer: 404, boş sepet gibi kısa sayfalarda footer ekranın
   ortasında asılı kalmasın, hep en alta insin. */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }
body > footer { flex: none; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

/* width:100% ŞART: body flex sütun olduğu için (yapışkan footer), doğrudan
   body altındaki bir kutuda `margin: 0 auto` çapraz eksende stretch'i iptal
   eder ve kutu içeriği kadar daralır. Açık genişlik bunu engelliyor. */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }

.section-title { font-size: 1.7rem; margin: 0 0 6px; }
.section-sub { color: var(--muted); margin: 0 0 22px; }

/* ── Header ───────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
/* Ana sayfada şerit sabit; header hemen altına yapışsın (diğer sayfalarda top:0). */
.ticker + .site-header { top: 40px; }
/* Anchor hedefleri sabit şerit+header altında kalmasın. */
.catalog-head, .faq, #catalog-grid { scroll-margin-top: 116px; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
/* Marka: maskot + yün örgü "KnitHelp" tek lockup görseli (aralarında boşluk yok).
   Metin erişilebilirlik için DOM'da kalır ama görsel gizlenir (font-size:0). */
.logo {
  display: inline-block;
  width: 122px; height: 46px;
  font-size: 0;
  background: url('/assets/img/logo-lockup.png') left center/contain no-repeat;
}
.nav { display: flex; gap: 20px; align-items: center; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.nav a:hover { color: var(--brand); }

/* ── "Hesabım" açılır menüsü ──────────────── */
.nav-acc { position: relative; }
.nav-acc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 0.97rem;
  color: var(--ink); padding: 0;
}
.nav-acc-btn:hover { color: var(--brand); }
.acc-caret { font-size: 0.7rem; transition: transform 0.18s; }
.nav-acc.open .acc-caret { transform: rotate(180deg); }

.acc-menu {
  display: none;
  position: absolute; top: calc(100% + 14px); right: 0;
  min-width: 236px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; z-index: 40;
}
/* Buton ile menü arasındaki boşluğu köprüle: yoksa fare aşağı inerken
   .nav-acc:hover kopuyor ve menü kullanıcının elinden kaçıyor. */
.acc-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-acc.open .acc-menu { display: block; }
@media (hover: hover) and (min-width: 861px) {
  .nav-acc:hover .acc-menu { display: block; }
}
.acc-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.acc-menu a:hover { background: var(--bg-warm); color: var(--brand-dark); }
.acc-ic { width: 20px; text-align: center; flex: none; }
.acc-menu-sep { height: 1px; background: var(--border); margin: 6px 8px; }

/* Hamburger — yalnızca mobilde görünür (aşağıdaki media query'de açılır). */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 10px 9px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.22s, opacity 0.18s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--warm);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(165, 83, 60, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(165, 83, 60, 0.34); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-ghost {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.btn-ghost:hover { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn-block { width: 100%; }

/* ── Hero ─────────────────────────────────── */
.hero {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(197, 107, 82, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  padding: 56px 22px 60px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(197, 107, 82, 0.12);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-text h1 { font-size: 2.9rem; line-height: 1.1; margin: 0 0 16px; }
.hero-text h1 em { color: var(--brand); font-style: normal; }
.hero-text p { color: #5b504a; font-size: 1.16rem; max-width: 520px; margin: 0 0 26px; }
.hero-text p strong { color: var(--brand-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-weight: 600; font-size: 0.94rem; }
.hero-trust span { white-space: nowrap; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(360px, 80%);
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(90, 55, 40, 0.22));
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Ana banner ───────────────────────────────
   Tamamen HTML/CSS — arka plan görseli YOK. Bilinçli tercih: her ekran
   genişliğinde ve piksel yoğunluğunda net, ek indirme yok, başlık gerçek
   metin olduğu için Türkçe karakterler bozulmuyor ve aranabilir kalıyor. */
.banner { padding: 26px 0 6px; }
.banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 320px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(46% 74% at 78% 56%, rgba(255, 245, 238, 0.42), transparent 62%),
    radial-gradient(120% 130% at 88% 20%, rgba(255, 255, 255, 0.22), transparent 58%),
    var(--warm);
}
/* Dekoratif yün halkaları — banner'ı düz bir renk bloğu olmaktan çıkarır.
   İçeriğin arkasında kalır (.banner-content z-index:1), tıklamayı engellemez. */
.banner-card::before,
.banner-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.banner-card::before { width: 300px; height: 300px; left: -110px; bottom: -130px; }
.banner-card::after  { width: 210px; height: 210px; left: 34%;   top: -105px; border-width: 18px; }

/* Sağda süzülen maskot. */
.banner-art {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 46%;
  background: url('/assets/img/mascot.png') right 6% center/contain no-repeat;
  filter: drop-shadow(0 20px 30px rgba(90, 55, 40, 0.28));
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
}
.banner-content {
  position: relative; z-index: 1;
  padding: 44px 48px;
  max-width: 60%;
}
.banner-content .hero-eyebrow {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
}
.banner-content h1 {
  color: #fff;
  font-size: 2.9rem;
  line-height: 1.12;
  margin: 0 0 24px;
  text-shadow: 0 2px 14px rgba(90, 40, 25, 0.28);
}
/* Turuncu zemin üstünde turuncu buton kaybolur — banner içinde beyaz. */
.banner-content .btn {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(80, 35, 20, 0.26);
}
.banner-content .btn:hover { color: var(--brand-dark); filter: brightness(1); background: #fffaf7; }

@media (max-width: 860px) {
  .banner-card { min-height: 260px; }
  .banner-content { padding: 32px 30px; max-width: 66%; }
  .banner-content h1 { font-size: 2rem; }
  .banner-art { width: 40%; }
}
@media (max-width: 600px) {
  .banner { padding: 16px 0 4px; }
  .banner-card { min-height: 0; border-radius: 20px; }
  .banner-content { padding: 26px 20px; max-width: 64%; }
  .banner-content h1 { font-size: 1.55rem; margin-bottom: 18px; }
  .banner-content .btn { padding: 12px 20px; font-size: 0.95rem; }
  .banner-art { width: 38%; background-position: right -4% center; }
}
/* Çok dar ekranda maskot metnin altına girmesin: sahne söner, metin tam genişlik. */
@media (max-width: 380px) {
  .banner-art { display: none; }
  .banner-content { max-width: 100%; }
}

/* ── "Nasıl çalışır" — üç adımlık yolculuk ────
   Sıcak zeminli tam genişlik şerit: altındaki beyaz kartlı bölümden ayrışsın,
   sayfa baştan sona aynı ritimde akmasın. */
.journey {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 58px 0 54px;
  text-align: center;
}
.journey-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  text-align: left;
}
/* Adımları birbirine bağlayan kesik çizgi — sıranın bir "akış" olduğunu
   gösterir. Numaralar kartın ÜST KENARINDA ortalandığı için (translateY(-50%))
   çizgi de tam orada, yani top:0'da olmalı; aşağıda kalırsa kartların
   arasında anlamsız bir tire gibi görünüyor. Kartlar opak olduğu için çizgi
   yalnızca aralıklarda görünür — istenen etki bu. */
.journey-steps::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(197, 107, 82, 0.45) 0 9px, transparent 9px 18px);
}
.jstep {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.jstep:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Numara kartın tepesine binerek çizgiyi kesiyor → sıra hissi güçleniyor. */
.jstep-num {
  position: absolute;
  top: -1px; left: 22px;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--warm); color: #fff;
  font-family: var(--heading); font-weight: 700; font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(165, 83, 60, 0.3);
  border: 3px solid var(--bg-warm);
}
.jstep-ic { display: block; font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.jstep h3 { margin: 0 0 8px; font-size: 1.14rem; }
.jstep p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.jstep p strong { color: var(--brand-dark); }
.journey-note {
  margin: 26px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 0.93rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}

/* ── "Neden KnitHelp" — ikon solda satırlar ───
   Yukarıdaki dikey kartların tekrarı gibi durmasın diye yatay ritim. */
.reasons { padding: 56px 22px 20px; text-align: center; }
.reason-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 30px; text-align: left;
}
.reason {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow);
  transition: border-color 0.18s, transform 0.18s;
}
.reason:hover { border-color: var(--brand); transform: translateY(-3px); }
.reason-ic {
  flex: none;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(197, 107, 82, 0.12);
  border-radius: 15px;
}
.reason h3 { margin: 0 0 5px; font-size: 1.05rem; }
.reason p { margin: 0; color: var(--muted); font-size: 0.94rem; }

@media (max-width: 860px) {
  .journey-steps { grid-template-columns: 1fr; gap: 34px; }
  /* Tek sütunda yatay çizgi anlamsız — dikey akış zaten sırayı anlatıyor. */
  .journey-steps::before { display: none; }
  .reason-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .journey { padding: 40px 0 38px; }
  .reasons { padding: 40px 16px 12px; }
  .jstep { padding: 42px 18px 20px; }
}

/* ── Catalog ──────────────────────────────── */
.catalog-head { padding: 46px 0 4px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  padding: 18px 0 64px;
}
/* Ürün kartı. DİKKAT: sınıf adı `.set-card`, `.card` DEĞİL — `.card` aşağıda
   genel bir kutu (hesap/ödeme formları) olarak da tanımlı ve 22px padding
   veriyordu; ikisi aynı adı paylaşınca ürün kapakları kartın içine gömülüyordu. */
.set-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.set-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #efe7e0; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(44, 36, 32, 0.82); color: #fff;
  font-family: var(--heading); font-weight: 700; font-size: 0.72rem;
  padding: 5px 10px; border-radius: 8px; letter-spacing: 0.02em;
}
/* Tükenen ürün rozetten başka hiçbir şekilde ayırt edilmiyordu; görsel
   soluklaşınca ızgarada bir bakışta anlaşılıyor. */
.set-card.sold-out .card-img { filter: grayscale(0.55) opacity(0.72); }
.set-card.sold-out .card-price { color: var(--muted); }
.card-img {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  background: #efe7e0 center/cover no-repeat;
  transition: transform 0.4s ease;
}
.set-card:hover .card-img { transform: scale(1.06); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--brand); font-weight: 700;
}
.card-title { font-size: 1.12rem; font-weight: 700; margin: 0; font-family: var(--heading); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: var(--heading); font-weight: 700; font-size: 1.2rem; color: var(--brand-dark); }
.card-cta { color: var(--brand); font-weight: 700; font-size: 0.9rem; opacity: 0; transform: translateX(-4px); transition: 0.18s; }
.set-card:hover .card-cta { opacity: 1; transform: translateX(0); }
/* Dokunmatik cihazda hover yok → "Satın Al →" hiç görünmüyordu. Orada hep açık. */
@media (hover: none) {
  .card-cta { opacity: 1; transform: none; }
}
.badge-free {
  display: inline-block; background: var(--success-bg); color: var(--success);
  font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 7px;
}

/* ── Product detail ───────────────────────── */
.crumbs { padding: 22px 0 0; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--muted); }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding: 22px 0 64px; }
.detail-img { width: 100%; border-radius: var(--radius-lg); background: #efe7e0; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); }

/* Ürün galerisi — küçük resimler büyük görselin altında.
   Tek fotoğraflı ürünlerde şerit hiç basılmaz (set.js'te koşullu). */
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 74px; height: 58px; padding: 0;
  border: 2px solid var(--border); border-radius: 12px;
  background: none; cursor: pointer; overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.thumb span {
  display: block; width: 100%; height: 100%;
  background: #efe7e0 center/cover no-repeat;
}
.thumb:hover { border-color: var(--brand); transform: translateY(-2px); }
.thumb.active { border-color: var(--brand); }
@media (max-width: 600px) {
  .thumb { width: 62px; height: 48px; }
}
.detail h1 { margin: 0 0 10px; font-size: 2.1rem; }
.detail .price { font-family: var(--heading); font-size: 1.8rem; font-weight: 700; color: var(--brand-dark); margin: 18px 0; }
/* Açıklama panelde serbest metin olarak giriliyor; satır sonları korunsun. */
.detail p.desc { color: #5b504a; font-size: 1.05rem; white-space: pre-line; }
.detail-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin: 18px 0 22px;
  color: #5b504a; font-size: 0.94rem;
}

/* ── Auth forms ───────────────────────────── */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  padding: 44px 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 12% 18%, rgba(197, 107, 82, 0.16), transparent 60%),
    radial-gradient(50% 45% at 88% 82%, rgba(197, 107, 82, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}
/* Soluk dekoratif yün halkaları */
.auth-page::before, .auth-page::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 14px solid rgba(197, 107, 82, 0.07);
  pointer-events: none;
}
.auth-page::before { width: 220px; height: 220px; top: -60px; left: -70px; }
.auth-page::after { width: 300px; height: 300px; bottom: -110px; right: -90px; border-width: 20px; }

.auth-wrap { width: 100%; max-width: 430px; position: relative; z-index: 1; }
.auth-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 30px 34px; box-shadow: var(--shadow-lg);
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--warm);
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-mascot {
  width: 88px; height: 88px; margin: 6px auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--bg-warm) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(165, 83, 60, 0.16);
}
.auth-mascot img { width: 66px; height: 66px; object-fit: contain; }
.auth-sub { color: var(--muted); margin: 0; font-size: 0.98rem; }
.auth-card h1 { margin: 0 0 4px; font-size: 1.55rem; text-align: center; }
.account-actions { display: grid; gap: 10px; margin-top: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 11px; font-size: 1rem; font-family: var(--body); background: #fdfbf9;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(197, 107, 82, 0.15); }
.form-msg { font-size: 0.92rem; margin: 8px 0; min-height: 20px; }
.form-msg.error { color: var(--danger); }
.form-msg.success { color: var(--success); }
.auth-alt { text-align: center; margin-top: 18px; font-size: 0.94rem; color: var(--muted); }

/* ── States ───────────────────────────────── */
.loading, .empty { text-align: center; color: var(--muted); padding: 56px 0; }

/* Boş / hata ekranı. Izgara içinde de kullanıldığı için tüm satırı kaplar;
   yoksa tek bir kart genişliğine sıkışıp ortada küçücük kalıyor. */
.loading, .empty-state { grid-column: 1 / -1; }
.empty-state {
  text-align: center;
  padding: 56px 24px 64px;
  max-width: 480px;
  margin: 0 auto;
}
.empty-state-ic {
  width: 74px; height: 74px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; line-height: 1;
  background: rgba(197, 107, 82, 0.12); border-radius: 50%;
}
.empty-state h3 { margin: 0 0 8px; font-size: 1.25rem; }
.empty-state p { margin: 0 0 6px; color: var(--muted); }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state .btn { margin-top: 12px; }

/* ── Footer ───────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 20px; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
  padding: 42px 22px 26px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { width: 152px; height: 58px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.footer-cols { display: flex; gap: 56px; }
.footer-cols h4 { margin: 0 0 12px; font-size: 0.98rem; }
.footer-cols a { display: block; color: var(--muted); font-weight: 500; font-size: 0.94rem; margin-bottom: 8px; }
.footer-cols a:hover { color: var(--brand); }
.footer-base { border-top: 1px solid var(--border); padding: 18px 22px; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* ── Announcement bar ─────────────────────── */
.topbar {
  background: var(--warm);
  color: #fff;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.topbar span { opacity: 0.85; margin: 0 6px; }

/* ── App CTA ──────────────────────────────── */
.appcta { padding: 26px 22px 64px; }
.appcta-inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    var(--warm);
  color: #fff;
  border-radius: 28px;
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.appcta h2 { color: #fff; font-size: 1.9rem; margin: 0 0 10px; }
.appcta p { margin: 0 0 22px; max-width: 460px; opacity: 0.95; font-size: 1.05rem; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #1c1512; color: #fff;
  padding: 11px 18px; border-radius: 14px;
  transition: transform 0.15s, filter 0.15s;
}
.store-badge:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.15); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge small { display: block; font-size: 0.68rem; opacity: 0.8; line-height: 1.1; }
.store-badge b { display: block; font-family: var(--heading); font-size: 1.02rem; line-height: 1.15; }
.store-soon { font-size: 0.82rem; opacity: 0.9; font-weight: 600; }
.appcta-art img { width: 190px; height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,0.25)); }

/* ── Kayan teklif şeridi (marquee) — üstte sabit, dikişsiz sonsuz döngü ──
   İki özdeş grup; her grup TAM ekran genişliği (space-around) → hangi ekran
   olursa olsun boşluk kalmaz; -100% ile tam bir grup kayıp başa döner. */
.ticker {
  position: sticky; top: 0; z-index: 30;
  height: 40px; display: flex; align-items: center;
  background: var(--warm); color: #fff; overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; white-space: nowrap; }
.ticker-set span { padding: 0 22px; font-size: 0.86rem; font-weight: 600; opacity: 0.96; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Katalog arama ────────────────────────── */
.catalog-search { position: relative; width: 100%; max-width: 320px; }
.catalog-search input {
  width: 100%; padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--body); font-size: 0.98rem; background: #fdfbf9;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.catalog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(197, 107, 82, 0.15); }
.catalog-search::before {
  content: '🔍'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 0.92rem; opacity: 0.6; pointer-events: none;
}

/* ── Footer: ödeme ikonları + bülten ──────── */
.footer-pays { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-ic {
  background: #fff; border: 1px solid var(--border); border-radius: 7px;
  padding: 5px 10px; font-family: var(--heading); font-weight: 700;
  font-size: 0.72rem; color: var(--ink); letter-spacing: 0.02em;
}
.newsletter { display: flex; gap: 8px; margin-top: 12px; max-width: 330px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: var(--body); font-size: 0.92rem; background: #fff;
}
.newsletter input:focus { outline: none; border-color: var(--brand); }
.newsletter button {
  border: none; background: var(--warm); color: #fff; font-family: var(--heading);
  font-weight: 700; font-size: 0.88rem; padding: 0 16px; border-radius: 10px; cursor: pointer;
}
.newsletter-msg { font-size: 0.84rem; color: var(--success); margin-top: 8px; min-height: 18px; }

/* ── Shop düzeni (sol kategori + ürün grid) ── */
.shop { display: grid; grid-template-columns: 244px 1fr; gap: 30px; padding: 26px 0 64px; align-items: start; }
/* Filtreler gizlendiğinde (ürün yok / hata) tek sütuna düş. */
.shop.no-filters { grid-template-columns: 1fr; }
.shop-sidebar {
  position: sticky; top: 120px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 18px; box-shadow: var(--shadow);
}
.shop-sidebar h3 { font-size: 0.95rem; margin: 0 0 12px; }
.shop-sidebar h3 + h3, .shop-sidebar .sidebar-select + h3 { margin-top: 22px; }
.shop-sidebar hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { margin-bottom: 3px; }
.cat-list button {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--body); font-size: 0.95rem; color: var(--ink);
  padding: 9px 11px; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  transition: background 0.12s, color 0.12s;
}
.cat-list button:hover { background: var(--bg-warm); }
.cat-list button.active { background: rgba(197, 107, 82, 0.12); color: var(--brand-dark); font-weight: 700; }
.cat-list .count { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.cat-list button.active .count { color: var(--brand-dark); }
.sidebar-select {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: var(--body); font-size: 0.92rem; background: #fdfbf9; color: var(--ink);
}
.sidebar-check { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--ink); margin-top: 16px; cursor: pointer; }
.sidebar-check input { accent-color: var(--brand); width: 16px; height: 16px; }

/* Mobil filtre aç/kapa butonu — masaüstünde gizli. */
.filter-toggle {
  display: none;
  width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 14px;
  font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow);
}
.filter-caret { transition: transform 0.2s; color: var(--muted); }
.filter-toggle.open .filter-caret { transform: rotate(180deg); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.result-count { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.shop .grid { padding-top: 0; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Trust bar (e-ticaret güven şeridi) ───── */
.trustbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.trustbar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; padding: 20px 22px;
}
.trust-item { display: inline-flex; align-items: center; gap: 11px; }
.trust-item .ic {
  width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(197, 107, 82, 0.12); border-radius: 11px; font-size: 1.15rem;
}
.trust-item b { display: block; font-family: var(--heading); font-size: 0.96rem; }
.trust-item small { display: block; color: var(--muted); font-size: 0.82rem; }

/* ── Catalog header (ürün sayısı vb.) ─────── */
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ── Slim app strip (uygulama tanıtımı küçültüldü) ── */
.appstrip { padding: 44px 22px 60px; }
.appstrip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 22px; padding: 24px 30px;
}
.appstrip-left { display: flex; align-items: center; gap: 16px; }
.appstrip-left img { width: 60px; height: 60px; flex: none; }
.appstrip-left .em { font-family: var(--heading); font-weight: 700; font-size: 1.12rem; }
.appstrip-left p { margin: 3px 0 0; color: var(--muted); font-size: 0.92rem; max-width: 420px; }
.appstrip .store-row { flex-wrap: wrap; }

/* ── FAQ ──────────────────────────────────── */
.faq { padding: 20px 22px 68px; max-width: 780px; }
.faq .section-title { text-align: center; }
.faq .section-sub { text-align: center; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--heading); font-weight: 700; font-size: 1.03rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--brand); font-size: 1.4rem; font-weight: 400;
  transition: transform 0.2s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: #5b504a; font-size: 0.98rem; }

/* ── Legal pages ──────────────────────────── */
.legal { width: 100%; max-width: 800px; margin: 0 auto; padding: 46px 22px 64px; }
.legal h1 { font-size: 2.1rem; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 26px; }
.legal .lead { font-size: 1.08rem; color: #4b423c; margin: 0 0 22px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #4b423c; font-size: 1.0rem; line-height: 1.75; }
.legal ul { padding-left: 20px; margin: 8px 0 16px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--brand-dark); font-weight: 600; }
.legal .legal-note {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; color: var(--muted);
  font-size: 0.9rem; margin-top: 32px;
}

/* ── Footer extra ─────────────────────────── */
.footer-pay { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.86rem; margin-top: 14px; }
.footer-pay strong { color: var(--brand-dark); }

/* ── Genel sayfa / kart ───────────────────── */
.page { padding-bottom: 64px; }
.page-title { font-size: 2rem; margin: 30px 0 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.card-h { font-size: 1.15rem; margin: 0 0 16px; }
.hidden { display: none !important; }
.empty.small { padding: 22px 0; }

/* ── Header sepet ikonu ───────────────────── */
.cart-link { position: relative; font-size: 1.3rem; text-decoration: none; margin-left: 6px; line-height: 1; }
.cart-badge {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}

/* ── Ürün detay satın alma ────────────────── */
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.buy-msg { margin-top: 12px; color: var(--success); font-weight: 600; }

/* ── Sepet ────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow);
}
.cart-thumb { width: 84px; height: 84px; border-radius: 12px; background: #efe7e0 center/cover no-repeat; display: block; }
.cart-info { min-width: 0; }
.cart-title { font-family: var(--heading); font-weight: 700; color: var(--ink); display: block; }
.cart-unit { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty-btn { border: none; background: #fff; width: 34px; height: 34px; font-size: 1.1rem; cursor: pointer; color: var(--brand-dark); }
.qty-btn:hover { background: var(--bg-warm); }
.qty-n { min-width: 34px; text-align: center; font-weight: 700; }
.cart-line { font-family: var(--heading); font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.cart-remove { border: none; background: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 6px; }
.cart-remove:hover { color: var(--danger); }

/* ── Özet kutusu (sepet + ödeme) ──────────── */
.cart-summary, .checkout-summary {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow);
}
.cart-summary h3, .checkout-summary h3 { margin: 0 0 16px; font-size: 1.1rem; }
.sum-row, .sum-item { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.96rem; }
.sum-muted { color: var(--muted); }
.sum-items { margin-bottom: 6px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.sum-total { display: flex; justify-content: space-between; font-family: var(--heading); font-weight: 800; font-size: 1.2rem; color: var(--brand-dark); margin: 12px 0 16px; padding-top: 10px; border-top: 1px solid var(--border); }
.checkout-secure { color: var(--muted); font-size: 0.82rem; text-align: center; margin: 12px 0 0; }

/* ── Ödeme düzeni ─────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.addr-opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 10px;
  border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.addr-opt.sel { border-color: var(--brand); background: rgba(197, 107, 82, 0.05); }
.addr-opt input { margin-top: 3px; accent-color: var(--brand); }
.addr-opt-title { font-weight: 700; }
.addr-opt-body { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.addr-toggle { margin: 6px 0 14px; }
.addr-form.hidden { display: none; }

/* ── Adres kartları (hesap) ───────────────── */
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 8px; }
.addr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.addr-card-title { font-family: var(--heading); font-weight: 700; }
.addr-default { background: rgba(197, 107, 82, 0.12); color: var(--brand-dark); font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-left: 4px; }
.addr-card-text { color: var(--muted); font-size: 0.92rem; margin-top: 3px; }
.addr-card-actions { display: flex; gap: 14px; }
.link-btn { border: none; background: none; color: var(--brand-dark); font-weight: 600; cursor: pointer; padding: 0; font-size: 0.92rem; }
.link-btn.danger { color: var(--danger); }
.link-btn:hover { text-decoration: underline; }

/* ── Hesap bilgi kartı ────────────────────── */
.account-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 520px; margin-bottom: 16px; }
.account-hello { color: var(--muted); font-size: 0.9rem; }
.account-email { font-family: var(--heading); font-weight: 700; font-size: 1.1rem; }

@media (max-width: 820px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-item {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas: "thumb info remove" "thumb qty line";
    row-gap: 10px;
  }
  .cart-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .cart-info { grid-area: info; }
  .cart-remove { grid-area: remove; justify-self: end; }
  .qty { grid-area: qty; }
  .cart-line { grid-area: line; justify-self: end; align-self: center; }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 44px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { width: min(240px, 60%); }
  .appcta-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .appcta p { margin-left: auto; margin-right: auto; }
  .store-row { justify-content: center; }
  .appcta-art { display: none; }
  .appstrip-inner { flex-direction: column; align-items: flex-start; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .shop { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 2.2rem; }
  .footer-cols { gap: 36px; }
  .appcta h2 { font-size: 1.6rem; }
}

/* ── Sipariş sonuç sayfası ── */
.order-result { display: flex; justify-content: center; padding: 20px 0 60px; }
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 34px;
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.result-icon {
  width: 76px; height: 76px; margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 700; line-height: 1;
}
.result-card.ok .result-icon { background: var(--success-bg); color: var(--success); }
.result-card.fail .result-icon { background: var(--danger-bg); color: var(--danger); }
.result-card.wait .result-icon { background: var(--bg-warm); color: var(--brand-dark); }
.result-card h1 { font-size: 1.6rem; margin: 0 0 16px; }
.result-body { color: var(--muted); line-height: 1.7; }
.result-body p { margin: 0 0 12px; }
.result-body b { color: var(--ink); }
.order-no {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  word-break: break-all;
}
.result-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBİL DÜZEN
   Dosyanın sonunda: aynı özgüllükteki kuralları bilinçli olarak ezer.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet ve altı: menü hamburger'a, filtreler açılır panele ── */
@media (max-width: 860px) {
  /* Hamburger görünür; bağlantılar açılır panele iner.
     Sepet ikonu panele GİRMEZ — her zaman tek dokunuşla erişilebilir. */
  .nav-toggle { display: flex; }
  .nav { gap: 6px; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 22px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 4px;                       /* rahat dokunma hedefi */
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
  .site-header .container { position: relative; }

  /* Hesabım menüsü mobilde yüzen kutu DEĞİL: hamburger panelinin içinde
     yerinde açılır, yoksa dar ekranda panelin dışına taşar. */
  .nav-acc { position: static; width: 100%; }
  .nav-acc-btn {
    width: 100%; justify-content: flex-start;
    padding: 14px 4px; border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
  }
  .nav-acc.open .nav-acc-btn { border-bottom-color: transparent; }
  .acc-menu {
    position: static; min-width: 0; padding: 0 0 8px;
    border: none; border-radius: 0; box-shadow: none; background: none;
  }
  .acc-menu::before { display: none; }
  .acc-menu a { padding: 12px 4px 12px 16px; border-bottom: none; font-size: 0.98rem; }
  .acc-menu-sep { margin: 4px 4px; }

  /* Filtreler: kapalı başlar, buton ile açılır. Ürünler hemen görünür. */
  .filter-toggle { display: flex; }
  .shop { grid-template-columns: 1fr; gap: 0; }
  .shop-sidebar { display: none; margin-bottom: 18px; }
  .shop-sidebar.open { display: block; }
}

/* ── Telefon ── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Kayan şerit mobilde YAPIŞKAN DEĞİL: şerit(40) + header(68) = 108px
     küçük ekranın tepesini yiyordu. Şerit yukarıda kalır, header yapışır. */
  .ticker { position: static; }
  .ticker + .site-header { top: 0; }
  .catalog-head, .faq, #catalog-grid { scroll-margin-top: 80px; }

  .site-header .container { height: 60px; }
  .logo { width: 104px; height: 40px; }
  .nav-links { padding: 8px 16px 16px; }

  /* Mağaza ızgarası 2 sütun — tek sütun mobilde çok yer kaplıyor,
     kullanıcı ürünleri karşılaştıramıyor. */
  .grid, .shop .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 44px;
  }
  .card-title { font-size: 0.95rem; }
  .card-body { padding: 12px 13px 14px; }
  .card-badge { font-size: 0.66rem; padding: 4px 8px; top: 8px; left: 8px; }

  /* Araç çubuğu alt alta: arama tam genişlik olsun */
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .catalog-search { max-width: none; }
  .result-count { text-align: right; }

  /* Başlıklar */
  .page-title { font-size: 1.6rem; }

  /* Sipariş sonuç kartı: kenar boşlukları küçülsün */
  .result-card { padding: 32px 20px; }
  .result-card h1 { font-size: 1.35rem; }
  .result-icon { width: 62px; height: 62px; font-size: 1.8rem; }
  .result-actions .btn { width: 100%; }

  /* Footer sütunları taşmasın */
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  .footer-inner { padding: 34px 16px 22px; }

  /* Güven şeridi sıkışsın. justify-content:center her satırı ayrı ayrı
     ortaladığı için sol kenarlar tırtıklı çıkıyordu — alt alta ve sola hizalı. */
  .trustbar-inner { gap: 12px; padding: 14px 16px; justify-content: flex-start; }
  .trust-item { font-size: 0.88rem; width: 100%; }

  /* Ödeme özeti formdan sonra geliyor; buton rahat basılsın */
  .checkout-summary .btn, .cart-summary .btn { width: 100%; }
}

/* ── iOS Safari: 16px'ten küçük yazı tipli input'a odaklanınca sayfayı
   otomatik yakınlaştırır ve düzen bozulur. Mobilde tüm form alanları 16px. ── */
@media (max-width: 860px) {
  input, select, textarea,
  .field input, .catalog-search input, .sidebar-select {
    font-size: 16px;
  }
}

/* ── Çok dar ekranlar (≤360px) ── */
@media (max-width: 380px) {
  .grid, .shop .grid { grid-template-columns: 1fr; }
  .logo { width: 96px; }
}

/* ── Hesap sayfaları ──────────────────────────
   Her hesap işi (siparişler / adresler / bilgiler) kendi kısa sayfasında.
   Üstteki şerit sayfalar arasında tek tıkla geçmeyi sağlar; header'daki
   açılır menünün sayfa içindeki karşılığı. */
.acct-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 0;
}
.acct-tabs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); font-weight: 600; font-size: 0.93rem;
  box-shadow: var(--shadow);
}
.acct-tabs a:hover { border-color: var(--brand); color: var(--brand-dark); }
.acct-tabs a.active {
  background: var(--warm); border-color: transparent; color: #fff;
  box-shadow: 0 8px 18px rgba(165, 83, 60, 0.26);
}
.acct-tabs a.active:hover { color: #fff; }

.acct-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.acct-head h1 { font-size: 1.7rem; margin: 26px 0 6px; }
.acct-head .section-sub { margin-bottom: 18px; }

/* ── Açılır pencere (adres ekle/düzenle) ──────
   Form sayfanın altında dururken sayfayı ikiye katlıyordu; pencereye
   alınınca liste sayfası tek ekrana sığıyor. */
.modal-back {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(44, 36, 32, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  overflow-y: auto;
}
.modal-back.hidden { display: none !important; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 460px;
  max-height: 100%; overflow-y: auto;
  padding: 24px 26px 26px;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.modal-head h2 { margin: 0; font-size: 1.2rem; }
.modal-close {
  border: none; background: none; cursor: pointer;
  font-size: 1.2rem; color: var(--muted); line-height: 1; padding: 4px 6px;
  border-radius: 8px;
}
.modal-close:hover { background: var(--bg-warm); color: var(--ink); }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }

@media (max-width: 560px) {
  .modal { padding: 20px 18px 22px; }
  .acct-tabs { gap: 6px; }
  .acct-tabs a { padding: 8px 13px; font-size: 0.88rem; }
}

/* ── 404 ──────────────────────────────────── */
.notfound-page { text-align: center; padding-top: 40px; max-width: 620px; }
.notfound-art {
  width: 150px; height: auto; margin: 0 auto;
  opacity: 0.9; filter: drop-shadow(0 14px 20px rgba(90, 55, 40, 0.16));
}
.notfound-code {
  font-family: var(--heading); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.2em; color: var(--brand); margin: 10px 0 4px;
}
.notfound-page h1 { font-size: 1.9rem; margin: 0 0 10px; }
.notfound-text { color: var(--muted); margin: 0 auto; max-width: 420px; }

/* ═══════════════════════════════════════════════════════════════
   GENİŞ EKRANLAR
   Sabit 1120px, 2K/4K monitörlerde içeriği ortada ince bir şerit gibi
   bırakıyordu. Izgara genişleyince kart BÜYÜMEZ, sütun SAYISI artar
   (minmax(220px, 1fr)) — e-ticarette istenen davranış bu.

   Okuma genişliği önemli olan bloklar bilinçli olarak DAR kalır:
   • .legal → .container değil, kendi 800px'i var, buradan etkilenmiyor
   • .faq   → .container sınıfını da taşıyor; burada açıkça yeniden
     dar tutulmazsa aşağıdaki kural onu da genişletirdi (uzun satır = zor okuma)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1500px) {
  .container { max-width: 1320px; }
  .faq { max-width: 780px; }
  .banner-card { min-height: 360px; }
  .banner-content { padding: 52px 60px; max-width: 56%; }
  .banner-content h1 { font-size: 3.2rem; }
  .shop { grid-template-columns: 268px 1fr; gap: 36px; }
}
@media (min-width: 1900px) {
  .container { max-width: 1560px; }
  .faq { max-width: 780px; }
  .banner-card { min-height: 400px; }
  .banner-content h1 { font-size: 3.5rem; }
}

/* ── Hesabım → Siparişlerim ── */
.my-orders { display: flex; flex-direction: column; gap: 14px; }
.my-order {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px 20px;
}
.my-order-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.my-order-date { font-family: var(--heading); font-weight: 700; }
.my-order-no { color: var(--muted); font-size: 0.82rem; word-break: break-all; }
.my-order-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.my-order .badge {
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.badge.paid, .badge.delivered { background: var(--success-bg); color: var(--success); }
.badge.pending, .badge.preparing { background: #fff4e0; color: #a76b00; }
.badge.shipped { background: #e3f0fd; color: #1a5f9e; }
.badge.failed, .badge.cancelled { background: var(--danger-bg); color: var(--danger); }
.badge.refunded { background: #f0ece9; color: #6b615b; }

.my-order-items { list-style: none; margin: 0 0 12px; padding: 0; }
.my-order-items li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.my-order-items li:last-child { border-bottom: none; }
.my-order-items .qty-x { color: var(--muted); font-weight: 600; }

.order-track {
  background: var(--bg-warm); border-radius: var(--radius);
  padding: 11px 14px; font-size: 0.92rem; margin-bottom: 12px;
}
.order-track.muted { background: var(--bg); color: var(--muted); }

.my-order-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 12px;
  font-size: 1.02rem;
}
.my-order-foot b { font-family: var(--heading); font-size: 1.12rem; }

@media (max-width: 600px) {
  .my-order { padding: 15px 16px; }
  .my-order-head { flex-direction: column; gap: 8px; }
}
