  :root {
    --paper: #ffffff;
    --paper-alt: #f4f3f0;
    --card: #ffffff;
    --ink: #201c18;
    --ink-soft: #6b6458;
    --accent: #b3271d;
    --accent-hover: #8f1e16;
    --accent-soft: #f4dad4;
    --line: #e5dfd0;
    --nori: #35443a;
    --gold: #8c651f;
    --shadow: 0 8px 24px -12px rgba(32, 28, 24, 0.35);
    --radius: 3px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #17151a;
      --paper-alt: #211d24;
      --card: #1d1a20;
      --ink: #efe7dd;
      --ink-soft: #b7afa2;
      --accent: #e1483a;
      --accent-hover: #f16657;
      --accent-soft: #3a211e;
      --line: #35303a;
      --nori: #7cbe90;
      --gold: #d9a94d;
      --shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.6);
    }
  }
  :root[data-theme="dark"] {
    --paper: #17151a;
    --paper-alt: #211d24;
    --card: #1d1a20;
    --ink: #efe7dd;
    --ink-soft: #b7afa2;
    --accent: #e1483a;
    --accent-hover: #f16657;
    --accent-soft: #3a211e;
    --line: #35303a;
    --nori: #7cbe90;
    --gold: #d9a94d;
    --shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.6);
  }
  :root[data-theme="light"] {
    --paper: #ffffff;
    --paper-alt: #f4f3f0;
    --card: #ffffff;
    --ink: #201c18;
    --ink-soft: #6b6458;
    --accent: #b3271d;
    --accent-hover: #8f1e16;
    --accent-soft: #f4dad4;
    --line: #e5dfd0;
    --nori: #35443a;
    --gold: #8c651f;
    --shadow: 0 8px 24px -12px rgba(32, 28, 24, 0.35);
  }

  * {
    box-sizing: border-box;
  }
  html,
  body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
  }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family:
      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
      sans-serif;
    line-height: 1.45;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  h1,
  h2,
  h3,
  .display {
    font-family:
      "Montserrat", "Georgia", "Iowan Old Style", "Palatino Linotype", Palatino,
      serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 0;
  }
  .num {
    font-variant-numeric: tabular-nums;
  }
  a {
    color: inherit;
  }
  button {
    font: inherit;
    color: inherit;
  }
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }

  /* ---------- Masthead ---------- */
  .masthead {
    flex: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .masthead-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 9px 20px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: hidden;
    max-height: 80px;
    transition:
      max-height 0.22s ease,
      padding 0.22s ease,
      opacity 0.18s ease;
  }
  /* Collapsed once the category bar has scrolled up and stuck to the top,
   * so it doesn't compete with it for space — restored on scroll-up. */
  .masthead.hide-top-line .masthead-inner {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
  .brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    color: inherit;
  }
  .brand .mark {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .brand h1 {
    font-size: clamp(18px, 2.6vw, 22px);
    line-height: 1;
  }
  .brand .stamp {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 11px;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 2px;
    padding: 2px 6px;
    letter-spacing: 0.06em;
    transform: rotate(-3deg);
  }
  .brand .logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #0c0c0c;
    flex: none;
  }
  .brand .logo-badge img {
    width: 20px;
    height: 20px;
    display: block;
  }
  .theme-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .theme-toggle {
    background: none;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    color: var(--ink-soft);
  }
  .theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
  }
  .cart-btn:hover {
    background: var(--accent);
  }
  .cart-icon {
    width: 20px;
    height: 20px;
  }
  .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--paper);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
  }
  .cart-btn:hover .cart-count {
    background: var(--paper);
    color: var(--accent);
    border-color: var(--accent);
  }

  .account-btn {
    background: none;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .account-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .pts-badge {
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    padding: 1px 7px;
    font-weight: 700;
    font-size: 11px;
  }
  .busy-badge {
    display: inline-block;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 12px;
    cursor: help;
  }
  .busy-badge[data-level="open"] {
    background: #22c55e;
  }
  .busy-badge[data-level="little-busy"] {
    background: #eab308;
  }
  .busy-badge[data-level="busy"] {
    background: #f97316;
  }
  .busy-badge[data-level="very-busy"] {
    background: #ef4444;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    height: 36px;
    flex: none;
    background: none;
    border: none;
    cursor: pointer;
  }
  .menu-btn:hover span {
    background: var(--accent);
  }
  .menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.15s ease;
  }
  .menu-btn.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 28, 24, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 290;
  }
  .menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
  .menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 295;
    display: flex;
    flex-direction: column;
    padding: 5rem 0 2rem;
  }
  .menu-panel.open {
    transform: translateX(0);
  }
  .menu-panel a {
    padding: 1rem 1.75rem;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .menu-panel a:hover {
    background: var(--paper-alt);
  }

  /* ---------- Category nav ---------- */
  .catnav-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    margin-top: 18px;
    padding: 7px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .catnav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .catmenu {
    position: relative;
    flex: none;
  }
  .catmenu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: none;
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .catmenu-btn:hover {
    border-color: var(--ink-soft);
  }
  .catmenu-btn svg {
    width: 28px;
    height: 28px;
  }
  .catmenu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    min-width: 240px;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 1px;
    padding: 8px 0;
    z-index: 60;
  }
  .catmenu.open .catmenu-panel {
    display: flex;
  }
  .catmenu-item {
    text-align: left;
    background: none;
    border: none;
    border-left: 2px solid transparent;
    padding: 8px 10px;
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: inherit;
  }
  .catmenu-item:hover {
    background: var(--paper-alt);
    color: var(--ink);
  }
  .catmenu-item.active {
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 700;
    background: var(--accent-soft);
  }

  .catnav-chips-viewport {
    position: relative;
    flex: 1;
    min-width: 0;
  }
  .catnav-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .catnav-chips::-webkit-scrollbar {
    display: none;
  }
  .catnav-chip {
    flex: none;
    white-space: nowrap;
    background: var(--card);
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
  }
  .catnav-chip:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
  }
  .catnav-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
  }
  .catnav-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
  .catnav-nav:hover {
    background: var(--accent);
    color: #fff;
  }
  .catnav-nav svg {
    width: 12px;
    height: 12px;
  }
  .catnav-nav.prev {
    left: -4px;
  }
  .catnav-nav.next {
    right: -4px;
  }
  .catnav-nav[disabled] {
    opacity: 0;
    pointer-events: none;
  }

  /* ---------- Landing: hero banner, tagline, featured row ---------- */
  .hero-banner img {
    display: block;
    width: 100%;
    height: min(320px, 32vw);
    min-height: 140px;
    object-fit: cover;
    border-radius: 10px;
  }
  .hero-business-info {
    margin-top: 14px;
    text-align: center;
  }
  .hbi-name {
    font-weight: 700;
    font-size: 20px;
  }
  .hbi-tagline {
    font-style: italic;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  .hbi-address {
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  .hbi-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: #3ecf5e;
    margin-top: 4px;
  }
  .hbi-status.closed {
    color: var(--accent);
  }
  .hbi-status-dot {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    background: #3ecf5e;
    animation: hbi-status-pulse 1.6s infinite;
  }
  .hbi-status-icon {
    width: 14px;
    height: 14px;
    flex: none;
  }
  @keyframes hbi-status-pulse {
    0% {
      transform: scale(0.7);
      box-shadow: 0 0 0 0 rgba(62, 207, 94, 0.45);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 6px rgba(62, 207, 94, 0);
    }
    100% {
      transform: scale(0.7);
      box-shadow: 0 0 0 0 rgba(62, 207, 94, 0);
    }
  }
  .hbi-fulfillment-toggle-slot {
    max-width: 170px;
    margin: 10px auto 0;
  }
  .hbi-pickup-toggle-slot {
    max-width: 280px;
    margin: 10px auto 0;
  }
  .featured-row {
    margin-top: 22px;
    margin-bottom: 25px;
  }
  .featured-row-heading {
    font-size: clamp(18px, 2.4vw, 22px);
    margin-bottom: 12px;
  }
  .featured-row-viewport {
    position: relative;
  }
  .featured-row-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .featured-row-track::-webkit-scrollbar {
    display: none;
  }
  .featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
  .featured-nav:hover {
    background: var(--accent);
    color: #fff;
  }
  .featured-nav svg {
    width: 16px;
    height: 16px;
  }
  .featured-nav.prev {
    left: -4px;
  }
  .featured-nav.next {
    right: -4px;
  }
  .featured-nav[disabled] {
    opacity: 0;
    pointer-events: none;
  }
  .featured-card {
    flex: none;
    width: 220px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card);
  }
  .featured-card:hover {
    border-color: var(--accent);
  }
  .featured-card-photo-wrap {
    position: relative;
    width: 100%;
    height: 220px;
  }
  .featured-card-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--paper-alt);
  }
  .featured-card-photo-empty {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-alt);
    color: var(--ink-soft);
  }
  .featured-card-photo-empty svg {
    width: 28px;
    height: 28px;
    opacity: 0.5;
  }
  .featured-card-photo-wrap .add-btn.icon-only {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: var(--card);
    box-shadow: 0 1px 4px rgba(15, 13, 10, 0.3);
  }
  .featured-card-body {
    padding: 10px 12px 12px;
  }
  .featured-card-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 3px;
  }
  .featured-card-desc {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .featured-card-price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  /* Homepage Featured Items row: match the line-item ".item" card's size
   * (130px tall, square photo on the left) instead of the taller vertical
   * card used elsewhere (e.g. the cart drawer's Popular Items carousel). */
  .featured-row .featured-card {
    display: flex;
    align-items: stretch;
    width: 320px;
    height: 130px;
  }
  .featured-row .featured-card-photo-wrap {
    flex: none;
    width: 130px;
    height: 130px;
  }
  .featured-row .featured-card-photo,
  .featured-row .featured-card-photo-empty {
    width: 100%;
    height: 100%;
  }
  .featured-row .featured-card-body {
    flex: 1;
    min-width: 0;
    padding: 10px 12px 10px 10px;
    display: flex;
    flex-direction: column;
  }
  .featured-row .featured-card-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .featured-row .featured-card-price {
    margin-top: auto;
  }

  /* ---------- Main layout ---------- */
  .layout {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 28px 20px 0;
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .menu-scroll {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 60px;
    scroll-behavior: smooth;
  }
  .menu-content {
    min-width: 0;
  }
  .lunch-note {
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12.5px;
    margin-bottom: 6px;
  }
  .lunch-note.unavailable {
    background: var(--paper-alt);
    border-color: var(--line);
    color: var(--ink-soft);
    font-weight: 600;
  }
  .closed-state {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(440px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background: var(--paper);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 32px 24px;
    z-index: 60;
    text-align: center;
  }
  .closed-state h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .closed-state p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 6px;
  }
  .menu-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 4px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--ink);
  }
  .menu-group-heading {
    font-size: clamp(17px, 2.2vw, 20px);
  }
  .menu-group-name-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }
  .menu-group-dinein-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
  }
  .menu-group-hours {
    font-size: 15px;
    color: var(--ink-soft);
    white-space: nowrap;
    flex: none;
  }
  .menu-group-hours.closed {
    color: var(--accent);
    font-weight: 600;
  }
  .menu-group-sub {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0 0 24px;
  }
  .menu-group {
    margin-bottom: 20px;
  }
  .item-unavailable {
    opacity: 0.55;
  }
  .item-unavailable .add-btn {
    cursor: not-allowed;
  }
  .item-clickable {
    cursor: pointer;
  }
  .item-clickable:hover {
    background: var(--paper-alt);
  }

  section.category {
    margin-bottom: 44px;
    scroll-margin-top: 140px;
  }
  .cat-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
  }
  .cat-head h2 {
    font-size: clamp(18px, 1.8vw, 18px);
  }
  .cat-head .cat-note {
    font-size: 12px;
    color: var(--ink-soft);
    font-style: italic;
  }
  .cat-desc {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 8px 0 16px;
    max-width: 62ch;
  }

  .items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    height: 130px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  .item-photo {
    position: relative;
    flex: none;
    width: 130px;
    align-self: stretch;
    border-radius: 0;
    background: var(--paper-alt);
    border: none;
    border-left: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    overflow: visible;
  }
  .item-photo svg {
    width: 28px;
    height: 28px;
    opacity: 0.55;
  }
  .item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
  }
  .item-photo .add-btn.icon-only {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: var(--card);
    box-shadow: 0 1px 4px rgba(15, 13, 10, 0.3);
  }
  .item-main {
    min-width: 0;
    min-height: 0;
    flex: 1;
    padding: 10px 0 10px 10px;
    display: flex;
    flex-direction: column;
  }
  .item-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
  .item-name {
    font-size: 17px;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .tag {
    flex: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
  }
  .tag.spicy {
    background: var(--accent-soft);
    color: var(--accent);
  }
  .tag.veg {
    background: transparent;
    color: var(--nori);
    border: 1px solid var(--nori);
  }
  .tag.large {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
  }
  .item-desc {
    font-size: 15px;
    color: var(--ink-soft);
    margin-top: 3px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
  }
  .item-price {
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
  }
  .item-price.mp {
    color: var(--ink-soft);
    font-style: italic;
    font-weight: 500;
    font-size: 12.5px;
  }

  @media (max-width: 700px) {
    .items {
      grid-template-columns: 1fr;
    }
  }

  select.variant-select {
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    max-width: 150px;
  }

  .add-btn {
    position: relative;
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
  }
  .add-btn:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .add-btn:active {
    transform: scale(0.96);
  }
  .add-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .add-btn.loading[disabled] {
    opacity: 1;
  }
  .add-btn.icon-only {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
  .add-btn.icon-only:not(.loading)::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    width: 12px;
    height: 12px;
    margin: auto;
    background:
      linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
    /* The equal-length strokes read slightly high in Firefox at this size. */
    transform: translateY(1px);
  }
  .add-btn.loading {
    color: transparent;
    pointer-events: none;
  }
  .add-btn.loading::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: var(--ink);
    border-bottom-color: var(--ink);
    border-radius: 50%;
    animation: add-btn-spin 0.6s linear infinite;
  }
  @keyframes add-btn-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .add-confirm-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--nori);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 20px;
  }

  /* ---------- Cart drawer ---------- */
  .scrim {
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 10, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 49;
  }
  .scrim.open {
    opacity: 1;
    pointer-events: auto;
  }
  /* The tip and pickup-time popups can open on top of the checkout drawer
   * (z-index 50) — without a higher scrim, the drawer's own content would
   * stay clickable around the popup instead of being blocked like a true
   * modal. */
  #tipPopupScrim,
  #pickupPopupScrim {
    z-index: 55;
  }

  .drawer {
    position: fixed;
    left: 50%;
    bottom: 0;
    max-height: 90vh;
    width: min(420px, 100%);
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow);
    transform: translate(-50%, 100%);
    transition: transform 0.25s ease;
    z-index: 50;
    display: flex;
    flex-direction: column;
  }
  .drawer.open {
    transform: translate(-50%, 0);
  }
  @media (min-width: 900px) {
    .drawer.drawer--wide {
      width: min(680px, 92vw);
    }
  }
  #drawerContent {
    max-height: 90vh;
    overflow-y: auto;
  }
  .drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--paper);
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-head h2 {
    font-size: 20px;
  }
  .drawer-head-cart {
    display: block;
  }
  .drawer-head-pickup-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
  }
  .drawer-head-pickup-line svg {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--ink-soft);
  }
  .drawer-head-schedule-line {
    display: inline-block;
    background: rgba(0, 0, 0, 0.07);
    border: none;
    border-radius: 6px;
    padding: 5px 9px;
    margin-top: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
  }
  button.drawer-head-schedule-line {
    cursor: pointer;
    text-align: left;
  }
  button.drawer-head-schedule-line:hover {
    color: var(--accent-hover);
  }
  .drawer-close {
    display: block;
    background: none;
    border: none;
    font-size: 44px;
    cursor: pointer;
    color: var(--ink-soft);
    line-height: 1;
    padding: 4px;
    margin: -8px 0 0 -8px;
  }
  .drawer-close:hover {
    color: var(--accent);
  }
  .drawer-head-checkout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .drawer-head-checkout h2 {
    grid-column: 2;
    text-align: center;
  }
  .drawer-back {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 4px;
    margin: -4px 0 0 -4px;
  }
  .drawer-back:hover {
    color: var(--accent);
  }
  .drawer-back svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
  .drawer-head-checkout .drawer-close {
    grid-column: 3;
    justify-self: end;
  }
  .drawer-body {
    padding: 12px 20px;
  }
  .cart-toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .cart-toggle-col {
    flex: 1;
    min-width: 0;
  }
  .cart-toggle-col .pickup-toggle,
  .cart-toggle-col .pickup-time-box {
    margin-bottom: 0;
  }
  .checkout-section {
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
  }
  .checkout-section .cart-toggle-row {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .checkout-section .field:last-child {
    margin-bottom: 0;
  }
  .order-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
  }
  .order-summary-chevron {
    width: 16px;
    height: 16px;
    color: var(--ink-soft);
    transition: transform 0.2s ease;
  }
  .order-summary-toggle.open .order-summary-chevron {
    transform: rotate(180deg);
  }
  .order-summary-items {
    margin-bottom: 6px;
  }
  .cart-line-readonly {
    padding: 10px 0;
  }
  .cart-line-readonly:last-child {
    border-bottom: none;
  }
  .cart-line-qty {
    flex: none;
    align-self: center;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .drawer-foot {
    border-top: 1px solid var(--line);
    padding: 16px 20px 20px;
    background: var(--paper-alt);
  }
  .cart-popular-row {
    border-top: 1px solid var(--line);
    padding: 16px 20px 20px;
  }
  .cart-popular-heading {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .cart-popular-viewport {
    position: relative;
  }
  .cart-popular-row .featured-row-track {
    gap: 10px;
  }
  .cart-popular-row .featured-card {
    width: 130px;
  }
  .cart-popular-row .featured-card-photo-wrap,
  .cart-popular-row .featured-card-photo,
  .cart-popular-row .featured-card-photo-empty {
    height: 100px;
  }
  .cart-popular-row .featured-card-photo-wrap .add-btn.icon-only {
    width: 24px;
    height: 24px;
    font-size: 14px;
    right: 5px;
    bottom: 5px;
  }
  .cart-popular-row .featured-card-body {
    padding: 6px 8px 8px;
  }
  .cart-popular-row .featured-card-name {
    font-size: 13.5px;
    margin-bottom: 2px;
  }
  .cart-popular-row .featured-card-desc {
    font-size: 12px;
    margin-bottom: 2px;
    -webkit-line-clamp: 1;
  }
  .cart-popular-row .featured-card-price {
    font-size: 12.5px;
  }
  .cart-popular-row .featured-nav {
    width: 28px;
    height: 28px;
  }
  .cart-popular-row .featured-nav svg {
    width: 14px;
    height: 14px;
  }

  /* ---------- Floating bottom cart bar ---------- */
  .cart-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 40;
    display: none;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 28px);
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: var(--paper);
    box-shadow: var(--shadow);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  .cart-bar.show {
    display: flex;
  }
  .cart-bar.hidden {
    display: none;
  }
  .cart-bar:hover {
    background: var(--accent-hover);
  }
  .cart-bar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 13px;
  }
  .cart-bar-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
  }

  /* ---------- Item detail popup ---------- */
  .item-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(440px, 92vw);
    max-height: 88vh;
    transform: translate(-50%, -50%) scale(0.96);
    background: var(--paper);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow-y: auto;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }
  .item-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .item-popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 13, 10, 0.55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .item-popup-photo {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }
  .item-popup-photo-empty {
    width: 100%;
    aspect-ratio: 16/10;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-alt);
    color: var(--ink-soft);
  }
  .item-popup-photo-empty svg {
    width: 40px;
    height: 40px;
    opacity: 0.5;
  }
  .item-popup-body {
    padding: 18px 20px 20px;
  }
  .item-popup-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .item-popup-desc {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .item-popup-price {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .mod-group {
    margin-bottom: 18px;
  }
  .mod-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .mod-group-req {
    color: var(--accent);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
  }
  .mod-option {
    padding: 7px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .mod-option:last-child {
    border-bottom: none;
  }
  .mod-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .mod-option input[disabled] + span {
    color: var(--ink-soft);
  }
  .mod-option input[type="checkbox"],
  .mod-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
  }
  .mod-option .num {
    display: block;
    margin: 3px 0 0 26px;
    color: var(--ink-soft);
    font-size: 12.5px;
    white-space: nowrap;
  }

  .item-popup-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }
  .item-popup-qty {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
  }
  .popup-add-btn {
    flex: 1;
    width: auto;
    margin-top: 0;
    border-radius: 999px;
  }

  .empty-cart {
    text-align: center;
    color: var(--ink-soft);
    padding: 60px 10px;
    font-size: 13.5px;
  }

  .cart-line {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .cart-line-photo {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--paper-alt);
  }
  .cart-line-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
  }
  .cart-line-photo-empty svg {
    width: 22px;
    height: 22px;
    opacity: 0.55;
  }
  .cart-line-main {
    flex: 1;
    min-width: 0;
  }
  .cart-line-name {
    font-size: 16.5px;
    font-weight: 600;
  }
  .cart-line-variant {
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  .cart-line-controls {
    flex: none;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .qty-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .qty-val {
    font-size: 15px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
  }
  .remove-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 4px;
    padding: 0;
  }
  .remove-line svg {
    width: 15px;
    height: 15px;
  }
  .remove-line:hover {
    color: var(--accent);
  }
  .cart-line-price {
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 6px;
  }

  .totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
    color: var(--ink-soft);
  }
  button.totals-row {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    align-items: center;
  }
  button.totals-row:hover {
    color: var(--ink);
  }
  .totals-row .num {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .totals-row-lg {
    color: var(--ink);
    font-size: 16px;
  }
  .totals-row-chevron {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
  }
  .taxes-fees-toggle[aria-expanded="true"] .totals-row-chevron {
    transform: rotate(180deg);
  }
  .taxes-fees-details {
    padding-left: 8px;
    border-left: 2px solid var(--line);
    margin: 2px 0 2px 2px;
  }
  .tip-select {
    margin: 6px 0 2px;
  }
  .cc-info-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .cc-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    margin-left: 5px;
    border-radius: 50%;
    border: 1px solid var(--ink-soft);
    background: none;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  .cc-info:hover, .cc-info:focus {
    border-color: var(--accent);
    color: var(--accent);
  }
  .cc-tooltip {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: 20;
    width: 220px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: normal;
  }
  .cc-info-wrap.open .cc-tooltip,
  .cc-info-wrap:hover .cc-tooltip,
  .cc-info-wrap:focus-within .cc-tooltip {
    display: block;
  }
  .totals-row.grand {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
    margin-top: 6px;
  }

  .primary-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 13px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
  }
  .primary-btn:hover {
    background: var(--accent-hover);
  }
  .primary-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .ghost-btn {
    width: 100%;
    background: none;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 8px;
  }
  .ghost-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
  }

  /* ---------- Checkout / confirmation ---------- */
  .field {
    margin-bottom: 14px;
  }
  .field-row {
    display: flex;
    gap: 10px;
  }
  .field-row .field {
    flex: 1;
    min-width: 0;
  }
  .phone-input-row {
    display: flex;
  }
  .phone-prefix {
    display: flex;
    align-items: center;
    padding: 10px 8px 10px 12px;
    border: 1px solid var(--line);
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: var(--card);
    color: var(--ink-soft);
    font-size: 13.5px;
  }
  .phone-input-row input {
    flex: 1;
    min-width: 0;
    border-radius: 0 3px 3px 0;
  }
  .field-inline {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .field-inline label {
    flex: none;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .field-inline input,
  .field-inline textarea {
    flex: 1;
    min-width: 0;
  }
  .field-inline textarea {
    resize: none;
    min-height: 0;
    height: 38px;
    overflow-y: auto;
  }
  .amount-input-row {
    display: flex;
  }
  .amount-prefix {
    display: flex;
    align-items: center;
    padding: 10px 8px 10px 12px;
    border: 1px solid var(--line);
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: var(--card);
    color: var(--ink-soft);
    font-size: 13.5px;
  }
  .amount-input-row input {
    flex: 1;
    min-width: 0;
    border-radius: 0 3px 3px 0;
  }
  .tip-chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 5px;
  }
  .slot-chip.tip-chip {
    flex: 1;
    min-width: 0;
    padding: 7px 4px;
    font-size: 12px;
    border-radius: 9px;
    text-align: center;
  }
  .field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-bottom: 5px;
  }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-size: 13.5px;
    font-family: inherit;
  }
  .field textarea {
    resize: vertical;
    min-height: 56px;
  }
  .field-error {
    font-size: 11.5px;
    color: var(--accent);
    margin-top: 4px;
  }
  .field.field-invalid input,
  .field.field-invalid select,
  .field.field-invalid textarea {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
  }
  .field.field-invalid > label {
    color: var(--accent);
  }
  label.sms-consent-row.field-invalid {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .scheduled-note {
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .pickup-schedule-row {
    margin-top: 6px;
  }
  .slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  .slot-chip {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--card);
    font-size: 13px;
    cursor: pointer;
    color: var(--ink);
  }
  .slot-chip.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .slot-chip-asap {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
  }

  /* Pickup/Delivery toggle — black/white, and smaller than the pickup-time
   * box next to it, since Delivery is just a disabled placeholder for now
   * (it never actually slides). */
  .pickup-toggle {
    position: relative;
    display: inline-flex;
    width: 100%;
    border: 2px solid var(--ink);
    border-radius: 16px;
    padding: 2px;
    margin-bottom: 8px;
  }
  .pickup-toggle-thumb {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 2px);
    background: var(--ink);
    border-radius: 14px;
    z-index: 0;
  }
  .pickup-toggle-option {
    position: relative;
    z-index: 1;
    flex: 1;
    background: none;
    border: none;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    border-radius: 14px;
    color: var(--ink);
    cursor: pointer;
  }
  .pickup-toggle.mode-asap .pickup-toggle-option:first-of-type {
    color: var(--paper);
  }
  .pickup-toggle-option[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .pickup-time-box-wrap {
    position: relative;
  }
  #checkoutIdentity .field {
    position: relative;
  }
  .field-balloon {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: #92400e;
    color: #fff8ec;
    font-size: 11px;
    font-weight: 600;
    width: max-content;
    max-width: min(240px, 90vw);
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: pickup-time-balloon-bob 1.6s ease-in-out infinite;
  }
  .field-balloon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #92400e;
  }
  .pickup-time-balloon {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: #92400e;
    color: #fff8ec;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: pickup-time-balloon-bob 1.6s ease-in-out infinite;
  }
  .pickup-time-balloon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #92400e;
  }
  @keyframes pickup-time-balloon-bob {
    0%,
    100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(-3px);
    }
  }
  .pickup-time-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    background: none;
    border: 2px solid var(--ink);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 8px;
  }
  .pickup-time-box.needs-schedule {
    border-color: #92400e;
  }
  .pickup-time-box:hover:not([disabled]) {
    background: var(--paper-alt);
  }
  .pickup-time-box[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .pickup-time-box-label {
    color: var(--ink-soft);
    font-weight: 600;
  }
  .pickup-time-box-value {
    color: var(--ink);
    font-weight: 700;
  }
  .pickup-choice-sub {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 10px;
  }

  .disclaimer {
    font-size: 11px;
    color: var(--ink-soft);
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 10px 12px;
    margin-top: 14px;
  }
  .disclaimer-alert {
    display: block;
    width: 100%;
    text-align: left;
    font-family: inherit;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #f5c76a;
    cursor: pointer;
  }
  .disclaimer-alert:hover {
    background: #fde8b0;
  }
  .field label.sms-consent-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--ink-soft);
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 10px 12px;
    margin-top: 8px;
    margin-bottom: 0;
    cursor: pointer;
  }
  .sms-consent-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: auto;
  }

  .reorder-notice {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--nori);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
  }

  .confirm {
    text-align: left;
  }
  .confirm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nori);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
  }
  .confirm h2 {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .confirm .order-no {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .confirm-block {
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 12px;
  }
  .confirm-block h3 {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .confirm-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
  }
  .confirm-item .qty {
    color: var(--ink-soft);
    margin-right: 6px;
  }

  /* ---------- Account / Loyalty ---------- */
  .signed-in-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
  }
  .link-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 11.5px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
  }
  .rewards-card {
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
  }
  .rewards-points {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 38px;
    color: var(--accent);
    line-height: 1;
  }
  .rewards-points-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-top: 4px;
  }
  .log-date {
    font-size: 11px;
    color: var(--ink-soft);
    margin: -2px 0 6px;
  }

  footer {
    padding: 20px 4px 20px;
    color: var(--ink-soft);
    font-size: 12px;
    text-align: center;
  }
  footer .stamp-line {
    margin-top: 6px;
  }

  @media (max-width: 640px) {
    .masthead-inner {
      padding: 12px 14px 12px;
    }
    .brand h1 {
      font-size: 18px;
    }
    .drawer {
      width: 100%;
      max-width: 100%;
      border-radius: 16px 16px 0 0;
    }
    .layout {
      padding: 20px 14px 0;
    }
    /* Mobile browsers render the drawer-close "x" glyph flush with the top
       of its line-box, eating into the padding above it and leaving no
       visible gap to the drawer's top border — pull it down a bit less. */
    .drawer-close {
      margin-top: -2px;
    }
    /* The drawer's scrollable body (#drawerContent, overflow-y: auto) clips
       anything that overflows above its own top edge. The convenience-fee
       info tooltip normally opens upward (bottom: 20px) which, on short
       mobile viewports, gets cut off at that scroll boundary — flip it to
       open downward instead. */
    .cc-tooltip {
      bottom: auto;
      top: 22px;
    }
  }
