/*
 * Gza – food truck template · Abedev (abedev.com)
 *
 * Design: loud and friendly street food – paper white, truck yellow, tomato red and herb green, thick black outlines
 * and hard offset shadows like a street poster, a chunky mono display face over a clean text face and food drawn in
 * thick lines. The language switch is a row of die-cut stickers with flags (the corner peels on hover) and on phones
 * the menu is the serving hatch: the roller shutter rolls up and the pages hang on the menu board. Colours, fonts and
 * spacing are variables: change them here and the whole site follows. All motion stops with "reduce motion".
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header, stickers & hatch · 5 hero & start page · 6 week · 7 food & builder
 * · 8 pre-order · 9 footer · 10 smaller screens
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Gza Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rubik-mono-one-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gza Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rubik-mono-one-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gza Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rubik-mono-one-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Gza Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/m-plus-1p-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/m-plus-1p-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/m-plus-1p-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/m-plus-1p-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/m-plus-1p-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/m-plus-1p-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Gza Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Tokens */
:root {
    --yellow: #ffd400;
    --black: #191919;
    --red: #ff4d2e;
    --green: #7bc043;
    --paper: #f4f1e8;
    --card: #ffffff;
    --mid: #55524a;
    --bd: 3px solid var(--black);
    --shadow: 6px 6px 0 var(--black);
    --radius: 18px;
    --display: "Gza Display", "Rubik Mono One", "Arial Black", system-ui, sans-serif;
    --text: "Gza Text", "M PLUS 1p", system-ui, sans-serif;
    --wrap: 1200px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--black); font: 400 18px/1.6 var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.2; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { line-height: 1.3; }
:lang(ka) h1 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
:lang(ka) h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
:lang(ka) h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--black); color: var(--yellow); border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border: var(--bd); border-radius: 999px; background: var(--card); font-weight: 700; font-size: .95rem; transform: rotate(-2deg); }
.eyebrow .icon { color: var(--red); }
.lead { font-size: 1.18rem; color: var(--mid); max-width: 60ch; }
.muted { color: var(--mid); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(16px, 3vw, 36px) 0 clamp(56px, 8vw, 96px); }
.section--yellow { background: var(--yellow); border-block: var(--bd); }
.section--yellow .lead { color: #3f3a1c; }
.section--black { background: var(--black); color: var(--paper); }
.section--black .lead { color: #c9c4b6; }
.head { max-width: 760px; margin-bottom: 34px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; margin-bottom: 30px; }
.head-row h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border: var(--bd); border-radius: 14px; font: 700 1.05rem/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; box-shadow: 4px 4px 0 var(--black); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-line { background: var(--card); color: var(--black); }
.section--black .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }
/* iPhone Safari: date fields keep their own width otherwise and stick out of the form */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.4em; text-align: left; }

/* drawings (art.php) */
.food, .truck { width: 100%; height: auto; overflow: visible; }
.ol { fill: none; stroke: var(--black); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.truck .awning { fill: #fff; }
.price-tag { display: inline-block; padding: 4px 12px; border: var(--bd); border-radius: 10px; background: var(--yellow); font: 400 1rem var(--display); transform: rotate(-3deg); white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border: 2px solid var(--black); border-radius: 999px; font-size: .78rem; font-weight: 700; vertical-align: middle; }
.badge--today { background: var(--black); color: var(--yellow); }
.badge--here { background: var(--red); color: #fff; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .badge--here { animation: none; } }

/* 4 ─ Header, stickers (language) & hatch */
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--bd); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: var(--bd); border-radius: 12px; background: var(--yellow); transform: rotate(-6deg); }
.logo-mark .icon { width: 28px; height: 28px; }
.logo-img { max-height: 48px; width: auto; }
.logo > span:last-child { display: grid; font: 400 1.6rem/1 var(--display); }
.logo small { margin-top: 4px; font: 700 .8rem/1 var(--text); color: var(--mid); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 7px 14px; border: 3px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 700; }
.nav a:hover { border-color: var(--black); }
.nav a[aria-current] { background: var(--black); color: var(--yellow); }
.stickers { display: flex; gap: 2px; }
.stickers a { position: relative; display: block; width: 46px; height: 46px; text-decoration: none; transform: rotate(var(--tilt, 0deg)); transition: transform .25s; }
.sticker { width: 100%; height: 100%; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .55)); }
.st-edge { fill: #fff; stroke: var(--black); stroke-width: 2; }
.st-ring { fill: none; stroke: rgba(0, 0, 0, .2); stroke-width: 1.5; }
.st-peel { fill: #e8e3d4; stroke: var(--black); stroke-width: 1.4; opacity: 0; transition: opacity .2s; }
.stickers span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stickers a:hover { transform: rotate(0) scale(1.08); }
.stickers a:hover .st-peel { opacity: 1; }
.stickers a[aria-current] .st-edge { fill: var(--yellow); stroke-width: 3; }
.stickers a[aria-current] { transform: rotate(var(--tilt, 0deg)) scale(1.1); }
.stickers a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 50%; }
.hatch-btn { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 46px; padding: 8px 16px; border: var(--bd); border-radius: 12px; background: var(--yellow); color: var(--black); font: 700 1rem var(--text); cursor: pointer; box-shadow: 3px 3px 0 var(--black); }
.hatch { position: fixed; inset: 0; z-index: 60; overflow: auto; background: var(--black); }
.shutter { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(#bfbab0 0 22px, #8e897f 22px 25px, #d4cfc4 25px 30px); border-bottom: 8px solid var(--black); transition: transform .55s cubic-bezier(.6, 0, .3, 1); }
.hatch.is-open .shutter { transform: translateY(-101%); }
.board { position: relative; display: grid; justify-items: center; gap: 20px; min-height: 100%; padding: 74px 22px 34px; color: var(--paper); background: radial-gradient(circle at 50% 0, #2b2b2b, var(--black) 70%); }
.hatch-close { position: absolute; right: 14px; top: 12px; display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid var(--paper); border-radius: 12px; background: transparent; color: var(--paper); cursor: pointer; }
.board-head { margin: 0; padding: 6px 16px; border-radius: 10px; background: var(--yellow); color: var(--black); font: 400 1rem var(--display); transform: rotate(-2deg); }
.board-nav { display: grid; gap: 12px; width: min(340px, 100%); }
.board-nav a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 3px solid #3a3a3a; border-radius: 14px; text-decoration: none; font: 700 1.4rem/1.2 var(--text); }
:lang(ka) .board-nav a { font-size: 1.1rem; }
.board-nav a[aria-current] { border-color: var(--yellow); color: var(--yellow); }
.board-food { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 12px; background: var(--paper); }
.board-food .food { width: 44px; }
.board-status { margin: 0; color: var(--yellow); font-weight: 700; text-align: center; }
.stickers--hatch { gap: 10px; }
.stickers--hatch a { width: 54px; height: 54px; }
@media (prefers-reduced-motion: reduce) { .shutter { transition: none; } }

/* 5 ─ Hero & start page */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(36px, 6vw, 84px) 0 clamp(30px, 5vw, 56px); }
.hero-art { position: relative; }
.truck-big { display: block; animation: idle 2.4s ease-in-out infinite; }
@keyframes idle { 50% { transform: translateY(-3px); } }
.poster { margin: 0; aspect-ratio: 4 / 3; border: var(--bd); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); }
.poster img, .poster picture { width: 100%; height: 100%; object-fit: cover; }
.truck-small { position: absolute; left: -6%; bottom: -14%; width: 46%; animation: idle 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .truck-big, .truck-small { animation: none; } }
.ticker { background: var(--black); color: var(--yellow); border-block: var(--bd); }
.status { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 0; font: 700 1.15rem var(--text); }
.status::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: #8d8a80; }
.status.is-here::before { background: var(--green); box-shadow: 0 0 0 4px rgba(123, 192, 67, .35); }
.status.is-later::before { background: var(--yellow); }
.page-head .status { display: inline-flex; margin-top: 8px; padding: 10px 16px; border: var(--bd); border-radius: 12px; background: var(--card); }
.favs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fav { display: grid; align-content: start; gap: 6px; padding: 24px; border: var(--bd); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.fav-food { display: block; width: 110px; margin-bottom: 8px; transition: transform .3s; }
.fav:hover .fav-food { transform: rotate(-10deg) scale(1.06); }
.fav p { color: var(--mid); }
.fav-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.add { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: var(--bd); border-radius: 10px; background: var(--card); font-weight: 700; text-decoration: none; font-size: .95rem; }
.add:hover { background: var(--yellow); }
.hire { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 4vw, 40px); border: var(--bd); border-radius: var(--radius); background: var(--green); box-shadow: var(--shadow); }
.hire .lead { color: #1f3510; margin: 0; }
.hire-icon { display: grid; place-items: center; width: 74px; height: 74px; border: var(--bd); border-radius: 50%; background: var(--card); }
.hire-icon .icon { width: 36px; height: 36px; }
.cta { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 4vw, 40px); border: var(--bd); border-radius: var(--radius); background: var(--red); color: #fff; box-shadow: var(--shadow); }
.cta-inner p { margin: 0; }
.cta-food { display: block; width: 90px; }

/* 6 ─ Week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.week--full { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.day { display: grid; align-content: start; gap: 10px; padding: 14px; border: var(--bd); border-radius: 14px; background: var(--card); }
.day.is-today { background: var(--yellow); box-shadow: var(--shadow); }
.day--off { background: transparent; border-style: dashed; }
.day-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font: 400 .95rem var(--display); }
:lang(ka) .day-name { font-size: .9rem; }
.day-off { margin: 0; color: var(--mid); font-size: .92rem; }
.stop { display: grid; gap: 4px; padding: 10px; border: 2px solid var(--black); border-radius: 10px; background: var(--paper); font-size: .92rem; }
.stop b { font-size: 1rem; line-height: 1.25; }
.stop-time, .stop-addr { display: flex; gap: 6px; align-items: flex-start; }
.stop-time .icon, .stop-addr .icon { margin-top: 3px; }
.stop-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.stop.is-here { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 77, 46, .3); background: #fff; }
.stop .badge { justify-self: start; }

/* 7 ─ Food & builder */
.page-head { padding: clamp(40px, 7vw, 84px) 0 clamp(18px, 3vw, 32px); }
.cat-title { display: inline-block; margin: 26px 0 18px; padding: 6px 16px; border: var(--bd); border-radius: 12px; background: var(--black); color: var(--yellow); font-size: clamp(1.2rem, 2.4vw, 1.6rem); transform: rotate(-1.5deg); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border: var(--bd); border-radius: var(--radius); background: var(--card); }
.item-food { display: block; width: 76px; }
.item h3 { margin-bottom: .3em; }
.item p { margin: 0; color: var(--mid); font-size: .95rem; }
.item p.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.tag--veg { background: #e3f1d5; color: #2f5a12; }
.tag--spicy { background: #ffe1d9; color: #a3260d; }
.item-side { display: grid; justify-items: end; gap: 10px; }
.add--round { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.builder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.bstep { margin: 0; padding: 16px; border: 3px solid #3b3b3b; border-radius: var(--radius); display: grid; gap: 8px; }
.bstep legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font: 400 1rem var(--display); color: var(--yellow); }
:lang(ka) .bstep legend { font-size: .95rem; }
.bstep legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: .85rem; }
.bopt { position: relative; display: block; cursor: pointer; }
.bopt input { position: absolute; opacity: 0; }
.bopt > span { display: grid; gap: 2px; padding: 10px 12px; border: 2px solid #4a4a4a; border-radius: 12px; transition: border-color .15s, background .15s; }
.bopt small { color: #b9b4a6; }
.bopt input:checked + span { border-color: var(--yellow); background: rgba(255, 212, 0, .12); }
.bopt input:checked + span b::before { content: "✓ "; color: var(--yellow); }
.bopt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.builder-out { position: sticky; top: 100px; display: grid; justify-items: center; gap: 10px; padding: 22px; border: var(--bd); border-color: var(--paper); border-radius: var(--radius); background: var(--yellow); color: var(--black); text-align: center; }
.builder-food { display: block; width: 110px; }
.builder-name { margin: 0; font-weight: 700; }
.builder-price { margin: 0; font: 400 1.9rem var(--display); }
.builder-out .btn { border-color: var(--black); box-shadow: 4px 4px 0 var(--black); }

/* 8 ─ Pre-order */
.order-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
.side-col { display: grid; gap: 24px; }
.panel { position: relative; margin: 0; padding: 22px; border: var(--bd); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); min-width: 0; }
.panel-title { float: left; width: 100%; margin: 0 0 14px; padding: 0; font: 400 1.2rem var(--display); }
:lang(ka) .panel-title { font-size: 1.05rem; }
.panel-title + * { clear: both; }
.lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lines--own:not(:empty) { margin-top: 8px; }
.line { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 2px solid #ddd8ca; border-radius: 12px; transition: background .15s, border-color .15s; }
.line--own { grid-template-columns: minmax(0, 1fr) auto; }
.line.is-on { border-color: var(--black); background: #fff7c7; }
.line-food .food { width: 46px; }
.line-name { display: grid; }
.line-name small { color: var(--mid); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: var(--bd); border-radius: 10px; background: var(--card); color: var(--black); cursor: pointer; }
.qty button:hover { background: var(--yellow); }
.qty output { min-width: 1.6em; text-align: center; font: 400 1.1rem var(--display); }
.order-empty { margin: 14px 0 0; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 0; padding-top: 14px; border-top: var(--bd); font-weight: 700; }
.order-total b { font: 400 1.7rem var(--display); }
.order input.check-input:not([type="checkbox"]) { position: absolute; left: 22px; bottom: 22px; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-weight: 700; }
.order input:not([type="checkbox"]), .order select, .order textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: var(--bd); border-radius: 12px; background: var(--paper); color: var(--black); font: 400 1.02rem var(--text); }
.order textarea { resize: vertical; }
.order input:focus, .order select:focus, .order textarea:focus { outline: none; background: #fff; box-shadow: 3px 3px 0 var(--red); }
.pay-note { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 10px; background: #e3f1d5; font-weight: 700; font-size: .95rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: .95rem; color: var(--mid); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--black); }
.order .btn { width: 100%; }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border: var(--bd); border-radius: 12px; font-weight: 700; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e3f1d5; }
.form-status.info { background: #fff7c7; }
.form-status.error { background: #ffe1d9; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; margin-top: 30px; padding: 16px 20px; border: var(--bd); border-style: dashed; border-radius: var(--radius); overflow-wrap: anywhere; }
.contact-strip p { margin: 0; }
.contact-strip .icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* 9 ─ Footer */
.footer { padding: 56px 0 24px; background: var(--black); color: #d8d3c5; border-top: var(--bd); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-name { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 400 1.7rem/1 var(--display); color: var(--yellow); }
.footer a { color: #fff; }
.footer-h { margin-bottom: 12px; font: 700 1rem var(--text); color: var(--yellow); }
.plain { margin: 0; padding: 0; list-style: none; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #4a4a4a; border-radius: 12px; }
.socials a:hover { border-color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 2px solid #3a3a3a; font-size: .9rem; color: #aaa596; }
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.4em; font-size: 1.3rem; }

/* 10 ─ Smaller screens */
@media (max-width: 1100px) {
    .nav a { padding: 7px 9px; }
    .stickers a { width: 40px; height: 40px; }
    .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .builder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .builder-out { grid-column: 1 / -1; position: static; }
}
@media (max-width: 980px) {
    .nav, .stickers--top { display: none; }
    .hatch-btn { display: inline-flex; }
    .hero-grid, .order-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-art { max-width: 520px; width: 100%; justify-self: center; }
    .favs, .items { grid-template-columns: minmax(0, 1fr); }
    .favs { max-width: 560px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 17px; }
    .header-inner { min-height: 66px; gap: 10px; }
    .logo > span:last-child { font-size: 1.3rem; }
    .logo-mark { width: 42px; height: 42px; }
    .hatch-btn { margin-left: auto; padding: 8px 12px; }
    .actions .btn { width: 100%; }
    .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .week--full { grid-template-columns: minmax(0, 1fr); }
    .hire, .cta-inner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
    .builder { grid-template-columns: minmax(0, 1fr); }
    .item { grid-template-columns: 56px minmax(0, 1fr); }
    .item-food { width: 56px; }
    .item-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .line { grid-template-columns: 40px minmax(0, 1fr); }
    .line .qty { grid-column: 1 / -1; justify-content: flex-end; }
    .line--own { grid-template-columns: minmax(0, 1fr); }
    .line-food .food { width: 38px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
    .week { grid-template-columns: minmax(0, 1fr); }
}
