/* =====================================================
   Ням-Ням · Гаряча випічка — стилі сайту
   Темно-синій фон, теплий золотий акцент. Спочатку телефон.
   ===================================================== */

/* ---------- Шрифти (лежать у папці assets/fonts) ---------- */
@font-face{font-family:"Playfair Display";font-weight:800;font-display:swap;src:url(/assets/fonts/playfair-display-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+2116}
@font-face{font-family:"Playfair Display";font-weight:800;font-display:swap;src:url(/assets/fonts/playfair-display-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20B4}
@font-face{font-family:"Playfair Display";font-weight:800;font-style:italic;font-display:swap;src:url(/assets/fonts/playfair-display-cyrillic-800-italic.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+2116}
@font-face{font-family:"Playfair Display";font-weight:800;font-style:italic;font-display:swap;src:url(/assets/fonts/playfair-display-latin-800-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:Manrope;font-weight:400;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+2116}
@font-face{font-family:Manrope;font-weight:400;font-display:swap;src:url(/assets/fonts/manrope-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20B4}
@font-face{font-family:Manrope;font-weight:600;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+2116}
@font-face{font-family:Manrope;font-weight:600;font-display:swap;src:url(/assets/fonts/manrope-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20B4}
@font-face{font-family:Manrope;font-weight:800;font-display:swap;src:url(/assets/fonts/manrope-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0400-045F,U+0490-0491,U+2116}
@font-face{font-family:Manrope;font-weight:800;font-display:swap;src:url(/assets/fonts/manrope-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20B4}

:root{
  --bg:#0a1428;          /* глибокий темно-синій */
  --bg-2:#0d1a33;
  --surface:#122242;     /* картки */
  --surface-2:#182c52;
  --line:rgba(240,222,186,.16);
  --line-2:rgba(240,222,186,.28);
  --text:#f6f0e4;        /* основний текст */
  --text-2:#d6cebf;      /* другорядний (контраст > 9:1) */
  --gold:#e3b765;        /* акцент */
  --gold-2:#f1d08f;
  --gold-ink:#0a1428;    /* текст на золотому */
  --ok:#7fd3a2; --bad:#ff9d8a;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:18px; --r-sm:12px;
  --gut:16px;
  --tab:72px;            /* місце під капсулою внизу (висота 60 + відступ 12) */
  --ease:cubic-bezier(.2,.8,.2,1);
  --shadow:0 18px 50px -20px rgba(0,0,0,.6);
}
@media (min-width:768px){:root{--gut:32px}}
@media (min-width:1200px){:root{--gut:48px}}

*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{background:var(--bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}
body{background:var(--bg);color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.6;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;padding-bottom:calc(var(--tab) + 20px + env(safe-area-inset-bottom))}
@media (min-width:1024px){body{padding-bottom:0}}
img,svg,picture{display:block;max-width:100%}
img{height:auto} /* пропорції фото не ламаються, навіть якщо в розмітці задано width і height */
a{color:inherit}
button,input{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0}
h1,h2,h3{font-family:var(--serif);font-weight:800;line-height:1.08;letter-spacing:-.01em}
em{font-style:italic;color:var(--gold)}
small{font-size:.88em}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--gold-2);outline-offset:3px;border-radius:6px}

.wrap{width:100%;max-width:1240px;margin-inline:auto;padding-inline:var(--gut)}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--gold);color:var(--gold-ink);padding:10px 16px;border-radius:10px;font-weight:800;text-decoration:none}
.skip:focus{top:12px}
.eyebrow{font-family:var(--sans);font-weight:800;font-size:16px;letter-spacing:.04em;color:var(--gold);display:flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:28px;height:2px;background:currentColor;border-radius:2px}
.link{color:var(--gold-2);font-weight:600;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 4px}
.err{color:var(--bad);font-weight:600;font-size:16px;min-height:0}
.err:empty{display:none}
.err:not(:empty){margin-top:8px}

/* ---------- Кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;
  font-family:var(--sans);font-weight:800;font-size:16px;letter-spacing:.01em;text-decoration:none;white-space:nowrap;
  transition:transform .2s var(--ease),background .2s,box-shadow .2s,color .2s;-webkit-tap-highlight-color:transparent}
.btn:active{transform:scale(.97)}
.btn--lg{min-height:56px;padding:0 28px;font-size:17px}
.btn--wide{width:100%}
.btn--gold{background:var(--gold);color:var(--gold-ink);box-shadow:0 10px 30px -12px rgba(227,183,101,.6)}
.btn--gold:hover{background:var(--gold-2)}
.btn--gold:disabled{background:#3a4a6a;color:#c5ccd9;box-shadow:none;cursor:not-allowed}
.btn--line{border:2px solid var(--line-2);color:var(--text)}
.btn--line:hover{border-color:var(--gold);color:var(--gold-2)}

/* ---------- Вступ ---------- */
.intro{position:fixed;inset:0;z-index:150;background:var(--bg);display:grid;place-items:center;transition:opacity .45s var(--ease),visibility .45s}
.no-intro .intro,.intro.is-done{opacity:0;visibility:hidden;pointer-events:none}
.intro__inner{text-align:center}
.intro__word{font-family:var(--serif);font-weight:800;font-size:clamp(56px,16vw,140px);line-height:1;color:var(--text);letter-spacing:-.01em}
.intro__word .ch{display:inline-block;opacity:0;transform:translateY(.35em);animation:ch .5s var(--ease) forwards}
.intro__tag{margin-top:14px;font-weight:800;font-size:15px;letter-spacing:.3em;text-transform:uppercase;color:var(--gold);opacity:0;animation:fade .5s .75s var(--ease) forwards}
.intro__skip{position:absolute;right:16px;bottom:calc(20px + env(safe-area-inset-bottom));min-height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--line-2);font-weight:600;font-size:16px;color:var(--text)}
@keyframes ch{to{opacity:1;transform:none}}
@keyframes fade{to{opacity:1}}

/* ---------- Верхня панель ---------- */
.top{position:sticky;top:0;z-index:60;background:rgba(10,20,40,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.top__in{max-width:1240px;margin:auto;display:flex;align-items:center;gap:16px;min-height:64px;padding:8px var(--gut)}
.logo{display:flex;flex-direction:column;text-decoration:none;line-height:1}
.logo__word{font-family:var(--serif);font-weight:800;font-size:26px;color:var(--text);letter-spacing:-.01em}
.logo__tag{margin-top:4px;font-weight:800;font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
.top__nav{display:none;gap:28px;margin-left:auto}
.top__nav a{text-decoration:none;font-weight:600;font-size:16px;color:var(--text-2);padding:10px 0;border-bottom:2px solid transparent}
.top__nav a:hover{color:var(--text);border-color:var(--gold)}
.top__call{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;justify-content:center;border-radius:999px;border:2px solid var(--line-2);padding:0 12px;text-decoration:none;font-weight:800}
.top__call svg{width:20px;height:20px;fill:var(--gold)}
.top__call span{display:none}
.top__order{display:none}
@media (min-width:1024px){
  .top__nav{display:flex}
  .top__call{margin-left:12px;border:0;padding:0 6px}
  .top__call span{display:inline}
  .top__order{display:inline-flex}
}

/* ---------- Перший екран ---------- */
/* ---------- Перший екран: головне фото ----------
   Фото ЗАВЖДИ у своїх пропорціях: ширина 100 %, висота — авто (жодного розтягування й object-fit).
   Телефон (до 599 px): зверху напис, нижче — вертикальна вирізка з пиріжком цілим.
   Планшет (600–899 px): зверху напис, нижче — увесь кадр.
   ПК (від 900 px): увесь кадр на всю ширину як тло, пиріжок праворуч, напис ліворуч на темній частині;
   м’які градієнти по краях — щоб не було видно шва з тлом сайту. Опис і факти — під фото. */
.hero{position:relative;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}
.hero__bg{order:2;position:relative;display:block;margin-top:-48px;z-index:0}
.hero__bg img{display:block;width:100%;height:auto}
.hero__bg::before,.hero__bg::after{content:"";position:absolute;left:0;right:0;z-index:1;pointer-events:none}
.hero__bg::before{top:0;height:30%;background:linear-gradient(180deg,var(--bg),rgba(10,20,40,0))}
.hero__bg::after{bottom:0;height:16%;background:linear-gradient(0deg,var(--bg),rgba(10,20,40,0))}
.hero__text{order:1;position:relative;z-index:2;padding:22px var(--gut) 0}
.hero__brand{display:flex;flex-direction:column}
.hero__word{font-family:var(--serif);font-weight:800;font-size:clamp(44px,13vw,64px);line-height:1;color:var(--text);letter-spacing:-.01em}
.hero__tag{margin-top:8px;font-weight:800;font-size:14px;letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
.hero .eyebrow{margin-top:18px}
.hero__title{font-size:clamp(34px,9.6vw,64px);margin:8px 0 0}
.hero__title em{display:inline-block}
.hero__cta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.hero__more{order:3;position:relative;z-index:2;padding:4px var(--gut) 36px}
.hero__lead{font-size:18px;color:var(--text-2);max-width:34em}
.facts{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px;border-top:1px solid var(--line);padding-top:20px;max-width:640px}
.facts li{display:flex;flex-direction:column;gap:2px}
.facts b{font-family:var(--serif);font-weight:800;font-size:22px;color:var(--gold-2);line-height:1.2;white-space:nowrap}
.facts span{font-size:15px;color:var(--text-2)}
.has-point .if-point[hidden]{display:inline!important} /* точку обрано — «До меню» (у розмітці схований) */
.has-point .if-nopoint{display:none}
@media (min-width:900px){
  .hero{display:block}
  .hero__bg{margin:0}
  /* під написом ліворуч — легке затемнення; пиріжок праворуч не зачіпає */
  .hero__bg::before{top:0;bottom:0;right:auto;width:56%;height:auto;background:linear-gradient(90deg,rgba(9,14,26,.6) 0,rgba(9,14,26,.35) 60%,rgba(9,14,26,0) 100%)}
  .hero__bg::after{height:22%}
  .hero__text{position:absolute;z-index:2;top:0;bottom:0;left:max(0px,calc((100vw - 1240px) / 2));display:flex;flex-direction:column;justify-content:center;
    width:min(540px,calc(44.6vw - max(0px,(100vw - 1240px) / 2) - var(--gut) - 32px));padding:0 0 4% var(--gut);box-sizing:content-box}
  .hero__word{font-size:clamp(48px,5.2vw,84px)}
  .hero__tag{font-size:clamp(12px,1.05vw,14px)}
  .hero__title{font-size:clamp(30px,3.4vw,56px);margin-top:10px}
  .hero__cta{display:flex}
  .hero__more{max-width:1240px;margin:0 auto;padding:8px var(--gut) 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,640px);gap:32px;align-items:end}
  .hero__more .hero__lead{font-size:19px}
  .hero__more .facts{margin-top:0;border-top:0;padding-top:0}
}
.heat{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen}
.heat i{position:absolute;bottom:20%;width:36%;height:60%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,150,.22),rgba(255,214,150,0));filter:blur(6px);opacity:0;animation:rise 6s linear infinite}
.heat i:nth-child(1){left:8%}
.heat i:nth-child(2){left:36%;animation-delay:2s}
.heat i:nth-child(3){left:62%;animation-delay:4s}
@keyframes rise{0%{transform:translateY(30%) scaleX(.8);opacity:0}25%{opacity:1}100%{transform:translateY(-55%) scaleX(1.15);opacity:0}}

/* ---------- Заголовки розділів ---------- */
section.wrap{padding-top:64px;padding-bottom:24px}
@media (min-width:1024px){section.wrap{padding-top:96px}}
.sec-head{margin-bottom:28px;max-width:720px}
.sec-head h2{font-size:clamp(36px,8vw,60px);margin-top:12px}
.sec-head__lead{margin-top:12px;color:var(--text-2);font-size:18px}

/* ---------- Спочатку точка ---------- */
html:not(.has-point) #menu{display:none}
.has-point:not(.choosing) #points{display:none}
.choosing #menu{display:none}
.here{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;background:linear-gradient(135deg,rgba(227,183,101,.16),rgba(227,183,101,.04));border:1px solid rgba(227,183,101,.45);border-radius:22px;padding:18px 20px;margin-bottom:36px}
.here__label{font-weight:800;font-size:15px;color:var(--gold)}
.here__name{font-family:var(--serif);font-weight:800;font-size:clamp(30px,7vw,44px);line-height:1.1}
.here__place{color:var(--text-2);font-weight:600}
.here .btn{flex:0 0 auto}
.points__back{margin-top:18px;text-align:center}
.pt.is-current{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold) inset}
.pt__current{font-weight:800;color:var(--gold);font-size:15px}
.pt h3{font-size:clamp(30px,7vw,36px)}
.pt__btns .btn--gold{grid-column:1/-1}
.sheet-point{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);border:1px solid rgba(227,183,101,.45);border-radius:16px;padding:12px 14px;margin-bottom:14px}
.sheet-point b{display:block;font-family:var(--serif);font-size:22px}
.sheet-point small{color:var(--text-2);font-size:15px}
.dlg h2{font-size:26px;margin-bottom:10px}
.dlg p{font-size:18px}
.dlg__foot{flex-direction:column;align-items:stretch}
.dlg__foot .btn{white-space:normal;text-align:center;line-height:1.2}

/* ---------- (старе) Вибір точки над меню ---------- */
.pointbar{margin-bottom:18px}
.pointbar__label{font-weight:800;font-size:16px;color:var(--text);margin-bottom:10px}
.pointbar .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(var(--gut) * -1);padding:0 var(--gut) 4px;scrollbar-width:none}
.pointbar .chips::-webkit-scrollbar{display:none}
.pointbar .chip{flex:0 0 auto}
.items__msg{color:var(--text-2);padding:12px 0}
.item__meta span{display:block}
.cart__list li.is-missing .n,.cart__list li.is-missing .q{color:var(--bad)}
.warn{background:rgba(255,157,138,.1);border:1px solid rgba(255,157,138,.5);border-radius:14px;padding:12px 14px;margin-bottom:12px;display:grid;gap:10px}
.warn p{color:var(--text);font-size:16px}
.warn .btn{justify-self:start;min-height:44px}

/* ---------- Розділи меню: 4 кружки, закріплені під шапкою ---------- */
.stories{position:sticky;top:var(--top-h,64px);z-index:50;display:flex;justify-content:space-between;gap:6px;overflow-x:auto;margin:0 calc(var(--gut) * -1) 20px;padding:10px var(--gut) 8px;
  background:rgba(10,20,40,.94);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line);scrollbar-width:none}
.stories::-webkit-scrollbar{display:none}
.story{flex:0 0 94px;width:94px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;text-decoration:none;border-radius:14px;padding:2px 0;scroll-snap-align:start}
.story__ring{flex:0 0 auto;width:58px;height:58px;border-radius:50%;padding:3px;background:var(--line-2);transition:background .3s}
.story__img{width:100%;height:100%;border-radius:50%;overflow:hidden;border:3px solid var(--bg);background:var(--surface);display:grid;place-items:center;color:var(--gold)}
.story__img img{width:100%;height:100%;object-fit:cover}
.story__img .art{width:86%}
/* підпис — завжди дві «місця» по висоті, по центру: довга назва переноситься, кружок не зсувається */
.story__t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-height:2.4em;font-weight:600;font-size:13px;line-height:1.2;text-align:center;color:var(--text-2)}
.story[aria-current] .story__ring{background:conic-gradient(from 210deg,var(--gold-2),var(--gold),#b98536,var(--gold-2))}
.story[aria-current] .story__t{color:var(--text);font-weight:800}
.story:focus-visible{outline:3px solid var(--gold-2);outline-offset:2px}
.stories{justify-content:flex-start;gap:8px;scroll-snap-type:x proximity;scroll-padding:0 var(--gut)}
.stories::after{content:"";flex:0 0 calc(var(--gut) - 8px)} /* останній кружок не обрізається при прокрутці */
@media (min-width:440px){.stories{justify-content:space-between}.stories::after{display:none}}
@media (min-width:640px){
  .stories{justify-content:flex-start;gap:20px}
  .story{flex-basis:112px;width:112px}
  .story__ring{width:66px;height:66px}
  .story__t{font-size:15px}
}
/* ПК: смуга кружків — лише над колонкою товарів, кошик праворуч не перекриває */
@media (min-width:1024px){.stories{margin-right:400px}}

/* ---------- Розділи й підгрупи ---------- */
.msec + .msec{margin-top:36px}
.msec__title{font-family:var(--serif);font-weight:800;font-size:30px;line-height:1.15;color:var(--text);margin-bottom:6px}
.msub{margin-top:16px}
.msub__title{font-family:var(--sans);font-weight:800;font-size:20px;color:var(--gold-2);margin-bottom:12px;display:flex;align-items:center;gap:12px}
.msub__title::after{content:"";flex:1;height:1px;background:var(--line)}
@media (min-width:640px){.msec__title{font-size:36px}.msub__title{font-size:22px}}

/* ---------- Товари ---------- */
.menu__grid{display:grid;gap:28px}
@media (min-width:1024px){.menu__grid{grid-template-columns:1fr 360px;align-items:start;gap:40px}}
.items{min-width:0}
.items__grid{display:grid;gap:12px}
@media (min-width:640px){.items__grid{grid-template-columns:1fr 1fr;gap:16px}}
.item{display:grid;grid-template-columns:112px 1fr;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:10px;transition:border-color .3s,transform .3s var(--ease)}
.item.item--text{grid-template-columns:1fr;padding:14px 14px 12px 16px}
.item--text .item__body{padding:0}
.item--text .item__row{padding-top:12px}
.item.in-cart{border-color:rgba(227,183,101,.55)}
.item__media{position:relative;border-radius:var(--r-sm);overflow:hidden;aspect-ratio:1;background:linear-gradient(160deg,var(--surface-2),var(--bg-2));display:grid;place-items:center;color:var(--gold)}
.item__media img{width:100%;height:100%;object-fit:cover}
.item__media .art{width:82%}
.item__badge{position:absolute;left:6px;top:6px;background:var(--gold);color:var(--gold-ink);font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
.item__body{display:flex;flex-direction:column;min-width:0;padding:2px 4px 2px 0}
.item__name{font-family:var(--sans);font-weight:800;font-size:17px;line-height:1.3;letter-spacing:0}
.item__note{color:var(--text-2);font-size:16px;line-height:1.4;margin-top:2px}
.item__meta{color:var(--text-2);font-size:15px;margin-top:4px}
.item__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}
.item__price{font-family:var(--serif);font-weight:800;font-size:24px;color:var(--gold-2);white-space:nowrap}
.item__ask{font-size:15px;color:var(--text-2);font-weight:600}
@media (min-width:640px){
  .item{grid-template-columns:120px 1fr}
  .item__name{font-size:18px}
}
.add{min-height:44px;padding:0 18px;border-radius:999px;background:var(--gold);color:var(--gold-ink);font-weight:800;font-size:16px;transition:transform .2s var(--ease),background .2s}
.add:hover{background:var(--gold-2)}
.add:active{transform:scale(.95)}
.qty{display:flex;align-items:center;background:var(--bg);border:1px solid var(--line-2);border-radius:999px}
.qty button{width:44px;height:44px;border-radius:50%;font-size:22px;font-weight:800;color:var(--gold-2);display:grid;place-items:center}
.qty button:hover{background:rgba(227,183,101,.12)}
.qty output{min-width:28px;text-align:center;font-weight:800;font-size:17px}

/* ---------- Кошик ---------- */
.cart{display:none;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;position:sticky;top:calc(var(--top-h,64px) + var(--bar-h,0px) + 16px)}
@media (min-width:1024px){.cart{display:block}}
/* Прийом замовлень вимкнено: замість кошика — коротке пояснення (ПК) */
.cart__closed{display:none}
.orders-closed .cart>*{display:none}
.orders-closed .cart>.cart__closed{display:block}
.cart__closed h3{font-size:22px;margin-bottom:8px;color:var(--gold)}
.cart__closed p{color:var(--text-2,#c9c2b4);font-size:15px;line-height:1.5}
.cart__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cart__head h3{font-size:24px}
.cart__head{gap:12px}
.cart__list{list-style:none;display:grid;gap:10px;margin-bottom:12px}
.cart__list li{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.cart__list .n{font-weight:600;line-height:1.35}
.cart__list .s{font-weight:800;white-space:nowrap}
.cart__list .q{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;color:var(--text-2);font-size:15px}
.cart__empty{color:var(--text-2);padding:8px 0 16px}
.cart__total{display:flex;justify-content:space-between;align-items:baseline;margin:8px 0 18px;font-weight:600}
.cart__total small{color:var(--text-2);margin-left:6px}
.cart__total b{font-family:var(--serif);font-size:32px;color:var(--gold-2)}
.cart__note{text-align:center;margin-top:12px;font-size:15px;color:var(--text-2)}

/* ---------- Точки ---------- */
.points__grid{display:grid;gap:14px}
@media (min-width:768px){.points__grid{grid-template-columns:1fr 1fr;gap:18px}}
@media (min-width:1200px){.points__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pt{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:6px}
.pt__n{font-family:var(--serif);font-weight:800;font-size:18px;color:var(--gold)}
.pt h3{font-size:28px}
.pt__place{color:var(--text-2);font-weight:600}
.pt dl{display:grid;gap:2px;margin-top:8px}
.pt dt{font-size:15px;font-weight:800;color:var(--gold);margin-top:8px}
.pt dd{font-weight:600}
.pt__btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-top:18px}
.pt__btns .btn{padding:0 12px;min-height:48px}

/* ---------- Відгуки ---------- */
.reviews__grid{display:grid;gap:14px}
@media (min-width:768px){.reviews__grid{grid-template-columns:repeat(2,1fr)}}
.rev{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:22px}
.rev blockquote{font-family:var(--serif);font-size:21px;line-height:1.4}
.rev figcaption{margin-top:14px;color:var(--text-2);font-weight:600}

/* ---------- Статус ---------- */
.status__form{display:grid;gap:14px;max-width:720px}
@media (min-width:768px){.status__form{grid-template-columns:1fr 1fr auto;align-items:end}}
#statusRes{max-width:720px;margin-top:20px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card h3{font-size:24px;margin-bottom:6px}
.card p{color:var(--text-2)}

/* трекер статусу */
.track{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:18px 0 10px;counter-reset:t}
.track li{position:relative;padding-top:30px;text-align:center;font-weight:600;font-size:15px;color:var(--text-2)}
.track li::before{content:"";position:absolute;top:6px;left:50%;width:18px;height:18px;margin-left:-9px;border-radius:50%;border:2px solid var(--line-2);background:var(--bg);z-index:1;transition:background .4s,border-color .4s}
.track li::after{content:"";position:absolute;top:14px;left:-50%;width:100%;height:2px;background:var(--line-2)}
.track li:first-child::after{display:none}
.track li.on{color:var(--text)}
.track li.on::before{background:var(--gold);border-color:var(--gold)}
.track li.on::after{background:var(--gold)}
.track li.now{font-weight:800;color:var(--gold-2)}
.track li.now::before{box-shadow:0 0 0 6px rgba(227,183,101,.2)}
.cancelled{color:var(--bad);font-weight:800}

/* ---------- Поля форми ---------- */
.field{display:grid;gap:6px}
.field__label{font-weight:600;font-size:16px;color:var(--text)}
.field__label small{color:var(--text-2);font-weight:400}
.field input{min-height:54px;padding:0 16px;border-radius:14px;background:var(--bg);border:2px solid var(--line-2);font-size:17px;color:var(--text);transition:border-color .2s}
.field input::placeholder{color:#9aa3b5}
.field input:focus{outline:none;border-color:var(--gold)}
.field input[aria-invalid="true"]{border-color:var(--bad)}
.check{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;margin-top:18px;font-size:16px;color:var(--text-2);cursor:pointer}
.check input{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:1px;border-radius:8px;border:2px solid var(--line-2);background:var(--bg);display:grid;place-items:center;cursor:pointer}
.check input:checked{background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230a1428' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;border-color:var(--gold)}
.check input[aria-invalid="true"]{border-color:var(--bad)}
.check a{color:var(--gold-2);font-weight:600}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Підвал ---------- */
.foot{margin-top:72px;border-top:1px solid var(--line);background:var(--bg-2)}
.foot__in{display:grid;gap:28px;padding-top:44px;padding-bottom:28px}
@media (min-width:768px){.foot__in{grid-template-columns:1.4fr 1fr 1fr}}
.foot__brand p{margin-top:12px;color:var(--text-2);max-width:26em}
.logo--foot .logo__word{font-size:34px}
.foot__h{font-family:var(--sans);font-size:16px;font-weight:800;color:var(--gold);margin-bottom:10px}
.foot__phone{display:inline-flex;align-items:center;min-height:44px;font-family:var(--serif);font-weight:800;font-size:26px;text-decoration:none}
.foot__col p{color:var(--text-2);font-size:16px}
.foot__points{list-style:none;display:grid;gap:6px;color:var(--text-2)}
.foot__points b{color:var(--text);font-weight:600}
.foot__bottom{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding-top:18px;padding-bottom:28px;border-top:1px solid var(--line);color:var(--text-2);font-size:15px}
.foot__bottom a{color:var(--text-2);min-height:44px;display:inline-flex;align-items:center}
.foot__chef{width:44px;height:32px;color:var(--gold)}
.foot__chef svg{width:100%;height:100%}

/* ---------- Нижня навігація (телефон) ---------- */
/* ---------- Нижня панель на телефоні — «плаваюча капсула» ----------
   4 пункти: Меню, Точки, Кошик, Мої замовлення. Активний — золота «таблетка» зі значком і підписом,
   решта — лише значки. Капсула «парить» над низом екрана з урахуванням безпечної зони iPhone/Android. */
.tabbar{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:70;display:flex;align-items:center;justify-content:space-between;gap:4px;
  height:60px;padding:6px;border-radius:999px;background:rgba(20,36,68,.94);border:1px solid rgba(240,222,186,.18);
  box-shadow:0 8px 24px -14px rgba(0,0,0,.55);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3)}
@media (min-width:1024px){.tabbar{display:none}}
.no-phone .hero__cta{grid-template-columns:1fr}
.tabbar__i{position:relative;flex:1 1 0;min-width:44px;height:48px;display:flex;align-items:center;justify-content:center;gap:0;padding:0 8px;border-radius:999px;
  text-decoration:none;color:var(--text-2);font-weight:800;font-size:14px;white-space:nowrap;transition:flex-grow .3s var(--ease),background .3s var(--ease),color .3s;-webkit-tap-highlight-color:transparent}
.tabbar__i svg{flex:0 0 auto;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tabbar__t{max-width:0;overflow:hidden;opacity:0;transition:max-width .3s var(--ease),opacity .2s,margin .3s var(--ease)}
.tabbar__i[aria-current]{flex-grow:3;background:var(--gold);color:var(--gold-ink)}
.tabbar__i[aria-current] .tabbar__t{flex-shrink:0;max-width:150px;opacity:1;margin-left:7px}
.tabbar__i:active{transform:scale(.96)}
.tabbar__i:focus-visible{outline:3px solid var(--gold-2);outline-offset:2px}
.tabbar__i.is-bump{animation:bump .45s var(--ease)}
.tabbar__badge{position:absolute;top:2px;right:calc(50% - 22px);min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gold);color:var(--gold-ink);
  font-size:12px;font-weight:800;line-height:20px;text-align:center;border:2px solid #142444}
.tabbar__i[aria-current] .tabbar__badge{position:static;margin-left:6px;border-color:transparent;background:var(--gold-ink);color:var(--gold)}
@media (prefers-reduced-motion:reduce){.tabbar__i,.tabbar__t{transition:none}}
@keyframes bump{40%{transform:scale(1.1)}}

/* повідомлення «Додано» */
.toast{position:fixed;left:50%;bottom:calc(var(--tab) + 14px + env(safe-area-inset-bottom));z-index:80;transform:translate(-50%,20px);opacity:0;pointer-events:none;
  background:var(--text);color:var(--bg);font-weight:600;font-size:15px;line-height:1.35;padding:9px 16px;border-radius:12px;box-shadow:var(--shadow);transition:opacity .25s,transform .35s var(--ease);
  width:max-content;max-width:min(340px,calc(100% - 48px));text-align:center}
.toast.on{opacity:1;transform:translate(-50%,0)}
@media (min-width:1024px){.toast{bottom:28px}}

/* ---------- Оформлення (нижній лист / вікно) ---------- */
.sheet{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center}
.sheet__bg{position:absolute;inset:0;background:rgba(4,9,20,.72);animation:fade .3s forwards;opacity:0}
.sheet__card{position:relative;width:100%;max-width:560px;max-height:94dvh;display:flex;flex-direction:column;background:var(--bg-2);border:1px solid var(--line);border-radius:26px 26px 0 0;
  box-shadow:var(--shadow);animation:up .4s var(--ease)}
@media (min-width:768px){.sheet{align-items:center}.sheet__card{border-radius:26px;max-height:88vh}}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.sheet__head{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:8px;padding:14px 12px 10px}
.sheet__titles{text-align:center}
.sheet__step{font-weight:800;font-size:15px;color:var(--gold)}
.sheet__head h2{font-size:24px;margin-top:2px}
.sheet__back,.sheet__x{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line-2)}
.sheet__back svg,.sheet__x svg{width:22px;height:22px;fill:none;stroke:var(--text);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sheet__back.off{visibility:hidden}
.sheet__progress{height:3px;background:var(--line);margin:0 20px}
.sheet__progress i{display:block;height:100%;width:0;background:var(--gold);transition:width .4s var(--ease)}
.sheet__body{overflow-y:auto;padding:20px 20px 8px;flex:1;overscroll-behavior:contain}
.sheet__foot{display:flex;align-items:center;gap:12px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.sheet__foot .btn{flex:1}
.sheet__total{font-weight:600;color:var(--text-2);line-height:1.25;white-space:nowrap}
.sheet__total b{display:block;font-family:var(--serif);font-size:24px;color:var(--gold-2)}
.sheet__total:empty{display:none}
body.sheet-open{overflow:hidden}
.step{display:none}
.step.on{display:block;animation:stepIn .35s var(--ease)}
@keyframes stepIn{from{opacity:0;transform:translateX(14px)}}
.step__lead{color:var(--text-2);margin-bottom:14px}
.step .field{margin-top:14px}
.step .field:first-child{margin-top:0}

.choice{display:grid;gap:10px}
.opt{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;width:100%;min-height:64px;padding:14px 16px;border-radius:16px;border:2px solid var(--line-2);background:var(--surface);transition:border-color .2s,background .2s}
.opt b{font-weight:800;font-size:18px}
.opt small{color:var(--text-2);font-size:15px}
.opt[aria-checked="true"]{border-color:var(--gold);background:rgba(227,183,101,.1)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.chip{min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--line-2);font-weight:600;font-size:16px;background:var(--surface)}
.chip[aria-checked="true"]{border-color:var(--gold);background:var(--gold);color:var(--gold-ink);font-weight:800}
.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media (min-width:480px){.slots{grid-template-columns:repeat(5,1fr)}}
.slots .chip{padding:0}
.slots .none{grid-column:1/-1;color:var(--text-2)}
.slots .chip--busy{border-style:dashed;color:var(--text-2);background:transparent;cursor:not-allowed;opacity:.75}
.slots .chip--busy s{text-decoration-thickness:2px}
.slots__tip{grid-column:1/-1;display:grid;gap:8px;margin-top:4px}
.slots__note{margin:0;color:var(--text-2);font-size:15px}
.slots__msg{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-weight:600}
.slots .chip--sm{min-height:44px;padding:0 16px}

.confirm{display:grid;gap:12px;margin-bottom:16px}
.confirm section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px}
.confirm header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.confirm header span{font-weight:800;font-size:16px;color:var(--gold)}
.confirm header .link{min-height:40px}
.confirm ul{list-style:none;display:grid;gap:4px}
.confirm li{display:flex;justify-content:space-between;gap:12px}
.confirm .sum{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);margin-top:10px;padding-top:10px;font-weight:800}
.confirm .sum b{font-family:var(--serif);font-size:24px;color:var(--gold-2)}

.step--done{text-align:center;padding-top:6px}
.done__label{font-weight:800;font-size:16px;color:var(--gold)}
.done__no{font-family:var(--serif);font-weight:800;font-size:64px;line-height:1.05;margin:6px 0 8px}
.done__text{font-size:19px;font-weight:600}
.done__sum{text-align:left;margin-top:14px}
.done__link{margin-top:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px}
.done__hint{margin-top:14px;color:var(--text-2);font-size:16px}

/* ---------- Поява під час прокрутки ---------- */
.js .rv{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js .rv.in{opacity:1;transform:none}

/* ---------- Шеф Ням (живий кухарчук із прототипу) ---------- */
.cart__list li.cart__none{display:block;border:0;color:var(--text-2);text-align:center;padding:12px 0}
.chef-live{display:flex;align-items:flex-start;gap:6px;animation:shefIn .6s ease-out both}
.chef-live__fig{position:relative;flex:0 0 auto;width:118px}
.chef-live__fig::before{content:"";position:absolute;inset:6% -14% 0;background:radial-gradient(closest-side,rgba(241,190,110,.26),rgba(241,190,110,0))}
.chef{position:relative;display:block;width:100%;height:auto;overflow:visible;transform-origin:50% 100%;animation:chefBreath 4.6s ease-in-out infinite}
.chef__head{transform-box:fill-box;transform-origin:50% 90%;transition:transform .5s var(--ease)}
.chef__eyes{transform-box:fill-box;transform-origin:center;transition:transform .08s}
.chef.is-blink .chef__eyes{transform:scaleY(.08)}
.chef__wink{opacity:0}
.chef__pupil{transition:transform .25s ease-out}
.chef__hat{transform-box:fill-box;transform-origin:50% 100%;animation:chefHat 4s ease-in-out infinite}
.chef__steam path{animation:chefSteam 2.4s ease-in-out infinite;opacity:0}
.chef__steam path:nth-child(2){animation-delay:.6s}.chef__steam path:nth-child(3){animation-delay:1.2s}
@keyframes chefBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.015,1.02)}}
@keyframes chefHat{50%{transform:rotate(-2.5deg) translateY(-2px)}}
@keyframes chefSteam{0%{opacity:0;transform:translateY(4px)}40%{opacity:.7}100%{opacity:0;transform:translateY(-8px)}}
@keyframes shefIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* натискання: стрибок (із прототипу: .is-hop, 0,6 с) і пиріжки з таці (як .flypie у прототипі) */
.chef-live__btn{display:block;width:118px;padding:0;margin:0;border:0;background:none;color:inherit;cursor:pointer;border-radius:16px;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.chef-live__btn:focus-visible{outline:3px solid var(--gold-2);outline-offset:4px}
.chef-live__jump{position:relative;z-index:1;display:block;transform-origin:50% 100%}
.chef-live__fig.is-hop .chef-live__jump{animation:chefHop .6s cubic-bezier(.2,.8,.2,1)}
.chef.is-wink .chef__eye:last-child{opacity:0}
.chef.is-wink .chef__wink{opacity:1}
@keyframes chefHop{0%{transform:none}28%{transform:translateY(-16%) scale(.98,1.03)}55%{transform:translateY(0) scale(1.04,.96)}75%{transform:translateY(-3%)}100%{transform:none}}
.chef-pie{position:absolute;z-index:2;width:17%;aspect-ratio:34/20;margin:-5% 0 0 -8.5%;border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse at 40% 30%,#ffd07a,#d98a2e 60%,#8a4512);box-shadow:inset 0 -3px 0 rgba(0,0,0,.15);
  opacity:0;animation:chefPieToss 1.25s cubic-bezier(.3,.7,.4,1) forwards}
@keyframes chefPieToss{0%{transform:translate(0,0) rotate(0) scale(.85);opacity:0}8%{opacity:1}
  45%{transform:translate(var(--dx),var(--up)) rotate(calc(var(--rot) * .5)) scale(1)}
  88%{transform:translate(0,0) rotate(var(--rot)) scale(.95);opacity:1}100%{transform:translate(0,0) rotate(var(--rot)) scale(.9);opacity:0}}
/* хмаринка з реплікою (як у прототипі) */
.bubble{position:relative;align-self:flex-start;margin-top:6px;background:var(--text);color:var(--bg);border-radius:16px;padding:10px 14px 12px;max-width:210px;
  box-shadow:0 14px 30px rgba(0,0,0,.35);opacity:0;transform:translateY(8px) scale(.94);transform-origin:left bottom;transition:opacity .3s,transform .45s var(--ease);pointer-events:none;text-align:left}
.bubble.is-in{opacity:1;transform:none}
.bubble::after{content:"";position:absolute;left:-6px;top:22px;width:14px;height:14px;background:inherit;transform:rotate(45deg);border-radius:3px}
.bubble__name{display:block;color:#b52e17;font-weight:800;font-size:13px;letter-spacing:.04em;margin-bottom:2px}
.bubble__t{display:block;font-family:var(--serif);font-style:italic;font-weight:800;font-size:18px;line-height:1.25}
.shef-box{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.shef-box .chef-live{align-self:stretch;justify-content:center}
.stage{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:10px 0 6px}
.stage--chef .chef-slot{flex:1 1 100%}
.stage__icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(227,183,101,.15);border:1px solid rgba(227,183,101,.5);margin-bottom:6px}
.stage__icon svg{width:22px;height:22px;fill:none;stroke:var(--gold-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stage__t{font-family:var(--serif);font-weight:800;font-size:clamp(22px,5.5vw,28px);line-height:1.15;color:var(--text)}
.stage__s{color:var(--text-2);font-size:16px;margin-top:2px}
.stage--ready .stage__t{color:var(--gold-2)}
.stage--cancelled .stage__t{color:var(--bad)}
.stage--cancelled .stage__icon{background:rgba(255,157,138,.12);border-color:rgba(255,157,138,.5)}
.stage--cancelled .stage__icon svg{stroke:var(--bad)}
.step--done .stage{justify-content:center;text-align:left}
.step--done .stage--chef .chef-live{justify-content:center}
.nf__chef{display:flex;justify-content:center;margin:0 auto 10px}
.nf__chef .chef-live__fig{width:150px}

@media (prefers-reduced-motion:reduce){
  .chef,.chef__hat,.chef__steam path,.chef-live,.chef-live__jump,.chef-pie{animation:none!important}
  .chef-pie{display:none}
  .chef__steam path{opacity:.4}
  .bubble{transition:none!important}
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .heat{display:none}
  .js .rv{opacity:1;transform:none}
}

/* =================== Зручності для покупця =================== */
/* ---------- Пошук по меню ---------- */
.msearch{position:relative;margin:0 0 16px;max-width:560px}
.msearch input{width:100%;min-height:54px;padding:0 52px 0 50px;border-radius:999px;background:var(--surface);border:2px solid var(--line-2);font-size:17px;color:var(--text);-webkit-appearance:none;appearance:none}
.msearch input::placeholder{color:#9aa3b5}
.msearch input:focus{outline:none;border-color:var(--gold)}
.msearch input::-webkit-search-cancel-button{display:none}
.msearch__i{position:absolute;left:18px;top:50%;width:22px;height:22px;transform:translateY(-50%);fill:none;stroke:var(--gold);stroke-width:2.2;stroke-linecap:round;pointer-events:none}
.msearch__x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--text-2)}
.msearch__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.msearch__x:hover{color:var(--text);background:rgba(240,222,186,.08)}
.searching .stories{display:none}
.msec__title--found{font-size:24px}
.item__sec{font-size:14px;font-weight:700;color:var(--gold);letter-spacing:.02em;margin-bottom:2px}
.nothing{display:grid;justify-items:start;gap:10px;padding:26px 22px;border:1px dashed var(--line-2);border-radius:var(--r);background:rgba(18,34,66,.5)}
.nothing__t{font-family:var(--serif);font-weight:800;font-size:22px;line-height:1.25;color:var(--text)}
.nothing__s{color:var(--text-2);font-size:16px}
.nothing .btn{margin-top:4px}

/* ---------- Улюблене: сердечко й смуга ---------- */
.item{position:relative}
.item .item__body{padding-right:40px}
.fav{position:absolute;top:6px;right:6px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--text-2);transition:color .2s,transform .2s var(--ease)}
.fav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.fav[aria-pressed="true"]{color:var(--gold)}
.fav[aria-pressed="true"] svg{fill:currentColor}
.fav:active{transform:scale(.88)}
.fav:focus-visible{outline:3px solid var(--gold-2);outline-offset:-2px}
.favs{margin-bottom:26px}
.favs[hidden]{display:none}
.favs__title{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:800;font-size:26px;color:var(--text);margin-bottom:12px}
.favs__title svg{width:22px;height:22px;fill:var(--gold);stroke:var(--gold);stroke-width:2}
.favs__row{display:flex;gap:12px;overflow-x:auto;margin:0 calc(var(--gut) * -1);padding:2px var(--gut) 8px;scroll-snap-type:x proximity;scrollbar-width:thin}
.item--mini{flex:0 0 240px;scroll-snap-align:start;grid-template-columns:1fr;padding:14px 14px 12px 16px}
.item--mini .item__body{padding:0 36px 0 0}
.item--mini .item__name{font-size:16px;min-height:42px}
.item--mini .item__row{padding-top:10px}
.item--mini .item__price{font-size:21px}
@media (min-width:1024px){.favs__row{margin:0;padding:2px 0 8px}}

/* ---------- Повідомлення (повтор замовлення) ---------- */
.note{background:rgba(227,183,101,.1);border:1px solid rgba(227,183,101,.45);border-radius:14px;padding:12px 14px;margin-bottom:12px;display:grid;gap:6px}
.note p{color:var(--text);font-size:16px;line-height:1.45}
.step__how{margin-top:14px}
.field__hint{font-size:15px;color:var(--text-2);margin:6px 0 0 40px;line-height:1.45}
.field__hint .link{min-height:0;padding:0;font-size:15px}

/* ---------- Як працює самовивіз ---------- */
.how{padding-top:56px;padding-bottom:8px}
.how__steps{list-style:none;display:grid;gap:14px;counter-reset:how}
.how__steps li{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px 20px 20px 78px;min-height:96px}
.how__n{position:absolute;left:18px;top:18px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-weight:800;font-size:22px;color:var(--gold-ink);background:linear-gradient(160deg,var(--gold-2),var(--gold))}
.how__steps h3{font-family:var(--sans);font-weight:800;font-size:19px;line-height:1.3;color:var(--text)}
.how__steps p{color:var(--text-2);font-size:16px;margin-top:4px;line-height:1.5}
@media (min-width:900px){.how__steps{grid-template-columns:repeat(3,1fr);gap:18px}.how__steps li{padding:76px 22px 22px}.how__n{left:22px;top:20px}}

/* ---------- Мої замовлення ---------- */
.orders{padding-top:56px}
.orders__empty{color:var(--text-2);font-size:17px;padding:20px 22px;border:1px dashed var(--line-2);border-radius:var(--r);max-width:720px}
.orders__list{list-style:none;display:grid;gap:14px}
@media (min-width:900px){.orders__list{grid-template-columns:1fr 1fr}}
.ocard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:18px 18px 16px;display:grid;gap:6px}
.ocard__top{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.ocard__no{font-family:var(--serif);font-weight:800;font-size:24px;color:var(--text)}
.ocard__pt{font-weight:700;color:var(--gold)}
.ocard__when{color:var(--text-2);font-size:15px}
.ocard__items{color:var(--text);font-size:16px;line-height:1.45}
.ocard__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:6px}
.ocard__sum{font-family:var(--serif);font-weight:800;font-size:22px;color:var(--gold-2);margin-right:auto}
.ocard .btn{min-height:48px}
.ocard .note{margin:6px 0 0}
.orders__foot{margin-top:14px}
.orders__foot .link{color:var(--text-2)}

/* ---------- Плашка «Додати на головний екран» (лише телефон) ---------- */
.ibar{position:fixed;left:10px;right:10px;bottom:calc(var(--tab) + 10px + env(safe-area-inset-bottom));z-index:65;display:grid;grid-template-columns:40px minmax(0,1fr) auto 40px;align-items:center;gap:8px;
  padding:8px 4px 8px 10px;border-radius:18px;background:rgba(24,44,82,.97);border:1px solid rgba(227,183,101,.45);box-shadow:var(--shadow);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);animation:ibarIn .45s var(--ease) both}
.ibar img{width:40px;height:40px;border-radius:10px}
.ibar__t{display:grid;line-height:1.25;min-width:0}
.ibar__t b{font-size:15px;line-height:1.2;color:var(--text)}
.ibar__t span{font-size:13px;color:var(--text-2)}
@media (max-width:419px){.ibar__t span{display:none}}
.ibar__go{min-height:44px;padding:0 14px;font-size:15px;white-space:nowrap}
.ibar__x{width:40px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--text-2)}
.ibar__x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
@keyframes ibarIn{from{opacity:0;transform:translateY(16px)}}
body.sheet-open .ibar{display:none}
.has-ibar body{padding-bottom:calc(var(--tab) + 84px + env(safe-area-inset-bottom))}
.has-ibar .toast{bottom:calc(var(--tab) + 88px + env(safe-area-inset-bottom))}
@media (min-width:1024px){.ibar{display:none}}
@media (prefers-reduced-motion:reduce){.ibar{animation:none}}
.ihint .sheet__body{display:grid;gap:14px}
.ihint__lead{font-size:18px;color:var(--text);font-weight:600}
.ihint__steps{list-style:none;display:grid;gap:12px}
.ihint__steps li{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:12px;font-size:16px;color:var(--text-2)}
.ihint__steps b{color:var(--text)}
.ihint__ic{width:52px;height:52px;border-radius:12px;display:grid;place-items:center;background:#f6f0e4;color:#2f7cf6}
.ihint__ic svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* =================== Шеф Ням: біля вибору точки й у кутку меню =================== */
.points__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:4px 24px;margin-bottom:28px}
.points__head .sec-head{margin-bottom:0;flex:1 1 420px}
.points__chef{flex:0 1 auto;min-height:0}
.points__chef[hidden]{display:none}
.points__chef .chef-live__fig,.points__chef .chef-live__btn{width:84px}
.points__chef .bubble{max-width:230px}
.points__chef .bubble__t{font-size:17px}
@media (min-width:768px){.points__chef .chef-live__fig,.points__chef .chef-live__btn{width:118px}.points__chef .bubble{max-width:250px}}

.chef-dock{position:fixed;z-index:60;right:6px;bottom:calc(var(--tab) + 8px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}
.chef-dock[hidden]{display:none}
.chef-dock > *{pointer-events:auto}
.chef-dock__live{position:relative;display:block}
.chef-dock .chef-live{display:block;animation:none}
.chef-dock .chef-live__fig,.chef-dock .chef-live__btn{width:58px}
.chef-dock .chef-live__fig::before{inset:10% -10% 0}
.chef-dock .bubble{position:absolute;right:calc(100% + 8px);bottom:38%;margin:0;width:max-content;max-width:min(230px,60vw);pointer-events:none;box-shadow:var(--shadow)}
.chef-dock .bubble::after{left:auto;right:-6px;top:auto;bottom:16px}
.chef-dock .bubble__t{font-size:16px}
@media (max-width:767px){.chef-dock .bubble{max-width:calc(100vw - 92px);padding:6px 11px 7px;border-radius:14px}.chef-dock .bubble__name{display:none}.chef-dock .bubble__t{font-size:15px;line-height:1.15}.chef-dock .bubble::after{bottom:12px}.chef-dock .bubble.is-tight{padding:5px 9px 6px}.chef-dock .bubble.is-tight .bubble__t{font-size:13.5px;line-height:1.12}}
.chef-dock__min{position:absolute;top:-8px;right:-2px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line-2);color:var(--text-2);z-index:2}
.chef-dock__min::before{content:"";position:absolute;inset:-7px}
.chef-dock__min svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chef-dock__ico{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid rgba(227,183,101,.55);color:var(--gold);box-shadow:var(--shadow)}
.chef-dock__ico svg{width:30px;height:30px}
.chef-dock__min[hidden],.chef-dock__ico[hidden],.chef-dock__live[hidden]{display:none}
.chef-dock__min:focus-visible,.chef-dock__ico:focus-visible{outline:3px solid var(--gold-2);outline-offset:2px}
.chef-live.is-paused .chef,.chef-live.is-paused .chef__hat,.chef-live.is-paused .chef__steam path{animation-play-state:paused}
/* телефон: товари мають місце праворуч під Шефа, тож він не закриває кнопки */
@media (max-width:1023px){
  .chef-dock-on .items__grid{padding-right:62px}
  .chef-dock-on.chef-dock-mini .items__grid{padding-right:52px}
  .has-ibar .chef-dock{bottom:calc(var(--tab) + 92px + env(safe-area-inset-bottom))}
}
@media (min-width:1024px){
  .chef-dock{right:20px;bottom:20px}
  .chef-dock .chef-live__fig,.chef-dock .chef-live__btn{width:96px}
  .chef-dock__ico{width:56px;height:56px}
  .chef-dock-on .cart{max-height:calc(100vh - var(--top-h,64px) - 32px - 170px);overflow-y:auto}
}

/* =================== Фото товару: кнопка на картці й перегляд крупно =================== */
.item__zoom{display:grid;place-items:center;padding:0;border:0;cursor:zoom-in;-webkit-tap-highlight-color:transparent;color:inherit;font:inherit}
.item__zoom:focus-visible{outline:3px solid var(--gold-2);outline-offset:2px}
.item__zoom img{transition:transform .35s var(--ease)}
@media (hover:hover){.item__zoom:hover img{transform:scale(1.04)}}
.add--lg{min-height:52px;padding:0 24px;font-size:17px}
.lb{position:fixed;inset:0;z-index:120;display:grid;place-items:center;opacity:0;transition:opacity .22s ease}
.lb[hidden]{display:none}
.lb.is-in{opacity:1}
.lb__bg{position:absolute;inset:0;background:rgba(5,10,22,.9);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.lb__card{position:relative;width:100%;height:100%;display:flex;flex-direction:column;background:var(--bg);overflow:auto;transform:translateY(12px);transition:transform .25s var(--ease),opacity .25s}
.lb.is-in .lb__card{transform:none}
.lb__x{position:absolute;top:calc(10px + env(safe-area-inset-top));right:10px;z-index:3;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(10,20,40,.72);border:1px solid var(--line-2);color:var(--text)}
.lb__x svg,.lb__nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lb__x:focus-visible,.lb__nav:focus-visible{outline:3px solid var(--gold-2);outline-offset:2px}
.lb__stage{position:relative;flex:0 0 auto;width:100%;aspect-ratio:1;overflow:hidden;background:#000;touch-action:none}
.lb__zoom{width:100%;height:100%;transform-origin:50% 50%;will-change:transform}
.lb__zoom picture,.lb__zoom img{display:block;width:100%;height:100%;object-fit:contain}
.lb__nav{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;display:grid;place-items:center;background:rgba(10,20,40,.72);border:1px solid var(--line-2);color:var(--text)}
.lb__nav[hidden]{display:none}
.lb__nav--prev{left:10px}.lb__nav--next{right:10px}
.lb__info{padding:20px var(--gut) calc(24px + env(safe-area-inset-bottom));display:grid;gap:10px}
.lb__t{font-family:var(--serif);font-weight:800;font-size:28px;line-height:1.15;color:var(--text)}
.lb__meta p{color:var(--text-2);font-size:17px}
.lb__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}
.lb__price{font-family:var(--serif);font-weight:800;font-size:30px;color:var(--gold-2)}
.lb__price:empty{display:none}
@media (min-width:1024px){
  .lb__card{width:min(1100px,calc(100vw - 64px));height:auto;max-height:calc(100vh - 64px);flex-direction:row;border-radius:24px;border:1px solid var(--line-2);box-shadow:var(--shadow);overflow:hidden}
  .lb__stage{width:min(72vh,640px);border-radius:24px 0 0 24px}
  .lb__info{flex:1;align-content:center;padding:40px 36px}
  .lb__t{font-size:36px}
  .lb__x{top:14px;right:14px}
}
@media (prefers-reduced-motion:reduce){.lb,.lb__card,.item__zoom img{transition:none}}

.item__zoom{width:100%}
@media (max-width:1023px){.lb__card{justify-content:center}}

/* ---------- Скелет меню, поки дані завантажуються ---------- */
.skel__h{display:block;width:180px;height:30px;border-radius:10px;margin:4px 0 16px}
.skel__c{height:132px;border-radius:var(--r);border:1px solid var(--line);background:var(--surface);padding:16px;display:grid;align-content:start;gap:12px}
.skel__c i{display:block;width:70%;height:18px;border-radius:8px}
.skel__c b{display:block;width:40%;height:24px;border-radius:8px;margin-top:18px}
.skel__c b.s{width:30%;margin-top:0;justify-self:end;height:40px;border-radius:999px}
.skel__h,.skel__c i,.skel__c b{background:linear-gradient(90deg,rgba(240,222,186,.07) 0,rgba(240,222,186,.15) 40%,rgba(240,222,186,.07) 80%);background-size:300% 100%;animation:skel 1.3s linear infinite}
@keyframes skel{from{background-position:100% 0}to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.skel__h,.skel__c i,.skel__c b{animation:none}}
.orders__status{margin-top:18px}

/* ---------- Статус: зміни від продавця й відповідь покупця ---------- */
.chgs{margin:14px 0 6px;padding:14px;border:1px solid rgba(227,183,101,.45);border-radius:var(--r);background:rgba(227,183,101,.06)}
.chgs__list{list-style:none;display:grid;gap:8px}
.chg{display:grid;grid-template-columns:24px 1fr auto;gap:2px 8px;align-items:baseline;font-size:16px}
.chg__i{font-weight:800;text-align:center}
.chg__n{color:var(--text)}
.chg__s{grid-column:2;color:var(--text-2);font-size:15px}
.chg__p{grid-row:1;grid-column:3;font-weight:800;color:var(--gold-2);white-space:nowrap}
.chg--ok .chg__i{color:var(--ok)}
.chg--later .chg__i,.chg--part .chg__i{color:var(--gold)}
.chg--no .chg__i{color:var(--bad)}
.chg--no .chg__n{color:var(--text-2);text-decoration:line-through}
.chgs__sum{margin-top:12px;font-size:17px}
.chgs__sum s{color:var(--text-2);margin-left:4px}
.chgs__btns{display:grid;gap:10px;margin-top:14px}
@media (min-width:640px){.chgs__btns{display:flex;flex-wrap:wrap}}
.chgs__note{margin-top:10px;color:var(--text-2);font-size:15px}
/* ---------- Пропозиція сповіщень ---------- */
.push{margin-top:14px;padding:14px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);display:grid;gap:8px}
.push__q{font-weight:800;color:var(--text);font-size:17px}
.push__s{color:var(--text-2);font-size:15px}
.push__btns{display:flex;flex-wrap:wrap;gap:10px}
.push__btns .btn{min-height:44px}
.push--on{display:block;color:var(--ok);font-weight:700;border-color:rgba(127,211,162,.4)}

/* Назва «Ням-Ням» — завжди в один рядок */
.logo__word,.hero__word,.intro__word{white-space:nowrap}
/* Тестове замовлення власника (видно лише тому, хто увійшов у кабінет) */
.check.test-order{margin-top:16px;padding:14px;border:2px dashed var(--gold);border-radius:14px;color:var(--text)}
.check.test-order small{color:var(--text-2);font-size:14px}
