/* Dayı Künefe ve Katmer. Tokens and sizes are the Paper file's (DESIGN.md "Paper tokens", the step scripts in
   scripts/paper/steps): phone 390 first, desktop from 1024 on the 1440 board's 64 px gutters and two 640 columns. */

/* Gambetta (Indian Type Foundry, Fontshare, ITF FFL v2.0): Fontshare's own WOFF2 files, unmodified (subsetting is a
   Derivative Work under the FFL; the shipped files already carry only Latin, Latin-1, Latin Extended-A). */
@font-face { font-family: "Gambetta"; src: url(/fonts/Gambetta-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-017F, U+2018-201F, U+2026, U+20BA; }
@font-face { font-family: "Gambetta"; src: url(/fonts/Gambetta-BoldItalic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0000-017F, U+2018-201F, U+2026, U+20BA; }
@font-face { font-family: "Gambetta"; src: url(/fonts/Gambetta-SemiboldItalic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; unicode-range: U+0000-017F, U+2018-201F, U+2026, U+20BA; }
/* Fira Sans 4.301 (bBox Type, SIL OFL 1.1), subset by scripts/fonts.py to Latin + Latin Extended-A */
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Regular-latin-ext-a.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+2018-201F, U+2026, U+20BA; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Medium-latin-ext-a.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+2018-201F, U+2026, U+20BA; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-SemiBold-latin-ext-a.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0020-007E, U+00A0-017F, U+2018-201F, U+2026, U+20BA; }
/* metric-matched fallbacks (scripts/fallback-metrics.py, research/fallback-metrics.txt) so the swap does not move lines */
@font-face { font-family: "Gambetta Yedek"; src: local("Times New Roman"), local("Liberation Serif"), local("TimesNewRomanPSMT"); size-adjust: 104.9%; ascent-override: 88.6%; descent-override: 27.6%; line-gap-override: 7.6%; }
@font-face { font-family: "Fira Yedek"; src: local("Arial"), local("Liberation Sans"), local("ArialMT"); size-adjust: 98.2%; ascent-override: 95.3%; descent-override: 27%; line-gap-override: 0%; }

:root {
  --yesil: #265239;
  --altin: #E5BE73;
  --kaymak: #FAF5EA;
  --murekkep: #14281C;
  --not: #4A5D50;
  --altin-koyu: #9C7A38;
  --cizgi: rgba(20, 40, 28, 0.18);
  --cizgi-altin: rgba(229, 190, 115, 0.7);
  --ring-k: #8A938C;      /* chip and slot ring on kaymak */
  --ring-g: #B9A06A;      /* slot ring on green */
  --scrim: rgba(19, 35, 26, 0.86);
  --fd: "Gambetta", "Gambetta Yedek", Georgia, serif;
  --fb: "Fira Sans", "Fira Yedek", Arial, sans-serif;
  --g: 20px;              /* phone gutter */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--kaymak); color: var(--murekkep);
  font: 400 17px/26px var(--fb);
  font-kerning: normal; font-variant-ligatures: no-common-ligatures; /* fi and fl would drop the dot of i */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dk { display: none !important; }
:focus-visible { outline: 2px solid var(--murekkep); outline-offset: 3px; }
.on-green :focus-visible, .on-green:focus-visible { outline-color: var(--altin); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--altin); color: var(--murekkep); font-weight: 600; padding: 12px 16px; }
.skip:focus { top: 12px; }

.on-green { background: var(--yesil); color: var(--kaymak); }
.on-kaymak { background: var(--kaymak); color: var(--murekkep); }

/* ---------------------------------------------------------------- type */
.h1, .h2, .h3, .dish, .ozel__n, .h-sheet, .dish-xl, .slogan, .ready__time { font-family: var(--fd); font-weight: 700; text-wrap: balance; }
.h1 { font-size: 34px; line-height: 38px; }
.h2 { font-size: 32px; line-height: 36px; }
.h3 { font-size: 26px; line-height: 30px; }
.dish { font-size: 23px; line-height: 28px; font-weight: 600; font-style: italic; }
.lead { font-size: 17px; line-height: 26px; text-wrap: pretty; }
.note { font-size: 16px; line-height: 22px; color: var(--not); text-wrap: pretty; }
.eyebrow { font-size: 16px; line-height: 22px; font-weight: 500; color: var(--altin); }
.slogan { font-size: 24px; line-height: 30px; font-weight: 600; font-style: italic; color: var(--altin); }

/* ---------------------------------------------------------------- parts */
/* chamfered corners: the stepped art-deco corners of their menu book, as a cut */
.btn, .chip, .slot, .sq { --c: 5px; clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.btn {
  --c: 6px; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 0 20px;
  background: var(--altin); color: var(--murekkep); font: 600 17px/22px var(--fb); width: 100%;
  transition: transform 120ms var(--ease), filter 120ms;
}
.btn--pay { justify-content: space-between; }
.btn:active, .sq:active, .slot:active, .chip:active { transform: scale(0.98); }
@media (hover: hover) { .btn:hover { filter: brightness(1.05); } }

.sq { position: relative; isolation: isolate; flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; transition: transform 120ms var(--ease); }
.sq--line { background: var(--yesil); color: var(--yesil); }
.sq--line::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--kaymak); clip-path: polygon(4.5px 0, calc(100% - 4.5px) 0, 100% 4.5px, 100% calc(100% - 4.5px), calc(100% - 4.5px) 100%, 4.5px 100%, 0 calc(100% - 4.5px), 0 4.5px); }
.sq--gold { background: var(--altin); color: var(--murekkep); }
.sq:disabled { opacity: 0.35; cursor: default; }
.add .i { grid-area: 1 / 1; }
.add__n { grid-area: 1 / 1; font: 600 17px/1 var(--fb); font-variant-numeric: tabular-nums; }
.add.has .i { visibility: hidden; }
.add.has.sq--line { color: var(--kaymak); }
.add.has.sq--line::before { background: var(--yesil); }

/* the gold hairline frame with its four stepped corner brackets */
.fr { position: relative; border: 1px solid var(--cizgi-altin); display: flex; flex-direction: column; }
.fr__c { position: absolute; color: var(--altin); }
.fr__c--tl { left: 4px; top: 4px; }
.fr__c--tr { right: 4px; top: 4px; transform: rotate(90deg); }
.fr__c--br { right: 4px; bottom: 4px; transform: rotate(180deg); }
.fr__c--bl { left: 4px; bottom: 4px; transform: rotate(270deg); }

.act { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font: 500 17px/24px var(--fb); }
.act .i { flex-shrink: 0; }
.rz img { border-radius: 50%; }

/* ---------------------------------------------------------------- header */
.top { height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.top__home { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.rz--top img { width: 44px; height: 44px; }
.top__nav { display: flex; align-items: center; gap: 20px; }
.hact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; font: 500 16px/24px var(--fb); color: var(--kaymak); }

/* ---------------------------------------------------------------- 1 giriş */
/* the photo is 16:9 and the wordmark 152 px so "Sipariş ver" ends inside Safari's 390 x 664 first screen (27 Nov review) */
.hero__media { aspect-ratio: 16 / 9; max-height: 62vh; overflow: hidden; }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 50% 54%; }
.hero__panel { padding: 12px; }
.fr--hero { padding: 22px 20px 22px; gap: 20px; }
.wm { display: block; height: auto; color: var(--altin); }
.hero__wm { width: 152px; }
.hero__words { display: flex; flex-direction: column; gap: 12px; }
.hero__go { display: flex; flex-direction: column; gap: 10px; }
.hero__cap { font-size: 16px; line-height: 22px; text-align: center; }

/* ---------------------------------------------------------------- 2 menü */
.menu__head { padding: 48px var(--g) 8px; display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; gap: 8px; padding-top: 4px; flex-wrap: wrap; }
.chip { position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; font: 500 16px/20px var(--fb); background: var(--ring-k); color: var(--murekkep); transition: transform 120ms var(--ease); }
.chip::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--kaymak); clip-path: polygon(4.5px 0, calc(100% - 4.5px) 0, 100% 4.5px, 100% calc(100% - 4.5px), calc(100% - 4.5px) 100%, 4.5px 100%, 0 calc(100% - 4.5px), 0 4.5px); }
.chip.is-on { background: var(--yesil); color: var(--kaymak); }
.chip.is-on::before { background: var(--yesil); }

.kunefeler { padding: 32px var(--g) 8px; display: flex; flex-direction: column; gap: 16px; }
.ozel { padding: 10px; }
.fr--ozel { padding: 22px 18px 18px; gap: 16px; }
.ozel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ozel__t { display: flex; flex-direction: column; gap: 6px; }
.ozel__n { font-size: 34px; line-height: 38px; font-style: italic; color: var(--kaymak); }
.ozel__d { font-size: 16px; line-height: 24px; text-wrap: pretty; }
.sizes { border: 1px solid var(--cizgi-altin); padding: 4px 14px; }
.sizes li { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 17px; line-height: 24px; }
.sizes li + li { border-top: 1px solid rgba(229, 190, 115, 0.35); }
.sizes li span:last-child { font-weight: 500; }

.rows--kunefe { padding: 24px var(--g) 8px; }
.row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; }
.row + .row { border-top: 1px solid var(--cizgi); }
.row__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__top { display: contents; }
.row__p { order: 3; padding-top: 2px; font-size: 16px; line-height: 24px; font-weight: 500; font-variant-numeric: tabular-nums; }
.row__d { order: 2; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.katmerler { padding: 24px var(--g) 8px; }
.katmerler .h3 { margin-bottom: 6px; }
.icecekler { padding: 24px var(--g) 48px; }
.icecekler .h3 { margin-bottom: 10px; }
.drow { display: flex; gap: 16px; align-items: center; min-height: 52px; padding: 4px 0; }
.drow + .drow, .drows + .drows .drow:first-child { border-top: 1px solid var(--cizgi); }
.drow__t { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; line-height: 24px; }
.drow__p { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------------------------------------------------------- 3 gece gel-al */
.gece__media { aspect-ratio: 13 / 5; overflow: hidden; }
.gece__pic, .gece__pic img { width: 100%; height: 100%; }
.gece__pic img { object-fit: cover; }
.gece__in { padding: 40px var(--g) 48px; display: flex; flex-direction: column; gap: 20px; }
.gece__words { display: flex; flex-direction: column; gap: 20px; }
.fr--sbox { padding: 22px 18px 20px; gap: 14px; }
.sbox__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sbox__t { font-size: 17px; line-height: 24px; font-weight: 600; white-space: nowrap; }
.sbox__d { font-size: 16px; line-height: 22px; text-align: right; }
.sbox__n { font-size: 16px; line-height: 22px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { position: relative; isolation: isolate; height: 44px; display: grid; place-items: center; font: 500 17px/22px var(--fb); font-variant-numeric: tabular-nums; transition: transform 120ms var(--ease); }
.slot::before { content: ""; position: absolute; inset: 1px; z-index: -1; clip-path: polygon(4.5px 0, calc(100% - 4.5px) 0, 100% 4.5px, 100% calc(100% - 4.5px), calc(100% - 4.5px) 100%, 4.5px 100%, 0 calc(100% - 4.5px), 0 4.5px); }
.slot--g { background: var(--ring-g); color: var(--kaymak); }
.slot--g::before { background: var(--yesil); }
.slot--g[aria-pressed="true"] { background: var(--altin); color: var(--murekkep); font-weight: 600; }
.slot--g[aria-pressed="true"]::before { background: var(--altin); }
.slot--k { background: var(--ring-k); color: var(--murekkep); }
.slot--k::before { background: var(--kaymak); }
.slot--k[aria-pressed="true"] { background: var(--yesil); color: var(--kaymak); font-weight: 600; }
.slot--k[aria-pressed="true"]::before { background: var(--yesil); }
.slot[aria-pressed="true"] { animation: settle 180ms var(--ease); }
@keyframes settle { from { transform: scale(0.94); } to { transform: none; } }
.midnight { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--altin); }
.midnight::before, .midnight::after { content: ""; flex: 1; height: 1px; background: rgba(229, 190, 115, 0.5); }

/* ---------------------------------------------------------------- 4 adres */
.adres { padding: 48px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.adres__words { display: contents; }
.adres__words > .h2, .adres__a { padding: 0 var(--g); }
.adres__a { font-size: 17px; line-height: 26px; text-wrap: pretty; margin-top: -8px; }
.facts { order: 3; padding: 0 var(--g); display: flex; flex-direction: column; gap: 4px; }
.fact { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 17px; line-height: 24px; padding-bottom: 4px; border-bottom: 1px solid var(--cizgi); }
.map { order: 2; position: relative; aspect-ratio: 390 / 240; overflow: hidden; background: #EFEBE2; }
.map__ph, .map__ph img { width: 100%; height: 100%; }
.map__ph img { object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 49.6%; transform: translate(-50%, -100%); }
.map__credit { position: absolute; right: 6px; bottom: 4px; font-size: 13px; line-height: 16px; color: var(--not); background: rgba(250, 245, 234, 0.8); padding: 0 4px; }

/* ---------------------------------------------------------------- 5 alt bilgi */
.foot { padding: 40px var(--g) 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.foot__brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rz--foot img { width: 96px; height: 96px; }
.foot__side { display: flex; flex-direction: column; align-items: center; gap: 0; }
.foot__side .act { color: var(--kaymak); font-size: 16px; }
.foot__line { font-size: 16px; line-height: 22px; }
body.has-cbar .foot { padding-bottom: calc(36px + 88px + env(safe-area-inset-bottom)); }
.nojs { padding: 16px var(--g); background: var(--altin); }

/* ---------------------------------------------------------------- the cart bar */
.cbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--cizgi-altin); animation: up 220ms var(--ease); }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }

/* ---------------------------------------------------------------- sheets (Sipariş 1 to 5) */
dialog { padding: 0; border: 0; color: var(--murekkep); }
.sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: calc(100dvh - 40px); background: var(--kaymak); display: flex; flex-direction: column; overflow: hidden; }
.sheet:not([open]) { display: none; }
.sheet[open] { animation: rise 280ms var(--ease); }
.sheet::backdrop { background: var(--scrim); }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
.handle { width: 36px; height: 4px; background: rgba(20, 40, 28, 0.3); margin: 8px auto 0; flex-shrink: 0; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 0 20px; flex-shrink: 0; }
.sheet__h { padding: 5px 0; }
.dish-xl { font-size: 30px; line-height: 34px; font-style: italic; }
.h-sheet { font-size: 30px; line-height: 34px; }
.x { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; color: var(--murekkep); }
.x--light { color: var(--kaymak); }
.sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 20px; }
.sheet__d { font-size: 17px; line-height: 26px; text-wrap: pretty; margin-top: -8px; }
.sheet__foot { padding: 16px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.lbl { font-size: 17px; line-height: 24px; font-weight: 600; }
.lbl--f { font-size: 16px; line-height: 22px; font-weight: 500; }
.hint { font-size: 16px; line-height: 22px; color: var(--not); text-wrap: pretty; }
.pick { display: flex; flex-direction: column; gap: 10px; }
.pick__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pick__head legend { float: left; }
.pick__day { font-size: 16px; line-height: 22px; color: var(--not); }
.sizebox { border: 1px solid var(--altin-koyu); padding: 4px; display: flex; flex-direction: column; }
.srow { position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 12px; cursor: pointer; font-size: 17px; line-height: 24px; }
.srow + .srow { box-shadow: inset 0 1px 0 rgba(156, 122, 56, 0.35); }
.srow input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.srow__r { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #6E7A71; flex-shrink: 0; display: grid; place-items: center; }
.srow__l { flex: 1; }
.srow__p { font-weight: 500; }
.srow:has(input:checked) { background: var(--yesil); color: var(--kaymak); font-weight: 600; box-shadow: none; }
.srow:has(input:checked) + .srow { box-shadow: none; }
.srow:has(input:checked) .srow__p { font-weight: 600; }
.srow:has(input:checked) .srow__r { background: var(--kaymak); box-shadow: none; }
.srow:has(input:checked) .srow__r::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yesil); }
.srow:has(input:focus-visible) { outline: 2px solid var(--murekkep); outline-offset: 2px; }
.qty { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step { display: flex; align-items: center; }
.step__n { width: 44px; text-align: center; font-size: 19px; line-height: 24px; font-weight: 600; }
.step--s { gap: 8px; justify-content: flex-end; }

.lines { display: flex; flex-direction: column; margin-top: -10px; }
.line { padding: 10px 0; box-shadow: inset 0 -1px 0 var(--cizgi); display: flex; flex-direction: column; gap: 6px; }
.line__t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; line-height: 24px; }
.line__t span:last-child { font-weight: 500; white-space: nowrap; }
.more { align-self: flex-start; min-height: 44px; font: 500 16px/24px var(--fb); color: var(--murekkep); }
.err { font-size: 16px; line-height: 22px; font-weight: 500; color: #7A2617; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.inp { height: 48px; width: 100%; background: #FFFFFF; border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--ring-k); padding: 0 14px; font: 400 17px/24px var(--fb); color: var(--murekkep); font-variant-ligatures: no-common-ligatures; }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--yesil); }
.inp[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #7A2617; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; line-height: 22px; }
.total__v { font-size: 19px; line-height: 24px; font-weight: 600; }
.foot__cap { font-size: 16px; line-height: 22px; text-align: center; text-wrap: pretty; }

/* the message and ready views fill the screen */
.sheet--cart[data-view="msg"], .sheet--cart[data-view="ready"] { max-height: 100dvh; height: 100dvh; }
.sheet--cart[data-view="msg"] { background: var(--yesil); }
.view--cart { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.view--msg { position: relative; flex: 1; overflow-y: auto; padding: 72px 20px 32px; display: flex; flex-direction: column; gap: 20px; }
.view--msg .x, .ready__top .x { position: absolute; right: 8px; top: 12px; }
.msg { background: var(--kaymak); color: var(--murekkep); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 24px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.msg__go { margin-top: auto; display: flex; flex-direction: column; gap: 20px; }
.tact { display: flex; justify-content: center; align-items: center; min-height: 48px; font: 500 16px/24px var(--fb); color: var(--kaymak); }
.view--ready { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.ready__top { position: relative; padding: 64px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.ready__time { font-size: 72px; line-height: 76px; color: var(--kaymak); }
.ready__day { font-size: 19px; line-height: 26px; font-weight: 500; }
.ready__body { padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.ready__p { font-size: 17px; line-height: 26px; text-wrap: pretty; }
.sum { border: 1px solid var(--altin-koyu); padding: 6px 16px; }
.sum__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; line-height: 24px; }
.sum__r span:last-child { font-weight: 500; white-space: nowrap; }
.sum__r--l + .sum__r--l { box-shadow: inset 0 1px 0 rgba(156, 122, 56, 0.35); }
.sum__code { font-weight: 600 !important; }
.sum__r--t { min-height: 48px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(156, 122, 56, 0.6); }
.sum__r--t span:last-child { font-weight: 600; }
.facts--ready { order: 0; padding: 0; gap: 0; }
.ready__a { font-size: 16px; line-height: 22px; color: var(--not); }

/* ---------------------------------------------------------------- tablet: the phone layout, held to a readable column */
@media (min-width: 600px) and (max-width: 1023px) {
  :root { --g: max(20px, calc((100% - 640px) / 2)); }
  .hero__panel { padding: 12px max(12px, calc((100% - 664px) / 2)); }
  .map { aspect-ratio: 16 / 7; }
  .sheet { max-width: 560px; margin: auto auto 0; }
}

/* ---------------------------------------------------------------- desktop 1440 board */
@media (min-width: 1024px) {
  :root { --g: max(64px, calc((100% - 1312px) / 2)); }
  .dk { display: revert !important; }
  .btn.dk { display: flex !important; }
  .hact.dk { display: inline-flex !important; }
  .ph { display: none !important; }
  .h1 { font-size: 60px; line-height: 64px; }
  .h2 { font-size: 48px; line-height: 54px; }
  .h3 { font-size: 36px; line-height: 40px; }
  .dish { font-size: 26px; line-height: 32px; }

  .top { height: 72px; padding: 0 var(--g); }
  .top__name { font: 500 17px/24px var(--fb); color: var(--kaymak); }
  .top__nav { gap: 32px; }
  .hact .i { margin-right: 2px; }

  .hero { display: grid; grid-template-columns: 1fr 1fr; height: min(828px, calc(100vh - 72px)); min-height: 640px; }
  .hero__media { aspect-ratio: auto; max-height: none; height: 100%; }
  .hero__pic img { object-position: 50% 50%; }
  .hero__panel { padding: 24px; display: flex; }
  .fr--hero { flex: 1; padding: 48px clamp(40px, 4.4vw, 64px); gap: 0; justify-content: center; }
  .hero__wm { width: 300px; }
  .hero__words { gap: 20px; padding-top: 36px; }
  .hero__words .lead { font-size: 20px; line-height: 30px; }
  .hero__go { flex-direction: row; align-items: center; gap: 24px; padding-top: 36px; }
  .hero__go .btn { width: 280px; flex-shrink: 0; }
  .hero__cap { text-align: left; line-height: 24px; }

  .menu { padding: 96px 0 72px; }
  .menu__head { padding: 0 var(--g) 40px; flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .menu__head .note { line-height: 24px; }
  .chips { display: none; }
  .menu__grid { padding: 0 var(--g); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; grid-template-rows: auto 1fr; grid-template-areas: "card list" "katmer list"; align-items: start; }
  .kunefeler { grid-area: card; padding: 0; gap: 20px; }
  .ozel { padding: 14px; }
  .fr--ozel { padding: 36px 36px 32px; gap: 22px; }
  .ozel__top { gap: 24px; }
  .ozel__t { gap: 8px; }
  .eyebrow { font-size: 17px; line-height: 24px; }
  .ozel__n { font-size: 48px; line-height: 52px; }
  .ozel__d { font-size: 18px; line-height: 28px; max-width: 480px; }
  .fr--ozel .sq--gold { width: 48px; height: 48px; }
  .sizes { padding: 6px 18px; }
  .sizes li { min-height: 52px; font-size: 18px; line-height: 26px; }
  .rows--kunefe { grid-area: list; padding: 40px 0 0; }
  .katmerler { grid-area: katmer; padding: 56px 0 0; }
  .katmerler .h3 { margin-bottom: 4px; }
  .row { gap: 24px; padding: 20px 0; }
  .row__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .row__p { order: 0; padding-top: 0; font-size: 17px; line-height: 24px; white-space: nowrap; }
  .row__d { font-size: 17px; line-height: 26px; }
  .icecekler { margin: 40px var(--g) 0; padding: 40px 0 0; border-top: 1px solid var(--cizgi); }
  .icecekler .h3 { margin-bottom: 12px; }
  .drinks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  .drows + .drows .drow:first-child { border-top: 0; }
  .drow { min-height: 56px; gap: 24px; }
  .drow__t { font-size: 18px; line-height: 26px; }

  .gece__media { aspect-ratio: 1440 / 420; }
  .gece__in { padding: 80px var(--g) 96px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  .gece__words { gap: 24px; }
  .gece__words .lead { font-size: 19px; line-height: 30px; max-width: 560px; }
  .gece__words .btn { width: 280px; }
  .fr--sbox { padding: 32px 32px 28px; gap: 16px; }
  .sbox__t { font-size: 19px; line-height: 26px; }
  .sbox__d, .sbox__n { line-height: 24px; }
  .slots { gap: 10px; }
  .slot { height: 48px; font-size: 18px; line-height: 24px; }
  .midnight { gap: 12px; }

  .adres { padding: 96px var(--g); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  .adres__words { display: flex; flex-direction: column; gap: 20px; }
  .adres__words > .h2, .adres__a { padding: 0; }
  .adres__a { font-size: 19px; line-height: 30px; margin-top: 0; }
  .facts { padding: 8px 0 0; width: 420px; max-width: 100%; }
  .fact { font-size: 18px; line-height: 26px; }
  .facts .act { font-size: 18px; line-height: 26px; }
  .map { aspect-ratio: 640 / 400; }
  .map__pin { left: 34.2%; top: 40%; width: 34px; height: 44px; }
  .map__credit { right: 8px; bottom: 6px; }

  .foot { padding: 48px var(--g); flex-direction: row; justify-content: space-between; text-align: left; }
  .foot__brand { flex-direction: row; gap: 24px; }
  .slogan { font-size: 30px; line-height: 36px; }
  .foot__side { flex-direction: row; gap: 32px; }
  body.has-cbar .foot { padding-bottom: 48px; }

  .cbar { left: auto; right: var(--g); bottom: 24px; width: 420px; padding: 12px; box-shadow: 0 0 0 1px var(--cizgi-altin), 0 12px 32px rgba(20, 40, 28, 0.25); }
  .sheet { width: 480px; max-width: calc(100vw - 48px); margin: auto; max-height: min(860px, calc(100dvh - 48px)); }
  .sheet[open] { animation: lift 240ms var(--ease); }
  .sheet--cart[data-view="msg"], .sheet--cart[data-view="ready"] { height: auto; max-height: min(860px, calc(100dvh - 48px)); }
  .view--msg { padding-top: 64px; }
  .msg__go { margin-top: 12px; }
  @keyframes lift { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- 404 */
.pg-404 { min-height: 100dvh; display: grid; place-items: center; padding: 12px; }
.nf { width: 100%; max-width: 560px; }
.fr--nf { padding: 32px 24px 28px; gap: 20px; }
.nf__wm { width: 196px; }

/* ---- added 27 Nov 2026: footer links, the table code, KVKK and feedback pages ---- */
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font: 500 16px/22px var(--fb); text-decoration: underline; text-underline-offset: 4px; }
.qtable { align-self: flex-start; padding: 6px 12px; background: var(--yesil); color: var(--kaymak); font: 500 16px/20px var(--fb); }
.qtable[hidden] { display: none; }
.ul { text-decoration: underline; text-underline-offset: 3px; }
.doc { display: flex; flex-direction: column; gap: 22px; padding: 40px var(--g) 56px; }
.doc section { display: flex; flex-direction: column; gap: 6px; }
.doc p { font-size: 17px; line-height: 26px; text-wrap: pretty; }
.doc .note { font-size: 16px; line-height: 22px; }
.doc__h { font-family: var(--fd); font-weight: 700; font-size: 22px; line-height: 28px; outline: none; }
.doc__note { padding: 12px 16px; box-shadow: inset 0 0 0 1px var(--murekkep); font-weight: 500; }
.fb { display: flex; flex-direction: column; gap: 18px; }
.fb[hidden], .fb__done[hidden] { display: none; }
.fb__grp { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb__chip { position: relative; }
.fb__chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.fb__chip input:checked + .chip { background: var(--yesil); color: var(--kaymak); }
.fb__chip input:checked + .chip::before { background: var(--yesil); }
.fb__chip input:focus-visible + .chip { outline: 2px solid var(--murekkep); outline-offset: 2px; }
.inp--area { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
.err[hidden] { display: none; }
.fb__done { display: flex; flex-direction: column; gap: 16px; }
.fb__msg { padding: 14px 16px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--ring-k); }
.doc .btn { width: 100%; }
@media (min-width: 1024px) {
  .foot { flex-wrap: wrap; row-gap: 8px; }
  .foot__links { flex-basis: 100%; justify-content: flex-start; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .doc { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }
}
