/* Yammy Bistro — QR menü v3 (açık tema, broşür paleti) */
:root {
    --paper: #F5F2EC;
    --blush: #EEE6E4;
    --card: #FFFFFF;
    --green: #2C4E3E;
    --green-2: #3F6B56;
    --green-soft: #E3EDE7;
    --ink: #22302A;
    --muted: #6A7870;
    --mustard: #F2B33D;
    --tomato: #E2483A;
    --orange: #E8903A;
    --lettuce: #7DB572;
    --line: rgba(44, 78, 62, .12);
    --serif: "Young Serif", Georgia, "Times New Roman", serif;
    --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --app: 560px;
    --tabs: 58px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tabs) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blush); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-tap-highlight-color: transparent; }
body.sheet-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 13px; }

/* Renk temaları (kategori kartları ve görselsiz ürünler) */
.t-green   { --c-bg: var(--green);   --c-fg: #F5F2EC; --c-soft: #DCE8E1; }
.t-mustard { --c-bg: var(--mustard); --c-fg: #2C4E3E; --c-soft: #FCEBC4; }
.t-tomato  { --c-bg: var(--tomato);  --c-fg: #FFF6F0; --c-soft: #FADAD5; }
.t-orange  { --c-bg: var(--orange);  --c-fg: #FFF8F0; --c-soft: #FBE2C8; }
.t-lettuce { --c-bg: var(--lettuce); --c-fg: #1C3326; --c-soft: #DDEED8; }
.t-blush   { --c-bg: #E6D9D5;        --c-fg: #2C4E3E; --c-soft: #F1E8E5; }

/* Uygulama gövdesi */
.app {
    position: relative; z-index: 1; max-width: var(--app); margin: 0 auto; min-height: 100vh;
    background: var(--paper); overflow-x: clip;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 600px) { .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(44, 78, 62, .10); } }
.side-art { position: fixed; z-index: 0; pointer-events: none; display: none; }
.side-art-l { top: 0; left: 0; width: min(24vw, 360px); }
.side-art-r { bottom: 0; right: 0; height: min(70vh, 640px); width: auto; }
@media (min-width: 1100px) { .side-art { display: block; } }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 22px; border-radius: 16px;
    font: 700 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; border: 0;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:active { background: var(--green-2); transform: scale(.98); }
.btn-ghost { background: var(--green-soft); color: var(--green); }

/* ---------- Kapak (header) ---------- */
.cover {
    position: relative; overflow: hidden; isolation: isolate;
    margin: 10px 10px 0; padding: 16px 18px 46px; border-radius: 30px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(242, 179, 61, .30), transparent 55%),
        radial-gradient(80% 70% at 0% 100%, rgba(125, 181, 114, .25), transparent 60%),
        var(--green);
    color: #F5F2EC;
}
.cover::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
    background-image: radial-gradient(#fff 1.2px, transparent 1.3px); background-size: 16px 16px;
}
.cover-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.deco { position: absolute; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .25)); }
.d1 { width: 132px; right: -26px; bottom: 6px; transform: rotate(-12deg); }
.d2 { width: 74px; right: 92px; bottom: -14px; transform: rotate(14deg); }
.d3 { width: 70px; right: 18px; top: 76px; transform: rotate(24deg); opacity: .95; }
@media (prefers-reduced-motion: no-preference) {
    .d1 { animation: float1 6s ease-in-out infinite; }
    .d2 { animation: float2 7s ease-in-out infinite; }
    .d3 { animation: float3 8s ease-in-out infinite; }
}
@keyframes float1 { 50% { transform: rotate(-6deg) translateY(-8px); } }
@keyframes float2 { 50% { transform: rotate(6deg) translateY(-6px); } }
@keyframes float3 { 50% { transform: rotate(34deg) translateY(6px); } }

.cover-top { display: flex; align-items: center; gap: 12px; }
.cover-logo {
    width: 60px; height: 60px; border-radius: 20px; flex: none; display: grid; place-items: center;
    background: #F5F2EC; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.cover-logo img { width: 56px; height: 56px; }
.cover-brand { flex: 1; min-width: 0; display: grid; }
.cover-brand b { font: 400 21px/1.15 var(--serif); }
.cover-brand span { font: 400 10.5px/1.4 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 242, 236, .72); }
.cover-call {
    width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; flex: none;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; max-width: 78%; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
    color: #F5F2EC; font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #9BE38A; box-shadow: 0 0 0 3px rgba(155, 227, 138, .25); }
.chip.is-closed i { background: #FF9A8C; box-shadow: 0 0 0 3px rgba(255, 154, 140, .25); }
.chip.is-table { background: var(--mustard); border-color: var(--mustard); color: var(--green); font-weight: 800; }
.hello { margin: 20px 0 0; font-weight: 600; color: rgba(245, 242, 236, .8); }
.headline { margin: 2px 0 0; font: 400 clamp(30px, 8.6vw, 38px)/1.08 var(--serif); color: #fff; letter-spacing: -.01em; max-width: 72%; }

.fake-search {
    position: relative; z-index: 2; margin: -26px 24px 0; width: calc(100% - 48px);
    display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 18px;
    border: 1px solid var(--line); background: var(--card); color: var(--muted);
    font: 500 15px var(--sans); text-align: left; cursor: pointer;
    box-shadow: 0 14px 30px rgba(44, 78, 62, .16);
}
.fake-search svg { color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
    .cover-top, .chips, .hello, .headline { animation: rise .7s var(--ease) both; }
    .chips { animation-delay: .05s; } .hello { animation-delay: .1s; } .headline { animation-delay: .14s; }
    .fake-search { animation: rise .7s .2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Bloklar ---------- */
.block { padding-top: 24px; }
.block-head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 12px; }
.block-head h2 { margin: 0; font: 700 18px/1.2 var(--sans); }
.dots { display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(44, 78, 62, .2); transition: width .3s var(--ease), background-color .3s; }
.dots i.on { width: 18px; background: var(--green); }

/* ---------- Dönen kategori kartları ---------- */
.carousel {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px 20px 14px; scroll-padding-left: 20px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.ccard {
    position: relative; flex: 0 0 72%; height: 176px; scroll-snap-align: start;
    border-radius: 28px; overflow: hidden; text-decoration: none;
    background: var(--c-bg); color: var(--c-fg);
    transition: transform .35s var(--ease);
}
.ccard:active { transform: scale(.97); }
.ccard::before {
    content: ""; position: absolute; width: 190px; height: 190px; right: -50px; bottom: -70px;
    border-radius: 50%; background: rgba(255, 255, 255, .16);
}
.ccard-txt { position: relative; z-index: 2; display: grid; gap: 4px; padding: 20px 20px 0; max-width: 62%; }
.ccard-txt b { font: 400 26px/1.08 var(--serif); }
.ccard-txt small { font-weight: 600; font-size: 13.5px; opacity: .8; }
.ccard-art {
    position: absolute; z-index: 1; right: -4%; bottom: -8%; width: 56%; max-height: 92%; object-fit: contain;
    transform: rotate(-8deg); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .14));
    transition: transform .6s var(--ease);
}
.ccard.on .ccard-art { transform: rotate(0deg) scale(1.06); }
.ccard-go {
    position: absolute; z-index: 2; left: 20px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .22); color: currentColor;
}
.t-mustard .ccard-go, .t-lettuce .ccard-go, .t-blush .ccard-go { background: rgba(44, 78, 62, .12); }
.ccard.is-photo .ccard-art { inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; transform: none; filter: none; }
.ccard.is-photo::before { inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(90deg, rgba(20, 30, 25, .72), rgba(20, 30, 25, .1)); z-index: 1; }
.ccard.is-photo { color: #fff; }
.ccard.is-photo .ccard-go { background: rgba(255, 255, 255, .25); }
@media (prefers-reduced-motion: no-preference) {
    .ccard.on .ccard-art { animation: bob 3.2s ease-in-out infinite; }
}
@keyframes bob { 50% { transform: rotate(-3deg) scale(1.06) translateY(-6px); } }

/* ---------- Şefin önerileri ---------- */
.feat-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 20px 6px; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; }
.feat-row::-webkit-scrollbar { display: none; }
.feat { flex: 0 0 46%; scroll-snap-align: start; text-decoration: none; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 6px 20px rgba(44, 78, 62, .07); }
.feat img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feat-info { display: grid; gap: 6px; padding: 10px 12px 12px; justify-items: start; }
.feat-info b { font-weight: 700; font-size: 15px; line-height: 1.25; }

.price-pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 14px;
    font-variant-numeric: tabular-nums;
}

/* ---------- Kategori sekmeleri ---------- */
.tabs {
    position: sticky; top: 0; z-index: 10; margin-top: 22px;
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    height: var(--tabs); background: rgba(245, 242, 236, .9); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.tabs-in { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 0 16px; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs-in a {
    flex: none; padding: 9px 15px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s;
}
.tabs-in a.on { background: var(--green); color: #fff; }
.search-btn { width: 52px; height: 100%; border: 0; background: transparent; color: var(--green); display: grid; place-items: center; cursor: pointer; }
.search-row { position: absolute; inset: 0; display: flex; gap: 8px; align-items: center; padding: 8px 10px 8px 14px; background: var(--paper); }
.search-row[hidden] { display: none; }
.search-row input { flex: 1; height: 42px; border: 1.5px solid var(--green); border-radius: 14px; padding: 0 14px; font: 500 16px var(--sans); background: #fff; color: var(--ink); outline: 0; }
.search-row button { border: 0; background: none; color: var(--green); font: 700 14px var(--sans); padding: 8px; cursor: pointer; }

/* ---------- Menü ---------- */
.menu { padding: 4px 14px 10px; }
.cat { padding-top: 24px; }
.cat[hidden], .item[hidden] { display: none; }
.cat-head { display: flex; align-items: center; gap: 12px; padding: 0 6px 12px; }
.cat-art { width: 52px; height: 52px; object-fit: contain; padding: 6px; border-radius: 16px; background: var(--c-soft); flex: none; }
.cat-art.is-photo { object-fit: cover; padding: 0; }
.cat-title { margin: 0; font: 400 24px/1.15 var(--serif); color: var(--green); }
.cat-note { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item a {
    display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
    background: var(--card); border-radius: 22px; text-decoration: none;
    box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(44, 78, 62, .05);
    transition: transform .15s var(--ease);
}
.item a:active { transform: scale(.985); }
.item-text { flex: 1; min-width: 0; display: grid; gap: 3px; justify-items: start; }
.item-name { font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.item-note { color: var(--muted); font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-price { margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.item-price s, .sheet-price s { color: var(--muted); font-weight: 500; font-size: 13px; }
.item-media { position: relative; width: 96px; height: 96px; flex: none; }
.item-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: var(--blush); }
.item-media.is-art img { object-fit: contain; padding: 14px; background: var(--c-soft); }
.plus {
    position: absolute; right: -4px; bottom: -4px; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; background: var(--green); color: #fff; border: 3px solid var(--card);
}
.plus svg { width: 16px; height: 16px; stroke-width: 2.6; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- Alt aksiyon çubuğu ---------- */
.dock {
    position: fixed; z-index: 20; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%); width: min(calc(100% - 24px), calc(var(--app) - 24px));
    display: flex; justify-content: space-around; align-items: center; padding: 8px 6px;
    background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(16px);
    border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 34px rgba(44, 78, 62, .16);
}
.dock a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 4px 2px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.dock a svg { width: 22px; height: 22px; color: var(--green); }
.dock .dock-main { color: var(--green); }
.dock .dock-main svg { width: 50px; height: 50px; padding: 13px; margin-top: -26px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(44, 78, 62, .35); border: 4px solid var(--paper); }

/* ---------- Ürün detay paneli ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(28, 40, 34, .5); backdrop-filter: blur(3px); }
.sheet-card {
    position: relative; width: 100%; max-width: var(--app); max-height: 92vh; overflow-y: auto;
    background: var(--paper); border-radius: 30px 30px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-reduced-motion: no-preference) {
    .sheet:not([hidden]) .sheet-card { animation: up .34s var(--ease); }
    .sheet:not([hidden]) .sheet-bg { animation: fade .3s ease; }
}
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.grab { position: absolute; z-index: 3; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 9px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.sheet-x {
    position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px;
    border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink);
    display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.sheet-media { aspect-ratio: 4 / 3; background: var(--c-soft, var(--blush)); display: grid; place-items: center; overflow: hidden; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-media.is-art img { width: 58%; height: 78%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .12)); }
.sheet-body { padding: 20px 22px 22px; }
.sheet-cat { margin: 0; color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.sheet-name { margin: 4px 0 0; font: 400 30px/1.1 var(--serif); color: var(--green); }
.sheet-note { margin: 8px 0 0; color: var(--muted); }
.sheet-desc { margin: 12px 0 0; }
.sheet-note:empty, .sheet-desc:empty { display: none; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.sheet-price { margin: 0; font: 400 28px/1 var(--serif); color: var(--ink); display: grid; gap: 4px; }
.sheet-price s { font-family: var(--sans); }
.sheet-act { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 20px; }

/* ---------- Ürün sayfası ---------- */
.backbar {
    position: sticky; top: 0; z-index: 10; height: 60px;
    display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 6px;
    background: rgba(245, 242, 236, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.back { display: inline-flex; align-items: center; gap: 2px; padding: 8px 10px; text-decoration: none; color: var(--green); font-weight: 700; }
.product-media { margin: 0; aspect-ratio: 4 / 3; background: var(--blush); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.no-img { display: grid; place-items: center; }
.product-media.no-img img { width: 42%; height: auto; object-fit: contain; }
.product-info { padding: 20px 22px 8px; }
.product-info .sheet-price { margin-top: 16px; display: block; }
.product .others { padding: 18px 14px 0; }
.qr-product .app { padding-bottom: 20px; }
.notfound { padding: 80px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* ---------- Alt bilgi ---------- */
.info { margin-top: 30px; padding: 30px 22px 34px; background: var(--blush); text-align: center; display: grid; justify-items: center; border-radius: 30px 30px 0 0; }
.info-tag { margin: 6px 0 18px; color: var(--green); font: 400 12px var(--serif); letter-spacing: .16em; text-transform: uppercase; }
.info dl { margin: 0 0 18px; width: 100%; text-align: left; display: grid; }
.info dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--green); font-size: 14px; }
.info dd { margin: 0; font-size: 14.5px; }
.info a { color: var(--green); font-weight: 700; }
.info .small { color: var(--muted); margin: 0; }

/* ---------- Sepete ekleme ---------- */
.item { position: relative; }
.adder {
    position: absolute; right: 6px; bottom: 6px; z-index: 2;
    display: inline-flex; align-items: center; height: 36px; border-radius: 999px;
    background: var(--green); color: #fff; border: 3px solid var(--card);
    box-shadow: 0 6px 14px rgba(44, 78, 62, .25);
}
.adder button { width: 34px; height: 30px; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
.adder button svg { width: 17px; height: 17px; stroke-width: 2.6; }
.adder output { min-width: 18px; text-align: center; font-weight: 800; font-size: 14px; }
.adder.pop { animation: pop .3s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }

.stepper { display: inline-flex; align-items: center; height: 52px; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.stepper button { width: 44px; height: 100%; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; }
.stepper.sm { height: 36px; border-radius: 12px; }
.stepper.sm button { width: 34px; }
.stepper.sm output { font-size: 15px; min-width: 20px; }
.grow { flex: 1; }
.sheet-foot[hidden] { display: none; }
.sheet .sheet-price { margin-top: 14px; }
.sheet-price:empty, .sheet-price:has(span:empty) { display: none; }

/* Sepet çubuğu */
.cartbar {
    position: fixed; z-index: 19; left: 50%; transform: translateX(-50%);
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    width: min(calc(100% - 32px), calc(var(--app) - 32px)); height: 56px;
    display: flex; align-items: center; gap: 12px; padding: 0 18px 0 8px;
    border: 0; border-radius: 18px; background: var(--ink); color: #fff; cursor: pointer;
    font: 700 15px var(--sans); box-shadow: 0 14px 30px rgba(34, 48, 42, .35);
}
.cartbar[hidden] { display: none; }
.cartbar-count { min-width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--mustard); color: var(--green); font-weight: 800; }
.cartbar-txt { flex: 1; text-align: left; }
@media (prefers-reduced-motion: no-preference) { .cartbar:not([hidden]) { animation: slide .35s var(--ease); } }
@keyframes slide { from { transform: translate(-50%, 30px); opacity: 0; } }
.can-order .app { padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }

.dock-ic { position: relative; display: grid; }
.dock .dock-main .dock-ic svg { width: 50px; height: 50px; padding: 13px; margin-top: -26px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(44, 78, 62, .35); border: 4px solid var(--paper); }
.badge {
    position: absolute; top: -30px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: var(--tomato); color: #fff; font: 800 12px/22px var(--sans); font-style: normal; text-align: center; border: 2px solid var(--paper);
}
.badge[hidden] { display: none; }

/* Sepet paneli */
.cart-card { padding: 26px 20px 20px; }
.grab.dark { background: rgba(44, 78, 62, .2); box-shadow: none; }
.cart-head { display: flex; align-items: baseline; justify-content: space-between; padding-right: 50px; }
.cart-head h3 { margin: 0; font: 400 28px/1.1 var(--serif); color: var(--green); }
.link-btn { border: 0; background: none; color: var(--tomato); font: 700 14px var(--sans); cursor: pointer; padding: 6px; }
.cart-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.cart-list li { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--card); border-radius: 18px; }
.cart-list img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--c-soft, var(--blush)); flex: none; }
.cart-list img.is-art { object-fit: contain; padding: 8px; }
.cl-txt { flex: 1; min-width: 0; display: grid; }
.cl-txt b { font-size: 15px; line-height: 1.25; }
.cl-txt small { color: var(--muted); font-weight: 700; }
.cart-empty { text-align: center; color: var(--muted); padding: 30px 0 10px; }
.cart-form { margin-top: 18px; display: grid; gap: 14px; }
.cart-form[hidden], .cart-foot[hidden] { display: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 16px; background: var(--blush); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--card); color: var(--green); box-shadow: 0 2px 8px rgba(44, 78, 62, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--mustard); }
.fields { display: grid; gap: 12px; }
.f { display: grid; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--green); }
.f[hidden] { display: none; }
.f small { color: var(--muted); font-weight: 500; }
.f input, .f textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px;
    font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--card); resize: vertical;
}
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--green); }
.f.bad input, .f.bad textarea { border-color: var(--tomato); }
.cart-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FBE4E1; color: #A3271B; font-weight: 600; font-size: 14px; }
.cart-foot { position: sticky; bottom: 0; margin: 18px -20px -20px; padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.cart-total { display: grid; }
.cart-total span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.cart-total b { font: 400 24px/1.1 var(--serif); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.loading { pointer-events: none; opacity: .75; }

/* Sipariş alındı */
.done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 4px 6px; }
.done[hidden] { display: none; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.done-ic svg { width: 38px; height: 38px; stroke-width: 2.6; }
@media (prefers-reduced-motion: no-preference) { .done:not([hidden]) .done-ic { animation: pop .5s var(--ease); } }
.done h3 { margin: 6px 0 0; font: 400 28px/1.1 var(--serif); color: var(--green); }
.done-code { margin: 0; color: var(--muted); }
.done-code b { color: var(--ink); font-size: 18px; letter-spacing: .08em; }
.done-sum { margin: 0 0 8px; color: var(--muted); }
.done .btn { width: 100%; }

/* Bildirim */
.toast {
    position: fixed; z-index: 60; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px));
    transform: translate(-50%, -140%); padding: 11px 18px; border-radius: 14px;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2); transition: transform .3s var(--ease);
    pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Seçenekler (varyantlar) ---------- */
.opts { margin-top: 16px; display: grid; gap: 14px; }
.opts[hidden], .opts:empty { display: none; }
.og { margin: 0; padding: 14px; border: 0; border-radius: 18px; background: var(--card); }
.og legend { float: left; width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 0; }
.og legend b { font-weight: 800; font-size: 15px; }
.og legend em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.og legend em.req { color: var(--tomato); }
.og-v { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.ov { position: relative; cursor: pointer; }
.ov input { position: absolute; opacity: 0; pointer-events: none; }
.ov span {
    display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 14px;
    border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14.5px; color: var(--ink);
    transition: background-color .15s, border-color .15s, color .15s;
}
.ov span small { font-weight: 700; color: var(--green); font-size: 12.5px; }
.ov input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.ov input:checked + span small { color: var(--mustard); }
.ov input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.cl-txt i { font-style: normal; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.adder .cnt { padding: 0 2px 0 12px; font-weight: 800; font-size: 14px; }
