.storefront {
  --paper: #f5f4f1;
  --ink: #191817;
  --gray: #625e56;
  --line: #e9e5de;
  --yellow: #ffc800;
  --yellow-dark: #edba00;
  background: white;
}

.storefront .wrap { width: min(100% - 64px, 1232px); }
.hero {
  position: relative;
  aspect-ratio: 1920 / 680;
  isolation: isolate;
  background: #27211c;
  color: white;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  width: 100%;
  min-height: 135px;
  padding: 51px 32px 18px;
  background: linear-gradient(#16161642, transparent);
}
.hero-brand { grid-column: 2; }
.hero-brand img { width: 94px; height: 96px; }
.hero-actions { display: flex; justify-content: flex-end; align-items: start; gap: 22px; }
.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 24px;
  min-height: 25px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.hero-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-action:focus-visible { outline-color: var(--yellow); }
.hero-action svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-action .icon-solid { fill: currentColor; stroke: none; }
.hero-menu { justify-self: start; }
.hero-actions:has(#last-order:not([hidden])) #hero-account { display: none; }
.hero-cart { position: relative; }
.hero-cart[data-count]::after {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 15px;
  line-height: 15px;
  padding-inline: 2px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  content: attr(data-count);
  font-size: 10px;
}
.hero-nav-links { display: grid; }
.hero-nav-links a, .hero-nav-links button {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 6px 0;
  text-align: left;
  text-decoration: none;
  font-weight: 650;
}
.hero-nav-links :is(a,button):hover { text-decoration: underline; }
.hero-account-link { margin-top: 14px; }
.hero-promo-content { display: grid; gap: 10px; }

.storefront-intro { width: min(calc(100% - 88px), 1430px); margin: 32px auto 0; }
.receiving { display: grid; grid-template-columns: minmax(0, 48.4fr) minmax(0, 51.6fr); gap: 11px; margin-inline: 4px; }
.storefront .button, .storefront dialog .button.yellow { border-radius: 12px; }
.storefront .button.neutral { background: var(--paper); }
.storefront .button.neutral:not(:disabled):hover { background: #ebe8e1; }
.receive-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 4px 21px 4px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #000;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.16;
  text-align: left;
}
.receive-trigger:not(:disabled):hover { background: var(--yellow-dark); }
.receive-trigger::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.receive-pin { width: 21px; height: 21px; flex: none; fill: currentColor; }
.receive-copy { display: grid; min-width: 0; gap: 2px; }
#receive-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#receive-detail { font-size: 12px; font-weight: 450; }
.storefront .segmented { gap: 2px; padding: 3px; background: var(--paper); border-radius: 11px; }
.storefront .segmented button { min-height: 39px; border-radius: 8px; padding-inline: 15px; }
.storefront .segmented button[aria-pressed=true] { color: var(--ink); background: var(--yellow); box-shadow: none; }
.storefront #fulfillment { display: flex; gap: 0; padding: 0; border-radius: 999px; background: #f1f2f6; }
.storefront #fulfillment button { flex: 1; min-width: 0; min-height: 44px; border-radius: 999px; color: #191919; text-transform: uppercase; }
.restaurant-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 63px;
  margin-top: 20px;
  padding: 13px 18px;
  border-radius: 13px;
  box-shadow: 0 4px 28px #16161a14;
  background: white;
}
.closed-tag {
  padding: 3px 10px;
  border: 1px solid #f6d4cf;
  border-radius: 999px;
  background: #fae9e7;
  color: #bd210d;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  white-space: nowrap;
}
#hours-opening { flex: none; font-size: 16px; }
#hours-description { color: #686868; font-size: 12px; line-height: 1.34; white-space: pre-line; }
.hero-promos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 40px 4px 0; }
.hero-promos button { padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: var(--paper); }
.hero-promos img { width: 100%; height: auto; aspect-ratio: 760 / 975; object-fit: cover; }
.demo-note { margin-bottom: 8px; color: var(--gray); font-size: 12px; line-height: 1.4; }

.storefront-feedback { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.storefront-feedback:has(:not([hidden])) { margin-top: 8px; }
.point-progress { min-height: 22px; color: var(--gray); font-size: 14px; line-height: 1.5; }
.basket-minimum { margin-top: 10px; color: var(--gray); font-size: 14px; line-height: 1.4; }
.basket-minimum strong { color: var(--ink); }
.cart-item-line {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas: "photo item price" "photo stepper price";
  gap: 4px 9px;
}
.cart-item-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--paper);
  align-self: center;
}
.cart-item-text { grid-area: item; min-width: 0; }
.cart-item-line .cart-price { grid-area: price; align-self: center; white-space: nowrap; }
.cart-item-line .stepper { grid-area: stepper; justify-self: start; border-radius: 10px; background: var(--paper); }
.cart-item-line .stepper button { width: 37px; min-height: 37px; }
.storefront .cart-edit { min-height: 26px; color: var(--gray); }

.storefront dialog::backdrop { background: #18181a73; }
.storefront .close { border-radius: 10px; flex: none; background: var(--paper); }
.storefront .dialog-actions, .checkout-actions, .basket-actions { background: white; }
.checkout-actions { display: grid; gap: 5px; }
.storefront .checkout-actions [data-back-cart] { background: white; color: var(--gray); }
.basket-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.basket-actions .totals { flex-direction: column; gap: 1px; margin: 0; white-space: nowrap; }
.basket-actions .totals span:first-child { color: var(--gray); font-size: 12px; font-weight: 600; }
.storefront dialog .button.yellow { min-height: 48px; }
.storefront .checkout-total { padding-inline: 0; border-block: 1px solid var(--line); border-radius: 0; background: white; }
.storefront .option { background: var(--paper); }
.storefront .field input:not([type=search]), .storefront .field textarea { border-color: var(--line); }
.receiving-dialog .receiving-tabs { display: flex; margin-bottom: 13px; }
.receiving-dialog .receiving-tabs button { flex: 1; }
.receiving-form { display: grid; gap: 9px; }
.pickup-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.pickup-choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 7px 11px;
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}
.pickup-choices label:has(:checked) { background: #fff4bd; }
.pickup-map { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.pickup-map iframe { display: block; width: 100%; height: min(35dvh, 265px); border: 0; background: var(--paper); }
.pickup-map a { display: block; padding: 9px 11px; font-size: 14px; }
.saved-addresses { display: flex; flex-wrap: wrap; gap: 6px; }
.saved-addresses .button { justify-content: start; text-align: left; }
.receiving-form .field { margin: 0; }
.receiving-form select {
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  font-size: 16px;
}
.receiving-form select:focus-visible { outline: 3px solid #aa7800; outline-offset: 3px; }
#receiving-dialog [role=status] { font-size: 14px; color: var(--gray); }
.receiving-form .address-suggestions { margin: 0; }

@media (max-width: 760px) {
  .storefront .wrap { width: calc(100% - 32px); }
  .hero { aspect-ratio: 16 / 9; }
  .hero-toolbar { min-height: 0; padding: 12px 15px 16px; }
  .hero-brand img { width: 53px; height: 54px; }
  .hero-actions { gap: 5px; }
  .hero-action { min-width: 34px; min-height: 37px; font-size: 11px; }
  .hero-action svg { width: 20px; height: 20px; }
  .hero-action span, .hero-action.hero-phone { display: none; }
  .storefront-intro { width: calc(100% - 32px); margin-top: 14px; }
  .receiving { margin-inline: 0; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .receive-trigger { min-height: 43px; padding-inline: 14px; font-size: 15px; }
  .storefront #fulfillment button { min-height: 40px; padding-inline: 5px; font-size: 12px; }
  .restaurant-hours {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: 7px 9px;
    margin-top: 14px;
    padding: 12px;
  }
  #hours-description { grid-column: 1 / -1; }
  .hero-promos {
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 43vw);
    grid-template-columns: none;
    overflow-x: auto;
    margin: 17px -16px 0;
    padding-inline: 16px;
    gap: 10px;
    scroll-snap-type: x proximity;
  }
  .hero-promos button { border-radius: 15px; scroll-snap-align: center; }
  .storefront .mobile-cart:not([hidden]) {
    inset: auto 16px max(10px, env(safe-area-inset-bottom));
    min-height: 54px;
    border-radius: 13px;
    padding: 10px 19px;
    box-shadow: 0 6px 22px #18181a28;
  }
  .storefront .toast { bottom: max(76px, calc(env(safe-area-inset-bottom) + 66px)); }

  .storefront dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 90vh;
    max-height: 90dvh;
    margin: 0;
    border-radius: 18px 18px 0 0;
  }
  .storefront .dialog-inner { padding: 17px 16px max(16px, env(safe-area-inset-bottom)); }
  .storefront .dialog-head { margin-bottom: 9px; align-items: center; }
  .storefront .dialog-head h2 { font-size: 24px; }
  .storefront .basket-actions, .storefront .checkout-actions, .storefront .dialog-actions {
    position: sticky;
    z-index: 1;
    bottom: 0;
    margin-inline: -16px;
    padding: 9px 16px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 355px) {
  .storefront .wrap { width: calc(100% - 24px); }
  .cart-item-line { grid-template-columns: 47px minmax(0, 1fr) auto; gap: 4px 7px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-toolbar { padding: 25px 20px; }
  .hero-actions { gap: 12px; }
  .hero-action.hero-phone span { display: none; }
}


.site-footer {
  --footer-muted: #6e6e73;
  --footer-line: #e5e5e5;
  margin-top: 112px;
  border-top: 1px solid var(--footer-line);
  background: white;
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.5;
}
.site-footer-grid, .site-footer-meta, .site-footer-note {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
  padding-inline: 16px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 369px minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding-block: 24px;
}
.site-footer h2 { margin: 0 0 9px; color: var(--ink); font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.site-footer :where(a) { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-footer :where(a:hover) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer-nav-group { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 80px; }
.site-footer-logo { display: block; width: 104px; }
.site-footer-logo img { width: 104px; height: 106px; object-fit: contain; }
.site-footer-nav h2 { margin-bottom: 17px; }
.site-footer-nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-footer-business address { font-style: normal; }
.site-footer-app {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  justify-self: end;
  width: min(100%, 400px);
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--menu-control, #f1f2f6);
  color: var(--ink);
}
.site-footer-qr { display: block; border-radius: 3px; }
.site-footer-qr img { width: 108px; height: 108px; object-fit: contain; }
.site-footer-benefits { margin: 0 0 13px; padding: 0; list-style: none; font-size: 12px; line-height: 1.4; }
.site-footer-benefits li { display: inline; }
.site-footer-benefits li::before { content: "• "; }
.site-footer-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer-store {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  padding: 4px 7px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  color: #191919;
  white-space: nowrap;
}
.site-footer-store:first-child { width: 112px; }
.site-footer-store:last-child { width: 126px; }
.site-footer-store svg { width: 22px; height: 25px; flex: none; }
.site-footer-store span { display: grid; line-height: 1; }
.site-footer-store small { margin-bottom: 1px; font-size: 10px; }
.site-footer-store strong { font-size: 16px; font-weight: 650; letter-spacing: -.055em; }
.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 15px;
  border-top: 1px solid var(--footer-line);
  font-size: 12px;
}
.site-footer-note { padding-bottom: 8px; font-size: 12px; }
@media (max-width: 1199px) {
  .site-footer { margin-top: 64px; }
  .site-footer-grid { grid-template-columns: minmax(0, 369px) minmax(0, 1fr); column-gap: 24px; }
  .site-footer-nav-group { gap: 28px; }
  .site-footer-app { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .site-footer { margin-top: 40px; }
  .site-footer-grid, .site-footer-meta, .site-footer-note { width: 100%; padding-inline: 16px; }
  .site-footer-grid, .site-footer-nav-group { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-footer-logo { justify-self: center; }
  .site-footer-nav, .site-footer-business { padding-top: 16px; border-top: 1px solid var(--footer-line); }
  .site-footer-nav h2 { margin-bottom: 9px; }
  .site-footer-app { justify-self: center; grid-template-columns: minmax(0, 88px) minmax(0, 1fr); gap: 10px; }
  .site-footer-qr img { width: 88px; height: 88px; }
  .site-footer-meta { justify-content: center; text-align: center; }
  .site-footer-note { padding-bottom: 16px; }
  .storefront:has(#mobile-cart:not([hidden])) .site-footer { margin-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
