/* ═══════════════════════════════════════════════════════════════
   ÖZAY EV REÇELLERİ — ORTAK STİLLER
   Sıcak toprak tonları — orta yaş ve üzeri kitleye uygun büyük tipografi
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #FBF5EA; --bg-soft: #F3E9D2; --card: #FFFFFF;
  --primary: #8B2A1E; --primary-dark: #6B1E14;
  --accent: #C8842B; --accent-soft: #E8B86B;
  --accent-text: #8F5A14; /* metin için koyu vurgu — krem #FBF5EA üzerinde 5.32:1, beyazda 5.77:1 (WCAG AA ≥4.5) */
  --text: #2A1810; --text-soft: #5C4838; --border: #E8D5B7;
  --success: #2E7D32; --success-soft: #E6F0E1; --danger: #B83C2E; --warning: #C88523;
  /* ── Boşluk ölçeği ─────────────────────────────────
     Referans tasarım sistemlerinin (Stripe, Airbnb, Starbucks) 8px tabanlı
     kalıbı. Kodda 34 farklı boşluk değeri vardı; bu adımlara BİREBİR uyanlar
     token'a taşındı (padding/margin/gap bildirimlerinin %40'ı). Ölçek dışı
     kalanlar — 6/10/14/18/20/28 — bilerek ham bırakıldı: en yakın adıma
     çekmek düzeni kaydırır, yani tasarım kararıdır, mekanik değişiklik değil.
     Yeni kod bu token'ları kullanmalı. */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --radius: 14px; --radius-lg: 22px;
  /* Tek ağır katman yerine 2 düşük-alfa katman: yakın gölge nesneyi yüzeye
     oturtur, uzak gölge yüksekliği verir. Toplam koyuluk eşdeğer tutuldu. */
  --shadow-sm: 0 1px 2px rgba(60, 30, 10, 0.05), 0 2px 8px rgba(60, 30, 10, 0.05);
  --shadow: 0 2px 6px rgba(60, 30, 10, 0.05), 0 10px 24px rgba(60, 30, 10, 0.08);
  --shadow-lg: 0 4px 12px rgba(60, 30, 10, 0.07), 0 22px 50px rgba(60, 30, 10, 0.14);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* İnce kağıt dokusu — düz krem zemini "AI-default" hissinden çıkarır.
   Üst katman, etkileşimsiz (pointer-events:none), çok düşük opacity. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; }

/* Yalnız ekran okuyucuya görünen metin — görsel düzeni hiç etkilemez.
   Çok adımlı sayfalarda (eposta-dogrula, abonelik-iptal) tek <h1> sağlamak için. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── İçeriğe atla (WCAG 2.4.1) ───────────────────────
   Header + nav taşıyan sayfalarda ilk odak durağı. Normalde ekran dışında;
   yalnız klavyeyle odaklanınca görünür olur. */
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 300;
  background: var(--primary); color: #fff;
  padding: var(--space-3) 18px; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; font-size: 16px;
  transition: top .15s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ── Klavye odak halkası ─────────────────────────────
   Tarayıcı varsayılanı ince turuncu; sıcak krem/kahve palette kayboluyordu.
   :focus-visible kullanılır — fareyle tıklayınca halka çıkmaz. */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Çift dokunma yakınlaştırma gecikmesini kaldırır (telefonda ~300ms). */
a, button, [role="button"], input, select, textarea, label { touch-action: manipulation; }

/* <picture> yalnızca WebP/JPEG seçimi için sarmalayıcıdır; layout'ta hiç yer
   almamalı. display:contents ile <img> doğrudan kapsayıcının flex/grid çocuğu
   kalır — .product-img, .ss-thumb gibi kutuların kuralları aynen çalışır. */
picture { display: contents; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
/* Dar telefon (iPhone SE, eski Android): 24px yan boşluk içerik alanından
   48px götürüyor — 320px'te okunur genişlik kalmıyor. */
@media (max-width: 360px) { .container { padding: 0 var(--space-4); } }

/* ── BUTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .15s var(--ease-out), box-shadow .2s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active:not([disabled]) { transform: scale(0.97); }
/* .btn sınıfı taşımayan etkileşimli öğelerde basılı geri bildirimi yoktu.
   Parmağın altında tepki vermeyen kontrol "çalışmadı" hissi veriyor. */
.product-add:not([disabled]):active, .cat:active, .cart-btn:active,
.hsearch:active, .load-more:active, .modal-close:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
/* Zemin --accent (#C8842B) değil --accent-text: beyaz metinle 3.09:1 kalıyordu,
   koyu amber ile 5.76:1 (WCAG AA). Hover daha da koyulaşır — açılırsa oran düşer. */
.btn-accent { background: var(--accent-text); color: #fff; }
.btn-accent:hover { background: #7A4D11; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1FB955; transform: translateY(-1px); }
.btn-soft { background: var(--bg-soft); color: var(--text); }
.btn-soft:hover { background: var(--border); }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
/* text-wrap: balance — başlıkların son satırında tek kelime kalmasını önler. */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin-bottom: var(--space-3);
}
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 18px; }

/* ── HEADER ─────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 245, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5); max-width: var(--container); margin: 0 auto; gap: var(--space-4);
}
.brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff url("/logo-112.png") center / 80% no-repeat;
  box-shadow: var(--shadow-sm); flex-shrink: 0;
  border: 1px solid var(--border);
  font-size: 0; /* "Ö" metin düğümünü gizle — marka logo arka plandan gelir */
}
.brand-name { font-family: var(--font-serif); font-size: 20px; line-height: 1.1; }
.brand-tag { font-size: 12px; letter-spacing: 1.5px; color: var(--text-soft); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
/* white-space: nowrap — "Sıkça Sorulanlar" ve "Sipariş Takibi" kendi içlerinde
   iki satıra kırılıyordu. Yedek fontla tek satıra sığıp Manrope yüklenince
   kırıldıkları için header 42→66px büyüyor ve SAYFANIN TAMAMI 22px kayıyordu:
   ölçülen CLS'in %96'sı (0.0689) buradan geliyordu. */
.nav a {
  font-weight: 600; font-size: 15px; color: var(--text);
  padding: var(--space-2) var(--space-1); border-bottom: 2px solid transparent; transition: border-color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.iconbtn {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.iconbtn:hover { background: var(--border); }

.cart-btn {
  /* min-height 44: dokunma hedefi 42px kalıyordu (WCAG 2.5.5). */
  position: relative; padding: 10px 18px; min-height: 44px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; gap: var(--space-2);
  box-shadow: var(--shadow-sm); transition: background .2s;
}
.cart-btn:hover { background: var(--primary-dark); }
.cart-count {
  /* Beyaz rakam amber üzerinde 3.09:1 idi; koyu metinle 5.50:1 ve amber vurgu korunur. */
  background: var(--accent); color: var(--text);
  border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; padding: 0 6px;
}

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border-radius: 12px; color: var(--text);
  }
  .menu-toggle:hover { background: var(--bg-soft); }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: var(--space-3) var(--space-5) 20px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .brand-tag { display: none; }
  .cart-btn span.cart-label { display: none; }
}

/* ── SİTE İÇİ ARAMA ─────────────────────────────────── */
/* Header tetikleyicisi: masaüstünde yuvarlak ikon, mobilde logo ile
   ikonlar arasındaki boşluğu dolduran "Sitede ara" hapı. */
/* Header içindeki küçük butonlar dokunma hedefini karşılasın (30px idi). */
.header-inner .btn-sm { min-height: 44px; }

.hsearch {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 999px; background: var(--bg-soft); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hsearch:hover { background: var(--border); }
.hsearch svg { flex-shrink: 0; }
.hsearch-label { display: none; }

@media (max-width: 980px) {
  .header-actions { flex: 1; min-width: 0; justify-content: flex-end; }
  /* Yer daralınca yalnızca arama hapı küçülsün; sepet/menü tam boyunda kalsın */
  .header-actions > :not(.hsearch) { flex-shrink: 0; }
  .hsearch {
    flex: 1 1 auto; width: auto; min-width: 44px; max-width: 300px;
    justify-content: flex-start; gap: var(--space-2); padding: 0 13px;
  }
  .hsearch-uzun {
    display: block; font-size: 14px; font-weight: 600; color: var(--text-soft);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
}
/* Dar telefonda "Sitede ara" sığmaz — kısa etikete düş (panelde tam ipucu var) */
@media (max-width: 420px) {
  .hsearch-uzun { display: none; }
  .hsearch-kisa { display: block; font-size: 14px; font-weight: 600; color: var(--text-soft); }
}

.ss-panel[hidden] { display: none; }
.ss-panel { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-start; }
.ss-arka { position: absolute; inset: 0; background: rgba(42, 24, 16, 0.45); opacity: 0; transition: opacity .18s ease; }
.ss-panel.ss-goster .ss-arka { opacity: 1; }
.ss-kutu {
  position: relative; width: min(640px, 100%); margin-top: min(9vh, 76px);
  max-height: min(80vh, 640px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-10px) scale(0.98);
  transition: opacity .18s ease, transform .18s var(--ease-out);
}
.ss-panel.ss-goster .ss-kutu { opacity: 1; transform: none; }
.ss-ust { display: flex; align-items: center; gap: 10px; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); background: var(--bg); }
/* .ss-input'ta outline:none var; odak halkası sarmalayıcıda gösterilir. */
.ss-ust:focus-within { outline: 3px solid var(--primary); outline-offset: -3px; }
.ss-ust-ikon { display: flex; color: var(--primary); }
.ss-input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-size: 17px; color: var(--text); padding: var(--space-2) 0; }
.ss-input::placeholder { color: var(--text-soft); }
.ss-input::-webkit-search-cancel-button { display: none; }
.ss-kapat { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-soft); flex-shrink: 0; }
.ss-kapat:hover { background: var(--bg-soft); color: var(--text); }
.ss-sonuc { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0 var(--space-2); }
.ss-sayac { padding: var(--space-2) var(--space-4); border-top: 1px solid var(--border); background: var(--bg); font-size: 12px; color: var(--text-soft); min-height: 33px; }

.ss-grup + .ss-grup { border-top: 1px solid var(--border); margin-top: 6px; }
.ss-grup-baslik { font-family: var(--font-sans); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-soft); padding: var(--space-3) 18px 6px; }
.ss-row { display: flex; align-items: center; gap: var(--space-3); padding: 10px 18px; transition: background .15s; }
.ss-row:hover, .ss-row.ss-aktif { background: var(--bg-soft); }
.ss-metin { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ss-baslik { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.ss-baslik, .ss-alt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-alt { font-size: 13px; color: var(--text-soft); }
.ss-fiyat { font-family: var(--font-serif); font-size: 17px; color: var(--primary); flex-shrink: 0; }

/* Ürün satırı — fotoğraflı kart hissi */
.ss-thumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.ss-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ss-thumb-svg { color: #fff; }
.ss-tukendi { color: var(--danger); }

/* Sipariş satırı — fiş hissi: altın şerit + hafif zemin */
.ss-g-siparis .ss-row {
  margin: 3px var(--space-3); padding: 10px 14px; border-radius: 12px;
  border-left: 3px solid var(--accent); background: rgba(200, 132, 43, 0.08);
}
.ss-g-siparis .ss-row:hover, .ss-g-siparis .ss-row.ss-aktif { background: rgba(200, 132, 43, 0.18); }
.ss-no { font-family: var(--font-serif); font-size: 16px; color: var(--primary); }

/* Sayfa satırı — sade menü listesi */
.ss-sayfa .ss-ikon { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-sayfa .ss-alt { font-weight: 400; }
.ss-ok { color: var(--text-soft); display: flex; flex-shrink: 0; }

.ss-tumu { display: block; padding: 10px 18px 14px; font-size: 14px; font-weight: 700; color: var(--primary); }
.ss-tumu:hover { text-decoration: underline; }
.ss-cipler { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-1) 18px var(--space-3); }
.ss-cip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 600; transition: background .15s; }
.ss-cip:hover, .ss-cip.ss-aktif { background: var(--border); }
.ss-ipucu { padding: 0 18px 14px; font-size: 13px; color: var(--text-soft); }
.ss-bos { padding: 30px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
body.ss-kilit { overflow: hidden; }

@media (max-width: 680px) {
  .ss-kutu { width: 100%; height: 100%; max-height: 100%; margin-top: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-kutu, .ss-arka { transition: none; }
}

/* ── FORMS ──────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: var(--space-2); color: var(--text); }
/* Zorunlu alan göstergesi tek yerden: bazı etiketlerde elle "*" vardı,
   bazılarında hiç yoktu. :has() ile işaret alanın kendisinden türetilir,
   böylece required kaldırılınca yıldız da kendiliğinden kalkar. */
.field:has(input:required, select:required, textarea:required) > label::after {
  content: " *"; color: var(--danger); font-weight: 800;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px var(--space-4);
  border: 2px solid var(--border); border-radius: 12px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
/* Telefon alanı: ülke kodu açılır listesi + yerel numara, tek kutu gibi durur.
   Kutuya yalnız 10 hane yazılır; ülke kodu ayrı (bkz. shared.js telefonAlaniKur). */
.tel-grup { display: flex; gap: var(--space-2); align-items: stretch; }
.tel-grup .tel-ulke { width: auto; flex: 0 0 auto; padding: 14px 10px; font-size: 16px; }
.tel-grup input { flex: 1 1 auto; min-width: 0; }

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 42, 30, 0.1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: var(--danger); font-size: 13px; margin-top: 6px; display: none; }
.field-error.show { display: block; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ── MODAL ──────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(42, 24, 16, 0.6);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg); border-radius: var(--radius-lg);
  max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95); transition: transform .25s;
}
.modal-backdrop.open .modal { transform: scale(1); }
.modal-head {
  padding: var(--space-5) 28px 20px; display: flex; align-items: center; justify-content: space-between;
}
.modal-head h3 { font-size: 1.6rem; }
.modal-body { padding: 0 28px 28px; }
/* 44×44 dokunma hedefi (WCAG 2.5.8 / plan 29 B4). flex-shrink:0 şart:
   .modal-head bir flex kabı, başlık uzunsa buton 38px'e büzülüyordu. */
.modal-close {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: background .2s;
}
.modal-close:hover { background: var(--bg-soft); }

/* ── TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff;
  padding: var(--space-4) 28px; border-radius: 16px;
  font-weight: 700; font-size: 17px;
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  z-index: 1000; box-shadow: 0 12px 32px rgba(60, 30, 10, 0.28);
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--danger); }

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--text); color: rgba(255,255,255,0.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer h3 {
  color: #fff; font-family: var(--font-sans);
  font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: var(--space-4);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--accent-soft); }
.footer-brand .brand-name { color: #fff; font-size: 26px; margin-bottom: var(--space-3); display: block; }
.footer-brand p { opacity: 0.75; line-height: 1.7; max-width: 360px; }
.footer-lockup { display: flex; align-items: center; gap: var(--space-3); margin-bottom: 14px; }
.footer-lockup .brand-name { margin-bottom: 0; }
.footer-mark { width: 42px; height: 42px; border-radius: 50%; background: #fff url("/logo-112.png") center / 80% no-repeat; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.footer-brand .footer-trust { opacity: 1; color: #9CCC65; font-weight: 600; font-size: 13px; letter-spacing: 0.3px; margin: var(--space-2) 0 var(--space-4); max-width: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px; opacity: 0.65; text-align: center;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── SAYFA YOLU (breadcrumb) ────────────────────────
   Alt sayfalarda "← Ana sayfaya dön" yerine tam yol: hem kullanıcı nerede
   olduğunu görür hem Google arama sonucunda kırıntı yolu gösterebilir. */
.crumbs { font-size: 15px; color: var(--text-soft); display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); align-items: center; margin-bottom: 18px; }
.crumbs a { color: var(--text-soft); padding: 10px 2px; margin: -10px 0; }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { opacity: 0.5; }
.crumbs .cur { color: var(--text); font-weight: 600; }

/* ── MOBİL SABİT CTA BARI ───────────────────────────
   Telefonda ana eylem (Sepete Ekle / Sepeti Onayla) scroll ile ekrandan
   çıkıyordu. Yalnız mobilde ve yalnız gerektiğinde (.show) görünür.
   z-index 95: WhatsApp FAB'ın (90) üstünde, çerez banner'ının (120) altında. */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; align-items: center; gap: var(--space-3);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 245, 234, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(60, 30, 10, 0.12);
  transform: translateY(100%);
  transition: transform .25s var(--ease-out);
}
.mcta.show { transform: translateY(0); }
.mcta-info { flex: 0 0 auto; line-height: 1.25; }
.mcta-info .l { display: block; font-size: 13px; color: var(--text-soft); }
.mcta-info .v { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--primary); font-variant-numeric: tabular-nums; }
.mcta .btn { flex: 1; min-height: 52px; font-size: 17px; }

@media (max-width: 720px) {
  .mcta { display: flex; }
  /* Bar açıkken sayfa sonu bar altında kalmasın + FAB yukarı kaçsın */
  body.mcta-on { padding-bottom: 84px; }
  body.mcta-on .fab-wa { bottom: 96px; }
}

/* ── MİNİ FOOTER (yasal & bilgi sayfaları) ──────────
   Bu sayfalar eskiden link çıkmazıydı: yalnızca "/" linki vardı, ziyaretçi
   siteye dönmek için tarayıcı geri tuşuna mecburdu. */
.mini-footer { max-width: 820px; margin: 0 auto; padding: 0 20px 60px; }
.mini-footer .mf-inner { border-top: 1px solid var(--border); padding-top: 22px; }
.mini-footer h2, .mini-footer h3 { font-size: 15px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-3); }
.mini-footer ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: var(--space-1) 20px; }
.mini-footer a { color: var(--primary); font-size: 16px; padding: var(--space-2) 0; display: inline-block; }
.mini-footer .mf-contact { font-size: 15px; color: var(--text-soft); line-height: 1.7; }
.mini-footer .mf-contact a { font-size: 15px; padding: var(--space-1) 0; }
.mini-footer .mf-telif { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-soft); }

/* ── ÇEREZ ONAY BANNER'I ────────────────────────────
   analytics.js tarafından basılır. WhatsApp FAB'ı (z-index 90) örtmemesi için
   sağ altta 96px boşluk bırakılır; mobilde butonlar tam genişlik. */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: var(--text); color: #fff;
  padding: var(--space-4) 20px var(--space-4) 20px;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4); flex-wrap: wrap;
  box-shadow: 0 -8px 28px rgba(60, 30, 10, 0.22);
}
.cookie-banner .cookie-text { font-size: 15px; line-height: 1.55; flex: 1; min-width: 240px; margin: 0; }
.cookie-banner .cookie-text a { color: var(--accent-soft); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { min-height: 44px; }
.cookie-banner .btn-soft { background: rgba(255,255,255,0.14); color: #fff; }
.cookie-banner .btn-soft:hover { background: rgba(255,255,255,0.24); }
@media (min-width: 721px) { .cookie-banner { padding-right: 96px; } }
@media (max-width: 720px) {
  /* Band 189px ile ekranın %23'ünü yiyordu; punto/dolgu/aralık sıkıldı.
     Metin KVKK onay metni olduğu için kısaltılmadı — o karar işletmenin. */
  .cookie-banner {
    flex-direction: column; align-items: stretch;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .cookie-banner .cookie-text { font-size: 14px; line-height: 1.45; }
  .cookie-banner .cookie-actions { width: 100%; }
  .cookie-banner .cookie-actions .btn { flex: 1; min-height: 44px; }
}
/* "Reddet" yalnız %14 opak zeminle neredeyse görünmezdi; iki seçenek de gerçek
   seçenek gibi okunmalı (gizlilik dostu seçeneği bastırmak karanlık desen). */
.cookie-banner .btn-soft { border: 2px solid rgba(255,255,255,0.45); }

/* ── FLOATING WHATSAPP ──────────────────────────────── */
.fab-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 90; transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
/* Çerez bandı açıkken FAB onun üstüne çıkar. Banda z-index 120, FAB 90 — eskiden
   FAB tamamen bandın arkasında kalıp tıklanamıyordu (mobilde tümüyle, masaüstünde
   kısmen; masaüstündeki `padding-right: 96px` yalnız metne yer açıyordu, bandın zeminine değil). Yükseklik JS'ten --cerez-h ile gelir; band sarmalanınca değişir. */
body.cerez-acik .fab-wa { bottom: calc(var(--cerez-h, 0px) + 16px); }

/* ── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }

/* ── DOKUNMA HEDEFİ GENİŞLETME (M13 mobil sweep) ────────
   Görünümü ve layout'u DEĞİŞTİRMEDEN tıklanabilir alanı
   ≥44px'e çıkarır (atlas §12, 40+ yaş kitle). Görünmez
   pseudo-element yalnızca hit-area'yı büyütür. */
.btn-sm { position: relative; }
.btn-sm::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }
.cart-btn::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; bottom: -2px; }
.socials a { position: relative; }
.socials a::after { content: ""; position: absolute; inset: -2px; }
/* .modal-close artık gerçekten 44×44 — görünmez alan genişletmesine gerek yok. */

/* ── BADGES & UTILITY ───────────────────────────────── */
.badge {
  display: inline-block; padding: var(--space-1) 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-success { background: rgba(74, 124, 58, 0.15); color: var(--success); }
.badge-warning { background: rgba(200, 133, 35, 0.15); color: var(--warning); }
.badge-danger { background: rgba(184, 60, 46, 0.15); color: var(--danger); }
.badge-soft { background: var(--bg-soft); color: var(--text-soft); }
.badge-primary { background: rgba(139, 42, 30, 0.12); color: var(--primary); }

/* ── JAR (SVG ürün görseli) ─────────────────────────── */
.jar-mini { transition: transform .3s; }
.product:hover .jar-mini { transform: scale(1.05) rotate(-2deg); }

/* MOBİL header: dar ekranda marka ad metnini gizle (logo zaten ÖZAY wordmark; header taşmasını önler) */
@media (max-width: 600px) {
  .header .brand-name { display: none; }
  /* Arama hapına yer açmak için kenar boşluklarını ve sepet iç dolgusunu daralt */
  .header-inner { padding: 14px var(--space-4); gap: 10px; }
  .header-actions { gap: var(--space-2); }
  .header .cart-btn { padding: 10px 13px; }
  /* Misafirdeyken "Giriş Yap" metni geniş; dar telefonda arama etiketi yerine ikon kalsın */
  body.misafir .hsearch-label { display: none; }
}

/* ── ÖDEME ROZETLERİ (checkout güven şeridi) ────────
   Kart bilgisi girmeden hemen önceki tereddüt anında görünür.
   iyzico merchant başvurusu da sitede bu logoları şart koşuyor.
   Görseller inline SVG — harici istek yok, CSP genişletilmiyor. */
.odeme-rozetleri {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-top: 14px;
}
.odeme-rozetleri .rozet {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  font-size: 12px; font-weight: 700; color: var(--text-soft);
  line-height: 1;
}
.odeme-rozetleri .rozet svg { display: block; }
.rozet-iyzico { color: #1E64FF; letter-spacing: -0.3px; font-size: 13px; }
.rozet-3d { font-size: 11px; letter-spacing: 0.3px; }
