@font-face {
  font-family: "GT Walsheim";
  src: url("fonts/gt-walsheim-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT Walsheim";
  src: url("fonts/gt-walsheim-medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GT Walsheim";
  src: url("fonts/gt-walsheim-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Intro";
  src: url("fonts/intro-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Intro";
  src: url("fonts/intro-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e2203d;
  --ink: #141414;
  --muted: #3e3a37;
  --soft: #5c564f;
  --paper: #ffffff;
  --well: #f3efe9;
  --line: #e7e1da;
  --shadow: rgba(48, 18, 22, 0.16);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-h: calc(3.6rem + var(--safe-top));
  --chip-h: 3.25rem;
  --sans: "GT Walsheim", "Segoe UI", system-ui, sans-serif;
  --display: "Intro", "Arial Black", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  /* Tab jumps opt into smooth scrolling in menu.js. The loop correction must stay instant. */
  scroll-behavior: auto;
  overflow-anchor: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

::selection {
  background: var(--red);
  color: #fff;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.65rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--red);
  color: #fff;
  padding: calc(0.7rem + var(--safe-top)) 0 0.75rem;
}

.topbar-inner {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.brand-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  margin: 0;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.6vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.dock {
  position: sticky;
  top: var(--bar-h);
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.section-nav {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.35rem;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.cat-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.menu-main {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.1rem 0 calc(var(--footer-h, 3.2rem) + 0.85rem);
}

.menu-section {
  scroll-margin-top: calc(var(--bar-h) + var(--chip-h) + 0.35rem);
}

.meal-panel > .menu-section + .menu-section,
.menu-loop > .menu-section {
  margin-top: 1.9rem;
}

.menu-loop {
  overflow-anchor: none;
}

.section-title {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-note {
  margin: 0 0 0.9rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 0.7rem;
  margin: 0;
  padding: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 16px;
}

.card-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--well);
  overflow: hidden;
}

.card-photo img {
  position: absolute;
  left: 9%;
  top: 7%;
  width: 82%;
  height: 78%;
  object-fit: contain;
  object-position: center bottom;
  filter:none;
}

.combo-badge {
  position: absolute;
  z-index: 2;
  top: 0.2rem;
  left: 0.45rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.55rem;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--red);
  pointer-events: none;
}

.has-combo .type-stack {
  padding-top: 1.85rem;
}

.card-type {
  display: flex;
  align-items: flex-end;
  padding: 0.85rem 0.8rem 0.9rem;
  overflow: visible;
}

.type-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.card-type .card-kicker {
  color: #9e1024;
}

.type-name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  max-width: 100%;
}

.type-rule {
  display: block;
  width: 1.8rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--red);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  padding: 0.55rem 0.15rem 0.1rem;
}

.card-kicker {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.card-cal {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.price-amt {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.size-prices {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.size-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.size-label {
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.price-alt {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28rem;
  row-gap: 0.08rem;
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.chip-sep {
  color: #b7afa6;
  font-weight: 400;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.grid + .menu-list {
  margin-top: 1rem;
}

.list-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.list-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.35rem;
}

.list-head h3,
.row-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.group-desc {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

.list-group > .group-desc {
  margin: 0;
  padding: 0 0.9rem 0.75rem;
}

.thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--well);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.thumb img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center bottom;
  filter:none;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.list-group.is-single .row {
  border-top: 0;
  min-height: 64px;
}

.row-main {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.row-size {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row-note {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.leader {
  flex: 1 0 0.75rem;
  min-width: 0.75rem;
  border-bottom: 1px dotted #c4bbb2;
  transform: translateY(-0.22em);
}

.row-price {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.chev {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #b7afa6;
  border-top: 2px solid #b7afa6;
  transform: rotate(45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-status,
.menu-error {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
  text-align: center;
  color: var(--muted);
}

.menu-error {
  color: #9e1024;
  font-weight: 700;
}

.menu-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  margin: 0;
  padding: 0.38rem 0.8rem calc(0.38rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.menu-footer p {
  margin: 0;
  color: var(--soft);
  font-size: 0.72rem;
  line-height: 1.3;
}

.menu-footer p + p {
  margin-top: 0.04rem;
}

.ask-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.05rem;
  padding: 0.15rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.ask-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(16, 8, 10, 0.52);
}

.ask-panel {
  width: 100%;
  max-height: min(88vh, 640px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 1.35rem 1.35rem 0 0;
  padding: 0.35rem 1.1rem calc(1.15rem + var(--safe-bottom));
  box-shadow:none;
}

.ask-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 52px;
}

.ask-bar h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.ask-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ask-note {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ask-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ask-row {
  display: flex;
  gap: 0.5rem;
}

.ask-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.ask-send,
.ask-mic {
  min-height: 48px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ask-send {
  flex: 0 0 auto;
  padding: 0 1rem;
  border: 0;
  background: var(--red);
  color: #fff;
}

.ask-mic {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  background: #f6f3ef;
  color: var(--soft);
}

.ask-mic:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.ask-answer {
  margin: 0.95rem 0 0;
  min-height: 1.4em;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.ask-answer:empty {
  display: none;
}

#menu-updated:empty {
  display: none;
}

.item-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #fff;
}

.item-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.item-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: calc(4px + var(--safe-top)) 8px 0;
  background: #fff;
}

.item-back {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 44px;
  height: 44px;
  padding: 0 10px 0 0;
  border: 0;
  background: transparent;
  color: #191a1b;
  font: 700 16px/20px var(--sans);
  cursor: pointer;
}

.item-chevron {
  width: 36px;
  height: 44px;
  display: grid;
  place-items: center;
}

.item-chevron::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 3px solid #191a1b;
  border-bottom: 3px solid #191a1b;
  transform: rotate(45deg);
  margin-left: 6px;
}

.item-scroll {
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
}

.item-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px 0;
}

.item-hero img {
  width: min(280px, 74%);
  aspect-ratio: 1;
  object-fit: contain;
}

.item-copy {
  padding: 0 16px 28px;
}

.item-title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: 0.01em;
  color: var(--red);
}

.item-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 0;
}

.item-price {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.02em;
}

.item-cal {
  color: #535659;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.item-desc {
  margin: 12px 0 0;
  color: #535659;
  font-size: 16px;
  line-height: 24px;
}

.item-options {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.item-options legend {
  padding: 0;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.item-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 2px;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
}

.item-choice input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid #c6c6c6;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.item-choice input:checked {
  border-color: var(--red);
  background: radial-gradient(circle, var(--red) 0 6px, #fff 7px);
}

.item-choice-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.item-choice-price {
  margin-left: auto;
  color: #535659;
  font-size: 14px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.item-choice-price:empty {
  display: none;
}

.item-section {
  margin-top: 28px;
}

.item-section h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  line-height: 24px;
}

.item-section p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.item-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid #e6e6e6;
  box-shadow:none;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
}

.qty button {
  width: 44px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #191a1b;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.item-add {
  flex: 1 1 auto;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font: 700 16px/20px var(--sans);
  cursor: pointer;
}

.bag {
  position: fixed;
  z-index: 45;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--footer-h, 4.5rem) + 12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 700 16px/20px var(--sans);
  box-shadow:none;
  cursor: pointer;
}

.bag-count {
  min-width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.order-root {
  position: fixed;
  inset: 0;
  z-index: 76;
  background: #fff;
}

.order-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.order-scroll {
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 16px 28px;
}

.order-title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  line-height: 32px;
  color: var(--red);
}

.order-empty {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
}

.order-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.order-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}

.order-line-text {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.order-line-price {
  margin: 0;
  color: #535659;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.order-remove {
  justify-self: end;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
}

.order-total {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.order-total:empty {
  display: none;
}

.order-note {
  margin: 8px 0 0;
  color: #535659;
  font-size: 14px;
  line-height: 20px;
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.order-read {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font: 700 16px/20px var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.order-read:disabled,
.order-clear:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.order-clear {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8c2bb;
  border-radius: 4px;
  background: #fff;
  color: #191a1b;
  font: 700 16px/20px var(--sans);
  cursor: pointer;
}

.pos-card {
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px dashed #c8c2bb;
  border-radius: 8px;
  background: #f6f3ef;
  color: #6b6560;
  font: 700 16px/22px var(--sans);
  text-align: left;
  cursor: not-allowed;
}




.send-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.send-status:empty {
  display: none;
}

.read-root {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: #fff;
  color: #000;
}

.read-panel {
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
  padding: calc(12px + var(--safe-top)) 16px calc(28px + var(--safe-bottom));
  background: #fff;
  color: #000;
}

.read-back {
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: 700 1.35rem/1.2 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.read-title {
  margin: 8px 0 20px;
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.read-line {
  margin: 0 0 1.1rem;
  color: #000;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.read-total {
  margin: 1.4rem 0 0.45rem;
  color: #000;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.read-note {
  margin: 0;
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.bag[hidden],
.order-root[hidden],
.read-root[hidden],
.item-root[hidden] {
  display: none !important;
}

.card:focus-visible,
.row:focus-visible,
.cat-tab:focus-visible,
.item-back:focus-visible,
.item-choice input:focus-visible,
.item-add:focus-visible,
.qty button:focus-visible,
.bag:focus-visible,
.order-read:focus-visible,
.order-clear:focus-visible,
.order-remove:focus-visible,
.read-back:focus-visible,
.ask-open:focus-visible,
.ask-close:focus-visible,
.ask-send:focus-visible,
.ask-mic:focus-visible,
.ask-row input:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (hover: hover) {
  .card:hover .card-photo,
  .card:hover.card .card-type {
    filter: brightness(0.98);
  }

  .row:hover {
    background: #faf7f4;
  }

  .cat-tab:hover {
    color: var(--ink);
  }
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }

  .type-name {
    font-size: 1.45rem;
  }

  .card-name {
    font-size: 1.35rem;
  }
}

@media (min-width: 840px) {
  .section-nav {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
    padding-inline: 0;
  }

  .section-title {
    font-size: 2.3rem;
  }
}

@media (min-width: 1040px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .ask-root {
    align-items: center;
    padding: 1.5rem;
  }

  .ask-panel {
    width: min(32rem, 100%);
    border-radius: 1.35rem;
    padding-bottom: 1.2rem;
  }

  .item-root {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 8, 10, 0.52);
  }

  .item-panel {
    width: min(32rem, 100%);
    height: min(88vh, 820px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:none;
  }

  .order-root {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 8, 10, 0.52);
  }

  .order-panel {
    width: min(32rem, 100%);
    height: min(88vh, 820px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:none;
  }
}

@media (max-width: 340px) {
  .card-name,
  .type-name {
    font-size: 1.05rem;
  }

  .combo-badge {
    font-size: 2.1rem;
  }

  .price-amt {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .card-photo,
  .list-group,
  .item-choice,
  .cat-tab.is-active {
    border: 1px solid CanvasText;
  }
}

/* ---- Final polish: category nav with food icons (wendys.com-style) ---- */
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.7rem 0 0.45rem;
}

.cat-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.section-nav {
  padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
  scroll-padding-inline: 1rem;
}

@media (min-width: 768px) {
  #menu-app:not([hidden]) {
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    column-gap: 1.25rem;
    width: min(84rem, calc(100% - 2rem));
    margin-inline: auto;
    align-items: start;
  }

  .dock {
    position: sticky;
    top: calc(var(--bar-h) + 1rem);
    margin-top: 1rem;
    max-height: calc(100vh - var(--bar-h) - var(--footer-h, 3.2rem) - 2rem);
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 1rem;
  }

  .section-nav,
  .section-nav-wrap .section-nav {
    flex-direction: column;
    gap: 0.35rem;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .cat-tab {
    width: 100%;
    min-height: 56px;
    gap: 0.85rem;
    padding: 0.35rem 0.75rem;
    border: 2px solid transparent;
    border-radius: 6px;
    color: var(--ink);
    font-size: 1rem;
    text-align: left;
    white-space: normal;
  }

  .cat-icon {
    width: 40px;
    height: 40px;
  }

  .cat-tab.is-active {
    border-color: var(--red);
    border-bottom-color: var(--red);
    background: #faf5f0;
  }

  .menu-main {
    width: 100%;
    margin: 0;
  }

  .menu-section {
    scroll-margin-top: calc(var(--bar-h) + 0.35rem);
  }

  .menu-footer {
    grid-column: 1 / -1;
  }
}


/* ===== Upgrade (Oct 13): premium cards, refined sidebar, animated item sheet ===== */
.grid {
  gap: 0.75rem;
}

.card {
  padding: 0.5rem 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.card-photo {
  border-radius: 10px;
  background: var(--well);
}

.card-photo img {
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  object-position: center;
  filter:none;
}

.combo-badge {
  top: 0.15rem;
  left: 0.45rem;
}

.card-body {
  gap: 0.2rem;
  padding: 0.7rem 0.3rem 0;
}

.card-name {
  font-size: 1.08rem;
  line-height: 1.12;
}

.price-amt {
  font-size: 1.12rem;
}

@media (hover: hover) {
  .card:hover {
    border-color: #d9cfc4;
    box-shadow:none;
    transform: translateY(-2px);
  }

  .card:hover .card-photo,
  .card:hover.card .card-type {
    filter: none;
  }
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .card {
    padding: 0.65rem 0.65rem 0.9rem;
  }

  .card-name {
    font-size: 1.2rem;
  }

  /* Sidebar: wendys.com feel, brand red */
  .dock {
    padding-right: 1.1rem;
  }

  .cat-tab {
    min-height: 60px;
    gap: 0.9rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #2b2b2b;
    font-weight: 700;
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }

  .cat-icon {
    width: 44px;
    height: 44px;
    filter:none;
  }

  .cat-tab:hover {
    background: #f7f3ee;
  }

  .cat-tab.is-active {
    border-color: var(--red);
    background: #fdf2f3;
    color: var(--ink);
    font-weight: 800;
  }
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}


/* Item view: bottom sheet on phones, fade/scale dialog on desktop */
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes sheet-out { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes dialog-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes dialog-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.96); } }
@keyframes scrim-in { from { background-color: rgba(16, 8, 10, 0); } }
@keyframes scrim-out { to { background-color: rgba(16, 8, 10, 0); } }

@media (max-width: 799px) {
  .item-root {
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--safe-top) + 24px);
    background: rgba(16, 8, 10, 0.52);
  }

  .item-panel {
    width: 100%;
    height: 100%;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow:none;
    will-change: transform;
  }

  .item-top {
    padding-top: 4px;
  }

  .item-root:not([hidden]) {
    animation: scrim-in 240ms ease-out;
  }

  .item-root:not([hidden]) .item-panel {
    animation: sheet-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .item-root.is-closing {
    animation: scrim-out 200ms ease-in forwards;
  }

  .item-root.is-closing .item-panel {
    animation: sheet-out 200ms ease-in forwards;
  }
}

@media (min-width: 800px) {
  .item-root:not([hidden]) {
    animation: scrim-in 220ms ease-out;
  }

  .item-root:not([hidden]) .item-panel {
    animation: dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .item-root.is-closing {
    animation: scrim-out 200ms ease-in forwards;
  }

  .item-root.is-closing .item-panel {
    animation: dialog-out 200ms ease-in forwards;
  }
}

.item-hero img {
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .item-root,
  .item-root .item-panel,
  .card {
    animation: none !important;
    transition: none !important;
  }
}

/* Frosty mascot (Animation Bot, Oct 2026): small, beside the section title, cup bottom cropped */
.section-title--mascot { display: flex; align-items: center; gap: 12px; }
.frosty-mascot { flex: none; width: 52px; height: 46px; overflow: hidden; border-radius: 0 0 10px 10px; }
.frosty-mascot img { display: block; width: 52px; height: auto; }
@media (max-width: 600px) { .frosty-mascot { width: 40px; height: 36px; } .frosty-mascot img { width: 40px; } }

/* Option rows with a product thumbnail (wendys.com customize style) */
.item-choice.has-thumb {
  min-height: 64px;
}

.item-choice-thumb {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--well);
  padding: 3px;
  box-sizing: border-box;
}

/* opts1: price sits directly under the name (top-aligned, no bottom push) */
.card .price-block,
.card .size-prices,
.card .size-chips {
  margin-top: 0;
  padding-top: 0.3rem;
}

.card-body {
  justify-content: flex-start;
}

/* opts1: pickup location strip + chooser sheet */
.topbar {
  padding-bottom: 0;
}

.topbar-inner {
  padding-bottom: 0.75rem;
}

.loc-strip {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.loc-strip-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(72rem, calc(100% - 2rem));
  min-height: 44px;
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.loc-pin {
  flex: none;
}

.loc-label {
  flex: none;
  color: var(--soft);
  font-size: 0.78rem;
}

.loc-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loc-name.is-empty {
  color: var(--soft);
  font-weight: 600;
}

.loc-edit {
  flex: none;
  min-height: 44px;
  margin-left: auto;
  padding: 0 0.25rem 0 0.5rem;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 420px) {
  .loc-label {
    display: none;
  }
}

.loc-root {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(16, 8, 10, 0.52);
}

.loc-root[hidden] {
  display: none;
}

.loc-panel {
  width: 100%;
  max-height: min(88vh, 640px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 1.35rem 1.35rem 0 0;
  padding: 0.35rem 1.1rem calc(1.15rem + var(--safe-bottom));
  box-shadow:none;
}

.loc-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 56px;
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
}

.loc-option input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 2px solid #c6c6c6;
  border-radius: 50%;
}

.loc-option input:checked {
  border-color: var(--red);
  background: radial-gradient(circle, var(--red) 0 6px, #fff 7px);
}

.loc-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.loc-option-name {
  font-size: 1rem;
  font-weight: 800;
}

.loc-option-meta {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.loc-option-tel {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (min-width: 800px) {
  .loc-root {
    align-items: center;
    padding: 1.5rem;
  }

  .loc-panel {
    width: min(30rem, 100%);
    border-radius: 1.35rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .loc-root:not([hidden]) .loc-panel {
    animation: sheet-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 800px) {
  .loc-root:not([hidden]) .loc-panel {
    animation: dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

/* ===== item1: wendys.com-style full item page (replaces the modal) ===== */
.item-root,
.item-root:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: block;
  padding: 0;
  background: #fff;
}

.item-root .item-panel,
.item-root:not([hidden]) .item-panel {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes page-out { to { opacity: 0; } }

.item-root:not([hidden]),
.item-root.is-closing {
  animation: none;
}

.item-root:not([hidden]) .item-panel {
  animation: page-in 200ms ease-out;
}

.item-root.is-closing .item-panel {
  animation: page-out 180ms ease-in forwards;
}

.item-back {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-head {
  padding-top: 4px;
}

.item-title {
  color: var(--red);
  margin-top: 4px;
}

.item-meta {
  color: #4a4a4a;
}

.item-hero img {
  width: min(320px, 78%);
}

.item-combo-radios {
  display: none !important;
}

.item-combo-btn {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 16px 0 4px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.item-combo-btn[aria-pressed="true"] {
  background: var(--red);
  color: #fff;
}

.item-combo-btn[hidden] {
  display: none;
}

.item-side {
  padding: 0 16px 24px;
}

.item-build {
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
}

.build-title {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.build-hint {
  margin: 4px 0 14px;
  color: var(--soft);
  font-size: 13px;
}

.ing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 26px 6px 10px;
  border: 1px solid #ddd6ce;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.ing-card.is-off {
  background: #faf8f6;
}

.ing-card.is-off .ing-img,
.ing-card.is-off .ing-name {
  opacity: 0.45;
}

.ing-check,
.extra-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--red);
}

.ing-check {
  position: absolute;
  top: 8px;
  right: 8px;
}

.ing-img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.ing-img.is-blank {
  background: transparent;
}

.ing-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ing-level {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.ing-edit {
  min-height: 32px;
  margin-top: auto;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.extras-list {
  display: flex;
  flex-direction: column;
}

.extra-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 6px 2px;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
}

.extra-row .ing-img {
  width: 48px;
  height: 48px;
}

.extra-name {
  font-size: 15px;
  font-weight: 700;
}

.item-choice-thumb.is-blank {
  display: block;
}

.item-add {
  flex: 1;
}

@media (min-width: 560px) {
  .ing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .item-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    z-index: 2;
    padding: 20px 32px 0;
    background: transparent;
  }

  .item-scroll {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    height: 100%;
    overflow: hidden;
  }

  .item-main {
    height: 100%;
    overflow-y: auto;
    padding: 64px 16px 120px;
    border-right: 1px solid var(--line);
  }

  .item-main .item-copy {
    padding-inline: 16px;
  }

  .item-title {
    font-size: 34px;
    line-height: 38px;
  }

  .item-hero img {
    width: 300px;
  }

  .item-side {
    height: 100%;
    overflow-y: auto;
    padding: 32px 40px 48px;
  }

  .item-side .item-build:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .build-title {
    font-size: 30px;
  }

  .ing-grid {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 10px;
  }

  .item-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 400px;
    border-right: 1px solid var(--line);
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .item-root .item-panel {
    animation: none !important;
  }
}

.item-panel {
  position: relative;
}

/* cart1: header bag, upsell step, bag page */
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hbag { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #fff; font: 700 15px/20px var(--sans); cursor: pointer; }
.hbag-icon { position: relative; display: inline-block; width: 22px; height: 24px; }
.hbag-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #fff; color: #9e1024; font-size: 11px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.upsell-root { position: fixed; inset: 0; z-index: 95; overflow: auto; background: #fff; }
.upsell-root[hidden] { display: none; }
.upsell-panel { max-width: 380px; margin: 0 auto; padding: 48px 16px 32px; text-align: center; }
.upsell-title { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 900; line-height: 28px; color: #202124; }
.upsell-sub { margin: 4px 0 24px; font-size: 15px; line-height: 22px; color: #2d2f31; }
.upsell-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.upsell-row { border-bottom: 1px solid #ececec; }
.upsell-label { display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; cursor: pointer; }
.upsell-img { width: 56px; height: 56px; object-fit: contain; }
.upsell-txt { display: flex; flex-direction: column; }
.upsell-name { font-family: var(--display); font-weight: 900; font-size: 16px; line-height: 20px; color: #202124; }
.upsell-meta { font-size: 12px; line-height: 18px; color: #535659; font-variant-numeric: tabular-nums; }
.upsell-check { width: 20px; height: 20px; accent-color: #1c4f8c; }
.upsell-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.upsell-no, .upsell-add { min-height: 44px; border-radius: 999px; font: 700 15px/20px var(--sans); cursor: pointer; }
.upsell-no { border: 1px solid #1c4f8c; background: #fff; color: #1c4f8c; }
.upsell-add { border: 0; background: #1c4f8c; color: #fff; }
.upsell-add:disabled { background: #d7d7d7; color: #595959; cursor: default; }
.upsell-legal { margin: 14px 0 0; font-size: 11px; line-height: 16px; color: #535659; }
.upsell-no:focus-visible, .upsell-add:focus-visible, .order-edit:focus-visible, .bag-loc-edit:focus-visible { outline: 3px solid #1c4f8c; outline-offset: 2px; }
.order-line.has-img { grid-template-columns: 56px 1fr auto; }
.order-line.has-img > .order-line-img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; }
.order-line-acts { display: flex; justify-content: flex-end; gap: 4px; }
.order-line.has-img > .order-line-acts { grid-column: 2 / -1; }
.order-edit { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #1c4f8c; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bag-loc { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: center; margin: 12px 0 4px; padding: 12px; border-radius: 8px; background: #f2f2f2; }
.bag-loc-label { margin: 0; font-size: 12px; color: #535659; grid-column: 1; }
.bag-loc-name { margin: 0; font-weight: 700; font-size: 15px; line-height: 20px; grid-column: 1; }
.bag-loc-edit { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: #1c4f8c; font-weight: 700; text-decoration: underline; cursor: pointer; }
.hbag:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.order-line.has-img > .qty { justify-self: start; }

/* ===== pop1: item view is a popover card over the menu (no layout shift) ===== */
html { scrollbar-gutter: stable; }
html.is-locked, html.is-locked body { overflow: hidden; }
.item-root,
.item-root:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(17, 18, 19, 0.55);
  overscroll-behavior: contain;
}
.item-root .item-panel,
.item-root:not([hidden]) .item-panel {
  position: relative;
  width: 100%;
  height: 92vh;
  height: 92dvh;
  max-width: none;
  border-radius: 16px 16px 0 0;
  box-shadow:none;
  overflow: hidden;
  background: #fff;
}
.item-top { position: absolute; top: 0; right: 0; left: auto; width: auto; z-index: 3; padding: 8px; background: transparent; min-height: 0; }
.item-x { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 999px; background: #fff; box-shadow:none; color: #191a1b; font: 400 30px/1 var(--sans); text-decoration: none; }
.item-x:focus-visible { outline: 3px solid #1c4f8c; outline-offset: 2px; }
.item-scroll { padding-top: 8px; }
@keyframes pop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop-scale { from { transform: scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop-out { to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .item-root:not([hidden]) { animation: pop-fade 180ms ease-out; }
  .item-root:not([hidden]) .item-panel { animation: pop-up 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .item-root.is-closing, .item-root.is-closing .item-panel { animation: pop-out 180ms ease-in forwards; }
}
@media (min-width: 900px) {
  .item-root, .item-root:not([hidden]) { align-items: center; padding: 32px; }
  .item-root .item-panel, .item-root:not([hidden]) .item-panel {
    width: min(1040px, 100%);
    height: min(820px, calc(100vh - 64px));
    border-radius: 16px;
    box-shadow:none;
  }
  .item-top { position: absolute; top: 0; right: 0; left: auto; width: auto; padding: 12px; }
  .item-scroll { padding-top: 0; }
  .item-main { padding-top: 32px; }
  .item-bar { border-bottom-left-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .item-root:not([hidden]) .item-panel { animation: pop-scale 200ms cubic-bezier(0.2, 0.8, 0.2, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .item-root, .item-root .item-panel { animation: none !important; }
}

/* ===== sys1: mirror wendys.com order menu system ===== */
:root { --sys-blue: #1b5e95; --sys-tint: #eef4f9; --sys-line: #d9d9d9; }
.topbar { background: #fff; color: #222; box-shadow:none; padding-top: calc(0.5rem + var(--safe-top)); }
.topbar-inner { padding-bottom: 0.5rem; }
.brand-row { align-items: center; }
.brand { line-height: 0; }
.brand-logo { display: block; width: 52px; height: auto; }
.hbag { color: #222; font: 600 14px/20px var(--sans); }
.hbag-count { background: var(--sys-blue); color: #fff; }
.hbag:focus-visible { outline-color: var(--sys-blue); }
.loc-strip-inner { justify-content: center; font-size: 13px; }
.loc-edit { color: var(--sys-blue); }
.section-title { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 1.6rem; line-height: 1.15; margin: 0 0 1rem; }
.section-note { display: none; }
.grid { gap: 0.9rem !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.card.sys { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sys-line); border-radius: 4px; box-shadow: none; padding: 0.5rem 0.5rem 0.9rem; text-align: left; transform: none !important; }
.card.sys .card-photo { background: #fff !important; border-radius: 0; aspect-ratio: 1 / 0.8; margin: 0; padding: 0; overflow: hidden; }
.card.sys .card-photo img { width: 100%; height: 100%; object-fit: contain; transform: none !important; }
.card.sys .card-body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 0.4rem 0.2rem 0; }
.card.sys .card-name { font: 700 14px/1.25 var(--sans); color: #222; margin: 0; text-transform: none; }
.card.sys .card-line { font: 400 12px/1.4 var(--sans); color: #555; }
.card.sys .card-view { margin-top: auto; align-self: stretch; display: block; text-align: center; border: 1px solid var(--sys-blue); color: var(--sys-blue); border-radius: 999px; font: 600 12px/30px var(--sans); margin-top: 0.75rem; }
.card.sys:hover .card-view { background: var(--sys-tint); }
.card.sys.is-text .card-type { background: #fff !important; color: #222; }
@media (min-width: 768px) {
  .cat-tab { border: 2px solid transparent; border-radius: 6px; }
  .cat-tab:hover { background: #f5f5f5; }
  .cat-tab.is-active { border-color: var(--sys-blue); background: var(--sys-tint); color: #222; }
}
.cat-tab.is-active { border-bottom-color: var(--sys-blue); }
.loc-strip-inner .loc-edit { margin-left: 0.5rem !important; }

/* ===== hdr1: CAYMAN lockup + pickup in header row ===== */
.topbar-inner { padding-bottom: 0.5rem; }
.brand-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 56px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-div { width: 1px; height: 32px; background: #d9d9d9; }
.brand-cayman { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: 0.06em; color: #e2203d; text-transform: uppercase; white-space: nowrap; transform: scaleX(.9); transform-origin: left center; }
.hdr-loc { background: transparent; border: 0; min-width: 0; }
.hdr-loc .loc-strip-inner { width: auto; justify-content: center; margin: 0; min-height: 44px; white-space: nowrap; }
.hdr-loc .loc-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 767px) {
  .brand-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand . bag" "loc loc loc"; row-gap: 4px; }
  .brand-lockup { grid-area: brand; gap: 8px; }
  .brand-logo { width: 44px; }
  .brand-div { height: 26px; }
  .brand-cayman { font-size: 20px; }
  .hbag { grid-area: bag; }
  .hdr-loc { grid-area: loc; border-top: 1px solid #eee; }
  .hdr-loc .loc-strip-inner { min-height: 40px; }
}

/* hours1: store hours in the location picker + open hint in the bag (space reserved, no reflow) */
.loc-open { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #535659; }
.loc-open.is-open { color: #1b7a3a; }
.loc-hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: 13px; line-height: 18px; color: #535659; }
.loc-hours dt { font-weight: 700; color: #2d2d2d; }
.loc-hours dd { margin: 0; }
.loc-hours .loc-option-tel { font-weight: 700; }

.bag-loc-hours { margin: 0; grid-column: 1; min-height: 18px; font-size: 13px; line-height: 18px; color: #535659; }

/* qc1: one location panel at every width (centered card, same content and layout) */
.loc-root { align-items: center; padding: 1rem; }
.loc-panel { width: min(30rem, 100%); border-radius: 1.35rem; padding-bottom: 1.15rem; box-shadow:none; }
@media (prefers-reduced-motion: no-preference) { .loc-root:not([hidden]) .loc-panel { animation: dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1); } }

/* ftr1: no sticky footer; disclaimer under sidebar (desktop/tablet) or end of content (phone); mic in header */
:root { --footer-h: 0px; }
.menu-main { padding-bottom: 1.5rem; }
.bag { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.menu-disclaimer p { margin: 0; color: var(--soft); font-size: 0.72rem; line-height: 1.35; }
.disc-side { display: none; }
.disc-main { padding: 1.25rem 0 0; text-align: center; }
@media (min-width: 768px) {
  .disc-side { display: block; padding: 0.9rem 0.25rem 1rem; }
  .disc-main { display: none; }
}
.hact { display: flex; align-items: center; gap: 6px; }
.hmic { width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border-radius: 999px; text-decoration: none; }
.hmic:hover { background: #f5f5f5; }
.hmic:focus-visible { outline: 3px solid var(--sys-blue); outline-offset: 2px; }
@media (max-width: 767px) { .hact { grid-area: bag; } }

/* ===== pwa1: item info tabs, View More, install prompt ===== */
.item-info { margin-top: 24px; }
.info-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e3e3e3; }
.info-tab { min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: none; font: 700 16px/20px var(--sans); color: #2d2d2d; cursor: pointer; }
.info-tab[aria-selected="true"] { border-bottom-color: var(--red); }
.info-tab:focus-visible { outline: 3px solid #1c4f8c; outline-offset: -3px; }
.info-panel { padding: 16px 0 8px; }
.allergen-box { padding: 16px; border-radius: 12px; background: #f4f4f4; }
.allergen-title { margin: 0 0 8px; font-size: 16px; }
.allergen-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.allergen { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.info-muted { margin: 0; color: #535659; font-size: 14px; line-height: 20px; }
.nutri-table { display: grid; grid-template-columns: 1fr auto; margin: 16px 0 0; }
.nutri-table dt, .nutri-table dd { margin: 0; padding: 6px 0; border-bottom: 1px solid #e3e3e3; }
.nutri-table dt { font-weight: 700; }
.nutri-table dd { color: #535659; font-size: 14px; text-align: right; }
.info-source { margin: 12px 0 0; color: #535659; font-size: 13px; }
.ingr-list .ingr { margin: 0 0 14px; font-size: 15px; line-height: 22px; }
.extra-price { margin-left: auto; padding-left: 8px; color: #535659; font-size: 14px; white-space: nowrap; }
.view-more { display: block; margin: 8px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: none; color: #1c4f8c; font: 700 16px/20px var(--sans); text-decoration: underline; cursor: pointer; }
.view-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.view-more[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.view-more:focus-visible { outline: 3px solid #1c4f8c; outline-offset: 2px; }
.a2hs { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto; padding: 10px 10px 10px 12px; border-radius: 14px; background: #fff; box-shadow:none; }
.a2hs[hidden] { display: none; }
.a2hs-icon { flex: none; border-radius: 9px; }
.a2hs-text { flex: 1; margin: 0; font-size: 14px; line-height: 18px; color: #2d2d2d; }
.a2hs-add { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; }
.a2hs-add[hidden] { display: none; }
.a2hs-close { flex: none; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; color: #535659; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .a2hs:not([hidden]) { animation: a2hs-in 220ms ease-out; } }
@keyframes a2hs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.extra-row[hidden], .item-choice[hidden] { display: none; }

/* ---- app1: Get the app (header) + install card; item Nutrition/Ingredients tabs; extras View More/Less ---- */
.hget { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-right: 4px; padding: 0 12px 0 6px; border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; color: #1a1a1a; font: 600 13px/18px var(--sans); white-space: nowrap; cursor: pointer; }
.hget img { border-radius: 6px; }
.hget:hover { background: #f5f5f5; }
.hget:focus-visible { outline: 3px solid #1f6fa3; outline-offset: 2px; }
.no-getapp .hget { display: none; }
@media (max-width: 420px) { .hget span { display: none; } .hget { padding: 0 6px; min-width: 36px; justify-content: center; } }
.getapp-root { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0); transition: background .2s; }
.getapp-root.is-open { background: rgba(0,0,0,.45); }
.getapp-panel { position: relative; width: 100%; max-width: 420px; padding: 28px 24px 22px; border-radius: 20px; background: #fff; text-align: center; color: #1a1a1a; box-shadow:none; opacity: 0; transform: scale(.96); transition: transform .2s, opacity .2s; }
.getapp-root.is-open .getapp-panel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .getapp-root, .getapp-panel { transition: none; } }
.getapp-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; font-size: 28px; line-height: 1; color: #1a1a1a; cursor: pointer; }
.getapp-icon { display: block; margin: 0 auto 12px; border-radius: 14px; box-shadow:none; }
.getapp-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.2; }
.getapp-sub { margin: 8px 0 0; color: #535659; font-size: 15px; line-height: 22px; }
.getapp-steps { margin: 16px auto 0; padding: 14px 16px 14px 36px; border-radius: 12px; background: #f5f5f5; text-align: left; font-size: 15px; line-height: 24px; }
.getapp-steps svg { vertical-align: -3px; color: #1f6fa3; }
.getapp-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.getapp-actions button { min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 16px/20px var(--sans); cursor: pointer; }
.getapp-no { border: 2px solid #1a1a1a; background: #fff; color: #1a1a1a; }
.getapp-yes { border: 0; background: #e2203d; color: #fff; }
.al-ico { flex: none; fill: none; stroke: #1a1a1a; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.info-panel { min-height: 520px; }
.allergen-list { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.view-more { color: #1f6fa3; }
.view-more:focus-visible { outline-color: #1f6fa3; }
.nutri-table dt.is-sub { padding-left: 16px; font-weight: 600; }
.nutri-table dd { color: #1a1a1a; font-size: 15px; }

/* ===== wb1: wendys.com controls + Your Bag ===== */
:root { --wb-blue: #1b5e95; --wb-blue-d: #154a76; --wb-red: #c8102e; }
.hbag-icon { width: 24px; height: 26px; }
.hbag-count { top: -9px; right: -11px; min-width: 20px; height: 20px; line-height: 20px; font-size: 11px; font-weight: 700; background: var(--wb-blue); color: #fff; box-shadow:0 0 0 2px #fff; }
/* Round outline -/+ and blue pill Add */
.qty { display: inline-flex; align-items: center; gap: 10px; border: 0 !important; background: transparent !important; padding: 0 !important; min-height: 44px; }
.qty button { width: 36px !important; height: 36px !important; min-width: 36px; min-height: 36px; padding: 0 !important; border: 1.5px solid #8a8d91 !important; border-radius: 50% !important; background: #fff !important; color: #222 !important; font: 400 22px/1 var(--sans) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qty button:hover:not(:disabled) { border-color: var(--wb-blue) !important; color: var(--wb-blue) !important; }
.qty button:disabled { opacity: .4; cursor: default; }
.qty-value { min-width: 20px; text-align: center; font: 700 16px/1 var(--sans); }
.item-add { border-radius: 999px !important; background: var(--wb-blue) !important; border-color: var(--wb-blue) !important; color: #fff !important; }
.item-add:hover { background: var(--wb-blue-d) !important; }
.item-combo-btn { border-radius: 999px !important; border-color: var(--wb-blue) !important; color: var(--wb-blue) !important; }
.item-combo-btn[aria-pressed="true"] { background: var(--wb-blue) !important; color: #fff !important; }
/* Legal */
.legal { margin: 8px 0 0; font-size: 12px; line-height: 17px; color: #535659; }
.item-info .legal { font-size: 11px; line-height: 15px; }
.getapp-sub { line-height: 1.45; }
/* Your Bag */
.order-panel { width: min(1080px, calc(100vw - 32px)) !important; max-width: none !important; padding: 0 !important; overflow: hidden; }
.order-panel > .item-top { padding: 12px 20px 0; }
.order-scroll { padding: 0 !important; }
.bag-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: 100%; }
.bag-main { padding: 8px 32px 32px; background: #f2f3f4; }
.bag-side { padding: 20px 24px 28px; background: #fff; border-left: 1px solid #e3e3e3; }
.order-title { color: #222 !important; font-size: 30px !important; margin: 8px 0 20px !important; }
.bag-sub, .bag-h { margin: 0 0 10px; font: 700 16px/22px var(--sans); color: #222; }
.bag-h { margin-top: 22px; }
.bag-h:first-child { margin-top: 0; }
.order-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order-line.wb-card { display: grid !important; grid-template-columns: 104px 1fr; grid-template-areas: "m h" "m f"; gap: 8px 16px; padding: 16px !important; border: 1px solid #ddd !important; border-radius: 8px; background: #fff; }
.wb-media { grid-area: m; display: flex; align-items: center; justify-content: center; }
.wb-media .order-line-img { width: 96px !important; height: 96px !important; object-fit: contain; }
.wb-head { grid-area: h; display: flex; justify-content: space-between; gap: 12px; }
.wb-card .order-line-text { margin: 0; font: 700 17px/22px var(--sans); }
.wb-card .order-line-price { margin: 0; font-weight: 700; white-space: nowrap; }
.wb-foot { grid-area: f; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-self: end; }
.order-line-acts { display: flex; align-items: center; gap: 2px; }
.wb-heart { width: 40px; height: 40px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.wb-heart svg path { fill: none; }
.wb-heart[aria-pressed="true"] svg path { fill: #c8102e; }
.order-edit, .order-remove { min-height: 40px !important; padding: 0 8px !important; border: 0 !important; background: transparent !important; color: #6b6e72 !important; font: 500 13px/1 var(--sans) !important; text-decoration: underline !important; cursor: pointer; }
.order-edit:hover, .order-remove:hover { color: var(--wb-blue) !important; }
.bag-loc { display: grid !important; grid-template-columns: auto 1fr auto !important; align-items: center; gap: 12px !important; margin: 0 !important; padding: 12px 14px !important; border: 1px solid #ccc; border-radius: 6px !important; background: #fff !important; }
.bag-pin { display: block; }
.bag-loc-text { min-width: 0; }
.bag-loc-label { font-size: 11px !important; }
.bag-loc-name { font: 600 14px/18px var(--sans) !important; text-transform: uppercase; }
.bag-loc-name.is-empty { text-transform: none; }
.bag-loc-edit { grid-column: 3 !important; grid-row: 1 !important; color: var(--wb-blue) !important; font-size: 13px !important; }
.pm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pm { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border: 0; background: transparent; cursor: pointer; font-family: var(--sans); }
.pm-art { position: relative; width: 60px; height: 60px; border-radius: 50%; box-shadow:none; display: block; }
.pm-art svg { width: 60px; height: 60px; display: block; }
.pm[aria-pressed="true"] .pm-art { box-shadow:0 0 0 2px var(--wb-blue); }
.pm[aria-pressed="true"] .pm-art::after { content: ""; position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--wb-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; box-shadow:0 0 0 2px #fff; }
.pm:disabled { opacity: .45; cursor: default; }
.pm-label { font: 600 13px/17px var(--sans); color: #222; }
.pm-status { min-height: 15px; font-size: 11px; line-height: 15px; color: #535659; }
.pm-status.is-open { color: #2e7d32; }
.pm-status.is-closed { color: #c8102e; }
.pm:focus-visible { outline: 3px solid var(--wb-blue); outline-offset: 2px; border-radius: 8px; }
.bag-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; }
.bag-sum dt, .bag-sum dd { margin: 0; }
.bag-sum dd { text-align: right; font-variant-numeric: tabular-nums; }
.bag-total-t, .bag-total-d { font: 700 17px/22px var(--sans) !important; padding-top: 4px; }
.bag-side .order-note { margin: 12px 0 14px !important; font-size: 12px; color: #535659; text-align: center; }
.bag-side .order-actions { display: grid; gap: 10px; }
.bag-side .order-read, .bag-more, .bag-side .order-clear { min-height: 46px; border-radius: 999px !important; font: 700 15px/1 var(--sans) !important; cursor: pointer; }
.bag-side .order-read { background: var(--wb-blue) !important; border: 1.5px solid var(--wb-blue) !important; color: #fff !important; }
.bag-side .order-read:hover:not(:disabled) { background: var(--wb-blue-d) !important; }
.bag-side .order-copy, .bag-more { background: #fff !important; border: 1.5px solid var(--wb-blue) !important; color: var(--wb-blue) !important; }
.bag-side .order-copy:hover:not(:disabled), .bag-more:hover { background: #eef4f9 !important; }
.bag-side .order-clear { min-height: 40px; background: transparent !important; border: 0 !important; color: #6b6e72 !important; font-weight: 500 !important; font-size: 13px !important; text-decoration: underline; }
.bag-side .send-status:empty { display: none; }
.bag-main .order-empty { padding: 24px; border-radius: 8px; background: #fff; }
.read-panel .order-read { border-radius: 999px !important; background: var(--wb-blue) !important; border-color: var(--wb-blue) !important; color: #fff !important; }
@media (max-width: 800px) {
  .order-panel { width: 100vw !important; }
  .bag-wrap { grid-template-columns: 1fr; }
  .bag-main { padding: 4px 16px 20px; }
  .bag-side { border-left: 0; border-top: 1px solid #e3e3e3; padding: 20px 16px 32px; }
  .order-title { font-size: 26px !important; margin: 4px 0 14px !important; }
  .order-line.wb-card { grid-template-columns: 72px 1fr; padding: 12px !important; gap: 6px 12px; }
  .wb-media .order-line-img { width: 72px !important; height: 72px !important; }
  .wb-card .order-line-text { font-size: 15px; line-height: 20px; }
  .wb-foot { grid-column: 1 / -1; }
  .order-line.wb-card { grid-template-areas: "m h" "f f"; }
}
.getapp-title, .getapp-sub { text-wrap: balance; }

/* ===== cb1: Wendy's app combo flow ===== */
.item-root.is-cb #item-drinks, .item-root.is-cb #item-drink-sizes, .item-root.is-cb #item-combos { display: none !important; }
.cb-box { margin: 12px 0 4px; }
.cb-box[hidden] { display: none; }
.cb-size-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cb-size-row[hidden] { display: none; }
.cb-size-label { font: 700 15px/20px var(--sans); }
.cb-select { position: relative; }
.cb-select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 36px 0 18px; border: 1.5px solid var(--wb-blue); border-radius: 999px; background: #fff; color: var(--wb-blue); font: 700 15px/1 var(--sans); cursor: pointer; }
.cb-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--wb-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.cb-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cb-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; border: 1px solid #d0d0d0; border-radius: 8px; background: #fff; }
.cb-row[hidden] { display: none; }
.cb-ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.cb-ic img { width: 44px; height: 44px; object-fit: contain; }
.cb-ic .dk-circle { width: 44px; height: 44px; font-size: 14px; }
.cb-name { font: 500 15px/20px var(--sans); color: #222; }
.cb-edit { min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--wb-blue); font: 700 14px/1 var(--sans); cursor: pointer; }
.cb-edit[hidden] { display: none; }
.cb-edit:focus-visible, .cb-opt:focus-visible, .dk-opt:focus-visible, .sheet-x:focus-visible { outline: 3px solid var(--wb-blue); outline-offset: 2px; }
/* Bottom sheets (overlay only: fixed, no layout shift) */
.sheet-root { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0); transition: background .22s; overscroll-behavior: contain; }
.sheet-root[hidden] { display: none; }
.sheet-root.is-open { background: rgba(0,0,0,.45); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #fff; text-align: center; transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1); }
.sheet-root.is-open .sheet { transform: none; }
@media (min-width: 800px) { .sheet-root { align-items: center; } .sheet { border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-root { transition: none; } }
.sheet-grab { display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #c8c8c8; }
.sheet-x { position: absolute; top: 18px; right: 14px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--wb-blue); font-size: 30px; line-height: 1; cursor: pointer; }
.sheet-title { margin: 6px 0 6px; font: 900 22px/28px var(--display, var(--sans)); color: #222; }
.sheet-sub { margin: 0 0 18px; font-size: 15px; color: #333; }
.cb-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cb-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: transparent; cursor: pointer; font-family: var(--sans); border-radius: 12px; }
.cb-opt:hover { background: #f4f6f8; }
.cb-circle { width: 84px; height: 84px; border-radius: 50%; background: #f2f2f2; border: 1px solid #e3e3e3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cb-circle img { width: 72px; height: 72px; object-fit: contain; }
.cb-opt-name { font: 700 15px/19px var(--sans); color: #222; }
.cb-opt-price { min-height: 18px; font-size: 14px; color: #333; }
.dk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
@media (max-width: 360px) { .dk-grid { grid-template-columns: repeat(3, 1fr); } }
.dk-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: transparent; cursor: pointer; font-family: var(--sans); }
.dk-circle { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; font: 800 20px/1 var(--sans); letter-spacing: .5px; }
.dk-circle img { width: 64px; height: 64px; object-fit: contain; }
.dk-circle.is-type { border-color: transparent; }
.dk-opt[aria-pressed="true"] .dk-circle { box-shadow:0 0 0 3px var(--wb-blue); }
.dk-opt { position: relative; }
.dk-opt[aria-pressed="true"]::after { content: ""; position: absolute; top: 0; left: calc(50% + 20px); width: 22px; height: 22px; border-radius: 50%; background: var(--wb-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow:0 0 0 2px #fff; }
.dk-name { font-size: 13px; line-height: 17px; color: #222; }
/* cb2: flat fountain cup icons */
.dk-circle.is-type svg { display: block; }
.dk-circle.is-light svg path { fill: #1a1a1a; stroke: #1a1a1a; }

/* Frosty promo band (Oct 14): full-width, top of Frosty section, ratio reserved */
.frosty-band { width: 100%; aspect-ratio: 16 / 5; margin: 4px 0 20px; border-radius: 16px; overflow: hidden; background: #e2203d; display: flex; align-items: flex-end; justify-content: center; }
.frosty-band picture { display: block; height: 92%; aspect-ratio: 604 / 634; }
.frosty-band img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
@media (max-width: 600px) { .frosty-band { aspect-ratio: 16 / 9; } }
