@font-face {
  font-family: Manrope;
  src: url("/static/fonts/Manrope.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/fonts/CormorantGaramond-cyr.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/fonts/CormorantGaramond-lat.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/fonts/CormorantGaramond-lat-ext.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Marck Script";
  src: url("/static/fonts/MarckScript.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #120e0c;
  --paper: #241812;
  --ink: #f4eadc;
  --soft: #c9b5a2;
  --line: rgba(228, 196, 150, 0.28);
  --stamp: #0e0b09;
  --field: #1a1412;
  --ember: #c4312a;
  --ember-deep: #8d1d18;
  --gold: #e4b15a;
  --olive: #3d4a38;
  --navy: #1c3348;
  --clay: #6e3b2e;
  --danger: #ffb4b4;
  --ok: #b7e0c4;
  --shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.65);
  --sans: Manrope, "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Palatino, Georgia, serif;
  --script: "Marck Script", "Segoe Script", cursive;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(body.desk-counter) { scroll-behavior: auto; scroll-padding-bottom: 7.5rem; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(820px 380px at 50% -12%, rgba(196, 49, 42, 0.28), transparent 58%),
    radial-gradient(640px 320px at 100% 0%, rgba(228, 177, 90, 0.12), transparent 52%),
    var(--bg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .logo-word, .tile-title {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.hero h1, .page-head h1 { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin: 0 0 0.6rem; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.86; margin-bottom: 0.55rem; max-width: 8.2em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
h3 { font-size: 1.7rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
main { flex: 1 0 auto; }
body.desk main { padding-bottom: 2.5rem; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--stamp); color: var(--ink);
  padding: 0.6rem 0.8rem; z-index: 30;
}
.skip:focus { top: 0.6rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 14, 12, 0.94);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(27, 20, 15, 0.08); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-mark { width: 108px; height: 40px; object-fit: contain; flex: none; display: block; }
.logo-flame { width: 90px; height: 34px; object-fit: contain; flex: none; display: block; }
@media (hover: hover) {
  .logo:hover .logo-mark { transform: translateY(-2px); }
}
.logo-word { font-size: 1.15rem; }
.site-nav { display: flex; gap: 1.1rem; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 700; transition: color 0.35s var(--ease); }
.site-nav a[aria-current="page"] { color: var(--gold); }
@media (hover: hover) {
  .site-nav a:hover { color: var(--gold); }
}
.cart-link {
  display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 800;
  background: var(--ember); color: #fffaf3; border-radius: 999px; padding: 0.48rem 0.5rem 0.48rem 0.65rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.cart-icon { width: 1.35rem; height: 1.35rem; display: block; }
@media (hover: hover) {
  .cart-link:hover { transform: translateY(-2px); background: var(--ember-deep); }
  .nav-toggle:hover { background: rgba(244, 234, 220, 0.08); }
}
.cart-count { background: var(--ember); color: white; border-radius: 999px; min-width: 1.4rem; text-align: center; font-size: 0.85rem; }
.nav-toggle { display: none; }

.notice {
  background: #3a2a14; color: var(--ink); border: 1px solid var(--gold); border-radius: 16px; padding: 0.85rem 1rem; margin: 1rem 0;
}
.flash {
  position: fixed; z-index: 40; top: 1rem; left: 50%;
  width: min(36rem, calc(100% - 2rem)); margin: 0; transform: translateX(-50%);
  background: #3a2a14; color: var(--ink); border: 1px solid var(--gold); border-radius: 16px;
  padding: 0.85rem 1rem; box-shadow: var(--shadow);
}
.flash-bad, .field-error { color: var(--danger); }
.field-error { margin: 0.35rem 0 0; font-size: 0.92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 1rem 0 0; margin: 0; color: var(--soft); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; }
.crumbs a { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: end; padding: 1.6rem 0 2.5rem; }
.hero-copy, .hero-media { min-width: 0; }
.eyebrow { font-family: var(--script); font-size: 1.45rem; font-weight: 400; color: var(--gold); margin-bottom: 0.35rem; letter-spacing: 0; text-transform: none; }
.lede { font-size: 1.18rem; max-width: 42rem; color: var(--soft); }
.lede.tight { margin-top: 0.8rem; }
.hero-actions, .account-tools { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.facts li { background: var(--paper); border-radius: 16px; padding: 0.8rem; }
.facts strong { display: block; font-family: var(--sans); font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.facts span { color: var(--soft); font-size: 0.92rem; }
.hero-media img {
  width: 100%; height: min(70vh, 620px); object-fit: cover; border-radius: 28px 28px 90px 28px; box-shadow: var(--shadow);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-media figcaption, figure figcaption { margin-top: 0.45rem; color: var(--soft); font-size: 0.92rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.15rem;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease);
}
.btn-primary { background: var(--ember); color: #fffaf3; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { background: var(--ember-deep); }
}
.btn-ghost { background: transparent; border-color: rgba(244, 234, 220, 0.45); color: var(--ink); }
.btn-light { background: #f4eadc; color: #1b140f; }
.btn-small { min-height: 40px; padding: 0.35rem 0.8rem; }
.text-btn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

.section { padding: 1.2rem 0 2rem; }
.map-block { padding-bottom: 0.4rem; }
.map-frame-wrap { border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.map-frame { display: block; width: 100%; height: 420px; border: 0; }
.courier-map { margin: 0 0 1rem; }
.courier-map .btn { margin-top: 0.75rem; }
.courier-address { margin: 0.35rem 0; font-weight: 800; }
.courier-card h2 { font-size: 1.45rem; }
.delivery-fields { display: grid; gap: 0.9rem; }
.delivery-fields[hidden] { display: none; }
.delivery-map, .delivery-preview { height: 320px; border-radius: 18px; overflow: hidden; background: var(--paper); }
.delivery-status { margin: 0; font-weight: 700; }
.delivery-status.is-bad { color: var(--danger); }
.delivery-fields { overflow: visible; }
.address-field { position: relative; z-index: 8; }
.address-suggest {
  position: absolute; z-index: 9; left: 0; right: 0; top: calc(100% - 0.35rem);
  margin: 0; padding: 0.35rem; list-style: none;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.address-suggest[hidden] { display: none; }
.address-suggest button {
  display: block; width: 100%; min-height: 0; margin: 0; padding: 0.65rem 0.75rem;
  border: 0; border-radius: 8px; background: transparent; color: inherit;
  font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.address-suggest button:hover, .address-suggest button:focus { background: #3a2a14; outline: none; }
.map-block .fine { margin: 0.7rem 0 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; margin-top: 0.8rem; }
.map-actions a:not(.btn) { color: var(--gold); }
.contact-photo { margin: 0.4rem 0 1rem; }
.contact-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 28px; }
.contact-end { margin: 1.4rem 0 0.2rem; }
.captcha-holder { position: fixed; z-index: 80; left: 0; bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; padding-bottom: 0.45rem; border-bottom: 1px solid rgba(228, 177, 90, 0.4); }
.again {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  background: var(--paper); border-radius: 20px; padding: 1.1rem 1.2rem;
}
.again ul { list-style: none; padding: 0; margin: 0.5rem 0 0; color: var(--soft); }
.again form { margin: 0; }
.order-list li { display: flex; gap: 0.6rem; align-items: stretch; margin-bottom: 0.6rem; }
.order-list li form { display: flex; align-items: center; margin: 0; }
.tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.8rem; }
.tile {
  min-height: 180px; border-radius: var(--radius); padding: 1.2rem; color: var(--ink); text-decoration: none;
  border: 1px solid rgba(228, 177, 90, 0.35);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-6px); box-shadow: 0 28px 50px rgba(48, 24, 10, 0.18); }
}
.tile-menu { grid-row: span 2; min-height: 380px; background: #6e1c18; }
.tile-about { background: #2a1c16; }
.tile-account { background: #3a2418; }
.tile-legal { background: #241812; grid-column: 2 / span 2; }
.tile-contacts { background: #4a2c22; grid-column: 3; grid-row: 1; }
.tile-kicker { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; font-weight: 800; }
.tile-title { font-size: clamp(1.8rem, 3vw, 3rem); }
.tile-text { max-width: 28ch; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card {
  background: var(--paper); border: 1px solid rgba(228, 177, 90, 0.32); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px rgba(48, 24, 10, 0.16); }
}
.card-media { overflow: hidden; display: block; }
.card-media img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.8s var(--ease); }
.photo-wait {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-height: 240px; margin: 0; padding: 1.2rem; text-align: center;
  background: #1a1411; color: var(--gold);
  font-family: var(--display); font-size: 1.7rem; line-height: 1.15;
}
.product-media > .photo-wait { min-height: 420px; }
.cart-photo .photo-wait { min-height: 96px; font-size: 1rem; padding: 0.6rem; }
@media (hover: hover) {
  .card:hover .card-media img { transform: scale(1.06); }
}
.card-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card-body .eyebrow { font-size: 2rem; line-height: 1; margin: 0; }
.card-body h3 { font-size: 1.85rem; line-height: 1.15; margin: 0; }
.card-body h3 a, .cart-row h2 a, .section-head a { text-decoration: none; }
.muted, .fine { color: var(--soft); }
.fine { font-size: 0.92rem; }
.meta-line { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.meta-line strong, .price-lg, .cart-line { color: var(--gold); font-family: var(--sans); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.steps li { background: var(--paper); border: 1px solid rgba(228, 177, 90, 0.28); border-radius: var(--radius); padding: 1rem; }
.steps span { font-family: var(--display); color: var(--ember); }
.band, .register-band, .register-inline {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: var(--stamp); color: var(--ink); border: 1px solid rgba(228, 177, 90, 0.28); border-radius: 28px; padding: 1.4rem; margin: 1rem 0 2rem;
}
.band p, .register-band p, .register-inline p { color: #f0e4d4; }
.review-ask {
  background: var(--paper); border: 1px solid rgba(228, 177, 90, 0.35); border-radius: 22px;
  padding: 1.2rem 1.2rem 1.3rem; margin: 1.2rem 0 2rem;
}
.review-ask p { max-width: 42rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.review-grid article {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
  padding: 0.9rem; border-radius: 16px; background: var(--field);
}
.review-grid h3 { margin: 0; }
.review-grid img { width: 180px; height: 180px; object-fit: contain; background: #fff; border-radius: 12px; padding: 0.45rem; }
.qr-preview { width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 12px; padding: 0.35rem; margin: 0 0 0.8rem; }
@media (max-width: 700px) {
  .review-grid { grid-template-columns: 1fr; }
}
.cats ul { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; }
.cats a, .cat-nav a {
  display: inline-flex; text-decoration: none; background: var(--paper); border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 800;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.4s var(--ease);
}
@media (hover: hover) {
  .cats a:hover, .cat-nav a:hover { transform: translateY(-2px); background: #3a2a18; }
}
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.cat-nav a[aria-current="page"] { background: var(--ember); color: #fffaf3; }

.page-head { padding: 1.4rem 0 0.4rem; }
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.4rem; align-items: center; margin: 1.4rem 0; }
.story figure { margin-left: 0; margin-right: 0; }
.story img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; transition: transform 0.8s var(--ease); }
@media (hover: hover) {
  .story:hover img { transform: scale(1.04); }
}
.story-flip figure { order: 2; }
.story-plain { grid-template-columns: 1fr; max-width: 42rem; }
.register-band { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.register-band img { height: 100%; min-height: 280px; object-fit: cover; border-radius: 0; }
.register-band div { padding: 1.4rem; }
.prose h2, .prose h3 { margin: 1.2rem 0 0.5rem; }
.legal { max-width: 48rem; }
.doc-links { list-style: none; padding: 0; margin: 0.4rem 0 1.4rem; display: grid; gap: 0.55rem; }
.doc-links a {
  display: flex; align-items: center; min-height: 52px; padding: 0.75rem 1rem;
  border-radius: 16px; border: 1px solid rgba(228, 177, 90, 0.35);
  background: var(--paper); text-decoration: none; font-weight: 800;
}
.page-head .eyebrow a { color: inherit; text-decoration: none; }
.reqs { display: grid; gap: 0.6rem; margin: 0; }
.reqs div { display: grid; grid-template-columns: 11rem 1fr; gap: 0.6rem; }
.reqs dt { color: var(--soft); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; }

.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.4rem; padding-top: 1rem; }
.product-media > img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.7rem; }
.product-thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: 14px; background: transparent; cursor: pointer;
}
.product-thumbs button[aria-current="true"] { border-color: var(--ember); }
.product-thumbs img { width: 84px; height: 68px; object-fit: cover; border-radius: 12px; display: block; }
.price-lg { font-family: var(--sans); font-weight: 800; font-size: 1.8rem; }
.price-lg span { font-family: var(--sans); font-size: 1rem; color: var(--soft); font-weight: 600; }
.buy { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin: 1rem 0; }
.card-buy { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-top: 0.35rem; }
.card-buy [hidden] { display: none !important; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field); }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty input { width: 2.6rem; margin: 0; min-height: 42px; padding: 0; border: 0; text-align: center; font: inherit; font-weight: 800; background: transparent; pointer-events: none; user-select: none; caret-color: transparent; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type="number"] { appearance: textfield; }
.qty-form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.25rem; align-items: start; padding-bottom: 2rem; }
.cart-list, .order-list, .order-items, .summary ul { list-style: none; padding: 0; margin: 0; }
.cart-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  grid-template-areas:
    "photo copy price"
    "photo qty trash"
    "undo undo undo";
  gap: 0.55rem 0.9rem;
  align-items: center;
  background: var(--paper); border-radius: 18px; padding: 0.85rem; margin-bottom: 0.7rem;
}
.cart-photo { grid-area: photo; }
.cart-photo img { width: 120px; height: 96px; object-fit: cover; border-radius: 14px; display: block; }
.cart-copy { grid-area: copy; min-width: 0; }
.cart-row h2 { font-size: 1.2rem; line-height: 1.25; }
.cart-copy p { margin: 0.2rem 0 0; }
.cart-row .qty-form { grid-area: qty; margin: 0; }
.cart-line { grid-area: price; justify-self: end; white-space: nowrap; }
.icon-btn {
  grid-area: trash; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 14px;
  background: var(--ember); color: white; cursor: pointer;
  box-shadow: 0 10px 18px -12px rgba(140, 46, 16, 0.9);
}
.trash-icon { width: 1.45rem; height: 1.45rem; display: block; }
@media (hover: hover) {
  .icon-btn:hover { background: var(--ember-deep); }
}
.cart-row [hidden] { display: none !important; }
.cart-row.is-leaving { opacity: 0.72; }
.cart-undo { grid-area: undo; display: flex; align-items: center; gap: 0.75rem; margin-top: 0.15rem; }
.cart-undo-track { flex: 1; height: 8px; border-radius: 99px; background: #3a2a18; overflow: hidden; }
.cart-undo-bar { display: block; height: 100%; width: 100%; background: var(--ember); transform-origin: left center; }
.summary, .form {
  background: var(--paper); border-radius: var(--radius); padding: 1rem 1.1rem 1.15rem; box-shadow: var(--shadow);
}
.form { margin: 0 0 1.5rem; }
.form > .btn { margin-top: 0.85rem; }
.split { margin-top: 2rem; }
.summary li, .order-items li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.empty { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; margin: 1rem 0 2rem; }
.form fieldset { border: 1px solid var(--line); border-radius: 16px; margin: 0 0 1rem; padding: 0.8rem; }
.form legend { font-weight: 800; padding: 0 0.3rem; }
.field { margin-bottom: 0.9rem; }
label { display: block; font-weight: 800; }
input, select, textarea {
  width: 100%; margin-top: 0.3rem; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--field); padding: 0.65rem 0.75rem; font: inherit; color: var(--ink);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(196, 73, 29, 0.14); }
select {
  appearance: none;
  padding-right: 2.8rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 9.5 12 15l5.5-5.5' fill='none' stroke='%23f4eadc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15rem;
}
.password-field { position: relative; display: block; margin-top: 0.3rem; }
.password-field input { margin-top: 0; padding-right: 3.1rem; }
.password-toggle {
  position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--soft); cursor: pointer;
}
.password-toggle svg { width: 1.35rem; height: 1.35rem; display: block; }
.password-toggle .eye-off { display: none; }
.password-field.is-shown .password-toggle .eye-on { display: none; }
.password-field.is-shown .password-toggle .eye-off { display: block; }
@media (hover: hover) {
  .password-toggle:hover { color: var(--ink); }
}
input[type="file"] { padding: 0.45rem 0.6rem; background: var(--paper); }
.photo-grid { list-style: none; padding: 0; margin: 0 0 0.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.photo-tile, .photo-add { position: relative; width: 8.6rem; height: 8.6rem; }
.photo-tile { border-radius: 16px; overflow: hidden; background: #3a2a18; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-badge {
  position: absolute; left: 0.4rem; bottom: 0.4rem; z-index: 1;
  background: var(--stamp); color: var(--ink); font-size: 0.72rem; font-weight: 800;
  padding: 0.15rem 0.45rem; border-radius: 999px;
}
.photo-remove {
  position: absolute; top: 0.4rem; right: 0.4rem; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px;
  background: var(--ember); color: white; cursor: pointer;
}
.photo-remove .trash-icon { width: 1.15rem; height: 1.15rem; }
.photo-tile.is-dropped img { opacity: 0.28; filter: grayscale(0.8); }
.photo-tile.is-dropped::after {
  content: "Убрано"; position: absolute; left: 0.45rem; right: 0.45rem; bottom: 0.45rem;
  text-align: center; font-weight: 800; font-size: 0.82rem; color: var(--ink);
}
.photo-tile.is-dropped .photo-remove {
  width: auto; height: 32px; padding: 0 0.6rem; background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink);
}
.photo-tile.is-dropped .photo-remove .trash-icon { display: none; }
.photo-tile.is-dropped .photo-remove::before { content: "Вернуть"; font: inherit; font-size: 0.75rem; font-weight: 800; }
.photo-add label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  width: 100%; height: 100%; margin: 0; border: 1.5px dashed var(--ember); border-radius: 16px;
  background: var(--paper); color: var(--ember-deep); cursor: pointer; text-align: center;
}
.photo-plus { font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.photo-add input {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.photo-status { margin: 0 0 0.4rem; font-weight: 700; }
.library-grid { list-style: none; padding: 0; margin: 0.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.library-pick, .library-manage li {
  display: flex; flex-direction: column; gap: 0.35rem; width: 8.6rem; margin: 0; font-weight: 700;
}
.library-pick { cursor: pointer; }
.library-pick img, .library-manage img {
  width: 8.6rem; height: 6.4rem; object-fit: cover; border-radius: 16px; background: #3a2a18; display: block;
}
.library-pick span, .library-manage span { font-size: 0.82rem; line-height: 1.2; overflow-wrap: anywhere; }
.library-open {
  display: flex; flex-direction: column; gap: 0.25rem; align-items: flex-start;
  padding: 0; border: 0; background: none; color: var(--gold);
  font: inherit; font-weight: 800; cursor: zoom-in; text-align: left;
}
.library-name { color: var(--ink); }
.image-viewer {
  width: min(72rem, calc(100% - 2rem)); max-height: calc(100% - 2rem);
  border: 0; border-radius: 22px; padding: 1rem; background: var(--paper); color: var(--ink);
}
.image-viewer::backdrop { background: rgba(18, 14, 12, 0.82); }
.image-viewer img {
  display: block; width: 100%; max-height: calc(100vh - 10rem);
  object-fit: contain; background: #120e0c; border-radius: 16px;
}
.image-viewer-bar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 0.8rem; }
.image-viewer-bar p { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.image-viewer-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
html:not(.no-js) .library-pick input {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.library-pick.is-chosen img, .library-pick:has(input:checked) img { outline: 3px solid var(--ember); outline-offset: 2px; }
.library-manage { margin-top: 1.6rem; }
.import-box { margin: 0 0 2rem; padding: 1.1rem 1.2rem 1.3rem; background: var(--paper); border: 1px solid rgba(228, 177, 90, 0.35); border-radius: 22px; }
.import-box h2 { margin-top: 0; }
.import-errors { margin: 1rem 0 0; color: var(--ink); }
.import-errors li { margin: 0.25rem 0; }
.library-manage .fine, .library-manage form { margin: 0; }
html:not(.no-js) .photo-drop {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}
html.no-js .photo-remove, html.no-js .photo-badge { display: none; }
@media (hover: hover) {
  .photo-remove:hover { background: var(--ember-deep); }
  .photo-tile.is-dropped .photo-remove:hover { background: var(--paper); color: var(--ember-deep); }
  .photo-add label:hover { background: #3a2a18; }
}
textarea { min-height: 120px; resize: vertical; }
.choice { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.45rem 0; font-weight: 600; }
.choice input { width: auto; min-height: 0; margin-top: 0.25rem; }
.form-narrow { max-width: 38rem; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.order-list li a {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr auto; gap: 0.6rem; align-items: center; flex: 1;
  text-decoration: none; background: var(--paper); border-radius: 16px; padding: 0.9rem 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
@media (hover: hover) {
  .order-list li a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.order-id { font-family: var(--display); }
.track { display: flex; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.track li { flex: 1; text-align: center; color: var(--soft); font-size: 0.92rem; }
.track li::before {
  content: ""; display: block; height: 8px; border-radius: 99px; background: #3a2a18; margin-bottom: 0.4rem; }
  transform-origin: left center; animation: grow 0.7s var(--ease) both;
}
.track li:nth-child(2)::before { animation-delay: 0.12s; }
.track li:nth-child(3)::before { animation-delay: 0.24s; }
.track li:nth-child(4)::before { animation-delay: 0.36s; }
.track li:nth-child(5)::before { animation-delay: 0.48s; }
.track li.done::before, .track li.current::before { background: var(--ember); }
.track li.current { color: var(--ink); font-weight: 800; }
.register-inline { flex-wrap: wrap; margin-bottom: 0; }
.register-inline p { margin: 0; flex: 1 1 18rem; }
.register-inline .btn { flex: 0 0 auto; white-space: nowrap; }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem max(1rem, calc((100% - 1120px) / 2)) calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--stamp); color: #f6efe4;
  box-shadow: 0 -12px 30px rgba(27, 20, 15, 0.2);
}
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--gold); }
.cookie-bar form { margin: 0; flex: none; }
.cookie-bar .btn { white-space: nowrap; }
body.has-cookie .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (hover: hover) {
  .cookie-bar a:hover { color: #fffaf3; }
}
@media (max-width: 700px) {
  .cookie-bar { flex-direction: column; align-items: stretch; }
  body.has-cookie .site-footer { padding-bottom: calc(9rem + env(safe-area-inset-bottom)); }
}

.site-footer { background: var(--stamp); color: #f6efe4; margin-top: 2rem; padding: 2rem 0 1rem; border-top: 1px solid rgba(228, 177, 90, 0.35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1rem; }
.footer-grid a, .footer-bottom a { display: block; color: #f6efe4; text-decoration: none; margin: 0.25rem 0; transition: color 0.35s var(--ease); }
@media (hover: hover) {
  .footer-grid a:hover, .footer-bottom a:hover { color: var(--gold); }
}
.footer-title { font-weight: 800; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.2rem; padding-top: 0.8rem; font-size: 0.92rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero, .story, .product, .split, .account-grid, .footer-grid, .register-band, .again { grid-template-columns: 1fr; }
  .story-flip figure { order: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile-menu, .tile-legal, .tile-contacts { grid-row: auto; grid-column: auto; min-height: 180px; }
  .cards, .steps ol, .facts { grid-template-columns: 1fr; }
  .header-inner { gap: 0.55rem; }
  .logo { min-width: 0; }
  .logo-mark { width: 92px; height: 34px; }
  .logo-word { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; margin-left: auto; padding: 0; color: var(--ink);
    background: transparent; border: 1.5px solid var(--ink); border-radius: 999px;
  }
  .cart-link { flex: none; }
  .nav-icon { width: 1.2rem; height: 1.2rem; display: block; }
  .site-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 5;
    width: auto; height: 0; overflow: hidden;
    background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.35rem 0 calc(1rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }
  .site-nav a {
    display: flex; align-items: center; min-height: 48px;
    padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  }
  .site-nav.is-open, .no-js .site-nav {
    height: calc(100dvh - 64px);
    overflow: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .hero-media img, .story img, .product-media > img { height: 280px; }
  .product-thumbs img { width: 72px; height: 58px; }
  .map-frame { height: 300px; }
  .order-list li a, .reqs div, .facts div { grid-template-columns: 1fr; }
  .cart-row {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    grid-template-areas:
      "photo copy price"
      "qty qty trash"
      "undo undo undo";
    gap: 0.7rem 0.75rem;
    align-items: center;
  }
  .cart-photo img { width: 84px; height: 84px; }
  .cart-row h2 { font-size: 1.05rem; }
  .cart-line { align-self: start; padding-top: 0.15rem; }
  .footer-bottom { flex-direction: column; }
}

html.is-held { scroll-behavior: auto; }
html.is-held:not(.is-placed) { visibility: hidden; }
html.is-held .page-head,
html.is-held .hero-copy > *,
html.is-held .hero-media,
html.is-held .flash { animation: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.75s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
  .hero-media { animation: rise 0.9s var(--ease) 0.12s both; }
  .page-head { animation: rise 0.65s var(--ease) both; }
  .will-reveal:not(.is-in) { opacity: 0; }
  .will-reveal.is-in {
    animation: rise 0.6s var(--ease) both;
    animation-delay: var(--d, 0ms);
  }
  .will-reveal.is-settled { animation: none; }
}

@keyframes rise {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal { opacity: 1 !important; }
}

.field .hint {
  display: block; margin-top: 0.2rem; font-weight: 600; color: var(--soft); line-height: 1.4;
}
body.desk .desk-header {
  background: rgba(18, 14, 12, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(27, 20, 15, 0.7);
}
body.desk .flash {
  position: static; left: auto; width: auto; transform: none;
  margin: 0.85rem 0 0;
}
.desk-nav { padding: 0.55rem 0; }
.desk-bar, .desk-picks, .desk-tools, .desk-secondary {
  display: flex; align-items: center; gap: 0.45rem;
}
.desk-bar { gap: 0.85rem; min-height: 48px; }
.desk-picks { flex: 1; min-width: 0; flex-wrap: wrap; }
.desk-secondary { flex: none; }
.desk-tools { margin-left: auto; flex: none; }
.desk-tools form, .desk-logout, .desk-menu, .desk-link { margin: 0; }
.desk-link, .desk-menu summary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font: inherit; font-weight: 800; color: var(--ink); text-decoration: none; cursor: pointer;
  background: #2a1c16; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.42rem 0.9rem; list-style: none;
}
.desk-menu { position: relative; }
.desk-menu summary::-webkit-details-marker { display: none; }
.desk-menu summary::marker { content: none; }
.desk-menu summary::after {
  content: ""; width: 0.42rem; height: 0.42rem; margin-left: 0.15rem;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-0.12rem) rotate(45deg);
}
.desk-menu[open] summary::after { transform: translateY(0.1rem) rotate(225deg); }
.desk-menu-here { color: var(--gold); font-weight: 700; }
.desk-menu-here::before { content: "·"; margin-right: 0.4rem; color: var(--soft); font-weight: 800; }
.desk-menu:has(a[aria-current="page"]) > summary,
.desk-link.is-here { border-color: rgba(228, 177, 90, 0.75); }
.desk-link.is-here { color: var(--gold); }
.desk-menu summary:focus-visible, .desk-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.desk-menu-panel {
  position: absolute; z-index: 40; top: calc(100% + 0.4rem); left: 0; min-width: 15rem;
  display: grid; gap: 0.15rem; padding: 0.4rem;
  background: #1a1411; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.desk-menu-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
  padding: 0.6rem 0.75rem; border-radius: 12px;
}
.desk-menu-panel a:hover { background: #2a1c16; }
.desk-menu-panel a[aria-current="page"] { background: #3a2a22; color: var(--gold); }
.desk-menu-panel a[aria-current="page"]::after {
  content: "вы здесь"; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); font-weight: 800;
}
.desk-kicker {
  display: block; width: 100%; font-size: 0.78rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--soft); font-weight: 800;
}
.desk-pause { color: #1b140f; border-color: #e3b4b4; background: #fff6f4; }
@media (hover: hover) {
  .desk-pause:hover { background: #f8e4e4; color: var(--danger); }
}
@media (max-width: 720px) {
  .desk-bar { flex-wrap: wrap; }
  .desk-logout { order: 2; margin-left: auto; }
  .desk-tools { order: 3; flex: 1 0 100%; margin-left: 0; }
  .desk-picks { order: 4; flex: 1 0 100%; }
}
.board-block { margin-top: 1.5rem; }
.board-block h2 { font-size: 1.45rem; margin: 0 0 0.75rem; }
.order-board { display: grid; gap: 0.9rem; align-items: stretch; }
.order-board .empty { margin: 0; }
.desk-card {
  background: var(--paper); border-radius: 20px; padding: 1rem 1.1rem; margin: 0.9rem 0;
  box-shadow: var(--shadow);
}
.order-board .desk-card {
  display: flex; flex-direction: column; height: 100%; margin: 0;
}
.desk-card .desk-status { margin-top: auto; }
.desk-moves { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; }
.desk-moves form { margin: 0; }
.desk-card.is-fresh { animation: fresh 1.1s var(--ease); }
@keyframes fresh {
  from { box-shadow: 0 0 0 3px var(--ember); }
}
@media (min-width: 1200px) {
  .order-board { grid-template-columns: 1fr 1fr; }
}
.desk-card-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.desk-card h2 { font-family: var(--display); font-size: 1.8rem; margin: 0.1rem 0 0; }
.desk-card h2 a { color: inherit; text-decoration: none; }
.desk-card h2 a:hover { color: var(--gold); }
.desk-facts {
  display: grid; grid-template-columns: 9.25rem minmax(0, 1fr);
  gap: 0.45rem 0.85rem; align-items: baseline; margin: 0.9rem 0 0.2rem;
}
.desk-facts > div { display: contents; }
.desk-facts dt { margin: 0; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--soft); font-weight: 800; }
.desk-facts dd { margin: 0; min-width: 0; font-weight: 700; overflow-wrap: break-word; }
.status { margin: 0; padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 800; background: #f6efe4; color: #1b140f; }
.status-menu { position: relative; }
.status-menu-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(27, 20, 15, 0.12);
}
.status-caret {
  width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.status-menu-btn[aria-expanded="true"] .status-caret { transform: rotate(225deg) translateY(-1px); }
.status-menu-panel {
  position: absolute; z-index: 8; right: 0; top: calc(100% + 0.45rem);
  min-width: 16rem; padding: 0.4rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.status-menu-panel form { margin: 0; }
.status-option {
  display: block; width: 100%; text-align: left; border: 0; cursor: pointer;
  background: transparent; color: var(--ink); font: inherit; font-weight: 800;
  padding: 0.7rem 0.8rem; border-radius: 12px;
}
.status-option:focus-visible { background: #f8e4d4; color: var(--ember-deep); outline: none; }
@media (hover: hover) {
  .status-option:hover { background: #f8e4d4; color: var(--ember-deep); outline: none; }
}
.status-option[aria-selected="true"] { background: var(--ember); color: #fffaf3; }
.desk-card:has(.status-menu-btn[aria-expanded="true"]) { position: relative; z-index: 4; }
.status-accepted { background: #fff4d8; color: #1b140f; }
.status-cooking { background: #f8d7c8; color: #8d1d18; }
.status-ready { background: #e5f0e4; color: #1b140f; }
.status-paid, .status-done, .status-issued { background: #e7f2ea; color: #1b140f; }
.status-cancelled { background: #f8e4e4; color: #8d2a2a; }
.status-delivering { background: #e4eef6; color: #1c3348; }
.desk-status { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.desk-actions form { margin: 0; }
.desk-cancel { margin-top: 0.8rem; max-width: 28rem; }
.desk-period { display: grid; gap: 0.8rem; margin: 0.6rem 0 1rem; }
.desk-period fieldset { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 0.85rem; background: var(--paper); }
.desk-period legend { font-weight: 800; padding: 0 0.3rem; }
.desk-dates { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: end; }
.desk-dates .field { margin: 0; min-width: 12rem; }
.desk-list { list-style: none; padding: 0; margin: 0.4rem 0 1.2rem; }
.people-list li { align-items: center; flex-wrap: wrap; }
.people-list a { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; color: inherit; text-decoration: none; }
.people-list a span, .facts dd { color: var(--soft); }
.facts { margin: 0 0 1.2rem; }
.facts div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 0.4rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(48, 24, 10, 0.08); }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; }
.row-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.desk-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  background: var(--paper); border-radius: 14px; padding: 0.85rem 1rem; margin: 0.45rem 0;
}
.desk-row-head { background: transparent !important; box-shadow: none; color: var(--soft); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 800; padding-bottom: 0; }
.counter-menu { margin-top: 0.4rem; }
.counter-menu .field { margin-bottom: 0.8rem; }
.counter-group { margin: 0 0 0.85rem; }
.counter-group h2 {
  margin: 0.15rem 0 0.4rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft);
}
.counter-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 0.7rem;
  overflow-anchor: none;
}
.counter-card {
  display: flex; flex-direction: column; min-height: 8.4rem; box-sizing: border-box;
  padding: 0.9rem 0.95rem 0.8rem; border-radius: 16px; background: var(--paper);
  overflow-anchor: none;
}
.counter-card.is-in { box-shadow: inset 0 0 0 1.5px var(--ember); }
.counter-minus, .counter-plus, .counter-lines button { touch-action: manipulation; }
.counter-minus:focus-visible, .counter-plus:focus-visible, .counter-lines button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.counter-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0; font-weight: 800; font-size: 1.2rem; line-height: 1.2;
}
.counter-price {
  margin: 0.4rem 0 0.75rem; color: var(--gold);
  font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.counter-controls {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center; gap: 0.45rem; margin-top: auto;
}
.counter-minus, .counter-plus {
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 999px;
  font: inherit; font-size: 1.55rem; font-weight: 800; line-height: 1; cursor: pointer;
}
.counter-minus { background: #3a2a22; color: #fffaf3; }
.counter-plus { background: var(--ember); color: #fffaf3; }
.counter-qty { text-align: center; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.counter-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 1.25rem; align-items: start;
}
.counter-lines { list-style: none; margin: 0.4rem 0 0.8rem; padding: 0; display: grid; gap: 0.55rem; overflow-anchor: none; }
.counter-lines li {
  display: grid; gap: 0.4rem; margin: 0; padding: 0.55rem 0.65rem;
  background: #1a1411; border-radius: 12px;
}
.counter-line-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.counter-line-name { min-width: 0; font-weight: 800; }
.counter-line-sum { flex: none; color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter-line-step { display: flex; align-items: center; gap: 0.45rem; }
.counter-line-qty { min-width: 1.4rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.counter-lines button {
  width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 999px;
  background: #3a2a22; color: #fffaf3; font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer;
}
.counter-lines button[data-step="1"] { background: var(--ember); }
.counter-lines button:disabled, .counter-minus:disabled, .counter-plus:disabled { opacity: 0.45; cursor: default; }
.counter-order {
  position: sticky; top: 5.6rem; max-height: calc(100dvh - 18rem); overflow: auto;
  margin: 0; align-self: start;
}
.counter-order-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.counter-order-head h2 { margin: 0; }
.counter-order-head .btn { flex: none; margin: 0; }
body.desk-counter { padding-bottom: calc(14.5rem + env(safe-area-inset-bottom)); }
body.desk-counter.counter-delivery-open { padding-bottom: calc(min(78dvh, 52rem) + env(safe-area-inset-bottom)); }
body.desk-counter.counter-delivery-open .counter-order { max-height: calc(100dvh - 23rem); }
.counter-checkout {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: flex-end; gap: 0.8rem;
  max-height: min(78dvh, 52rem); overflow: auto;
  padding: 0.75rem max(1rem, calc((100% - 1120px) / 2)) calc(0.75rem + env(safe-area-inset-bottom));
  background: #1a1411; border-top: 1px solid var(--line);
}
.counter-due { grid-column: 1 / -1; margin: 0; white-space: nowrap; font-weight: 800; }
.counter-due strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.counter-place {
  display: grid; grid-template-columns: minmax(12rem, 0.9fr) minmax(12rem, 0.8fr) auto;
  gap: 0.65rem 0.7rem; align-items: end; flex: 1; min-width: 0; margin: 0;
}
.counter-mode {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; align-items: center;
  border: 0; margin: 0; padding: 0; min-width: 0;
}
.counter-mode legend { padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--soft); }
.counter-mode .choice { margin: 0; }
.counter-place .field { min-width: 0; margin: 0; }
.counter-place .btn { margin: 0; white-space: nowrap; }
.counter-place .notice, .counter-place [data-counter-fee] { grid-column: 1 / -1; margin: 0; }
.counter-delivery { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 0.65rem 0.7rem; }
.counter-delivery[hidden] { display: none; }
.counter-delivery .delivery-map,
.counter-delivery .delivery-preview,
.counter-delivery .map-frame-wrap,
.counter-delivery .delivery-status,
.counter-delivery .notice { grid-column: 1 / -1; }
.counter-delivery .delivery-map,
.counter-delivery .delivery-preview { height: 240px; }
.counter-delivery .address-suggest { top: auto; bottom: calc(100% + 0.25rem); }
@media (max-width: 980px) {
  .counter-layout { grid-template-columns: 1fr; }
  .counter-order { position: static; max-height: none; }
}
@media (max-width: 800px) {
  body.desk-counter { padding-bottom: calc(24rem + env(safe-area-inset-bottom)); }
  body.desk-counter.counter-delivery-open { padding-bottom: calc(min(82dvh, 56rem) + env(safe-area-inset-bottom)); }
  .counter-checkout { align-items: stretch; }
  .counter-due { margin: 0; }
  .counter-place, .counter-delivery { grid-template-columns: 1fr; }
}
.table-card { margin: 0 0 1.4rem; }
.table-card h2 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.report-note { color: var(--soft); margin: 0 0 0.7rem; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.desk-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.desk-table th, .desk-table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.desk-table th { font-size: 0.75rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--soft); }
.desk-table th.num, .desk-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.desk-table tr:last-child td { border-bottom: 0; }
.desk-table tr.total td { font-weight: 800; border-top: 1px solid var(--line); }
.desk-table .hint { color: var(--soft); }
.desk-table a { font-weight: 800; }
.timeline-note { margin: 0.2rem 0 0; color: var(--soft); font-size: 0.88rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.stat-grid p { background: var(--paper); border-radius: 16px; padding: 1rem; margin: 0; box-shadow: var(--shadow); }
.stat-grid strong { display: block; font-family: var(--display); font-size: 1.6rem; }
.stat-grid span { color: var(--soft); }
.pickup-code { font-size: 1.25rem; }
.desk-form { max-width: 46rem; }
form.desk-form:has(.desk-save) { padding-bottom: 5.25rem; }
.desk-save {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 0.7rem max(1rem, calc((100% - 1120px) / 2)) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; }
.desk-form .hint, .form .hint { margin-bottom: 0.35rem; }
.offer-panel { margin: 0.15rem 0 0.85rem 1.7rem; }
.offer-panel[hidden] { display: none; }
.offer-kind .choice, .offer-match .choice { margin-top: 0.7rem; }
.cashier-delete { margin: 1.4rem 0 0; }
.closed-bar {
  background: var(--stamp); color: var(--ink); text-align: center;
  padding: 0.85rem 1rem;
}
.closed-bar p { margin: 0; font-weight: 800; }
.cook-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.cook-lines li { font-size: 1.2rem; }
.cook-lines strong { font-variant-numeric: tabular-nums; }
.push-ask {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: var(--paper); border: 1px solid rgba(228, 177, 90, 0.35); border-radius: 22px;
  padding: 1.2rem 1.2rem 1.3rem; margin: 1.2rem 0 2rem;
}
.push-ask h2 { margin: 0 0 0.35rem; }
.push-ask p { margin: 0.35rem 0 0; max-width: 40rem; }
.push-ask .btn { flex: 0 0 auto; }
.pay-box { display: grid; gap: 0.85rem; justify-items: start; margin: 0 0 1.75rem; }
.pay-box form { margin: 0; }
.pay-host {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.order-alarm {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 1.25rem; background: rgba(18, 14, 12, 0.94); overflow: auto;
}
.order-alarm[hidden] { display: none; }
body.alarm-open { overflow: hidden; }
.order-alarm-card {
  width: min(40rem, 100%); background: var(--paper); color: var(--ink);
  border-radius: 28px; padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 0 0 2px var(--gold), 0 24px 80px rgba(0, 0, 0, 0.45);
}
.order-alarm-card h2 {
  font-family: var(--display); font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 0.9; margin: 0.15rem 0 0.6rem; color: var(--gold);
}
.order-alarm-lead { margin: 0 0 1rem; font-size: 1.05rem; }
.order-alarm-accept { width: 100%; margin-top: 0.4rem; min-height: 3.4rem; font-size: 1.15rem; }
.confirm-dialog {
  width: min(28rem, calc(100% - 2rem));
  border: 0; border-radius: 22px; padding: 1.35rem 1.35rem 1.15rem;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.confirm-dialog::backdrop { background: rgba(27, 20, 15, 0.55); }
.confirm-dialog h2 { margin: 0 0 0.45rem; font-size: 1.7rem; }
.confirm-dialog p { margin: 0 0 1.1rem; }
.confirm-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; }
.confirm-actions form { margin: 0; }
@media (max-width: 900px) {
  .stat-grid, .field-pair { grid-template-columns: 1fr; }
  .desk-facts { grid-template-columns: 7.25rem minmax(0, 1fr); }
}

@media print {
  .site-header, .site-footer, .cookie-bar, .closed-bar, .no-print, .btn, .desk-save, .pay-host { display: none !important; }
  body { background: white; }
  .summary { box-shadow: none; }
}
