
/* Layout: sticky header + category rail over one long menu page; cart as a side drawer (desktop) / sheet (phone); checkout and info are separate views. Single warm light look taken from the logo. */
:root{
  --bg:#FAF2E0; --surface:#FFFAF1; --surface-2:#F3E6D3; --line:#E6D5BD;
  --ink:#3F1A0C; --ink-2:#6F5445; --accent:#B4461E; --accent-ink:#8C3414;
  --green:#2F7A3A; --danger:#B3261E; --shade:rgba(63,26,12,.48);
  --display:'Lora',Georgia,'Times New Roman',serif;
  --body:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --r-lg:22px; --r-md:16px; --r-sm:12px;
  --gutter:16px; --hdr-h:120px;
  color-scheme:light;
}
@media (min-width:760px){:root{--gutter:32px}}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:var(--accent)}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
h1,h2,h3{text-wrap:balance}
.wrap{max-width:1280px;margin-inline:auto;padding-inline:var(--gutter)}
.num{font-variant-numeric:tabular-nums}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* demo strip */
.demo{background:var(--ink);color:#F6E8D2;font-size:13px;text-align:center;padding:6px var(--gutter)}

/* header */
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;background:var(--surface);border-bottom:1px solid var(--line)}
.hdr-row{display:flex;align-items:center;gap:20px;height:76px}
.logo{display:flex;flex-shrink:0}
.logo img{height:52px;width:auto;display:block}
.search{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:48px;padding-inline:18px;border-radius:24px;background:var(--surface-2);color:var(--ink-2)}
.search input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:16px;color:var(--ink)}
.search input::placeholder{color:var(--ink-2)}
.search:focus-within{outline:2px solid var(--accent)}
.clear-q{border:0;background:transparent;color:var(--ink-2);width:28px;height:28px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.status{display:flex;flex-direction:column;gap:1px;flex-shrink:0;font-size:14px}
.status b{display:flex;align-items:center;gap:7px;color:var(--green);font-weight:600}
.status b::before{content:"";width:8px;height:8px;border-radius:4px;background:currentColor}
.status.closed b{color:var(--accent-ink)}
.status span{font-weight:700;font-size:16px;user-select:all}
.cart-btn{flex-shrink:0;height:48px;padding:0 18px;border-radius:24px;border:0;background:var(--ink);color:#fff;font-weight:700;display:flex;align-items:center;gap:10px}
.cart-btn .cnt{min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:var(--accent);font-size:13px;display:flex;align-items:center;justify-content:center}
.cart-btn .cnt:empty{display:none}
.hdr-search-m{display:none;padding-bottom:10px}
@media (max-width:1023px){.status{display:none}}
@media (max-width:759px){
  .hdr-row{height:60px;gap:10px}
  .logo img{height:40px}
  .hdr-row .search{display:none}
  .hdr-search-m{display:block}
  .hdr-search-m .search{height:44px}
  .cart-btn{height:40px;padding:0 12px;font-size:14px;gap:6px}
  .info-link{margin-left:auto}
}
.info-link{flex-shrink:0;color:var(--ink);font-weight:500;text-decoration:none;padding:10px 4px}
.info-link .sm{display:none}
[hidden]{display:none!important}
@media (max-width:759px){.info-link{font-size:14px}.info-link .lg{display:none}.info-link .sm{display:inline}}

/* category rail */
.rail{position:sticky;z-index:25;top:calc(env(safe-area-inset-top,0px) + var(--hdr-h));background:var(--surface);border-bottom:1px solid var(--line)}
.rail-in{display:flex;align-items:center;gap:8px;height:60px}
.all-btn{flex-shrink:0;height:40px;padding:0 16px 0 12px;border-radius:20px;border:0;background:var(--ink);color:#FFFAF1;font-weight:600;display:flex;align-items:center;gap:8px}
.chips{flex:1;min-width:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;--fl:0px;--fr:0px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 var(--fl),#000 calc(100% - var(--fr)),transparent 100%)}
.chips.fade-l{--fl:36px}.chips.fade-r{--fr:48px}
.chips{scroll-snap-type:x mandatory}.chip{scroll-snap-align:start}
.chips::-webkit-scrollbar{display:none}
.chip{flex-shrink:0;height:40px;padding:0 14px;border-radius:20px;border:0;background:transparent;font-weight:500;white-space:nowrap}
.chip:hover{background:var(--surface-2)}
.chip[aria-current="true"]{background:var(--surface-2);color:var(--accent-ink);font-weight:600}
.rail-arrow{flex-shrink:0;width:40px;height:40px;border-radius:20px;border:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:center}
@media (max-width:759px){.rail-arrow{display:none}.chip{background:var(--surface-2)}.rail-in{height:56px}}

/* hero */
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding-block:48px 56px}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.hero h1{font-family:var(--display);font-weight:600;font-size:clamp(36px,5.2vw,64px);line-height:1.05;margin:14px 0 18px}
.hero h1 em{color:var(--accent)}
.hero p{font-size:19px;color:var(--ink-2);max-width:34em;margin:0}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{height:52px;padding:0 26px;border-radius:26px;border:0;font-weight:600;font-size:16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-ink)}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn-ghost:hover{background:var(--surface-2)}
.perk{margin-top:28px;display:flex;gap:14px;align-items:center;padding:14px 18px;border-radius:var(--r-md);background:var(--surface-2);max-width:480px}
.perk strong{font-family:var(--display);font-size:28px;color:var(--accent);line-height:1}
.perk span{font-size:15px;color:var(--ink)}
.hero-pic{position:relative;padding:0 0 28px 28px}
.hero-pic::before{content:"";position:absolute;left:0;bottom:0;right:28px;top:28px;border-radius:28px;background-color:#F2DFC8;background-image:linear-gradient(90deg,rgba(180,70,30,.17) 50%,transparent 50%),linear-gradient(rgba(180,70,30,.17) 50%,transparent 50%);background-size:26px 26px}
.hero-pic img{position:relative;display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:24px;box-shadow:0 20px 40px rgba(63,26,12,.18)}
@media (max-width:859px){.hero{grid-template-columns:1fr;gap:28px;padding-block:24px 36px}.hero p{font-size:17px}.hero-pic{order:-1;padding:0 0 16px 16px}.hero-pic::before{right:16px;top:16px}}

/* sections & cards */
.sec{padding-block:20px 12px;scroll-margin-top:calc(var(--hdr-h) + 72px)}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}
.sec-h h2{font-family:var(--display);font-weight:600;font-size:clamp(26px,3vw,36px);margin:0;line-height:1.15}
.sec-h small{color:var(--ink-2);font-size:15px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1099px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:759px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;min-width:0}
.card-pic{position:relative;display:block;width:100%;aspect-ratio:3/2;border:0;padding:0;background:var(--surface-2)}
.card-pic img{width:100%;height:100%;object-fit:cover;display:block}
.ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--surface-2);color:var(--ink-2);font-size:12px}
.ph img{width:44%;height:auto;opacity:.55;object-fit:contain}
.badge{position:absolute;left:10px;top:10px;padding:4px 10px;border-radius:12px;background:var(--surface);font-size:12px;font-weight:600}
.badge.hit{color:var(--accent-ink)}.badge.new{color:var(--green)}
.card-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px;flex:1}
.card-name{border:0;background:none;padding:0;text-align:left;font-weight:600;font-size:16px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.card-name:hover{color:var(--accent-ink)}
.card-w{font-size:14px;color:var(--ink-2)}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}
.price{font-weight:700;font-size:19px}
.add{height:44px;padding:0 16px;border-radius:22px;border:0;background:var(--surface-2);color:var(--accent-ink);font-weight:600;display:flex;align-items:center;gap:6px}
.add:hover{background:var(--accent);color:#fff}
.step{display:flex;align-items:center;height:44px;border-radius:22px;background:var(--accent);color:#fff}
.step button{width:40px;height:44px;border:0;background:transparent;color:#fff;font-size:20px;font-weight:600;display:flex;align-items:center;justify-content:center}
.step output{min-width:22px;text-align:center;font-weight:700}
@media (max-width:759px){
  .card-body{padding:10px 12px 12px}.card-name{font-size:14px}.card-w{font-size:13px}.price{font-size:16px}
  .add{width:44px;padding:0;justify-content:center}.add .lbl{display:none}
  .step button{width:32px}
}
.empty{padding:48px 0 80px;text-align:center;color:var(--ink-2)}
.empty h2{font-family:var(--display);color:var(--ink);font-weight:600}

/* how-to strip */
.how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:28px 8px}
.how div{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px 22px}
.how b{display:block;font-family:var(--display);font-size:20px;font-weight:600;margin-bottom:4px}
.how p{margin:0;color:var(--ink-2);font-size:15px}
.how .k{color:var(--accent);font-family:var(--display);font-weight:700;font-size:15px;letter-spacing:.04em}
@media (max-width:759px){.how{grid-template-columns:1fr;gap:10px}}

/* footer */
.foot{background:var(--ink);color:#E4D2BA;margin-top:56px;padding-block:44px calc(44px + env(safe-area-inset-bottom,0px))}
.foot a{color:#F6E8D2}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px;font-size:15px}
.foot-grid div{display:flex;flex-direction:column;gap:8px}
.foot-grid b{color:#FFFAF1}
.foot img{height:64px;width:auto;align-self:flex-start}
.req{border-top:1px solid rgba(255,250,241,.16);margin-top:32px;padding-top:18px;font-size:13px;color:#C9B399}
@media (max-width:859px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:519px){.foot-grid{grid-template-columns:1fr}}

/* bottom cart bar (phone) */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:28;padding:10px var(--gutter) calc(12px + env(safe-area-inset-bottom,0px));background:rgba(255,250,241,.96);border-top:1px solid var(--line);display:none}
.bar button{width:100%;height:54px;border-radius:27px;border:0;background:var(--accent);color:#fff;font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:space-between;padding:0 22px}
@media (max-width:759px){body.has-cart .bar{display:block}body.has-cart main{padding-bottom:84px}}

/* overlays */
.shade{position:fixed;inset:0;z-index:40;background:var(--shade);opacity:0;pointer-events:none;transition:opacity .2s}
.shade.on{opacity:1;pointer-events:auto}
.drawer{position:fixed;z-index:41;top:0;right:0;bottom:0;width:min(440px,100%);background:var(--surface);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease;padding-top:env(safe-area-inset-top,0px)}
.drawer.on{transform:none}
.dr-h{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.dr-h h2{font-family:var(--display);font-weight:600;font-size:26px;margin:0}
.x{width:44px;height:44px;border-radius:22px;border:0;background:var(--surface-2);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dr-body{flex:1;overflow-y:auto;padding:8px 20px 20px}
.line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding-block:14px;border-bottom:1px solid var(--line)}
.line .thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.line .thumb img{width:100%;height:100%;object-fit:cover}
.line .thumb .ph img{width:70%}
.line b{font-weight:600;font-size:15px;line-height:1.3;display:block}
.line small{display:block;color:var(--ink-2);font-size:13px}
.line .lp{font-weight:700;margin-top:2px}
.line .step{height:38px;background:var(--surface-2);color:var(--ink)}
.line .step button{color:var(--ink);width:34px;height:38px}
.upsell h3{font-size:15px;margin:22px 0 10px}
.ups{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.ups button{flex-shrink:0;width:132px;text-align:left;border:1px solid var(--line);background:var(--bg);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.ups b{font-size:13px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ups span{font-size:13px;color:var(--ink-2)}
.ups em{font-style:normal;font-weight:700;font-size:14px;color:var(--accent-ink)}
.dr-foot{border-top:1px solid var(--line);padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px}
.row{display:flex;justify-content:space-between;gap:12px}
.hint{font-size:14px;color:var(--green);font-weight:500}
.dr-foot .btn{width:100%}

/* dish dialog: phones/tablets = one column; desktop with options = info left, options right */
dialog{border:0;padding:0;background:var(--surface);color:var(--ink);border-radius:26px;width:min(560px,calc(100% - 32px));max-height:calc(100% - 48px);overflow:hidden}
dialog:has(.dish.has-opts){width:min(940px,calc(100% - 32px))}
dialog::backdrop{background:var(--shade)}
.dish{display:flex;flex-direction:column;max-height:calc(100vh - 48px);overflow-y:auto}
.dish-pic{padding:14px 14px 0}
.dish-pic img{width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;display:block;border-radius:18px;background:var(--surface-2)}
.dish-pic .ph{aspect-ratio:3/2;border-radius:18px}
.dish-top{padding:18px 24px 6px;display:flex;flex-direction:column;gap:8px}
.dish-top h2{font-family:var(--display);font-size:28px;font-weight:600;line-height:1.15;margin:0}
.dish-top p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.5;white-space:pre-line}
.dish-top a{font-size:14px;align-self:flex-start}
.dish-side{display:flex;flex-direction:column}
.dlg-x{position:absolute;top:24px;right:24px;z-index:2;background:rgba(255,250,241,.92);box-shadow:0 2px 8px rgba(63,26,12,.15)}
.opts{border:0;margin:0;padding:10px 24px 4px;display:flex;flex-direction:column;gap:8px}
.opts legend{font-weight:600;padding:0;margin-bottom:8px}
.opts-hint{font-weight:400;color:var(--ink-2);font-size:13px;margin-left:4px}
.opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.opt:has(input:checked){border-color:var(--accent);background:#FBEADF}
.opt input{accent-color:var(--accent);width:18px;height:18px;margin:0}
.opt span{flex:1}
.opt small{color:var(--ink-2)}
.dish-foot{margin-top:auto;padding:16px 24px 20px;display:flex;gap:12px;align-items:center;position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line)}
.dish-foot .step{background:var(--surface-2);color:var(--ink)}
.dish-foot .step button{color:var(--ink)}
.dish-foot .btn{flex:1}
@media (min-width:1000px){
  .dish.has-opts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
  .dish.has-opts .dish-main{overflow-y:auto;max-height:calc(100vh - 48px);padding-bottom:20px;scrollbar-width:none}
  .dish.has-opts .dish-main::-webkit-scrollbar{display:none}
  .dish.has-opts .dish-side{overflow-y:auto;max-height:calc(100vh - 48px);border-left:1px solid var(--line);padding-top:62px}
  .dish.has-opts .dish-pic{padding:20px 20px 0}
  .dish.has-opts .dish-top{padding:18px 28px 0}
  .dish.has-opts .opts{padding:6px 28px 4px}
  .dish.has-opts .dish-foot{padding:16px 28px 22px}
  .dlg-x{top:16px;right:16px}
  dialog:has(.dish.has-opts) .dlg-x{background:var(--surface-2);box-shadow:none}
}
@media (max-width:759px){
  dialog,dialog:has(.dish.has-opts){width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:92vh}
  .dish{max-height:92vh}
  .dish-pic{padding:10px 10px 0}
  .dish-top{padding:14px 18px 6px}.dish-top h2{font-size:24px}
  .opts{padding:8px 18px 4px}
  .dish-foot{padding:14px 18px calc(16px + env(safe-area-inset-bottom,0px))}
  .dlg-x{top:18px;right:18px}
}

/* all categories panel */
.cats-panel{position:fixed;z-index:41;left:50%;top:var(--panel-top,calc(env(safe-area-inset-top,0px) + var(--hdr-h) + 61px));transform:translate(-50%,-8px);width:min(1216px,calc(100% - 2 * var(--gutter)));background:var(--surface);border-radius:0 0 24px 24px;box-shadow:0 24px 48px rgba(63,26,12,.22);padding:22px 24px 26px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.cats-panel.on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.cats-panel h2{font-family:var(--display);font-weight:600;font-size:26px;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center}
.cats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px}
.cat-row{display:flex;align-items:center;gap:12px;height:64px;padding:0 12px;border-radius:14px;border:0;background:transparent;text-align:left}
.cat-row:hover{background:var(--surface-2)}
.cat-row .ci{width:48px;height:48px;border-radius:24px;flex-shrink:0;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--accent)}
.cat-row:hover .ci{background:var(--accent);color:#FFFAF1}
.cat-row span{flex:1;font-weight:600}
.cat-row small{color:var(--ink-2)}
@media (max-width:759px){
  .cats-panel{top:auto;bottom:0;left:0;width:100%;transform:translateY(100%);border-radius:24px 24px 0 0;max-height:86vh;overflow-y:auto;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px))}
  .cats-panel.on{transform:none}
  .cats-grid{grid-template-columns:1fr 1fr;gap:8px}
  .cat-row{height:60px;background:var(--bg);border:1px solid var(--line);padding:0 10px;gap:10px}
  .cat-row .ci{width:40px;height:40px}.cat-row .ci svg{width:22px;height:22px}
  .cat-row span{font-size:14px;line-height:1.25}
  .cat-row small{display:none}
}

/* checkout */
.co{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start;padding-block:28px 24px}
@media (max-width:959px){.co{grid-template-columns:1fr}}
.back{display:inline-flex;align-items:center;gap:6px;margin-top:22px;color:var(--ink);font-weight:500;text-decoration:none}
.co h1{font-family:var(--display);font-weight:600;font-size:clamp(30px,4vw,42px);margin:8px 0 0}
.box{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:22px 24px;margin:0 0 16px;min-width:0}
.box legend{float:left;width:100%;padding:0;margin-bottom:14px;font-family:var(--display);font-size:22px;font-weight:600}
.box legend+*{clear:both}
.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:559px){.seg{grid-template-columns:1fr}}
.seg label{display:flex;flex-direction:column;gap:4px;padding:16px;border:1.5px solid var(--line);border-radius:16px;cursor:pointer;position:relative}
.seg label:has(input:checked){border-color:var(--accent);background:#FBEADF}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg label:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
.seg b{font-size:17px;display:flex;justify-content:space-between;gap:8px}
.seg .tag{background:var(--accent);color:#fff;font-size:13px;border-radius:10px;padding:2px 8px;font-weight:600}
.seg small{color:var(--ink-2);font-size:14px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.fields .full{grid-column:1/-1}
@media (max-width:559px){.fields{grid-template-columns:1fr}}
.f{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.f input,.f select,.f textarea{height:48px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);padding:0 14px;font-size:16px;font-weight:400}
.f textarea{height:84px;padding:12px 14px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{outline:none;border-color:var(--accent)}
.f .err{color:var(--danger);font-size:13px;font-weight:500}
.f.bad input{border-color:var(--danger)}
.note{font-size:14px;color:var(--ink-2);margin:12px 0 0}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin-top:4px}
.consent input{accent-color:var(--accent);width:18px;height:18px;margin-top:2px}
.sum{position:sticky;top:calc(var(--hdr-h) + 16px)}
.sum .row{padding-block:5px;font-size:15px}
.sum .tot{font-size:20px;font-weight:700;border-top:1px solid var(--line);margin-top:8px;padding-top:12px}
.sum ul{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.sum li{display:flex;justify-content:space-between;gap:10px}
.sum li span{min-width:0}
.sum .btn{width:100%;margin-top:14px;height:56px;font-size:17px}
.disc{color:var(--green)}
.proto-note{font-size:13px;color:var(--ink-2);text-align:center;margin:10px 0 0}

/* done */
.done{max-width:720px;margin-inline:auto;padding-block:40px 20px;text-align:center}
.done .ok{width:72px;height:72px;border-radius:36px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.done h1{font-family:var(--display);font-weight:600;font-size:clamp(30px,4vw,44px);margin:0}
.done>p{color:var(--ink-2);font-size:17px}
.track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:28px 0;text-align:left}
.track div{padding:16px;border-radius:16px;background:var(--surface);border:1.5px solid var(--line);font-size:14px;color:var(--ink-2)}
.track b{display:block;color:var(--ink);font-size:16px}
.track .on{border-color:var(--green)}
.track .on b{color:var(--green)}
@media (max-width:559px){.track{grid-template-columns:1fr}}
.done .box{text-align:left}

/* info */
.info{padding-block:28px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.info h1{grid-column:1/-1;font-family:var(--display);font-weight:600;font-size:clamp(30px,4vw,44px);margin:0 0 6px}
.info .box{margin:0}
.info h2{font-family:var(--display);font-weight:600;font-size:24px;margin:0 0 8px}
.info p{margin:0 0 10px;color:var(--ink-2)}
.info .accent-box{background:var(--ink);color:#F6E8D2;border:0}
.info .accent-box h2{color:#FFFAF1}.info .accent-box p{color:#E4D2BA}
.copy{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.copy strong{font-size:22px;user-select:all}
.copy button{height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}
.copy button:hover{background:#fff}
@media (max-width:759px){.info{grid-template-columns:1fr}}

.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);z-index:60;background:var(--ink);color:#FFFAF1;padding:12px 18px;border-radius:14px;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px)}
.toast.on{opacity:1;transform:translate(-50%,0)}
@media (min-width:760px){.toast{bottom:28px}}

/* ---- site additions on top of the prototype styles ---- */
a.chip{display:inline-flex;align-items:center;text-decoration:none;color:var(--ink)}
a.card-pic{display:block}
a.card-name{color:var(--ink);text-decoration:none}
.search{margin:0}
.search button.go{border:0;background:transparent;color:var(--ink-2);display:flex;align-items:center;padding:0}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--ink-2);padding-top:22px}
.crumbs a{color:var(--ink-2);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
.page-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:10px 0 22px;flex-wrap:wrap}
.page-h h1{font-family:var(--display);font-weight:600;font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0}
.page-h small{color:var(--ink-2);font-size:15px}

/* home: category tiles */
.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
@media (max-width:1099px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:759px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.tile{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none;min-height:76px}
.tile:hover{border-color:var(--accent)}
.tile .ci{width:46px;height:46px;border-radius:23px;flex-shrink:0;background:var(--surface-2);color:var(--accent);display:flex;align-items:center;justify-content:center}
.tile:hover .ci{background:var(--accent);color:#FFFAF1}
.tile b{display:block;font-weight:600;line-height:1.25}
.tile small{color:var(--ink-2);font-size:13px}
@media (max-width:759px){.tile{padding:10px 12px;gap:10px;min-height:64px}.tile .ci{width:40px;height:40px}.tile .ci svg{width:22px;height:22px}.tile b{font-size:14px}}
.more-row{display:flex;justify-content:center;margin-top:22px}

/* product page */
.pp{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:start;padding-bottom:24px}
@media (max-width:859px){.pp{grid-template-columns:1fr;gap:20px}}
.pp-pic{border-radius:24px;overflow:hidden;background:var(--surface-2);aspect-ratio:3/2}
.pp-pic img{width:100%;height:100%;object-fit:cover;display:block}
.pp-pic .ph{height:100%}
.pp h1{font-family:var(--display);font-weight:600;font-size:clamp(28px,3.4vw,40px);line-height:1.12;margin:0 0 8px}
.pp .desc{color:var(--ink-2);margin:14px 0;white-space:pre-line}
.pp .price-big{font-size:28px;font-weight:700}
.pp .old{color:var(--ink-2);text-decoration:line-through;font-size:18px;margin-left:8px;font-weight:500}
.pp-buy{display:flex;gap:12px;align-items:center;margin-top:18px;flex-wrap:wrap}
.pp-buy .btn{min-width:220px}
.pp .opts{padding:10px 0 4px}
.old-price{color:var(--ink-2);text-decoration:line-through;font-size:13px;font-weight:500;margin-left:6px}

/* done page status */
.status-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:14px;background:var(--surface-2);font-weight:600;font-size:14px}
.status-pill.ok{background:#E3F1E5;color:var(--green)}
.status-pill.wait{background:#FBEADF;color:var(--accent-ink)}
.done .items{list-style:none;padding:0;margin:0 0 10px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.done .items li{display:flex;justify-content:space-between;gap:10px}

.form-err{background:#FBE3E1;color:var(--danger);border-radius:12px;padding:12px 14px;font-size:14px;margin:0 0 12px}
.btn[disabled]{opacity:.6;pointer-events:none}
.legal{max-width:760px}
.legal h2{font-family:var(--display);font-weight:600}

/* orders paused */
.off-box{display:flex;gap:16px;align-items:flex-start;margin:24px 0 40px;padding:22px 24px;border-radius:var(--r-lg);background:#FBEADF;border:1.5px solid var(--accent);max-width:760px}
.off-box h2{font-family:var(--display);font-weight:600;font-size:24px;margin:0 0 6px}
.off-box p{margin:0;color:var(--ink)}
.off-ic{width:52px;height:52px;border-radius:26px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.off-box--sm{margin:0;padding:14px 16px;gap:10px}
.off-box--sm b{display:block;margin-bottom:4px}
.off-box--sm p{font-size:14px}
@media (max-width:559px){.off-box{flex-direction:column}}

/* closed side panels must not widen the page (iOS lets the page pan sideways) */
html{overflow-x:hidden}
@supports (overflow:clip){html{overflow-x:clip}}
.drawer{visibility:hidden}
.drawer.on{visibility:visible}
.drawer:not(.on){display:none}
.drawer.on{animation:vkSlideIn .22s ease}
@keyframes vkSlideIn{from{transform:translateX(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.drawer.on{animation:none}}

/* hero splash (shown until a photo is uploaded in the cabinet) */
.hero-art{position:relative;aspect-ratio:3/2;border-radius:24px;overflow:hidden;display:grid;place-items:center;background-color:#F7E8D3;background-image:radial-gradient(circle at 50% 50%,#FFFAF1 0 26%,rgba(255,250,241,.85) 38%,rgba(255,250,241,0) 64%),url(../images/doodles.svg);background-size:auto,220px 220px;box-shadow:0 20px 40px rgba(63,26,12,.18),inset 0 0 0 1px rgba(180,70,30,.12)}
.hero-art img{position:relative;width:56%;height:auto;aspect-ratio:1;object-fit:contain;box-shadow:none;border-radius:0;filter:drop-shadow(0 6px 14px rgba(63,26,12,.12));animation:heroIn .6s ease-out both}
.hero-tag{position:absolute;font-family:var(--display);font-style:italic;font-weight:600;font-size:clamp(14px,1.5vw,18px);color:var(--accent-ink);background:var(--surface);border-radius:999px;padding:8px 16px;box-shadow:0 6px 16px rgba(63,26,12,.12);white-space:nowrap}
.hero-tag.t1{left:5%;top:9%;transform:rotate(-5deg)}
.hero-tag.t2{right:5%;bottom:9%;transform:rotate(3deg)}
@keyframes heroIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@media (max-width:520px){.hero-tag{font-size:13px;padding:6px 11px}.hero-tag.t1{left:3%;top:6%}.hero-tag.t2{right:3%;bottom:6%}}

/* legal pages */
.legal{padding-block:24px 12px;max-width:860px}
.legal-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
.legal-tabs a{padding:9px 16px;border-radius:999px;background:var(--surface-2);color:var(--ink);text-decoration:none;font-weight:500;font-size:15px}
.legal-tabs a[aria-current]{background:var(--ink);color:var(--surface)}
.legal-doc{padding:28px 32px;line-height:1.6}
.legal-doc h1{font-family:var(--display);font-weight:600;font-size:clamp(28px,3.6vw,40px);line-height:1.15;margin:0 0 6px}
.legal-date{color:var(--ink-2);font-size:14px;margin:0 0 18px}
.legal-lead{background:var(--surface-2);border-radius:var(--r-md);padding:14px 18px;margin:0 0 8px}
.legal-doc h2{font-family:var(--display);font-weight:600;font-size:21px;margin:28px 0 8px;scroll-margin-top:calc(var(--hdr-h) + 12px)}
.legal-doc p{margin:0 0 10px}
.legal-doc ul{margin:0 0 10px;padding-left:22px}
.legal-doc li{margin-bottom:6px}
.legal-req{border-top:1px solid var(--line);margin-top:28px;padding-top:4px}
@media (max-width:599px){.legal-doc{padding:20px 18px}.legal-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}.legal-tabs a{white-space:nowrap;font-size:14px}}
