/* Vienca bayi sitesi. Sade sipariş ekranı: az süs, büyük dokunma alanları, telefonda uygulama gibi (Koray 01.12.2026).
   Yön bağımsız yazılır (margin-inline, inset-inline…): Arapçada sayfa kendiliğinden sağdan sola döner. */
:root {
  --zemin: #fff; --yazi: #141414; --soluk: #6f6f6f; --cizgi: #e8e8e8; --yuzey: #f5f5f4; --vurgu: #f5c400; --koyu: #141414;
  --hata: #b3261e; --hata-zemin: #fdecea; --tamam: #1e7b45; --tamam-zemin: #e8f5ec; --uyari-zemin: #fff6d6;
  --yaricap: 12px; --alt: 0px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--zemin); color: var(--yazi); font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Arabic', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 1.35rem; } h2 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
small { font-size: .82rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--yazi); outline-offset: 2px; }
.gizli { display: none !important; }
.soluk { color: var(--soluk); }
.simge { width: 22px; height: 22px; flex: none; }
[dir="rtl"] .satir-liste .simge, [dir="rtl"] .bg-onceki .simge, [dir="rtl"] .bg-sonraki .simge { transform: scaleX(-1); }

/* ---------- Üst çubuk ---------- */
.ust { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--cizgi); }
.ust-ic { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.logo { flex: none; }
.logo img { width: 90px; height: auto; }
.ust-ara { flex: 1 1 0; min-width: 0; display: flex; align-items: center; max-width: 420px; background: var(--yuzey); border-radius: 999px; padding-inline: 14px 4px; }
.ust-ara input { flex: 1 1 0; width: 0; min-width: 0; border: 0; background: none; padding: 9px 0; outline: none; font-size: 16px; text-overflow: ellipsis; }
.ust-ara input::-webkit-search-cancel-button { display: none; }
.ust-ara button { border: 0; background: none; padding: 7px; display: flex; color: var(--soluk); border-radius: 50%; }
.ust-menu { display: none; align-items: center; gap: 4px; margin-inline-start: auto; }
.ust-menu > a, .acilir > summary { padding: 8px 12px; border-radius: 999px; font-weight: 550; font-size: .95rem; white-space: nowrap; }
.ust-menu > a:hover, .acilir > summary:hover, .ust-menu > a.secili { background: var(--yuzey); }
.ust-menu > a.vurgu { background: var(--koyu); color: #fff; }
.acilir { position: relative; }
.acilir > summary { list-style: none; cursor: pointer; user-select: none; }
.acilir > summary::-webkit-details-marker { display: none; }
.acilir-liste { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 190px; background: #fff; border: 1px solid var(--cizgi); border-radius: var(--yaricap); box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 6px; display: grid; z-index: 30; }
.acilir-liste a { padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.acilir-liste a:hover, .acilir-liste a.secili { background: var(--yuzey); }
.dil-sec { margin-inline-start: auto; }
.dil-sec > summary { border: 1px solid var(--cizgi); font-size: .85rem; padding: 7px 11px; }
.ust-sepet { position: relative; display: flex; padding: 8px; border-radius: 50%; }
.ust-sepet:hover { background: var(--yuzey); }
.sayac { position: absolute; top: 0; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vurgu); color: #141414; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; }

/* ---------- Alt çubuk (telefon) ---------- */
.alt-cubuk { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--cizgi); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); }
.alt-cubuk a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; color: var(--soluk); }
.alt-cubuk a.secili { color: var(--yazi); font-weight: 650; }
.alt-cubuk .sayac { top: 3px; inset-inline-end: calc(50% - 22px); }
body { --alt: calc(58px + env(safe-area-inset-bottom)); }

.kap { max-width: 1240px; margin: 0 auto; padding: 16px 16px calc(32px + var(--alt)); }
.kap.dar { max-width: 520px; }
footer.alt { border-top: 1px solid var(--cizgi); color: var(--soluk); font-size: .82rem; margin-bottom: var(--alt); }
footer.alt .kap { padding-block: 18px; }

/* ---------- Düğmeler ve formlar ---------- */
.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--koyu); background: var(--koyu); color: #fff; padding: 13px 20px; border-radius: var(--yaricap); font-weight: 650; text-align: center; min-height: 48px; }
.dugme:hover { opacity: .88; }
.dugme.ikincil { background: #fff; color: var(--yazi); border-color: #cfcfcf; }
.dugme.genis { width: 100%; }
.dugme.kucuk { padding: 8px 12px; min-height: 38px; font-size: .88rem; font-weight: 600; }
.metin-dugme { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 4px; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.metin-dugme.orta { display: flex; justify-content: center; margin-top: 6px; color: var(--soluk); }
.simge-dugme { border: 0; background: none; padding: 8px; display: flex; border-radius: 50%; color: var(--soluk); }
.simge-dugme:hover { background: var(--yuzey); color: var(--yazi); }
.form { display: grid; gap: 14px; margin-top: 16px; }
.alan { display: grid; gap: 5px; }
.alan-ad { font-size: .88rem; font-weight: 600; }
.alan-ad small { font-weight: 400; color: var(--soluk); }
.alan input, .alan textarea, .sirala select { width: 100%; border: 1px solid #cfcfcf; border-radius: 10px; padding: 12px 13px; font-size: 16px; background: #fff; }
.alan textarea { resize: vertical; }
.alan input:focus, .alan textarea:focus { border-color: var(--yazi); outline: none; box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.alan.hatali input, .alan.hatali textarea { border-color: var(--hata); }
.ipucu { color: var(--soluk); }
.alan-hata { color: var(--hata); font-weight: 600; }
.yan-yana { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tuzak { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aciklama { color: var(--soluk); margin-top: 6px; }
.alt-yazi { margin-top: 18px; color: var(--soluk); text-align: center; }
.alt-yazi a, .yardim summary, .bildirim a { text-decoration: underline; text-underline-offset: 3px; }
.alt-yazi a { color: var(--yazi); font-weight: 600; }
.yardim { margin-top: 14px; color: var(--soluk); font-size: .92rem; }
.yardim summary { cursor: pointer; }
.yardim p { margin-top: 8px; }
.kutu { border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 16px; margin: 0 0 14px; min-width: 0; }
fieldset.kutu > legend { font-weight: 650; padding: 0 6px; }
.kutu.vurgulu { background: var(--uyari-zemin); border-color: #f0dc8a; }
.kutu h2 { margin-bottom: 10px; }
.bilgi { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.bilgi dt { color: var(--soluk); font-size: .9rem; }
.bilgi dd { margin: 0; overflow-wrap: anywhere; }
.bilgi dd small { display: block; color: var(--soluk); }
.bildirim { display: flex; align-items: center; gap: 10px; background: var(--tamam-zemin); color: #14532d; padding: 12px 14px; border-radius: var(--yaricap); margin-bottom: 14px; font-weight: 550; }
.bildirim.hata { background: var(--hata-zemin); color: var(--hata); }
.uyari { background: var(--uyari-zemin); padding: 10px 12px; border-radius: 10px; font-size: .92rem; font-weight: 550; }
.sonuc { text-align: center; padding: 36px 8px; display: grid; gap: 12px; justify-items: center; }
.sonuc > .simge { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--tamam-zemin); color: var(--tamam); }
.sonuc p { color: var(--soluk); max-width: 46ch; }
.bos { color: var(--soluk); text-align: center; padding: 48px 0; }
.iz { color: var(--soluk); font-size: .85rem; margin-bottom: 10px; }
.iz a:hover { color: var(--yazi); }
.rozet { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 650; background: var(--uyari-zemin); color: #6b4e00; white-space: nowrap; }
.rozet.d-onaylandi { background: var(--tamam-zemin); color: #14532d; }
.rozet.d-sevk { background: #e6f0fd; color: #12407a; }
.rozet.d-iptal, .rozet.d-hata { background: var(--hata-zemin); color: var(--hata); }

/* ---------- Ana sayfa tanıtımı ---------- */
.tanitim { padding: 20px 0 26px; display: grid; gap: 12px; justify-items: start; }
.tanitim h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: -.02em; }
.tanitim p { color: var(--soluk); max-width: 52ch; margin: 0; font-size: 1.02rem; }
.tanitim-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.tanitim > small { display: flex; align-items: center; gap: 6px; color: var(--soluk); }
.tanitim > small .simge { width: 16px; height: 16px; }

/* ---------- Ürün listesi ---------- */
.liste-ust { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.liste-ust small { color: var(--soluk); letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.liste-arac { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.sirala label { display: flex; align-items: center; gap: 8px; }
.sirala span { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); }
.sirala select { width: auto; padding: 7px 10px; font-size: .9rem; border-color: var(--cizgi); }
.etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.etiketler a { background: var(--yuzey); padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 550; }
.izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
/* Kartta kutu / çerçeve yok. Görsel alanı dikey ve sabit oranlı (düzen kaymaz); çanta kırpılmaz, tamamı nötr zeminde görünür
   (Koray 02.12.2026). Altında ürünün satılabilir bütün renkleri küçük resim olarak durur. */
.kart { display: grid; gap: 8px; align-content: start; min-width: 0; }
.kart-bag { display: grid; gap: 7px; min-width: 0; }
.kart-gorsel { aspect-ratio: 4 / 5; background: var(--yuzey); overflow: hidden; border-radius: 6px; }
.kart-gorsel img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .35s ease; }
.kart-bag:hover .kart-gorsel img { transform: scale(1.03); }
/* Renkler sarılır (hepsi görünür, sayfa yana kaymaz); fotoğrafı olmayan renk adıyla yazılır */
.kart-renkler { --kr: 38px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.kart-renkler li { min-width: 0; max-width: 100%; }
.kart-renk { display: grid; place-items: center; width: var(--kr); height: var(--kr); border: 1px solid var(--cizgi); border-radius: 6px; overflow: hidden; background: var(--yuzey); }
/* Fotoğraflı renk kutusu kartın görseliyle aynı oranda (4:5) ve blok düzeninde: görsel kutuya sığar, altı kesilmez */
.kart-renk:not(.adli) { display: block; height: calc(var(--kr) * 1.25); }
.kart-renk img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kart-renk.adli { width: auto; min-width: var(--kr); max-width: 100%; padding: 0 8px; }
.kart-renk.adli span { font-size: .72rem; line-height: 1.15; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.kart-renk:hover, .kart-renk.secili { border-color: var(--yazi); box-shadow: inset 0 0 0 1px var(--yazi); }
.kart-yazi { display: grid; line-height: 1.3; min-width: 0; }
.kart-yazi b { font-weight: 650; }
.kart-yazi span { color: var(--soluk); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kart-alt { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.kart-alt b { font-weight: 700; }
.kart-alt small { color: var(--soluk); }
.daha { text-align: center; margin: 26px 0 0; }

/* Süzgeç çekmecesi (Alessia'daki gibi yandan açılır) */
dialog { color: var(--yazi); }
.cekmece { position: fixed; inset-block: 0; inset-inline: auto 0; margin: 0; width: min(380px, 92vw); height: 100%; max-height: none; border: 0; padding: 0; background: #fff; }
.cekmece::backdrop, .buyuk-gorsel::backdrop { background: rgba(0, 0, 0, .45); }
.cekmece form { display: flex; flex-direction: column; height: 100%; }
.cekmece-ust { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--cizgi); }
.cekmece-govde { flex: 1; overflow-y: auto; padding: 6px 18px 18px; }
.cekmece-govde fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.cekmece-govde legend { font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); padding: 0 0 4px; }
.secenek { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; }
.secenek input { width: 20px; height: 20px; accent-color: var(--koyu); margin: 0; }
.secenek span { flex: 1; }
.secenek small { color: var(--soluk); }
.cekmece-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cizgi); }

/* ---------- Satır listeleri (kategoriler, siparişler) ---------- */
.satir-liste { display: grid; margin: 10px 0 16px; }
.satir-liste a { display: flex; align-items: center; gap: 10px; padding: 15px 4px; border-bottom: 1px solid var(--cizgi); }
.satir-liste a > span:first-child { flex: 1; font-weight: 550; display: grid; }
.satir-liste a small { color: var(--soluk); font-weight: 400; }
.satir-liste a > .simge { color: #b8b8b8; width: 18px; height: 18px; }

/* ---------- Ürün sayfası ---------- */
.urun { display: grid; gap: 18px; }
.galeri { min-width: 0; }
.galeri-ana { display: block; width: 100%; padding: 0; border: 0; background: var(--yuzey); aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.galeri-ana img { width: 100%; height: 100%; object-fit: contain; }
.galeri-kucuk { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: thin; }
/* WhatsApp'tan görsel / video isteme düğmeleri (galerinin altında) */
.talep { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* Seçili rengin fotoğrafı yokken görsel alanının yerinde duran bilgi kutusu */
.galeri-yok { display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; padding: 28px 20px; min-height: 220px; background: var(--yuzey); border-radius: 8px; }
.galeri-yok span { color: var(--soluk); font-size: .92rem; max-width: 34ch; }
.galeri-kucuk button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--yuzey); }
.galeri-kucuk button.secili { border-color: var(--yazi); }
.galeri-kucuk img { width: 100%; height: 100%; object-fit: contain; }
.urun-kod { margin: 0; color: var(--soluk); font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.urun-bilgi h1 { font-size: 1.45rem; margin: 2px 0 10px; }
.urun-bilgi h2 { margin: 18px 0 4px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); }
.fiyat { display: flex; align-items: baseline; gap: 8px; }
.fiyat b { font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.fiyat small { color: var(--soluk); }
.ozellik { margin: 10px 0 0; }
.ozellik span { color: var(--soluk); margin-inline-end: 6px; }
.fiyat-gizli { display: flex; gap: 12px; align-items: center; background: var(--yuzey); border-radius: var(--yaricap); padding: 14px; margin-bottom: 12px; }
.fiyat-gizli small { display: block; color: var(--soluk); }
/* Renk satırı: görsel + ad bağlantısı galeriyi o renge çevirir; adet kutusu yanında kalır. Seçili renk başta çizgiyle belli olur. */
.renk { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; padding-inline-start: 8px; border-bottom: 1px solid var(--cizgi); border-inline-start: 3px solid transparent; }
.renk.secili { border-inline-start-color: var(--yazi); background: var(--yuzey); }
.renk-sec { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.renk-sec img, .renk-bos { width: 56px; height: 56px; border-radius: 8px; object-fit: contain; background: var(--yuzey); }
.renk.secili .renk-sec img, .renk.secili .renk-bos { background: #fff; }
.renk-ad { display: grid; min-width: 0; }
.renk-ad small { color: var(--soluk); }
.renk.tukendi .renk-sec img, .renk.tukendi .renk-ad b { opacity: .45; }
.renkler.sade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
.renkler.sade .renk { grid-template-columns: minmax(0, 1fr); }
.renkler.sade .renk-sec { grid-template-columns: 44px minmax(0, 1fr); }
.renkler.sade .renk-sec img, .renkler.sade .renk-bos { width: 44px; height: 44px; }
.haber-tamam { display: flex; align-items: center; gap: 4px; color: var(--tamam); font-weight: 600; }
.haber-tamam .simge { width: 16px; height: 16px; }
.adet { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 10px; overflow: hidden; background: #fff; }
.adet button { width: 40px; height: 42px; border: 0; background: none; font-size: 1.25rem; line-height: 1; color: var(--yazi); }
.adet button:active { background: var(--yuzey); }
.adet input { width: 46px; height: 42px; border: 0; text-align: center; font-size: 16px; font-weight: 650; padding: 0; background: none; -moz-appearance: textfield; appearance: textfield; outline: none; }
.adet input::-webkit-outer-spin-button, .adet input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.adet.dolu { border-color: var(--yazi); box-shadow: inset 0 0 0 1px var(--yazi); }
/* Sepete ekle çubuğu: telefonda alt çubuğun hemen üstünde sabit */
.urun-cubuk { position: sticky; bottom: var(--alt); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; padding: 12px 0; margin-top: 4px; border-top: 1px solid var(--cizgi); }
.urun-toplam { font-size: .95rem; }
/* Sepete ekle çubuğundaki düğmeler: görüntülü görüşme (telefonda yalnız simge) + sepete ekle */
.urun-cubuk-dugmeler { display: flex; align-items: center; gap: 8px; flex: none; }
.gorusme-dugme { display: inline-flex; align-items: center; gap: 8px; }
.urun-cubuk .gorusme-dugme { padding-inline: 12px; }
@media (max-width: 899px) { .urun-cubuk .gorusme-dugme span { display: none; } }

/* Büyük görsel: kapatma düğmesi her zaman görünür (Koray: çıkmak için çarpı yoktu) */
.buyuk-gorsel { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0d0d; }
.buyuk-gorsel[open] { display: grid; place-items: center; }
.buyuk-gorsel img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.buyuk-gorsel .simge-dugme { position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); color: #141414; padding: 11px; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.bg-kapat { top: max(14px, env(safe-area-inset-top)); inset-inline-end: 14px; }
.bg-onceki { inset-inline-start: 10px; top: 50%; translate: 0 -50%; }
.bg-sonraki { inset-inline-end: 10px; top: 50%; translate: 0 -50%; }

/* ---------- Sepet ve sipariş ---------- */
.sepet-duzen { display: grid; gap: 18px; margin-top: 12px; align-items: start; }
.sepet-liste { display: grid; min-width: 0; }
.sepet-satir { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "gorsel ad sil" "gorsel adet tutar"; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.sepet-gorsel { grid-area: gorsel; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--yuzey); }
.sepet-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.sepet-ad { grid-area: ad; display: grid; min-width: 0; line-height: 1.35; }
.sepet-ad small { color: var(--soluk); }
.sepet-satir .adet { grid-area: adet; justify-self: start; }
.sepet-tutar { grid-area: tutar; justify-self: end; white-space: nowrap; }
.sepet-satir .simge-dugme { grid-area: sil; justify-self: end; }
.sepet-satir .simge-dugme .simge { width: 18px; height: 18px; }
.sepet-liste > .dugme { justify-self: start; margin-top: 12px; }
.sepet-ozet { background: var(--yuzey); border-radius: var(--yaricap); padding: 16px; display: grid; gap: 12px; }
.toplam { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.toplam dt { color: var(--soluk); }
.toplam dd { margin: 0; text-align: end; font-weight: 550; }
.toplam .genel { font-size: 1.15rem; font-weight: 700; color: var(--yazi); padding-top: 8px; border-top: 1px solid #dcdcdc; }
.ozet-satirlar { display: grid; gap: 6px; font-size: .9rem; }
.ozet-satirlar > div { display: flex; justify-content: space-between; gap: 12px; }
.ozet-satirlar > div > span:last-child { white-space: nowrap; color: var(--soluk); }
.ozet-satirlar.genis > div { padding: 6px 0; border-bottom: 1px solid var(--cizgi); }
.ozet-satirlar.genis > div:last-child { border-bottom: 0; }
.ozet-satirlar .dustu { text-decoration: line-through; color: var(--soluk); }
.kart-secenek { display: block; border: 1px solid var(--cizgi); border-radius: 10px; padding: 12px 14px; margin-top: 8px; cursor: pointer; }
.kart-secenek > input { width: 20px; height: 20px; accent-color: var(--koyu); margin: 0; margin-inline-end: 10px; vertical-align: -4px; }
.kart-secenek-ad { display: inline-grid; vertical-align: top; max-width: calc(100% - 36px); }
.kart-secenek-ad small { color: var(--soluk); }
.kart-secenek:has(> input:checked) { border-color: var(--yazi); box-shadow: inset 0 0 0 1px var(--yazi); }
.kart-secenek.kapali { cursor: default; background: var(--yuzey); }
.kart-secenek.kapali b { color: var(--soluk); }
.kart-secenek-ic { display: none; gap: 12px; margin-top: 12px; cursor: default; }
.kart-secenek:has(> input:checked) .kart-secenek-ic { display: grid; }
.siparis-form > .kutu > .alan { margin-top: 12px; }
.siparisler .rozet { margin-inline-start: auto; }

/* ---------- Hesabım: bakiye, ekstre, faturalar ---------- */
.bakiye-kutu { display: grid; gap: 2px; }
.bakiye-kutu > small { color: var(--soluk); }
.bakiye b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.bakiye span { color: var(--soluk); }
.ekstre-pb { margin: 18px 0 8px; }
.ekstre-satir { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.ekstre-ad { display: grid; min-width: 0; align-content: start; }
.ekstre-ad small { color: var(--yazi); }
.ekstre-ad small.soluk { color: var(--soluk); overflow-wrap: anywhere; }
.bolme { white-space: nowrap; }
.ekstre-tutar { display: grid; justify-items: end; align-content: start; white-space: nowrap; }
.ekstre-tutar small { color: var(--soluk); }
.ekstre-tutar .borc { color: var(--yazi); }
.ekstre-tutar .alacak { color: var(--tamam); }
.ekstre-satir.devir { color: var(--soluk); border-bottom: 0; }
.ekstre-satir.devir small { color: var(--soluk); }
.ekstre-kap { max-width: 760px; }
.satir-pasif { display: flex; align-items: center; gap: 10px; padding: 15px 4px; border-bottom: 1px solid var(--cizgi); }
.satir-pasif > span:first-child { flex: 1; font-weight: 550; display: grid; }
.satir-pasif small { color: var(--soluk); font-weight: 400; }
.satir-liste.faturalar a .rozet { margin-inline-start: auto; }

/* ---------- Ödeme bildirimi ---------- */
.odendi-kutu { display: flex; align-items: center; gap: 10px; background: var(--tamam-zemin); border-color: #bfe3cc; color: #14532d; }
.odendi-kutu .simge { width: 22px; height: 22px; flex: none; }
.odeme-durum { background: #fff; border: 1px solid #f0dc8a; border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.odeme-bildir { margin-top: 12px; }
.odeme-bildir > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; background: var(--yazi); color: #fff; font-weight: 650; }
.odeme-bildir > summary::-webkit-details-marker { display: none; }
.odeme-bildir[open] > summary { background: transparent; color: var(--yazi); border: 1px solid var(--cizgi); }
.odeme-form .yan-yana { align-items: start; }
.odeme-form input[type="date"] { min-height: 46px; }
.kutu.vurgulu .uyari { background: #fff; border: 1px solid #f0c7c2; color: var(--hata); }
.ara-baslik { margin: 22px 0 4px; }
.satir-liste.odemeler a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Kurumsal ve yasal sayfalar, alt bilgi, WhatsApp düğmesi (src/kurumsal.js) ---------- */
.yasal { max-width: 760px; }
.yasal h1 { margin-bottom: 14px; }
.yasal h2 { margin: 28px 0 8px; }
.yasal ul { margin: 0 0 .8em; padding-inline-start: 1.25em; }
.yasal li { margin-bottom: .4em; }
.yasal .uyari { margin: 0 0 .8em; }
.yasal .tanitim-dugmeler { margin-top: 18px; }
.yasal p > a, .yasal dd > a:not(.dugme), .kosul-notu a { text-decoration: underline; text-underline-offset: 3px; }
.yasal-not { color: var(--soluk); font-size: .9rem; }
.yasal-tarih { color: var(--soluk); font-size: .85rem; margin: 28px 0 0; }
.iletisim .kutu { margin: 14px 0 0; }
.iletisim .kutu h2 { margin: 0 0 10px; }
.iletisim .bilgi { grid-template-columns: fit-content(38%) 1fr; gap: 12px 16px; align-items: baseline; }
.iletisim .bilgi dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.iletisim .adres { white-space: pre-line; }
[dir="rtl"] .iletisim .bilgi bdi { text-align: right; }
/* Sipariş ve başvuru düğmesinin altındaki bilgi satırı (onay kutusu yok) */
.kosul-notu { margin: 0; color: var(--soluk); font-size: .82rem; text-align: center; }
/* Alt bilgi: iki satır (bağlantılar; iletişim ve ©). Dar ekranda öğeler kendiliğinden alt satıra geçer, taşmaz. */
.alt-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.alt-satir > * { padding-block: 5px; min-width: 0; overflow-wrap: anywhere; }
.alt-satir a:hover { color: var(--yazi); text-decoration: underline; text-underline-offset: 3px; }
/* WhatsApp düğmesi: sayfanın BAŞ tarafındaki alt köşede (soldan sağa dillerde sol, Arapçada sağ). Adet düğmeleri, sepetten silme,
   "Sepete ekle" düğmesi ve geniş ekrandaki sipariş özeti hep SON taraftadır: düğme onların üstüne binmez.
   Telefonda alt menü çubuğunun (--alt) üstünde durur; sayfanın kendi sabit çubuğu varsa (ürün sayfasındaki sepete ekle çubuğu,
   sayfa() altBosluk → .yukari) onun da üstüne çıkar. Açılan pencereler (süzgeç, büyük görsel) düğmeyi örter. */
.wa-dugme { position: fixed; inset-inline-start: 16px; bottom: calc(var(--alt) + 12px); z-index: 15; width: 46px; height: 46px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0, 0, 0, .22); }
.wa-dugme:hover { background: #1fb959; }
/* Sipariş özeti (sepet, siparişi tamamlama) ve tam genişlikteki ana düğmeler (Siparişi ver, Başvuruyu gönder, Giriş yap…) sayfa
   kaydırılırken düğmenin bulunduğu köşeden geçer: onlar ÜSTTE kalır, WhatsApp düğmesi arkalarından geçer (hiçbir zaman örtmez). */
.sepet-ozet, .dugme.genis { position: relative; z-index: 16; }
.wa-dugme.yukari { bottom: calc(var(--alt) + 88px); }
.wa-simge { width: 26px; height: 26px; flex: none; }
.dugme .wa-simge { width: 20px; height: 20px; }
/* Düğme sayfa sonunda alt bilginin baş tarafına denk gelir: yazı düğmenin altında kalmasın diye içeri alınır */
.alt-ic.wa-var { padding-inline-start: 58px; }
@media (min-width: 900px) {
  .wa-dugme, .wa-dugme.yukari { inset-inline-start: 24px; bottom: 24px; width: 48px; height: 48px; }
}
/* Çok geniş ekranda düğme sayfa sütununun dışında kalır: içeri almaya gerek yok */
@media (min-width: 1420px) { .alt-ic.wa-var { padding-inline-start: 0; } }
@media print { .wa-dugme { display: none; } }

/* ---------- Ana sayfa (src/anasayfa.js): ziyaretçiye bayilik tanıtımı, bayiye hesap özeti ---------- */
.as-ust { display: grid; gap: 18px; padding: 12px 0 4px; }
.as-ust-yazi { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.as-etiket { margin: 0; color: var(--soluk); font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.as-ust h1 { font-size: clamp(1.65rem, 6.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; }
.as-ust-alt { color: var(--soluk); max-width: 54ch; margin: 0; font-size: 1.02rem; }
.as-ust .tanitim-dugmeler { margin: 4px 0; }
.as-not { display: flex; align-items: center; gap: 6px; color: var(--soluk); }
.as-not .simge { width: 16px; height: 16px; }
/* Kolaj: katalogdaki en yeni modellerin fotoğrafları (ayrı görsel dosyası yok); çanta kırpılmaz, kart gibi nötr zeminde */
.as-kolaj { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.as-kolaj.n1 { max-width: 280px; }
.as-kolaj > div { aspect-ratio: 4 / 5; background: var(--yuzey); border-radius: 6px; overflow: hidden; }
.as-kolaj img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.as-bolum { margin-top: 44px; }
.as-bolum > h2, .as-bolum .liste-ust h2, .as-nasil h2, .as-son h2 { font-size: 1.3rem; letter-spacing: -.01em; }
.as-bolum > h2 { margin-bottom: 14px; }
.as-avantajlar { list-style: none; margin: 0; padding: 0; display: grid; }
.as-avantajlar li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.as-avantajlar .simge { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--yuzey); }
.as-avantajlar b { display: block; font-weight: 650; }
.as-avantajlar p { margin: 2px 0 0; color: var(--soluk); font-size: .93rem; }
.as-kategoriler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.as-kategoriler a { display: grid; gap: 2px; min-width: 0; align-content: start; }
.as-kat-gorsel { aspect-ratio: 1; background: var(--yuzey); border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.as-kat-gorsel img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .35s ease; }
.as-kategoriler a:hover img { transform: scale(1.03); }
.as-kategoriler b { font-weight: 650; overflow-wrap: anywhere; }
.as-kategoriler small { color: var(--soluk); }
.as-nasil { display: grid; gap: 22px; }
.as-nasil h2 { margin-bottom: 16px; }
/* Adımlar: numaralı daireler ve aralarında ince çizgi (yön bağımsız: Arapçada sağda) */
.as-adimlar { list-style: none; margin: 0; padding: 0; counter-reset: as-adim; display: grid; }
.as-adimlar li { counter-increment: as-adim; position: relative; padding-inline-start: 46px; padding-block-end: 18px; }
.as-adimlar li::before { content: counter(as-adim); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--koyu); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.as-adimlar li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--cizgi); }
.as-adimlar b { display: block; font-weight: 650; padding-top: 3px; }
.as-adimlar p { margin: 2px 0 0; color: var(--soluk); font-size: .93rem; }
.as-kosullar { margin: 0; background: var(--yuzey); border-color: var(--yuzey); }
.as-kosullar h2 { margin-bottom: 2px; }
.as-kosullar h3 { margin: 14px 0 4px; font-size: .76rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); }
.as-kosullar p, .as-sss p { margin: 0 0 .5em; font-size: .93rem; }
.as-kosullar ul, .as-sss ul { margin: 0 0 .5em; padding-inline-start: 1.2em; font-size: .93rem; }
.as-kosullar li, .as-sss li { margin-bottom: 3px; }
.as-kosullar small, .as-sss small { color: var(--soluk); }
.as-bag { margin: 14px 0 0; }
.as-bag a, .as-sss a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--yazi); }
/* SSS: betiksiz açılır (<details>); sağ / sol uçta + işareti, açıkken × */
.as-sss { border-top: 1px solid var(--cizgi); }
.as-sss details { border-bottom: 1px solid var(--cizgi); }
.as-sss summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; font-weight: 600; }
.as-sss summary::-webkit-details-marker { display: none; }
.as-sss summary::after { content: '+'; flex: none; font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--soluk); transition: transform .2s ease; }
.as-sss details[open] > summary::after { transform: rotate(45deg); }
.as-sss details > div { padding: 0 2px 14px; color: var(--soluk); max-width: 70ch; }
.as-son { margin-top: 44px; background: var(--yuzey); border-radius: var(--yaricap); padding: 28px 18px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.as-son p { margin: 0; color: var(--soluk); max-width: 46ch; }
.as-son .tanitim-dugmeler { justify-content: center; }
.as-son-iletisim { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.as-son-iletisim a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
/* Bayi özeti: telefonda tek bakışta okunur, ürün listesini fazla itmez (üç küçük kutu + bağlantılar) */
.as-ozet { display: grid; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--cizgi); }
.as-ozet-ust { margin: 0; font-size: .95rem; color: var(--soluk); }
.as-ozet-ust bdi { color: var(--yazi); font-weight: 650; }
.as-ozet-kutular { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.as-ozet-kutu { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 9px 11px; background: var(--yuzey); border-radius: 10px; }
.as-ozet-kutu:hover { background: #ececea; }
.as-ozet-kutu small { color: var(--soluk); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-ozet-kutu > b, .as-bakiye b { font-size: 1.05rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.as-bakiye span { display: block; font-size: .74rem; color: var(--soluk); }
.as-ozet-uyari { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.as-ozet-uyari b { text-decoration: underline; text-underline-offset: 3px; }
.as-ozet-bag { display: flex; flex-wrap: wrap; gap: 6px; }
.as-ozet-bag a { padding: 6px 12px; border: 1px solid var(--cizgi); border-radius: 999px; font-size: .85rem; font-weight: 550; }
.as-ozet-bag a:hover { background: var(--yuzey); }
@media (min-width: 640px) {
  .as-avantajlar { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .as-kategoriler { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .as-son { padding: 40px 24px; }
  .as-ozet-kutular { grid-template-columns: repeat(3, minmax(0, 220px)); }
}
@media (min-width: 900px) {
  .as-ust { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding: 24px 0 8px; }
  .as-ust.kolajsiz { grid-template-columns: minmax(0, 1fr); }
  .as-kolaj.n3 { grid-auto-flow: row; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .as-kolaj.n3 > :first-child { grid-row: span 2; aspect-ratio: auto; }
  .as-bolum, .as-son { margin-top: 64px; }
  .as-avantajlar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .as-kategoriler { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .as-nasil { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
}

/* ---------- Geniş ekran ---------- */
@media (min-width: 640px) {
  .izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; }
  .kart-renkler { --kr: 44px; }
  h1 { font-size: 1.55rem; }
}
@media (min-width: 900px) {
  body { --alt: 0px; }
  .alt-cubuk { display: none; }
  .ust-ic { padding: 12px 24px; gap: 18px; }
  .logo img { width: 106px; }
  .ust-menu { display: flex; }
  .dil-sec { margin-inline-start: 0; }
  .kap { padding: 24px 24px 56px; }
  /* Kartlar büyüdü (Koray 02.12.2026): 900 px'ten sonra 3, 1280 px'ten sonra 4 sütun (önce 4 / 5 idi) */
  .izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
  .urun { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .galeri { position: sticky; top: 84px; }
  .urun-cubuk { bottom: 0; }
  .sepet-duzen { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .sepet-ozet { position: sticky; top: 84px; }
  .sepet-satir { grid-template-columns: 72px 1fr auto 120px auto; grid-template-areas: "gorsel ad adet tutar sil"; }
}
@media (min-width: 1280px) {
  .izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
