/* Loaded by the public storefront below the desktop navigation breakpoint. */
:root {
  --gutter: clamp(14px, 4vw, 24px);
  --coffee: #30251e;
  --honey: #ffd438;
  --paper-border: #e9e1d4;
}
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body > header > div { padding: .55rem var(--gutter); }
.mobile-nav {
  padding: 5px var(--gutter) calc(5px + env(safe-area-inset-bottom));
  border-color: var(--paper-border);
  box-shadow: 0 -5px 22px #4830180d;
}
.mobile-nav > * {
  flex: 1;
  min-height: 48px;
  justify-content: center;
  border-radius: 15px;
}
.mobile-nav [aria-current="page"] { color: #69450b; background: #fff2c7; }
.mobile-nav #mobile-cart-count { left: calc(50% - 19px); top: 0; }
main :is(input:not([type="checkbox"]), textarea) { font-size: 1rem; }
main :is(#menu, #catalog, #tracking, #services) { scroll-margin-top: 68px; }
html:has(.home-hero) { scroll-padding-top: 0; }

/* One photograph and one pair of actions in the first screen. */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  isolation: isolate;
  overflow: hidden;
  margin: 12px var(--gutter) 24px;
  padding: 0;
  border-radius: 25px;
  background: var(--coffee);
}
.home-hero .hero-image, .home-hero .hero-enter { grid-area: 1 / 1; order: 0; }
.home-hero .hero-image { position: absolute; inset: 0; z-index: -1; animation: none; }
.hero-image > .absolute, .hero-image .floating-card { display: none; }
.hero-image > .relative { height: 100%; border-radius: 0; background: var(--coffee); }
.hero-image img { height: 100%; width: 100%; object-position: 50% 63%; }
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, #21160ff5 0%, #2a1b12e0 30%, #2a1b1255 67%, transparent),
              linear-gradient(0deg, #23160dc7, transparent 40%);
}
.home-hero .hero-enter { padding: 24px 18px 18px; color: white; }
.hero-enter > div:first-child { background: transparent; color: #ffdf84; margin: 0 0 12px; padding: 0; }
.hero-enter h1 { font-size: clamp(1.65rem, 7vw, 2.6rem); line-height: 1.6; }
.hero-enter h1 span { color: #ffda65; }
.hero-enter > p, .hero-enter > div:last-child { display: none; }
.hero-actions { margin-top: 26px; gap: 8px; }
.hero-actions a { justify-content: center; min-height: 45px; padding: 9px 16px; border-radius: 13px; }
.hero-actions .primary-button { color: var(--coffee); }
.hero-actions a + a { background: #251c17de; color: white; border-color: #ffffff66; }

#services { padding-block: 26px; border-block: 1px solid #f2e7d1; }
#services > div, #menu, #catalog { padding-inline: var(--gutter); }
#services .text-center { margin-bottom: 16px; text-align: start; }
#services .text-center p { display: none; }
#services h2, #menu h2, #catalog h2 { font-size: 1.3rem; }
#services .grid { gap: 8px; }
.service-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center; gap: 10px; padding: 12px; border-radius: 18px;
}
.service-card .service-icon { width: 44px; height: 44px; margin: 0; border-radius: 13px; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: .92rem; }
.service-card > p { display: none; }
.service-card > div:last-child { margin: 0; font-size: .72rem; }
.table-prompt { height: 44px; min-width: 88px; }
#table-order-action { white-space: nowrap; }
.service-card[aria-expanded="true"] h3 { display: none; }
.service-card[aria-expanded="true"] .table-prompt { grid-column: 2 / -1; }
#table-order-note { padding: 0; background: transparent; font-size: .75rem; line-height: 1.55; }

#menu { padding-block: 32px; }
#menu #order-mode { display: none; }
#menu > .reveal { margin-bottom: 16px; gap: 12px; }
#menu .reveal > div:has(#menu-search) { order: -1; }
#category-filters {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px;
  max-width: 100%; scrollbar-width: none; padding: 2px;
}
#category-filters::-webkit-scrollbar { display: none; }
#category-filters button {
  flex: none; min-height: 44px; border: 1px solid var(--paper-border);
  border-radius: 100px; padding: 8px 15px; white-space: nowrap;
}
#menu #product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card { display: flex; flex-direction: column; padding: 6px; border-radius: 19px; border-color: var(--paper-border); }
.product-card > div:first-child { border-radius: 14px; }
.product-card img { height: auto; aspect-ratio: 1.22; }
.product-card > div + div { display: flex; flex: 1; flex-direction: column; padding: 10px 4px 5px; }
.product-card h3 { margin-top: 4px; font-size: .91rem; }
.product-card p { min-height: 0; margin: 5px 0 9px; line-height: 1.65; font-size: .74rem; }
.product-card h3 ~ div { margin-top: auto; padding-top: 7px; }
.product-card img + span { top: 6px; right: 6px; padding: 3px 7px; }
#tracking > div { padding: 20px; border-radius: 22px; }

.catalog-hero { margin: 12px var(--gutter) 0; border-radius: 22px; background: #fff2ca; }
.catalog-hero .page-enter { padding: 18px; }
.catalog-hero h1 { max-width: 21ch; font-size: clamp(1.45rem, 6vw, 2rem); }
.catalog-hero .page-enter a, .catalog-hero h1 + p { display: none; }
#table-context { color: #65470c; }
#catalog { padding-block: 24px; }
#catalog > div:first-child { margin-bottom: 8px; gap: 12px; }
#catalog h2 { margin: 0; }
#catalog h2 + p { margin-top: 4px; font-size: .76rem; }
#catalog h2 ~ p, #catalog .catalog-filters { line-height: 1.8; }
#catalog > div:first-child > div > p:first-child { display: none; }
#catalog .catalog-filters { display: grid; gap: 6px; padding: 4px 0 10px; margin-bottom: 10px; border-top: 0; }
#catalog #product-grid { gap: 12px; grid-template-columns: minmax(0, 1fr); }
.menu-card {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  padding: 7px; border-color: var(--paper-border); border-radius: 21px;
  min-height: 232px; width: 100%;
}
.menu-photo { border-radius: 15px; }
.menu-photo img { position: absolute; inset: 0; height: 100%; }
.menu-photo > span { max-width: calc(100% - 12px); }
.menu-photo .in-cart-badge { top: 40px; bottom: auto; right: 6px; }
.menu-details { display: flex; flex-direction: column; padding: 10px; }
.menu-details h3 { line-height: 1.65; }
.menu-details p { min-height: 0; margin: 6px 0 12px; color: #665d53; }
.menu-details .blend-menu { margin-top: auto; padding-top: 8px; }
.blend-menu .blend-toggle { width: 44px; height: 44px; flex-shrink: 0; }
.blend-menu .blend-options { inset-inline: 7px; bottom: 66px; gap: 3px; padding: 4px; border-radius: 16px; }
.blend-menu .blend-option { min-height: 48px; padding: 1px 6px; border-radius: 11px; }
.blend-option .quantity-main, .blend-option .quantity-shell { height: 44px; }
.blend-option .quantity-minus { width: 40px; height: 42px; }
.menu-card.is-in-cart { border-color: #dea91e; }

#cart-modal .cart-panel {
  inset: auto 0 0; width: 100%; max-width: none;
  height: min(90dvh, 44rem); border-radius: 24px 24px 0 0;
  transform: translateY(105%); overflow-y: auto; overscroll-behavior: contain;
}
#cart-modal.cart-open .cart-panel { transform: translateY(0); }
.cart-panel::before {
  content: ""; flex: none; width: 36px; height: 4px; margin: 8px auto 0;
  background: #d9d1c4; border-radius: 4px;
}
.cart-panel > div:first-of-type { padding: 8px var(--gutter) 12px; }
#cart-items { min-height: 70px; padding: 12px var(--gutter); overscroll-behavior: contain; }
#cart-items .min-h-80 { min-height: 100%; }
.cart-panel > div:last-child { padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
.cart-panel fieldset { margin-bottom: 12px; }
.cart-panel fieldset label > span { min-height: 58px; padding-block: 6px; }
.site-toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
#cart-modal.cart-open ~ .site-toast { bottom: auto; top: max(10px, env(safe-area-inset-top)); }

.about-photo { aspect-ratio: 4 / 3; object-position: center 65%; }
.contact-card, .about-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; text-align: start; padding: 16px; border-radius: 18px; }
:is(.contact-card, .about-card) > div { grid-row: span 2; align-self: center; width: 46px; height: 46px; }
:is(.contact-card, .about-card) :is(h2, h3, p) { margin-top: 0; }
[data-page="contact"] main section:first-child > div, [data-page="about"] main section:first-child > div { padding-block: 30px; }
[data-page="contact"] .grid:has(> .contact-card), [data-page="about"] .grid:has(> .about-card) { margin-top: 22px; gap: 9px; }
[data-page="contact"] .flex:has(> .grid + h2) { min-height: 0; padding: 24px; }
[data-page="access"] main > section { padding: 18px var(--gutter) 24px; gap: 18px; min-height: auto; }
[data-page="access"] .order-2 { order: 0; }
[data-page="access"] .order-1 .mt-9.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 540px) {
  #menu #product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #catalog #product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-card { grid-template-columns: minmax(0,.68fr) minmax(0,1fr); }
}
