/* CR Yapı vitrin — ortak stiller.
   Açık tema: Taş ve Zeytin · Koyu tema: Ceviz ve Pirinç. Renkler yalnız buradaki değişkenlerden okunur. */

:root, [data-tema="acik"] {
  --zemin: #ddd6c6;
  --yuzey: #d2cab8;
  --yuzey-2: #c8bfab;
  --murekkep: #24241f;
  --soluk: #4a4840;
  --vurgu: #4f6238;
  --vurgu-murekkep: #f3f0e7;
  --karanlik: #1c1b17;
  --karanlik-murekkep: #ece8de;
  --golge: 40 30 20;
  color-scheme: light;
}
[data-tema="koyu"] {
  --zemin: #110e0b;
  --yuzey: #1b1713;
  --yuzey-2: #262019;
  --murekkep: #efe8dc;
  --soluk: #a99f90;
  --vurgu: #c9a46a;
  --vurgu-murekkep: #17120a;
  --karanlik: #1b1713;
  --karanlik-murekkep: #efe8dc;
  --golge: 0 0 0;
  color-scheme: dark;
}

:root {
  --baslik: "Satoshi", system-ui, sans-serif;
  --metin: "Satoshi", system-ui, sans-serif;
  --baslik-agirlik: 700;
  --baslik-aralik: -0.035em;
  --kenar: clamp(16px, 3.2vw, 40px);
  --genislik: 1360px;
  /* Yazı ölçeği: bütün sayfalar yalnız bu altı boyutu kullanır (telefon → geniş ekran) */
  --kucuk: 0.875rem;                                   /* 14: etiket, not, sayaç */
  --govde: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);   /* 16→17: metin */
  --giris: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem); /* 18→22: giriş cümlesi, alt başlık, fiyat */
  --urun: clamp(1.5rem, 1.15rem + 1.1vw, 2.25rem);     /* 24→36: ürün adı, kart başlığı */
  --bas: clamp(1.875rem, 1.3rem + 1.8vw, 3rem);        /* 30→48: bölüm başlığı, büyük rakam */
  --dev: clamp(2.125rem, 1.35rem + 2.6vw, 3.75rem);    /* 34→60: sayfanın ana başlığı */
  --yay: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--murekkep);
  font: 400 var(--govde)/1.55 var(--metin);
  transition: background-color .5s ease, color .5s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, .baslik {
  font-family: var(--baslik);
  font-weight: var(--baslik-agirlik);
  letter-spacing: var(--baslik-aralik);
  line-height: 1;
  margin: 0;
}
h1 { font-size: var(--dev); }
h2 { font-size: var(--bas); }
h3 { font-size: var(--giris); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.giris { font-size: var(--giris); line-height: 1.4; }
.soluk { color: var(--soluk); }
.kucuk { font-size: var(--kucuk); }
.sayi { font-variant-numeric: tabular-nums; }
.gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vurgu); color: var(--vurgu-murekkep); padding: 10px 16px; border-radius: 999px; }
.atla:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--vurgu); outline-offset: 3px; }

.kap { max-width: var(--genislik); margin: 0 auto; padding: 0 var(--kenar); }
.bolum { padding: clamp(96px, 13vw, 200px) 0 0; }
.bolum-bas { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.bolum-bas p { max-width: 34em; }

/* Düğmeler */
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--vurgu); color: var(--vurgu-murekkep);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--yay), filter .3s ease, background-color .3s ease;
}
.dugme:hover { transform: translateY(-2px); filter: brightness(1.08); }
.dugme:active { transform: translateY(0) scale(.98); }
.dugme.ikincil { background: var(--yuzey-2); color: var(--murekkep); }
.dugme.sade { background: transparent; color: var(--murekkep); box-shadow: inset 0 0 0 2px currentColor; }
.dugme svg { width: 20px; height: 20px; flex: none; }
.dugme[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.bag { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bag:hover { text-decoration-thickness: 2px; }

/* Üst çubuk */
.ust { position: sticky; top: 0; z-index: 30; background: var(--zemin); transition: background-color .5s ease, box-shadow .3s ease; }
.ust.kaydi { box-shadow: 0 10px 30px -24px rgb(var(--golge) / .6); }
.ust { transition: background-color .5s ease, box-shadow .3s ease, transform .45s var(--yay); }
.ust.cekildi { transform: translateY(-100%); box-shadow: none; }
/* showroom'un üstündeyken üst çubuk gece salonuna karışır */
.ust.gece { background: rgb(13 11 9 / .9); color: #efe8dc; -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: none; }
.ust.gece .marka small { color: #a99f90; }
.ust.gece .tema-dugme { background: rgb(255 255 255 / .08); color: #efe8dc; }
.ust.gece .dugme { background: #c9a46a; color: #17120a; }
.ust.gece .mobil-menu a { background: rgb(255 255 255 / .08); color: #efe8dc; }
.ust.gece .mobil-menu a[aria-current="page"] { background: #efe8dc; color: #0d0b09; }
.ust .kap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.marka { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.marka .amblem { height: 44px; width: auto; display: block; }
.marka .amb-koyu, [data-tema="koyu"] .marka .amb-acik, .ust.gece .marka .amb-acik { display: none; }
[data-tema="koyu"] .marka .amb-koyu, .ust.gece .marka .amb-koyu { display: block; }
.marka-ad { display: grid; font-family: var(--baslik); font-weight: 900; font-size: 1.32rem; line-height: 1; letter-spacing: -0.01em; }
.marka small { font-family: var(--metin); font-weight: 500; font-size: .62rem; letter-spacing: .38em; margin-top: 5px; color: var(--soluk); }
.menu { display: flex; gap: 28px; }
.menu a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--yay); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.ust-sag { display: flex; align-items: center; gap: 10px; }
.tema-dugme { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--yuzey); cursor: pointer; display: grid; place-items: center; transition: background-color .3s, transform .3s var(--yay); }
.tema-dugme:hover { transform: rotate(-20deg); }
.tema-dugme svg { width: 22px; height: 22px; }
.mobil-menu { display: none; }

/* Telefon alt çubuğu */
.alt-cubuk { display: none; }

/* Ürün kartı */
.kart { position: relative; display: block; text-decoration: none; }
.kart .gorsel { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #15110e; border-radius: 18px; }
.kart .gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--yay); }
.kart:hover .gorsel img { transform: scale(1.06); }
.kart .gorsel img.yakin { transform: scale(1.25); } /* stüdyo çekiminde panele yakın: karanlık oda azalır, doku öne çıkar */
.kart:hover .gorsel img.yakin { transform: scale(1.32); }
.kart .aile-ad { margin-top: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kart .ad { margin-top: 2px; font-family: var(--baslik); font-weight: var(--baslik-agirlik); font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.renk-cip { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 99px; background: rgb(18 15 12 / .72); color: #f3ede4; font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--yay); pointer-events: none; }
.renk-cip i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.kart:hover .renk-cip, .kart:focus-visible .renk-cip { opacity: 1; transform: none; }
@media (hover: none) { .renk-cip { opacity: 1; transform: none; } } /* dokunmatikte üstüne gelme yok: hep görünür */
.kart .gorsel.yukleniyor img { opacity: 0; }
.kart .gorsel img { transition: transform 1s var(--yay), opacity .6s ease; }
.kart .alt { margin-top: 2px; font-size: var(--kucuk); color: var(--soluk); }
.kart .fiyat { margin-top: 6px; font-family: var(--baslik); font-weight: var(--baslik-agirlik); letter-spacing: -0.02em; font-size: var(--giris); }
.kart .fiyat small { font-family: var(--metin); font-weight: 400; font-size: var(--kucuk); letter-spacing: 0; color: var(--soluk); }
/* çalışma saatleri */
.acik-durum { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.acik-durum::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #b4513b; }
.acik-durum.acik::before { background: #5f9a4e; box-shadow: 0 0 0 4px rgb(95 154 78 / .2); }
.saatler { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 18px; margin: 10px 0 0; font-size: var(--kucuk); }
.saatler dt { color: inherit; opacity: .75; }
.saatler dd { margin: 0; font-weight: 600; }

/* kiosk: mağaza tableti; telefon çubuğu, prototip aracı ve dış bağlantılar gizli, dokunma alanları büyük */
.kiosk .alt-cubuk, .kiosk .proto, .kiosk .tema-dugme { display: none !important; }
.kiosk body { padding-bottom: 0; }
.kiosk .dugme { min-height: 56px; }

.rozetler { position: absolute; left: 10px; top: 10px; z-index: 2; display: grid; justify-items: start; gap: 5px; pointer-events: none; }
.rozet { position: relative; overflow: hidden; gap: 5px; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .01em; line-height: 1; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .5); }
.rozet-coksatan { background: #b4513b; color: #fff; }
.rozet svg { flex: none; }
.rozet-coksatan svg { color: #ffd9a8; }
/* Giriş: kart görününce rozetler sırayla hafifçe süzülür; "Çok satan" bir kez parlar */
@media (prefers-reduced-motion: no-preference) {
  .kart .rozet { opacity: 0; transform: translateY(-6px) scale(.92); }
  .kart.gorundu .rozet { animation: rozet-gir .55s var(--yay) both; animation-delay: calc(.35s + var(--i, 0) * .09s); }
  .kart.gorundu .rozet-coksatan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); transform: translateX(-120%); animation: rozet-parla 1.1s ease .9s 1 both; }
  .kart.gorundu .rozet-coksatan svg { animation: rozet-alev 1.2s ease-in-out .9s 2; transform-origin: 50% 90%; }
}
@keyframes rozet-gir { to { opacity: 1; transform: none; } }
@keyframes rozet-parla { to { transform: translateX(120%); } }
@keyframes rozet-alev { 50% { transform: scale(1.18) rotate(-6deg); } }
.rozet-yeni, .rozet-trend { background: #c9a46a; color: #17120a; }
.rozet-kampanya { background: #17120a; color: #e2c487; }
.rozet.stok-stokta { background: #3f5230; color: #f4f1e9; }
.rozet.stok-3gun, .rozet.stok-siparis { background: rgb(255 255 255 / .9); color: #17120a; }
.rozet.ozellik { background: rgb(17 14 11 / .62); color: #f1ebe0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 600; }
.etiket.gecici { top: auto; right: 10px; left: auto; bottom: 10px; font-size: .625rem; font-weight: 500; padding: 3px 8px; background: rgb(0 0 0 / .45); color: #fff; opacity: .75; backdrop-filter: blur(4px); }
.usta-rozet { margin-right: auto; margin-left: 12px; padding: 6px 12px; border-radius: 999px; background: #c9a46a; color: #17120a; font-size: var(--kucuk); font-weight: 600; text-decoration: none; white-space: nowrap; }
.etiket { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--zemin); color: var(--murekkep); font-size: var(--kucuk); font-weight: 600; padding: 5px 10px; border-radius: 999px; }

/* Çip / filtre */
.cipler { display: flex; gap: 8px; flex-wrap: wrap; }
.cip { border: 0; background: var(--yuzey); color: var(--murekkep); padding: 0 16px; min-height: 44px; border-radius: 999px; cursor: pointer; font-weight: 500; transition: background-color .25s, color .25s, transform .25s var(--yay); }
.cip:hover { transform: translateY(-1px); }
.cip[aria-pressed="true"] { background: var(--murekkep); color: var(--zemin); }
.cip small { opacity: .7; margin-left: 4px; }

/* Form alanları */
.alan label { display: block; font-size: var(--kucuk); font-weight: 500; margin-bottom: 6px; }
.alan input, .alan select { width: 100%; min-height: 54px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--zemin); font-size: var(--govde); font-weight: 500; }
.alan input:focus, .alan select:focus { outline: 3px solid var(--vurgu); outline-offset: 0; }

/* Hesap kutusu */
.hesap { background: var(--yuzey); padding: clamp(22px, 3vw, 40px); border-radius: 20px; }
.hesap .alanlar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hesap .genis { grid-column: 1 / -1; }
.hesap .sonuc { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.hesap .toplam { font-family: var(--baslik); font-weight: var(--baslik-agirlik); letter-spacing: -0.03em; font-size: var(--dev); line-height: 1; }
.hesap .onizleme { margin-top: 22px; height: 110px; border-radius: 10px; overflow: hidden; display: grid; gap: 2px; background: #1a1714; }
/* Teklif listesi (ana sayfa): birden çok yüzey, boşluklar, tamamlayıcılar, döküm */
.teklif .yuzeyler { display: grid; gap: 14px; }
.hesap.teklif { background: none; padding: 0; border-radius: 0; display: grid; gap: 14px; }
.teklif .t-kart { margin: 0; border: 0; padding: clamp(18px, 2.2vw, 26px); border-radius: 20px; background: var(--yuzey); min-width: 0; }
.teklif .t-kart .cip:not([aria-pressed="true"]) { background: var(--zemin); }
.teklif .t-kart > h3:first-child { margin-top: 0; }
.teklif .yuzey { container-type: inline-size; }
.teklif .yuzey-bas { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.teklif .ad-kalem { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; cursor: text; }
.teklif .ad-kalem svg { width: 18px; height: 18px; flex: none; color: var(--soluk); }
.teklif .ad-kalem:hover svg, .teklif .ad-kalem:focus-within svg { color: var(--murekkep); }
.teklif .yuzey-ad { flex: 0 1 auto; field-sizing: content; max-width: 100%; min-width: 0; border: 0; background: none; font-family: var(--baslik); font-weight: var(--baslik-agirlik); font-size: var(--giris); letter-spacing: -0.02em; padding: 4px 0; color: var(--murekkep); }
.teklif .yuzey-ad:focus { outline: 2px solid var(--vurgu); outline-offset: 4px; border-radius: 6px; }
.teklif .alan label { display: grid; gap: 6px; font-size: var(--kucuk); font-weight: 500; }
.teklif .alan input, .teklif .alan select { background: var(--zemin); width: 100%; min-width: 0; text-overflow: ellipsis; }
.teklif .alanlar > * { min-width: 0; }
.teklif .wa { white-space: normal; text-align: center; }
.teklif .sil { width: 36px; height: 36px; flex: none; border: 0; border-radius: 999px; background: var(--zemin); color: var(--murekkep); font-size: 1.2rem; cursor: pointer; }
.teklif .bosluklar { display: grid; gap: 8px; margin-top: 14px; justify-items: start; }
.teklif .birimli { position: relative; display: block; }
.teklif .birimli i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: var(--kucuk); color: var(--soluk); pointer-events: none; }
.teklif .alan .birimli input { padding-right: 44px; }
.teklif .alan .etiket-ad { display: block; font-size: var(--kucuk); font-weight: 500; margin-bottom: 6px; }
.teklif .cip svg { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.teklif .ekle-bosluk { border: 1.5px dashed color-mix(in srgb, var(--murekkep) 30%, transparent); background: none; color: var(--murekkep); border-radius: 999px; min-height: 42px; padding: 0 16px; font-weight: 600; font-size: var(--kucuk); cursor: pointer; transition: border-color .2s, background-color .2s; }
.teklif .ekle-bosluk:hover { border-color: currentColor; background: var(--zemin); }
/* ölçekli duvar çizimi */
.teklif .duvar-cizim, .hesap .duvar-cizim { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 22px; }
.teklif .duvar-kap, .hesap .duvar-kap { position: relative; aspect-ratio: var(--oran); width: min(calc(100cqw - 60px), calc(290px * var(--oran))); border-radius: 4px; overflow: hidden; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .55); background: #2a241e; }
.teklif .duvar-kap canvas, .hesap .duvar-kap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.teklif .delikler i { position: absolute; background: var(--yuzey); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--murekkep) 25%, transparent); }
.teklif .delikler .kapi { border-radius: 2px 2px 0 0; }
.teklif .delikler .pencere { border-radius: 2px; background: linear-gradient(135deg, rgb(160 190 210 / .35), rgb(160 190 210 / .1)), var(--yuzey); }
.teklif .duvar-rozet, .hesap .duvar-rozet { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; background: rgb(18 15 12 / .72); color: #f3ede4; font-size: .75rem; font-weight: 600; backdrop-filter: blur(4px); }
.teklif .olcu-y, .teklif .olcu-g, .hesap .olcu-y, .hesap .olcu-g { font-size: .75rem; color: var(--soluk); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.teklif .olcu-y, .hesap .olcu-y { writing-mode: vertical-rl; transform: rotate(180deg); height: 100%; }
.teklif .olcu-g, .hesap .olcu-g { grid-column: 1; justify-content: center; width: 100%; }
.teklif .olcu-g::before, .teklif .olcu-g::after, .hesap .olcu-g::before, .hesap .olcu-g::after { content: ""; flex: 1; border-top: 1px solid color-mix(in srgb, var(--murekkep) 25%, transparent); }
.teklif .olcu-y::before, .teklif .olcu-y::after, .hesap .olcu-y::before, .hesap .olcu-y::after { content: ""; flex: 1; border-left: 1px solid color-mix(in srgb, var(--murekkep) 25%, transparent); }
.teklif .bosluk { display: flex; gap: 8px; align-items: center; font-size: var(--kucuk); }
.teklif .bosluk input { width: 96px; min-height: 42px; border: 0; border-radius: 10px; background: var(--zemin); padding: 0 34px 0 12px; font-weight: 500; }
.teklif .bosluk .birimli i { right: 10px; }
.teklif .bosluk > span:first-child { min-width: 5.5em; font-weight: 600; }
.teklif .bag { border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: var(--kucuk); font-weight: 600; color: var(--murekkep); }
.teklif .yuzey-sonuc { margin-top: 10px; font-size: var(--kucuk); color: var(--soluk); text-align: center; }
.teklif .yuzey-sonuc b { color: var(--murekkep); }
.teklif .ekle-satir { display: flex; gap: 10px; flex-wrap: wrap; }
.teklif .ekle-satir .dugme { min-height: 46px; padding: 0 18px; }
.teklif h3 { font-size: var(--kucuk); font-weight: 600; letter-spacing: 0; color: var(--soluk); margin: 22px 0 10px; }
.teklif .adet-satir { display: flex; gap: 8px; margin-bottom: 8px; }
.teklif .adet-satir select { flex: 1; min-width: 0; min-height: 44px; border: 0; border-radius: 12px; background: var(--zemin); padding: 0 12px; }
.teklif .adet-satir input { width: 80px; min-height: 44px; border: 0; border-radius: 12px; background: var(--zemin); padding: 0 12px; }
.teklif .secim { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-weight: 500; }
.teklif .secim input { width: 20px; height: 20px; accent-color: var(--vurgu); }
.teklif .secim select { min-height: 38px; border: 0; border-radius: 10px; background: var(--zemin); padding: 0 10px; }
.teklif .t-sonuc { color: var(--soluk); font-size: var(--kucuk); }
/* ekler: aç/kapa satırları */
.teklif .ek { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; cursor: pointer; }
.teklif .ek + .ek, .teklif .cita-renk + .ek { border-top: 1px solid color-mix(in srgb, var(--murekkep) 10%, transparent); }
.teklif .ek-ad { display: grid; font-weight: 600; }
.teklif .ek-ad small { font-weight: 400; color: var(--soluk); font-size: var(--kucuk); margin-top: 2px; }
.teklif .ek b { font-size: var(--kucuk); white-space: nowrap; }
.teklif .anahtar { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--zemin); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--murekkep) 20%, transparent); position: relative; cursor: pointer; transition: background-color .25s; margin: 0; }
.teklif .anahtar::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--murekkep); transition: transform .25s var(--yay), background-color .25s; }
.teklif .anahtar:checked { background: var(--vurgu); box-shadow: none; }
.teklif .anahtar:checked::after { transform: translateX(18px); background: #fff; }
.teklif .anahtar:focus-visible { outline: 2px solid var(--vurgu); outline-offset: 3px; }
.teklif .cita-renk { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px 58px; scrollbar-width: none; }
.teklif .cita-renk .cip { flex: none; min-height: 36px; padding: 0 12px; font-size: .8125rem; }
.teklif .cita-renk .cip i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.teklif .sonuc-kart .giris { margin-top: 0; }
.teklif .sonuc-kart .sonuc { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--murekkep) 12%, transparent); }
.teklif .dokum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teklif .dokum li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-size: var(--kucuk); }
.teklif .dokum li span:nth-child(2) { color: var(--soluk); }
.teklif .sifirla { color: var(--soluk); }
.teklif .teklif-alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.teklif .uyari-not { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #b4513b; color: #fff; font-weight: 600; }
.teklif .usta-not { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: #c9a46a; color: #17120a; font-size: var(--kucuk); font-weight: 600; }
.teklif .kesif-alan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 12px 58px; }
.teklif .kesif-alan[hidden] { display: none; }
.teklif .kesif-alan label { display: grid; gap: 6px; font-size: var(--kucuk); font-weight: 500; }
.teklif .kesif-alan .genis { grid-column: 1 / -1; }
.teklif .kesif-alan input, .teklif .kesif-alan select { min-height: 44px; border: 0; border-radius: 12px; background: var(--zemin); padding: 0 12px; font-weight: 500; width: 100%; min-width: 0; }
/* adım adım hesap */
.teklif .adim-cubuk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.teklif .adim-cubuk button { width: 100%; border: 0; background: none; padding: 0; cursor: pointer; display: grid; justify-items: start; gap: 8px; color: var(--soluk); font: inherit; font-size: .8125rem; font-weight: 500; text-align: left; }
.teklif .adim-cubuk button::before { content: ""; width: 100%; height: 4px; border-radius: 99px; background: color-mix(in srgb, var(--murekkep) 12%, transparent); transition: background-color .3s; }
.teklif .adim-cubuk i { display: none; }
.teklif .adim-cubuk .gecti { color: var(--murekkep); }
.teklif .adim-cubuk .gecti::before { background: var(--vurgu); }
.teklif .adim-cubuk [aria-current="step"] { color: var(--murekkep); font-weight: 700; }
.teklif .adim-cubuk [aria-current="step"]::before { background: var(--murekkep); }
.teklif .adim-soru { margin: 0 0 20px; color: var(--murekkep); font-family: var(--baslik); font-weight: var(--baslik-agirlik); font-size: var(--giris); letter-spacing: -0.02em; display: grid; gap: 4px; outline: none; }
.teklif .adim-no { font-family: var(--metin); font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--soluk); }
.teklif .adim-duvar { justify-self: start; font-family: var(--metin); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--zemin); color: var(--murekkep); }
.teklif .adim-govde .yuzey { margin: 0; padding: 0; border: 0; min-width: 0; }
.teklif .adim-govde .duvar-cizim { margin-top: 26px; }
.teklif .secili-urun { display: grid; grid-template-columns: clamp(118px, 30%, 180px) 1fr; gap: clamp(14px, 2vw, 22px); align-items: center; margin-bottom: 20px; }
.teklif .secili-foto { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .6); }
.teklif .secili-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teklif .secili-bilgi { display: grid; gap: 6px; min-width: 0; }
.teklif .secili-bilgi b { font-family: var(--baslik); font-weight: var(--baslik-agirlik); font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; }
.teklif .secili-fiyat { font-weight: 600; color: var(--vurgu); }
.teklif .secili-bilgi p { margin: 2px 0 0; font-size: var(--kucuk); color: var(--soluk); line-height: 1.45; }
.teklif .secili-bilgi ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.teklif .secili-bilgi li { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--zemin); }
.teklif .adim-govde .urun-sec .secili-renk { display: none; }
.teklif .buyuk-cip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.teklif .buyuk-cip .cip { min-height: 56px; font-size: 1rem; border-radius: 14px; }
.teklif .adim-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.teklif .adim-fiyat { font-size: var(--kucuk); color: var(--soluk); }
.teklif .adim-dugmeler { display: flex; gap: 10px; margin-left: auto; }
.teklif .adim-dugmeler .dugme { min-height: 50px; padding: 0 26px; }
.teklif .duvar-liste { display: grid; }
.teklif .duvar-satir { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--murekkep) 12%, transparent); }
.teklif .duvar-satir:first-child { padding-top: 0; }
.teklif .duvar-renk { width: 44px; height: 44px; border-radius: 10px; background-size: cover; background-position: center; }
.teklif .duvar-bilgi { display: grid; min-width: 0; }
.teklif .duvar-bilgi small { color: var(--soluk); font-size: var(--kucuk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teklif .adim-govde .ekle-satir { margin-top: 14px; }
.teklif .adim-govde .dokum ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--murekkep) 12%, transparent); }
.teklif .adim-govde .sonuc { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--murekkep) 12%, transparent); }
.teklif .adim-govde .sonuc .giris { margin-top: 0; }
.teklif .kesif-ek { margin-top: 14px; border-top: 1px solid color-mix(in srgb, var(--murekkep) 12%, transparent); }
@media (max-width: 600px) {
  .teklif .adim-cubuk span { font-size: .6875rem; }
  .teklif .adim-cubuk button:not([aria-current="step"]) span { opacity: .7; }
  .teklif .adim-fiyat { width: 100%; text-align: center; }
  .teklif .adim-dugmeler { width: 100%; }
  .teklif .adim-dugmeler .dugme { flex: 1; padding: 0 12px; }
  .teklif .duvar-satir { grid-template-columns: 40px 1fr auto; }
  .teklif .duvar-satir .sil { grid-column: 3; }
}
@media (max-width: 900px) {
  html.hesap-ekranda .alt-cubuk { transform: translateY(110%); }
  .teklif .adim-alt.son { position: static; box-shadow: none; background: none; }
  .teklif .adim-alt { position: sticky; bottom: 0; z-index: 5; margin: 0 calc(-1 * var(--kenar)); padding: 10px var(--kenar) calc(10px + env(safe-area-inset-bottom)); background: var(--zemin); box-shadow: 0 -12px 24px -18px rgb(0 0 0 / .5); }
  .teklif .secili-bilgi b { font-size: 1rem; }
  .teklif .secili-bilgi p { display: none; }
  .teklif .adim-govde .ekle-satir .dugme { flex: 1 1 auto; min-height: 44px; padding: 0 14px; font-size: .875rem; }
}
.hesap .onizleme i { display: block; transform-origin: bottom; animation: cik .7s var(--yay) both; }
@keyframes cik { from { transform: scaleY(0); } }

/* Alt bilgi */
/* alt bilgi: sayfanın iki ucu (showroom ve alt bilgi) aynı gece salonu, temadan bağımsız */
.alt-bilgi { margin-top: clamp(96px, 13vw, 200px); background: #0d0b09; color: #efe8dc; padding: clamp(56px, 7vw, 104px) 0 28px; overflow: hidden; }
.alt-bilgi .soluk, .alt-bilgi .not { color: #a99f90; }
.alt-bilgi .satirlar { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
/* Ana sayfada adres, telefon ve saatler hemen üstteki İletişim bölümünde var; alt bilgide tekrar etmesin */
body:has(#iletisim) .alt-bilgi .satirlar { grid-template-columns: 1fr 1fr; max-width: 640px; }
body:has(#iletisim) .alt-bilgi .satirlar > div:nth-child(-n+2) { display: none; }
body:has(#iletisim) .alt-bilgi { margin-top: clamp(40px, 5vw, 72px); }
.alt-bilgi { padding-bottom: 84px; } /* sağ alttaki yüzen düğmeler son satırı kapatmasın */
.alt-bilgi h3 { margin-bottom: 10px; }
.alt-bilgi p, .alt-bilgi a { line-height: 1.7; }
.anit {
  /* Alt bilginin zemine işlenmiş pirinç logo: kutu yok, sayfanın hizasında */
  display: flex; align-items: center; gap: clamp(14px, 2.6vw, 40px);
  margin: clamp(56px, 8vw, 112px) 0 0; padding-top: clamp(28px, 4vw, 48px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
}
.anit img { width: clamp(72px, 13vw, 190px); height: auto; flex: none; opacity: .92; }
.anit b, .anit span { display: block; white-space: nowrap; }
.anit b { font-family: var(--baslik); font-weight: 900; font-size: clamp(2.4rem, 9.6vw, 8.6rem); line-height: .86; letter-spacing: -0.02em; color: #c9a46a; }
.anit span { font-weight: 500; font-size: clamp(.72rem, 2.9vw, 2.6rem); letter-spacing: .42em; margin-top: .45em; color: #8f8678; }
.alt-bilgi .not { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: var(--kucuk); color: var(--soluk); }

/* Ters renk alanı: sayfanın ortasında tam genişlikte tek bir açık alan (açık temada koyu) */
.alan-ters { margin-top: clamp(96px, 13vw, 200px); padding: clamp(72px, 10vw, 150px) 0; background: var(--murekkep); color: var(--zemin); }
.alan-ters p { color: color-mix(in srgb, var(--zemin) 80%, var(--murekkep)); }

/* Görünür olunca beliren parçalar */
.belir { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--yay); }
.belir.gorundu { opacity: 1; transform: none; }
.js-yok .belir { opacity: 1; transform: none; }

/* Gece showroom'u (ana sayfa ilk ekran) — site temasından bağımsız, her zaman karanlık sahne */
.showroom {
  --sr-zemin: #0d0b09; --sr-yuzey: #1b1713; --sr-yuzey-2: #26201a; --sr-murekkep: #f0e9dd; --sr-soluk: #a59c8e; --sr-pirinc: #c9a46a;
  position: relative; background: var(--sr-zemin); color: var(--sr-murekkep);
}
.sr-sahne { position: relative; height: calc(100svh - var(--ust-h, 76px)); min-height: 560px; max-height: 1000px; overflow: hidden; outline: none; }
.sr-sahne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.sr-sahne::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(13 11 9 / .72), transparent 30%), linear-gradient(0deg, rgb(13 11 9 / .6), transparent 22%), radial-gradient(120% 90% at 50% 46%, transparent 55%, rgb(0 0 0 / .6) 100%); } /* üstte ve altta yazılar okunsun */
.sr-sahne::after {
  content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: gren 1.2s steps(4) infinite;
}
@keyframes gren { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.sr-sahne:focus-visible { box-shadow: inset 0 0 0 3px var(--sr-pirinc); }
.sr-ust { position: absolute; left: 0; right: 0; top: clamp(22px, 4.5vh, 52px); z-index: 2; pointer-events: none; display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.sr-ust h1 { font-size: var(--dev); line-height: .98; max-width: 11ch; color: var(--sr-murekkep); }
.sr-ust p { margin-top: 14px; max-width: 25em; color: var(--sr-soluk); font-size: var(--govde); line-height: 1.5; }
.sr-metin { position: relative; isolation: isolate; transition: opacity .45s ease; }
.sr-metin::before { content: ""; position: absolute; inset: -70px -140px -70px -220px; z-index: -1; background: radial-gradient(closest-side, rgb(13 11 9 / .85), rgb(13 11 9 / .5) 60%, transparent); } /* panellerin önünde yazı okunsun */
.showroom.secimli .sr-metin { opacity: 0; }
/* sağ üst: sekmeler ve altında stant bilgisi (kesit + özellikler) */
.sr-sag-ust { display: grid; justify-items: end; gap: 10px; flex: none; }
.sr-bilgi { display: grid; grid-template-columns: 136px auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgb(13 11 9 / .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--sr-murekkep); transition: opacity .4s; pointer-events: auto; }
.sr-bilgi:empty { display: none; }
.sr-kesit { width: 136px; height: auto; display: block; }
.sr-kesit .k-yuz { fill: #c9a46a; }
.sr-kesit .k-koyu { fill: #050404; stroke: rgb(255 255 255 / .18); stroke-width: .6; }
.sr-kesit .k-kece { fill: #3a3633; }
.sr-bilgi ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: var(--kucuk); line-height: 1.3; }
.sr-bilgi li:first-child { font-weight: 700; }
.sr-bilgi li:not(:first-child) { color: var(--sr-soluk); }
.showroom.secimli .sr-bilgi { opacity: 0; pointer-events: none; }
.sr-sekmeler { position: relative; isolation: isolate; pointer-events: auto; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / .07); flex: none; }
.sr-sekmeler button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--sr-murekkep); font-weight: 600; font-size: var(--govde); min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; transition: background-color .35s, color .3s .08s; white-space: nowrap; }
.sr-sekmeler button:hover { background: rgb(255 255 255 / .08); }
.sr-sekmeler button[aria-selected="true"] { background: var(--sr-murekkep); color: var(--sr-zemin); }
/* sıvı gösterge: seçili sekmenin arkasındaki damla. Gidilen yöndeki kenar önden koşar, arka kenar geç yetişir:
   damla uzayıp yeniden toplanır */
.sr-damla { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: var(--sol, 5px); right: var(--sag, 5px); border-radius: 999px; background: var(--sr-murekkep); pointer-events: none;
  transition: left .55s var(--sol-egri, cubic-bezier(.7,0,.2,1)), right .55s var(--sag-egri, cubic-bezier(.7,0,.2,1)); }
.sr-sekmeler.sivi button[aria-selected="true"] { background: transparent; }
.sr-sekmeler.akiyor .sr-damla { animation: damla .55s ease-in-out; }
@keyframes damla { 45% { transform: scaleY(.9); } }
.sr-alt { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3.5vh, 40px); z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 16px; pointer-events: none; transition: opacity .4s; }
.sr-alt > * { pointer-events: auto; }
.sr-etiket b { display: block; font-family: var(--baslik); font-weight: var(--baslik-agirlik); letter-spacing: -0.03em; font-size: var(--urun); line-height: 1.05; }
.sr-etiket span { display: block; margin-top: 6px; font-size: var(--kucuk); color: var(--sr-soluk); }
.sr-etiket .sr-indirim { font-style: normal; font-weight: 700; color: #e5856b; }
.sr-sag { display: flex; align-items: center; gap: 16px; }
.sr-sayac { font-size: var(--kucuk); font-weight: 600; color: var(--sr-soluk); font-variant-numeric: tabular-nums; }
.showroom .raf-oklar { display: flex; gap: 8px; }
.showroom .raf-oklar button { width: 54px; height: 54px; border-radius: 999px; border: 0; background: rgb(255 255 255 / .09); color: var(--sr-murekkep); font-size: 1.25rem; cursor: pointer; transition: background-color .3s, color .3s, transform .3s var(--yay); }
.showroom .raf-oklar button:hover { background: var(--sr-murekkep); color: var(--sr-zemin); transform: scale(1.06); }
.sr-ipucu { position: absolute; left: 50%; bottom: clamp(30px, 4.6vh, 52px); transform: translateX(-50%); z-index: 2; font-size: var(--kucuk); color: var(--sr-murekkep); opacity: .72; pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.showroom.dondu .sr-ipucu, .showroom.secimli .sr-ipucu, .showroom.secimli .sr-alt { opacity: 0; }
.showroom.secimli .sr-alt { pointer-events: none; }

/* Sergi etiketi (bilgi kartı) */
.raf-kart {
  position: absolute; z-index: 3; right: var(--kenar); top: 50%; width: min(410px, 36vw); max-height: calc(100% - 48px); overflow-y: auto;
  background: var(--sr-yuzey); color: var(--sr-murekkep); border-radius: 22px; padding: 28px 28px 24px;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / .8);
  opacity: 0; transform: translate(28px, -50%); transition: opacity .4s ease, transform .6s var(--yay);
}
.raf-kart.acik { opacity: 1; transform: translate(0, -50%); }
.raf-kapat { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--sr-yuzey-2); color: var(--sr-murekkep); font-size: 1.4rem; line-height: 1; cursor: pointer; }
/* üreticinin renk görseli (ör. Dogga Tetra kesiti): kartın üstünde, beyaz fonlu */
.raf-gorsel { display: block; width: calc(100% - 56px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #fff; margin-bottom: 16px; }
.raf-aile { font-size: var(--kucuk); color: var(--sr-pirinc); padding-right: 52px; font-weight: 500; }
.raf-kart h2 { font-size: var(--urun); line-height: 1.05; margin-top: 8px; color: var(--sr-murekkep); }
.raf-kisa { margin-top: 10px; color: var(--sr-soluk); font-size: var(--govde); line-height: 1.5; }
.raf-fiyatlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-top: 20px; }
.raf-fiyatlar div { background: var(--sr-yuzey-2); border-radius: 14px; padding: 12px 14px; }
.raf-fiyatlar span { display: block; font-size: var(--kucuk); color: var(--sr-soluk); }
.raf-fiyatlar b { display: block; margin-top: 2px; font-family: var(--baslik); font-weight: var(--baslik-agirlik); letter-spacing: -0.02em; font-size: var(--giris); white-space: nowrap; }
.raf-ozellik { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0 0; font-size: var(--govde); line-height: 1.4; }
.raf-ozellik dt { color: var(--sr-soluk); }
.raf-ozellik dd { margin: 0; font-weight: 500; }
.raf-ozellik .evet { color: var(--sr-pirinc); }
.raf-ozellik .hayir { color: var(--sr-soluk); font-weight: 500; }
.raf-not { margin-top: 16px; font-size: var(--kucuk); color: var(--sr-soluk); }
.raf-eylem { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.raf-eylem .dugme { min-height: 48px; padding: 0 16px; }
.raf-eylem .dugme:first-child { grid-column: 1 / -1; background: var(--sr-pirinc); color: #1a1408; }
.raf-eylem .dugme.ikincil { background: var(--sr-yuzey-2); color: var(--sr-murekkep); }
.raf-eylem .dugme.sade { color: var(--sr-murekkep); }
.raf-yok .sr-sahne { height: auto; min-height: 0; padding: 40px 0 140px; }
.raf-yok canvas, .raf-yok .raf-oklar, .raf-yok .sr-ipucu { display: none; }
@media (max-width: 760px) {
  .sr-sahne { height: calc(100svh - var(--ust-h, 112px) - 72px); min-height: 520px; }
  .sr-ust { flex-direction: column; gap: 14px; }
  .sr-ust p { display: none; }
  .sr-sekmeler { align-self: stretch; justify-content: space-between; transition: opacity .4s; }
  .sr-sag-ust { justify-items: stretch; align-self: stretch; gap: 8px; }
  .sr-bilgi { grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 12px; border-radius: 12px; }
  .sr-kesit { width: 92px; }
  .sr-bilgi ul { grid-template-columns: 1fr; font-size: .75rem; }
  .sr-bilgi li:nth-child(3) { display: none; } /* telefonda iki satır yeter */
  .showroom.secimli .sr-sekmeler { opacity: 0; pointer-events: none; }
  .sr-sekmeler button { flex: 1; padding: 0 8px; font-size: var(--kucuk); }
  .showroom .raf-oklar { display: none; }
  .sr-ipucu { bottom: 122px; }
  .raf-kart { left: var(--kenar); right: var(--kenar); top: auto; bottom: 12px; width: auto; max-height: 47%; padding: 20px 18px 18px; transform: translateY(30px); border-radius: 20px; }
  .raf-kart.acik { transform: none; }
  .raf-fiyatlar { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .raf-fiyatlar div { padding: 10px; }
  .raf-fiyatlar b { font-size: 1.0625rem; }
}

/* Prototip aracı */
.proto { position: fixed; z-index: 60; right: 16px; bottom: 16px; font-size: .875rem; }
/* vitrin ekrandayken (üst çubuk gece) vitrinin oklarıyla çakışmasın diye yukarı kalkar */
.proto { transition: bottom .4s var(--yay); }
html:has(.ust.gece) .proto { bottom: 96px; }
html:has(.raf-kart:not([hidden])) .proto { opacity: 0; pointer-events: none; } /* vitrinde ürün kartı açıkken kartın üstüne binmesin */
.geri-don { position: fixed; z-index: 59; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--murekkep); color: var(--zemin); font-weight: 600; font-size: .9375rem; text-decoration: none; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); transition: transform .3s var(--yay); }
.geri-don:hover { transform: translateX(-3px); }
.geri-don span { font-size: 1.1em; }
.proto .panel { left: auto !important; right: 0; }
.proto > button { border: 0; border-radius: 999px; background: #161513; color: #ece8de; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 600; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .4); }
.proto .panel { position: absolute; left: 0; bottom: 54px; width: min(320px, calc(100vw - 32px)); background: #161513; color: #ece8de; border-radius: 16px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .5); }
.proto .panel[hidden] { display: none; }
.proto select { width: 100%; min-height: 44px; border-radius: 10px; border: 0; padding: 0 12px; background: #2a2825; color: #ece8de; }
.proto a { color: #e8d8a8; }
.proto .proto-intro { min-height: 44px; border: 0; border-radius: 10px; background: #c9a46a; color: #17120a; font-weight: 700; cursor: pointer; }
.proto .proto-intro:hover { background: #d8b67a; }

@media (max-width: 900px) {
  .menu { display: none; }
  .mobil-menu { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--kenar) 12px; scrollbar-width: none; }
  .mobil-menu::-webkit-scrollbar { display: none; }
  .mobil-menu a { flex: none; text-decoration: none; font-weight: 500; background: var(--yuzey); padding: 9px 14px; border-radius: 999px; font-size: var(--kucuk); }
  .mobil-menu a[aria-current="page"] { background: var(--murekkep); color: var(--zemin); }
  .ust .kap { min-height: 64px; }
  .ust-sag .dugme { display: none; }
  .marka .amblem { height: 38px; }
  .marka-ad { font-size: 1.12rem; }
  .marka small { font-size: .52rem; letter-spacing: .34em; }
  .alt-cubuk {
    display: flex; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--zemin);
    box-shadow: 0 -12px 30px -20px rgb(var(--golge) / .6);
  }
  .alt-cubuk .dugme { flex: 1; min-height: 50px; padding: 0 12px; }
  body { padding-bottom: 76px; }
  .proto { bottom: 88px; right: 12px; }
  .geri-don { bottom: 88px; left: 12px; min-height: 40px; padding: 0 14px; font-size: .8125rem; }
  .geri-don .uzun { display: none; }
  .usta-rozet { margin-left: 8px; padding: 5px 10px; }
  .alt-bilgi .satirlar { grid-template-columns: 1fr; }
  .hesap .alanlar { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .belir { opacity: 1; transform: none; }
}

/* Karar araçları: vitrinin hemen altında tek satır */
.karar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.karar-kart { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 12px 12px 18px; border-radius: 22px; background: var(--yuzey); text-decoration: none; transition: transform .4s var(--yay), background-color .3s ease; }
.karar-kart:hover { transform: translateY(-4px); background: var(--yuzey-2); }
.karar-kart > b, .karar-kart > span.soluk, .karar-kart > em { padding: 0 6px; }
.karar-kart > b { font-family: var(--baslik); font-weight: var(--baslik-agirlik); font-size: var(--giris); line-height: 1.15; margin-top: 8px; }
.karar-kart > span.soluk { font-size: var(--kucuk); }
.karar-kart > em { font-style: normal; font-weight: 600; color: var(--vurgu); margin-top: 6px; }
.karar-gorsel { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--zemin); }
.karar-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--yay); }
.karar-kart:hover .karar-gorsel img { transform: scale(1.05); }
.karar-yan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: none; }
.karar-yan img { border-radius: 10px; }
.karar-sorular { display: flex; align-items: center; justify-content: center; gap: 8px; }
.karar-sorular i { font-style: normal; width: clamp(30px, 3vw, 42px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 999px; background: var(--yuzey-2); font-weight: 700; color: var(--soluk); }
.karar-sorular i:nth-child(-n+2) { background: var(--vurgu); color: var(--vurgu-murekkep); }
.hesap-ozet .ozet-bos { color: var(--soluk); line-height: 1.55; }
.teklif .birimli.eksik { outline: 2px solid #e5856b; outline-offset: 2px; border-radius: 12px; }
.karar-serit { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 0 0 20px; font-size: var(--kucuk); }
.karar-serit span { color: var(--soluk); }
@media (max-width: 1000px) { .karar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  /* telefonda dört kart tek bakışta: 2×2, kısa metin gizli */
  .karar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .karar-kart { padding: 8px 8px 14px; gap: 4px; border-radius: 18px; }
  .karar-kart > span.soluk { display: none; }
  .karar-kart > b { font-size: 1rem; margin-top: 6px; }
  .karar-kart > em { font-size: .875rem; }
  .karar-gorsel { aspect-ratio: 1 / 1; border-radius: 12px; }
  .karar-yan { grid-template-columns: 1fr 1fr 1fr; }
  .karar-sorular { gap: 5px; }
  .karar-sorular i { width: 26px; font-size: .8125rem; }
}
@media (max-width: 760px) {
  .rozetler { left: 8px; top: 8px; gap: 4px; }
  .rozet { min-height: 22px; padding: 0 7px; font-size: .6875rem; border-radius: 6px; gap: 4px; }
  .rozet svg { width: 11px; height: 11px; }
  .kart .ad { font-size: 1rem; }
  .renk-cip { left: 8px; bottom: 8px; padding: 3px 8px 3px 5px; font-size: .6875rem; }
  .kart .etiket.gecici { bottom: 8px; right: 8px; }
}

/* İndirim: eski fiyat çizili + yüzde, yeni fiyat vurgulu */
:root, [data-tema="acik"] { --indirim: #a8442f; }
[data-tema="koyu"] { --indirim: #e5856b; }
.indirim { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: var(--kucuk); }
.indirim s { color: var(--soluk); text-decoration-thickness: 1.5px; text-decoration-color: var(--indirim); }
.indirim b { padding: 2px 7px; border-radius: 6px; background: var(--indirim); color: #fff; font-size: .75rem; font-weight: 700; }
[data-tema="koyu"] .indirim b { color: #1b1713; }
.kart .indirim + .fiyat { margin-top: 2px; }
.indirimli { color: var(--indirim); }
.raf-fiyatlar .indirim, #tutar + .indirim { margin: 0 0 4px; }

/* Açılış introsu (yalnız ana sayfa, oturumda bir kez) */
.intro-acik { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.intro.kalk { pointer-events: none; }
/* zemin: koyu kadife perde katları; çıkışta tiyatro perdesi gibi ortadan iki yana toplanarak açılır
   (her kat kendi genişliği kadar fazla kayar: kenara yaklaştıkça katlar sıkışır, sonra perde sahneden çıkar) */
.intro-perde { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(var(--n, 14), 1fr); }
.intro-perde i { background: linear-gradient(90deg, #0a0706 0%, #1a130e 30%, #231a12 50%, #160f0b 72%, #070504 100%);
  box-shadow: inset -1px 0 0 rgb(201 164 106 / .12);
  transform-origin: 50% 0; will-change: transform; backface-visibility: hidden;
  transition: transform 1.35s cubic-bezier(.62, .02, .22, 1) var(--g, 0s); }
.intro-perde i:nth-child(even) { background: linear-gradient(90deg, #080605 0%, #18110c 35%, #20170f 52%, #120c09 75%, #060403 100%); }
.intro.kalk .intro-perde i { transform: translateX(var(--x)) skewY(var(--egim)); }
.intro::before { content: ""; position: absolute; inset: -10%; z-index: 1; background: radial-gradient(ellipse 55% 50% at 50% 45%, rgb(58 45 31 / .9) 0%, rgb(28 22 17 / .55) 45%, transparent 75%); pointer-events: none; transition: opacity .4s; }
.intro.kalk::before { opacity: 0; }
.intro-ic { position: relative; z-index: 2; }
.intro-duvar { z-index: 2; }
.intro.kalk .intro-ic { transform: scale(.96); opacity: 0; transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .35s ease; }
.intro-ic { display: grid; justify-items: center; text-align: center; gap: 0; padding: 24px; }
.intro-amblem { width: clamp(120px, 22vw, 200px); height: auto; overflow: visible; }
.intro-ad { margin: clamp(18px, 3vw, 28px) 0 0; display: grid; justify-items: center; }
.intro-ad b { font-family: var(--baslik); font-weight: 900; font-size: clamp(2.2rem, 7vw, 4.4rem); line-height: .9; letter-spacing: -0.01em;
  color: #d9b672; text-shadow: 0 1px 0 rgb(255 240 200 / .18), 0 10px 30px rgb(201 164 106 / .18); }
.intro-ad span { margin-top: .7em; font-weight: 500; font-size: clamp(.7rem, 1.6vw, 1rem); letter-spacing: .5em; padding-left: .5em; color: #b9b2a6; }
.intro-slogan { margin: clamp(22px, 3.5vw, 34px) 0 0; font-size: clamp(1rem, 2.2vw, 1.35rem); color: #efe8dc; font-weight: 500; }
/* Animasyonlar "gelen" taraftan oynar (fill: backwards); bitince öğenin kendi görünür hali kalır.
   Bazı telefon tarayıcıları "forwards" son halini tutmayıp yazıyı gizliyordu. */
@media (prefers-reduced-motion: no-preference) {
  .intro-amblem path { stroke-dasharray: 1; animation: intro-ciz .85s cubic-bezier(.65, 0, .35, 1) backwards; }
  .intro-amblem .ic2 { animation-delay: .15s; } .intro-amblem .ic3 { animation-delay: .3s; } .intro-amblem .ic4 { animation-delay: .4s; animation-duration: .75s; }
  .intro-amblem .in { transform-box: fill-box; transform-origin: center; animation: intro-nokta .5s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  .intro-amblem .in:nth-of-type(1) { animation-delay: .65s; } .intro-amblem .in:nth-of-type(2) { animation-delay: .72s; }
  .intro-amblem .in:nth-of-type(3) { animation-delay: .79s; } .intro-amblem .in:nth-of-type(4) { animation-delay: .86s; }
  .intro-ad { animation: intro-gel .8s cubic-bezier(.22, 1, .36, 1) .6s backwards; }
  .intro-slogan { animation: intro-gel .8s cubic-bezier(.22, 1, .36, 1) .95s backwards; }
}
@keyframes intro-ciz { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes intro-nokta { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes intro-gel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* yükleme: altta çıtalar tek tek dizilir, duvar tamamlanınca sayfa açılır */
.intro-duvar { position: absolute; left: 50%; bottom: clamp(36px, 8vh, 72px); translate: -50% 0; width: min(440px, 78vw); display: grid; gap: 10px; justify-items: center; }
.intro-citalar { width: 100%; height: clamp(46px, 7vh, 64px); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; align-items: end;
  padding: 0 0 4px; border-bottom: 2px solid rgb(201 164 106 / .45); perspective: 500px; }
.intro-citalar i { height: 100%; border-radius: 2px 2px 0 0; background-size: cover; background-position: center; box-shadow: inset -2px 0 0 rgb(0 0 0 / .28), inset 1px 0 0 rgb(255 255 255 / .12);
  /* duvara takma: çıta önden, hafif eğik ve büyük gelir, yerine oturur (son anda küçük bir tık) */
  transform-origin: 50% 100%; transform: translate3d(0, -26px, 60px) rotateX(-28deg) rotateZ(-7deg); opacity: 0;
  transition: transform .5s cubic-bezier(.34, 1.4, .5, 1), opacity .18s, box-shadow .5s; }
.intro-citalar i.on { transform: none; opacity: 1; box-shadow: inset -2px 0 0 rgb(0 0 0 / .28), inset 1px 0 0 rgb(255 255 255 / .12), 0 2px 0 rgb(0 0 0 / .5); }
.intro-yuzde { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: #b9b2a6; font-variant-numeric: tabular-nums; }
/* perde açılırken alttaki çıta duvarı da ortadan ikiye ayrılır: her yarı kendi perdesiyle birlikte yana çekilir */
.intro.kalk .intro-yuzde { opacity: 0; transition: opacity .25s; }
.intro.kalk .intro-citalar { border-bottom-color: transparent; transition: border-color .4s; }
.intro.kalk .intro-citalar i.on { transform: translate3d(calc(var(--yon) * 62vw), 0, 0) rotateZ(calc(var(--yon) * 7deg)); opacity: 0;
  transition: transform 1.25s cubic-bezier(.62, .02, .22, 1) var(--cg), opacity .45s ease calc(var(--cg) + .8s); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .intro-citalar i, .intro.kalk .intro-citalar i.on { transition: opacity .2s; transform: none; } .intro-perde i { transition: none; } .intro.kalk .intro-perde { opacity: 0; transition: opacity .4s; } }

/* Telefon sadeleştirme: menü tek düğmede, vitrin ekrandayken ekran panellere kalır */
.menu-dugme { display: none; }
.raf-stand { display: none; }
.showroom.dokundu .sr-ipucu { opacity: 0; }
.sr-etiket .sr-numune { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8125rem; color: var(--sr-murekkep); opacity: .8; }
.sr-etiket .sr-numune::before { content: ""; width: 16px; height: 10px; background: linear-gradient(90deg, currentColor 0 22%, transparent 22% 26%, currentColor 26% 48%, transparent 48% 52%, currentColor 52% 74%, transparent 74% 78%, currentColor 78%); opacity: .7; }
@media (max-width: 900px) {
  .menu-dugme { display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--yuzey); color: inherit; cursor: pointer; }
  .menu-dugme span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--yay), opacity .2s; }
  .menu-acik .menu-dugme span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-acik .menu-dugme span:nth-child(2) { opacity: 0; }
  .menu-acik .menu-dugme span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ust.gece .menu-dugme { background: rgb(255 255 255 / .08); color: #efe8dc; }
  .mobil-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--kenar) 18px; overflow: visible;
    background: var(--zemin); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .6);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--yay), visibility 0s .4s; }
  .menu-acik .mobil-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--yay); }
  .mobil-menu a { text-align: center; padding: 12px 14px; }
  .ust.gece .mobil-menu { background: rgb(13 11 9 / .96); }
  /* Ara / WhatsApp çubuğu vitrin ekrandayken çekilir, aşağı kaydırınca geri gelir */
  .alt-cubuk { transition: transform .45s var(--yay); }
  html:has(.ust.gece) .alt-cubuk { transform: translateY(110%); }
  /* prototip düğmesi sağ üstte küçük bir rozet: ürün adının üstüne binmez */
  html .proto, html:has(.ust.gece) .proto { top: calc(var(--ust-h, 64px) + 12px); bottom: auto; right: 12px; transition: top .45s var(--yay); }
  html.ust-cekildi .proto { top: 12px; }
  html:has(.menu-acik) .proto { opacity: 0; pointer-events: none; }
  .proto > button { min-height: 32px; padding: 0 12px; font-size: .75rem; opacity: .85; }
  .proto .panel { top: 42px; bottom: auto; }
}
@media (max-width: 760px) {
  .sr-sahne { height: calc(100svh - var(--ust-h, 64px)); }
  .sr-ust h1 { font-size: clamp(1.75rem, 8.4vw, 2.3rem); }
  .showroom.dokundu .sr-metin { opacity: 0; }
  .sr-bilgi { display: none; }
  .raf-kart .raf-gorsel { display: none; } /* telefonda kartta fotoğraf yok: panel ekranda büyük kalsın */
  .raf-stand { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--sr-yuzey-2); }
  .raf-stand .sr-kesit { width: 92px; }
  .raf-stand ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .75rem; line-height: 1.3; }
  .raf-stand li:first-child { font-weight: 700; }
  .raf-stand li:not(:first-child) { color: var(--sr-soluk); }
  .sr-ipucu { bottom: 116px; }
}

/* bağlantıyla gelinen başlık üst çubuğun altında kalmasın */
[id] { scroll-margin-top: calc(var(--ust-h, 76px) + 16px); }
/* telefonda prototip ayarları ☰ menüsünde; yüzen düğme yok, panel menüden açılır */
.mobil-menu .proto-ac { display: none; }
@media (max-width: 900px) {
  .mobil-menu .proto-ac { display: block; grid-column: 1 / -1; border: 0; border-radius: 999px; padding: 12px 14px; font: inherit; font-weight: 500; font-size: var(--kucuk); background: transparent; color: inherit; opacity: .7; box-shadow: inset 0 0 0 1px currentColor; cursor: pointer; }
  .proto > button { display: none; }
  .proto .panel { top: 0; }
  .proto .proto-kapat { display: block; }
}
.proto .proto-kapat { display: none; justify-self: end; border: 0; background: none; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; margin: -8px -6px -8px 0; }
.kiosk .proto-ac { display: none !important; }

/* ürün sayfası hesabı: duvar çizimi kapsayıcısı (teklif kartlarındaki container ölçüsü burada yok) */
.hesap:not(.teklif) { container-type: inline-size; }
.hesap:not(.teklif) .duvar-cizim { margin-top: 22px; }
.hesap:not(.teklif) .duvar-kap { width: min(calc(100cqw - 60px), calc(190px * var(--oran))); }

/* üst menü JS ile eklenir; yeri baştan ayrılır ki içerik sonradan aşağı kaymasın (CLS) */
#ust:empty { display: block; height: 76px; }
@media (max-width: 900px) { #ust:empty { height: 64px; } }
