/* Store — "Yelpaze" (30 Ekim 2026): gece mavisi sahne; st- öneki.
   Üç düzey tipografi: Outfit 500 (başlık, bölüm adı, fiyat, toplam) · Inter 600 (parça adı, düğme, nokta etiketi) · Inter 400/500 mavi-gri (durum, açıklama).
   Üstte yelpaze: beş illüstrasyonlu bölüm kartı (src/store-art.js), ortadaki öne ve açık renge gelir (transform JS ile: translateX · translateZ · rotateY);
   seçili bölümün parçaları yana kayan cam kartlarda; altında cam Sepet paneli; Siparişi gönder sipariş ekranının en altında. */
body[data-page=store]{background:#00327a;color:#eaf4ff}
body[data-page=store] .ambient{display:none}
body[data-page=store] #main{min-height:100dvh;background:radial-gradient(90% 440px at 50% 250px,#1a78cc 0,transparent 70%),linear-gradient(180deg,#00327a 0%,#04387f 42%,#062a60 100%)}
body[data-page=store] :is(button,a,select,input):focus-visible{outline-color:#adcafa}
body[data-page=store] .page{margin-top:0;padding-top:calc(var(--app-safe-top) + 28px)}
body[data-page=store] #app-dialog{color:#213e56}
.store-page{--muted:#a6c6e2;--line:#ffffff1f;width:min(640px,calc(100% - 80px));color:#eaf4ff}
.store-page svg.icon{width:18px;height:18px}
.st-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.st-title{font-family:var(--font-display);font-weight:500;font-size:32px;line-height:1.12;letter-spacing:-1.1px;color:#fff;margin:0}
.st-head+.st-title{margin-top:14px}
.st-round{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff2b;background:#ffffff14;color:#e8f4ff;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.st-round .icon{width:19px;height:19px}
.st-round em{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:700;background:#ff5d5d;color:#fff;box-shadow:0 0 0 2px #04387f}
.st-back{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 12px 0 6px;margin-left:-6px;border-radius:12px;background:none;color:#d5efff;font-size:13px;font-weight:600}
.st-back .icon{width:17px;height:17px;transform:rotate(180deg)}
/* ── Yelpaze: beş illüstrasyonlu bölüm kartı ──────── */
.st-fan{position:relative;height:216px;margin:6px 0 0;perspective:900px;overflow:hidden;touch-action:pan-y}
.st-fan-card{position:absolute;left:50%;top:12px;width:170px;height:188px;margin-left:-85px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;padding:10px 12px 12px;border:1px solid #b8e8ff2a;border-radius:22px;background:#0b2f66f2;color:#eaf4ff;text-align:center;transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .3s,background .3s,color .3s,border-color .3s;backface-visibility:hidden;will-change:transform;cursor:pointer}
.st-fan-art{display:block;width:146px;height:110px;margin-bottom:auto;border-radius:16px;background:linear-gradient(165deg,#0f4c9a,#062a5a);overflow:hidden;box-shadow:inset 0 1px 0 #ffffff22}
.st-fan-art svg{display:block;width:100%;height:100%}
.st-fan-card b{font-size:14px;font-weight:600;line-height:1.2}
.st-fan-card small{font-size:11px;color:var(--muted)}
.st-fan-card.on{background:#e2f0fa;color:#0f2e52;border-color:#e2f0fa;box-shadow:0 18px 40px #00245666}
.st-fan-card.on small{color:#2f5278}
.st-fan-card:focus-visible{outline:3px solid #adcafa;outline-offset:3px}
.st-fan-dots{display:flex;justify-content:center;gap:6px;margin-top:2px}
.st-fan-dots i{width:6px;height:6px;border-radius:3px;background:#ffffff40;transition:width .3s,background .3s}
.st-fan-dots i.on{width:18px;background:#e2f0fa}
/* ── Bölüm adı ve kayan kartlar ───────────────────── */
.st-lead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:4px 2px 0;font-family:var(--font-display);font-weight:500;font-size:20px;line-height:1.3;letter-spacing:-.4px;color:#fff}
.st-lead small{font-family:var(--font-text);font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}
.st-rail{display:flex;gap:10px;margin:12px 0 0;padding:4px 2px 10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.st-rail::-webkit-scrollbar{display:none}
.st-card{flex:none;scroll-snap-align:start;width:156px;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #b8e8ff2a;border-radius:20px;background:#ffffff0f;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.st-card.in{background:#ffffff1c;border-color:#b8e8ff66}
.st-card-main{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:0;background:none;text-align:left;color:inherit;min-width:0}
.st-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ffffff14;color:#bfe3ff;flex:none}
.st-ico .icon{width:24px;height:24px}
.st-card.in .st-ico{background:#e2f0fa;color:#0f2e52}
.st-card-main b{font-size:13.5px;font-weight:600;line-height:1.3;min-height:35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-stock{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:var(--muted)}
.st-stock i{width:6px;height:6px;border-radius:50%;background:#8fb0cf;flex:none}
/* Parça kartında stok satırına baştan iki satırlık yer: metin bir satıra sığsa da kart yüksekliği değişmez. */
.st-card-main .st-stock{display:flex;align-items:flex-start;line-height:1.35;min-height:2.7em}
.st-card-main .st-stock i{margin-top:.45em}
.st-stock.ok{color:#a4f1d7}.st-stock.ok i{background:#7ce7c4}
.st-stock.order{color:#ffd1a2}.st-stock.order i{background:#ffb370}
.st-stock.soon i{background:#e0c25a}
.st-card-f{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:2px}
.st-price{font-family:var(--font-display);font-weight:500;font-size:15px;letter-spacing:-.3px;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.st-price small{font-family:var(--font-text);font-size:11px;font-weight:400;color:#b5d9f6;margin-left:4px}
.st-add{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 12px 0 10px;border-radius:12px;background:#e2f0fa;color:#0f2e52;font-size:13px;font-weight:600;align-self:flex-end}
.st-add .icon{width:16px;height:16px}
.st-step{display:inline-flex;align-items:center;justify-content:space-between;height:36px;width:100%;border-radius:12px;background:#e2f0fa;color:#0f2e52;overflow:hidden}
.st-step button{width:36px;height:36px;border:0;background:none;color:inherit;font-size:19px;line-height:1;border-radius:0}
.st-step button:active{background:#c9dff0}
.st-step b{min-width:16px;text-align:center;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
/* ── Sepet paneli, satırlar, toplam ───────────────── */
.st-panel{margin-top:18px;padding:6px 14px 14px;border:1px solid #b8e8ff2a;border-radius:22px;background:#ffffff0a;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.st-panel-h{display:flex;align-items:baseline;justify-content:space-between;margin:0;padding:10px 2px 8px;font-family:var(--font-display);font-weight:500;font-size:18px;color:#fff}
.st-panel-h small{font-family:var(--font-text);font-size:12px;color:var(--muted)}
.st-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 2px;border-top:1px solid #ffffff10}
.st-panel>.st-line:first-child,.st-panel>.st-panel-h+.st-line{border-top:0}
.st-line-t{min-width:0;display:flex;flex-direction:column;gap:2px}
.st-line-t b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-line-t small{font-size:11.5px;color:var(--muted)}
.st-line-sum{font-family:var(--font-display);font-weight:500;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.st-line .st-step{width:auto;height:34px}
.st-line .st-step button{width:32px;height:34px;font-size:17px}
.st-total{display:flex;align-items:baseline;justify-content:space-between;padding:12px 2px 4px;border-top:1px solid #ffffff1f;margin-top:4px}
.st-total span{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#9fcbef}
.st-total b{font-family:var(--font-display);font-weight:500;font-size:24px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.st-cta,.st-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:10px;border:0;border-radius:14px;background:#e2f0fa;color:#0f2e52;font-size:14px;font-weight:600;box-shadow:0 10px 24px #00245640}
.st-cta .icon,.st-submit .icon{width:16px;height:16px}
.st-empty{padding:8px 2px 6px;font-size:13px;line-height:1.6;color:var(--muted)}
.st-note{font-size:12px;line-height:1.6;color:var(--muted);margin-top:18px}
/* ── Sipariş ekranı: Sepet · Teslimat · Ödeme · Özet — her bölüm numaralı cam panel ─────
   Yazı düzeyleri: Outfit 500 (başlık 32, bölüm başlığı 18, tutarlar, toplam 28) · Inter 600 (alan etiketi 12, çip, yöntem, düğme) ·
   Inter 400/500 mavi-gri (yardımcı metin, özet satırları). Geri dönüşsüz düğme (Siparişi ver) en altta. */
.store-page form.st-order{display:block;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.st-sec{padding-bottom:14px}
.st-sec-h{display:flex;align-items:center;gap:10px;padding:10px 2px 10px}
.st-sec-h i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e2f0fa;color:#0f2e52;font-style:normal;font-size:12px;font-weight:700;flex:none}
.st-sec-h h2{margin:0;flex:1;font-family:var(--font-display);font-weight:500;font-size:18px;letter-spacing:-.3px;color:#fff}
.st-sec-h small{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}
.st-sec .st-line:first-of-type{border-top:1px solid #ffffff10}
.st-chips{display:flex;gap:8px;flex-wrap:wrap;padding:2px 0 12px}
.st-chip{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border-radius:12px;border:1px solid #b8e8ff40;background:#ffffff0f;color:#d5efff;font-size:12.5px;font-weight:600;text-align:left}
.st-chip small{font-size:11.5px;font-weight:400;opacity:.8}
.st-chip .icon{width:15px;height:15px}
.st-chip.on{background:#e2f0fa;color:#0f2e52;border-color:#e2f0fa}
.st-fields{display:grid;gap:12px;padding:2px 0 0}
.st-fields label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#b5d9f6}
.st-fields label small{font-weight:400;font-size:12px;margin-left:4px;color:var(--muted)}
.st-fields input,.st-fields select{width:100%;min-height:46px;padding:11px 13px;border:1px solid #b8e8ff40;border-radius:12px;background:#063b7780;color:#eaf4ff;font-size:15px;font-weight:400;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.st-fields input::placeholder{color:#8fb6d8}
.st-fields select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5d9f6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px}
.st-fields select option{color:#173951}
.st-fields input:focus-visible,.st-fields select:focus-visible{outline:none;border-color:#8fd9ff;box-shadow:0 0 0 3px #8fd9ff33}
.st-fields input.invalid{border-color:#ffb370;box-shadow:0 0 0 3px #ffb37033}
.st-err{font-size:11.5px;font-weight:500;color:#ffd1a2;font-style:normal}
.st-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.st-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 2px;border:0;background:none;color:#eaf4ff;font-size:13px;font-weight:500;text-align:left}
.st-toggle i{position:relative;width:42px;height:26px;border-radius:13px;background:#ffffff26;flex:none;transition:background .2s}
.st-toggle i::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s,background .2s}
.st-toggle[aria-checked=true] i{background:#7ce7c4}
.st-toggle[aria-checked=true] i::after{transform:translateX(16px);background:#0f2e52}
.st-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:2px 0 12px}
.st-method{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:10px 4px;border-radius:14px;border:1px solid #b8e8ff2a;background:#ffffff0f;color:#d5efff;font-size:12px;font-weight:600;text-align:center;line-height:1.2}
.st-method .icon{width:20px;height:20px}
.st-method.on{background:#e2f0fa;color:#0f2e52;border-color:#e2f0fa}
.st-info{padding:12px 14px;border-radius:14px;background:#ffffff0f;border:1px solid #b8e8ff2a;font-size:12.5px;line-height:1.55;color:#b5d9f6}
.st-info b{display:block;margin-bottom:2px;font-family:var(--font-display);font-weight:500;font-size:16px;letter-spacing:.01em;color:#fff;font-variant-numeric:tabular-nums}
.st-sum{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 2px;font-size:13px;color:var(--muted)}
.st-sum b{font-weight:500;color:#eaf4ff;font-variant-numeric:tabular-nums;text-align:right}
.st-sum b.free{color:#a4f1d7;font-weight:600}
.st-grand{display:flex;justify-content:space-between;align-items:baseline;padding:12px 2px 4px;border-top:1px solid #ffffff1f;margin-top:4px}
.st-grand span{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#9fcbef}
.st-grand b{font-family:var(--font-display);font-weight:500;font-size:28px;letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.st-submit{min-height:54px;font-size:15px;margin-top:10px}
.st-submit span{font-family:var(--font-display);font-weight:500;font-size:17px;margin-left:8px;letter-spacing:-.3px}
.st-sec .st-note{margin-top:12px;font-size:11.5px}
.st-ghost{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin-top:10px;border:1px solid #b8e8ff40;border-radius:14px;background:#ffffff0f;color:#d5efff;font-size:14px;font-weight:600}
/* Siparişiniz alındı */
.st-done{display:grid;justify-items:center;text-align:center;gap:4px;padding-top:28px}
.st-done-ico{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#7ce7c4;color:#0f2e52;margin-bottom:12px;box-shadow:0 18px 40px #7ce7c440}
.st-done-ico .icon{width:36px;height:36px}
.st-done .st-lead{justify-content:center;margin-top:6px}
.st-done .st-panel{width:100%;text-align:left;margin-top:20px}
.st-done .st-note{text-align:center}
.st-done .st-cta,.st-done .st-ghost{width:100%}
/* ── Siparişlerim ─────────────────────────────────── */
.st-orders{margin-top:18px;display:grid;gap:10px}
.st-order{padding:14px 16px;border:1px solid #b8e8ff2a;border-radius:18px;background:#ffffff0a;display:grid;gap:5px}
.st-order-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.st-order-head strong{font-size:14px;font-weight:600;color:#fff}
.st-order-head b{font-family:var(--font-display);font-weight:500;font-size:17px;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.st-order p{font-size:13px;line-height:1.5;color:#eaf4ff;margin:0}
.st-order small{font-size:11.5px;color:var(--muted)}
.st-order em{font-style:normal;color:#a4f1d7;font-weight:600}
/* ── Parça ayrıntısı (#app-dialog, tema renkleri): kare fotoğraf · ad ve fiyat · stok · teknik açıklama · özellikler · Sepete ekle ── */
body[data-page=store] #app-dialog{padding:18px 18px 22px;border-radius:26px}
[data-theme=dark] body[data-page=store] #app-dialog .dialog-head h2{color:#eaf4ff}
body[data-page=store] #app-dialog .dialog-head{margin-bottom:14px}
body[data-page=store] #app-dialog .dialog-head h2{font-size:22px;letter-spacing:-.5px}
.st-detail{display:grid;gap:14px}
.st-photo{position:relative;margin:0;aspect-ratio:1;border-radius:20px;overflow:hidden;background:linear-gradient(165deg,#e4eef7,#cfdfee)}
.st-photo img{display:block;width:100%;height:100%;object-fit:cover}
.st-photo-fallback{display:none;position:absolute;inset:0;place-items:center;color:#2f5f82}
.st-photo-fallback .icon{width:64px;height:64px;stroke-width:1.2}
.st-photo.is-missing img{display:none}
.st-photo.is-missing .st-photo-fallback{display:grid}
.st-photo-code{position:absolute;left:12px;bottom:12px;padding:5px 9px;border-radius:9px;background:#0f2e52cc;color:#fff;font-size:11px;font-weight:600;letter-spacing:.08em;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.st-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.st-detail-group{margin:0;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.st-detail-desc{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--ink)}
.st-detail-price{text-align:right;flex:none}
.st-detail-price b{display:block;font-family:var(--font-display);font-weight:500;font-size:24px;letter-spacing:-.6px;line-height:1.1;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-detail-price small{font-size:12px;color:var(--muted)}
.st-detail-stock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:#0f2e520a;font-size:12px;color:var(--muted)}
.st-detail-stock .st-stock{font-size:12.5px}
.st-detail-stock .st-stock.ok{color:#1f7a5c}.st-detail-stock .st-stock.order{color:#9a5b12}
.st-detail-sec h3{margin:0 0 6px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.st-detail-sec p{margin:0;font-size:13.5px;line-height:1.6;color:var(--ink)}
.st-detail-sec dl{margin:0;font-size:13px}
.st-detail-sec dl div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line)}
.st-detail-sec dl div:last-child{border-bottom:0}
.st-detail-sec dt{color:var(--muted);flex:none}
.st-detail-sec dd{margin:0;font-weight:600;text-align:right;color:var(--ink)}
.st-detail-act{display:grid;gap:8px;position:sticky;bottom:-22px;padding:10px 0 0;background:linear-gradient(transparent,#f5f9fc 40%)}
.st-detail-inbasket{font-size:12px;font-weight:600;color:#1f7a5c;text-align:center}
.st-detail .st-submit{margin:0;background:#0f2e52;color:#fff;box-shadow:none}
[data-theme=dark] .st-photo{background:linear-gradient(165deg,#24415a,#1b3247)}
[data-theme=dark] .st-detail-stock{background:#ffffff0f}
[data-theme=dark] .st-detail-stock .st-stock.ok{color:#a4f1d7}[data-theme=dark] .st-detail-stock .st-stock.order{color:#ffd1a2}
[data-theme=dark] .st-detail-act{background:linear-gradient(transparent,#182f41 40%)}
[data-theme=dark] .st-detail .st-submit{background:#82b3d0;color:#142b3c}
@media(max-width:800px),(max-height:550px){
  body[data-page=store] .page{padding-top:calc(var(--app-safe-top) + 22px)}
  .store-page{width:calc(100% - 36px - var(--app-safe-left) - var(--app-safe-right))}
  .st-fan{margin:6px calc(-18px - var(--app-safe-right)) 0 calc(-18px - var(--app-safe-left))}
  .st-rail{margin:12px calc(-18px - var(--app-safe-right)) 0 calc(-18px - var(--app-safe-left));padding:4px calc(18px + var(--app-safe-right)) 10px calc(18px + var(--app-safe-left))}
  .st-form input,.st-form select{font-size:16px}
}
@media(max-width:360px){.st-two{grid-template-columns:1fr}.st-card{width:148px}}

/* ── Alpha 1.0 · build 30 (30 Ekim 2026) ────────────────────────────────────────────────────────────
   1) Parça penceresi: tek sayfa, kaydırmasız. Telefonda pencere ekranı doldurur; fotoğraf çerçevesiz, üst ve yan kenarlara oturur
      (34 dvh), kapatma düğmesi fotoğrafın üstünde; altında ad · bölüm · açıklama · fiyat · stok · özellikler · Sepete ekle. Uzun
      teknik açıklama yalnız masaüstünde; kısa ekranlarda son özellik satırları gizlenir (kaydırma yerine). Masaüstünde yatay pencere:
      solda tam boy fotoğraf, sağda bilgiler.
   2) Masaüstü yatay düzen (≥ 900 px): katalog iki sütun — solda yelpaze ve ızgara hâlinde parça kartları, sağda yapışkan Sepet paneli;
      sipariş ekranında bölümler solda, Özet sağda yapışkan. */
body[data-page=store] #app-dialog{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100%;max-height:none;padding:0;border:0;border-radius:0;overflow:hidden;background:#f6fafd;color:#213e56;box-shadow:none}
body[data-page=store] #app-dialog::backdrop{background:#021a3f99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
body[data-page=store] #app-dialog .dialog-head{position:absolute;top:calc(var(--app-safe-top,0px) + 10px);right:10px;z-index:3;margin:0;gap:0}
body[data-page=store] #app-dialog .dialog-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body[data-page=store] #app-dialog .dialog-head .icon-button{width:40px;height:40px;border-radius:50%;background:#0f2e52b8;color:#fff;border:1px solid #ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body[data-page=store] #app-dialog .dialog-head .icon-button .icon{width:18px;height:18px}
.st-detail{display:grid;grid-template-rows:34dvh minmax(0,1fr);height:100%}
.st-detail .st-photo{margin:0;border-radius:0;aspect-ratio:auto;height:100%;width:100%}
.st-detail .st-photo img{width:100%;height:100%;object-fit:cover}
.st-detail .st-photo-code{left:auto;right:14px;bottom:14px;font-size:10.5px}
.st-detail-body{display:flex;flex-direction:column;gap:10px;min-height:0;padding:14px 18px calc(16px + var(--app-safe-bottom,0px));background:#f6fafd}
.st-detail-top{align-items:flex-start}
.st-detail-group{font-size:10.5px;letter-spacing:.14em}
.st-detail-name{margin:4px 0 0;font-family:var(--font-display);font-weight:500;font-size:22px;line-height:1.15;letter-spacing:-.5px;color:#12324d}
.st-detail-desc{margin:5px 0 0;font-size:13px;line-height:1.45;color:#4d6a82}
.st-detail-price{padding-top:4px}
.st-detail-price b{font-size:24px}
.st-detail-price small{display:block;margin-top:2px}
.st-detail-stock{padding:9px 12px;background:#0f2e520a}
.st-detail-stock .st-detail-inbasket{text-align:right}
.st-detail-tech{display:none;margin:0;font-size:13px;line-height:1.55;color:#3f5c74}
.st-specs{flex:1;min-height:0;margin:0;overflow:hidden;font-size:13px;border-top:1px solid #0f2e5214}
.st-specs div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid #0f2e5214}
.st-specs dt{color:#6b8498;flex:none}
.st-specs dd{margin:0;font-weight:600;text-align:right;color:#12324d}
.st-detail-act{position:static;padding:4px 0 0;background:none;margin-top:auto}
.st-detail .st-submit{min-height:50px;margin:0}
@media(min-height:800px){.st-detail{grid-template-rows:40dvh minmax(0,1fr)}}
@media(max-height:720px){.st-detail{grid-template-rows:30dvh minmax(0,1fr)}.st-specs div:nth-child(n+6){display:none}.st-detail-desc{display:none}}
@media(max-height:600px){.st-specs div:nth-child(n+5){display:none}}
[data-theme=dark] body[data-page=store] #app-dialog,[data-theme=dark] .st-detail-body{background:#15293a;color:#d9eaf6}
[data-theme=dark] .st-detail-name,[data-theme=dark] .st-specs dd{color:#eaf4ff}
[data-theme=dark] .st-detail-desc,[data-theme=dark] .st-detail-tech{color:#a9c0d2}
[data-theme=dark] .st-specs,[data-theme=dark] .st-specs div{border-color:#ffffff14}
[data-theme=dark] .st-specs dt{color:#8fa9bd}
/* Masaüstü / geniş ekran: pencere ortada, yatay; fotoğraf sol kenar boyunca */
@media(min-width:801px) and (min-height:551px){
  body[data-page=store] #app-dialog{inset:auto;margin:auto;width:min(900px,calc(100vw - 48px));height:min(600px,calc(100dvh - 48px));border-radius:26px;box-shadow:0 40px 120px #00122f80}
  body[data-page=store] #app-dialog .dialog-head{top:14px;right:14px}
  .st-detail{grid-template-rows:none;grid-template-columns:minmax(0,46%) minmax(0,1fr)}
  .st-detail .st-photo{height:100%}
  .st-detail .st-photo-code{left:16px;right:auto;bottom:16px}
  .st-detail-body{padding:26px 28px 24px;gap:12px;justify-content:center}
  .st-detail-name{font-size:26px}
  .st-detail-desc{display:block;font-size:14px}
  .st-detail-tech{display:block}
  .st-specs{flex:0 1 auto;font-size:13.5px}
  .st-specs div{padding:8px 0}
  .st-specs div:nth-child(n+5),.st-specs div:nth-child(n+6){display:flex}
  .st-detail-act{margin-top:6px}
  .st-detail .st-submit{min-height:52px}
}
/* Masaüstü yatay katalog ve sipariş ekranı */
@media(min-width:900px) and (orientation:landscape){
  .store-page{width:min(1180px,calc(100% - 80px))}
  body[data-page=store] .page{padding-top:calc(var(--app-safe-top) + 32px)}
  .store-page.st-view-catalog{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:'head head' 'fan basket' 'dots basket' 'lead basket' 'rail basket' 'note basket';column-gap:28px;align-items:start}
  .st-view-catalog .st-head{grid-area:head}
  .st-view-catalog .st-fan{grid-area:fan;height:238px;margin:4px 0 0}
  .st-view-catalog .st-fan-dots{grid-area:dots}
  .st-view-catalog .st-lead{grid-area:lead;margin-top:10px}
  .st-view-catalog .st-rail{grid-area:rail;display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:12px;margin:12px 0 0;padding:4px 2px 6px;overflow:visible;scroll-snap-type:none}
  .st-view-catalog .st-card{width:auto;min-width:0}
  .st-view-catalog .st-basket{grid-area:basket;position:sticky;top:28px;margin-top:0;align-self:start}
  .st-view-catalog .st-note{grid-area:note;margin-top:14px}
  .store-page.st-view-order form.st-order{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:auto auto auto;column-gap:20px;align-items:start}
  .st-view-order .st-order>.st-sec{margin-top:0}
  .st-view-order .st-order>.st-sec:nth-child(-n+3){grid-column:1}
  .st-view-order .st-order>.st-sec:nth-child(2){margin-top:14px}
  .st-view-order .st-order>.st-sec:nth-child(3){margin-top:14px}
  .st-view-order .st-order>.st-sec:last-child{grid-column:2;grid-row:1 / span 3;position:sticky;top:28px}
  .st-view-order .st-order>.st-sec:last-child .st-submit{margin-top:14px}
  .store-page.st-view-orders,.store-page.st-view-done{width:min(680px,calc(100% - 80px))}
}
