/* Coffee Prime Bahçelievler. Built from the Paper boards (phone 5MG-0 to 63X-0, desktop 5K6-0).
   Tokens and sizes are the boards' own; see DESIGN.md. Square corners (2 px), ink on paper, one yellow band. */

@font-face { font-family: "Libre Bodoni"; src: url("../fonts/libre-bodoni-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Bodoni"; src: url("../fonts/libre-bodoni-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext.woff2") format("woff2"); font-weight: 400 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #252022;
  --paper: #FFFFFF;
  --y: #FFBC00;
  --surf: #F4F3F1;
  --muted: #6B6466;
  --hair: rgb(37 32 34 / 14%);
  --ring: rgb(37 32 34 / 50%);
  --error: #B3261E;
  --g: 20px;                 /* side gutter on the phone */
  --top: 64px;               /* compact top bar: 10 + 44 + 10, as the board's 5UK-0 */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Libre Bodoni", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  /* "only light": the brand has no dark theme, and forced dark modes would hide "Prime" and the band text. */
  color-scheme: only light;
  caret-color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
/* No smooth scroll on html: keyboard focus must land at once. In-page links glide by script (app.js). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 64px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/27px var(--sans); font-variant-numeric: lining-nums tabular-nums; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.has-cart { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
img, video, svg { display: block; }
/* The width and height attributes reserve space; the CSS box decides the size, so aspect-ratio rules win. */
img, video { max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
p { text-wrap: pretty; }
/* Bodoni at -0.02em closes its word spaces; give them back so "Kovada Waffle" reads as two words. */
h1, h2, h3, .feat__name, .sheet__title, .isheet__name, .slip__time, .navlist a { word-spacing: 0.06em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
a { color: inherit; }
b, strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.band :focus-visible, .cartbar :focus-visible, .btn--primary:focus-visible { outline-color: var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 2px; }
.skip:focus { top: 8px; }
.lost { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 48px var(--g) 64px; max-width: 1440px; margin: 0 auto; }
.lost p { font: 400 17px/27px var(--sans); }
.noscript { padding: 16px var(--g); background: var(--surf); }

.i { width: 20px; height: 20px; flex-shrink: 0; }
.i--16 { width: 16px; height: 16px; }
.i--24 { width: 24px; height: 24px; }
.dt { display: none; }

/* Rules: the broadsheet double rule (2 px, 2 px gap, 1 px) and the single 1 px rule. */
.rules { height: 5px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rule { height: 1px; background: var(--ink); }

/* Buttons: three levels only. */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border-radius: 2px; font: 500 16px/20px var(--sans); text-decoration: none; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.btn--primary { height: 52px; background: var(--ink); color: var(--paper); }
.btn--line { height: 48px; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--quiet { height: 48px; background: var(--surf); }
.iconbtn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 2px; touch-action: manipulation; }
.iconbtn .i { width: 24px; height: 24px; }

/* Masthead: the real lockup, loudest on the first screen. */
.masthead__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--g) 14px; }
.masthead__logo { display: block; width: 300px; max-width: calc(100% - 50px); }
.masthead__logo svg, .topbar__logo svg, .foot__logo svg { width: 100%; height: auto; }
.masthead__menu { margin-right: -14px; }
.masthead__nav { display: none; }
.dateline { display: flex; flex-direction: column; gap: 12px; padding: 0 var(--g); }
.dateline__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font: 500 15px/20px var(--sans); }
.dateline__addr { display: flex; gap: 6px; align-items: flex-start; text-decoration: none; min-height: 44px; margin: -2px 0 -4px; padding: 2px 0 4px; }
.dateline__addr .i { margin-top: 2px; }
.dateline__addr, .dateline__tel { position: relative; }
.dateline__addr::after, .dateline__tel::after { content: ""; position: absolute; inset: -11px 0; }
.dateline__hours { text-align: right; }

/* Compact bar once the masthead has scrolled away (board 5UK-0). */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--top); display: flex; justify-content: space-between; align-items: center; padding: 0 var(--g); background: var(--paper); box-shadow: inset 0 -1px 0 var(--ink); transform: translateY(-100%); visibility: hidden; transition: transform 200ms var(--ease-out), visibility 0s linear 200ms; }
.topbar.is-on { transform: none; visibility: visible; transition: transform 200ms var(--ease-out), visibility 0s; }
.topbar__logo { display: block; width: 150px; }
.topbar__nav { margin-right: -14px; }

/* Hero */
.hero__words { display: flex; flex-direction: column; gap: 12px; padding: 22px var(--g) 0; }
h1 { font: 700 30px/34px var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.hero__cta { margin-top: 8px; }
.hero__loop { margin-top: 24px; aspect-ratio: 390 / 488; background: var(--ink); overflow: hidden; }
.hero__loop video { width: 100%; height: 100%; object-fit: cover; }

/* Pickup band: the one yellow field. */
.band { background: var(--y); }
.band__in { display: flex; flex-direction: column; gap: 18px; padding: 36px var(--g) 32px; }
.band h2 { font: 700 30px/34px var(--serif); letter-spacing: -0.02em; }
.band__go { display: none; }
.slots { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.slots__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slots__label { font: 500 17px/24px var(--sans); }
.slots__date { font: 400 14px/20px var(--sans); }
.slots__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot { height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ring); font: 500 15px/20px var(--sans); touch-action: manipulation; }
.band .slot { box-shadow: inset 0 0 0 1px var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.slots__more { margin-top: 2px; }

/* Menu */
.menu__head { display: flex; flex-direction: column; gap: 12px; padding: 44px var(--g) 0; }
h2 { font: 700 34px/38px var(--serif); letter-spacing: -0.02em; }
.note { font: 400 14px/20px var(--sans); color: var(--muted); }
.cats { position: sticky; top: var(--top); z-index: 10; display: flex; gap: 8px; padding: 12px var(--g); overflow-x: auto; scrollbar-width: none; background: var(--paper); overscroll-behavior-x: contain; scroll-padding: 0 var(--g); }
.cats::-webkit-scrollbar { display: none; }
.chip { height: 44px; padding: 0 16px; flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ring); font: 500 15px/20px var(--sans); touch-action: manipulation; }
.cats .chip { height: 40px; position: relative; }
.cats .chip::after { content: ""; position: absolute; inset: -2px 0; }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.menu__list { padding: 8px var(--g) 0; }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.item__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-align: left; min-height: 44px; }
.item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item__name { font: 500 17px/24px var(--sans); }
.item__sub { font: 400 14px/20px var(--sans); }
.item__price { font: 500 17px/24px var(--sans); white-space: nowrap; }
.add { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ink); font: 500 17px/24px var(--sans); touch-action: manipulation; }
.add.is-in { background: var(--ink); color: var(--paper); box-shadow: none; }
.feat { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 var(--hair); }
.feat__img { width: 100%; aspect-ratio: 350 / 280; object-fit: cover; background: var(--surf); }
.feat__name { position: relative; align-self: flex-start; padding: 0; text-align: left; font: 700 26px/30px var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.feat__name::after { content: ""; position: absolute; inset: -7px 0; }
.feat__row { display: flex; align-items: center; gap: 14px; }
.feat__row .item__sub { flex: 1; }
.feat__open { display: flex; flex-direction: column; gap: 4px; text-align: left; }

/* Workshop */
.workshop { display: flex; flex-direction: column; gap: 16px; padding-top: 48px; }
.workshop__words { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--g); }
.workshop__img { width: 100%; aspect-ratio: 390 / 488; object-fit: cover; background: var(--surf); }
.workshop__ask { display: flex; flex-direction: column; gap: 14px; padding: 8px var(--g) 0; }

/* Visit */
.visit { margin-top: 48px; background: var(--surf); }
.visit__in { display: flex; flex-direction: column; gap: 18px; padding: 36px var(--g); }
.visit__info, .visit__map { display: flex; flex-direction: column; gap: 18px; }
.visit__addr { font: 400 17px/27px var(--sans); }
.visit__addr strong { font-weight: 500; }
.visit__addr span { display: block; margin-top: 2px; }
.visit__rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.visit__rows dt { font: 400 17px/27px var(--sans); }
.visit__rows dd { font: 500 17px/27px var(--sans); text-align: right; }
.visit__rows a { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; margin: -8px 0; }
.map { position: relative; display: block; aspect-ratio: 350 / 243; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; left: 51.67%; top: 51.2%; width: 36px; height: 36px; margin: -18px 0 0 -18px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); border-radius: 2px; }
.mapbox { display: flex; flex-direction: column; gap: 18px; }
.credit { font: 400 13px/18px var(--sans); color: var(--muted); }
.insta { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 400 17px/27px var(--sans); }

/* Footer */
.foot { display: flex; flex-direction: column; gap: 16px; padding: 32px var(--g) 40px; }
.foot__logo { display: block; width: 180px; }
.foot p { font: 400 14px/22px var(--sans); }

/* Cart bar */
.cartbar { position: fixed; inset: auto 0 0 0; z-index: 15; background: var(--ink); color: var(--paper); padding-bottom: env(safe-area-inset-bottom); transform: translateY(0); transition: transform 240ms var(--ease-sheet); }
.cartbar[hidden] { display: block; transform: translateY(110%); visibility: hidden; transition: transform 200ms var(--ease-out), visibility 0s linear 200ms; }
.cartbar__btn { width: 100%; height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 var(--g); text-align: left; }
.cartbar__sum { display: flex; flex-direction: column; }
.cartbar__sum b { font: 500 17px/24px var(--sans); }
.cartbar__sum span { font: 400 14px/20px var(--sans); }
.cartbar__go { display: flex; align-items: center; gap: 8px; font: 500 16px/20px var(--sans); white-space: nowrap; }

/* Sheets: one <dialog>, filled per use (item, cart, order summary, workshop, sections). */
.sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.sheet::backdrop { background: rgb(37 32 34 / 50%); opacity: 0; transition: opacity 240ms var(--ease-out); }
.sheet.is-open::backdrop { opacity: 1; }
.sheet__panel { position: absolute; inset: auto 0 0 0; max-height: calc(100% - 48px); display: flex; flex-direction: column; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform 280ms var(--ease-sheet); padding-bottom: env(safe-area-inset-bottom); }
.sheet--full .sheet__panel { top: 0; max-height: none; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet.is-closing .sheet__panel { transform: translateY(100%); transition-duration: 200ms; }
.sheet.is-closing::backdrop { opacity: 0; }
.sheet__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--g); background: var(--paper); box-shadow: inset 0 -1px 0 var(--hair); }
.sheet__title { font: 700 26px/30px var(--serif); letter-spacing: -0.02em; }
.sheet__top .iconbtn { margin-right: -10px; }
.sheet__body { display: flex; flex-direction: column; gap: 18px; padding: 24px var(--g); }
.sheet__close { align-self: flex-end; margin: 8px 10px -8px 0; }

/* Item sheet (5YE-0) */
.isheet { display: flex; flex-direction: column; gap: 16px; padding: 8px var(--g) 24px; }
.isheet__close { align-self: flex-end; margin-right: -10px; }
.isheet__img { width: 100%; aspect-ratio: 350 / 262; object-fit: cover; background: var(--surf); }
.isheet__head { display: flex; flex-direction: column; gap: 6px; }
.isheet__name { font: 700 30px/34px var(--serif); letter-spacing: -0.02em; }
.isheet__sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.isheet__qty { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); font: 500 17px/24px var(--sans); }
.isheet__qty { margin-bottom: 16px; }
.isheet .btn--primary { margin-top: auto; }
/* The board's 5YE-0: the item sheet stands 150 px below the top, the button at its foot. */
.sheet--item:has(.isheet__img) .sheet__panel { min-height: calc(100% - 150px); }
.sheet--item .isheet { flex: 1; }
.stepper { display: flex; align-items: center; flex-shrink: 0; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ink); }
.stepper button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.stepper button:disabled { color: var(--ring); cursor: default; }
.stepper output { width: 28px; text-align: center; font: 500 17px/24px var(--sans); }

/* Cart (608-0) */
.cart__lines { display: flex; flex-direction: column; padding: 4px var(--g) 0; }
.line { display: flex; align-items: center; gap: 14px; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.line__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line__name { font: 500 17px/24px var(--sans); }
.line__unit { font: 400 14px/20px var(--sans); }
.line__total { font: 500 17px/24px var(--sans); white-space: nowrap; }
.cart__total { display: flex; justify-content: space-between; padding: 14px 0 6px; font: 500 17px/24px var(--sans); }
.cart__note { font: 400 13px/18px var(--sans); color: var(--muted); }
.cart__when { display: flex; flex-direction: column; gap: 16px; padding: 28px var(--g) 0; }
.cart__when h3, .h3 { font: 700 26px/30px var(--serif); letter-spacing: -0.02em; }
.cart__when .slots { padding-top: 0; }
.cart__form { display: flex; flex-direction: column; gap: 16px; padding: 28px var(--g) 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 15px/20px var(--sans); }
.flabel { font: 500 17px/24px var(--sans); }
.sheet__body--ws { gap: 22px; padding: 20px var(--g) 32px; }
.sheet__body--ws .isheet__qty { box-shadow: none; padding: 0; }
.sheet__body--ws .slots { padding: 0; }
.field input { height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: var(--surf); box-shadow: inset 0 -1px 0 var(--ink); font: 400 17px/24px var(--sans); color: var(--ink); width: 100%; }
.field input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.err { font: 400 14px/20px var(--sans); color: var(--error); }
.send { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.send .note { font-size: 14px; }
.empty { padding: 24px var(--g) 32px; display: flex; flex-direction: column; gap: 18px; }

/* Order summary (630-0) */
.slip { display: flex; flex-direction: column; gap: 10px; padding: 20px; box-shadow: inset 0 0 0 1px var(--ink); }
.slip__time { font: 700 64px/64px var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.slip__when { font: 500 15px/22px var(--sans); }
.slip__addr, .slip__row { font: 400 15px/22px var(--sans); }
.slip__row { display: flex; justify-content: space-between; gap: 12px; }
.slip__row--total { font-weight: 500; }
.slip hr { border: 0; height: 1px; background: var(--hair); margin: 0; }
.slip__foot { font: 400 13px/18px var(--sans); color: var(--muted); }
.textaction { align-self: center; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; font: 500 16px/20px var(--sans); }

/* Sections sheet (the menu icon) */
.navlist { display: flex; flex-direction: column; padding: 8px var(--g) 24px; }
.navlist a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; box-shadow: inset 0 -1px 0 var(--hair); text-decoration: none; font: 700 26px/30px var(--serif); letter-spacing: -0.02em; }
.navlist__tel { margin-top: 18px; }
.navlist .btn { min-height: 48px; justify-content: center; box-shadow: inset 0 0 0 1px var(--ink); font: 500 16px/20px var(--sans); letter-spacing: 0; }
::selection { background: var(--ink); color: var(--paper); }

/* Press feedback on the controls guests tap (the animation pass in DESIGN.md). */
.btn, .slot, .chip, .add, .iconbtn, .stepper button, .cartbar__btn, .textaction { transition: transform 160ms var(--ease-out); }
.btn:active, .slot:active, .chip:active, .add:active, .iconbtn:active, .stepper button:active:not(:disabled), .textaction:active { transform: scale(0.97); }
.cartbar__btn:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: rgb(37 32 34 / 88%); }
  .btn--line:hover, .add:not(.is-in):hover, .slot:not([aria-pressed="true"]):hover, .chip:not([aria-selected="true"]):not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 2px var(--ink); }
  .masthead__nav a:hover, .dateline__addr:hover span { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:active, .slot:active, .chip:active, .add:active, .iconbtn:active, .stepper button:active, .textaction:active, .cartbar__btn:active { transform: none; }
  .sheet__panel, .sheet.is-closing .sheet__panel { transform: none; transition: opacity 160ms linear; opacity: 0; }
  .sheet.is-open .sheet__panel { opacity: 1; }
  /* The bars still arrive, as a short fade in place instead of a slide. */
  .topbar, .cartbar[hidden] { transform: none; opacity: 0; transition: opacity 160ms linear, visibility 0s linear 160ms; }
  .topbar.is-on, .cartbar { transform: none; opacity: 1; transition: opacity 160ms linear, visibility 0s; }
}

/* Between 1024 and 1279 the four dateline items do not fit on one line: the landmark waits in the visit block. */
@media (min-width: 1024px) and (max-width: 1279px) { .dateline__landmark { display: none; } }

/* Narrow phones: the time grid keeps five per row down to 340 px, then four. */
@media (max-width: 339px) { .slots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Desktop (board 5K6-0): 64 px margins, a 1312 px measure. */
@media (min-width: 1024px) {
  :root { --g: 64px; --top: 64px; }
  .ph { display: none; }
  .dt { display: inline; }
  .wrap, .masthead, .hero, .band__in, .menu, .workshop, .visit__in, .foot { max-width: 1440px; margin-left: auto; margin-right: auto; }
  .masthead__bar { padding: 28px var(--g) 20px; }
  .masthead__logo { width: 360px; }
  .masthead__menu { display: none; }
  .masthead__nav { display: flex; gap: 36px; font: 500 16px/22px var(--sans); }
  .masthead__nav a { position: relative; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
  .masthead__nav a::after { content: ""; position: absolute; inset: 0 -4px; }
  .dateline .rules { height: 6px; border-top-width: 3px; }
  .dateline__row { font: 500 16px/22px var(--sans); align-items: center; }
  .dateline__addr { align-items: center; gap: 8px; min-height: 0; margin: 0; padding: 0; }
  .dateline__addr .i { width: 20px; height: 20px; margin: 0; }
  .dateline__tel { text-decoration: none; }
  .dateline__row > * { white-space: nowrap; }
  .topbar { padding: 0 var(--g); }
  .topbar__logo { width: 180px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 504px; gap: 64px; align-items: center; padding: 40px var(--g) 0; }
  .hero__words { padding: 0; gap: 22px; max-width: 600px; }
  h1 { font-size: 52px; line-height: 58px; }
  .hero__lede { font: 400 18px/28px var(--sans); max-width: 440px; }
  .hero__cta { width: auto; align-self: flex-start; height: 56px; padding: 0 28px; margin-top: 0; font: 500 17px/22px var(--sans); }
  .hero__loop { margin-top: 0; aspect-ratio: 4 / 5; }
  .band { margin-top: 64px; }
  .band__in { gap: 32px; padding: 56px var(--g); }
  /* One h2 size on the desktop: the band's 48/52 from 5K6-0, under the 52/58 h1. */
  h2, .band h2 { font-size: 48px; line-height: 52px; }
  .band__body { font: 400 18px/28px var(--sans); max-width: 720px; }
  .band__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .band .slots { padding: 0; }
  .band .slots__head { justify-content: flex-start; gap: 16px; }
  .band .slots__grid { grid-template-columns: repeat(10, 62px); }
  .band__go { display: flex; width: auto; height: 52px; padding: 0 24px; }
  .menu__head { padding: 72px var(--g) 0; max-width: 1440px; }
  .note { max-width: 640px; }
  .cats { padding: 16px var(--g); }
  /* Rows read down one column. With the dessert photo: the photo holds the left column while the rows run on
     the right; without it: two columns of rows, filled top to bottom. */
  .menu__list { padding: 8px var(--g) 0; }
  .menu__list.has-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .menu__list:not(.has-feat) .menu__rows { columns: 2; column-gap: 64px; }
  .menu__rows .item { break-inside: avoid; }
  .feat { position: sticky; top: calc(var(--top) + 80px); padding-bottom: 20px; }
  .feat__img { aspect-ratio: 4 / 3; }
  /* The words sit on the picture's middle, not at its top with a blank column under them. */
  .workshop { display: grid; grid-template-columns: minmax(0, 1fr) 504px; grid-template-rows: 1fr auto auto 1fr; column-gap: 64px; row-gap: 24px; padding: 96px var(--g) 0; }
  .workshop__words { padding: 0; grid-column: 1; grid-row: 2; max-width: 600px; }
  .workshop__img { grid-column: 2; grid-row: 1 / span 4; aspect-ratio: 4 / 5; }
  .workshop__ask { grid-column: 1; grid-row: 3; padding: 0; max-width: 600px; }
  .workshop__ask .btn { width: auto; align-self: flex-start; padding: 0 24px; }
  .visit { margin-top: 96px; }
  /* Address, hours, directions and Instagram in the left column; the map and its credit on the right. */
  .visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 64px; row-gap: 18px; padding: 64px var(--g); }
  .visit__map { display: contents; }
  .visit__info { grid-column: 1; grid-row: 1; }
  .mapbox { grid-column: 2; grid-row: 1 / span 4; }
  .visit__map .btn { grid-column: 1; grid-row: 2; width: auto; justify-self: start; padding: 0 24px; margin-top: 14px; }
  .insta { grid-column: 1; grid-row: 3; justify-self: start; }
  .foot { padding: 40px var(--g) 56px; }
  .foot__logo { width: 200px; }
  .cartbar__btn { max-width: 1440px; margin: 0 auto; padding: 0 var(--g); }
  /* Sheets dock to the right on desktop. */
  .sheet__panel { inset: 0 0 0 auto; width: 440px; max-height: none; transform: translateX(100%); }
  .sheet.is-closing .sheet__panel { transform: translateX(100%); }
  .sheet__body, .cart__lines, .cart__when, .cart__form, .isheet, .navlist, .empty { padding-left: 28px; padding-right: 28px; }
  .sheet__top { padding: 14px 28px; }
}

/* Added 27 Nov 2026: the three map apps, the footer links, the QR menu (menu.coffeeprime.katsayi.com), the order
   host (siparis.coffeeprime.katsayi.com: the home page with html.is-order, set by worker/index.js), KVKK, feedback. */
.dirs { display: flex; flex-direction: column; gap: 10px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; font: 400 15px/20px var(--sans); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.is-order .hero, .is-order .workshop, .is-order .masthead__nav a[href="#atolye"], .is-order .navlist a[href="#atolye"] { display: none; }
.is-order .band { margin-top: 0; }
.qtable { font: 500 15px/20px var(--sans); padding: 8px 12px; background: var(--y); color: var(--ink); border-radius: 2px; white-space: nowrap; }
.qtable[hidden] { display: none; }
.qrail { text-decoration: none; }
.qrail .chip { height: 40px; text-decoration: none; }
.qlist { padding: 0 var(--g); }
.qsec { scroll-margin-top: 72px; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.qsec__h { font: 700 26px/30px var(--serif); letter-spacing: -0.02em; }
.qsec__img { width: 100%; aspect-ratio: 350 / 240; object-fit: cover; background: var(--surf); }
.qsec__rows { list-style: none; margin: 0; padding: 0; }
.qsec .item { min-height: 52px; }
.qgo { margin: 40px var(--g) 0; padding: 20px; background: var(--y); display: flex; flex-direction: column; gap: 14px; border-radius: 2px; }
.qgo p { font: 500 17px/24px var(--sans); }
.qvisit__in { display: flex; flex-direction: column; gap: 18px; padding: 36px var(--g); }
.doc { display: flex; flex-direction: column; gap: 22px; padding: 36px var(--g) 56px; }
.doc section { display: flex; flex-direction: column; gap: 6px; }
.doc section p, .doc__lead { font: 400 17px/27px var(--sans); }
.doc__h { font: 700 22px/28px var(--serif); letter-spacing: -0.02em; outline: none; }
.doc__note { padding: 12px 16px; box-shadow: inset 0 0 0 1px var(--ink); background: var(--surf); font: 500 15px/22px var(--sans); }
.fb { display: flex; flex-direction: column; gap: 20px; }
.fb[hidden], .fb__done[hidden] { display: none; }
.fb__grp { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fb__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fb__chip { position: relative; }
.fb__chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fb__chip input:checked + .chip { background: var(--ink); color: var(--paper); box-shadow: none; }
.fb__chip input:focus-visible + .chip { outline: 2px solid var(--ink); outline-offset: 2px; }
.fb__f { display: flex; flex-direction: column; gap: 8px; }
.fb__l { font: 500 16px/22px var(--sans); padding: 0; }
.fb__in { height: 48px; width: 100%; border: 0; box-shadow: inset 0 0 0 1px var(--ring); border-radius: 2px; padding: 0 14px; font: 400 17px/24px var(--sans); background: var(--paper); color: var(--ink); }
.fb__in:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.fb__in[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.fb__in--area { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
.fb__e { font: 500 15px/20px var(--sans); color: var(--error); }
.fb__e[hidden] { display: none; }
.fb__done { display: flex; flex-direction: column; gap: 16px; }
.fb__msg { padding: 14px 16px; background: var(--surf); display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .dirs { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
  .dirs .btn { margin-top: 0; }
  .qlist { max-width: 1440px; margin: 0 auto; padding: 0 var(--g); columns: 2; column-gap: 64px; }
  .qsec { break-inside: avoid; }
  .qgo { max-width: calc(1440px - 2 * var(--g)); margin: 56px auto 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
  .qgo .btn { width: auto; padding: 0 28px; }
  .qvisit__in { max-width: 760px; margin: 0 auto; padding: 64px var(--g); }
  .qvisit .dirs { flex-direction: row; }
  .qvisit .dirs .btn { width: auto; padding: 0 24px; }
  .doc { max-width: 760px; margin: 0 auto; padding: 64px var(--g) 80px; }
  .foot__links { gap: 0 28px; }
}
