@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Karla:wght@400;500;600;700&display=swap');

:root {
  --bg: #faf7f4;
  --bg-warm: #fbefe9;
  --surface: #ffffff;
  --ink: #2c2420;
  --muted: #8a7d74;
  --brand: #c56b52;
  --brand-dark: #a5533c;
  --border: #ece5df;
  --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; }

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

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); }

.container { 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, .how, .faq { 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 a { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.nav a:hover { color: var(--brand); }

/* ── 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); } }

/* ── How it works ─────────────────────────── */
.how { padding: 54px 22px 20px; text-align: center; }
.how .section-title { font-size: 1.9rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow);
}
.step-ic {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  background: rgba(197, 107, 82, 0.12);
  border-radius: 50%;
}
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ── 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;
}
.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;
}
.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;
}
.card-img {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  background: #efe7e0 center/cover no-repeat;
  transition: transform 0.4s ease;
}
.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; }
.card:hover .card-cta { opacity: 1; transform: translateX(0); }
.badge-free {
  display: inline-block; background: #e6f4ea; color: #2e7d4f;
  font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 7px;
}

/* ── Product detail ───────────────────────── */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding: 44px 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); }
.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; }
.detail p.desc { color: #5b504a; font-size: 1.05rem; }
.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: #c0392b; }
.form-msg.success { color: #2e7d4f; }
.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; }

/* ── 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; }

/* ── Features band (Neden KnitHelp) ───────── */
.features { padding: 60px 22px 24px; text-align: center; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px;
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-ic {
  width: 54px; height: 54px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: rgba(197, 107, 82, 0.12); border-radius: 15px;
}
.feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ── 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; }

/* ── Slim hero (shop sayfası başlığı) ─────── */
.hero-slim { text-align: left; }
.hero-slim .container { padding-top: 32px; padding-bottom: 28px; }
.hero-slim h1 { font-size: 2.1rem; margin: 10px 0 8px; }
.hero-slim p { color: #5b504a; max-width: 640px; margin: 0; font-size: 1.05rem; }

/* ── 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; }
.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; }

.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 { 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: #c0392b; }

/* ── Ö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: #c0392b; }
.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%); }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .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; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 36px; }
  .appcta h2 { font-size: 1.6rem; }
}
