:root {
  color-scheme: light;
  --paper: #fdf1e1;
  --panel: #fff9ef;
  --paper-deep: #f2e4d0;
  --ink: #28281f;
  --muted: #66594d;
  --line: #e0cfb9;
  --wine: #75252e;
  --wine-deep: #571a22;
  --forest: #2d4335;
  --forest-dark: #203327;
  --gold: #b48752;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-height: calc(4.65rem + var(--safe-bottom));
  --shell: 1140px;
  font: 112.5%/1.48 var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
svg { flex: none; }
img { max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.11; }
h1 { font-size: clamp(2.2rem, 9vw, 3.8rem); letter-spacing: -.052em; color: var(--wine-deep); }
h2 { font-size: clamp(1.46rem, 6vw, 2.03rem); letter-spacing: -.04em; color: var(--wine-deep); }
h3 { font-size: clamp(1.09rem, 4.6vw, 1.34rem); letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
::selection { background: #e9d5b6; color: var(--wine-deep); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 28px, var(--shell)); margin-inline: auto; }
.loading { display: grid; justify-items: center; align-content: center; gap: 18px; min-height: 62vh; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(100% - 28px, var(--shell)); min-height: 67px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
}
.brand-link { display: grid; place-items: center; flex: none; line-height: 1; }
.brand { display: block; width: clamp(131px, 42vw, 173px); height: auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.preview-label { padding: 3px 7px; border-radius: 100px; background: #f1e4d2; color: #664d37; font-size: .79rem; font-weight: 600; }
.app-nav {
  position: fixed; inset: auto 0 0; z-index: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch; gap: 2px; min-height: var(--nav-height); padding: 5px 8px calc(5px + var(--safe-bottom));
  border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 -4px 16px #432d160b;
}
.app-nav-item {
  width: 100%; min-width: 0; min-height: 62px; padding: 4px 1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #584b40; background: transparent; border: 1px solid transparent; border-radius: 12px;
  font-size: .85rem; font-weight: 650; line-height: 1.15;
}
.app-nav-item:is([aria-current],.current-section) { color: var(--wine-deep); background: #efe0cb; }
.app-nav-item:hover:not(:is([aria-current],.current-section)) { background: #f5e7d6; }
.admin-nav-desktop { display: none; }
.admin-nav-mobile { padding-inline: 4px; }
.nav-symbol { position: relative; display: inline-flex; }
.nav-count { position: absolute; z-index: 1; top: -5px; left: 75%; min-width: 18px; padding: 2px 4px; border-radius: 12px; background: #8a2932; color: #fff; font-size: .71rem; line-height: 1.15; }
.admin-main .feature-icon, .admin-nav .app-nav-item:is([aria-current],.current-section) { color: var(--forest-dark); background: #e0e8d9; }
.admin-more-options { display: grid; gap: 8px; }
.admin-more-option { min-height: 56px; justify-content: stretch; display: grid; grid-template-columns: auto 1fr auto; text-align: left; font-size: 1rem; }
.admin-more-option[aria-current] { background: #e0e8d9; border-color: var(--forest); }
.admin-more-option .feature-icon { width: 39px; height: 39px; }
.site-footer {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
  padding: 19px 14px 26px; color: var(--muted); font-size: .79rem;
}
.site-header:has(.app-nav) ~ .site-footer { padding-bottom: calc(20px + var(--nav-height)); }
.customer-menu:has(.mobile-cart:not([hidden])) + .site-footer { padding-bottom: calc(94px + var(--nav-height)); }
.site-footer > a, .site-footer > button { min-height: 40px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

.button, .icon-button, .text-button, .app-nav-item, .stepper button { transition: background-color 150ms, color 150ms, border-color 150ms; }
.button {
  min-height: 47px; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 9px 13px; border: 1px solid transparent; border-radius: 10px;
  font-size: .88rem; line-height: 1.25; font-weight: 650; text-decoration: none;
}
.button.small { min-height: 44px; padding: 8px 10px; font-size: .85rem; }
.primary { color: #fff9ed; background: var(--wine); border-color: var(--wine); }
.primary:hover:not(:disabled) { background: var(--wine-deep); border-color: var(--wine-deep); }
.secondary { color: var(--forest-dark); background: var(--panel); border-color: #d9c7ae; }
.secondary:hover:not(:disabled) { background: #f3e6d3; border-color: #bcaa93; }
.button:disabled { opacity: .57; }
.icon-button {
  width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--forest-dark);
}
.icon-button:hover { background: #f0e1ca; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--wine-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 650; }
.text-button:hover { color: var(--wine); }
.feature-icon {
  display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px;
  border-radius: 12px; background: #efe3d0; color: var(--forest-dark);
}
.button-group, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notice { padding: 12px 13px; border: 1px solid #dfc197; border-radius: 10px; color: #63461f; background: #f9e9ce; font-size: .88rem; }
.notice.error { color: #741f29; background: #f7e6e1; border-color: #dfbbb2; }
.notice-icon { display: flex; gap: 8px; align-items: flex-start; }
.notice-icon svg { margin-top: 2px; }
.quiet, small { color: var(--muted); }
.quiet { font-size: .88rem; }
small { font-size: .85rem; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.surface { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 15px; }
.empty .button { margin-top: 4px; }
.stack { display: grid; gap: 12px; align-content: start; }
.stack > .button.primary { margin-top: 2px; }
label { display: grid; gap: 5px; min-width: 0; font-size: .9rem; font-weight: 650; }
label > input, label > select, label > textarea {
  min-height: 46px; width: 100%; min-width: 0; padding: 9px 10px;
  border: 1px solid #d8c6ae; border-radius: 8px; color: var(--ink); background: #fffdf7;
  font-weight: 400; font-size: 1rem;
}
input:disabled, select:disabled { color: #635e54; background: #f1e9dc; opacity: 1; }
input[type="date"] { min-inline-size: 0; -webkit-min-logical-width: 0; }
input[type="file"] { padding: 6px; font-size: .87rem; }
input::file-selector-button { margin-right: 7px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--wine-deep); background: var(--paper); cursor: pointer; }
textarea { resize: vertical; }
.form-status { color: #8b2931; font-size: .87rem; }
.form-status:empty { display: none; }
.form-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; align-items: end; }
.check-label { display: flex; align-items: center; gap: 8px; }
.check-label input { flex: none; width: 19px; min-height: 19px; accent-color: var(--wine); }
fieldset { margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
legend { max-width: 100%; padding-inline: 4px; font-size: .9rem; font-weight: 650; }
.form-photo { height: 100px; width: auto; object-fit: contain; border-radius: 7px; }
.form-photo:not([src]), .product-photo:not([src]), .portrait:not([src]), .home-portrait:not([src]) { display: none; }

.public-home { display: grid; gap: 23px; padding-block: 20px 9px; }
.public-intro { min-width: 0; }
.public-intro h1 { font-size: clamp(2.37rem, 10vw, 4.55rem); line-height: .99; }
.public-intro p { margin-top: 11px; color: var(--muted); font-size: .94rem; line-height: 1.54; text-wrap: pretty; }
.public-gallery { min-width: 0; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.gallery-head h2 { font-size: clamp(1.58rem, 6vw, 2.16rem); }
.gallery-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .84rem; white-space: nowrap; }
.gallery-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1.55vw, 13px); }
.gallery-photos a { display: block; border-radius: 7px; }
.gallery-photos img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.17; object-fit: cover;
  background: var(--paper-deep); border-radius: inherit;
}
.gallery-photos a:first-child img { object-position: center 58%; }
.auth-panel {
  display: grid; align-content: center; gap: 9px; padding: 15px;
  scroll-margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
}
.auth-panel:target { border-color: var(--gold); }
.auth-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; }
.auth-panel h2 { font-size: clamp(1.72rem, 7.4vw, 2.35rem); }
.auth-panel form { margin-top: 5px; }
.auth-panel form .button { justify-self: stretch; }
.auth-switch { min-height: 44px; font-size: .83rem; white-space: nowrap; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; color: #fff1da;
  background: radial-gradient(ellipse at 79% 40%, #4b6045 0, var(--forest) 46%, var(--forest-dark) 100%);
}
.hero::after { content: ''; position: absolute; inset: 7px; z-index: -1; border: 1px solid #c49b5761; border-radius: 11px; pointer-events: none; }
.hero::before {
  content: ''; position: absolute; z-index: -1; width: 66%; height: 145%; border: 1px solid #dcb47454;
  right: -10%; top: -26%; border-radius: 48% 48% 46% 46%; transform: rotate(32deg); pointer-events: none;
}

.customer-main { padding-top: 12px; }
.customer-home { width: min(100%, 990px); margin-inline: auto; padding-block: 12px 16px; }
.home-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.home-intro h1 { max-width: 18ch; font-size: clamp(2.15rem, 8.2vw, 4rem); }
.home-portrait { width: 62px; height: 62px; flex: none; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.home-choices { display: grid; gap: 10px; }
.home-choice {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 98px; padding: 13px; border: 1px solid var(--line); border-radius: 14px;
  color: var(--forest-dark); background: var(--panel); text-align: left;
}
.home-choice-icon, .home-choice-arrow { display: grid; place-items: center; border-radius: 10px; }
.home-choice-icon { width: 35px; height: 35px; color: var(--forest-dark); background: #efe3d0; }
.home-choice-arrow { width: 33px; height: 33px; }
.home-choice-copy { display: grid; gap: 6px; }
.home-choice-copy strong { font: 1.5rem/1.07 var(--serif); letter-spacing: -.03em; }
.home-choice-copy { overflow-wrap: anywhere; }
.home-choice-copy small { color: inherit; font-size: .85rem; }
.home-natal { min-height: 158px; background: linear-gradient(112deg, var(--forest-dark) 20%, #3d563f); color: #fff1da; border-color: var(--forest); }
.home-natal::after { content: ''; position: absolute; inset: 6px; z-index: -1; border: 1px solid #dcb47455; border-radius: 10px; pointer-events: none; }
.home-natal .botanical { position: absolute; z-index: -2; pointer-events: none; inset: auto -11% -37% auto; width: 70%; opacity: .47; }
.home-natal .home-choice-icon, .home-natal .home-choice-arrow { color: #ffeac1; background: #ffffff17; }
.home-natal .home-choice-copy strong { font-size: clamp(1.72rem, 6.4vw, 2.45rem); }
.home-natal .home-choice-copy em { color: #eecf9a; font-style: normal; font-size: .73em; white-space: nowrap; }
.home-natal:hover { background: linear-gradient(112deg, var(--forest) 20%, #4a6048); }
.home-custom:hover { background: #f8ebd7; }
.menu-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.menu-cover:not([src]) { display: none; }
.hero:has(.menu-cover[src])::before, .home-choice:has(.menu-cover[src])::before {
  content: ''; position: absolute; inset: 0; width: auto; height: auto; z-index: -1;
  border: 0; border-radius: 0; transform: none; background: linear-gradient(90deg, #182a20e8, #24372b8f); pointer-events: none;
}
.home-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 17px; padding-block: 5px; border-block: 1px solid var(--line); }
.home-contacts a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; min-width: 0; padding: 4px 1px; border-radius: 8px; color: var(--forest-dark);
  text-align: center; text-decoration: none;
}
.home-contacts a:hover { background: #efe3d0; }
.home-contacts a > span { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.home-contacts strong { font-size: .85rem; }
.home-contacts small { font-size: .8rem; overflow-wrap: anywhere; }
.hero { display: grid; align-items: center; min-height: 190px; padding: 21px 17px; }
.hero-copy { position: relative; z-index: 2; width: min(66%, 400px); }
.hero h1 { color: #fff1da; font-size: clamp(2.3rem, 9.7vw, 4.6rem); line-height: .96; }
.hero h1 em { color: #ffeac1; font-weight: 400; }
.hero h1 span { display: block; margin-top: 10px; font-size: clamp(1.27rem, 4.7vw, 1.9rem); letter-spacing: .025em; color: #eecf9a; }
.hero-art { position: absolute; inset: 4px -9% -4px auto; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; width: 61%; }
.hero-art .botanical { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.hero-art .portrait { width: min(75%, 150px); max-height: 85%; aspect-ratio: 4/5; border-radius: 70px 70px 8px 8px; border: 1px solid #bd9a62; object-fit: cover; transform: translateX(-9%); }
.hero-art .portrait[src] + .botanical { display: none; }
.pickup-strip {
  display: grid; grid-template-columns: 41px minmax(0, 1fr); gap: 1px 10px; align-items: center;
  margin: 10px 0 4px; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.pickup-strip .feature-icon { width: 40px; height: 40px; }
.pickup-label { gap: 1px; color: var(--muted); font-size: .85rem; }
.pickup-label input {
  min-height: 44px; padding: 4px 18px 4px 0; border: 0; background: transparent; color: var(--ink);
  font-size: 1rem; font-weight: 650;
}
.pickup-strip .pickup-label input { min-height: 42px; margin-top: -2px; }
.pickup-place { grid-column: 2; padding-bottom: 2px; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.pickup-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pickup-links .button.small { min-height: 44px; padding-inline: 9px; font-size: .85rem; }
.menu-notice { margin-block: 12px; }
.category-nav {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: stretch; gap: 7px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain;
  min-height: 57px; padding-block: 6px; background: var(--paper);
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a {
  flex: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 11px;
  color: var(--forest-dark); background: #f4e6d2; border: 1px solid #e7d5bd; border-radius: 9px;
  text-decoration: none; font-size: .79rem; font-weight: 650;
}
.category-nav a:hover, .category-nav a:focus-visible { background: #eaddc5; }
.category-nav a:focus-visible { outline-offset: -3px; }
.commerce-grid { padding-top: 5px; }
.menu-section {
  margin-bottom: 10px; padding: 12px 12px 0; scroll-margin-top: 63px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
}
.menu-section h2 { margin: 1px 0 3px; }
.menu-section:target h2 { color: var(--forest-dark); }
.gift-section { background: #f8ead2; }
.product-row, .variant-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; align-items: center;
  padding: 10px 0; min-height: 66px; border-bottom: 1px solid var(--line);
}
.product-row:last-child, .product-variants:last-child, .variant-row:last-child { border-bottom: 0; }
.product-info { display: flex; align-items: center; gap: 8px; }
.product-text { min-width: 0; overflow-wrap: anywhere; }
.product-photo { flex: none; width: 45px; height: 45px; object-fit: cover; border-radius: 7px; }
.product-info .portion, .product-description { margin-top: 3px; color: var(--muted); font-size: .89rem; }
.product-price { margin-top: 3px; color: var(--wine-deep); font-size: .87rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-variants { padding-top: 10px; border-bottom: 1px solid var(--line); }
.product-variants > h3 { margin-bottom: 1px; }
.variant-row { min-height: 57px; padding-block: 6px; border-bottom-style: dashed; }
.variant-row .portion { margin-top: 0; }
.allergen { margin-top: 4px; font-size: .86rem; color: var(--forest); }
.allergen summary { display: flex; align-items: center; min-height: 32px; text-underline-offset: 3px; text-decoration: underline; cursor: pointer; }
.allergen p { white-space: pre-wrap; }
.stepper {
  display: grid; grid-template-columns: 44px minmax(20px, auto) 44px; align-items: center; gap: 1px;
  border-radius: 9px; background: #f7ebd9; color: var(--ink);
}
.stepper button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #e5d2b8; border-radius: 9px; background: var(--panel); color: var(--wine);
}
.stepper button[data-delta="1"] { background: var(--wine); border-color: var(--wine); color: #fff9ed; }
.stepper button[data-delta="1"]:hover:not(:disabled) { background: var(--wine-deep); }
.stepper button:hover:not(:disabled) { border-color: var(--wine); }
.stepper button:disabled { opacity: .58; }
.stepper button[data-delta="-1"]:disabled { border-color: transparent; color: #736753; background: transparent; }
.stepper output { display: block; text-align: center; font-size: .82rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.stepper.has-quantity { background: #ecdbc4; }
.checkout-summary { display: none; }
.mobile-cart { position: fixed; inset: auto 0 var(--nav-height); z-index: 4; padding: 7px 13px; background: var(--paper); border-top: 1px solid var(--line); }
.cart-button { display: grid; grid-template-columns: 31px 1fr auto 18px; width: 100%; min-height: 51px; text-align: left; }
.cart-button strong { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 1rem; }
.cart-icon { position: relative; line-height: 1; height: 21px; }
.cart-quantity {
  position: absolute; top: -5px; left: 14px; min-width: 17px; height: 16px; display: grid; place-items: center;
  padding: 0 3px; border-radius: 10px; color: var(--wine-deep); background: #ffe9ba; font-size: .73rem;
}
.referral { margin-block: 12px 4px; color: var(--muted); font-size: .84rem; }
.referral summary {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 0;
  list-style: none; color: var(--wine-deep); cursor: pointer; font-weight: 650;
}
.referral summary::-webkit-details-marker { display: none; }
.referral summary::after { content: '+'; margin-left: auto; padding: 2px 9px; }
.referral[open] summary::after { content: '−'; }
.referral p { max-width: 63ch; padding-block: 3px 7px; }
.basket-lines { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.basket-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.basket-lines li > span:nth-child(2) { white-space: nowrap; }
.editable-basket li { grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 6px; }
.editable-basket li > span:first-child { overflow-wrap: anywhere; }
.editable-basket .icon-button { color: var(--wine); }
.total-line {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  padding-top: 10px; border-top: 1px solid var(--line); font-weight: 650;
}
.total-line strong, .total-line output { font: 1.58rem var(--serif); color: var(--wine-deep); white-space: nowrap; }
.custom-layout { max-width: 760px; margin-inline: auto; padding-block: 8px 14px; }
.custom-intro {
  display: grid; gap: 9px; justify-items: start; padding: clamp(15px, 3.8vw, 37px);
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
}
.custom-intro > p { color: var(--muted); max-width: 44ch; }
.custom-intro > .custom-start { width: min(100%, 222px); margin-top: 4px; min-height: 49px; }
.custom-choices { display: grid; gap: 8px; }
.custom-choice {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px;
  padding: 8px; min-height: 61px; text-align: left; color: var(--forest-dark);
}
.custom-choice > span:nth-child(2) { display: grid; gap: 2px; }
.custom-choice:not(:disabled):hover { background: #f2e4d0; }
.custom-choice:disabled { opacity: .65; }
.custom-surprise { color: var(--wine-deep); }
.creation-picker { display: grid; gap: 8px; }
.creation-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding-block: 6px; }
.creation-row + .creation-row { border-top: 1px solid var(--line); }
.history { padding-top: 8px; }
.history > h1 { margin-bottom: 14px; }
.order-list-section + .order-list-section { margin-top: 20px; }
.order-list-section h2 { margin-bottom: 8px; font-size: 1.24rem; color: var(--forest-dark); }
.order-notes { display: grid; gap: 7px; margin-block: 12px; }
.order-notes ul { display: grid; gap: 8px; list-style: none; padding: 0; }
.order-notes li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #faf1e2; }
.order-notes time, .order-note-count { color: var(--muted); font-size: .82rem; }
.order-note-count { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 7px; }
.customer-order-actions { margin-block: 10px; }
.edit-items, .edit-add-items { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.edit-add-items summary, .sale-fields summary { padding: 6px; min-height: 38px; cursor: pointer; font-weight: 650; color: var(--forest-dark); }
.edit-item { grid-template-columns: minmax(0, 1fr) 75px; align-items: center; gap: 9px; padding: 4px 2px; }
.edit-item span { display: grid; overflow-wrap: anywhere; }
.sale-fields { border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.sale-fields > .stack { padding: 4px 0 8px; }
.admin-menu-row { display: grid; padding: 11px; gap: 10px; }
.admin-menu-summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; }
.admin-menu-summary > div, .notice-row > span { display: grid; overflow-wrap: anywhere; }
.menu-tab-form, .custom-products, .catalog-lines, .menu-products-form { display: grid; gap: 8px; }
.catalog-lines:empty { display: none; }
.menu-products-form:not(:has([data-menu-product])) { display: none; }
.menu-tab-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: center; }
.menu-tab-controls { display: flex; gap: 3px; }
.menu-tab-controls button:disabled { opacity: .36; background: var(--panel); }
.menu-tab-photos { min-height: 44px; width: fit-content; padding: 4px 2px; }
.menu-tab-photos:has(input:disabled), .menu-product-toggle:has(input:disabled) { opacity: .65; cursor: default; }
.menu-product-toggle > input:disabled { pointer-events: none; }
.menu-preview-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.menu-preview-view { --nav-height: var(--safe-bottom); }
.menu-preview-view:has(.mobile-cart:not([hidden])) + .site-footer { --nav-height: var(--safe-bottom); }
.catalog-product-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(61px,22%) auto; gap: 5px; align-items: center; }
.catalog-product-line .icon-button { width: 42px; height: 42px; }
.catalog-product-line input, .catalog-product-line select { padding-inline: 6px; }
.menu-product-columns { display: none; }
.menu-product-line {
  display: grid; grid-template-columns: 52px minmax(0, .95fr) minmax(0, 1fr) 44px;
  grid-template-areas: "thumb title title remove" "toggle quantity price price";
  align-items: center; gap: 5px 6px; padding: 8px 0; border-top: 1px solid var(--line);
}
.menu-product-toggle {
  grid-area: toggle; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 44px; gap: 3px; text-align: center; cursor: pointer;
}
.menu-product-toggle > input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--wine); }
.menu-product-thumb {
  grid-area: thumb; justify-self: center; width: 44px; height: 44px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 7px; background: #fffdf7;
}
.menu-product-thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.menu-product-thumb > img:not([src]) { display: none; }
.menu-product-title { grid-area: title; gap: 3px; }
.menu-product-price { grid-area: price; gap: 3px; }
.menu-product-title select, .menu-product-price input { padding-inline: 7px; }
.menu-product-price input::placeholder { color: var(--muted); opacity: 1; }
.menu-product-quantity { grid-area: quantity; display: grid; gap: 3px; min-width: 0; }
.menu-product-quantity [data-menu-quantity] { display: flex; align-items: center; min-height: 46px; font-size: .88rem; overflow-wrap: anywhere; }
.menu-product-line > .icon-button { grid-area: remove; }
.menu-cell-label, .menu-product-columns { color: var(--muted); font-size: .83rem; font-weight: 650; line-height: 1.2; }
.notice-section { margin-bottom: 20px; }
.notice-section h2 { margin-bottom: 7px; display: flex; align-items: center; gap: 8px; font-size: 1.32rem; }
.notice-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 9px 10px; }
.stock-shortage { border-color: #d7a399; border-inline-start: 3px solid #a34643; background: #fae9e0; }
.stock-shortage strong { color: #79252a; }
.push-hint { margin-bottom: 12px; }
.order-list { list-style: none; padding: 0; }
.customer-orders { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); overflow: hidden; }
.customer-orders > li + li { border-top: 1px solid var(--line); }
.customer-order {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto 13px; align-items: center; gap: 8px;
  min-height: 72px; width: 100%; padding: 8px; text-align: left; background: transparent; color: var(--ink); border: 0;
}
.customer-order:hover { background: #f7ebda; }
.customer-order .feature-icon { width: 34px; height: 34px; border-radius: 8px; }
.customer-order-id, .customer-order-meta { display: grid; gap: 3px; font-size: .86rem; }
.customer-order-id small { overflow-wrap: anywhere; font-size: .83rem; }
.customer-order-meta { text-align: right; justify-items: end; }
.customer-order-meta strong { color: var(--wine-deep); }
.order-list-button {
  display: flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; min-height: 56px;
  padding: 8px 1px; background: transparent; border: 0; color: var(--ink); font-size: .87rem; text-align: left;
}
.order-list-button > span:first-child { display: grid; gap: 3px; margin-right: auto; }
.order-list-button > span:first-child > span { font-size: .83rem; color: var(--muted); }
.order-list-button:hover > span:first-child > strong { color: var(--wine); text-decoration: underline; }
.order-list > li + li:has(.order-list-button) { border-top: 1px solid var(--line); }
.pill {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content; white-space: nowrap; border-radius: 60px;
  padding: 4px 7px; background: #ede2d0; color: var(--forest-dark); font-size: .81rem; font-weight: 650; line-height: 1.2;
}
.pill.bad, .status-cancelled { color: #7d241e; background: #f3dfd8; }
.pill.warn, .status-requested, .status-quoted, .status-placed { color: #604013; background: #f2e4c6; }
.pill.good, .status-prepared, .status-collected { color: #2c522d; background: #e4ecdc; }
.pill.quiet-pill { color: var(--muted); }
.order-status::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.admin-main { min-height: 62vh; padding-top: 18px; }
.admin-main h1 { color: var(--forest-dark); }
.page-heading { display: grid; gap: 10px; margin-bottom: 13px; }
.page-actions .button { min-width: 0; }
.segmented {
  width: fit-content; max-width: 100%; display: flex; align-items: stretch; gap: 3px; margin-bottom: 13px;
  padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: #f1e4d1;
}
.segmented button {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 42px;
  padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; color: #5c5145; background: transparent;
  font-size: .81rem; line-height: 1.25; font-weight: 650;
}
.segmented button[aria-pressed="true"] { border-color: #d4d6c4; background: var(--panel); color: var(--forest-dark); }
.segmented button:hover:not([aria-pressed="true"]) { background: #eadcc5; }
.segmented button > span {
  min-width: 18px; padding: 1px 4px; border-radius: 9px; color: var(--forest-dark); background: #e5ead9; font-size: .70rem;
}
.admin-main .notice { margin-bottom: 10px; }
.photo-capacity { margin: 0 0 10px; color: var(--muted); font-size: .82rem; }
.management-list { display: grid; gap: 7px; list-style: none; padding: 0; }
.manage-order, .manage-recipe, .ingredient-row, .need-row {
  width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); color: var(--ink); text-align: left;
}
.manage-order, .manage-recipe { display: grid; align-items: center; gap: 7px; padding: 9px 10px; }
.manage-order:hover, .manage-recipe:hover { border-color: #bcb292; background: #fcf3e4; }
.manage-order { grid-template-columns: minmax(0, 1fr) auto 15px; }
.order-identity { min-width: 0; display: grid; gap: 1px; overflow-wrap: anywhere; grid-column: 1; }
.order-identity small { font-size: .83rem; }
.order-identity strong, .recipe-name strong { font-size: .96rem; }
.manage-order .order-status { grid-column: 2 / 4; grid-row: 1; justify-self: end; }
.order-products { grid-row: 2; grid-column: 1 / -1; color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; }
.order-day { grid-row: 3; grid-column: 1; display: flex; align-items: center; gap: 5px; color: var(--forest-dark); font-size: .80rem; }
.order-amount { grid-row: 3; grid-column: 2; color: var(--wine-deep); white-space: nowrap; font-size: .9rem; }
.row-arrow { display: grid; place-items: center; color: var(--forest); }
.manage-order .row-arrow { grid-row: 3; grid-column: 3; }
.manage-recipe { grid-template-columns: auto minmax(0, 1fr) minmax(86px, auto); gap: 9px; min-height: 65px; }
.recipe-edit { max-width: 126px; }
.recipe-thumbnail { position: relative; width: 43px; height: 43px; }
.recipe-thumbnail .product-photo { position: absolute; inset: 0; width: 43px; height: 43px; }
.recipe-name { display: grid; min-width: 0; overflow-wrap: anywhere; }
.ingredient-row, .need-row { display: grid; gap: 8px; align-items: center; padding: 9px 10px; }
.ingredient-row { grid-template-columns: minmax(0, 1fr) auto; }
.ingredient-name {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 44px;
  padding: 4px 6px 4px 0; border: 0; background: transparent; color: var(--ink); text-align: left; overflow-wrap: anywhere;
}
.ingredient-name:hover { color: var(--wine); }
.ingredient-name svg { color: var(--forest); }
.ingredient-row .add-stock { grid-area: 1 / 2; }
.measure-grid { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 7px; }
.measure-grid dt, .measure-grid dd { overflow-wrap: anywhere; }
.measure-grid dt { font-size: .83rem; color: var(--muted); }
.measure-grid dd { font-size: .87rem; font-weight: 650; color: var(--forest-dark); }
.ingredient-row .measure-grid, .need-row .measure-grid { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 6px; }
.need-row { grid-template-columns: minmax(0, 1fr) auto; }
.need-name { overflow-wrap: anywhere; }
.need-row.bad { border-left: 3px solid #aa5548; }
.need-row.warn { border-left: 3px solid #b08949; }
.need-row .missing-amount dt, .need-row .missing-amount dd { color: #842b24; }

dialog {
  inset: auto 0 0; width: 100%; max-width: none; max-height: 89vh; max-height: min(89dvh, 780px); margin: auto 0 0;
  padding: 0; overflow-y: auto; overscroll-behavior-y: contain; border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0;
  color: var(--ink); background: var(--panel); box-shadow: 0 -12px 54px #23190e46;
}
dialog::backdrop { background: #19282090; }
.dialog-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 9px; padding: 8px 13px; background: var(--panel); border-bottom: 1px solid var(--line);
}
.dialog-head h2 { font-size: clamp(1.39rem, 6vw, 1.8rem); overflow-wrap: anywhere; }
.dialog-head .icon-button { flex: none; }
.dialog-body { display: grid; gap: 11px; padding: 12px 13px calc(17px + var(--safe-bottom)); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; margin-top: 8px; }
.review-pickup {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1px 8px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #f8ebd8;
}
.review-pickup .feature-icon { width: 37px; height: 37px; }
.pickup-caption { display: flex; align-items: center; gap: 6px; font-size: .87rem; font-weight: 650; }
.review-lines { margin-top: 3px; }
.review-total { margin-block: 3px; }
.pay-choices { min-inline-size: 0; display: grid; gap: 6px; padding: 0; border: 0; }
.pay-choices legend { margin-bottom: 6px; padding: 0; }
.payment-option {
  width: 100%; min-height: 48px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 8px; text-align: left; line-height: 1.23; font-size: .84rem;
  color: var(--wine-deep); border: 1px solid #dfcab0; background: #f9eddb; border-radius: 8px; cursor: pointer;
}
.payment-option input[type="radio"] { margin: 0; width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--wine); cursor: pointer; }
.payment-label { display: grid; gap: 3px; }
.payment-amount { white-space: nowrap; }
.payment-option:hover { background: #f0dfc5; }
.payment-option:has(input:checked) { border-color: var(--wine); background: #f0e0cd; }
.checkout-referral { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; }
.checkout-referral summary { color: var(--wine-deep); font-weight: 700; cursor: pointer; }
.checkout-referral p { margin-top: 6px; }
.referral-field { display: grid; gap: 6px; margin-top: 6px; }
.referral-field .text-button { min-height: 40px; font-size: .8rem; }
.referral-validation { color: var(--forest-dark); font-size: .83rem; }
.referral-validation:empty { display: none; }
.referral-home, .referral-gift {
  width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; align-items: center; text-align: left;
  padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #f7ead5; color: var(--wine-deep);
}
.referral-home { margin-bottom: 10px; }
.referral-home strong { font-family: var(--serif); font-size: 1.45rem; }
.referral-home small, .referral-gift small { display: block; }
.referral-home .feature-icon, .referral-gift .feature-icon { width: 39px; height: 39px; }
.referral-gift { padding: 7px 9px; font-size: .86rem; }
.referral-price { display: grid; gap: 3px; font-size: .86rem; }
.referral-price > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.referral-price > div:last-child { color: var(--forest-dark); }
.referral-page { width: min(100%,620px); margin-inline: auto; display: grid; gap: 12px; }
.referral-page > header { padding-block: 9px 4px; }
.referral-page > header p { color: var(--muted); }
.referral-card, .referral-benefit { display: grid; gap: 8px; padding: 14px; }
.referral-benefit { background: #f7ead5; }
.referral-card h2 { font-size: 1.27rem; }
.referral-card summary { cursor: pointer; color: var(--wine-deep); }
.referral-code { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
.referral-code strong { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.referral-card .preserve { margin-block: 8px 0; font-size: .87rem; }
.public-referral { margin-top: 13px; }
.public-referral strong { display: flex; align-items: center; gap: 6px; color: var(--wine-deep); }
.public-referral p { margin-top: 4px; font-size: .85rem; }
.public-referral .text-button { display: inline-block; margin-top: 4px; font-size: .82rem; }
.referral-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,130px),1fr)); gap: 7px; margin-block: 12px; }
.referral-metrics > div { padding: 9px; }
.referral-metrics dt { font-size: .85rem; color: var(--muted); }
.referral-metrics dd { margin: 2px 0 0; font-weight: 700; }
.referral-list { display: grid; gap: 7px; padding-left: 0; margin-block: 7px; list-style: none; }
.referral-list li small { display: block; }
.referral-entry { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.75fr) auto; align-items: center;
  gap: 8px; padding: 10px; text-align: left; overflow-wrap: anywhere; }
.gift-pending { display: block; color: var(--wine); font-weight: 700; }
.referral-gift-form { border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.receipt-lead { display: flex; align-items: center; gap: 7px; color: var(--forest-dark); font-size: 1.1rem; }
.transfer { display: grid; gap: 6px; padding: 10px; color: var(--ink); background: #f6ead3; border: 1px solid #d9c6a7; border-radius: 8px; font-size: .85rem; }
.copy-row, .balance { display: flex; justify-content: space-between; gap: 7px; align-items: center; font-size: .85rem; }
.recipe-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(76px, .56fr) 44px; gap: 5px; align-items: center; margin-bottom: 6px; }
.quantity-field { position: relative; }
.quantity-field input { padding-inline: 6px; }
.quantity-field > span[data-unit-label] { position: absolute; top: -9px; right: 4px; padding-inline: 2px; color: var(--muted); background: var(--panel); font-size: .8rem; }
.order-detail { display: grid; gap: 9px; }
.order-detail > p:not(.pill) { font-size: .87rem; overflow-wrap: anywhere; }
.order-detail details summary { display: flex; align-items: center; min-height: 40px; color: var(--wine); font-weight: 650; cursor: pointer; }
.order-detail .stack { margin-top: 5px; }
.order-actions { margin-top: 4px; }
.danger { min-height: 44px; color: #8b2931; font-size: .83rem; }
.danger-button { background: #8b2931; color: #fff; }
.import-list { display: grid; gap: 7px; max-height: 45vh; max-height: 45dvh; overflow-y: auto; list-style: none; margin: 0; padding: 0; }
.import-list li { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }

@media (max-width: 359px) {
  .app-nav { padding-inline: 3px; gap: 1px; }
  .app-nav-item { font-size: .79rem; }
  .admin-nav-mobile { grid-template-columns: minmax(0,.88fr) minmax(0,1.25fr) minmax(0,.94fr) minmax(0,.93fr); }
  .customer-nav { grid-template-columns: minmax(0,.96fr) minmax(0,.96fr) minmax(0,.83fr) minmax(0,1.25fr); }
  .home-contacts a > span { flex-wrap: wrap; }
}
@media (min-width: 460px) {
  .wrap, .header-inner { width: min(100% - 40px, var(--shell)); }
  .hero { padding-inline: 27px; }
  .menu-section { padding-inline: 16px; }
  .page-heading { grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .page-actions { justify-content: end; }
}
@media (min-width: 720px) {
  :root { font-size: 106.25%; }
  .wrap, .header-inner { width: min(100% - 56px, var(--shell)); }
  .header-inner { min-height: 77px; }
  .brand { width: 180px; }
  .header-actions { gap: 9px; }
  .customer-menu:has(.mobile-cart:not([hidden])) + .site-footer { padding-bottom: calc(20px + var(--nav-height)); }
  .customer-main { padding-top: 18px; }
  .customer-home { padding-top: clamp(21px, 5vw, 52px); }
  .home-intro { margin-bottom: 24px; }
  .home-choices { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 15px; }
  .home-choice { min-height: 212px; padding: 19px; gap: 14px; }
  .home-choice-icon { width: 43px; height: 43px; }
  .home-custom .home-choice-copy strong { font-size: clamp(1.65rem, 3vw, 2.35rem); }
  .admin-menu-row { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
  .hero { min-height: 239px; padding-inline: 35px; }
  .hero-art { width: 53%; inset: 0 -2% 0 auto; }
  .hero-art .portrait { width: min(56%, 191px); }
  .pickup-strip { grid-template-columns: 42px minmax(208px, auto) minmax(0, 1fr); gap: 8px; margin-top: 11px; }
  .pickup-strip .pickup-place { grid-column: 3; padding: 0 7px; }
  .pickup-place { font-size: .82rem; }
  .pickup-links .button.small { min-height: 36px; }
  .category-nav { margin-bottom: 2px; }
  .commerce-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 28%); gap: 16px; align-items: start; }
  .checkout-summary {
    position: sticky; top: 65px; display: grid; gap: 9px; padding: 13px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
  }
  .checkout-summary > h2 { display: flex; align-items: center; gap: 7px; color: var(--forest-dark); font-size: 1.39rem; }
  .checkout-summary > h2 svg { color: var(--wine-deep); }
  .checkout-summary #basket-items { max-height: min(36vh, 260px); overflow: auto; }
  .checkout-summary .button { width: 100%; }
  .mobile-cart { display: none; }
  .public-home {
    grid-template-columns: minmax(0, 1fr) minmax(270px, .57fr);
    align-items: start; gap: 25px clamp(24px, 5.4vw, 64px); padding-block: clamp(27px, 5vw, 64px) 14px;
  }
  .public-intro p { margin-top: 15px; font-size: 1rem; }
  .public-gallery { grid-column: 1; }
  .gallery-more { font-size: .91rem; }
  .auth-panel { grid-column: 2; grid-row: 1 / 3; padding: clamp(18px, 2.6vw, 28px); border-radius: 15px; }
  .entry-link { display: none; }
  .custom-layout { padding-top: 24px; }
  .history { max-width: 780px; margin-inline: auto; padding-top: 14px; }
  .customer-order { min-height: 75px; gap: 10px; padding-inline: 13px; }
  .customer-order .feature-icon { width: 43px; height: 43px; }
  .admin-main { padding-top: 23px; }
  .manage-order {
    grid-template-columns: minmax(105px, 1.1fr) minmax(120px, 1.6fr) minmax(90px, .9fr) auto minmax(108px, auto) 14px;
    gap: 10px; padding: 11px 12px; min-height: 63px;
  }
  .manage-order > *, .manage-order .order-status, .manage-order .row-arrow { grid-row: auto; grid-column: auto; }
  .manage-order .order-status { justify-self: end; }
  .ingredient-row { grid-template-columns: minmax(0, 1fr) minmax(150px, 1fr) auto; padding-inline: 12px; }
  .ingredient-row .add-stock { grid-area: auto; }
  .ingredient-row .measure-grid, .need-row .measure-grid { grid-column: auto; border-top: 0; padding-top: 0; }
  .need-row { grid-template-columns: minmax(0, 1fr) minmax(210px, 1.45fr) auto; padding-inline: 12px; }
  .need-row > .pill { grid-area: 1 / 3; }
  .need-row > .measure-grid { grid-area: 1 / 2; }
  dialog {
    inset: 0; width: min(540px, 100% - 28px); margin: auto; max-height: calc(100dvh - 40px);
    border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 17px 60px #261a123d;
  }
  dialog:has(form[data-form="menu"]) { width: min(880px, 100% - 28px); }
  .menu-products-form { --menu-columns: 76px 48px minmax(0, 1fr) minmax(76px, .31fr) minmax(78px, .29fr) 44px; gap: 0; }
  .menu-product-columns, .menu-product-line { display: grid; grid-template-columns: var(--menu-columns); align-items: center; gap: 8px; }
  .menu-product-columns { padding: 6px 0 8px; }
  .menu-product-columns span:nth-child(-n+2) { text-align: center; }
  .menu-product-line { grid-template-areas: "toggle thumb title quantity price remove"; padding: 6px 0; }
  .menu-product-line .menu-cell-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dialog-head { padding-inline: 16px; }
  .dialog-body { padding: 14px 16px 18px; }
}
@media (min-width: 960px) {
  .app-nav {
    position: static; min-height: 0; gap: 5px; width: auto; display: flex;
    padding: 0; border: 0; background: transparent; box-shadow: none;
  }
  .admin-nav-mobile { display: none; }
  .app-nav-item { min-height: 45px; flex-direction: row; gap: 6px; width: auto; padding: 6px 9px; font-size: .85rem; white-space: nowrap; }
  .admin-nav .app-nav-item { padding-inline: 6px; font-size: .8rem; }
  .app-nav-item svg { width: 19px; height: 19px; }
  .site-header:has(.app-nav) ~ .site-footer { padding-bottom: 28px; }
  .customer-menu:has(.mobile-cart:not([hidden])) + .site-footer { padding-bottom: 28px; }
}
@media (min-width: 1024px) {
  .header-inner { min-height: 86px; }
  .brand { width: 192px; }
  .app-nav { gap: 8px; }
  .app-nav-item { padding-inline: 13px; font-size: .89rem; }
  .preview-label { padding: 4px 9px; font-size: .79rem; }
  .hero { min-height: 286px; padding-inline: 48px; }
  .hero::after { inset: 9px; }
  .hero h1 { letter-spacing: -.056em; }
  .hero-art { width: 49%; inset: 0 2% 0 auto; }
  .commerce-grid { grid-template-columns: minmax(0, 1fr) 285px; gap: 22px; }
  .checkout-summary { padding: 16px; }
  .menu-section { padding-inline: 17px; }
  .manage-order { grid-template-columns: minmax(150px, 1.15fr) minmax(160px, 1.6fr) minmax(105px, .9fr) auto minmax(118px, auto) 16px; gap: 16px; padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
