:root {
  --ink: #102437;
  --muted: #637385;
  --line: #dce5ea;
  --surface: #ffffff;
  --soft: #f2f7f7;
  --green: #118451;
  --green-soft: #e4f6ed;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-soft: #fff1e8;
  --blue: #126ba1;
  --coral: #dd5e4b;
  --shadow: 0 10px 28px rgba(25, 55, 70, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7fafb;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 300px; background: #f7fafb; color: var(--ink); }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.appHeader {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px max(16px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

.brand { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand > span:last-child { min-width: 0; }
.brandMark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: var(--orange); color: white; font-weight: 900; font-size: 22px; }
.brand strong, .brand small { display: block; }
.brand strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 12px; }

.cartButton { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 800; }
.cartButton strong { display: grid; min-width: 24px; height: 24px; padding: 0 5px; place-items: center; border-radius: 50%; background: var(--orange); color: white; }

.pageShell { width: min(1220px, 100%); margin: 0 auto; padding: 18px 16px 40px; }
.orderIntro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.eyebrow { margin: 0 0 5px; color: var(--orange-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; max-width: 760px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; }
.orderIntro p:not(.eyebrow) { margin: 8px 0 0; max-width: 680px; overflow-wrap: anywhere; color: var(--muted); }
.storeState { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; font-weight: 800; }
.stateDot { width: 10px; height: 10px; border-radius: 50%; background: #a6b2bb; }
.storeState[data-state="preview"] .stateDot { background: #e0a226; }
.storeState[data-state="open"] .stateDot { background: var(--green); }
.storeState[data-state="error"] .stateDot { background: var(--coral); }

.notice { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid #e0a226; border-radius: 6px; background: #fff8e6; color: #634b12; }
.notice > *, .orderIntro > div, .sectionHead > * { min-width: 0; }
.notice span { font-size: 14px; }
.menuTools { position: sticky; z-index: 12; top: 64px; display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 -16px 16px; padding: 9px 16px; border-block: 1px solid var(--line); background: rgba(247,250,251,.97); backdrop-filter: blur(10px); }
.searchBox { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 13px; border: 1px solid #bdcbd3; border-radius: 8px; background: white; }
.searchBox span { color: var(--orange); font-size: 24px; }
.searchBox input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.categoryTabs { display: flex; gap: 7px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.categoryTabs::-webkit-scrollbar { display: none; }
.categoryTabs button { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; white-space: nowrap; background: white; color: var(--ink); font-weight: 800; }
.categoryTabs button[aria-current="true"] { border-color: var(--orange); background: var(--orange); color: white; }

.orderLayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.sectionHead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sectionHead h2 { margin: 0; font-size: 23px; }
.sectionHead > span { color: var(--muted); font-size: 13px; }
.productGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.productCard { display: grid; grid-template-columns: 98px minmax(0, 1fr); min-width: 0; min-height: 118px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 4px 14px rgba(20,55,70,.055); }
.productVisual { position: relative; display: grid; min-height: 118px; place-items: center; overflow: hidden; background: var(--product-color, #173b57); color: white; font-size: 34px; }
.productVisual img { width: 100%; height: 100%; object-fit: cover; }
.productVisual .categoryLabel { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 5px; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,.58); color: white; font-size: 9px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.productBody { display: flex; min-width: 0; min-height: 118px; flex-direction: column; padding: 12px; }
.productBody h3 { margin: 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.2; }
.productMeta { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.25; }
.productCard.isUnavailable { border-color: #e4c18a; background: #fffaf1; }
.productCard.isUnavailable .productVisual { filter: saturate(.55); opacity: .78; }
.productCard.isUnavailable .productMeta { color: #9a5b00; font-weight: 800; }
.productCard.isUnavailable .addProduct { background: #d8dee5; color: #5d6874; cursor: not-allowed; }
.productBottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.productPrice { font-size: 19px; font-weight: 900; }
.addProduct { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 8px; background: var(--orange); color: white; font-size: 25px; font-weight: 900; }

.cartPanel { position: sticky; top: 132px; max-height: calc(100vh - 148px); overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.cartHead { display: flex; align-items: center; justify-content: space-between; padding: 15px; border-bottom: 1px solid var(--line); }
.cartHead h2 { margin: 0; }
.iconButton { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 24px; font-weight: 700; }
.closeCart { display: none; }
.cartItems { padding: 4px 15px; }
.cartItem { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cartItemTop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.cartItem strong, .cartItem small { display: block; }
.cartItem strong { overflow-wrap: anywhere; }
.cartItem small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.cartItemControls { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.miniQuantity { display: flex; align-items: center; gap: 10px; }
.miniQuantity button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); font-weight: 900; }
.removeItem { border: 0; background: transparent; color: #a43c31; font-weight: 800; }
.cartEmpty { padding: 22px 15px; color: var(--muted); text-align: center; }
.pickupDisclosure { margin: 8px 15px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.pickupDisclosure summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; list-style: none; cursor: pointer; }
.pickupDisclosure summary::-webkit-details-marker { display: none; }
.pickupDisclosure summary span:first-child { display: grid; min-width: 0; gap: 2px; }
.pickupDisclosure summary small { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.pickupDisclosure summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summaryChevron { flex: 0 0 auto; color: var(--orange); font-size: 24px; font-weight: 900; transition: transform .18s ease; }
.pickupDisclosure[open] .summaryChevron { transform: rotate(180deg); }
.pickupBox { margin: 0; padding: 13px; border: 0; border-top: 1px solid var(--line); background: white; }
.pickupBox h3 { margin: 0 0 10px; font-size: 16px; }
.pickupBox label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; }
.pickupBox select { min-height: 44px; padding: 0 10px; border: 1px solid #bdcbd3; border-radius: 7px; background: white; color: var(--ink); }
.pickupModeSwitch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.pickupModeSwitch button { display: grid; min-height: 66px; gap: 3px; align-content: center; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); text-align: left; }
.pickupModeSwitch button strong { font-size: 13px; }
.pickupModeSwitch button small { color: var(--muted); font-size: 10px; line-height: 1.25; }
.pickupModeSwitch button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.pickupModeSwitch button[aria-pressed="true"] strong { color: var(--orange-dark); }
.asapPickupInfo { display: grid; gap: 2px; padding: 11px; border-left: 4px solid var(--orange); border-radius: 6px; background: var(--orange-soft); }
.asapPickupInfo strong { color: var(--orange-dark); font-size: 13px; }
.asapPickupInfo span { color: #71401b; font-size: 11px; line-height: 1.35; }
#scheduledPickupFields { padding-top: 2px; }
.slotGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.slotGrid button { min-height: 38px; border: 1px solid #bdcbd3; border-radius: 6px; background: white; color: var(--ink); font-size: 12px; font-weight: 800; }
.slotGrid button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: white; }
.fieldHint { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.cartTotal { display: flex; align-items: center; justify-content: space-between; margin: 14px 15px 10px; padding-top: 12px; border-top: 2px solid var(--ink); }
.cartTotal strong { font-size: 24px; }
.checkoutButton { width: calc(100% - 30px); min-height: 52px; margin: 0 15px; border: 0; border-radius: 8px; background: var(--green); color: white; font-weight: 900; }
.checkoutButton:disabled { cursor: not-allowed; background: #b2c0c6; color: #f7fafb; }
.checkoutHint { margin: 8px 15px 16px; color: var(--muted); font-size: 11px; line-height: 1.4; }

.emptyState { padding: 42px 16px; border: 1px dashed #bdcbd3; border-radius: 8px; background: white; text-align: center; }
.emptyState strong { font-size: 20px; }
.emptyState p { margin: 7px auto 0; max-width: 420px; overflow-wrap: anywhere; color: var(--muted); }
.siteFooter { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(320px, 1.4fr) minmax(180px, .8fr); align-items: start; gap: 28px; padding: 24px max(16px, calc((100vw - 1280px) / 2)); border-top: 1px solid var(--line); background: white; }
.footerIdentity span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.paymentCompliance { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
.paymentCompliance > strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 13px; }
.paymentLogoBar { display: flex; min-height: 56px; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.paymentLogoBar img { display: block; width: auto; max-width: 100%; height: 42px; object-fit: contain; }
.paymentLogoBar .comgateLogoLink { display: inline-flex; align-items: center; margin-left: auto; }
.paymentCompliance p { width: 100%; max-width: 100%; margin: 10px 0 5px; overflow-wrap: anywhere; word-break: break-word; color: var(--muted); font-size: 11px; line-height: 1.5; }
.paymentInfoLinks { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 8px 0; }
.paymentInfoLinks a { min-height: 32px; display: inline-flex; align-items: center; color: #0b6f45; text-decoration: underline; text-underline-offset: 3px; }
.siteFooter nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.siteFooter a { color: var(--ink); font-size: 12px; font-weight: 800; }

.productDialog { width: min(620px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; overflow: hidden; border: 0; border-radius: 8px; box-shadow: 0 28px 80px rgba(9,28,42,.28); }
.productDialog::backdrop { background: rgba(8,25,38,.58); }
.dialogCard { max-height: calc(100vh - 24px); padding: 20px; overflow: auto; -webkit-overflow-scrolling: touch; }
.dialogClose { position: absolute; top: 12px; right: 12px; z-index: 2; }
.dialogProductHead { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 46px; }
.dialogVisual { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 8px; background: var(--green); color: white; font-size: 32px; }
.dialogProductHead h2 { margin: 0; overflow-wrap: anywhere; }
.dialogProductHead strong { display: block; margin-top: 5px; font-size: 19px; }
.productInfoSection { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #f7fafc; }
.productInfoSection p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.productInfoSection .allergenNotice { color: #874d00; font-weight: 750; }
.dialogCard section { margin-top: 18px; }
.dialogCard section h3 { margin: 0 0 8px; font-size: 16px; }
.optionList { display: grid; gap: 7px; }
.optionChoice { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.optionChoice span { min-width: 0; overflow-wrap: anywhere; }
.optionChoiceText { display: grid; gap: 3px; }
.optionChoiceText strong { font-size: 14px; }
.optionChoiceText small { color: #874d00; font-size: 11px; font-weight: 700; }
.optionChoice input { width: 20px; height: 20px; accent-color: var(--green); }
.optionChoice.isUnavailable { border-color: #e7c5c1; background: #fff7f6; color: #7f2924; }
.optionChoice.isUnavailable .optionChoiceText small { color: #a12a22; }
.optionChoice.isUnavailable input { opacity: .45; }

.addonChoice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  min-height: 66px;
  padding: 12px 13px;
  border-color: #d9e4de;
  background: #fbfffc;
}

.addonChoice:has(input:checked) {
  border-color: #087a3a;
  background: #ecfdf3;
  box-shadow: inset 0 0 0 1px rgba(8, 122, 58, .18);
}

.addonChoice .optionChoiceText strong {
  font-size: 16px;
  line-height: 1.15;
}

.addonChoice .optionChoiceText small {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff7ed;
  color: #8a4b00;
}

.addonChoicePrice {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.addonChoice:has(input:checked) .addonChoicePrice {
  background: #087a3a;
  color: #fff;
}

@media (max-width: 560px) {
  .addonChoice {
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .addonChoicePrice {
    grid-column: 1 / 2;
    justify-self: start;
    margin-top: 6px;
  }
}
.noteField { display: grid; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 800; }
.noteField textarea { width: 100%; resize: vertical; padding: 10px; border: 1px solid #bdcbd3; border-radius: 7px; color: var(--ink); }
.dialogActions { position: sticky; z-index: 3; bottom: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin: 20px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: white; }
.quantityControl { display: grid; grid-template-columns: 42px 38px 42px; align-items: center; text-align: center; }
.quantityControl button { height: 46px; border: 1px solid var(--line); background: var(--soft); font-size: 22px; font-weight: 900; }
.quantityControl button:first-child { border-radius: 8px 0 0 8px; }
.quantityControl button:last-child { border-radius: 0 8px 8px 0; }
.addButton { min-height: 48px; border: 0; border-radius: 8px; background: var(--green); color: white; font-weight: 900; touch-action: manipulation; }
.toast { position: fixed; z-index: 60; right: 16px; bottom: 16px; max-width: min(360px, calc(100% - 32px)); padding: 12px 15px; border-radius: 8px; background: var(--ink); color: white; box-shadow: var(--shadow); font-weight: 800; }
.checkoutCard { width: min(620px, calc(100vw - 24px)); }
.checkoutHeading { padding-right: 52px; }
.checkoutHeading h2 { margin: 2px 0 8px; }
.checkoutHeading p:last-child { margin: 0; color: var(--muted); line-height: 1.45; }
.mockSafetyNotice { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid #b8dcc7; border-radius: 8px; background: #effaf3; color: #14532d; }
.mockSafetyNotice span { text-align: right; color: #254b35; }
.checkoutReview { display: grid; gap: 14px; margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fffaf3; }
.checkoutReview h3 { margin: 0; font-size: 19px; }
.checkoutReviewGroup { display: grid; gap: 8px; }
.checkoutReviewItems { display: grid; gap: 8px; }
.checkoutReviewItem { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.checkoutReviewItem:first-child { border-top: 0; }
.checkoutReviewItemMain { display: grid; gap: 3px; min-width: 0; }
.checkoutReviewItemMain strong, .checkoutReviewItem > strong { overflow-wrap: anywhere; }
.checkoutReviewItemMain small { color: var(--muted); line-height: 1.4; }
.checkoutReviewItem > strong { flex: 0 0 auto; text-align: right; }
.checkoutReviewFacts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.checkoutReviewFacts > div { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkoutReviewFacts dt { color: var(--muted); font-weight: 800; }
.checkoutReviewFacts dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-weight: 800; }
.checkoutReviewFacts .checkoutReviewTotal { color: var(--ink); font-size: 18px; }
.checkoutReviewFacts .checkoutReviewTotal dt { color: var(--ink); }
.checkoutReviewLegal { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 12px; line-height: 1.4; }
.checkoutReviewLegal a { color: var(--green); font-weight: 800; }
.checkoutFields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checkoutFields label { display: grid; gap: 6px; color: var(--ink); font-weight: 800; }
.checkoutFields label.wide { grid-column: 1 / -1; }
.checkoutFields input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.honeypotField { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.checkoutConsents { display: grid; gap: 10px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9fa; }
.checkoutConsents label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; line-height: 1.4; }
.checkoutConsents input { width: 20px; height: 20px; margin: 0; }
.checkoutConsents a { color: var(--green); font-weight: 800; }
.checkoutDialogActions { position: sticky; bottom: -20px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; margin: 20px -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: white; }
.checkoutDialogActions .checkoutButton { width: 100%; margin: 0; }
.secondaryCheckoutButton { min-height: 52px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-weight: 900; }
.confirmationCard { width: min(500px, calc(100vw - 24px)); text-align: center; }
.confirmationIcon { display: grid; width: 64px; height: 64px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: #e8f8ee; color: var(--green); font-size: 34px; font-weight: 900; }
.confirmationCard h2 { margin: 4px 0 8px; overflow-wrap: anywhere; }
.confirmationCard > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.confirmationCard dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; text-align: left; }
.confirmationCard dl div { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9fa; }
.confirmationCard dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.confirmationCard dd { margin: 4px 0 0; font-weight: 900; }
.confirmationCard .checkoutButton { width: 100%; margin: 0; }

@media (max-width: 1040px) {
  .orderLayout { grid-template-columns: minmax(0, 1fr) 320px; }
  .productCard { grid-template-columns: 86px minmax(0, 1fr); }
  .productVisual { min-height: 118px; }
  .siteFooter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .siteFooter nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .appHeader { padding-inline: 12px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }
  .cartButton > span:nth-child(2) { display: none; }
  .pageShell { padding: 14px 12px 32px; }
  .orderIntro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .orderIntro > div { width: 100%; max-width: 100%; }
  .storeState { align-self: stretch; }
  .menuTools { top: 64px; grid-template-columns: 1fr; gap: 8px; margin-inline: -12px; padding: 8px 12px; }
  .orderLayout { display: block; }
  .productGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .productCard { grid-template-columns: 76px minmax(0, 1fr); min-height: 112px; }
  .productVisual { min-height: 112px; font-size: 29px; }
  .productBody { min-height: 112px; padding: 9px; }
  .productBody h3 { font-size: 15px; }
  .productPrice { font-size: 17px; }
  .cartPanel { position: fixed; z-index: 50; inset: auto 0 0; max-height: 90vh; overflow: auto; border-radius: 8px 8px 0 0; transform: translateY(105%); transition: transform .22s ease; }
  .cartPanel.open { transform: translateY(0); }
  .closeCart { display: grid; }
  .cartBackdrop { position: fixed; z-index: 45; inset: 0; background: rgba(8,25,38,.55); }
  .siteFooter { grid-template-columns: minmax(0, 1fr); padding: 22px 16px calc(90px + env(safe-area-inset-bottom)); }
  .siteFooter nav { width: 100%; display: grid; grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; justify-content: initial; }
  .siteFooter a { min-width: 0; overflow-wrap: anywhere; }
  .paymentLogoBar .comgateLogoLink { width: 100%; min-width: 0; flex: 1 0 100%; justify-content: flex-start; margin-left: 0; padding-top: 7px; overflow: hidden; border-top: 1px solid var(--line); }
  .paymentLogoBar .comgateLogoLink img { width: 181px; max-width: 100%; height: auto; max-height: 42px; }
  .paymentInfoLinks { display: grid; grid-template-columns: 1fr; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .checkoutFields, .checkoutDialogActions, .confirmationCard dl { grid-template-columns: 1fr; }
  .mockSafetyNotice { display: grid; }
  .mockSafetyNotice span { text-align: left; }
  .checkoutReviewFacts > div { grid-template-columns: 1fr; gap: 4px; }
  .checkoutReviewFacts dd { text-align: left; }
}

@media (max-width: 430px) {
  .productGrid { grid-template-columns: 1fr; }
  .productCard { grid-template-columns: 88px minmax(0, 1fr); }
  .siteFooter nav { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .dialogActions { grid-template-columns: 1fr; }
  .quantityControl { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* ONLINE PICKUP CUSTOMER UX POLISH V1 START */
:root {
  --primary: #f97316;
  --primary-dark: #c2410c;
  --primary-soft: #fff1e8;
  --success: #118451;
}
body { background: linear-gradient(180deg, #fff7ed 0, #f7fafb 220px); }
.appHeader { min-height: 68px; box-shadow: 0 8px 22px rgba(15, 35, 52, .06); }
.orderIntro {
  padding: 18px;
  border: 1px solid #f0d7c1;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 68%);
  box-shadow: 0 10px 28px rgba(180, 83, 9, .08);
}
.orderIntro .eyebrow, .eyebrow { color: var(--primary-dark); }
.storeState { border-color: #f3d1b8; background: #fffaf5; }
.notice { border-left-color: var(--primary); background: #fff7ed; color: #713f12; }
.orderSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.orderSteps div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #f0d7c1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(17, 36, 55, .05);
  font-weight: 850;
}
.orderSteps strong {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}
.menuTools { top: 68px; border-color: #f0d7c1; background: rgba(255, 250, 245, .98); }
.categoryTabs button[aria-current="true"], .addProduct, .checkoutButton:not(:disabled), .addButton, .slotGrid button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.checkoutButton:not(:disabled), .addButton { box-shadow: 0 10px 18px rgba(249, 115, 22, .18); }
.addProduct { box-shadow: 0 8px 18px rgba(249, 115, 22, .18); }
.productCard { border-color: #e8edf2; box-shadow: 0 10px 24px rgba(16, 36, 55, .07); }
.productCard:hover { border-color: #f0c9a7; transform: translateY(-1px); transition: transform .16s ease, border-color .16s ease; }
.productPrice { color: #0f5132; }
.cartPanel { border-color: #e8edf2; box-shadow: 0 18px 44px rgba(16, 36, 55, .10); }
.pickupDisclosure { background: #fffaf5; border-color: #f0d7c1; }
.pickupModeSwitch button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.pickupModeSwitch button[aria-pressed="true"] strong { color: var(--primary-dark); }
.asapPickupInfo { border-left-color: var(--primary); background: var(--primary-soft); }
.asapPickupInfo strong { color: var(--primary-dark); }
.mockSafetyNotice { border-color: #f0d7c1; background: #fff7ed; color: #7c2d12; }
.checkoutReview { background: #fffaf5; border-color: #f0d7c1; }
.checkoutReviewLegal a, .checkoutConsents a, .paymentInfoLinks a { color: var(--primary-dark); }
.paymentCompliance { align-self: stretch; }
.paymentLegalDetails {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.paymentLegalDetails summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.paymentLegalDetails summary::-webkit-details-marker { display: none; }
.paymentLegalDetails summary strong { display: block; margin: 0; color: var(--ink); font-size: 14px; }
.paymentLegalDetails summary span { color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.paymentLegalDetails[open] { padding-bottom: 12px; }
.paymentLegalDetails[open] > :not(summary) { margin-left: 14px; margin-right: 14px; }
body[data-payment-enabled="false"] .paymentLogoBar { opacity: .72; filter: grayscale(.15); }
@media (min-width: 1180px) {
  .productGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orderLayout { grid-template-columns: minmax(0, 1fr) minmax(340px, 380px); }
}
@media (max-width: 760px) {
  .menuTools { top: 68px; }
  .orderSteps { grid-template-columns: 1fr; gap: 8px; }
  .orderSteps div { min-height: 46px; }
  .paymentLegalDetails summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .paymentLegalDetails summary span { text-align: left; }
}
/* ONLINE PICKUP CUSTOMER UX POLISH V1 END */

/* ONLINE PICKUP CUSTOMER UX ADDONS KDS POLISH V1 */
.productDialog {
  width: min(760px, calc(100% - 24px));
}

.dialogProductHead {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
}

.dialogVisual {
  width: 96px;
  height: 96px;
  border-radius: 12px;
}

.addonChoice {
  grid-template-columns: minmax(0, 1fr) auto 34px;
  gap: 12px;
  min-height: 78px;
  padding: 14px 15px;
  border-radius: 12px;
  background: #fffaf5;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, .06);
}

.addonChoice .optionChoiceText {
  gap: 6px;
}

.addonChoice .optionChoiceText strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.16;
  white-space: normal;
  overflow-wrap: anywhere;
}

.addonChoice .optionChoiceText small {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3e8;
  color: #9a3412;
  font-size: 12px;
}

.addonChoicePrice {
  min-width: 74px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffedd5;
  color: #9a3412;
  font-size: 18px;
  text-align: center;
}

.addonChoice input {
  width: 28px;
  height: 28px;
  accent-color: var(--primary);
}

.addonChoice:has(input:checked) {
  border-color: var(--primary);
  background: #fff7ed;
  box-shadow: inset 0 0 0 2px rgba(234, 88, 12, .24);
}

.addonChoice:has(input:checked) .addonChoicePrice {
  background: var(--primary);
  color: #fff;
}

.cartItem small,
.checkoutReviewItemMain small {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.confirmationCard {
  width: min(640px, calc(100vw - 24px));
  text-align: center;
}

.confirmationPickupHero {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
  padding: clamp(18px, 5vw, 30px);
  border: 3px solid #fed7aa;
  border-radius: 20px;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #111827;
  box-shadow: 0 22px 46px rgba(234, 88, 12, .24);
}

.confirmationPickupHero span {
  color: #fff7ed;
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 1000;
  text-transform: uppercase;
}

.confirmationPickupHero h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(86px, 20vw, 156px);
  line-height: .86;
  font-weight: 1000;
  letter-spacing: 0;
}

.confirmationPickupHero em {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: clamp(15px, 3vw, 21px);
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .dialogProductHead {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .dialogVisual {
    width: 78px;
    height: 78px;
  }

  .addonChoice {
    grid-template-columns: minmax(0, 1fr) 30px;
    min-height: 76px;
  }

  .addonChoicePrice {
    grid-column: 1 / 2;
    justify-self: start;
    min-width: 0;
    margin-top: 2px;
    font-size: 16px;
  }
}
/* ONLINE PICKUP CUSTOMER UX ADDONS KDS POLISH V1 END */

/* IPHONE CART ACTION BAR HOTFIX V2 */
@media (max-width: 760px) {
  @supports (height: 100svh) {
    .productDialog,
    .dialogCard {
      max-height: calc(100svh - 16px);
    }
  }

  .dialogCard {
    overscroll-behavior: contain;
    scroll-padding-block-end: calc(76px + max(10px, env(safe-area-inset-bottom)));
  }
}

@media (max-width: 430px) {
  .dialogActions {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  }

  .quantityControl {
    grid-template-columns: 36px 32px 36px;
    justify-content: stretch;
  }

  .quantityControl button {
    height: 48px;
  }

  .addButton {
    min-width: 0;
    padding: 8px;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.15;
  }
}
/* IPHONE CART ACTION BAR HOTFIX V2 END */
