/* Storefront and ordering controls. The secondary pages share the original base theme. */
.storefront {
  --paper: #f7f8f4;
  --ink: #18211a;
  --muted: #546050;
  --lime: #d3f393;
  --line: #dce2d7;
  --header: 72px;
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", sans-serif;
}
.storefront .wrap { width: min(calc(100% - 72px), 1280px); }
.info-band { background: #17201a; color: #f5f7f1; font-size: .79rem; }
.info-band-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 30px; }
.band-city { display: inline-flex; align-items: center; gap: .3rem; }
.band-city .icon { width: 15px; height: 15px; color: var(--lime); }
.band-hours { color: #dce5d8; white-space: nowrap; }
#build-slot { margin-left: auto; }
.header { background: var(--paper); }
.header-inner { gap: clamp(12px, 2.2vw, 32px); }
.brand img { width: 145px; }
.header-nav { gap: clamp(12px, 1.6vw, 23px); font-size: .9rem; }
.header-nav a, .header-nav button { padding-block: 12px; }
.address-button { min-height: 44px; min-width: 0; }
.address-button strong { font-size: .88rem; }
.address-button small { font-size: .76rem; }
.cart-button { border-radius: 100px; }
.compact-nav { display: none; position: relative; }
.compact-nav summary { list-style: none; cursor: pointer; }
.compact-nav summary::-webkit-details-marker { display: none; }
.compact-nav nav {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  width: min(235px, 85vw); padding: 7px; background: white;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px #1c281a22;
}
.compact-nav nav > * { display: block; width: 100%; text-align: left; padding: 12px; border-radius: 9px; }
.compact-nav nav > :hover, .compact-nav nav > :focus-visible { background: var(--soft); }
.cover {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(270px, 26vw, 376px); margin: 17px auto 0; border-radius: 22px;
  color: #fff; background: #1b251e;
}
.cover-photo, .cover-photo img, .cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-photo { z-index: -2; }
.cover-photo img { object-fit: cover; object-position: 68% 51%; }
.cover::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #111b15ed 0%, #17221ac9 26%, #16201945 54%, transparent 76%);
}
.cover-content { padding: clamp(28px, 3.5vw, 50px); max-width: 58%; }
.cover h1 { color: #fffdf6; font-size: clamp(42px, 5.2vw, 76px); font-weight: 710; letter-spacing: -.055em; line-height: .99; }
.cover h1 em { color: var(--lime); font: italic normal 1.07em/.95 "PT Serif", Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.cover p { margin: 14px 0 20px; font-size: clamp(.88rem, 1.25vw, 1.03rem); color: #f1f3eb; line-height: 1.4; }
.cover-actions { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 4px; align-items: center; }
.cover-primary, .cover-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: .9rem; font-weight: 650; }
.cover-primary { background: var(--lime); color: var(--ink); border-radius: 100px; padding: 10px 22px; }
.cover-primary:hover { background: #e2ffad; }
.cover-secondary { color: white; text-decoration: underline; text-decoration-color: #bfd1ba; text-underline-offset: 5px; padding: 8px 0; }
.cover-secondary:hover { text-decoration-color: white; }
.menu-section { padding: 0 0 clamp(32px, 4vw, 56px); }
.menu-heading.wrap { margin: 29px auto 13px; }
.menu-heading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.14; }
.menu-heading #results-count { border-radius: 20px; padding: 5px 10px; color: #495541; font-size: .84rem; white-space: nowrap; }
.search-field { border-radius: 100px; width: min(360px, 42%); }
.search-field input { font-size: .94rem; }
.category-shell { top: var(--header); border: 0; background: var(--paper); }
.category-inner { min-height: 58px; border-bottom: 1px solid var(--line); }
.categories { padding-block: 5px 9px; gap: 5px; }
.category-button { border-radius: 100px; padding: 9px 15px; min-height: 40px; font-size: .9rem; }
.category-button[aria-pressed="true"] { background: var(--ink); color: white; font-weight: 650; }
.category-search { border: 0; background: #eaf0e4; }
.filter-bar { margin: 10px 0 13px; gap: 12px; }
.quick-filters { gap: 7px; align-items: center; }
.filter-chip { font-size: .85rem; min-height: 38px; padding: 8px 12px; border-color: var(--line); }
.filter-chip[aria-pressed="true"] { background: #e1f3c3; border-color: #9abb79; color: #203719; }
.sort-field { font-size: .85rem; min-height: 42px; margin: 0; }
.sort-field select { font-size: inherit; }
.sort-field:has(option:checked:not([value="default"])) { color: #305128; font-weight: 700; }
.active-search { font-size: .88rem; }
.group-heading { padding-top: 0; font-size: clamp(1.25rem, 1.9vw, 1.65rem); margin: 12px 0 0; }
.product-grid { align-items: stretch; gap: 17px; }
.product-card { border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.photo-button { display: block; width: 100%; padding: 0; }
.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.card-content { padding: 15px; gap: 6px; }
.product-title { font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.18; align-items: flex-start; min-height: 0; overflow-wrap: anywhere; }
.product-description { height: auto; margin: 0; font-size: .88rem; line-height: 1.4; }
.variant-meta { margin: 0; font-size: .82rem; color: #4c5b47; }
.card-content .card-nutrition { font-size: .76rem; color: #475444; gap: 3px 8px; margin: 0; }
.card-content .variant-picker { margin: 4px 0 0; min-height: 39px; height: auto; }
.variant-picker button { font-size: .85rem; }
.card-buy { margin: auto 0 0; padding-top: 6px; }
.price { font-size: clamp(1.1rem, 1.7vw, 1.5rem); white-space: nowrap; }
.add-button, .quantity { min-height: 44px; height: auto; }
.add-button { border-radius: 12px; }
.quantity button { min-width: 37px; min-height: 44px; }
.favorite-button { width: 42px; height: 42px; }
.favorite-button::after { content: none; }
.catalog-more { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding-top: 28px; }
.catalog-more span { color: var(--muted); font-size: .85rem; }
.catalog-more .button { min-width: 220px; border-radius: 100px; }
.facts-heading { margin-bottom: 16px; }
.facts-heading h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.fact-card { min-height: 185px; }
.fact-description, .fact-link, .footer .footer-sitemap a, .footer .footer-sitemap button { font-size: .87rem; }
.fact-link { text-decoration: underline; text-underline-offset: 4px; }
.footer .footer-top > a { align-self: start; }
.footer .footer-top > a img { width: 145px; }
.footer .footer-bottom { gap: .5rem; }
.modal-open .mobile-cart { visibility: hidden; }
.modal-head .icon-button, .detail-close { width: 44px; height: 44px; }
.drawer .modal-body { min-height: 0; }
.cart-footer { padding: 14px 22px max(15px, env(safe-area-inset-bottom)); }
.cart-footer .total-row { margin: 0 0 7px; }
.cart-footer .total-row.total { margin: 0 0 11px; }
.cart-empty { min-height: 0; overflow-y: auto; }
.cart-empty img { max-height: min(150px, 22dvh); width: auto; }
.cart-utility { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 9px; }
.cart-utility button, .inline-action { min-height: 40px; font-size: .86rem; color: #394b34; text-decoration: underline; text-underline-offset: 3px; }
.undo-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 14px; background: #e7f2d9; border-radius: 12px; font-size: .86rem; }
.cart-empty .undo-row { align-self: stretch; margin-bottom: 10px; }
.remove-item { min-height: 40px; min-width: 34px; }
.cart-item .quantity button { min-width: 37px; min-height: 40px; }
.cart-item .quantity { min-height: 40px; }
.cart-item-name { font-size: 1rem; }
.cart-item-meta, .cart-item .muted { font-size: .8rem; }
.checkout-form .field, .delivery-panel .field, .privacy-checkbox { font-size: .9rem; }
.field-row > *, .field-row input, .field-row select { min-width: 0; }
.checkout-form .field input, .checkout-form .field select, .checkout-form .field textarea, .delivery-panel .field input { font-size: 1rem; }
.checkout-note { background: #eef3e7; color: #344431; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px; font-size: .9rem; }
.checkout-form details { margin-bottom: 15px; border-block: 1px solid var(--line); }
.checkout-form summary { cursor: pointer; padding: 13px 2px; font-size: .92rem; font-weight: 650; }
.checkout-form details > :last-child { margin-bottom: 12px; }
.checkout-form h3 { margin: 18px 0 12px; }
.copy-fallback { width: 100%; min-height: 7em; margin-block: 8px; }
.success-body .button { margin-top: 8px; }
.storefront .detail-close { position: sticky; top: 8px; z-index: 2; margin: 8px 8px -52px auto; display: grid; }
.detail-info .nutrition span, .detail-info .nutrition-label { font-size: .75rem; }
.detail-info .detail-favorite { font-size: .86rem; min-height: 42px; margin: 0; }
.detail-tools { margin-top: 12px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.detail-tools .inline-action { margin: 0; }
#modal .error { margin: 10px 0; }
@media (min-width: 901px) and (max-width: 1100px) {
  .header-nav { gap: 12px; font-size: .82rem; }
  .header-inner { gap: 13px; }
}
@media (max-width: 900px) {
  .compact-nav { display: block; }
  .address-button { margin-left: auto; }
  .category-button { padding-inline: 13px; }
  .product-grid { gap: 13px; }
  .cover-content { max-width: 66%; }
}
@media (max-width: 650px) {
  .storefront { --header: 57px; }
  .storefront .wrap { width: calc(100% - 24px); }
  .info-band-inner { min-height: 25px; gap: 12px; font-size: .71rem; }
  #build-slot .dev-build-banner { font-size: .64rem; }
  .brand img { width: clamp(89px, 24vw, 114px); }
  .header-inner { gap: 6px; }
  .header-actions { gap: 3px; }
  .address-button { flex: 1; max-width: 220px; justify-content: flex-end; gap: 3px; }
  .address-button > span:nth-child(2) { min-width: 0; }
  .address-button > span:last-child { display: flex; }
  .address-button strong { max-width: 31vw; font-size: .77rem; }
  .address-button small { font-size: .68rem; margin: 0; }
  .cart-button, .compact-nav summary { width: 42px; height: 44px; padding: 0; display: grid; place-items: center; }
  .cover { margin-top: 9px; border-radius: 16px; min-height: 206px; }
  .cover-content { width: 100%; max-width: 100%; padding: 19px 14px; }
  .cover h1 { font-size: clamp(31px, 8vw, 46px); }
  .cover p { margin: 9px 0 8px; max-width: 19ch; font-size: .85rem; }
  .cover-actions { column-gap: 12px; }
  .cover-primary { font-size: .8rem; min-height: 40px; padding: 8px 14px; }
  .cover-secondary { font-size: .77rem; min-height: 36px; }
  .cover::after { background: linear-gradient(90deg, #101b15f2 0%, #17221ac2 40%, #15201930 72%, transparent); }
  .cover-photo img { object-position: 74% center; }
  .menu-heading.wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px auto 6px; }
  .menu-heading h2 { gap: 8px; font-size: 1.72rem; }
  .menu-heading #results-count { font-size: .76rem; }
  .search-field { width: 100%; margin: 0; min-height: 42px; padding: 0 13px; }
  .search-field input { min-height: 42px; font-size: 1rem; }
  .storefront .category-inner { width: 100%; padding: 0 8px 0 12px; min-height: 53px; gap: 4px; }
  .categories { padding: 5px 0; gap: 2px; }
  .category-button { padding: 8px 12px; font-size: .84rem; }
  .category-search { width: 39px; height: 39px; }
  .filter-bar { display: flex; flex-wrap: nowrap; gap: 5px; align-items: center; margin: 4px 0 6px; }
  .quick-filters { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px 0; }
  .quick-filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; font-size: .77rem; min-height: 37px; padding: 5px 11px; }
  .sort-field { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
  .sort-field > span[data-icon] { display: flex; }
  .sort-field > span[data-icon] .icon { width: 20px; height: 20px; }
  .sort-field:has(option:checked:not([value="default"])) { background: #dff0c7; border-radius: 50%; }
  .sort-field select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .sort-field:focus-within { outline: 2px solid #608a42; }
  .group-heading { margin: 6px 0 0; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 12px; }
  .product-photo { aspect-ratio: 1.27; }
  .favorite-button { width: 36px; height: 36px; top: 5px; right: 5px; }
  .card-content { padding: 10px; gap: 5px; }
  .product-title { font-size: 1rem; }
  .product-description { font-size: .79rem; }
  .variant-meta { font-size: .76rem; }
  .card-content .card-nutrition { font-size: .70rem; gap: 2px 5px; }
  .variant-picker button { min-height: 34px; font-size: .8rem; }
  .price { font-size: 1.05rem; }
  .card-buy { flex-wrap: wrap; gap: 3px; }
  .card-buy [data-buy] { margin-left: auto; }
  .card-buy .quantity { min-width: 0; gap: 0; }
  .card-buy .quantity button { min-width: 31px; }
  .card-buy .add-button { width: 43px; min-width: 0; }
  .detail-info .card-buy .add-button { width: auto; }
  .fact-card { display: block; min-height: 0; padding: 15px 17px; }
  .fact-card > strong { display: block; font-size: 1.85rem; }
  .fact-link { display: inline-block; font-size: .84rem; margin-top: 9px; }
  .facts-grid { gap: 8px; }
  .modal-head { padding: 10px 15px; }
  .modal-body { padding: 15px; }
  .cart-footer { padding: 11px 15px max(12px, env(safe-area-inset-bottom)); }
  .mobile-cart strong { font-size: 1.02rem; }
  .mobile-cart > button { border-radius: 100px; font-size: .9rem; }
  .detail-info { padding: 17px; }
  .detail-info .card-buy { margin-top: 10px; }
}
@media (max-width: 385px) {
  .cover-content { width: 100%; }
  .cover-actions { gap: 9px; }
  .storefront .brand img { width: 85px; }
  .card-content { padding: 8px; }
}
@media (max-height: 460px) {
  dialog.drawer, dialog.delivery-dialog { height: 100dvh; max-height: 100dvh; }
  dialog.drawer #modal-content { overflow: auto; display: block; }
  dialog.drawer .modal-body { overflow: visible; }
  .cart-empty img { display: none; }
}

.cart-destination { display: flex; align-items: center; gap: 7px; width: 100%; text-align: left; padding: 0 0 7px; margin-bottom: 7px; border-bottom: 1px solid var(--line); min-height: 37px; font-size: .9rem; }
.cart-destination span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cart-destination .icon { width: 17px; height: 17px; }
.cart-zone { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 0 0 10px; color: #395031; font-size: .79rem; }
.cart-zone progress { width: 100%; height: 5px; grid-column: 1/-1; accent-color: #658f40; }
@media (max-width: 385px) {
  .info-band-inner { gap: 7px; }
  #build-slot { white-space: nowrap; }
  .cart-zone { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .storefront #modal[open] {
    position: fixed; top: auto; bottom: var(--sheet-inset, 0px);
    max-height: min(94dvh, var(--sheet-height, 94dvh));
  }
  .storefront #modal:is(.drawer, .delivery-dialog)[open] {
    height: min(94dvh, var(--sheet-height, 94dvh));
  }
}
.pwa-update { padding: 8px 14px; background: #e7f4d2; text-align: center; font-size: .9rem; }
.pwa-update button { min-height: 40px; margin-left: 10px; padding: 4px 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.modal-open .pwa-update { display: none; }

html:has(.storefront) { scroll-padding-top: 76px; }
@media (max-width: 650px) { html:has(.storefront) { scroll-padding-top: 61px; } }
