:root {
  color-scheme: light;
  --bo-bg: #f4f4f5;
  --bo-surface: #fff;
  --bo-surface-dark: #1d1c22;
  --bo-text: #292733;
  --bo-text-muted: #66656d;
  --bo-border: #d8d8dc;
  --bo-accent: #dc4c46;
  --bo-success: #159b08;
  --bo-danger: #d9342b;
  --bo-shadow: 0 2px 8px rgba(0, 0, 0, .17);
  --bo-radius-sm: 6px;
  --bo-radius-md: 10px;
  --bo-header-height: 60px;
  --bo-bottom-height: 74px;
  --bo-text-xs: 12px;
  --bo-text-sm: 13px;
  --bo-text-md: 15px;
  --bo-text-lg: 19px;
  --bo-space-1: 4px;
  --bo-space-2: 8px;
  --bo-space-3: 12px;
  --bo-space-4: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 0;
  background: var(--bo-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.bo-page {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: var(--bo-bg);
  color: var(--bo-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  line-height: 1.4;
  overflow-x: hidden;
}

.bo-page[data-page="checkout"] .bo-app { display: flex; flex-direction: column; min-height: 100dvh; }
.bo-page[data-page="checkout"] .bo-checkout-main { flex: 1 0 auto; }
.bo-page[data-page="menu"] .bo-app { display: flex; min-height: 100dvh; flex-direction: column; }
.bo-page[data-page="menu"] .bo-main { flex: 1 0 auto; }

body.bo-font-large {
  --bo-text-xs: 10px;
  --bo-text-sm: 11px;
  --bo-text-md: 13px;
  --bo-text-lg: 17px;
}

body.bo-font-extreme {
  --bo-text-xs: 7px;
  --bo-text-sm: 8px;
  --bo-text-md: 10px;
  --bo-text-lg: 13px;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
svg { display: block; }

.bo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 44px minmax(70px, 1fr) auto;
  align-items: center;
  min-height: var(--bo-header-height);
  padding: 6px 10px;
  border-bottom: 2px solid var(--bo-accent);
  background: #080808;
  color: #fff;
}

.bo-page--app .bo-header { grid-template-columns: minmax(70px, 1fr) auto; }

.bo-icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: var(--bo-radius-sm);
  background: transparent;
  cursor: pointer;
}

.bo-icon-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.bo-header__brand {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  justify-self: start;
  min-width: 0;
  width: min(100%, 190px);
  max-width: 190px;
  height: 34px;
  text-align: left;
  text-decoration: none;
}

.bo-page--web .bo-header__brand {
  transform: translate(-7px, 2px);
}

.bo-header__logo,
.bo-header__logo > * {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 34px;
  max-width: 100%;
  max-height: 34px;
  text-align: left;
}

.bo-header__logo img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 100% !important;
  height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  object-fit: contain;
}

.bo-drawer__logo img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bo-header__logo svg,
.bo-header__logo picture {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 100% !important;
  height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
}

.bo-drawer__logo svg,
.bo-drawer__logo picture {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 100% !important;
  height: 48px !important;
  max-height: 48px !important;
}

.bo-cart-summary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  min-height: 42px;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: #45a94e;
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  white-space: nowrap;
  cursor: pointer;
  transform: translateY(2px);
}

.bo-cart-summary svg {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bo-main { min-width: 0; }
.bo-page--app .bo-main { padding-bottom: calc(var(--bo-bottom-height) + 12px); }
.bo-page--app .bo-bottom-nav { display: none; }
.bo-page--app .bo-main { padding-bottom: 12px; }
.bo-page[data-page="apphome"] .bo-header { display: none; }

.bo-category-shell {
  position: sticky;
  top: var(--bo-header-height);
  z-index: 90;
  padding: 2px;
  background: var(--bo-surface-dark);
}

.bo-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  width: min(100%, 900px);
  margin: 0 auto;
}

.bo-category {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 31px;
  padding: 3px 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.bo-category.is-active {
  background: var(--bo-accent);
  font-weight: 700;
  padding: 0;
}

.bo-menu-content {
  width: min(100%, 1120px);
  min-width: 0;
  margin: 0 auto;
  padding: 8px;
}

.bo-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 150px;
  color: var(--bo-text-muted);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
}

.bo-status[hidden] { display: none; }

.bo-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #d8d8dc;
  border-top-color: var(--bo-accent);
  border-radius: 50%;
  animation: bo-spin .8s linear infinite;
}

@keyframes bo-spin { to { transform: rotate(360deg); } }

.bo-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

.bo-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bo-border);
  border-radius: var(--bo-radius-md);
  background: var(--bo-surface);
  box-shadow: var(--bo-shadow);
}

.bo-product-card[hidden] { display: none; }

.bo-product-card__open {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.bo-product-card__add {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bo-success);
  color: #fff;
  font-size: 0;
}

.bo-product-card__add::before,
.bo-product-card__add::after {
  position: absolute;
  width: 17px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  content: '';
}

.bo-product-card__add::after { transform: rotate(90deg); }
.bo-product-card.is-unavailable .bo-product-card__add::after { display: none; }

.bo-product-card.is-unavailable .bo-product-card__add { background: var(--bo-danger); }

.bo-product-card__image-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 8px 8px 0;
  background: #fff;
}

.bo-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bo-product-card__image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: linear-gradient(135deg, #f1f1f2, #e4e4e6);
}

.bo-product-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 8px;
}

.bo-product-card__name {
  margin: 0;
  color: var(--bo-text);
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.bo-product-card__description {
  margin: 6px 0;
  color: var(--bo-text-muted);
  font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1));
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bo-product-card.has-info .bo-product-card__price { padding-top: 5px; }

.bo-product-card__info {
  display: inline;
  padding: 0 2px;
  color: var(--bo-success);
  font-size: 1em;
  font-weight: 750;
  line-height: inherit;
  cursor: pointer;
}

.bo-product-card__info:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--bo-success);
  outline-offset: 2px;
}

.bo-product-card__price {
  margin: auto 0 0;
  padding-top: 5px;
  color: var(--bo-text);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 750;
  line-height: 1.15;
}

.bo-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(0, 0, 0, .55);
}

.bo-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 199;
  width: min(78vw, 300px);
  padding: 0;
  border-right: 1px solid #29292e;
  background: #0a0a0c;
  color: #fff;
  overflow-y: auto;
  box-shadow: 5px 0 25px rgba(0, 0, 0, .25);
  transform: translateX(-105%);
  transition: transform .2s ease;
}

.bo-drawer.is-open { transform: translateX(0); }
.bo-drawer__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid #29292e;
}
.bo-drawer__header .bo-icon-button { color: #fff; font-size: calc(30px * var(--bo-font-factor, 1)); }
.bo-drawer__logo { display: flex; align-items: center; width: min(68%, 160px); height: 54px; }
.bo-drawer__logo img { width: auto !important; max-width: 100% !important; height: auto !important; max-height: 52px !important; object-fit: contain; }
.bo-drawer__links { display: grid; gap: 0; margin: 0; padding: 8px; }

.bo-drawer__links a,
.bo-drawer__links button {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #29292e;
  border-radius: 0;
  background: transparent;
  color: #d5d5d8;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.bo-drawer__links a:hover,
.bo-drawer__links button:hover,
.bo-drawer__links a:focus-visible,
.bo-drawer__links button:focus-visible { background: #1b1b1f; color: #fff; outline: none; }
.bo-drawer__links .is-current { color: #fff; box-shadow: inset 3px 0 0 var(--bo-accent); }
.bo-drawer__links svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bo-drawer__links .bo-link--danger { color: var(--bo-danger); }

.bo-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: var(--bo-bottom-height);
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  background: #050505;
  color: #b9b9bd;
}

.bo-bottom-nav a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1));
  line-height: 1;
  text-decoration: none;
}

.bo-bottom-nav a.is-current { color: #fff; font-weight: 700; }

.bo-bottom-nav svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bo-web-footer {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 28px;
  padding: 28px 16px;
  background: #111;
  color: #fff;
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  text-align: center;
}

.bo-web-footer p { margin: 0; }
.bo-web-footer__logo img { max-width: 130px; max-height: 70px; object-fit: contain; }
.bo-web-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 9px; }

.bo-dialog {
  width: min(94vw, 620px);
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--bo-text);
}

.bo-dialog::backdrop { background: rgba(24, 23, 33, .76); }

.bo-dialog__surface {
  position: relative;
  max-height: calc(100dvh - 24px);
  padding: 20px 16px 16px;
  overflow: auto;
  border-radius: 14px;
  background: var(--bo-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.bo-product-dialog {
  top: 8dvh;
  bottom: auto;
  width: min(calc(100vw - 12px), 940px);
  height: auto;
  max-height: calc(92dvh - 12px);
  margin: 0 auto;
}

.bo-product-dialog .bo-dialog__surface {
  height: auto;
  max-height: calc(92dvh - 12px);
  padding: 7px 5px 0;
  overflow-x: hidden;
  background: #3f4647;
  color: #fff;
  border: 2px groove #d2cdcd;
  border-radius: 9px;
}

.bo-product-dialog.is-compact {
  top: 8dvh;
  bottom: auto;
  margin: 0 auto;
  transform: none;
}

.bo-page--app .bo-product-dialog,
.bo-page--app .bo-product-dialog .bo-dialog__surface {
  max-height: calc(92dvh - var(--bo-bottom-height) - 12px);
}

.bo-dialog__close {
  position: sticky;
  top: -15px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -12px -5px 2px 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bo-danger);
  font-size: calc(40px * var(--bo-font-factor, 1));
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.bo-dialog__close:focus { outline: none; }
.bo-dialog__close:focus-visible { outline: 3px solid rgba(220, 76, 70, .35); outline-offset: 2px; }

.bo-product-dialog .bo-dialog__close {
  position: absolute;
  top: -5px;
  right: 7px;
  float: none;
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  font-size: calc(42px * var(--bo-font-factor, 1));
  font-weight: 900;
  line-height: 1;
}

.bo-info-dialog { width: min(calc(100vw - 24px), 480px); }
.bo-info-dialog .bo-dialog__surface { padding: 22px 18px 20px; }
.bo-info-dialog h2 {
  margin: 0 46px 12px 0;
  font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1));
  line-height: 1.15;
}
.bo-info-dialog p {
  margin: 0;
  color: var(--bo-text);
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bo-legal-dialog { width: min(calc(100vw - 20px), 760px); }
.bo-legal-dialog .bo-dialog__surface {
  display: flex;
  flex-direction: column;
  max-height: min(calc(100dvh - 20px), 820px);
  padding: 22px 18px 18px;
  overflow: hidden;
}
.bo-legal-dialog h2 { flex: 0 0 auto; margin: 0 46px 12px 0; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); line-height: 1.15; }
.bo-legal-dialog__content {
  min-height: 150px;
  padding: 2px 5px 8px 0;
  overflow: auto;
  color: var(--bo-text);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  line-height: 1.55;
  overflow-wrap: anywhere;
  -webkit-overflow-scrolling: touch;
}
.bo-legal-dialog__content > :first-child { margin-top: 0; }
.bo-legal-dialog__content > :last-child { margin-bottom: 0; }
.bo-legal-dialog__content h1,
.bo-legal-dialog__content h2,
.bo-legal-dialog__content h3 { margin: 18px 0 8px; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); line-height: 1.25; }
.bo-legal-dialog__content a { color: var(--bo-link); text-decoration: underline; }
.bo-legal-dialog__loading { color: var(--bo-text-muted); text-align: center; }
.bo-legal-dialog__full {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 13px;
  color: var(--bo-link);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 700;
  text-decoration: underline;
}

.bo-free-item-dialog { width: min(calc(100vw - 24px), 480px); }
.bo-free-item-dialog .bo-dialog__surface { padding: 24px 18px 20px; }
.bo-free-item-dialog h2 { margin: 0 42px 6px 0; }
.bo-free-item-dialog p { margin: 0 0 16px; color: var(--bo-text-muted); }
.bo-free-item-options { display: grid; gap: 9px; }
.bo-free-item-options .bo-primary-button { background: #37a400; }

.bo-collection-only-dialog { width: min(calc(100vw - 24px), 500px); }
.bo-collection-only-dialog .bo-dialog__surface { padding: 24px 18px 20px; }
.bo-collection-only-dialog h2 { margin: 0 42px 6px 0; font-weight: 650; }
.bo-collection-only-dialog p { margin: 0 0 13px; color: var(--bo-text-muted); font-weight: 400; }
.bo-collection-only-items { display: grid; gap: 7px; margin-bottom: 16px; }
.bo-collection-only-item { padding: 10px 12px; border-left: 4px solid var(--bo-accent); border-radius: 6px; background: #fff0ef; color: #721c18; }
.bo-collection-only-item strong { font-weight: 650; }
.bo-collection-only-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.bo-collection-only-actions .bo-primary-button { background: #37a400; font-weight: 650; }
.bo-collection-only-actions .bo-danger-button { background: #bc2822; }

.bo-checkout-details-dialog { width: min(calc(100vw - 24px), 520px); }
.bo-checkout-details-dialog .bo-dialog__surface { padding: 24px 18px 20px; }
.bo-checkout-details-dialog h2 { margin: 0 42px 5px 0; }
.bo-checkout-details-dialog > .bo-dialog__surface > p { margin: 0 0 16px; color: var(--bo-text-muted); }
.bo-checkout-details-form { display: grid; gap: 12px; }
.bo-checkout-details-form label { display: grid; gap: 5px; }
.bo-checkout-details-form .bo-edit-delivery-field[hidden] { display: none !important; }
.bo-checkout-details-form label > span { font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 750; }
.bo-checkout-details-form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b8b8bd; border-radius: 7px; background: #f8f8f9; }
.bo-checkout-details-form .bo-primary-button { min-height: 52px; margin-top: 3px; }

.bo-product-view__image { display: block; width: min(70%, 260px); max-height: 230px; margin: 0 auto; object-fit: contain; }
.bo-product-view h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 18px 1px;
  font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1));
  text-align: center;
}
.bo-product-view__description { color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); text-align: center; }
.bo-product-view__prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0; }
.bo-product-view__prices span { padding: 6px 9px; border-radius: 999px; background: #f0f0f2; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 700; }

.bo-product-configurator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 5px;
  width: 100%;
  align-items: start;
}

.bo-deal-configurator {
  display: grid;
  gap: 7px;
  width: 100%;
}

.bo-deal-configurator > h2 {
  min-height: 38px;
  margin: 0 48px 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bo-deal-description {
  margin: -4px 16px 2px;
  color: var(--bo-text-muted);
  text-align: center;
}

.bo-deal-steps {
  display: grid;
  gap: 8px;
}

.bo-deal-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.bo-deal-customize {
  align-self: stretch;
  min-width: 104px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: var(--bo-success);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.bo-deal-step__number {
  color: var(--bo-success);
  font-size: calc(1.2rem * var(--bo-font-factor, 1));
  font-weight: 800;
  text-align: center;
}

.bo-deal-step__content {
  display: grid;
  grid-template-columns: minmax(88px, .34fr) minmax(0, 1fr) 106px;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--bo-border);
  border-radius: 10px;
  background: #fff;
  color: #000;
}

.bo-deal-step__content > strong,
.bo-deal-step__content > span {
  padding: 8px 10px;
}

.bo-deal-step__content > span {
  border-left: 1px solid var(--bo-border);
}

.bo-deal-step select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 7px 30px 7px 10px;
  border: 0;
  border-left: 1px solid var(--bo-border);
  background: #fff;
  color: var(--bo-text);
  font: inherit;
  font-weight: 700;
}

@media (max-width: 360px) {
  .bo-deal-configurator { gap: 8px; }
  .bo-deal-description { font-size: calc(.86rem * var(--bo-font-factor, 1)); }
  .bo-deal-step { grid-template-columns: 22px minmax(0, 1fr); gap: 4px; }
  .bo-deal-step__content { grid-template-columns: 72px minmax(0, 1fr) 78px; min-height: 42px; }
  .bo-deal-step select { min-height: 42px; padding-left: 7px; font-size: calc(.88rem * var(--bo-font-factor, 1)); }
  .bo-deal-step__content > strong,
  .bo-deal-step__content > span { padding: 6px 7px; font-size: calc(.88rem * var(--bo-font-factor, 1)); }
  .bo-deal-customize { min-width: 0; padding: 6px 4px; font-size: calc(.78rem * var(--bo-font-factor, 1)); }
}

.bo-product-configurator > h2,
.bo-product-configurator > .bo-product-view__description,
.bo-product-configurator > .bo-extra-section,
.bo-product-configurator > .bo-product-actions,
.bo-product-configurator > .bo-config-section--single {
  grid-column: 1 / -1;
}

.bo-product-configurator > .bo-extra-section {
  grid-column: 1 / -1;
  grid-row: auto;
}

.bo-product-configurator.has-inline-modifiers > .bo-extra-section {
  grid-column: auto;
}

.bo-product-configurator.has-inline-modifiers > .bo-extra-section .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-product-configurator.has-inline-extras-wide > .bo-extra-section {
  grid-column: 2 / -1;
}

.bo-product-configurator.has-inline-extras-wide > .bo-extra-section .bo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Long Salads and Sauces retain two columns. Portion, short choices and
   additions share a compact stacked third column instead of creating rows. */
.bo-config-side-stack {
  display: grid;
  grid-column: 3;
  gap: 7px;
  min-width: 0;
  align-self: start;
}

.bo-config-side-stack > .bo-config-section {
  width: 100%;
}

.bo-config-side-stack .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-config-option-stack {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  min-width: 0;
  justify-self: center;
  align-items: start;
  align-self: start;
}

.bo-config-option-stack .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-config-option-stack > .bo-extra-section .bo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-config-option-stack--extras-only {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 50%);
}

.bo-config-option-stack--extras-only > .bo-extra-section .bo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-config-section--one-option .bo-choice-grid,
.bo-config-option-stack > .bo-config-section--one-option .bo-choice-grid,
.bo-config-option-stack--extras-only > .bo-config-section--one-option .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-product-configurator.bo-layout-units-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-product-configurator.bo-layout-units-2 > .bo-config-section:not([hidden]):first-of-type {
  grid-column: auto;
}

.bo-product-configurator.bo-layout-units-2 > .bo-config-section:not([hidden]) {
  grid-column-end: span 1;
}

.bo-product-configurator.bo-layout-units-1 > .bo-config-section:not([hidden]) {
  grid-column: 2;
}

.bo-product-configurator.bo-layout-units-1 {
  min-height: 270px;
  grid-template-rows: auto auto 1fr auto;
}

.bo-product-configurator.bo-layout-units-1 > .bo-product-actions { grid-row: -1; }

.bo-make-meal-section .bo-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-config-side-stack .bo-make-meal-section .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-meal-option[hidden] { display: none; }

.bo-product-dialog .bo-product-view h2,
.bo-product-dialog .bo-deal-configurator > h2 {
  color: #fff;
}

.bo-simple-product-image {
  grid-column: 1 / -1;
  display: block;
  width: min(42%, 180px);
  max-height: 180px;
  margin: 0 auto;
  object-fit: contain;
}

.bo-product-dialog.has-simple-product .bo-dialog__surface,
.bo-product-dialog.has-simple-product .bo-product-actions {
  background: #fff;
  color: var(--bo-text);
}

.bo-product-dialog.has-simple-product .bo-product-view h2 {
  color: var(--bo-text);
}

.bo-product-configurator > .bo-config-section:not(.bo-extra-section):not(.bo-config-section--single) .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-config-section--single .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bo-product-configurator .bo-product-view__image {
  width: min(52%, 210px);
  max-height: 170px;
}

.bo-config-section {
  min-width: 0;
  border: 1px solid var(--bo-border);
  border-radius: 4px;
  overflow: hidden;
  background: #3f4647;
}

.bo-config-section h3 {
  margin: 0;
  padding: 6px 8px;
  background: #1d6400;
  color: #fff;
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  text-align: center;
}

.bo-salad-section > h3 {
  padding: 0;
}

.bo-salad-section > h3 > .bo-salad-heading-choice {
  width: 100%;
  min-height: 0;
  padding: 6px 4px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  text-align: left;
}

.bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__mark {
  border-color: #fff;
}

.bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text {
  color: #fff;
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  font-weight: 750;
}

.bo-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--bo-surface);
}

.bo-choice {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 5px;
  background: var(--bo-surface);
  box-shadow: inset -1px -1px 0 var(--bo-border);
  cursor: pointer;
}

.bo-choice.is-disabled {
  opacity: .48;
  background: #e7e7e8;
  cursor: not-allowed;
}

.bo-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bo-choice__mark {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #666;
  border-radius: 4px;
  background: #fff;
}

.bo-choice input[type="radio"] + .bo-choice__mark { border-radius: 50%; }
.bo-choice input:checked + .bo-choice__mark {
  border-color: var(--bo-accent);
  background: var(--bo-accent);
  box-shadow: inset 0 0 0 4px #fff;
}

.bo-choice__text {
  min-width: 0;
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 400;
  overflow-wrap: anywhere;
  color: #000;
}

.bo-salad-master .bo-choice__text { font-weight: 750; }

.bo-dynamic-select {
  display: grid;
  gap: 5px;
  padding: 8px;
  background: #bfbfbf;
  box-shadow: inset -1px -1px 0 var(--bo-border);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 700;
  color: #000;
  text-align: center;
  border-bottom: 1px solid #000;
}

.bo-dynamic-select select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--bo-border);
  border-radius: 4px;
  background: #fff;
  color: #000;
  text-align: center;
  text-align-last: center;
}

/* Website home */
.bo-home-main {
  min-height: calc(100dvh - var(--bo-header-height));
  background: #f2f2f3;
}

.bo-home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(510px, 72dvh, 760px);
  padding: 58px 18px;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, .68), rgba(5, 5, 5, .82)),
    var(--bo-home-image, linear-gradient(135deg, #111 0%, #292929 65%, #174d0b 100%));
  background-position: center;
  background-size: cover;
}

.bo-home-hero.has-no-image {
  background-image: linear-gradient(135deg, #111 0%, #292929 65%, #174d0b 100%);
}

.bo-home-hero__content {
  display: grid;
  justify-items: center;
  width: min(100%, 680px);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(10, 10, 10, .58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(3px);
}

.bo-home-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 750;
}

.bo-home-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #36c84a;
  box-shadow: 0 0 0 4px rgba(54, 200, 74, .18);
}

.bo-home-status.is-closed span {
  background: var(--bo-danger);
  box-shadow: 0 0 0 4px rgba(220, 76, 70, .2);
}

.bo-home-hero h1 {
  max-width: 620px;
  margin: 0 0 12px;
  color: #fff;
  font-size: calc(clamp(1.25rem, 3vw, 2rem) * var(--bo-font-factor, 1));
  line-height: 1.08;
}

.bo-home-opening {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .86);
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
}

.bo-home-order {
  width: min(100%, 390px);
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 9px;
  background: var(--bo-accent);
  color: #fff;
  font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1));
  font-weight: 650;
  text-decoration: none;
}

.bo-home-hero__apps {
  width: min(100%, 390px);
  margin-top: 14px;
}

.bo-home-hero__apps > p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .82);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
}

.bo-home-hero__apps > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.bo-home-hero__apps img {
  display: block;
  width: auto;
  max-width: 145px;
  max-height: 48px;
  height: 48px !important;
  object-fit: contain;
}

.bo-home-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 28px), 1120px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.bo-home-details article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--bo-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.bo-home-details h2 { margin: 0 0 8px; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-home-details p { margin: 0 0 12px; color: var(--bo-text-muted); line-height: 1.5; }
.bo-home-details a { color: var(--bo-success); font-weight: 800; }
.bo-page[data-page="home"] .website { display: none; }

@media (max-width: 720px) {
  .bo-home-hero { min-height: calc(100dvh - var(--bo-header-height)); padding: clamp(105px, 14vh, 165px) 10px 30px; align-items: start; }
  .bo-home-hero__content { padding: 24px 15px; border-radius: 13px; }
  .bo-home-details { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
}

/* Shared V2 authentication */
.bo-auth-dialog,
.bo-address-dialog {
  width: min(calc(100vw - 20px), 520px);
  max-height: calc(100dvh - 20px);
  padding: 0;
  border: 0;
  background: transparent;
}

.bo-auth-dialog .bo-dialog__surface,
.bo-address-dialog .bo-dialog__surface {
  position: relative;
  max-height: calc(100dvh - 20px);
  padding: 24px 22px 22px;
  overflow-y: auto;
  border: 1px solid var(--bo-border);
  border-radius: 16px;
  background: #fff;
  color: var(--bo-text);
}

.bo-auth-dialog .bo-dialog__close,
.bo-address-dialog .bo-dialog__close {
  position: absolute;
  top: 8px;
  right: 10px;
  margin: 0;
  float: none;
}

.bo-auth-dialog h2,
.bo-address-dialog h2 {
  margin: 2px 44px 18px;
  font-size: calc(1.7rem * var(--bo-font-factor, 1));
  text-align: center;
}

.bo-auth-intro,
.bo-auth-form > p,
.bo-address-dialog p {
  margin: -3px 0 18px;
  color: var(--bo-text-muted);
  text-align: center;
}

.bo-auth-form {
  display: grid;
  gap: 12px;
}

.bo-auth-form--register {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-auth-wide { grid-column: 1 / -1; }

.bo-auth-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.bo-auth-form label > span:first-child {
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  font-weight: 750;
}

.bo-auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b8b8bd;
  border-radius: 7px;
  background: #f8f8f9;
  color: var(--bo-text);
}

.bo-auth-form input:focus {
  border-color: var(--bo-success);
  outline: 3px solid rgba(21, 155, 8, .16);
}

.bo-password-field {
  position: relative;
  display: block;
}

.bo-password-field input { padding-right: 62px; }
.bo-password-field button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: var(--bo-text-muted);
  font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1));
  font-weight: 750;
}

.bo-auth-link {
  display: block;
  margin: 13px auto 0;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--bo-accent);
  font-weight: 750;
  cursor: pointer;
}

.bo-auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0 13px;
  color: var(--bo-text-muted);
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
}
.bo-auth-divider::before,
.bo-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--bo-border); }

.bo-social-logins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.bo-social-login {
  min-height: 52px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
}
.bo-auth-form > .bo-primary-button { min-height: 52px; }
.bo-social-login--apple { grid-column: 1 / -1; background: #000; }
.bo-social-login--facebook { background: #507cc0; }
.bo-social-login--google { background: #df4930; }
.bo-social-login[disabled] { opacity: .58; cursor: wait; }

.bo-auth-switch,
.bo-auth-terms { text-align: center; }
.bo-auth-switch { margin: 17px 0 0; }
.bo-auth-switch button {
  padding: 3px;
  border: 0;
  background: transparent;
  color: #08779b;
  font-weight: 800;
  cursor: pointer;
}
.bo-auth-terms { margin: 12px 0 0; color: var(--bo-text-muted); font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-auth-terms a { color: var(--bo-accent); font-weight: 750; }

.bo-reset-code { margin-top: 18px; border-top: 1px solid var(--bo-border); padding-top: 14px; }
.bo-reset-code summary { color: #08779b; font-weight: 750; text-align: center; cursor: pointer; }
.bo-reset-code .bo-auth-form { margin-top: 15px; }

.bo-address-dialog .bo-dialog__surface { display: flex; flex-direction: column; max-height: min(88dvh, 760px); overflow: hidden; }
#boAddressSuggestions { display: grid; flex: 1 1 auto; gap: 7px; min-height: 0; margin: 12px 0; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; }
#boAddressSuggestions .bo-address-suggestion { display: block; width: 100%; min-height: 52px; padding: 10px 13px; border: 1px solid var(--bo-border); border-radius: 7px; background: #f5f5f6; color: var(--bo-text); text-align: left; cursor: pointer; }
#boAddressSuggestions .bo-address-suggestion:active { border-color: #37a400; background: #f0faeb; }
.bo-address-actions { display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--bo-border); background: #fff; }
.bo-address-actions button[hidden] { display: none !important; }
.bo-address-actions button[disabled] { opacity: .48; cursor: not-allowed; }
.bo-address-dialog.is-strict .bo-address-actions { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 520px) {
  .bo-auth-dialog,
  .bo-address-dialog { width: calc(100vw - 8px); max-height: calc(100dvh - 8px); }
  .bo-auth-dialog .bo-dialog__surface,
  .bo-address-dialog .bo-dialog__surface { max-height: calc(100dvh - 8px); padding: 18px 14px 16px; border-radius: 13px; }
  .bo-auth-dialog h2,
  .bo-address-dialog h2 { margin-bottom: 14px; font-size: calc(1.45rem * var(--bo-font-factor, 1)); }
  .bo-auth-form--register { grid-template-columns: minmax(0, 1fr); }
  .bo-auth-wide { grid-column: auto; }
  .bo-auth-form--register { gap: 8px; }
  .bo-auth-form--register label { gap: 2px; }
  .bo-auth-form--register label > span:first-child { font-size: calc(15px * var(--bo-font-factor, 1)); line-height: 1.15; }
  .bo-auth-form--register input { min-height: 44px; height: 44px; padding: 7px 10px; font-size: calc(16px * var(--bo-font-factor, 1)); }
  .bo-auth-form--register .bo-password-field input { padding-right: 58px; }
  #boRegisterDialog h2 { margin-top: 0; margin-bottom: 8px; font-size: calc(1.3rem * var(--bo-font-factor, 1)); }
  #boRegisterDialog .bo-auth-intro { margin: 0 28px 10px; font-size: calc(15px * var(--bo-font-factor, 1)); line-height: 1.25; }
  #boRegisterDialog .bo-auth-switch,
  #boRegisterDialog .bo-auth-terms { margin-top: 9px; }
}

@media (max-height: 700px) {
  #boRegisterDialog .bo-dialog__surface { padding-top: 12px; padding-bottom: 12px; }
  #boRegisterDialog h2 { margin-bottom: 5px; font-size: calc(1.2rem * var(--bo-font-factor, 1)); }
  #boRegisterDialog .bo-auth-intro { margin-bottom: 6px; }
  #boRegisterDialog .bo-auth-form--register { gap: 5px; }
  #boRegisterDialog .bo-auth-form--register input { min-height: 40px; height: 40px; }
}

.bo-product-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr);
  gap: 9px;
  margin: 2px 0 0;
  padding: 10px 3px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--bo-border);
  background: #3f4647;
}

/* Checkout V2 */
.bo-checkout-main { width: min(calc(100% - 28px), 1180px); margin: 0 auto; padding: 18px 0 48px; }
.bo-checkout-heading { margin: 0 0 22px; }
.bo-checkout-heading p { margin: 0 0 4px; color: var(--bo-accent); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.bo-checkout-heading h1 { margin: 0; font-size: calc(clamp(1.75rem, 3vw, 2.55rem) * var(--bo-font-factor, 1)); }
.bo-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 18px; align-items: start; }
.bo-checkout-card,
.bo-checkout-login { padding: 22px; border: 1px solid var(--bo-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.bo-checkout-details { grid-row: auto; }
.bo-checkout-tip,
.bo-checkout-payment { grid-column: 1/-1; }
.bo-checkout-card__heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; }
.bo-checkout-card__heading > span { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border-radius: 50%; background: var(--bo-success); color: #fff; font-weight: 850; }
.bo-checkout-card__heading h2 { margin: 0; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-checkout-card__heading h2 small { margin-left: 7px; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 500; }
.bo-checkout-card__heading--inline { margin-bottom: 12px; }
.bo-checkout-card__heading p { margin: 3px 0 0; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-checkout-change-details { margin-left: auto; padding: 6px 0 6px 9px; border: 0; background: transparent; color: #08779b; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 650; white-space: nowrap; cursor: pointer; }
.bo-order-type,
.bo-tip-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0 0 19px; padding: 0; border: 0; }
.bo-order-type legend,
.bo-tip-options legend { grid-column: 1/-1; margin-bottom: 3px; font-weight: 800; }
.bo-order-type label,
.bo-tip-options label { position: relative; cursor: pointer; }
.bo-order-type label:only-of-type { grid-column: 1/-1; }
.bo-order-type input,
.bo-tip-options input { position: absolute; opacity: 0; pointer-events: none; }
.bo-order-type label > span,
.bo-tip-options span { display: grid; place-items: center; min-height: 50px; padding: 8px 12px; border: 1px solid #b8b8bd; border-radius: 8px; background: #f2f2f3; font-weight: 750; }
.bo-order-type label > span { grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; column-gap: 10px; min-height: 72px; text-align: left; }
.bo-order-type svg { grid-row: 1/3; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bo-order-type strong { align-self: end; justify-self: start; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); }
.bo-order-type small { align-self: start; justify-self: start; color: var(--bo-text-muted); font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); font-weight: 500; }
.bo-order-type input:checked + span,
.bo-tip-options input:checked + span { border-color: var(--bo-success); background: var(--bo-success); color: #fff; box-shadow: 0 0 0 2px rgba(21,155,8,.13); }
.bo-order-type input:checked + span small { color: rgba(255,255,255,.88); }
.bo-checkout-start { display: flex; align-items: center; gap: 12px; margin: 4px 0 1px; padding: 15px; border: 1px solid #d8d8dc; border-radius: 10px; background: linear-gradient(135deg,#f7faf6,#f1f2f3); }
.bo-checkout-start[hidden] { display: none !important; }
.bo-checkout-start__icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #37a400; color: #fff; font-size: calc(21px * var(--bo-font-factor, 1)); font-weight: 850; }
.bo-checkout-start strong { display: block; margin-bottom: 2px; }
.bo-checkout-start p { margin: 0; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-checkout-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.bo-checkout-fields label,
.bo-voucher label { display: grid; gap: 5px; min-width: 0; }
.bo-checkout-fields .bo-delivery-field[hidden] { display: none !important; }
.bo-checkout-fields label > span,
.bo-voucher label > span { font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 780; }
.bo-checkout-fields input,
.bo-checkout-fields select,
.bo-checkout-fields textarea,
.bo-voucher input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #b8b8bd; border-radius: 7px; background: #f8f8f9; color: var(--bo-text); }
.bo-checkout-fields textarea { min-height: 105px; resize: vertical; }
.bo-saved-note { margin-top: -4px; }
.bo-saved-note select { min-height: 42px; padding-block: 7px; background: #e8e8eb; border-color: #aaaab0; }
.bo-checkout-field-input { position: relative; display: block; }
.bo-checkout-field-input input { padding-right: 70px; }
.bo-checkout-field-input button { position: absolute; top: 50%; right: 9px; min-height: 34px; padding: 4px 5px; border: 0; background: transparent; color: #08779b; font-weight: 700; transform: translateY(-50%); cursor: pointer; }
.bo-checkout-wide { grid-column: 1/-1; }
.bo-checkout-progressive[hidden] { display: none; }
.bo-checkout-detail-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 15px; }
.bo-checkout-detail-actions a,
.bo-checkout-detail-actions button { border: 0; background: transparent; color: #08779b; font-weight: 750; cursor: pointer; }
.bo-checkout-detail-actions button { min-height: 44px; padding: 8px 12px; border: 1px solid #08779b; border-radius: 7px; }
.bo-checkout-item { padding: 13px 0; border-bottom: 1px solid var(--bo-border); }
.bo-checkout-item:first-child { padding-top: 0; }
.bo-checkout-item__heading { display: flex; justify-content: space-between; gap: 12px; }
.bo-checkout-item__heading strong { min-width: 0; }
.bo-checkout-item__heading span { flex: 0 0 auto; font-weight: 800; }
.bo-checkout-item__detail { display: block; margin-top: 4px; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-checkout-empty { padding: 18px; border-radius: 8px; background: #f3f3f4; text-align: center; }
.bo-checkout-totals { margin: 17px 0 0; }
.bo-checkout-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.bo-checkout-totals > div[hidden],
.bo-checkout-after-type[hidden] { display: none !important; }
.bo-checkout-totals dt { color: var(--bo-text-muted); }
.bo-checkout-totals dd { margin: 0; font-weight: 800; }
.bo-checkout-totals .bo-checkout-total { margin-top: 3px; padding-top: 10px; border-top: 2px solid var(--bo-text); font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-checkout-totals .bo-checkout-total dt { color: var(--bo-text); font-weight: 850; }
.bo-voucher { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; margin-bottom: 18px; }
.bo-voucher button { min-height: 48px; padding: 9px 17px; border: 0; border-radius: 7px; background: #08779b; color: #fff; font-weight: 800; }
.bo-tip-options { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 0; gap: 7px; }
.bo-tip-options span { min-height: 42px; padding-inline: 5px; }
.bo-payment-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.bo-payment-options button { min-height: 52px; border: 1px solid #9d9da3; border-radius: 8px; background: #eee; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); cursor: pointer; }
.bo-payment-options button:only-child { grid-column: 1/-1; }
.bo-payment-options button.is-selected { border-color: var(--bo-success); background: var(--bo-success); color: #fff; }
.bo-wallet-payment,
.bo-card-payment { margin-top: 12px; }
.bo-wallet-payment { width: calc(50% - 4.5px); margin: 20px auto 22px; }
.bo-wallet-payment #boPaymentRequestButton,
.bo-wallet-payment .bo-native-wallet { width: 100%; min-height: 52px; }
.bo-wallet-payment[hidden],
.bo-card-payment[hidden] { display: none !important; }
.bo-native-wallet { border: 0; border-radius: 6px; background: #000; color: #fff; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); font-weight: 650; }
.bo-native-wallet[hidden] { display: none !important; }
.bo-card-payment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 13px; border: 1px solid #c7c7cb; border-radius: 8px; background: #f4f4f5; }
.bo-card-payment label { display: grid; gap: 7px; font-weight: 750; }
.bo-card-payment .bo-card-number,
.bo-card-payment #boCardErrors { grid-column: 1/-1; }
.bo-card-element { min-height: 48px; padding: 14px 12px; border: 1px solid #aaaab0; border-radius: 7px; background: #fff; }
#boCardErrors { min-height: 0; margin: 7px 0 0; color: #b42318; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-place-order { width: 100%; min-height: 62px; margin-top: 16px; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-place-order[disabled] { opacity: .52; cursor: not-allowed; }
.bo-checkout-login { max-width: 620px; margin: 45px auto; text-align: center; }
.bo-checkout-login h2 { margin: 0 0 18px; }
.bo-checkout-login p { color: var(--bo-text-muted); }
.bo-checkout-grid[hidden] { display: none !important; }
.bo-checkout-login-form { text-align: left; }
.bo-checkout-login-form > .bo-primary-button { font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); }
.bo-checkout-login > .bo-auth-link { margin-top: 13px; }
.bo-checkout-social-logins { margin-bottom: 0; }
.bo-checkout-guest-choice { padding: 0; border: 0; }
.bo-checkout-guest-choice > strong { display: block; margin-bottom: 9px; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-checkout-login .bo-guest-button { width: 100%; min-height: 62px; background: #37a400; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-register-checkout { width: 100%; min-height: 56px; margin-top: 13px; background: #08779b; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); }
.bo-checkout-login > .bo-auth-terms { margin-bottom: 0; }

@media (max-width: 820px) {
  .bo-checkout-main { width: min(calc(100% - 16px), 680px); padding-top: 22px; }
  .bo-checkout-grid { grid-template-columns: minmax(0,1fr); }
  .bo-checkout-details { grid-row: auto; }
}

@media (max-width: 520px) {
  .bo-checkout-main { width: calc(100% - 8px); padding: 14px 0 calc(24px + env(safe-area-inset-bottom)); }
  .bo-checkout-heading { padding: 0 8px; margin-bottom: 13px; text-align: center; }
  .bo-checkout-card,
  .bo-checkout-login { padding: 16px 13px; border-radius: 11px; }
  .bo-checkout-card__heading { margin-bottom: 15px; }
  .bo-checkout-fields { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .bo-checkout-wide { grid-column: auto; }
  .bo-checkout-fields input,
  .bo-checkout-fields select { min-height: 45px; }
  .bo-order-type label > span { min-height: 68px; padding-inline: 10px; column-gap: 8px; }
  .bo-order-type svg { width: 25px; height: 25px; }
  .bo-checkout-login { margin: 18px auto; }
  .bo-checkout-detail-actions { align-items: stretch; flex-direction: column; }
  .bo-checkout-detail-actions a { padding: 8px 0; text-align: center; }
  .bo-collection-only-actions { grid-template-columns: minmax(0,1fr); }
  .bo-tip-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
}

.bo-product-actions--fixed-quantity {
  grid-template-columns: minmax(0, 1fr);
}

/* Order tracking V2 */
.bo-tracking-main { width: min(calc(100% - 28px), 1040px); margin: 0 auto; padding: 24px 0 52px; }
.bo-tracking-hero { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 22px; border: 1px solid #cdd8ca; border-radius: 14px; background: linear-gradient(135deg,#f4faF2,#fff); box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.bo-tracking-hero__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #37a400; color: #fff; font-size: calc(29px * var(--bo-font-factor, 1)); font-weight: 850; }
.bo-tracking-hero p { margin: 0 0 2px; color: #287c08; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bo-tracking-hero h1 { margin: 0 0 3px; font-size: calc(clamp(1.45rem,3vw,2.15rem) * var(--bo-font-factor, 1)); }
.bo-tracking-hero small { color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-tracking-number { padding: 9px 12px; border-radius: 7px; background: #e4f2df; color: #287c08; white-space: nowrap; }
.bo-tracking-hero.is-rejected { border-color: #efb4b0; background: #fff5f4; }
.bo-tracking-hero.is-rejected .bo-tracking-hero__icon { background: var(--bo-danger); }
.bo-tracking-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 22px 0; padding: 0; list-style: none; }
.bo-tracking-steps li { position: relative; display: grid; justify-items: center; gap: 6px; color: #8a8a90; text-align: center; }
.bo-tracking-steps li::before { content: ''; position: absolute; z-index: -1; top: 18px; right: 50%; width: 100%; height: 3px; background: #d7d7db; }
.bo-tracking-steps li:first-child::before { display: none; }
.bo-tracking-steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #d7d7db; color: #555; font-weight: 800; }
.bo-tracking-steps strong { font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-tracking-steps li.is-done::before,.bo-tracking-steps li.is-done span { background: #37a400; color: #fff; }
.bo-tracking-steps li.is-done { color: var(--bo-text); }
.bo-tracking-steps li.is-current span { box-shadow: 0 0 0 5px rgba(55,164,0,.16); }
.bo-tracking-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 18px; align-items: start; }
.bo-tracking-card { padding: 21px; border: 1px solid var(--bo-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.06); }
.bo-tracking-card h2 { margin: 0; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-tracking-card__heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; padding-bottom: 14px; border-bottom: 2px solid var(--bo-text); }
.bo-tracking-card__heading > strong { font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-tracking-item { padding: 13px 0; border-bottom: 1px solid var(--bo-border); }
.bo-tracking-item > div { display: flex; justify-content: space-between; gap: 12px; }
.bo-tracking-item > div span { flex: 0 0 auto; font-weight: 800; }
.bo-tracking-item small { display: block; margin-top: 4px; color: var(--bo-text-muted); line-height: 1.4; }
.bo-tracking-totals { margin: 10px 0 0; }
.bo-tracking-totals > div,.bo-tracking-details dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.bo-tracking-totals dd,.bo-tracking-details dd { margin: 0; text-align: right; font-weight: 700; }
.bo-tracking-details > h2 { margin-bottom: 12px; }
.bo-tracking-details dl { margin: 0; }
.bo-tracking-details dt { color: var(--bo-text-muted); }
.bo-tracking-details [hidden] { display: none !important; }
.bo-tracking-note { margin-top: 13px; padding: 12px; border-radius: 8px; background: #f0f0f2; }
.bo-tracking-note p { margin: 4px 0 0; white-space: pre-wrap; }
.bo-tracking-menu { display: flex; width: 100%; min-height: 52px; margin-top: 16px; align-items: center; justify-content: center; }

@media (max-width: 720px) {
  .bo-tracking-main { width: calc(100% - 10px); padding: 14px 0 34px; }
  .bo-tracking-grid { grid-template-columns: minmax(0,1fr); }
  .bo-tracking-hero { grid-template-columns: auto minmax(0,1fr); padding: 17px 14px; }
  .bo-tracking-number { grid-column: 1/-1; justify-self: stretch; text-align: center; }
  .bo-tracking-card { padding: 16px 14px; border-radius: 11px; }
}

@media (max-width: 420px) {
  .bo-tracking-hero__icon { width: 46px; height: 46px; font-size: calc(24px * var(--bo-font-factor, 1)); }
  .bo-tracking-steps strong { font-size: calc(11px * var(--bo-font-factor, 1)); }
  .bo-tracking-steps span { width: 34px; height: 34px; }
  .bo-tracking-steps li::before { top: 16px; }
}

/* My Profile V2 */
.bo-profile-main { width: min(calc(100% - 28px),1120px); margin: 0 auto; padding: 24px 0 52px; }
.bo-profile-welcome { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; padding: 22px; border-radius: 14px; background: linear-gradient(135deg,#17191b,#292d30); color: #fff; }
.bo-profile-welcome p { margin: 0 0 3px; color: #6dcc4a; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bo-profile-welcome h1 { margin: 0 0 4px; font-size: calc(clamp(1.55rem,3vw,2.3rem) * var(--bo-font-factor, 1)); }
.bo-profile-welcome span { color: #d5d5d7; }
.bo-profile-welcome > a { display: flex; flex: 0 0 190px; width: 190px; min-height: 52px; align-items: center; justify-content: center; }
.bo-profile-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: 18px; align-items: start; }
.bo-profile-side { display: grid; gap: 18px; }
.bo-profile-card { padding: 21px; border: 1px solid var(--bo-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.06); }
.bo-profile-card__heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.bo-profile-card__heading h2 { margin: 0; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-profile-card__heading p { margin: 3px 0 0; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-profile-card__heading > button { padding: 6px; border: 0; background: transparent; color: #08779b; font-weight: 750; cursor: pointer; }
.bo-profile-order-list { display: grid; gap: 9px; }
.bo-profile-order { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 13px; border: 1px solid #d5d5d9; border-radius: 9px; background: #fafafa; }
.bo-profile-order strong,.bo-profile-order small { display: block; }
.bo-profile-order small { margin-top: 3px; color: var(--bo-text-muted); }
.bo-profile-status { display: inline-block; margin-top: 4px; color: #77550b; font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); font-weight: 750; }
.bo-profile-status[data-status="confirmed"],.bo-profile-status[data-status="completed"] { color: #287c08; }
.bo-profile-status[data-status="preparing"] { color: #c55413; }
.bo-profile-order > b { font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); }
.bo-profile-order__actions { display: flex; gap: 6px; }
.bo-profile-order__actions a,.bo-profile-order__actions button { display: grid; place-items: center; min-width: 70px; min-height: 42px; padding: 7px 10px; border: 1px solid #9b9ba1; border-radius: 7px; background: #fff; color: var(--bo-text); font-weight: 700; text-decoration: none; cursor: pointer; }
.bo-profile-order__actions button { border-color: #37a400; background: #37a400; color: #fff; }
.bo-profile-order__actions button[disabled] { opacity: .55; }
.bo-profile-empty { display: grid; gap: 12px; padding: 25px; border-radius: 9px; background: #f2f2f4; text-align: center; }
.bo-profile-empty a { color: #08779b; font-weight: 750; }
.bo-profile-details { margin: 0; }
.bo-profile-details > div { padding: 8px 0; border-bottom: 1px solid var(--bo-border); }
.bo-profile-details > div:last-child { border-bottom: 0; }
.bo-profile-details dt { color: var(--bo-text-muted); font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-profile-details dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.bo-profile-card address { color: var(--bo-text-muted); font-style: normal; line-height: 1.55; }
.bo-profile-security > button { width: 100%; min-height: 48px; border: 1px solid #a7a7ac; border-radius: 7px; background: #f1f1f2; font-weight: 700; cursor: pointer; }
.bo-profile-security > .bo-profile-delete { margin-top: 9px; border-color: #e7bbb8; background: #fff5f4; color: #b42318; }
.bo-profile-dialog .bo-dialog__surface { width: min(calc(100% - 18px),520px); }
.bo-profile-preference { display: flex !important; grid-column: 1/-1; align-items: center; gap: 9px !important; }
.bo-profile-preference input { width: 20px; min-height: 20px; }
.bo-profile-delete-dialog .bo-dialog__surface > div:last-child { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 18px; }

@media (max-width: 820px) {
  .bo-profile-grid { grid-template-columns: minmax(0,1fr); }
  .bo-profile-orders { order: 2; }
  .bo-profile-side { order: 1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bo-profile-security { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .bo-profile-main { width: calc(100% - 10px); padding: 14px 0 34px; }
  .bo-profile-welcome { align-items: stretch; flex-direction: column; padding: 18px 15px; }
  .bo-profile-welcome > a { flex-basis: auto; width: 100%; }
  .bo-profile-side { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .bo-profile-security { grid-column: auto; }
  .bo-profile-card { padding: 16px 13px; border-radius: 11px; }
  .bo-profile-order { grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
  .bo-profile-order__actions { grid-column: 1/-1; }
  .bo-profile-order__actions a,.bo-profile-order__actions button { flex: 1; }
}

/* App Home V2 */
.bo-app-home { position: relative; display: grid; min-height: 100dvh; padding: max(22px,env(safe-area-inset-top)) 12px max(22px,env(safe-area-inset-bottom)); place-items: center; overflow: hidden; }
.bo-app-home__background,.bo-app-home__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.bo-app-home__background { object-fit: cover; }
.bo-app-home__shade { background: linear-gradient(rgba(0,0,0,.58),rgba(0,0,0,.77)); }
.bo-app-dashboard,.bo-app-login { position: relative; z-index: 1; width: min(100%,560px); padding: 23px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(18,18,18,.91); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.32); backdrop-filter: blur(8px); }
.bo-app-dashboard__brand,.bo-app-login__brand { margin-bottom: 17px; text-align: center; }
.bo-app-dashboard__brand > span,.bo-app-login__brand > span { display: block; max-width: 220px; margin: 0 auto 10px; }
.bo-app-dashboard__brand img,.bo-app-login__brand img { max-width: 100%; max-height: 78px; object-fit: contain; }
.bo-app-dashboard__brand p { margin: 0; color: #72d451; font-weight: 750; }
.bo-app-dashboard__brand h1,.bo-app-login__brand h1 { margin: 3px 0 0; font-size: calc(clamp(1.65rem,5vw,2.35rem) * var(--bo-font-factor, 1)); }
.bo-app-status { display:inline-flex; align-items:center; gap:7px; margin-top:12px; padding:6px 11px; border-radius:999px; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight:750; }
.bo-app-status i { width:9px; height:9px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px rgba(255,255,255,.1); }
.bo-app-status.is-open { background:rgba(54,164,0,.18); color:#82df5e; }
.bo-app-status.is-closed { background:rgba(220,76,70,.2); color:#ff8f89; }
.bo-app-status-reason { display:block; margin:6px auto 0; color:#d0d0d2; font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-app-login__brand p { margin: 5px 0 0; color: #d0d0d2; }
.bo-app-dashboard__order { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: center; border-radius: 14px; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); box-shadow: 0 8px 20px rgba(220,76,70,.24); }
.bo-app-dashboard__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.bo-app-dashboard__actions a, .bo-app-dashboard__actions .bo-app-phone { display: grid; grid-template-columns:40px minmax(0,1fr); gap:10px; align-items:center; min-height: 86px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.055)); color: #fff; text-decoration: none; box-shadow: inset 0 1px rgba(255,255,255,.09),0 5px 15px rgba(0,0,0,.16); }
.bo-app-dashboard__actions a:active { transform: scale(.985); background: rgba(255,255,255,.18); }
.bo-app-dashboard__actions > :last-child:nth-child(odd) { grid-column:1/-1; }
.bo-app-dashboard__actions svg { width:34px; height:34px; fill:none; stroke:#71d54f; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bo-app-dashboard__actions strong,.bo-app-dashboard__actions span { display: block; }
.bo-app-dashboard__actions span { margin-top: 3px; color: #c9c9cc; font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-app-logout { width: 100%; min-height: 50px; margin-top: 12px; border: 1px solid #d85b54; border-radius: 12px; background: rgba(216,91,84,.08); color: #ff9b95; font-weight: 700; }
.bo-app-dashboard__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 16px; font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); }
.bo-app-dashboard__links a { color: #d7d7da; }
.bo-app-login .bo-auth-form { text-align: left; }
.bo-app-login .bo-auth-link { margin-top: 12px; color: #fff; }
.bo-app-login .bo-auth-divider { color: #cfcfd2; }
.bo-app-login .bo-auth-divider::before,.bo-app-login .bo-auth-divider::after { background: #616166; }
.bo-app-login .bo-register-checkout { margin-top: 14px; }
.bo-app-browse { display: grid; min-height: 52px; margin-top: 10px; place-items: center; border: 1px solid #bbb; border-radius: 7px; color: #fff; font-weight: 750; text-decoration: none; }

@media (max-width: 520px) {
  .bo-app-home { padding: max(10px,env(safe-area-inset-top)) 7px max(10px,env(safe-area-inset-bottom)); }
  .bo-app-dashboard,.bo-app-login { padding: 18px 14px; border-radius: 12px; }
  .bo-app-dashboard__actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bo-app-dashboard__actions a, .bo-app-dashboard__actions .bo-app-phone { grid-template-columns:minmax(0,1fr); justify-items:center; min-height: 105px; padding:12px 8px; text-align:center; }
  .bo-app-dashboard__actions > :last-child:nth-child(odd) { grid-column:1/-1; min-height:76px; grid-template-columns:34px auto; justify-content:center; text-align:left; }
  .bo-app-dashboard__actions span { line-height:1.2; }
}

@media (min-height:700px) {
  .bo-app-dashboard,.bo-app-login { transform:translateY(-6vh); }
}

.bo-quantity {
  display: grid;
  grid-template-columns: 42px 38px 42px;
  overflow: hidden;
  border: 1px solid var(--bo-border);
  border-radius: var(--bo-radius-sm);
  background: #f1f1f2;
}

.bo-quantity button { border: 0; background: transparent; color: var(--bo-success); font-size: calc(25px * var(--bo-font-factor, 1)); font-weight: 800; cursor: pointer; }
.bo-quantity input { width: 100%; border: 0; background: transparent; text-align: center; font-weight: 800; }
.bo-add-product { display: flex; gap: 12px; justify-content: space-between; background: var(--bo-success); }
.bo-add-product strong { white-space: nowrap; }

.bo-primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--bo-radius-sm);
  background: var(--bo-accent);
  color: #fff;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.bo-secondary-button { background: var(--bo-success); }
.bo-primary-button[disabled] { opacity: .55; cursor: not-allowed; }

@media (max-width: 360px) {
  .bo-product-dialog { width: calc(100vw - 6px); height: auto; }
  .bo-product-dialog .bo-dialog__surface { padding: 5px 3px 0; }
  .bo-product-actions { bottom: 0; margin: 2px 0 0; padding: 8px 3px calc(8px + env(safe-area-inset-bottom)); }
  .bo-choice { grid-template-columns: 19px minmax(0, 1fr); gap: 4px; min-height: 36px; padding: 4px; }
  .bo-choice__mark { width: 18px; height: 18px; }
  .bo-choice__text { line-height: 1.1; }
  .bo-config-section h3 { padding: 6px 5px; }
  .bo-salad-section > h3 > .bo-salad-heading-choice {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px;
    padding: 6px 4px;
  }
  .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__mark {
    width: 18px;
    height: 18px;
  }
  .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text {
    font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
    font-weight: 650;
    white-space: nowrap;
  }
  .bo-quantity { grid-template-columns: 35px 30px 35px; }
  .bo-config-option-stack,
  .bo-config-option-stack--extras-only { width: 100%; }
  .bo-product-configurator.bo-layout-units-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-product-configurator.bo-layout-units-2 > .bo-config-section:not([hidden]):first-of-type { grid-column: auto; }
  .bo-product-configurator.bo-layout-units-1 > .bo-config-section:not([hidden]) { grid-column: 1 / -1; width: 60%; justify-self: center; }
  .bo-product-configurator.bo-layout-units-1 > .bo-config-option-stack { width: 70%; }
}

.bo-cart-flyer {
  position: fixed;
  z-index: 500;
  width: 42px;
  height: 42px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  pointer-events: none;
  box-shadow: var(--bo-shadow);
  transition: transform 300ms cubic-bezier(.2,.75,.35,1), opacity 300ms ease;
  will-change: transform, opacity;
}

.bo-cart-summary.is-cart-bumping { animation: bo-cart-bump 280ms ease; }
@keyframes bo-cart-bump { 50% { transform: translateY(2px) scale(1.14); } }

@media (prefers-reduced-motion: reduce) {
  .bo-cart-flyer { display: none; }
  .bo-cart-summary.is-cart-bumping { animation: none; }
}

.bo-cart-checkout { margin: 10px 0 5px; }
.bo-cart-list { display: grid; gap: 0; margin: 0; }
.bo-cart-dialog h2 { margin: 0 44px 2px 0; font-size: calc(var(--bo-text-lg) * var(--bo-font-factor, 1)); }
.bo-cart-dialog__summary { margin: 0 0 8px; color: var(--bo-text-muted); font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }

.bo-cart-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--bo-border);
}

.bo-cart-item img { width: 48px; height: 48px; object-fit: contain; }
.bo-cart-item__content { position: relative; min-width: 0; padding-right: 58px; }
.bo-cart-item__heading {
  display: block;
}
.bo-cart-item__name { min-width: 0; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 700; overflow-wrap: anywhere; }
.bo-cart-item__details { display: grid; gap: 1px; margin-top: 3px; color: var(--bo-text-muted); font-size: calc(var(--bo-text-xs) * var(--bo-font-factor, 1)); line-height: 1.25; }
.bo-cart-item__detail-line { display: block; overflow-wrap: anywhere; }
.bo-cart-item__price { position: absolute; top: 0; right: 0; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); font-weight: 750; line-height: 1.25; white-space: nowrap; }
.bo-cart-item__remove {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #555;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 0;
}
.bo-cart-item__remove svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bo-cart-empty { padding: 25px 8px; color: var(--bo-text-muted); text-align: center; }

.bo-toast {
  position: fixed;
  right: 12px;
  bottom: calc(var(--bo-bottom-height) + 12px);
  left: 12px;
  z-index: 250;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1));
  text-align: center;
  box-shadow: var(--bo-shadow);
}

.bo-toast.is-error {
  top: 42%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 20;
  min-width: min(82vw, 270px);
  padding: 13px 18px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 12px;
  background: #a7221b;
  color: #fff;
  font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1));
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .42);
  transform: translate(-50%, -50%);
}

.bo-product-configurator.bo-layout-units-2,
.bo-product-configurator.bo-layout-units-2 > .bo-config-option-stack {
  width: 100%;
  justify-self: stretch;
}

.is-required-missing {
  position: relative;
  z-index: 1;
  outline: 3px solid #ff3b30;
  outline-offset: 2px;
  animation: bo-required-pulse 600ms ease 2;
}

.is-required-missing select { background: #fff0ef; }

@keyframes bo-required-pulse {
  50% { outline-color: #ffb0aa; transform: translateX(3px); }
}

@media (max-width: 340px) {
  .bo-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-category { min-height: 29px; }
  .bo-cart-summary svg { flex-basis: 23px; width: 23px; height: 23px; }
}

@media (min-width: 680px) {
  .bo-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .bo-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bo-menu-content { padding: 12px; }
}

@media (min-width: 980px) {
  .bo-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bo-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}

/* A standalone portion section fills the top row. */
.bo-product-configurator > .bo-size-section.bo-portion-wide {
  grid-column: 1 / -1 !important;
  width: 100%;
}
.bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice {
  min-height: 58px;
  padding: 10px 8px;
}
@media (max-width: 380px) {
  .bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Reserve room for the native app toolbar, even when the web nav is hidden. */
.bo-page--app { --bo-app-bottom-clearance: calc(var(--bo-bottom-height) + 24px + env(safe-area-inset-bottom, 0px)); }
.bo-page--app .bo-main { padding-bottom: var(--bo-app-bottom-clearance); }
.bo-page--app .bo-app-home { padding-bottom: var(--bo-app-bottom-clearance); }
.bo-page--app .bo-product-dialog,
.bo-page--app .bo-product-dialog .bo-dialog__surface {
  max-height: calc(92dvh - var(--bo-app-bottom-clearance));
}
/* Flexible cells prevent Safari's input/button defaults clipping +/- controls. */
.bo-product-actions .bo-quantity {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr);
}
.bo-quantity button, .bo-quantity input {
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  color: #111;
  -webkit-text-fill-color: currentColor;
}
.bo-quantity button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  line-height: 1;
  color: var(--bo-success);
}
.bo-quantity input { font-size: calc(16px * var(--bo-font-factor, 1)); }

/* V75: compact actions, readable phone text and small-screen form controls. */
.bo-app-phone span { user-select: text; -webkit-user-select: text; overflow-wrap: anywhere; }
.bo-product-actions:not(.bo-product-actions--fixed-quantity) {
  grid-template-columns: 112px minmax(0, 1fr);
}
.bo-product-actions .bo-add-product { min-width: 0; align-items: center; gap: 6px; }
.bo-checkout-grid > *, .bo-checkout-card { min-width: 0; }
@media (max-width: 600px) {
  .bo-checkout-main input, .bo-checkout-main textarea, .bo-checkout-main select {
    font-size: calc(16px * var(--bo-font-factor, 1));
    max-width: 100%;
    box-sizing: border-box;
  }
  .bo-checkout-main { overflow-wrap: anywhere; }
  .bo-product-actions:not(.bo-product-actions--fixed-quantity) {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .bo-product-actions .bo-add-product { padding-inline: 8px; }
  .bo-config-section > h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-height: 32px;
    padding: 6px 4px;
    font-size: calc(14px * var(--bo-font-factor, 1));
    line-height: 20px;
    box-sizing: border-box;
  }
  .bo-salad-section > h3 { padding: 0; }
  .bo-salad-section > h3 > .bo-salad-heading-choice {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 3px;
    height: 32px;
    padding: 6px 4px;
  }
  .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__mark {
    width: 16px;
    height: 16px;
  }
  .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text {
    font-size: calc(14px * var(--bo-font-factor, 1));
    line-height: 20px;
    white-space: nowrap;
  }
}

/* V77: meal choices use the full row; labels sit above the item. */
.bo-deal-step { display: block; }
.bo-deal-step__content {
  grid-template-columns: minmax(0, 1fr) 104px;
  grid-template-rows: auto auto;
  align-items: stretch;
}
.bo-deal-step__content > strong {
  grid-column: 1;
  grid-row: 1;
  padding: 7px 10px 0;
  font-size: calc(12px * var(--bo-font-factor, 1));
  line-height: 16px;
  color: #555;
}
.bo-deal-step__content > span,
.bo-deal-step__content > select {
  grid-column: 1;
  grid-row: 2;
  border-left: 0;
  min-width: 0;
  min-height: 44px;
  font-size: calc(16px * var(--bo-font-factor, 1));
  line-height: 1.3;
}
.bo-deal-step__content > span { padding: 7px 10px 10px; overflow-wrap: anywhere; }
.bo-deal-step__content > select { min-height: 36px; padding: 4px 24px 4px 10px; }
.bo-deal-step__content > .bo-deal-customize {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  padding: 8px 6px;
  font-size: calc(14px * var(--bo-font-factor, 1));
  overflow-wrap: anywhere;
}
.bo-deal-step__content--no-customize { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) {
  .bo-deal-step__content { grid-template-columns: minmax(0, 1fr) 90px; }
  .bo-deal-step__content--no-customize { grid-template-columns: minmax(0, 1fr); }
  .bo-deal-step__content > .bo-deal-customize { font-size: calc(13px * var(--bo-font-factor, 1)); }
}

/* Keep the final checkout controls above the native app taskbar. */
.bo-page--app .bo-checkout-main {
  padding-bottom: calc(var(--bo-app-bottom-clearance) + 24px);
}

/* V80: branded controls with consistent wallet spacing. */
.bo-wallet-payment { width: min(100%, 320px); margin: 16px auto; }
.bo-wallet-payment #boPaymentRequestButton:empty,
.bo-wallet-payment.has-native-wallet #boPaymentRequestButton { display: none; }
.bo-native-wallet { display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 12px 24px; }
.bo-native-wallet img { display: block; width: 90px; height: 28px; object-fit: contain; }
.bo-social-login { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.bo-social-login > svg { width: 22px; height: 22px; flex: 0 0 22px; }
.bo-social-login--google { background: #fff; color: #1f1f1f; border: 1px solid #747775; }
.bo-social-login--facebook { background: #1877f2; }

/* App home: optional sign-in, with a comfortable touch target. */
.bo-app-signin {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: calc(14px * var(--bo-font-factor, 1));
  text-decoration: underline;
  cursor: pointer;
}

/* Overflow extras keep row order and use the full modal width. */
.bo-product-configurator > .bo-extras-continued .bo-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.bo-extras-continued .bo-choice-grid > * { min-width: 0; }
@media (max-width: 600px) {
  .bo-product-configurator > .bo-extras-continued .bo-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Explicitly override the compact heading's flex display when split. */
.bo-extras-continued > h3[hidden],
.bo-config-side-stack > .bo-extra-section[hidden] { display: none !important; }

/* Short dialogs sit slightly above centre; tall dialogs stop at the safe top gap.
   Keep the existing scrolling surface and sticky Add to cart footer. */
.bo-product-dialog,
.bo-product-dialog.is-compact {
  --bo-product-top-gap: calc(10px + env(safe-area-inset-top, 0px));
  --bo-product-bottom-gap: calc(10px + env(safe-area-inset-bottom, 0px));
  top: max(var(--bo-product-top-gap), calc((100dvh - var(--bo-product-bottom-gap) - var(--bo-product-height, 100dvh)) / 2 - 35px));
  bottom: auto;
  margin: 0 auto;
  transform: none;
}
.bo-page--app .bo-product-dialog {
  --bo-product-bottom-gap: var(--bo-app-bottom-clearance);
}
.bo-product-dialog,
.bo-product-dialog .bo-dialog__surface,
.bo-page--app .bo-product-dialog,
.bo-page--app .bo-product-dialog .bo-dialog__surface {
  max-height: calc(100dvh - var(--bo-product-top-gap) - var(--bo-product-bottom-gap));
  box-sizing: border-box;
}
.bo-deal-step__content--unlabelled { grid-template-rows: auto; }
.bo-deal-step__content--unlabelled > select {
  grid-row: 1;
  min-height: 48px;
  padding-block: 10px;
}
.bo-deal-step__content--unlabelled > .bo-deal-customize { grid-row: 1; }

/* V89: compact fixed meal rows, responsive portions and full-width pizza extras. */
.bo-deal-step__content--included { grid-template-rows: auto auto; }
.bo-deal-step__content--included > strong { padding: 4px 10px 0; }
.bo-deal-step__content--included > span { min-height: 0; padding: 0 10px 4px; }
.bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bo-product-configurator.bo-pizza-configurator > .bo-extra-section:not([hidden]) {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
}
.bo-product-configurator.bo-pizza-configurator.bo-layout-units-2 > .bo-custom-section:not([hidden]),
.bo-product-configurator.bo-pizza-configurator.bo-layout-units-1 > .bo-config-section:not([hidden]) {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: stretch;
}
.bo-product-configurator.bo-pizza-configurator.bo-layout-units-2 > .bo-custom-section .bo-choice-grid,
.bo-product-configurator.bo-pizza-configurator > .bo-extra-section .bo-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice-grid,
  .bo-product-configurator.bo-pizza-configurator.bo-layout-units-2 > .bo-custom-section .bo-choice-grid,
  .bo-product-configurator.bo-pizza-configurator > .bo-extra-section .bo-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bo-product-configurator > .bo-size-section.bo-portion-wide .bo-choice {
    min-height: 44px;
    padding: 6px;
  }
}

/* V90: fill the existing meal row and keep the completed button on one line. */
.bo-deal-step__content { grid-template-columns: minmax(0, 1fr) minmax(112px, max-content); }
.bo-deal-step__content--no-customize { grid-template-columns: minmax(0, 1fr); }
.bo-deal-step__content > .bo-deal-customize {
  white-space: nowrap;
  overflow-wrap: normal;
  padding-inline: 8px;
}
.bo-deal-step__content--unlabelled > select {
  align-self: stretch;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 0;
}
/* Fixed-size pizza meal customizations use every column, even with Size hidden. */
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-included-section:not([hidden]),
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-custom-section:not([hidden]) {
  grid-column: span var(--bo-pizza-span, 3);
  width: 100%;
  justify-self: stretch;
}
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-included-section .bo-choice-grid,
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-custom-section .bo-choice-grid {
  grid-template-columns: minmax(0, 1fr);
}
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-included-section.bo-pizza-options-wide .bo-choice-grid,
.bo-product-configurator.bo-pizza-configurator.bo-pizza-meal-layout > .bo-custom-section.bo-pizza-options-wide .bo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Full-width pizza extras can fit three options across most phones. */
@media (min-width: 360px) {
  .bo-product-configurator.bo-pizza-configurator > .bo-extra-section .bo-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* V91: bounded modal viewport and a non-scrolling product action row. */
html.bo-modal-open { overflow: hidden; overscroll-behavior: none; }
.bo-dialog,
.bo-product-dialog,
.bo-product-dialog.is-compact,
.bo-page--app .bo-product-dialog {
  position: fixed;
  top: var(--bo-dialog-top, var(--bo-modal-top, 10px));
  bottom: auto;
  margin: 0 auto;
  transform: none;
  max-height: var(--bo-modal-height, calc(100dvh - 20px));
}
.bo-dialog > .bo-dialog__surface,
.bo-product-dialog > .bo-dialog__surface,
.bo-page--app .bo-product-dialog > .bo-dialog__surface {
  max-height: var(--bo-modal-height, calc(100dvh - 20px));
  box-sizing: border-box;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.bo-product-dialog > .bo-dialog__surface {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bo-product-dialog > .bo-dialog__surface > .bo-dialog__close { flex: 0 0 auto; }
#boProductDialogBody {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
#boProductDialogBody > .bo-product-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
#boProductDialogBody > .bo-product-actions {
  position: relative;
  bottom: auto;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* V99: editorial feature cards and information-only promotions. */
.bo-product-card--feature {
  grid-column: 1 / -1;
  border: 1px solid #dedee3;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.bo-product-card--feature .bo-product-card__image-wrap {
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: #f4f4f6;
}
.bo-product-card--feature .bo-product-card__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.bo-product-card--feature .bo-product-card__image-placeholder { min-height: 180px; }
.bo-product-card--feature .bo-product-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  padding: clamp(16px, 3vw, 28px);
  text-align: left;
  background: linear-gradient(135deg, #fff, #f7f7fa);
}
.bo-product-card--feature .bo-product-card__name { grid-column: 1; font-size: calc(clamp(22px, 2.6vw, 32px) * var(--bo-font-factor, 1)); line-height: 1.15; }
.bo-product-card--feature .bo-product-card__description { grid-column: 1; margin: 0; font-size: calc(15px * var(--bo-font-factor, 1)); line-height: 1.5; }
.bo-product-card--feature .bo-product-card__price { grid-column: 2; grid-row: 1; margin: 0; font-size: calc(clamp(20px, 2.4vw, 28px) * var(--bo-font-factor, 1)); }
.bo-product-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  margin-top: 10px;
  border-radius: 10px;
  background: var(--bo-accent);
  color: #fff;
  font-size: calc(15px * var(--bo-font-factor, 1));
  font-weight: 750;
  line-height: 1.3;
}
.bo-product-card--feature .bo-product-card__action { grid-column: 2; grid-row: 2; margin: 0; }
.bo-product-card--promo { border-color: #d8c6a6; }
.bo-product-card--promo .bo-product-card__action { background: #29252e; }
.bo-product-card--feature .bo-product-card__open:focus-visible,
.bo-product-card--promo .bo-product-card__open:focus-visible { outline: 3px solid var(--bo-accent); outline-offset: -4px; }
.bo-product-card--feature.is-unavailable .bo-product-card__action { background: #666; }
@media (max-width: 520px) {
  .bo-product-card--feature .bo-product-card__body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bo-product-card--feature .bo-product-card__price,
  .bo-product-card--feature .bo-product-card__action { grid-column: 1; grid-row: auto; }
  .bo-product-card--feature .bo-product-card__action { justify-self: stretch; margin-top: 4px; }
}

/* V100: side-by-side features at every screen width. */
.bo-product-card--feature .bo-product-card__open {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  align-items: stretch;
  min-height: clamp(180px, 25vw, 300px);
  width: 100%;
}
.bo-product-card--feature .bo-product-card__image-wrap {
  position: relative;
  min-width: 0;
  min-height: 180px;
  height: 100%;
  background: #fff;
}
.bo-product-card--feature .bo-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
}
.bo-product-card--feature .bo-product-card__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: clamp(12px, 2.5vw, 26px);
  min-width: 0;
}
.bo-product-card--feature .bo-product-card__name {
  font-size: calc(clamp(1.1rem, 2.4vw, 1.9rem) * var(--bo-font-factor, 1));
  line-height: 1.2;
}
.bo-product-card--feature .bo-product-card__description {
  font-size: calc(clamp(.85rem, 1.5vw, 1rem) * var(--bo-font-factor, 1));
  line-height: 1.45;
}
.bo-product-card--feature .bo-product-card__price {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-end;
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
  font-size: calc(clamp(1.1rem, 2.3vw, 1.8rem) * var(--bo-font-factor, 1));
}
.bo-product-card--feature:not(.bo-product-card--promo) .bo-product-card__action { display: none; }
.bo-product-card--feature.bo-product-card--promo .bo-product-card__action {
  align-self: flex-end;
  margin-top: auto;
  font-size: calc(.85rem * var(--bo-font-factor, 1));
  padding: 8px 12px;
}

/* V101: compact list cards, including information-only list promotions. */
.bo-product-card--list {
  grid-column: 1 / -1;
  border-radius: 14px;
}
.bo-product-card--list .bo-product-card__open {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
  align-items: stretch;
  width: 100%;
  min-height: 128px;
  text-align: left;
}
.bo-product-card--list .bo-product-card__image-wrap {
  position: relative;
  min-width: 0;
  min-height: 128px;
  height: 100%;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.bo-product-card--list .bo-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
}
.bo-product-card--list .bo-product-card__image-placeholder { min-height: 112px; }
.bo-product-card--list .bo-product-card__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 6px;
  padding: 12px;
  text-align: left;
}
.bo-product-card--list .bo-product-card__name { font-size: calc(1rem * var(--bo-font-factor, 1)); line-height: 1.25; }
.bo-product-card--list .bo-product-card__description { margin: 0; font-size: calc(.82rem * var(--bo-font-factor, 1)); line-height: 1.4; }
.bo-product-card--list .bo-product-card__price {
  align-self: stretch;
  margin: auto 40px 0 0;
  padding-top: 12px;
  min-height: 34px;
  font-size: calc(1rem * var(--bo-font-factor, 1));
  text-align: right;
  overflow-wrap: anywhere;
}
.bo-product-card--list .bo-product-card__add { top: auto; left: auto; right: 10px; bottom: 10px; width: 32px; height: 32px; }
.bo-product-card--list.bo-product-card--promo .bo-product-card__action {
  align-self: flex-end;
  margin-top: auto;
  padding: 8px 12px;
  font-size: calc(.82rem * var(--bo-font-factor, 1));
}
.bo-product-card--list .bo-product-card__open:focus-visible { outline: 3px solid var(--bo-accent); outline-offset: -4px; }

/* V103: compact optional-select headings and transparent unused extras space. */
.bo-dynamic-select > span:empty { display: none; }
.bo-dynamic-select { align-content: end; gap: 7px; padding: 9px; background: #e7e7e9; border-bottom: 0; }
.bo-dynamic-select select { min-height: 42px; padding: 6px 4px; border-radius: 6px; box-sizing: border-box; }
.bo-product-configurator > .bo-extras-continued { background: transparent; }
.bo-product-configurator > .bo-extras-continued .bo-choice-grid { background: transparent; }
.bo-extra-select-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding-top: 8px;
  min-width: 0;
}
.bo-extra-select-group > .bo-dynamic-select { min-width: 0; border-radius: 8px; box-shadow: none; }
.bo-extra-select-group > .bo-dynamic-select:only-child { grid-column: 1 / -1; }

/* V104: identify continuing extras; fit three checkboxes where readable. */
@media (min-width: 360px) {
  body:not(.bo-font-large):not(.bo-font-extreme) .bo-product-configurator > .bo-extras-continued .bo-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body.bo-font-large .bo-product-configurator > .bo-extras-continued .bo-choice-grid,
body.bo-font-extreme .bo-product-configurator > .bo-extras-continued .bo-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* v105: contain shop logos and make the cart easier to read and operate. */
.bo-header { column-gap: 8px; }
.bo-header__brand { width: min(100%, 160px); max-width: 160px; overflow: hidden; }
.bo-header__logo, .bo-header__logo > * { min-width: 0; overflow: hidden; }
.bo-header__logo img, .bo-header__logo svg { object-fit: contain; object-position: left center; }
.bo-header__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start; text-decoration: none; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); font-weight: 750; }
.bo-header__back svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bo-header__back:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bo-cart-item { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; min-height: 104px; padding: 16px 0; }
.bo-cart-item img { width: 58px; height: 58px; }
.bo-cart-item__content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding-right: 0; }
.bo-cart-item__heading { display: contents; }
.bo-cart-item__name { grid-column: 1; grid-row: 1; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); line-height: 1.35; }
.bo-cart-item__price { position: static; grid-column: 2; grid-row: 1; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); line-height: 1.35; text-align: right; }
.bo-cart-item__details { grid-column: 1; grid-row: 2; align-self: start; gap: 4px; margin-top: 0; font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); line-height: 1.4; }
.bo-cart-item__remove { position: static; grid-column: 2; grid-row: 2; justify-self: end; align-self: start; width: 44px; height: 44px; padding: 9px; }
.bo-cart-item__remove svg { width: 25px; height: 25px; }
@media (max-width: 380px) {
  .bo-header__brand { max-width: 125px; }
  .bo-cart-item { grid-template-columns: 48px minmax(0, 1fr); gap: 9px; }
  .bo-cart-item img { width: 48px; height: 48px; }
}

/* v106: clearer header cart button, compact item descriptions. */
.bo-cart-summary { gap: 9px; padding: 7px 11px; min-height: 48px; border: 1px solid #34743a; border-radius: 10px; background: #142b17; color: #76dc80; transform: none; }
.bo-cart-summary svg { flex: 0 0 30px; width: 30px; height: 30px; stroke-width: 2.4; }
.bo-cart-summary__text { display: grid; gap: 1px; text-align: left; line-height: 1.2; }
.bo-cart-summary__label { color: #fff; font-size: calc(var(--bo-text-md) * var(--bo-font-factor, 1)); font-weight: 800; }
.bo-cart-summary #boCartSummary { font-size: calc(var(--bo-text-sm) * var(--bo-font-factor, 1)); }
.bo-cart-summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bo-cart-item { min-height: 0; padding: 11px 0; }
.bo-cart-item__content { row-gap: 2px; }
.bo-cart-item__details { gap: 1px; line-height: 1.3; }
@media (max-width: 380px) {
 .bo-cart-summary { gap: 6px; padding: 6px 8px; }
 .bo-cart-summary svg { flex-basis: 27px; width: 27px; height: 27px; }
}

/* v107: centre the header Cart label. */
.bo-cart-summary__label { text-align: center; }


/* v109: prevent double-tap zoom, including inside independently scrolling
   modals. Keep normal scrolling and two-finger pinch zoom available. */
html, body, body * {
  touch-action: manipulation;
}


/* v110: Extras beside Portion need full-width controls on phones.
   Do not change the separate full-width More extras grid. */
@media (max-width: 640px) {
  .bo-product-configurator .bo-config-option-stack > .bo-extra-section .bo-choice-grid,
  .bo-product-configurator.has-inline-extras-wide > .bo-extra-section .bo-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V126 test: reflow for enlarged text and narrow usable viewports. */
.bo-app-dashboard, .bo-app-login { min-width: 0; max-width: 100%; box-sizing: border-box; }
.bo-app-dashboard__brand h1, .bo-app-login__brand h1 { overflow-wrap: anywhere; }
body.bo-accessible-layout .bo-app-dashboard__actions,
body.bo-accessible-layout .bo-order-type { grid-template-columns: minmax(0, 1fr); }
body.bo-accessible-layout .bo-checkout-card__heading { flex-wrap: wrap; }
body.bo-accessible-layout .bo-checkout-card__heading > div { min-width: 0; flex: 1; }
body.bo-accessible-layout .bo-checkout-change-details { flex-basis: 100%; margin-left: 0; text-align: left; }
body.bo-accessible-layout .bo-order-type strong { overflow-wrap: normal; word-break: normal; }
body.bo-accessible-layout .bo-product-configurator { grid-template-columns: minmax(0, 1fr) !important; }
body.bo-accessible-layout .bo-product-configurator > * { grid-column: 1 / -1 !important; grid-row: auto !important; min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; }
body.bo-accessible-layout .bo-config-option-stack,
body.bo-accessible-layout .bo-config-side-stack,
body.bo-accessible-layout .bo-product-configurator .bo-choice-grid { grid-template-columns: minmax(0, 1fr) !important; width: 100% !important; }
body.bo-accessible-layout .bo-config-section > h3,
body.bo-accessible-layout .bo-salad-section > h3 > .bo-salad-heading-choice { height: auto; min-height: 44px; line-height: 1.3; padding: 8px; }
body.bo-accessible-layout .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text { white-space: normal; line-height: 1.3; }
body.bo-accessible-layout .bo-choice { height: auto; min-height: 48px; }
body.bo-accessible-layout .bo-choice__text { word-break: normal; overflow-wrap: anywhere; }
body.bo-accessible-layout .bo-product-dialog > .bo-dialog__surface > .bo-dialog__close { position: relative; top: auto; right: auto; align-self: flex-end; min-height: 48px; margin: 0 0 6px; }
body.bo-accessible-layout .bo-product-actions:not(.bo-product-actions--fixed-quantity) { grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr); }
body.bo-accessible-layout .bo-add-product { white-space: normal; height: auto; flex-wrap: wrap; overflow-wrap: anywhere; }
body.bo-accessible-layout .bo-product-dialog h2 { overflow-wrap: anywhere; }

/* V129: text reduction is independent of extreme-layout stacking. */
body.bo-enlarged-text { --bo-font-factor: .8; }

/* Let multi-line section titles fit instead of clipping at 32px. */
.bo-product-configurator .bo-config-section > h3 {
  height: auto;
  min-height: 32px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}
.bo-product-configurator .bo-salad-section > h3 > .bo-salad-heading-choice {
  height: auto;
  min-height: 32px;
}
.bo-product-configurator .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text {
  white-space: normal;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* V130: smaller green section titles for enlarged text only. */
body.bo-enlarged-text .bo-product-configurator .bo-salad-section > h3,
body.bo-enlarged-text .bo-product-configurator .bo-sauce-section > h3,
body.bo-enlarged-text .bo-product-configurator .bo-extra-section > h3,
body.bo-enlarged-text .bo-product-configurator .bo-make-meal-section > h3,
body.bo-enlarged-text .bo-product-configurator .bo-salad-section > h3 > .bo-salad-heading-choice .bo-choice__text {
  font-size: calc(14px * var(--bo-font-factor, 1) * .8);
  line-height: 1.3;
}
