/* DÜZ — sade, anlaşılır: büyük logo, görseller, adet kutulu paketler, tam genişlik ikonlu adres alanı */
:root { --bg: #f4f5f7; --radius: 14px; --radius-sm: 12px; --dz-w: 620px; }
body.dz { padding-bottom: 78px; background: var(--bg); }

/* Başlık: ortada büyük logo */
.dz-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.dz-head-in { position: relative; max-width: var(--dz-w); margin: 0 auto; height: 70px; display: flex; align-items: center; justify-content: center; padding: 0 56px; }
.dz-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.dz-logo-m { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--c-ink); font-size: 21px; font-weight: 900; box-shadow: 0 6px 16px -8px var(--c); }
.dz-logo .gf-hn { max-width: calc(100vw - 170px); }
.dz-ib { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.dz-ib .i { width: 22px; height: 22px; }
.dz-ib-l { left: 10px; } .dz-ib-r { right: 10px; }
@media (max-width: 360px) { .dz-logo { font-size: 22px; } .dz-logo-m { width: 34px; height: 34px; font-size: 18px; } }

.dz-cd { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 12px; background: var(--c); color: var(--c-ink); font-weight: 700; font-size: 14.5px; }
.dz-cd .i { width: 18px; height: 18px; }
.dz-cd b { font-variant-numeric: tabular-nums; background: rgba(0,0,0,.18); padding: 1px 8px; border-radius: 6px; }

/* Görseller */
.dz-vis .gf-vis { max-width: var(--dz-w); margin: 0 auto; background: var(--surface); }

.dz-body { max-width: var(--dz-w); margin: 0 auto; padding: 0 0 24px; display: grid; gap: 14px; }
.dz-body > .gf-qls, .dz-body > .gf-blocks, .dz-body > .gf-revsec, .dz-body > .gf-faq, .dz-body > div:not([class]) { margin-left: 14px; margin-right: 14px; }

/* Ürün adı + fiyat */
.dz-title { background: var(--surface); padding: 18px 16px 16px; border-bottom: 1px solid var(--line); }
.dz-title h1 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.dz-title-r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.dz-price { display: inline-flex; align-items: baseline; gap: 8px; }
.dz-price b { font-size: 26px; font-weight: 900; color: var(--c-text); }
.dz-price s { color: var(--muted); font-size: 15px; }
.dz-rate { font-size: 13.5px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.dz-stars { color: #f5a524; letter-spacing: 1px; } .dz-stars i { font-style: normal; color: var(--line); }
.dz-pros { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dz-pros li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 10px; padding: 9px 4px; line-height: 1.2; }
.dz-pros .i { width: 20px; height: 20px; color: var(--c-text); }

/* Sipariş bölümleri: mobilde ekranı tam kaplayan beyaz bloklar */
.dz-order { display: grid; gap: 0; }
.dz-order > .gf-proof, .dz-order > .gf-blocks { margin: 0 14px 12px; }
.dz-order .gf-order { display: grid; gap: 12px; }
.dz-order .gf-sec { background: var(--surface); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 16px 20px; margin: 0; }
@media (min-width: 640px) { .dz-order .gf-sec { border: 1px solid var(--line); border-radius: 18px; } }
.dz-order .gf-sec-h { font-size: 17px; margin-bottom: 14px; }
.dz-order .gf-num { width: 28px; height: 28px; border-radius: 9px; font-size: 14px; font-weight: 800; }

/* Paket satırları: adet kutusu + indirim çubuğu */
.gf-ps-duz .gf-packs { gap: 10px; }
.gf-dz { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 12px 12px 12px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); position: relative; }
.gf-dz input { position: absolute; opacity: 0; pointer-events: none; }
.gf-dz .gf-radio { display: none; }
.gf-dz:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.gf-dz:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, var(--surface)); box-shadow: 0 10px 24px -18px var(--c); }
.gf-dz-q { width: 58px; height: 58px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: var(--text); overflow: hidden; align-self: start; }
.gf-dz-q b { font-size: 24px; font-weight: 900; }
.gf-dz-q small { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
.gf-dz-q.has-img { background: none; }
.gf-dz-q img { width: 100%; height: 100%; object-fit: cover; }
.gf-dz:has(input:checked) .gf-dz-q:not(.has-img) { background: var(--c); color: var(--c-ink); }
.gf-dz:has(input:checked) .gf-dz-q:not(.has-img) small { color: inherit; opacity: .85; }
.gf-dz-d { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.gf-dz-b { display: inline-block; max-width: 100%; background: var(--c); color: var(--c-ink); font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-dz-t { font-size: 16.5px; font-weight: 800; line-height: 1.25; color: var(--text); overflow-wrap: anywhere; }
.gf-dz-c { font-size: 13px; color: var(--muted); line-height: 1.35; }
.gf-dz-m { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 230px; }
.gf-dz-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.gf-dz-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, #fff), var(--c)); }
.gf-dz-m b { font-size: 12px; font-weight: 800; color: var(--c-text); white-space: nowrap; }
.gf-dz-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.gf-dz-tags > span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); line-height: 1.3; }
.gf-dz-tags .i { width: 14px; height: 14px; flex: none; }
.gf-dz-tags .t-ok { background: var(--ok-soft, #e9f9ef); color: var(--ok, #15803d); }
.gf-dz-tags .t-opt { background: color-mix(in srgb, #f59e0b 16%, var(--surface)); color: color-mix(in srgb, #b45309 85%, var(--text)); }
.gf-dz-p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; align-self: center; padding-right: 2px; }
.gf-dz-p .gf-price { font-size: 19px; font-weight: 900; color: var(--text); white-space: nowrap; }
.gf-dz-p .gf-old { font-size: 13px; }
.gf-dz-ck { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: var(--c-ink); display: grid; place-items: center; transform: scale(0); transition: transform .15s; box-shadow: 0 0 0 3px var(--surface); }
.gf-dz-ck .i { width: 14px; height: 14px; stroke-width: 3; }
.gf-dz:has(input:checked) .gf-dz-ck { transform: scale(1); }
.gf-dz.is-hl:not(:has(input:checked)) { border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
@media (max-width: 360px) { .gf-dz { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px; } .gf-dz-q { width: 48px; height: 48px; } .gf-dz-q b { font-size: 20px; } .gf-dz-t { font-size: 15px; } .gf-dz-p .gf-price { font-size: 17px; } }

/* Önerilen ürünler: hizalı kartlar, uzun adlar taşmaz */
.dz-order .gf-ups { gap: 10px; }
.dz-order .gf-up { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; background: var(--surface); }
.dz-order .gf-up img { width: 64px; height: 64px; border-radius: 10px; }
.dz-order .gf-up > span:not(.gf-add) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dz-order .gf-up .gf-up-n { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.dz-order .gf-up b { font-size: 15px; }
.dz-order .gf-up .gf-add { border-radius: 10px; padding: 9px 12px; }
.dz-order .gf-up:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, var(--surface)); }
.dz-order .gf-up:has(input:checked) .gf-add { font-size: 0; padding: 9px 11px; }
.dz-order .gf-up:has(input:checked) .gf-add::before { content: "✓ Eklendi"; font-size: 13px; }

/* Teslimat adresi: tam genişlik, ikonlu büyük alanlar */
.dz-order .gf-sec-contact { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, var(--surface)), var(--surface) 120px); }
.dz-order .gf-sec-contact .gf-fields { gap: 12px; }
.dz-order .gf-field label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.dz-order .gf-in { min-height: 54px; font-size: 16px; border-radius: 12px; border-width: 1.5px; background-color: var(--surface); padding: 14px 14px; }
.dz-order textarea.gf-in { min-height: 84px; }
.dz-order .gf-in:focus { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent); }
.dz-order .gf-field[data-f="name"] .gf-in, .dz-order .gf-field[data-f="city"] .gf-in, .dz-order .gf-field[data-f="district"] .gf-in,
.dz-order .gf-field[data-f="neighborhood"] .gf-in, .dz-order .gf-field[data-f="address"] .gf-in { padding-left: 44px; background-repeat: no-repeat; background-position: 14px 16px; background-size: 20px 20px; }
.dz-order .gf-field[data-f="name"] .gf-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E"); }
.dz-order .gf-field[data-f="city"] .gf-in, .dz-order .gf-field[data-f="district"] .gf-in, .dz-order .gf-field[data-f="neighborhood"] .gf-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M17.66 16.66 13.41 20.9a2 2 0 0 1-2.83 0l-4.24-4.24a8 8 0 1 1 11.32 0z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: 14px 16px, right 12px center; background-size: 20px 20px, 18px 18px; padding-right: 36px; }
.dz-order .gf-field[data-f="address"] .gf-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12 12 3l9 9'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.dz-order .gf-phone .gf-cc { border-radius: 12px 0 0 12px; font-size: 16px; color: var(--text); padding: 0 14px; }
.dz-order .gf-phone .gf-in { border-radius: 0 12px 12px 0; }
.dz-order .gf-row2 { gap: 10px; }
@media (max-width: 360px) { .dz-order .gf-row2 { grid-template-columns: 1fr; } }

/* Ödeme + özet */
.dz-order .gf-pay { border-radius: 14px; padding: 14px; }
.dz-order .gf-pay:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, var(--surface)); }
.dz-order .gf-sum { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.dz-order .gf-submit { min-height: 60px; border-radius: 14px; font-size: 18px; font-weight: 900; }

/* Alt çubuk */
.dz-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transition: transform .25s; }
.dz-bar .gf-btn { display: flex; width: 100%; max-width: var(--dz-w); margin: 0 auto; justify-content: space-between; padding: 15px 20px; font-size: 17px; font-weight: 800; border-radius: 14px; }
.dz-bar.gf-bar-hide { transform: translateY(110%); }
body.dz .gf-wa { bottom: 86px; }

[data-mode="dark"] .gf-dz-tags .t-ok { background: rgba(22,163,74,.18); color: #4ade80; }
/* Görselli formda ortak "görsel sütunu" kuralı bu kartın kendi sütun düzenini bozmasın */
.gf-ps-duz .gf-packs.is-img .gf-dz { grid-template-columns: 58px minmax(0, 1fr) auto; }
@media (max-width: 360px) { .gf-ps-duz .gf-packs.is-img .gf-dz { grid-template-columns: 48px minmax(0, 1fr) auto; } }
