/* =========================================================
   МАРХАБА — стили сайта
   Палитра и типографика повторяют печатное меню:
   светлый «каменный» фон, шалфейно-зелёные плашки, бордовые метки.
   ========================================================= */

/* ---------- Шрифты (локальные, без запросов к Google) ---------- */
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/golos-text-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/golos-text-latin.woff2) format("woff2");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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Prata";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/prata-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Prata";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/prata-latin.woff2) format("woff2");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:"Great Vibes";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/great-vibes-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Great Vibes";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/great-vibes-latin.woff2) format("woff2");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}

/* ---------- Токены ---------- */
:root{
  color-scheme:light;
  --stone:#e7e4dd;
  --stone-2:#dcd8cf;
  --paper:#f6f4ef;
  --white:#fff;
  /* Шалфей из печатного меню, чуть сдвинутый к изумруду вывески */
  --sage:#526d56;
  --sage-700:#425d48;
  --sage-800:#324a3a;
  --sage-900:#22382b;
  --sage-300:#a0b5a2;
  --sage-100:#e1e9df;
  /* Золото логотипа — точечно: знак, тонкие линии, акценты */
  --gold:#b8913f;
  --gold-2:#d4b063;
  --gold-3:#ead7a6;
  --gold-ink:#8d6b28;
  --wa:#1f9d55;
  --ink:#1f231e;
  --ink-2:#434940;
  --muted:#6a7066;
  --line:rgba(31,35,30,.13);
  --line-2:rgba(31,35,30,.22);
  --red:#8c2a2a;
  --red-2:#a83a33;
  --ok:#2f6b3a;

  --f-sans:"Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --f-serif:"Prata","Times New Roman",Georgia,serif;
  --f-script:"Great Vibes","Segoe Script",cursive;

  --header-h:68px;
  --catnav-h:56px;
  --r-sm:12px;
  --r-md:18px;
  --r-lg:26px;
  --shadow-1:0 1px 2px rgba(31,35,30,.06),0 6px 18px rgba(31,35,30,.06);
  --shadow-2:0 2px 6px rgba(31,35,30,.06),0 22px 44px rgba(31,35,30,.14);
  --ease:cubic-bezier(.2,.7,.2,1);
  --texture:url(../img/stone.webp);
}

/* ---------- База ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + var(--catnav-h) + 12px)}
body{
  margin:0;min-height:100vh;
  font-family:var(--f-sans);font-size:16px;line-height:1.55;color:var(--ink);
  background:var(--stone) var(--texture) repeat;background-size:640px 640px;background-blend-mode:multiply;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
@supports (overflow-x:clip){body{overflow-x:clip}}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul{padding:0;list-style:none}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--sage-700);outline-offset:3px;border-radius:6px}
::selection{background:var(--sage);color:#fff}

.wrap{width:100%;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
@media (min-width:640px){.wrap{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}}
.wrap-narrow{max-width:860px}
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-80px;z-index:200;background:var(--sage-800);color:#fff;padding:12px 18px;border-radius:0 0 12px 12px;text-decoration:none;font-weight:600}
.skip:focus{top:0}

.i{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.emblem{color:var(--sage-700);flex:none}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:0 24px;border-radius:999px;border:1px solid transparent;
  font-size:15px;font-weight:600;letter-spacing:.02em;text-decoration:none;cursor:pointer;
  transition:background-color .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn .i{width:18px;height:18px}
.btn-primary{background:var(--sage-700);color:#fff;box-shadow:0 8px 20px rgba(61,76,57,.22)}
.btn-primary:hover{background:var(--sage-800)}
.btn-ghost{border-color:var(--line-2);background:transparent;color:var(--ink)}
.btn-ghost:hover{border-color:var(--sage-700);color:var(--sage-800);background:rgba(93,113,87,.06)}
.btn-light{background:var(--paper);color:var(--sage-900)}
.btn-light:hover{background:#fff}
.btn-sm{min-height:40px;padding:0 16px;font-size:14px}
.btn-block{width:100%}
.btn[disabled]{opacity:.6;cursor:progress}
.icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;cursor:pointer;color:var(--ink)}
.icon-btn:hover{background:rgba(31,35,30,.05)}
.icon-btn .i{width:20px;height:20px}

.kicker{display:inline-flex;align-items:center;gap:12px;font-size:12.5px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--sage-700)}
.kicker::before,.kicker::after{content:"";width:28px;height:1px;background:currentColor;opacity:.55}
.kicker-light{color:var(--sage-100)}
.section-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;margin-bottom:28px}
.section-title{font-family:var(--f-serif);font-weight:400;font-size:clamp(32px,4.6vw,52px);line-height:1.12;letter-spacing:.01em;text-wrap:balance}
.section-sub{color:var(--muted);font-size:16px}
.fineprint{font-size:12.5px;line-height:1.5;color:var(--muted)}
.fineprint a{color:var(--sage-800)}
.link{color:var(--sage-800);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* ---------- Шапка ---------- */
.header{position:-webkit-sticky;position:sticky;top:0;z-index:60;background:rgba(246,244,239,.93);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.header{background:rgba(246,244,239,.8);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}}
.header-bar{display:flex;align-items:center;gap:20px;height:var(--header-h)}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);min-width:0}
.brand .emblem{width:40px;height:40px}
.brand-text{display:flex;flex-direction:column;line-height:1;min-width:0}
.brand-name{font-family:var(--f-serif);font-size:21px;letter-spacing:.14em;text-transform:uppercase}
.brand-tag{margin-top:5px;font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{padding:10px 14px;border-radius:999px;font-size:13.5px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--ink-2);transition:color .2s,background-color .2s}
.nav a:hover{color:var(--sage-800);background:rgba(93,113,87,.08)}
.header-actions{display:flex;align-items:center;gap:10px}
.header-phone{display:inline-flex;align-items:center;gap:8px;padding:8px 6px;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap;color:var(--ink)}
.header-phone .i{color:var(--sage-700)}
.burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line-2);background:transparent;cursor:pointer;place-items:center;color:var(--ink)}
.burger .i{width:22px;height:22px}
@media (max-width:1100px){.header-phone span{display:none}.header-phone{padding:10px}}
@media (max-width:900px){.nav{display:none}.burger{display:inline-grid}.header-actions{margin-left:auto}}
@media (max-width:420px){.header-cta{display:none}.brand-tag{letter-spacing:.16em}}

/* Выезжающее меню */
.drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90}
.drawer-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(20,24,19,.45);opacity:0;transition:opacity .25s var(--ease)}
.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(360px,88vw);background:var(--paper);display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:calc(12px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 20px;
  transform:translateX(100%);transition:transform .3s var(--ease);box-shadow:-20px 0 40px rgba(0,0,0,.12)}
.drawer.is-open .drawer-scrim{opacity:1}
.drawer.is-open .drawer-panel{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;min-height:52px}
.drawer-panel > a:not(.btn){display:block;padding:13px 4px;border-bottom:1px solid var(--line);text-decoration:none;font-size:15px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.drawer-panel > a.drawer-sub{padding:10px 4px 10px 16px;font-size:15px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--ink-2)}
.drawer-panel .btn{margin-top:20px}

/* ---------- Первый экран ---------- */
.hero{position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:32px;align-items:center;min-height:min(calc(100vh - var(--header-h)),780px);padding-top:40px;padding-bottom:56px}
.hero-kicker{font-family:var(--f-script);font-size:clamp(34px,4vw,48px);line-height:1;color:var(--sage-700)}
.hero-title{font-family:var(--f-serif);font-weight:400;font-size:clamp(46px,6.6vw,108px);line-height:.98;letter-spacing:.05em;text-transform:uppercase;margin-top:6px;margin-left:-.04em;overflow-wrap:break-word}
@media (max-width:900px){.hero-title{font-size:clamp(46px,12.5vw,96px)}}
.hero-tag{margin-top:14px;font-size:13px;font-weight:600;letter-spacing:.34em;text-transform:uppercase;color:var(--ink-2)}
.hero-text{margin-top:22px;max-width:46ch;font-size:clamp(16px,1.5vw,18px);line-height:1.65;color:var(--ink-2);text-wrap:pretty}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero-facts{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:30px;font-size:14.5px;color:var(--ink-2)}
.hero-facts li{display:flex;align-items:center;gap:8px}
.hero-facts .i{color:var(--sage-700)}

.hero-art{position:relative;width:100%;max-width:600px;justify-self:end;aspect-ratio:1/1}
@supports not (aspect-ratio:1/1){.hero-art{height:0;padding-bottom:100%}}
.hero-band{position:absolute;top:-12%;bottom:-12%;right:0;width:22%;background:var(--sage) var(--texture);background-size:640px;background-blend-mode:multiply;border-radius:0 0 0 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:10%;overflow:hidden}
.hero-band span{font-family:var(--f-serif);color:var(--paper);font-size:clamp(34px,4.4vw,58px);letter-spacing:.14em;text-transform:uppercase;writing-mode:vertical-rl;transform:rotate(180deg);line-height:1}
.hero-band-mark{position:absolute;top:8%;left:50%;width:170%;height:auto;transform:translateX(-50%);color:rgba(255,255,255,.14)}
.plate{position:absolute;border-radius:50%;overflow:hidden;background:var(--stone-2);box-shadow:0 30px 60px rgba(31,35,30,.2),0 6px 14px rgba(31,35,30,.12);transform:translateZ(0)}
.plate img{width:100%;height:100%;object-fit:cover;transform:scale(1.1)}
.plate-1{width:66%;height:66%;left:4%;top:12%;z-index:2}
.plate-2{width:34%;height:34%;left:0;bottom:2%;z-index:3;border:6px solid var(--paper)}
.plate-3{width:30%;height:30%;right:8%;top:2%;z-index:3;border:6px solid var(--paper)}
@media (prefers-reduced-motion:no-preference){
  .plate-1{animation:float 9s ease-in-out infinite}
  .plate-2{animation:float 11s ease-in-out -3s infinite}
  .plate-3{animation:float 10s ease-in-out -6s infinite}
}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -8px}}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;min-height:0;padding-top:28px;padding-bottom:40px;gap:28px}
  .hero-copy{text-align:center;display:flex;flex-direction:column;align-items:center}
  .hero-actions,.hero-facts{justify-content:center}
  .hero-art{justify-self:center;max-width:460px;margin-top:8px}
  .hero-band{top:4%;bottom:-4%;border-radius:18px 18px 0 0}
}
@media (max-width:480px){
  .hero-actions{width:100%}
  .hero-actions .btn{flex:1 1 100%}
  .hero-facts{flex-direction:column;align-items:center;gap:8px}
  .hero-art{max-width:340px}
  .plate-2,.plate-3{border-width:4px}
}

/* ---------- Меню ---------- */
.menu{padding-top:64px;padding-bottom:72px;background:linear-gradient(180deg,rgba(246,244,239,0),rgba(246,244,239,.55) 180px)}
.menu-tools{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:22px}
.search{position:relative;display:block;width:min(520px,100%)}
.search .i{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--sage-700);pointer-events:none}
.search input{width:100%;height:52px;border-radius:999px;border:1px solid var(--line-2);background:var(--white);padding:0 20px 0 48px;font-size:16px;-webkit-appearance:none;appearance:none;box-shadow:var(--shadow-1)}
.search input::placeholder{color:#8a8f86}
.search input:focus{outline:none;border-color:var(--sage-700);box-shadow:0 0 0 4px rgba(93,113,87,.16)}
.search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:18px;height:18px;cursor:pointer;background:no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5f48' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E")}
.filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.chip{min-height:40px;padding:0 18px;border-radius:999px;border:1px solid var(--line-2);background:rgba(255,255,255,.55);font-size:14px;font-weight:500;cursor:pointer;touch-action:manipulation;transition:all .2s var(--ease)}
.chip:hover{border-color:var(--sage-700)}
.chip.is-on{background:var(--sage-700);border-color:var(--sage-700);color:#fff}

.cat-nav{position:-webkit-sticky;position:sticky;top:calc(var(--header-h) + env(safe-area-inset-top));z-index:50;background:rgba(246,244,239,.95);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.cat-nav{background:rgba(246,244,239,.84);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}}
.cat-nav-track{display:flex;gap:6px;max-width:1200px;margin:0 auto;height:var(--catnav-h);align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent)}
.cat-nav-track::-webkit-scrollbar{display:none}
.cat-nav a{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 15px;border-radius:999px;font-size:14px;font-weight:500;text-decoration:none;color:var(--ink-2);white-space:nowrap;transition:background-color .2s,color .2s}
.cat-nav a:hover{background:rgba(93,113,87,.1);color:var(--sage-900)}
.cat-nav a.is-active{background:var(--sage-700);color:#fff}
/* центрируем ленту, только если она помещается целиком (auto-отступы не обрезают начало при переполнении) */
.cat-nav a:first-child{margin-left:auto}
.cat-nav a:last-child{margin-right:auto}

.menu-body{padding-top:8px}
.cat{padding-top:52px}
.cat-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:6px}
.cat-title{font-family:var(--f-sans);font-weight:600;font-size:clamp(25px,3.2vw,36px);line-height:1.15;letter-spacing:.07em;text-transform:uppercase;color:var(--ink)}
.cat-head::after{content:"";flex:1 1 60px;height:1px;background:var(--line-2);min-width:40px}
.cat-note{flex-basis:100%;order:3;color:var(--muted);font-size:14.5px}
.group{margin-top:20px}
.group-title{display:flex;align-items:center;gap:10px;margin:28px 0 14px;font-size:14px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--sage-700)}
.group-title::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--sage);transform:rotate(45deg)}

.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.dish{position:relative;display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;box-shadow:var(--shadow-1);transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s}
/* Не тратим время на отрисовку сотен карточек далеко за пределами экрана. */
@supports (content-visibility:auto){.dish{content-visibility:auto;contain-intrinsic-size:auto 390px}}
.dish:focus-within{border-color:var(--sage-700)}
@media (hover:hover){
  .dish:hover{transform:translateY(-4px);box-shadow:var(--shadow-2)}
  .dish:hover .dish-ph img{transform:scale(1.045)}
}
.dish-ph{position:relative;aspect-ratio:1/1;background:#d9d6cf;overflow:hidden}
@supports not (aspect-ratio:1/1){.dish-ph{height:0;padding-bottom:100%}.dish-ph img{position:absolute;top:0;right:0;bottom:0;left:0}}
.dish-ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.badges{display:flex;flex-wrap:wrap;gap:6px}
.dish-ph .badges{position:absolute;left:12px;top:12px;right:12px;z-index:1}
.badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border-radius:999px;font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;line-height:1;white-space:nowrap;vertical-align:middle;background:var(--red);color:#fff}
.badge .i{width:12px;height:12px;stroke-width:2}
.b-new{background:#fff;color:var(--red);box-shadow:inset 0 0 0 1px rgba(140,42,42,.5)}
.b-spicy{background:#fff;color:var(--red-2)}
.b-veg{background:#fff;color:var(--sage-800)}
.dish-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:16px 18px 16px}
.dish-name{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:.04em;text-transform:uppercase}
.dish-open{background:none;border:0;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:left;cursor:pointer}
.dish-open::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}
.dish-open:focus-visible{outline:none}
.dish-desc{font-size:14px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.vars{display:grid;gap:4px;font-size:13.5px;color:var(--ink-2)}
.vars li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dotted var(--line-2);padding-bottom:3px}
.vars b{font-weight:600;white-space:nowrap}
.dish-foot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px;border-top:1px dashed var(--line-2)}
.dish-w{font-size:12.5px;color:var(--muted)}
.price{font-weight:600;font-size:18px;color:var(--sage-900);white-space:nowrap;font-variant-numeric:tabular-nums}
.soldout{color:var(--red);font-weight:600;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase}
.dish.is-soldout .dish-ph img{filter:grayscale(1);opacity:.6}

/* Позиции без фото — зелёная плашка со списком, как в печатном меню */
.plist{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));column-gap:48px;margin-top:18px;padding:14px 26px 16px;border-radius:var(--r-md);color:#f2f0ea;
  background:var(--sage) var(--texture);background-size:640px;background-blend-mode:multiply;box-shadow:var(--shadow-1)}
.plist-solo{margin-top:6px}
.prow{padding:11px 0;border-bottom:1px solid rgba(255,255,255,.13)}
.prow-line{display:flex;align-items:baseline;gap:10px}
.prow-name{font-size:14.5px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;line-height:1.35}
.prow-name .badge{height:19px;padding:0 7px;font-size:9.5px;margin-left:4px;transform:translateY(-2px)}
.prow-name .b-new{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}
.prow-name .b-spicy,.prow-name .b-veg{background:rgba(255,255,255,.92)}
.prow-dots{flex:1 1 20px;min-width:16px;border-bottom:1px dotted rgba(255,255,255,.4);transform:translateY(-5px)}
.plist .price{color:#fff;font-size:16px}
.plist .soldout{color:#ffd9d4}
.prow-sub{margin-top:3px;font-size:13px;line-height:1.45;color:rgba(242,240,234,.75)}
.prow.is-soldout .prow-name{opacity:.6}

.is-filtered{display:none!important}
.menu-empty{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:56px 0 8px;color:var(--muted)}
.menu-empty .emblem{width:54px;height:54px;opacity:.5}
.menu-note{max-width:78ch;margin:48px auto 0;text-align:center;font-size:13px;line-height:1.6;color:var(--muted)}

@media (max-width:640px){
  :root{--catnav-h:52px}
  .menu{padding-top:44px}
  .cat{padding-top:40px}
  .cards{grid-template-columns:1fr;gap:10px}
  .dish{flex-direction:row;align-items:stretch;border-radius:16px}
  @supports (content-visibility:auto){.dish{contain-intrinsic-size:auto 134px}}
  .dish-ph{flex:none;width:112px;height:112px;aspect-ratio:auto;margin:10px 0 10px 10px;border-radius:12px;align-self:flex-start}
  @supports not (aspect-ratio:1/1){.dish-ph{padding-bottom:0}}
  .dish-ph .badges{left:5px;top:5px;right:5px;gap:3px}
  .dish-ph .badge{height:18px;padding:0 6px;font-size:8.5px;letter-spacing:.05em}
  .dish-ph .badge .i{display:none}
  .dish-body{padding:11px 14px 11px 12px;gap:5px;min-width:0}
  .dish-name{font-size:13.5px;letter-spacing:.03em}
  .dish-desc{font-size:13px;-webkit-line-clamp:2}
  .vars{font-size:12.5px}
  .dish-foot{padding-top:6px}
  .price{font-size:16px}
  .plist{padding:6px 16px 10px;border-radius:16px}
  .prow-name{font-size:13.5px;letter-spacing:.03em}
  .plist .price{font-size:15px}
}

/* ---------- О нас ---------- */
.about{padding:88px 0}
.about-grid{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:56px;align-items:center}
.about-mark{display:grid;place-items:center;aspect-ratio:3/4;border-radius:var(--r-lg);background:var(--sage) var(--texture);background-size:640px;background-blend-mode:multiply;box-shadow:var(--shadow-2)}
.about-mark .emblem{width:62%;height:auto;color:rgba(246,244,239,.5)}
.script-title{font-family:var(--f-script);font-weight:400;font-size:clamp(40px,5.4vw,64px);line-height:1.1;color:var(--sage-800);margin-bottom:18px}
.about-copy p{font-size:17px;line-height:1.8;color:var(--ink-2);max-width:62ch;text-wrap:pretty}
.about-copy p+p{margin-top:14px}
@media (max-width:760px){
  .about{padding:56px 0}
  .about-grid{grid-template-columns:1fr;gap:28px;text-align:center}
  .about-mark{aspect-ratio:auto;height:160px;max-width:none}
  .about-mark .emblem{width:auto;height:110px}
  .about-copy p{margin-left:auto;margin-right:auto;font-size:16px}
}

/* ---------- Банкеты ---------- */
.banquets{position:relative;color:#f2f0ea;background:var(--sage-700) var(--texture);background-size:640px;background-blend-mode:multiply;padding:88px 0;overflow:hidden}
.banquets-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.banquets .section-title{color:#fff;margin-top:12px}
.banquets-copy p{margin-top:16px;font-size:17px;line-height:1.7;color:rgba(242,240,234,.86);max-width:56ch}
.ticks{display:grid;gap:10px;margin:22px 0 30px}
.ticks li{display:flex;gap:12px;align-items:flex-start;font-size:15.5px}
.ticks .i{width:20px;height:20px;margin-top:2px;color:var(--sage-100)}
.banquets-art{display:flex;justify-content:center}
.banquets-art .plate{position:relative;width:min(420px,78vw);aspect-ratio:1/1;border:8px solid rgba(246,244,239,.9)}
@supports not (aspect-ratio:1/1){.banquets-art .plate{height:min(420px,78vw)}}
@media (max-width:860px){.banquets{padding:60px 0}.banquets-grid{grid-template-columns:1fr}.banquets-art{order:-1}.banquets-art .plate{width:min(300px,70vw)}}

/* ---------- Вопросы ---------- */
.faq{padding:88px 0 40px}
.faq-list{display:grid;gap:10px}
.faq-item{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;font-weight:600;font-size:16px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .i{width:20px;height:20px;color:var(--sage-700);transition:transform .25s var(--ease)}
.faq-item[open] summary .i{transform:rotate(45deg)}
.faq-a{padding:0 20px 18px;color:var(--ink-2);font-size:15px;line-height:1.7}
@media (max-width:640px){.faq{padding:56px 0 24px}}

/* ---------- Контакты и заявка ---------- */
.contacts{padding:72px 0 96px}
.contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.contacts-info .section-title{margin:10px 0 26px}
.clist{display:grid;gap:22px}
.clist li{display:flex;gap:14px;align-items:flex-start}
.clist .i{width:22px;height:22px;margin-top:3px;color:var(--sage-700)}
.clist div{display:flex;flex-direction:column;gap:4px}
.clist b{font-weight:600;font-size:17px}
.clist span{color:var(--muted);font-size:15px}
.clist .hours-row{color:var(--ink-2)}
.clist .hours-row b{font-size:15px;font-weight:600;margin-right:4px}
.big-link{font-size:22px;font-weight:600;text-decoration:none;padding:2px 0}
.big-link:hover{color:var(--sage-800)}
.socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.social{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line-2);text-decoration:none;font-size:14.5px;font-weight:500;background:rgba(255,255,255,.5)}
.social:hover{border-color:var(--sage-700);color:var(--sage-800)}
.social .i{color:var(--sage-700)}
.contacts-info .fineprint{margin-top:12px;max-width:52ch}

.booking{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px 28px 26px;box-shadow:var(--shadow-2);display:grid;gap:14px}
.booking-title{font-family:var(--f-serif);font-weight:400;font-size:30px;line-height:1.15}
.booking-text{color:var(--muted);font-size:15px;margin-top:-6px}
.seg{display:flex;gap:6px;border:0;padding:4px;margin:4px 0 0;background:var(--stone);border-radius:14px}
.seg label{flex:1;position:relative}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 8px;border-radius:10px;font-size:14.5px;font-weight:500;cursor:pointer;text-align:center;transition:background-color .2s,color .2s}
.seg input:checked+span{background:var(--sage-700);color:#fff;box-shadow:0 4px 12px rgba(61,76,57,.25)}
.seg input:focus-visible+span{outline:2px solid var(--sage-700);outline-offset:2px}
.field{display:grid;gap:6px;min-width:0}
.field label{font-size:13.5px;font-weight:500;color:var(--ink-2)}
.field .opt{color:var(--muted);font-weight:400}
.field input,.field textarea{width:100%;min-height:50px;border-radius:12px;border:1px solid var(--line-2);background:#fff;padding:12px 14px;font-size:16px;line-height:1.4;-webkit-appearance:none;appearance:none;transition:border-color .2s,box-shadow .2s}
.field textarea{min-height:96px;resize:vertical}
.field input[type=date],.field input[type=time]{min-width:0;display:block}
.field input::-webkit-date-and-time-value{text-align:left}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--sage-700);box-shadow:0 0 0 4px rgba(93,113,87,.16)}
.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--red-2);box-shadow:0 0 0 3px rgba(168,58,51,.14)}
.field-row{display:grid;grid-template-columns:1fr 1fr 96px;gap:10px}
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;gap:12px;align-items:flex-start;font-size:13.5px;line-height:1.5;color:var(--ink-2);cursor:pointer}
.consent input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--sage-700)}
.consent a{color:var(--sage-800)}
.consent.is-invalid{color:var(--red)}
.form-msg{border-radius:12px;padding:12px 14px;font-size:14.5px;line-height:1.5}
.form-msg.is-ok{background:#e4efe0;color:#24472c;border:1px solid #bcd3b5}
.form-msg.is-err{background:#f8e5e2;color:#7a2620;border:1px solid #ebbdb6}
@media (max-width:900px){.contacts-grid{grid-template-columns:1fr;gap:40px}.contacts{padding:56px 0 72px}}
@media (max-width:480px){
  .booking{padding:22px 16px 20px;border-radius:20px}
  .booking-title{font-size:26px}
  .field-row{grid-template-columns:1fr 1fr}
  .field-guests{grid-column:1/-1}
  .big-link{font-size:20px}
}

/* ---------- Подвал ---------- */
.footer{color:rgba(242,240,234,.78);background:var(--sage-900) var(--texture);background-size:640px;background-blend-mode:multiply;padding:56px 0 calc(28px + env(safe-area-inset-bottom));font-size:14px}
.footer a{color:rgba(242,240,234,.92);text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer-grid{display:grid;grid-template-columns:1.1fr 1.5fr 1.2fr;gap:40px}
.brand-light{color:#fff;margin-bottom:16px}
.brand-light .emblem{color:var(--sage-300)}
.brand-light .brand-tag{color:rgba(242,240,234,.6)}
.footer-brand p{margin-top:6px}
.footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;align-content:start}
.footer-nav a{padding:6px 0}
.footer-legal{display:grid;gap:8px;font-size:13px;align-content:start}
.footer-mini{padding:22px 0;text-align:center}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}.footer-legal{grid-column:1/-1}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;gap:28px}.footer-nav a{padding:9px 0}}

/* ---------- Карточка блюда (модальное окно) ---------- */
.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.modal-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(20,24,19,.55);opacity:0;transition:opacity .25s var(--ease)}
.modal-card{position:relative;width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto;overscroll-behavior:contain;background:var(--paper);border-radius:var(--r-lg);display:grid;grid-template-columns:1fr 1fr;box-shadow:0 40px 80px rgba(0,0,0,.3);opacity:0;transform:translateY(16px) scale(.98);transition:opacity .25s var(--ease),transform .3s var(--ease)}
.modal.is-open .modal-scrim{opacity:1}
.modal.is-open .modal-card{opacity:1;transform:none}
.modal-close{position:absolute;right:12px;top:12px;z-index:2;background:#fff;border-color:transparent;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.modal-ph{background:#d9d6cf;min-height:100%}
.modal-ph img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1}
.modal-ph:empty{display:none}
.modal-body{display:flex;flex-direction:column;gap:12px;padding:32px 28px 26px}
.modal-ph:empty+.modal-body{grid-column:1/-1}
.modal-title{font-size:22px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;line-height:1.25;padding-right:36px}
.modal-desc{color:var(--ink-2);font-size:15.5px;line-height:1.6}
.modal-desc:empty{display:none}
.modal-foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px dashed var(--line-2);padding-top:14px;margin-top:auto}
.modal-foot .price{font-size:24px}
@media (max-width:720px){
  .modal{align-items:flex-end;padding:0}
  .modal-card{grid-template-columns:1fr;border-radius:24px 24px 0 0;max-height:92vh;transform:translateY(40px)}
  .modal-ph img{max-height:46vh;aspect-ratio:auto;height:auto}
  .modal-body{padding:20px 18px calc(20px + env(safe-area-inset-bottom))}
  .modal-title{font-size:18px}
}

/* ---------- Служебное ---------- */
body.is-locked{overflow:hidden}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));z-index:120;max-width:calc(100% - 32px);transform:translate(-50%,160%);background:var(--sage-900);color:#fff;padding:13px 20px;border-radius:14px;font-size:14.5px;box-shadow:var(--shadow-2);transition:transform .35s var(--ease);pointer-events:none}
.toast.is-on{transform:translate(-50%,0)}
.to-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:55;width:48px;height:48px;border-radius:50%;border:1px solid var(--line-2);background:rgba(246,244,239,.94);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:all .3s var(--ease);box-shadow:var(--shadow-1)}
.to-top .i{width:22px;height:22px}
.to-top.is-on{opacity:1;visibility:visible;transform:none}
@media (max-width:640px){.to-top{display:none}} /* на телефоне кнопка закрывала цены; вверх — свайпом или через шапку */
.cookie{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:110;max-width:560px;margin:0 auto;background:var(--paper);border:1px solid var(--line-2);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow-2);font-size:14px}
.cookie a{color:var(--sage-800)}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* Появление секций: прячем только когда JS точно работает */
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js .reveal.is-in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js .reveal{opacity:1;transform:none}
}

/* ---------- Документы ---------- */
.doc-page{background-color:var(--paper)}
.doc{padding-top:48px;padding-bottom:72px}
.doc h1{font-family:var(--f-serif);font-weight:400;font-size:clamp(28px,4vw,42px);line-height:1.2;margin-bottom:8px}
.doc h2{font-size:18px;font-weight:600;margin:28px 0 10px}
.doc p{margin:0 0 10px;line-height:1.7;color:var(--ink-2)}
.doc a{color:var(--sage-800)}
.doc mark{background:#f6e3b4;padding:0 4px;border-radius:4px}
.doc-meta{color:var(--muted);font-size:14px}
.notfound{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:60px 0}
.notfound .emblem{width:72px;height:72px}
.notfound h1{margin:0}

/* ---------- Печать меню ---------- */
@media print{
  body{background:#fff}
  .header,.hero,.cat-nav,.menu-tools,.about,.banquets,.faq,.booking,.to-top,.toast,.modal,.drawer,.socials,.cookie{display:none!important}
  .dish,.plist{box-shadow:none;break-inside:avoid}
  .plist{background:#fff;color:#000;border:1px solid #999}
  .plist .price,.prow-sub{color:#000}
  .cards{grid-template-columns:repeat(3,1fr)}
}

/* =========================================================
   ФИРМЕННЫЙ ЗНАК И ЗОЛОТЫЕ АКЦЕНТЫ (по вывеске Marhaba)
   ========================================================= */
.emblem{color:var(--gold-ink)}
.emblem .emblem-cut{display:none}
.emblem-ribbon .emblem-cut{display:inline;stroke:var(--ribbon,var(--sage))}

.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--sage-900);min-width:0;-webkit-tap-highlight-color:transparent}
.logo .logo-mark{width:44px;height:44px;color:var(--gold-ink)}
.logo-text{display:flex;flex-direction:column;align-items:center;line-height:1;min-width:0}
.logo-name{font-family:var(--f-script);font-size:31px;line-height:.92;color:var(--sage-900);padding:0 3px;white-space:nowrap}
.logo-sub{font-size:10.5px;letter-spacing:.07em;color:var(--gold-ink);margin-top:2px;white-space:nowrap}
.logo-sm .logo-mark{width:36px;height:36px}
.logo-sm .logo-name{font-size:26px}
.logo-light{color:var(--gold-3)}
.logo-light .logo-mark{color:var(--gold-2)}
.logo-light .logo-name{color:var(--gold-3)}
.logo-light .logo-sub{color:var(--gold-2)}
.footer-brand .logo{margin-bottom:16px}
@media (max-width:420px){.logo .logo-mark{width:38px;height:38px}.logo-name{font-size:27px}.logo-sub{font-size:9.5px}}

.btn-primary{background:var(--sage-800);box-shadow:inset 0 0 0 1px rgba(212,176,99,.28),0 8px 20px rgba(34,56,43,.22)}
.btn-primary:hover{background:var(--sage-900)}
.kicker{color:var(--gold-ink)}
.hero-kicker{color:var(--sage-800)}
.hero-band{background-color:var(--sage-900)}
.hero-band span{color:var(--gold-3)}
.hero-band-mark{color:rgba(212,176,99,.16)}
.plate-2,.plate-3{border-color:#f4efe2;box-shadow:0 0 0 1px rgba(184,145,63,.35),0 30px 60px rgba(31,35,30,.2)}
.cat-head::after{background:linear-gradient(90deg,rgba(184,145,63,.55),var(--line) 70%)}
.group-title::before{background:var(--gold)}
.cat-nav a.is-active{background:var(--sage-800);box-shadow:inset 0 -2px 0 var(--gold-2)}
.chip.is-on{background:var(--sage-800);border-color:var(--sage-800)}
.about-mark{background-color:var(--sage-800);--ribbon:var(--sage-800)}
.about-mark .emblem{color:rgba(212,176,99,.72)}
.banquets{background-color:var(--sage-800)}
.footer{background-color:var(--sage-900);border-top:1px solid rgba(212,176,99,.3)}
.footer a:hover{color:var(--gold-3)}
.menu-empty .emblem,.notfound .emblem{color:var(--gold)}
.b-hit{background:#8c2a2a}
.seg input:checked+span{background:var(--sage-800)}

/* =========================================================
   КОРЗИНА И ОФОРМЛЕНИЕ ЗАКАЗА
   ========================================================= */
html.cart-locked,html.cart-locked body{overflow:hidden}

/* Кнопка на карточке блюда */
.cart-ctl{position:relative;z-index:3;display:flex;align-items:center;flex:none}
.dish.has-cart .dish-foot{flex-wrap:wrap;align-items:center}
.dish.has-cart .dish-foot .price{margin-left:auto}
.cart-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--sage-800);background:var(--sage-800);color:#fff;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;white-space:nowrap;transition:background-color .2s,transform .15s}
.cart-add:hover{background:var(--sage-900)}
.cart-add:active{transform:scale(.96)}
.cart-add .i{width:17px;height:17px;stroke-width:2.2}
.cart-add.is-in{background:#fff;color:var(--sage-900);border-color:var(--sage-700)}
.cart-add-n{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--gold);color:#fff;font-size:12px;display:inline-grid;place-items:center}
.qty{display:inline-flex;align-items:center;gap:2px;border-radius:999px;background:#fff;border:1px solid var(--sage-700);padding:2px}
.qty-btn{width:36px;height:36px;border-radius:50%;border:0;background:var(--sage-100);color:var(--sage-900);display:grid;place-items:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.qty-btn:hover{background:#d3dfd0}
.qty-btn:active{background:#c4d4c0}
.qty-btn:disabled{opacity:.4;cursor:not-allowed}
.qty-btn .i{width:17px;height:17px;stroke-width:2.4}
.qty-n{min-width:28px;text-align:center;font-weight:700;font-size:15px;color:var(--sage-900);font-variant-numeric:tabular-nums}
/* В зелёной плашке-прайсе */
.cart-ctl-row{margin-left:10px;align-self:center}
.cart-ctl-row .cart-add{width:34px;height:34px;min-height:34px;padding:0;background:rgba(255,255,255,.94);border-color:transparent;color:var(--sage-900)}
.cart-ctl-row .cart-add.is-in{background:var(--gold-3)}
.cart-ctl-row .cart-add-n{position:absolute;top:-6px;right:-6px;height:18px;min-width:18px;font-size:11px}
.cart-ctl-row .qty{background:rgba(255,255,255,.96);border-color:transparent}
.qty-sm .qty-btn{width:30px;height:30px}
.qty-sm .qty-n{min-width:22px;font-size:14px}
.prow.has-cart .prow-line{align-items:center}
@media (max-width:640px){
  .cart-add{min-height:38px;padding:0 12px;font-size:13.5px}
  .dish .qty-btn{width:34px;height:34px}
  .dish.has-cart .dish-foot{gap:8px}
}
@media (max-width:360px){.dish .cart-add-t{display:none}.dish .cart-add{width:38px;padding:0}}

/* Выбор варианта в карточке блюда */
.m-cart{display:grid;gap:10px}
.m-cart:empty{display:none}
.m-vars{display:grid;gap:8px}
.m-var{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.m-var-l{display:flex;flex-direction:column;min-width:0}
.m-var-name{font-size:14.5px;font-weight:500}
.m-var-p{font-size:16px;color:var(--sage-900)}
.m-add{min-height:40px}
.m-add .i{width:16px;height:16px}
.m-go .i{width:18px;height:18px}
.m-cart-note{color:var(--red);font-weight:600}

/* Нижняя кнопка корзины */
.cartbar{position:fixed;z-index:80;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:12px;min-height:58px;width:min(460px,calc(100% - 24px));padding:8px 10px 8px 8px;border:1px solid rgba(212,176,99,.45);border-radius:999px;background:var(--sage-900);color:#fff;font-size:15.5px;font-weight:600;cursor:pointer;box-shadow:0 18px 40px rgba(20,34,26,.35);touch-action:manipulation;-webkit-tap-highlight-color:transparent;animation:barIn .35s var(--ease)}
.cartbar[hidden]{display:none}
.cartbar:active{transform:translateX(-50%) scale(.985)}
@keyframes barIn{from{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translateX(-50%)}}
.cartbar-ic{position:relative;flex:none;width:42px;height:42px;border-radius:50%;background:var(--gold);display:grid;place-items:center;color:#fff}
.cartbar-ic .i{width:22px;height:22px}
.cartbar-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff;color:var(--sage-900);font-size:11.5px;font-weight:700;display:grid;place-items:center}
.cartbar-t{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cartbar-sum{flex:none;padding:0 12px;height:42px;border-radius:999px;background:rgba(255,255,255,.1);display:grid;place-items:center;color:var(--gold-3);font-variant-numeric:tabular-nums}
body.has-cartbar{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
body.has-cartbar .toast{bottom:calc(90px + env(safe-area-inset-bottom))}
body.has-cartbar .to-top{bottom:calc(92px + env(safe-area-inset-bottom))}
body.has-cartbar .cookie{bottom:calc(90px + env(safe-area-inset-bottom))}
@media (min-width:900px){
  .cartbar{left:auto;right:max(24px,env(safe-area-inset-right));transform:none;width:auto;max-width:460px}
  .cartbar:active{transform:scale(.985)}
  @keyframes barIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
  body.has-cartbar{padding-bottom:0}
  body.has-cartbar .to-top{bottom:calc(92px + env(safe-area-inset-bottom))}
}

/* Окно корзины: справа на компьютере, снизу на телефоне */
.csheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:105}
.csheet[hidden]{display:none}
.csheet-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(18,28,22,.5);opacity:0;transition:opacity .25s var(--ease)}
.csheet-panel{position:absolute;top:0;right:0;bottom:0;width:min(460px,100%);display:flex;flex-direction:column;background:var(--paper);box-shadow:-20px 0 50px rgba(0,0,0,.2);transform:translateX(100%);transition:transform .3s var(--ease);padding-top:env(safe-area-inset-top)}
.csheet.is-open .csheet-scrim{opacity:1}
.csheet.is-open .csheet-panel{transform:none}
.csheet-head{display:flex;align-items:center;gap:8px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line);flex:none}
.csheet-title{flex:1;font-size:18px;font-weight:600;letter-spacing:.02em;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.csheet-back[hidden]{display:none}
.csheet-back+.csheet-title{padding-left:2px}
.csheet-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:16px 18px 20px;display:flex;flex-direction:column;gap:14px}
.csheet-foot{flex:none;padding:12px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fbfaf6;display:grid;gap:10px}
.csheet-foot:empty{display:none}
@media (max-width:640px){
  .csheet-panel{top:auto;left:0;width:100%;max-height:92vh;border-radius:22px 22px 0 0;transform:translateY(100%);box-shadow:0 -20px 50px rgba(0,0,0,.2);padding-top:0}
  @supports (height:100dvh){.csheet-panel{max-height:92dvh}}
  .csheet-head{padding:10px 10px 10px 14px}
  .csheet-head::before{content:"";position:absolute;left:50%;top:6px;width:40px;height:4px;border-radius:4px;background:var(--line-2);transform:translateX(-50%)}
  .csheet-body{padding:14px 14px 18px}
  .csheet-foot{padding:10px 14px calc(12px + env(safe-area-inset-bottom))}
}

.clines{display:grid;gap:10px}
.cline{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px 44px 12px 14px;background:#fff;border:1px solid var(--line);border-radius:16px}
.cline-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.cline-title{font-weight:600;font-size:15px;line-height:1.3}
.cline-label{font-size:13px;color:var(--gold-ink);font-weight:500}
.cline-price{font-size:12.5px;color:var(--muted)}
.cline-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cline-sum{font-size:16px;color:var(--sage-900);font-variant-numeric:tabular-nums}
.cline-del{position:absolute;top:6px;right:6px;width:34px;height:34px;border-radius:10px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.cline-del:hover{background:#f6e5e2;color:var(--red)}
.cline-del .i{width:18px;height:18px}
@media (max-width:380px){.cline{grid-template-columns:1fr}.cline-side{flex-direction:row;align-items:center;justify-content:space-between}}
.link-btn{align-self:center;border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:14px;padding:10px;cursor:pointer}
.cfoot-total{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;color:var(--ink-2)}
.cfoot-total b{font-size:22px;color:var(--sage-900);font-variant-numeric:tabular-nums}
.cempty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:40px 10px;color:var(--muted)}
.cempty .i{width:48px;height:48px;color:var(--gold)}

.cstep-q{font-family:var(--f-serif);font-weight:400;font-size:24px;line-height:1.25;text-align:center;margin:4px 0 2px}
.ctypes{display:grid;gap:10px}
.ctype{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border-radius:18px;border:1px solid var(--line-2);background:#fff;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .2s,box-shadow .2s,transform .15s}
.ctype:hover{border-color:var(--sage-700);box-shadow:0 6px 18px rgba(34,56,43,.1)}
.ctype:active{transform:scale(.99)}
.ctype-ic{flex:none;width:52px;height:52px;border-radius:14px;background:var(--sage-100);display:grid;place-items:center;font-size:27px;line-height:1}
.ctype-tx{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.ctype-tx b{font-size:17px;color:var(--sage-900)}
.ctype-tx span{font-size:13.5px;color:var(--muted);line-height:1.4}
.ctype > .i{color:var(--gold-ink);width:20px;height:20px}

.csheet .field label,.field-label{font-size:13.5px;font-weight:500;color:var(--ink-2)}
.csheet .field input,.csheet .field textarea{width:100%;min-height:50px;border-radius:12px;border:1px solid var(--line-2);background:#fff;padding:12px 14px;font-size:16px;line-height:1.4;-webkit-appearance:none;appearance:none}
.csheet .field textarea{min-height:76px;resize:vertical}
.csheet .field input:focus,.csheet .field textarea:focus{outline:none;border-color:var(--sage-700);box-shadow:0 0 0 4px rgba(82,109,86,.16)}
.csheet .field input[aria-invalid=true]{border-color:var(--red-2);box-shadow:0 0 0 3px rgba(168,58,51,.14)}
.csheet .field input[type=time]{margin-top:8px;display:block;min-width:0}
.csheet .field input[hidden]{display:none}
.field-hint{font-size:12.5px;color:var(--muted)}
.input-table{font-size:30px!important;font-weight:700;text-align:center;letter-spacing:.06em;min-height:64px!important;max-width:180px}
.seg-sm{margin:0}
.seg-sm span{min-height:40px;font-size:14px}
.cnote{font-size:13.5px;color:var(--muted);line-height:1.5}
.csum{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.csum-table{font-size:20px;font-weight:700;color:var(--sage-900);margin-bottom:8px}
.csum-list{display:grid;gap:6px;font-size:14.5px}
.csum-list li{display:flex;justify-content:space-between;gap:12px}
.csum-name{min-width:0}
.csum-sum{white-space:nowrap;color:var(--ink-2);font-variant-numeric:tabular-nums}
.csum-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line-2);font-weight:600}
.csum-total b{font-size:20px;color:var(--sage-900)}

.cdone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:10px 0 4px}
.cdone-mark{width:72px;height:72px;border-radius:50%;background:var(--sage-800);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 6px rgba(212,176,99,.25);animation:pop .45s var(--ease)}
.cdone-mark .i{width:38px;height:38px;stroke-width:2.4}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.cdone-title{font-family:var(--f-serif);font-weight:400;font-size:28px;margin-top:6px}
.cdone-num{font-size:24px;font-weight:700;color:var(--sage-900)}
.cdone-table{display:inline-block;padding:6px 16px;border-radius:999px;background:var(--gold-3);color:#5d4516;font-weight:700;font-size:17px}
.cdone p{max-width:34ch}
.csum-done{width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px}
.btn-wa{background:var(--wa);color:#fff;margin-top:8px;box-shadow:0 10px 24px rgba(31,157,85,.25)}
.btn-wa:hover{background:#188a4a;color:#fff}
.btn-wa .i{width:20px;height:20px}
.kicker-light{color:var(--gold-3)}
.input-table::placeholder{color:#b9b4a8;font-weight:400}
.cdone~.csum-total{padding:0 4px}

/* Золото логотипа как на вывеске: градиент на знаке и надписи */
.brand-defs{position:absolute;width:0;height:0;overflow:hidden}
.logo .emblem-band{stroke:url(#mrhGold)}
.logo .emblem-cut{display:inline;stroke:rgba(255,255,255,.35)}
.logo .emblem > g:last-of-type,.logo .emblem > path{fill:url(#mrhGold);stroke:url(#mrhGold)}
.logo-name{background:linear-gradient(160deg,#f0dca6 0%,#c69b3f 38%,#e7cd8c 62%,#9d7026 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.logo-name{color:var(--gold-ink);-webkit-text-fill-color:currentColor}}
.logo-light .emblem-cut{stroke:rgba(20,40,28,.45)}
.logo-light .logo-name{background:linear-gradient(160deg,#fbeec4 0%,#d9b463 40%,#f2dfae 65%,#b98f3c 100%);-webkit-background-clip:text;background-clip:text}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.logo-light .logo-name{color:var(--gold-3);-webkit-text-fill-color:currentColor}}
.logo-rule{width:118px;height:10px;margin-top:5px;color:var(--gold-ink);opacity:.9}
.logo-light .logo-rule{color:var(--gold-2)}
.hero-band-mark .emblem-band{stroke:rgba(212,176,99,.22)}
.about-mark .emblem-band{stroke:url(#mrhGold);opacity:.9}

/* =========================================================
   ПРАВКИ ПО ЗАМЕЧАНИЯМ: первый экран и подвал
   ========================================================= */

/* 1. Первый экран: фотографии больше не наезжают на зелёную полосу «Меню» */
.hero-art{max-width:620px}
.hero-band{width:19%;top:-8%;bottom:-8%;border-radius:0 0 0 0;box-shadow:0 18px 40px rgba(31,46,35,.18)}
.hero-band span{font-size:clamp(30px,3.9vw,52px)}
.plate{border:5px solid var(--paper);box-shadow:0 0 0 1px rgba(184,145,63,.35),0 26px 50px rgba(31,35,30,.18)}
.plate-1{width:60%;height:60%;left:2%;top:15%}
.plate-2{width:31%;height:31%;left:6%;bottom:2%;border-width:5px}
.plate-3{width:29%;height:29%;right:23%;top:1%;border-width:5px}
@media (max-width:900px){
  .hero-art{max-width:480px;margin-top:14px}
  .hero-band{width:17%;top:6%;bottom:2%;border-radius:16px 16px 0 0}
  .plate-1{width:62%;height:62%;left:0;top:16%}
  .plate-2{width:32%;height:32%;left:4%;bottom:0}
  .plate-3{width:30%;height:30%;right:21%;top:0}
}
@media (max-width:480px){
  .hero-art{max-width:360px}
  .plate{border-width:4px}
  .hero-band span{font-size:26px}
}

/* 2. Подвал: убираем «шум» текстуры и поднимаем контраст текста */
.footer{background:var(--sage-900);background-image:none;color:#e8eee5;font-size:15px}
.footer::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;
  background:var(--texture) repeat;background-size:640px;opacity:.05;mix-blend-mode:screen}
.footer > *{position:relative;z-index:1}
.footer-grid{gap:44px}
.footer-brand p{color:#dfe7dc;margin-top:8px;line-height:1.6}
.footer a{color:#f1f6ee;text-decoration-color:rgba(241,246,238,.35)}
.footer a:hover{color:var(--gold-3)}
.footer-nav{gap:6px 24px}
.footer-nav a{padding:7px 0;font-size:15px;color:#e8eee5;border-bottom:1px solid rgba(255,255,255,.07)}
.footer-nav a:hover{border-bottom-color:rgba(212,176,99,.6)}
.footer-legal{font-size:13.5px;line-height:1.6;color:#d6dfd2;gap:10px}
.footer-legal p:first-child{color:#fff;font-weight:600;font-size:14.5px}
.footer-legal a{text-decoration:underline;text-underline-offset:3px}
.footer-star{opacity:.05;color:var(--gold-2)}
.footer-mini{font-size:14px;color:#e8eee5}
@media (max-width:560px){
  .footer{padding-top:44px;text-align:left}
  .footer-grid{gap:30px}
}

/* =========================================================
   АКЦИИ
   ========================================================= */
.promos{padding:56px 0 8px}
.promo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.promo{display:flex;flex-direction:column;overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-1);position:relative}
.promo::after{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-2),var(--gold-3))}
.promo-ph{aspect-ratio:16/10;background:#d9d6cf;overflow:hidden}
@supports not (aspect-ratio:16/10){.promo-ph{height:0;padding-bottom:62%;position:relative}.promo-ph img{position:absolute;top:0;left:0}}
.promo-ph img{width:100%;height:100%;object-fit:cover}
.promo-body{display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px;flex:1}
.b-promo{background:var(--gold);color:#fff;align-self:flex-start;height:24px;font-size:11px}
.promo-title{font-family:var(--f-serif);font-weight:400;font-size:24px;line-height:1.2;color:var(--sage-900)}
.promo-text-body{font-size:15px;line-height:1.6;color:var(--ink-2);flex:1}
.promo-foot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:4px;padding-top:12px;border-top:1px dashed var(--line-2)}
.promo-price{font-size:22px;font-weight:600;color:var(--sage-900);white-space:nowrap}
.promo-price s{font-size:15px;font-weight:400;color:var(--muted);margin-left:6px}
.promo-period{font-size:13.5px;color:var(--gold-ink);font-weight:500}
.promo.promo-text .promo-body{padding-top:22px}
@media (max-width:640px){
  .promos{padding:40px 0 4px}
  .promo-grid{gap:12px}
  .promo-title{font-size:21px}
  .promo-body{padding:16px 16px 18px}
}
