/* ---------- ROOT / RESET ---------- */
:root {
  --clr-bg: #7a1c1e;
  --clr-bg-card: #e2d3d3;
  --clr-bg-dark: #090c0f;
  --clr-text: #0b0b0c;
  --clr-accent: #d81616;
  --clr-header: #9e1315;
  --clr-fire: #ffcc00;
  --ff-body: "Montserrat", Arial, Helvetica, sans-serif;
  --max-width: 900px;
  --menu-width: min(280px, 80vw);
  --category-pill-active-bg: linear-gradient(135deg, var(--clr-accent) 0%, #ff4b4b 100%);
  --radius: 8px;
  --transition: 0.3s ease;
  --site-header-height: 0px;
  --category-nav-strip-height: 3.75rem;
  --category-nav-scroll-margin: calc(var(--site-header-height, 0px) + var(--category-nav-strip-height) + 0.75rem);
  /* Form controls – explicit contrast (dark bg, light text preferred) */
  --ctrl-bg: #1a1a1a;
  --ctrl-text: #f2f4f8;
  --option-bg: #fff;
  --option-text: #111827;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: auto !important;
  overflow-x: hidden;
  overflow-y: visible !important;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Design 1 desktop: smooth doc scroll + padding aligned with sticky rails (--category-nav on body lives below html). */
@media (min-width: 1024px) {
  html:has(body[data-design="design_1"]) {
    scroll-padding-top: calc(var(--site-header-height, 0px) + 100px);
  }
  @media (prefers-reduced-motion: no-preference) {
    html:has(body[data-design="design_1"]) {
      scroll-behavior: smooth;
    }
  }
}

body {
  height: auto !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible !important;
  width: 100%;
  position: relative;
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.55;
}

header#top,
main#menu,
footer#contact {
  max-width: 100%;
  box-sizing: border-box;
}

/* Scroll-jump: menu column grows with content; overflow stays visible for document scroll + viewport-fixed rails */
main#menu,
main#menu #menu-container {
  height: auto !important;
  max-height: none !important;
}
/* design_1 desktop: #order is a viewport-fixed cart rail (overflow-y auto inside panel). */
main#menu .menu-section-container:not(#order) {
  height: auto !important;
  max-height: none !important;
}

#heroSection {
  max-width: 100%;
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  z-index: 10001;
  padding: 0.5rem 0.95rem;
  overflow: visible;
  white-space: normal;
  background: #ffac1c;
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  outline: 2px solid #111;
  outline-offset: 2px;
}

.search-hint {
  font-size: 0.78em;
  margin: 0.35rem 1rem 0.55rem;
  line-height: 1.45;
}
.search-hint__images {
  font-style: italic;
}

/* Merchant closed: tenants/{shopId}/settings/status → storefrontStatus offline (getPublicStorefrontData) */
body.storefront-offline #menu,
body.storefront-offline #menuDynamicSections,
body.storefront-offline #order,
body.storefront-offline .menu-section-container,
body.storefront-offline #floatingCartBar {
  pointer-events: none;
  filter: grayscale(1);
}

/* ---------- UTILITIES ---------- */
.hidden {
  display: none !important;
}
.hidden-dish {
  display: none !important;
}
.store-closed-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.store-closed-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 2px solid #ffcc00;
  box-shadow: 0 20px 38px rgba(0,0,0,0.35);
}
.order-vetoed-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.order-vetoed-overlay.hidden { display: none !important; }
.order-vetoed-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 2px solid #c0392b;
  box-shadow: 0 20px 38px rgba(0,0,0,0.4);
}
.order-vetoed-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #922b21;
}
.order-vetoed-card p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
.order-vetoed-card .btn-dismiss {
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #111827;
  -webkit-text-fill-color: currentColor;
  cursor: pointer;
  font: inherit;
}
.order-vetoed-card .btn-dismiss:hover,
.order-vetoed-card .btn-dismiss:focus-visible {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
  outline: none;
}

/* White-surface customer confirmation modals — always dark readable text on buttons */
.modalContent.success-modal {
  color: #111827;
}
.modalContent.success-modal #successTitle,
.modalContent.success-modal #successMsg {
  color: #111827;
}
body.dark .modalContent.success-modal,
body.dark[data-design="design_1"] .modalContent.success-modal {
  background: #fff;
  color: #111827;
}
body.dark .modalContent.success-modal #successTitle,
body.dark .modalContent.success-modal #successMsg,
body.dark[data-design="design_1"] .modalContent.success-modal #successTitle,
body.dark[data-design="design_1"] .modalContent.success-modal #successMsg {
  color: #111827;
}
.modalContent.success-modal .detail-actions .btn-secondary {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
  background: transparent;
}
.modalContent.success-modal .detail-actions .btn-secondary:hover,
.modalContent.success-modal .detail-actions .btn-secondary:focus-visible {
  color: #fff;
  background: var(--clr-accent);
}

/* Storefront order tracking modal */
.storefront-order-tracking {
  --tracking-primary: var(--clr-fire, #ffcc00);
  --tracking-surface: #14161c;
  --tracking-surface-elevated: #1a1d26;
  --tracking-ink: #f4f6fa;
  --tracking-muted: rgba(244, 246, 250, 0.62);
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
}
body[data-design="design_1"] .storefront-order-tracking {
  --tracking-primary: var(--d1-amber, #ffac1c);
}
.storefront-order-tracking.storefront-order-tracking--alert {
  z-index: 1400;
}
.storefront-order-tracking:not(.hidden) {
  pointer-events: auto;
}
.storefront-order-tracking.hidden {
  display: none !important;
}
.storefront-order-tracking__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(8, 10, 14, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.storefront-order-tracking__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: min(400px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 18px 18px;
  background: var(--tracking-surface);
  color: var(--tracking-ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  font-family: "Montserrat", var(--ff-body, system-ui, sans-serif);
}
.storefront-order-tracking--declined .storefront-order-tracking__card {
  border-color: rgba(231, 76, 60, 0.45);
}
.storefront-order-tracking__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--tracking-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.storefront-order-tracking__close:hover,
.storefront-order-tracking__close:focus-visible {
  color: var(--tracking-ink);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}
.storefront-order-tracking__close:active {
  transform: scale(0.96);
}
.storefront-order-tracking__header {
  padding: 0 48px 0 0;
  margin: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  position: relative;
}
.storefront-order-tracking__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--tracking-ink);
}
.storefront-order-tracking__code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.storefront-order-tracking__code-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tracking-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.storefront-order-tracking__code-badge:hover,
.storefront-order-tracking__code-badge:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--tracking-ink);
  outline: none;
}
.storefront-order-tracking__code-badge--copied {
  border-color: rgba(255, 204, 0, 0.5);
  color: var(--tracking-primary);
  background: rgba(255, 204, 0, 0.12);
}
.storefront-order-tracking__link {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--tracking-primary);
  text-decoration: none;
}
.storefront-order-tracking__link:hover,
.storefront-order-tracking__link:focus-visible {
  text-decoration: underline;
  outline: none;
}
.storefront-order-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.42);
  background: rgba(220, 38, 38, 0.1);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
  color: #fca5a5;
}
.storefront-order-status-banner__icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.95rem;
  color: rgba(248, 113, 113, 0.95);
}
.storefront-order-status-banner__text {
  flex: 1;
  min-width: 0;
}
.storefront-order-status-banner[hidden] {
  display: none !important;
}
.sf-tracking-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.storefront-order-tracking--declined .storefront-order-stepper,
.storefront-order-tracking__eta-block.hidden {
  display: none !important;
}
.storefront-order-tracking__k {
  color: var(--tracking-muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.storefront-order-tracking__delivery-addr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: rgba(244, 246, 250, 0.88);
}
.storefront-order-tracking__delivery-addr.hidden {
  display: none !important;
}
.storefront-order-tracking__delivery-addr i {
  margin-top: 2px;
  color: var(--tracking-primary);
  opacity: 0.9;
}
.storefront-order-stepper {
  --step-fill: 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0 4px;
}
.storefront-order-stepper.hidden {
  display: none !important;
}
.storefront-order-stepper::before {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(16.666% + 6px);
  right: calc(16.666% + 6px);
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    to right,
    var(--tracking-primary) 0%,
    var(--tracking-primary) calc(var(--step-fill, 0) * 100%),
    rgba(255, 255, 255, 0.14) calc(var(--step-fill, 0) * 100%),
    rgba(255, 255, 255, 0.14) 100%
  );
  z-index: 0;
}
.storefront-order-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.storefront-order-step__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: var(--tracking-surface);
  box-sizing: border-box;
}
.storefront-order-step__label {
  font-size: 0.7rem;
  color: var(--tracking-muted);
  font-weight: 600;
  line-height: 1.25;
}
.storefront-order-step.done .storefront-order-step__dot {
  background: var(--tracking-primary);
  border-color: var(--tracking-primary);
}
.storefront-order-step.done .storefront-order-step__label {
  color: rgba(244, 246, 250, 0.88);
}
.storefront-order-step.active .storefront-order-step__dot {
  background: var(--tracking-primary);
  border-color: var(--tracking-primary);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
}
body[data-design="design_1"] .storefront-order-step.active .storefront-order-step__dot {
  box-shadow: 0 0 0 3px rgba(255, 172, 28, 0.22);
}
.storefront-order-step.active .storefront-order-step__label {
  color: var(--tracking-ink);
  font-weight: 700;
}
.storefront-order-tracking__eta-block {
  margin: 0;
}
.storefront-order-tracking__eta-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--tracking-ink);
  letter-spacing: -0.02em;
}
.storefront-order-tracking__eta-value i {
  font-size: 1rem;
  color: var(--tracking-primary);
  opacity: 0.95;
}
.storefront-order-tracking__meta-block {
  margin: 0;
}
.storefront-order-tracking__meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(244, 246, 250, 0.9);
}
.storefront-order-receipt {
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: var(--tracking-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}
.storefront-order-receipt.hidden {
  display: none !important;
}
.storefront-order-receipt__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--tracking-muted);
}
.storefront-order-receipt__row strong {
  color: var(--tracking-ink);
  font-weight: 700;
}
.storefront-order-receipt__row--total {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  color: var(--tracking-ink);
}
.storefront-order-receipt__row--total span,
.storefront-order-receipt__row--total strong {
  font-weight: 800;
}
.storefront-order-tracking__dismiss-remember{
  display:flex;
  align-items:center;
  gap:10px;
  margin:14px 0 0;
  font-size:0.82rem;
  font-weight:600;
  line-height:1.35;
  color:var(--tracking-muted, rgba(242,244,248,.72));
  cursor:pointer;
  user-select:none;
}
.storefront-order-tracking__dismiss-remember.hidden{
  display:none!important;
}
.storefront-order-tracking__dismiss-remember input[type="checkbox"]{
  margin:0;
  flex-shrink:0;
  width:16px;
  height:16px;
  min-width:16px;
  min-height:16px;
  border:none;
  border-radius:50%;
  appearance:none;
  -webkit-appearance:none;
  background:#fff;
  accent-color:var(--tracking-primary, #ffcc00);
  cursor:pointer;
}
.storefront-order-tracking__dismiss-remember input[type="checkbox"]:checked{
  background-color:var(--tracking-primary, #ffcc00);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 11.1 3.4 8.3l1.1-1.1 1.7 1.7 4.4-4.4 1.1 1.1z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:11px 11px;
}
.storefront-order-tracking__btn-close {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  background: var(--tracking-primary);
  color: #111827;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.storefront-order-tracking__btn-close:hover,
.storefront-order-tracking__btn-close:focus-visible {
  filter: brightness(1.05);
  outline: none;
}
.storefront-order-tracking--declined .storefront-order-tracking__btn-close {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tracking-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.storefront-tracking-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}
.storefront-tracking-tabs.hidden {
  display: none !important;
}
.storefront-tracking-tabs__btn {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(242, 244, 248, 0.72);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.storefront-tracking-tabs__btn.active {
  color: #f2f4f8;
  border-color: rgba(255, 204, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 204, 0, 0.18), rgba(255, 204, 0, 0.06));
}
.sf-tracking-pane.hidden {
  display: none !important;
}
.storefront-tracking-map {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.25);
}
.storefront-tracking-map-legend {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.storefront-tracking-map-legend__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.35;
}
.storefront-tracking-map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.storefront-tracking-map-legend__dot--shop {
  background: #4caf50;
}
.storefront-tracking-map-legend__dot--home {
  background: #ff7043;
}
.storefront-tracking-map-legend__addr {
  display: block;
  color: rgba(242, 244, 248, 0.72);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 2px;
}
.storefront-tracking-map-hint {
  margin: 0;
  font-size: 0.76rem;
}

.store-under-construction .construction-icon {
  font-size: 3rem;
  color: var(--clr-fire, #ffcc00);
  margin-bottom: 0.75rem;
}
.store-under-construction h2 { margin: 0 0 0.5rem; }
.store-under-construction .construction-hint {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1rem;
}
.admin-bypass-banner{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  background: #b91111;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  padding: 7px 10px;
  letter-spacing: 0.2px;
}

/* Admin preview URL (?preview_mode=…): glass strip so the page stays visible underneath */
.admin-preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  letter-spacing: 0.02em;
  background: rgba(255, 204, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  text-shadow:
    0 0 12px rgba(255, 250, 220, 0.95),
    0 1px 1px rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  backdrop-filter: blur(6px) saturate(1.05);
}
body.dark .admin-preview-banner {
  color: #fef9c3;
  background: rgba(234, 179, 8, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.9);
}
body.store-closed #checkoutBtn,
body.store-closed #placeOrder,
body.store-closed #cartToggle,
body.store-closed #miniCart,
body.store-closed .addBtn {
  opacity: 0.55;
  cursor: not-allowed !important;
}

body.modal-open {
  overflow: hidden;
}

/* Scroll lock via JS classes (avoid stale inline body.style.overflow breaking layout) */
body.checkout-drawer-open,
body.order-veto-overlay-open {
  overflow: hidden;
}

/* Form controls – explicit background & color for contrast */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: var(--ctrl-bg);
  color: var(--ctrl-text);
}
select option {
  background-color: var(--option-bg);
  color: var(--option-text);
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ---------- HEADER ---------- */
header#top {
  position: sticky;
  top: 0;
  z-index: 90;
}
header {
  background: var(--clr-bg-dark);
  color: #fff;
  padding: 2rem 1rem 3rem;
  text-align: center;
  position: relative;
}
/* —— Design 1: glass compact shop header; classic hero/brand hidden via body[data-design] —— */
body[data-design="design_1"] header#top {
  padding: 0;
  background: transparent;
  text-align: left;
  overflow: visible;
}
body[data-design="design_1"] .store-header-classic,
body[data-design="design_1"] .store-hero-legacy {
  display: none !important;
}
body[data-design="design_1"] .quick-actions {
  position: static;
  top: auto;
  right: auto;
  z-index: 3;
  flex-shrink: 0;
  margin-left: auto;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: nowrap;
}
.compact-shop-header__drawer-trigger.hamburger {
  display: none;
}
body[data-design="design_1"] .compact-shop-header__drawer-trigger.hamburger {
  display: block;
}
body[data-design="design_1"] .category-nav .category-nav__hamburger {
  display: none !important;
}
body:not([data-design="design_1"]) #compact-shop-header {
  display: none !important;
}
.compact-shop-header {
  position: relative;
  display: block;
  width: 100%;
  max-height: 5rem;
  min-height: 3.5rem;
  box-sizing: border-box;
  overflow: hidden;
  color: #f8f8f8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body[data-design="design_1"] .compact-shop-header {
  overflow: visible;
}
.compact-shop-header__bg {
  position: absolute;
  inset: -8px;
  z-index: 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px) saturate(1.1);
  transform: scale(1.06);
  pointer-events: none;
}
.compact-shop-header__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.compact-shop-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: 3.5rem;
  max-width: min(1680px, 100%);
  margin: 0 auto;
  padding: 0.45rem 4.5rem 0.45rem 1rem;
  box-sizing: border-box;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.15) 100%);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 12px 12px;
  max-height: 5rem;
  overflow: hidden;
}
.compact-shop-header__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 0 1 auto;
}
.compact-shop-header__title-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
  flex: 0 1 auto;
  max-width: min(88vw, 48rem);
}
.compact-shop-header__tagline {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compact-shop-header__logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.compact-shop-header__logo[hidden] {
  display: none !important;
}
.compact-shop-header__name {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  max-width: min(36vw, 11.5rem);
}
.compact-shop-header__info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.55rem;
  flex: 1 1 140px;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}
.compact-shop-header__chip:empty,
.compact-shop-header__chip[hidden] {
  display: none !important;
}
.compact-shop-header__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.compact-shop-header__search {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 24rem;
  position: relative;
  z-index: 5;
  overflow: visible;
}
body[data-design="design_1"] .compact-shop-header__search .search-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
body[data-design="design_1"] .compact-shop-header__search .search-icon {
  color: rgba(255, 255, 255, 0.5);
}
body[data-design="design_1"] .compact-shop-header__search #menuSearchInput {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  padding: 0.5rem 2.4rem 0.5rem 2.4rem;
}
body[data-design="design_1"] .compact-shop-header__search #menuSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
body[data-design="design_1"] .compact-shop-header__search #clearSearch {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
/* design_1: search stays in #menu (full-width grid row on desktop); see syncSearchMountForDesign in script.js */
@media (min-width: 1024px) {
  .compact-shop-header {
    max-height: 7.5rem;
  }
  .compact-shop-header__inner {
    max-height: 7.5rem;
    padding: 0.5rem 5rem 0.5rem 1.25rem;
    min-height: 3.25rem;
  }
  .compact-shop-header__name {
    max-width: 20rem;
  }
}
@media (max-width: 600px) {
  .compact-shop-header,
  .compact-shop-header__inner {
    max-height: 5rem;
  }
  .compact-shop-header__inner {
    flex-wrap: nowrap;
    padding-left: 0.6rem;
    padding-right: 3.9rem;
    column-gap: 0.35rem;
  }
  .compact-shop-header__info {
    flex: 0 1 32%;
    min-width: 0;
    max-width: 9rem;
    font-size: 0.6rem;
    line-height: 1.1;
    gap: 0.2rem 0.35rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .compact-shop-header__name {
    max-width: 28vw;
    font-size: 0.8rem;
  }
  .compact-shop-header__search {
    flex: 1 1 100px;
    min-width: 0;
  }
  .compact-shop-header__logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  body[data-design="design_1"] .compact-shop-header__inner {
    padding-right: 0.65rem;
    flex-wrap: wrap;
    row-gap: 0.3rem;
  }
}
body.dark[data-design="design_1"] .compact-shop-header__search #menuSearchInput,
html.dark-theme[data-design="design_1"] .compact-shop-header__search #menuSearchInput,
html.dark[data-design="design_1"] .compact-shop-header__search #menuSearchInput {
  color: #f8f8f8;
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__search #menuSearchInput,
body[data-design="design_1"]:not(.dark) .compact-shop-header__search #clearSearch {
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__search #menuSearchInput::placeholder {
  color: rgba(17, 24, 39, 0.42);
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__search .search-icon {
  color: rgba(17, 24, 39, 0.35);
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__tagline {
  color: rgba(17, 24, 39, 0.48);
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__name {
  color: #111827;
  text-shadow: none;
}
body[data-design="design_1"]:not(.dark) .compact-shop-header__chip {
  color: rgba(17, 20, 28, 0.88);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(15, 23, 42, 0.1);
}
body[data-design="design_1"]:not(.dark) .quick-actions button,
body[data-design="design_1"]:not(.dark) .quick-actions a {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
  color: rgba(17, 20, 28, 0.92);
}
body[data-design="design_1"]:not(.dark) footer {
  background: linear-gradient(180deg, #e8ecf4 0%, #dde3ee 100%);
  color: rgba(17, 20, 28, 0.9);
}
body[data-design="design_1"]:not(.dark) footer h3 {
  color: var(--d1-amber-deep);
}
body[data-design="design_1"]:not(.dark) footer a {
  color: var(--clr-accent, #0891b2);
}
body[data-design="design_1"]:not(.dark) .copyright {
  color: rgba(17, 20, 28, 0.62);
}
body[data-design="design_1"] .menu-section-container .muted,
body[data-design="design_1"] p.muted {
  color: var(--d1-ink-faint);
}
#darkToggle.is-dark-active {
  box-shadow: 0 0 0 2px rgba(255, 172, 28, 0.45);
}
.store-header-classic__title {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.logo-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.store-header-classic__title-row {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  justify-content: center;
  max-width: min(96vw, 44rem);
}
.store-header-classic__tagline-inline {
  margin: 0;
  font-size: clamp(0.72rem, 1.65vw, 0.95rem);
  font-weight: 600;
  opacity: 0.82;
  max-width: min(46vw, 22rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.logo-box h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.tagline {
  margin: 0.25rem 0 1rem;
  font-weight: 600;
  opacity: 0.85;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.fire {
  color: var(--clr-fire);
  font-size: 1.4em;
  text-shadow: 0 0 4px #ff0, 0 0 10px #f90;
}
.quick-actions {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.quick-actions button,
.quick-actions a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quick-actions button:hover,
.quick-actions a:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
body.dark .quick-actions button,
body.dark .quick-actions a,
body.dark-theme .quick-actions button,
body.dark-theme .quick-actions a {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}
body.dark .quick-actions button:hover,
body.dark .quick-actions a:hover,
body.dark-theme .quick-actions button:hover,
body.dark-theme .quick-actions a:hover,
html.dark .quick-actions button:hover,
html.dark .quick-actions a:hover,
html.dark-theme .quick-actions button:hover,
html.dark-theme .quick-actions a:hover {
  color: #0a0e14;
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
/* html + body both carry dark flags — keep quick-action icon/text legible on any accent */
html.dark .quick-actions button,
html.dark .quick-actions a,
html.dark-theme .quick-actions button,
html.dark-theme .quick-actions a,
html.dark #langToggle,
html.dark-theme #langToggle {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}
.quick-actions #langToggle {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff;
}
#langToggle.is-active,
#darkToggle.is-active,
#cartToggle.is-active {
  transform: scale(0.92);
  opacity: 0.9;
}
.quick-actions button.is-active,
.quick-actions button:active,
.quick-actions a:active {
  transform: scale(0.94);
  opacity: 0.95;
}
.track-rect-btn:active,
button.btn-primary:active,
button.btn-secondary:active,
#langToggle:active,
#cartToggle:active,
#darkToggle:active,
.search-clear:active {
  transform: scale(0.96);
  opacity: 0.92;
}
.quick-actions .track-rect-btn {
  width: auto;
  border-radius: 10px;
  padding: 0 12px;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
#cartCount {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--clr-fire);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

/* ---------- NAV ---------- */
#nav-check {
  display: none;
}
/* Full-viewport scrim: click to close drawer (label[for=nav-check]) */
.nav-drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition: background 0.22s ease, visibility 0.22s ease;
  cursor: pointer;
}
#nav-check:checked ~ .nav-drawer-scrim {
  background: rgba(0, 0, 0, 0.5);
  visibility: visible;
  pointer-events: auto;
}
/* Drawer open: keep category strip under side panel + scrim so the close control stays clickable */
#nav-check:checked ~ .category-nav.category-nav-strip {
  z-index: 130;
}
.hamburger {
  display: block;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  transition: transform var(--transition);
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 2px;
  margin-bottom: 5px;
  transition: var(--transition);
}
body.dark .category-nav .category-nav__hamburger span,
body.dark .compact-shop-header__drawer-trigger span {
  background: rgba(255, 255, 255, 0.92);
}
/* Strip burger morph (non–design_1); design_1 uses header `.compact-shop-header__drawer-trigger` */
#nav-check:checked ~ .category-nav .category-nav__hamburger {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + var(--site-header-height, 0px) + 0.55rem);
  left: calc(var(--menu-width) - 30px - 1rem);
  z-index: 165;
  transform: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(18, 20, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
#nav-check:checked ~ .category-nav .category-nav__hamburger span {
  background: var(--clr-fire, #ffcc00);
}
#nav-check:checked ~ .category-nav .category-nav__hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
#nav-check:checked ~ .category-nav .category-nav__hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-check:checked ~ .category-nav .category-nav__hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* design_1: morph icon lives in header (same checkbox id); `:has` bridges header ↔ main#menu */
body[data-design="design_1"]:has(#nav-check:checked) .compact-shop-header__drawer-trigger.hamburger {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + var(--site-header-height, 0px) + 0.55rem);
  left: calc(var(--menu-width) - 30px - 1rem);
  z-index: 165;
  transform: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(18, 20, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
body[data-design="design_1"]:has(#nav-check:checked) .compact-shop-header__drawer-trigger.hamburger span {
  background: var(--clr-fire, #ffcc00);
}
body[data-design="design_1"]:has(#nav-check:checked) .compact-shop-header__drawer-trigger.hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
body[data-design="design_1"]:has(#nav-check:checked) .compact-shop-header__drawer-trigger.hamburger span:nth-child(2) {
  opacity: 0;
}
body[data-design="design_1"]:has(#nav-check:checked) .compact-shop-header__drawer-trigger.hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.nav-links {
  position: fixed;
  top: var(--site-header-height, 0px);
  left: 0;
  bottom: 0;
  width: var(--menu-width);
  max-width: min(var(--menu-width), 92vw);
  height: auto;
  max-height: calc(100dvh - var(--site-header-height, 0px));
  background: var(--clr-bg-dark);
  padding: 1rem 0 1.5rem;
  margin: 0;
  list-style: none;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition);
  z-index: 150;
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
#nav-check:checked ~ .nav-links {
  transform: translateX(0);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
}
.nav-links li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-links a {
  display: block;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: background var(--transition);
}
.nav-links a:hover,
.nav-links a:focus {
  background: var(--clr-accent);
  color: #fff;
}
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: var(--transition);
}
.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  border: 2px solid var(--clr-accent);
}
.btn-secondary {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}
.btn-primary:hover,
.btn-secondary:hover {
  filter: brightness(1.15);
}

/* ---------- HERO ---------- */
#heroSection {
  background-image:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)),
    url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  padding: 5rem 1rem;
  text-align: center;
}
#heroSection::before {
  content: none;
}
.hero-text {
  position: relative;
  max-width: 600px;
  margin: auto;
}
.hero-text h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,1), 0 0 15px var(--clr-accent);
}
.hero-text p {
  color: #fff;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,1), 0 0 15px var(--clr-accent);
}
.hero-btns {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn-primary {
  white-space: nowrap;
  padding: 0.8rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 15px rgba(47, 11, 11, 0.55);
}
.hero-btns .hero-btns__secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
  padding: 0.8rem 1.25rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.hero-btns .hero-btns__secondary:hover,
.hero-btns .hero-btns__secondary:focus-visible {
  filter: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.footer-info-block--empty {
  min-height: 0;
}
.footer-legal {
  margin: 10px 0 0;
  font-size: 0.88rem;
}
.footer-legal a {
  color: var(--clr-fire, #ffcc00);
  font-weight: 700;
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
}
.footer-legal-sep {
  opacity: 0.55;
}
#footer-social a.hidden {
  display: none;
}
#footer-social.footer-social--empty a {
  display: none !important;
}
.footer-track-wrap {
  margin-top: 12px;
}

/* ---------- MAIN ---------- */
body[data-design="design_1"] main {
  max-width: min(1680px, 100%);
  padding: 0;
  overflow: visible !important;
}
main {
  padding: 2rem 1rem;
  max-width: var(--max-width);
  margin: auto;
}

/* ---------- MENU SECTION CONTAINERS ---------- */
.menu-section-container {
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  scroll-margin-top: var(--category-nav-scroll-margin);
}
body.dark .menu-section-container {
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.10);
}

/* ---------- STICKY CATEGORY NAV (Wolt-style) ---------- */
.category-nav {
  position: sticky;
  top: var(--site-header-height, 0px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 -1rem 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}
.category-nav__track-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.category-nav__empty-hint {
  display: block;
  padding: 0.65rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
body.dark .category-nav__empty-hint {
  color: rgba(255, 255, 255, 0.55);
}
.category-nav__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.15rem 0;
}
.category-nav__track::-webkit-scrollbar {
  display: none;
}

/* Sticky category strip: discrete amber scrollbar + edge fades (scroll lives on .category-nav__track) */
#stickyCategoryNav .category-nav__track-wrap::before,
#stickyCategoryNav .category-nav__track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
}
#stickyCategoryNav .category-nav__track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0) 100%);
}
#stickyCategoryNav .category-nav__track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0) 100%);
}
body.dark #stickyCategoryNav .category-nav__track-wrap::before {
  background: linear-gradient(90deg, rgba(22, 24, 30, 0.96) 0%, rgba(22, 24, 30, 0) 100%);
}
body.dark #stickyCategoryNav .category-nav__track-wrap::after {
  background: linear-gradient(270deg, rgba(22, 24, 30, 0.96) 0%, rgba(22, 24, 30, 0) 100%);
}

body[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, transparent 100%);
}
body[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, transparent 100%);
}
body.dark[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::before {
  background: linear-gradient(90deg, rgba(18, 20, 26, 0.94) 0%, transparent 100%);
}
body.dark[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::after {
  background: linear-gradient(270deg, rgba(18, 20, 26, 0.94) 0%, transparent 100%);
}

/* Category rail title (“Κατηγορίες” / “Categories”) — hidden unless desktop design_1 cockpit enables it */
.category-nav__toc-heading {
  display: none;
}

#stickyCategoryNav .category-nav__track {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #f59e0b rgba(0, 0, 0, 0.04);
}
body.dark #stickyCategoryNav .category-nav__track {
  scrollbar-color: #f59e0b rgba(255, 255, 255, 0.06);
}
#stickyCategoryNav .category-nav__track::-webkit-scrollbar {
  display: block;
  height: 4px;
}
#stickyCategoryNav .category-nav__track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}
body.dark #stickyCategoryNav .category-nav__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
#stickyCategoryNav .category-nav__track::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 10px;
}
#stickyCategoryNav .category-nav__track::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}
.category-nav__pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  scroll-snap-align: start;
  touch-action: manipulation;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.category-nav__pill:hover,
.category-nav__pill:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(216, 22, 22, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  outline: none;
}
.category-nav__icon {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.category-nav__icon .fa-solid {
  font-size: 1.18rem;
  line-height: 1;
}
.category-nav__pill.category-nav__pill--drinks .category-nav__icon {
  min-width: 2rem;
}
.category-nav__pill.category-nav__pill--drinks .category-nav__icon .fa-solid {
  font-size: 2.125rem;
}
.category-nav__label {
  white-space: nowrap;
}
.category-nav__pill.active,
.category-nav__pill.is-selected {
  background: var(--category-pill-active-bg, var(--clr-accent));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  box-shadow:
    0 6px 20px rgba(216, 22, 22, 0.55),
    0 0 22px rgba(255, 204, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: scale(1.06) translateY(-1px);
}
.category-nav__pill.active .category-nav__icon,
.category-nav__pill.is-selected .category-nav__icon {
  transform: scale(1.1);
}
body.dark .category-nav {
  background: rgba(20, 22, 28, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
body.dark .category-nav__pill {
  color: #f2f4f8;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
body.dark .category-nav__pill:hover,
body.dark .category-nav__pill:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 204, 0, 0.35);
}
body.dark .category-nav__pill.active,
body.dark .category-nav__pill.is-selected {
  color: #0b0b0c;
  background: linear-gradient(135deg, var(--clr-fire, #ffcc00) 0%, #ffd64a 100%);
  border-color: transparent;
  box-shadow:
    0 6px 20px rgba(255, 204, 0, 0.45),
    0 0 24px rgba(255, 204, 0, 0.25),
    inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* ScrollSpy: sticky category strip — amber highlight + underline (script toggles .active-category) */
#stickyCategoryNav .category-nav__track .category-nav__pill {
  transition: all 0.3s ease;
}
#stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
  color: #f59e0b !important;
  font-weight: 700;
  border-bottom: 2px solid rgba(245, 158, 11, 0.72);
  padding-bottom: calc(0.6rem - 2px);
  box-shadow: none;
  transform: none;
}
body.dark #stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
  color: #fbbf24 !important;
  border-bottom-color: rgba(251, 191, 36, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.search-wrap {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 1.5rem auto 2rem;
}
.search-wrap .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0,0,0,0.45);
  font-size: 1rem;
  pointer-events: none;
}
#menuSearchInput {
  display: block;
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 2.75rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
#menuSearchInput:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}
#clearSearch {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.08);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
#clearSearch:hover {
  background: rgba(0,0,0,0.14);
  color: #111;
}
#clearSearch.hidden {
  display: none !important;
}

/* Wolt-style smart search dropdown */
.search-results-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10050;
  max-height: min(70vh, 22rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  will-change: transform, opacity;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.search-results-dropdown.search-results-dropdown--open {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.search-results-dropdown.hidden {
  display: none !important;
}
.search-results-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.search-results-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.search-results-dropdown__item:hover,
.search-results-dropdown__item:focus-visible {
  outline: none;
  background: rgba(245, 158, 11, 0.14);
  color: #0f172a;
}
.search-results-dropdown__thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
}
.search-results-dropdown__thumb img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: cover;
  display: block;
}
.search-results-dropdown__footer {
  flex-shrink: 0;
  padding: 0.4rem 0.65rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.55);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}
body.dark .search-results-dropdown__footer,
html.dark-theme .search-results-dropdown__footer {
  color: rgba(226, 232, 240, 0.65);
  border-top-color: rgba(255, 255, 255, 0.08);
}
.search-results-dropdown__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.35);
  font-size: 1rem;
}
.search-results-dropdown__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.search-results-dropdown__name {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-results-dropdown__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.65);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-results-dropdown__price {
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  color: #0f172a;
}
.search-results-dropdown__empty {
  padding: 1rem 1rem 1.15rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.55);
}
body.dark .search-results-dropdown,
html.dark-theme .search-results-dropdown {
  background: rgba(23, 23, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
body.dark .search-results-dropdown__name,
html.dark-theme .search-results-dropdown__name {
  color: rgba(248, 250, 252, 0.96);
}
body.dark .search-results-dropdown__price,
html.dark-theme .search-results-dropdown__price {
  color: rgba(248, 250, 252, 0.96);
}
body.dark .search-results-dropdown__tag,
html.dark-theme .search-results-dropdown__tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.78);
}
body.dark .search-results-dropdown__thumb,
html.dark-theme .search-results-dropdown__thumb {
  background: rgba(255, 255, 255, 0.08);
}
body.dark .search-results-dropdown__empty,
html.dark-theme .search-results-dropdown__empty {
  color: rgba(226, 232, 240, 0.55);
}
body.dark .search-results-dropdown__item:hover,
body.dark .search-results-dropdown__item:focus-visible,
html.dark-theme .search-results-dropdown__item:hover,
html.dark-theme .search-results-dropdown__item:focus-visible {
  background: rgba(245, 158, 11, 0.22);
  color: #fff;
}

/* Design 1 light: dropdown inherits header `color:#f8f8f8` — force readable slate on glass panel */
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item {
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__name {
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__tag {
  color: #374151;
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__price {
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__footer {
  color: rgba(55, 65, 81, 0.88);
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__empty {
  color: rgba(55, 65, 81, 0.75);
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:hover,
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:focus-visible {
  background: rgba(245, 158, 11, 0.16);
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:hover .search-results-dropdown__name,
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:focus-visible .search-results-dropdown__name,
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:hover .search-results-dropdown__price,
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:focus-visible .search-results-dropdown__price {
  color: #111827;
}
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:hover .search-results-dropdown__tag,
body[data-design="design_1"]:not(.dark) .search-results-dropdown .search-results-dropdown__item:focus-visible .search-results-dropdown__tag {
  color: #374151;
  background: rgba(15, 23, 42, 0.1);
}

body[data-design="design_1"]:not(.dark) #menuSearchInput {
  color: #111827;
}

body[data-design="design_1"]:not(.dark) .quick-actions #langToggle,
body[data-design="design_1"]:not(.dark) .quick-actions #darkToggle {
  color: #111827;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

/* Bilingual search: amber focus + result fade */
body[data-design="design_1"] .compact-shop-header__search #menuSearchInput:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.32);
}
#menuDynamicSections.menu-dynamic-sections--search-active .menu-section-container.fade-in-section {
  animation: menuSearchResultFade 0.38s ease-out both;
}
#menuDynamicSections.menu-dynamic-sections--search-active .dish.fade-in-product,
#menuDynamicSections.menu-dynamic-sections--search-active .dish.dish--list {
  animation: menuSearchResultFade 0.32s ease-out both;
}
#menuDynamicSections.menu-dynamic-sections--search-active .empty-state--search-no-match {
  animation: menuSearchResultFade 0.4s ease-out both;
}
@keyframes menuSearchResultFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.empty-state--search-no-match .empty-state__svg--search-slash {
  width: 112px;
  height: 112px;
  max-width: 100%;
  color: rgba(15, 23, 42, 0.45);
}
body.dark .empty-state--search-no-match .empty-state__svg--search-slash,
html.dark-theme .empty-state--search-no-match .empty-state__svg--search-slash {
  color: rgba(255, 255, 255, 0.45);
}
.empty-state--search-no-match .empty-state__title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.35rem 0 0.5rem;
}

.menu-no-results .no-results-content {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.menu-no-results .no-results-icon {
  font-size: 2.5rem;
  color: var(--clr-fire, #ffcc00);
  opacity: 0.7;
  margin-bottom: 1rem;
}
.menu-no-results .no-results-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.menu-no-results .no-results-content p {
  margin: 0 0 1.25rem;
}
.menu-no-results .no-results-content .btn-primary {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
}

body:not([data-design="design_1"]) section > h2 {
  width: fit-content;
  margin: 0 auto 1.25rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  background: #330c0c;
  border-radius: 999px;
  letter-spacing: 0.6px;
  position: relative;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
body:not([data-design="design_1"]) section > h2::before,
body:not([data-design="design_1"]) section > h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 72px;
  height: 3px;
  background: var(--clr-fire);
  opacity: 0.9;
  transform: translateY(-50%);
}
body:not([data-design="design_1"]) section > h2::before { left: -88px; }
body:not([data-design="design_1"]) section > h2::after { right: -88px; }
@media (max-width: 420px) {
  body:not([data-design="design_1"]) section > h2::before,
  body:not([data-design="design_1"]) section > h2::after {
    width: 38px;
  }
  body:not([data-design="design_1"]) section > h2::before { left: -52px; }
  body:not([data-design="design_1"]) section > h2::after { right: -52px; }
}

/* ---------- DISH ---------- */
/* content-visibility: long menus skip layout/paint for off-screen cards (~500 SKUs). */
.dish,
.dish-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}
.dish.search-proxy-dish {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}
.dish {
  background: var(--clr-bg-card);
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid rgba(0,0,0,0.12);
  border-left: 5px solid var(--clr-bg-dark);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dish:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}
.dish-info {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.dish-info h3,
.dish-info p {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.dish-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.dish-info p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
.dish-col {
  display: flex;
  flex: 1 1 0%;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.dish-foot {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.dish-foot__price {
  flex: 0 0 auto;
  line-height: 1.2;
}
.dish-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dish-img-wrap .dish-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  border-radius: var(--radius);
  color: var(--clr-accent, #666);
}
.product-placeholder i {
  opacity: 0.3;
  font-size: 4rem;
}
@media (max-width: 600px) {
  .product-placeholder i {
    font-size: 2rem;
  }
}
body.dark .product-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  color: var(--clr-accent, rgba(255,255,255,0.5));
}
.dish-img-wrap .product-placeholder {
  width: 100%;
  height: 100%;
  min-width: 80px;
  min-height: 80px;
}
.dish-img-wrap .product-placeholder i {
  font-size: 2rem;
}
@media (min-width: 601px) {
  .dish-img-wrap .product-placeholder i {
    font-size: 2.5rem;
  }
}
.product-placeholder-drinks .placeholder-drinks-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  font-size: 0.5em;
}
.product-placeholder-drinks .placeholder-drinks-icons i {
  opacity: 0.3;
  font-size: inherit;
}
.dish-img-wrap .product-placeholder-drinks .placeholder-drinks-icons {
  font-size: 0.4em;
}
.dish-side-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.dish--list {
  border-left-color: var(--clr-fire);
  background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86));
}
.dish--list .dish-info h3 {
  margin-bottom: 0.35rem;
}
.dish--list .dish-info p {
  opacity: 0.72;
}
body.dark .dish--list {
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}
.price {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  color: var(--clr-accent);
  white-space: nowrap;
}
/* Anti-scrape: DOM / copy-paste see reversed digits; bidi restores human-readable price */
.price-display__derail {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
}
.price-from-prefix {
  unicode-bidi: normal;
  direction: ltr;
}
.excalibur-ghost-item {
  display: none !important;
  pointer-events: none;
}

/* Savage Gatekeeper — scraper / rate-limit flex (full viewport) */
.flex-scraper-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  margin: 0;
  padding: 1.5rem;
  box-sizing: border-box;
}
.flex-scraper-overlay__inner {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 96vw;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.porfyra-savage-connection-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 1rem;
  box-sizing: border-box;
}
.porfyra-savage-connection-overlay__card {
  max-width: 22rem;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.porfyra-savage-connection-overlay__msg {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}
.porfyra-savage-connection-overlay__retry {
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--clr-accent, #ffcc00);
  color: #111;
}

.porfyra-savage-generic-overlay {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 2147483644;
  max-width: 20rem;
  margin-left: auto;
}
.porfyra-savage-generic-overlay__card {
  background: #1a1a1a;
  color: #f2f4f8;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.porfyra-savage-generic-overlay__card p {
  margin: 0;
  font-weight: 600;
}

.fade-in-section {
  animation: sectionFadeIn 0.35s ease both;
}
.fade-in-product {
  animation: productFadeIn 0.35s ease both;
}
/* After the first menu paint, skip re-entry animations on revision polls / duplicate loads. */
body.menu-stable-paint .fade-in-section,
body.menu-stable-paint .fade-in-product {
  animation: none !important;
}
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in-section,
  .fade-in-product {
    animation: none !important;
  }
}
.addBtn {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  width: auto;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.25s ease;
}
.addBtn:hover {
  background: #fff;
  color: var(--clr-accent);
  box-shadow: 0 4px 16px rgba(216,22,22,0.35), 0 0 0 2px var(--clr-accent);
  transform: translateY(-2px) scale(1.02);
}
.addBtn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- CART ---------- */
.empty-cart {
  text-align: center;
  padding: 2rem;
  color: var(--clr-bg-card);
}
.cart-upsell-banner {
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.12) 0%, rgba(255, 204, 0, 0.1) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.dark .cart-upsell-banner {
  border-color: rgba(255, 255, 255, 0.12);
}
.cart-upsell-banner.hidden {
  display: none !important;
}
.cart-upsell-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.cart-upsell-banner__actions button {
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.cart-upsell-banner__add {
  background: var(--clr-accent, #c41e3a);
  color: #fff;
}
.cart-upsell-banner__dismiss {
  background: rgba(0, 0, 0, 0.08);
  color: var(--clr-text, #111);
}
body.dark .cart-upsell-banner__dismiss {
  color: #f2f4f8;
  background: rgba(255, 255, 255, 0.1);
}
#cartList {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Cart line: thumb | title+price | qty (wraps cleanly in narrow #order rail) */
.cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.dark .cart-item,
html.dark .cart-item,
html.dark-theme .cart-item {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item__media {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
  display: grid;
  place-items: center;
}
body.dark .cart-item__media,
html.dark .cart-item__media,
html.dark-theme .cart-item__media {
  background: rgba(255, 255, 255, 0.08);
}
.cart-item-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.cart-item-thumb--placeholder {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.38);
}
body.dark .cart-item-thumb--placeholder,
html.dark .cart-item-thumb--placeholder,
html.dark-theme .cart-item-thumb--placeholder {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(226, 232, 240, 0.42);
}
.cart-item-thumb--placeholder > i {
  font-size: 1.1rem;
}
.cart-item-thumb--drinks .placeholder-drinks-icons {
  display: inline-flex;
  gap: 0.2rem;
  font-size: 0.75rem;
}
.cart-item-info {
  flex: 1 1 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
}
.cart-item__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}
@media (max-width: 360px) {
  .cart-item__actions {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: space-between;
    padding-top: 0.15rem;
  }
}
.cart-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: inherit;
}
.cart-item-price {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--d1-accent, var(--clr-accent));
  font-variant-numeric: tabular-nums;
}
.cart-item--sold-out {
  position: relative;
  border-radius: 10px;
  margin: 0 -0.35rem;
  padding: 0.65rem 0.35rem !important;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.04) 0%,
    transparent 72%
  );
  box-shadow: inset 2px 0 0 rgba(148, 163, 184, 0.16);
}
body.dark .cart-item--sold-out,
html.dark .cart-item--sold-out,
html.dark-theme .cart-item--sold-out {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0%,
    transparent 72%
  );
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.1);
}
.cart-item--sold-out .cart-item__media {
  filter: grayscale(1) brightness(0.94);
  opacity: 0.48;
}
.cart-item--sold-out .cart-item-info {
  gap: 0.06rem;
  line-height: 1.22;
}
.cart-item--sold-out .cart-item-title {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.25;
  color: rgba(100, 116, 139, 0.88);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(100, 116, 139, 0.28);
  text-decoration-skip-ink: auto;
}
body.dark .cart-item--sold-out .cart-item-title,
html.dark .cart-item--sold-out .cart-item-title,
html.dark-theme .cart-item--sold-out .cart-item-title {
  color: rgba(148, 163, 184, 0.78);
  text-decoration-color: rgba(148, 163, 184, 0.26);
}
.cart-item--sold-out .cart-item-price {
  margin: 0;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  color: rgba(100, 116, 139, 0.58);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(100, 116, 139, 0.24);
}
body.dark .cart-item--sold-out .cart-item-price,
html.dark .cart-item--sold-out .cart-item-price,
html.dark-theme .cart-item--sold-out .cart-item-price {
  color: rgba(148, 163, 184, 0.5);
  text-decoration-color: rgba(148, 163, 184, 0.22);
}
.cart-item__sold-out-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex: 0 0 auto;
  width: fit-content;
  max-width: max-content;
  margin: 0.1rem 0 0.04rem;
  padding: 0.12rem 0.44rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.15;
  white-space: nowrap;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.12);
  border: none;
  box-shadow: none;
}
body.dark .cart-item__sold-out-badge,
html.dark .cart-item__sold-out-badge,
html.dark-theme .cart-item__sold-out-badge {
  color: #f87171;
  background: rgba(239, 68, 68, 0.14);
}
.cart-item--sold-out .qty-controls {
  opacity: 0.82;
}
.cart-item--sold-out .qtyBtn[data-dir="+"] {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.cart-item--sold-out .removeItem {
  opacity: 1;
  filter: none;
}
.qty-controls {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
body.dark .qty-controls,
html.dark-theme .qty-controls,
html.dark .qty-controls {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}
.qty-controls button {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f1115;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
body.dark .qty-controls button,
html.dark-theme .qty-controls button,
html.dark .qty-controls button {
  background: rgba(42, 46, 54, 0.95);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.qty-controls button:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}
body.dark .qty-controls button:hover:not(:disabled),
html.dark .qty-controls button:hover:not(:disabled) {
  background: rgba(58, 64, 74, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.qty-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.qty-controls .qty {
  min-width: 1.75rem;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  color: inherit;
}
.removeItem {
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.removeItem i {
  font-size: 0.95rem;
}
.removeItem__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.removeItem:hover {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.65);
}
body.dark .removeItem,
html.dark .removeItem,
html.dark-theme .removeItem {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
}
body.dark .removeItem:hover,
html.dark .removeItem:hover {
  background: rgba(248, 113, 113, 0.2);
}
@media (max-width: 360px) {
  .removeItem__label {
    display: none;
  }
}
.cart-summary {
  margin-top: 1rem;
  text-align: right;
}
#cartTotal {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.checkout-min-order-msg {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #b91111;
  text-align: right;
  line-height: 1.35;
}
body.dark .checkout-min-order-msg {
  color: #ff8a80;
}
.cart-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.checkout-box {
  margin-top: 1.5rem;
  text-align: left;
}

/* Google Places (legacy .pac-container + new gmp-place-autocomplete dropdown) */
.pac-container,
.gmp-place-autocomplete__dropdown,
[role="listbox"] {
  z-index: 10050 !important;
}
.pac-container {
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  font-family: inherit;
  pointer-events: auto;
  background: #fff;
  color: #111827;
}
body.dark .pac-container,
body.dark-theme .pac-container {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  background: #1a1d24;
  color: #f0f2f6;
}
.pac-item {
  cursor: pointer;
  padding: 10px 12px;
  line-height: 1.35;
}
body.dark .pac-item,
body.dark-theme .pac-item {
  color: #f0f2f6;
}
body.checkout-drawer-open .pac-container {
  z-index: 10050 !important;
}
.checkout-address-places-host {
  width: 100%;
  min-height: 2.75rem;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.checkout-address-places-host.hidden {
  display: none !important;
}
#checkoutAddressField {
  position: relative;
  overflow: visible;
}
/* Google Places widget — follows storefront light/dark (PC + mobile) */
.checkout-address-places-host gmp-place-autocomplete {
  width: 100%;
  display: block;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.35;
  border-radius: 12px;
  --gmp-mat-color-primary: var(--clr-accent, #00d1ff);
  color-scheme: light;
  background-color: #fff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.18);
  --gmp-mat-color-surface: #ffffff;
  --gmp-mat-color-on-surface: #111827;
  --gmp-mat-color-on-surface-variant: #4b5563;
}
body.dark .checkout-address-places-host gmp-place-autocomplete,
body.dark-theme .checkout-address-places-host gmp-place-autocomplete {
  color-scheme: dark;
  background-color: #14161c;
  color: #f0f2f6;
  border-color: rgba(255, 255, 255, 0.14);
  --gmp-mat-color-surface: #1a1d24;
  --gmp-mat-color-on-surface: #f0f2f6;
  --gmp-mat-color-on-surface-variant: #a8adb8;
}
.checkout-address-places-host gmp-place-autocomplete::part(prediction-list) {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  max-height: min(42vh, 300px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10050;
}
.checkout-address-places-host gmp-place-autocomplete::part(prediction-item) {
  color: #111827;
  padding: 11px 14px;
  cursor: pointer;
}
.checkout-address-places-host gmp-place-autocomplete::part(prediction-item-main-text) {
  color: #0f172a;
}
.checkout-address-places-host gmp-place-autocomplete::part(prediction-item-selected) {
  background: rgba(0, 209, 255, 0.12);
}
body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-list),
body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-list) {
  background: #1a1d24;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
}
body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item),
body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item) {
  color: #f0f2f6;
}
body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-main-text),
body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-main-text) {
  color: #f5f7fa;
}
body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-selected),
body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-selected) {
  background: rgba(0, 209, 255, 0.14);
}
#custAddress.checkout-address-sync--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.checkout-address-mobile-suggestions-wrap {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}
#custAddressMobileSuggestions.checkout-address-mobile-suggestions-wrap {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
  max-height: 40vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
#custAddressMobileSuggestions.checkout-address-mobile-suggestions-wrap.hidden {
  display: none !important;
}
/* Real phones: panel portals to body, anchored above virtual keyboard via visualViewport (JS). */
#custAddressMobileSuggestions.checkout-address-mobile-suggestions-wrap--viewport-fixed {
  position: fixed !important;
  z-index: 10060 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  pointer-events: auto !important;
}
.checkout-address-mobile-suggestions-wrap.hidden {
  display: none !important;
}
.checkout-address-mobile-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-height: none;
  height: auto;
  overflow: visible;
}
body.dark #custAddressMobileSuggestions.checkout-address-mobile-suggestions-wrap,
body.dark-theme #custAddressMobileSuggestions.checkout-address-mobile-suggestions-wrap {
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.dark .checkout-address-mobile-suggestions,
body.dark-theme .checkout-address-mobile-suggestions {
  background: transparent;
  color: inherit;
  border: none;
  box-shadow: none;
}
.checkout-address-mobile-suggestion {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: #000000 !important;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 209, 255, 0.18);
}
.checkout-address-mobile-suggestion:active,
.checkout-address-mobile-suggestion:focus-visible {
  background: rgba(0, 209, 255, 0.12);
  outline: none;
}
.checkout-address-mobile-suggestion__main {
  display: block;
  font-weight: 600;
  color: #000000 !important;
}
body.dark .checkout-address-mobile-suggestion__main,
body.dark-theme .checkout-address-mobile-suggestion__main {
  color: #000000 !important;
}
.checkout-address-mobile-suggestion__secondary {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  color: #4b5563 !important;
}
body.dark .checkout-address-mobile-suggestion__secondary,
body.dark-theme .checkout-address-mobile-suggestion__secondary {
  color: #4b5563 !important;
}

.checkout-address-mobile-places-status {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #4b5563;
}
.checkout-address-mobile-places-status.hidden {
  display: none !important;
}
.checkout-address-mobile-places-status--error {
  color: #b91c1c;
}

/* ---------- CHECKOUT DRAWER (body-level; open via .drawer--open on #checkoutDrawer) ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
body.dark .drawer-overlay {
  background: rgba(0, 0, 0, 0.68);
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 603px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border-left: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  box-shadow:
    -20px 0 64px rgba(15, 23, 42, 0.14),
    -6px 0 28px rgba(15, 23, 42, 0.07),
    inset 1px 0 0 rgba(255, 255, 255, 0.65);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0.28, 1);
  will-change: transform;
}
.side-drawer.drawer--open {
  transform: translateX(0);
}
body.dark .side-drawer {
  background: linear-gradient(180deg, #181b24 0%, #12141c 100%);
  border-left-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    -22px 0 72px rgba(0, 0, 0, 0.52),
    inset 1px 0 0 rgba(255, 255, 255, 0.05);
}

.side-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
}
body.dark .side-drawer__header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}
.side-drawer__header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
body.dark .side-drawer__header h3 {
  color: #f1f5f9;
}

.drawer-close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.07);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.drawer-close:hover {
  background: rgba(15, 23, 42, 0.14);
}
body.dark .drawer-close {
  background: rgba(255, 255, 255, 0.08);
}
body.dark .drawer-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

body[data-design="design_1"] .side-drawer {
  background: var(--d1-card, #f8fafc);
}
body.dark[data-design="design_1"] .side-drawer {
  background: linear-gradient(180deg, rgba(24, 26, 32, 0.98) 0%, rgba(16, 18, 24, 0.96) 100%);
}

#checkoutDrawer .checkout-box {
  flex: 1;
  min-height: 0;
  margin-top: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.1rem 1.35rem 2rem;
  scrollbar-gutter: stable;
}
#checkoutDrawer .checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}
#checkoutDrawer .checkout-main {
  width: 100%;
  min-width: 0;
}
#checkoutDrawer .payment-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#checkoutDrawer .checkout-step {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
}
body.dark #checkoutDrawer .checkout-step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
#checkoutDrawer .step-label {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
#checkoutDrawer .payment-card__content {
  padding: 0.9rem 0.85rem;
  gap: 0.65rem;
  border-radius: 15px;
}
#checkoutDrawer .payment-card__title {
  font-size: 0.92rem;
}
#checkoutDrawer .payment-card__hint {
  font-size: 0.92rem;
}
#checkoutDrawer .checkout-panel,
#checkoutDrawer .order-summary {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#checkoutDrawer .field input {
  width: 100%;
  box-sizing: border-box;
}
#checkoutDrawer #paypal-button-container {
  max-width: none;
}
#checkoutDrawer .order-summary {
  position: static;
  top: auto;
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.09);
}
body.dark #checkoutDrawer .order-summary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

@media (min-width: 604px) {
  .side-drawer {
    width: 603px;
    max-width: 603px;
  }
}

/* ---------- CHECKOUT (Two-step + payment cards + sticky summary) ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}
.checkout-main {
  min-width: 0;
}
.checkout-step {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  margin-top: 1rem;
}
.checkout-step:first-child {
  margin-top: 0;
}
.step-label {
  margin: 0 0 0.75rem;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.checkout-panel {
  margin-top: 0.75rem;
}
.checkout-note {
  margin: 0 0 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}
.checkout-pickup-only-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #3a2500;
  background: linear-gradient(180deg, #ffeaa7, #fdcb6e);
  border: 1px solid rgba(214, 145, 30, 0.65);
  box-shadow: 0 6px 16px rgba(253, 203, 110, 0.35);
}
.checkout-subheading {
  margin: 0 0 0.35rem;
  font-weight: 900;
}
.required-hint {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.payment-cards.payment-cards--hidden {
  display: none !important;
}

.payment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .payment-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.payment-card {
  cursor: pointer;
  display: block;
}
.payment-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-card__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.payment-card__text {
  min-width: 0;
}
.payment-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(216, 22, 22, 0.08);
  color: var(--clr-accent);
  flex: 0 0 auto;
  font-size: 1.25rem;
}
.payment-card__title {
  font-weight: 900;
  line-height: 1.05;
  font-size: 0.85rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.payment-card__hint {
  font-size: 0.9rem;
  opacity: 0.85;
}
.payment-card:hover .payment-card__content {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}
.payment-card input:checked + .payment-card__content {
  border-color: rgba(216, 22, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(216, 22, 22, 0.18), 0 12px 24px rgba(0,0,0,0.10);
}
.payment-card.payment-suppressed {
  display: none !important;
}
.payment-card.payment-card--disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}
.payment-card.payment-card--disabled .payment-card__content {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: none;
}

.order-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.order-type-option {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.order-type-option input {
  accent-color: var(--clr-accent);
}
.order-type-option:has(input:checked) {
  border-color: rgba(216, 22, 22, 0.55);
  box-shadow: 0 0 0 2px rgba(216, 22, 22, 0.15);
}
.iris-policy-note {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  opacity: 0.92;
}
.iris-pay-panel {
  margin-bottom: 0.75rem;
}
.iris-pay-phone {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0;
  word-break: break-all;
}

.field {
  margin-top: 0.75rem;
}
.field label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 800;
}
.field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  color: #000;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.field input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(216, 22, 22, 0.18);
}

#custAddress.checkout-address--invalid,
.checkout-address--invalid#custAddress{
  border-color:#e74c3c!important;
  box-shadow:0 0 0 3px rgba(231,76,60,.22);
}
.checkout-address-ac-hint{
  margin:6px 0 0;
  font-size:0.78rem;
  line-height:1.35;
  color:rgba(15, 23, 42, 0.62);
}
body.dark .checkout-address-ac-hint,
body.dark-theme .checkout-address-ac-hint{
  color:rgba(242,244,248,0.55);
}
.checkout-address-ac-hint.hidden{
  display:none !important;
}
.checkout-address-places-hint{
  margin:6px 0 0;
  font-size:0.8rem;
  line-height:1.4;
  color:rgba(15, 23, 42, 0.68);
}
body.dark .checkout-address-places-hint,
body.dark-theme .checkout-address-places-hint{
  color:rgba(242,244,248,0.62);
}
.checkout-address-places-hint.hidden{
  display:none !important;
}
.checkout-address-places-host.checkout-address--invalid gmp-place-autocomplete{
  outline:2px solid #e74c3c;
  outline-offset:1px;
}
.checkout-address-places-error{
  margin:6px 0 0;
  font-size:.82rem;
  font-weight:700;
  line-height:1.35;
  color:#c0392b;
}
body.dark .checkout-address-places-error,
body.dark-theme .checkout-address-places-error{
  color:#ffb4a8;
}
.checkout-address-places-error.hidden{
  display:none!important;
}
.checkout-delivery-fee-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0.45rem 0 0;
  min-height:1.35rem;
}
.smart-delivery-quote-msg{
  margin:0;
  font-size:0.82rem;
  font-weight:700;
  color:var(--clr-accent, #d81616);
}
.checkout-delivery-fee-tab{
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex-shrink:0;
  padding:3px 10px 4px;
  border-radius:999px;
  font-size:0.68rem;
  font-weight:800;
  letter-spacing:0.03em;
  line-height:1.2;
  white-space:nowrap;
  color:#422006;
  background:linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
  border:1px solid rgba(217, 119, 6, 0.55);
  box-shadow:0 2px 10px rgba(251, 191, 36, 0.4);
  animation:checkout-fee-tab-pulse 2.4s ease-in-out infinite;
}
.checkout-delivery-fee-tab::before{
  content:"!";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  border-radius:50%;
  font-size:0.62rem;
  font-weight:900;
  color:#fde68a;
  background:#92400e;
}
.checkout-delivery-fee-tab.hidden{
  display:none !important;
}
@keyframes checkout-fee-tab-pulse{
  0%, 100%{ box-shadow:0 2px 10px rgba(251, 191, 36, 0.35); transform:translateY(0); }
  50%{ box-shadow:0 3px 16px rgba(251, 191, 36, 0.58); transform:translateY(-1px); }
}
.summary-delivery-label-wrap{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  min-width:0;
}
.checkout-delivery-fee-ack-btn{
  flex:1 1 100%;
  margin-top:2px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(217, 119, 6, 0.65);
  background:linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
  color:#422006;
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.02em;
  cursor:pointer;
  box-shadow:0 2px 12px rgba(245, 158, 11, 0.35);
}
.checkout-delivery-fee-ack-btn:hover,
.checkout-delivery-fee-ack-btn:focus-visible{
  filter:brightness(1.05);
  outline:2px solid rgba(251, 191, 36, 0.55);
  outline-offset:2px;
}
.checkout-delivery-fee-ack-btn.hidden{
  display:none !important;
}
.checkout-delivery-fee-block-msg{
  flex:1 1 100%;
  width:100%;
  margin:0.35rem 0 0;
  padding:0.55rem 0.7rem;
  border-radius:8px;
  font-size:0.78rem;
  font-weight:600;
  line-height:1.4;
  color:#fecaca;
  background:rgba(220,38,38,0.12);
  border:1px solid rgba(248,113,113,0.32);
  box-sizing:border-box;
}
.checkout-delivery-fee-block-msg.hidden{
  display:none !important;
}
body:not(.dark):not(.dark-theme) .checkout-delivery-fee-block-msg{
  color:#991b1b;
  background:rgba(220,38,38,0.08);
  border-color:rgba(220,38,38,0.22);
}
.smart-delivery-quote-msg.ok-msg{
  color:#0d7a4a;
}
.smart-delivery-quote-msg.ok-msg s{
  opacity:0.72;
  margin-right:0.2em;
}
.storefront-delivery-map{
  width:100%;
  height:200px;
  margin-top:0.65rem;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.12);
  overflow:hidden;
  background:#e8eaed;
}

#placeOrder {
  width: 100%;
  margin-top: 1rem;
}
#placeOrder:disabled {
  background: #6b7280 !important;
  border-color: #6b7280 !important;
  color: #fff !important;
  opacity: 0.75 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

#paypal-button-container {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  margin: 1rem auto;
  max-width: 450px;
  width: 100%;
}
.stripe-secure-title,
.paypal-secure-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.25rem auto 0.75rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.2px;
}
.stripe-secure-title i,
.paypal-secure-title i {
  color: #16a34a;
}

.stripe-payment-element-wrap {
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 0.95rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* Split Stripe card fields (card-only — no Payment Element / Klarna) */
.stripe-split-card-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stripe-card-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

.stripe-card-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
}

.stripe-card-label-row .stripe-card-label {
  margin: 0;
}

.stripe-field-help-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.stripe-field-help {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.stripe-field-help:hover,
.stripe-field-help:focus-visible {
  color: #dc2626;
  outline: none;
}

.stripe-field-help-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 60;
  min-width: 210px;
  max-width: min(280px, 88vw);
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.stripe-field-help-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #1e293b;
}

.stripe-field-help-wrap:hover .stripe-field-help-popover,
.stripe-field-help-wrap:focus-within .stripe-field-help-popover,
.stripe-field-help-wrap.is-open .stripe-field-help-popover {
  opacity: 1;
  visibility: visible;
}

body.dark .stripe-card-label {
  color: #cbd5e1;
}

body.dark .stripe-field-help {
  color: #94a3b8;
}

body.dark .stripe-field-help:hover,
body.dark .stripe-field-help:focus-visible {
  color: #f87171;
}

.stripe-card-input {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.stripe-card-input iframe {
  display: block;
  width: 100% !important;
  min-height: 22px;
  pointer-events: auto !important;
}

body.dark .stripe-card-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.stripe-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 380px) {
  .stripe-card-row {
    grid-template-columns: 1fr;
  }
}

.checkout-stripe-unavailable {
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

body.dark .stripe-payment-element-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
body.dark .checkout-stripe-unavailable {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
}
body.dark .stripe-secure-title,
body.dark .paypal-secure-title {
  color: #e5e7eb;
}

.order-summary {
  position: sticky;
  top: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  padding: 1rem;
}
.order-summary h4 {
  margin: 0 0 0.75rem;
  font-weight: 900;
}
.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
  font-weight: 700;
}
.summary-divider {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin: 0.75rem 0;
}
.summary-total {
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .payment-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .payment-cards {
    grid-template-columns: 1fr;
  }
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

/* ---------- BOOK ---------- */
.book-form {
  background: var(--clr-bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.book-form input,
.book-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin: 0.25rem 0;
  border: 1px solid #bbb;
  border-radius: 4px;
}
.book-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------- INGREDIENTS MODAL (ingModal) ---------- */
.ing-form {
  padding: 0;
  margin: 0;
  background: transparent;
}
.ing-section {
  margin-top: 0.85rem;
}
.ing-section:first-child {
  margin-top: 0;
}
.ing-heading {
  margin: 0.85rem 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}
.ing-section:first-child .ing-heading {
  margin-top: 0.25rem;
}
.ing-divider {
  margin: 0.85rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0.82;
  line-height: 1.35;
}
.ing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 400px) {
  .ing-grid {
    grid-template-columns: 1fr;
  }
}

/* Ingredient modal: chip grid — wrap-friendly */
.ing-grid.ing-grid--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ing-grid.ing-grid--chips .ing-card--chip {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: min(100%, 148px);
}

.ing-section--dynamic {
  margin-top: 0.85rem;
}
.ing-section--dynamic:first-child {
  margin-top: 0;
}
.ing-chip-group {
  margin-top: 0.5rem;
}
.ing-section--dynamic > .ing-chip-group:first-of-type {
  margin-top: 0.35rem;
}
.ing-chip-group--included {
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.035);
  border: 1px solid rgba(15, 23, 42, 0.09);
}
.ing-chip-group--extras {
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.32);
}
.ing-chip-group--extras.ing-chip-group {
  margin-top: 0.65rem;
}
.ing-chip-group__label {
  margin: 0 0 0.42rem;
  padding: 0 0.05rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  line-height: 1.25;
  color: var(--option-text, #111827);
}
.ing-chip-group__label--extra {
  color: rgba(120, 53, 15, 0.92);
}

.ing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: var(--option-bg, #fff);
  color: var(--option-text, #111827);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}
.ing-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.ing-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Selectable chips (ingModal) */
.ing-card.ing-card--chip {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.65rem 0.52rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.ing-card.ing-card--chip:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}
.ing-card.ing-card--chip:focus-within {
  outline: none;
}
.ing-card.ing-card--chip:has(input:focus-visible) {
  box-shadow: 0 0 0 2px rgba(216, 22, 22, 0.35), 0 2px 10px rgba(15, 23, 42, 0.08);
  border-color: rgba(216, 22, 22, 0.45);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .ing-card.ing-card--chip:has(input:focus-visible) {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--clr-accent) 35%, transparent), 0 2px 10px rgba(15, 23, 42, 0.08);
    border-color: color-mix(in srgb, var(--clr-accent) 45%, transparent);
  }
}
.ing-card__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  font-size: 0.58rem;
  color: transparent;
  background: transparent;
  border: 2px solid rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__check {
  color: #fff;
  background: var(--clr-accent);
  border-color: transparent;
  transform: scale(1.02);
}
.ing-card.ing-card--chip.ing-card--removeable:has(input[type="checkbox"]:checked) .ing-card__check {
  color: #fff;
  background: #dc2626;
  border-color: transparent;
}
.ing-card__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 0;
}
.ing-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ing-card.ing-card--chip .ing-card__name {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.ing-card__price {
  align-self: flex-end;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--clr-accent);
  white-space: nowrap;
}
.ing-card.ing-card--chip .ing-card__price {
  align-self: center;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.82;
}
.ing-card:has(input[type="checkbox"]:checked) {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 2px rgba(216, 22, 22, 0.22);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .ing-card:has(input[type="checkbox"]:checked) {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--clr-accent) 28%, transparent);
  }
}
.ing-card.ing-card--chip:has(input[type="checkbox"]:checked) {
  border-color: rgba(216, 22, 22, 0.42);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08), 0 0 0 2px rgba(216, 22, 22, 0.22);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) {
    border-color: color-mix(in srgb, var(--clr-accent) 55%, rgba(15, 23, 42, 0.12));
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08), 0 0 0 2px color-mix(in srgb, var(--clr-accent) 26%, transparent);
  }
}
.ing-card:has(input[type="checkbox"]:checked) .ing-card__price {
  color: var(--clr-accent);
}
.ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__price {
  opacity: 1;
}

.ing-card--all {
  grid-column: 1 / -1;
}

.ing-section--extra {
  margin-top: 1rem;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.35);
}
.ing-card--extra {
  background: var(--option-bg, #fff);
}

.ing-comments {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--ctrl-bg, #fff);
  color: var(--ctrl-text, #111827);
  font-size: 0.95rem;
  line-height: 1.45;
  min-height: 88px;
  resize: vertical;
  font-family: inherit;
}
.ing-comments::placeholder {
  opacity: 0.48;
}
.ing-comments:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(216, 22, 22, 0.2);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .ing-comments:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-accent) 22%, transparent);
  }
}

/* ---------- FOOTER ---------- */
/* Use fixed amber/gold — tenant --clr-fire is often a dark secondary and hides text on dark footer bg */
footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 235, 195, 0.92);
  padding: 2.5rem 1rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
footer#contact {
  scroll-margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: var(--max-width);
  margin: auto auto 1.5rem;
}
footer h3 {
  margin-top: 0;
  color: #ffcc00;
  color: var(--footer-heading, #ffcc00);
  font-weight: 800;
  letter-spacing: 0.04em;
}
footer .footer-grid p,
footer .footer-grid span,
footer .footer-grid i {
  color: rgba(255, 228, 175, 0.9);
}
footer a {
  color: #ffac1c;
  color: var(--footer-link, #ffac1c);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #ffd64a;
}
.social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 1.4rem;
}
.social a {
  color: #ffcc00;
  color: var(--footer-link, #ffcc00);
}
.social a:hover {
  color: #ffe566;
}
.footer-track-wrap a {
  font-weight: 700;
}
.copyright {
  font-size: 0.8rem;
  color: rgba(255, 220, 150, 0.78);
  opacity: 1;
}
.copyright p {
  color: inherit;
  margin: 0.35rem 0 0;
}
.copyright .footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 210, 140, 0.62);
  margin-top: 0.35rem;
}
body.dark footer#contact,
body.dark-theme footer#contact,
body.dark[data-design="design_1"] footer#contact {
  background: linear-gradient(180deg, #0c0e12 0%, #06080a 100%);
  border-top: 1px solid rgba(255, 172, 28, 0.18);
  color: rgba(255, 235, 195, 0.92);
}
body.dark footer#contact h3,
body.dark-theme footer#contact h3,
body.dark[data-design="design_1"] footer#contact h3 {
  color: #ffac1c;
  text-shadow: 0 0 24px rgba(255, 172, 28, 0.25);
}
body.dark footer#contact a,
body.dark-theme footer#contact a,
body.dark[data-design="design_1"] footer#contact a,
body.dark footer#contact .social a,
body.dark-theme footer#contact .social a {
  color: #ffcc00;
}
body.dark footer#contact a:hover,
body.dark-theme footer#contact a:hover,
body.dark[data-design="design_1"] footer#contact a:hover {
  color: #ffe566;
}
body[data-design="design_1"].dark footer#contact h3,
body[data-design="design_1"] footer#contact h3 {
  --footer-heading: var(--d1-amber, #ffac1c);
}
body[data-design="design_1"].dark footer#contact,
body[data-design="design_1"] footer#contact {
  --footer-link: var(--d1-amber, #ffac1c);
}

/* ---------- MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modalContent {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  position: relative;
}

/* ingModal: header & footer fixed, only list scrolls */
#ingModal .modalContent.ing-modal__panel {
  width: min(480px, 96vw);
  max-width: min(480px, 96vw);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.15rem 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.22);
}
#ingModal #ingTitle {
  flex: 0 0 auto;
  margin: 0 2.25rem 0.35rem 0;
  padding-bottom: 0.15rem;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
#ingModal .modal-img-wrap {
  margin-bottom: 0.65rem;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: min(42vh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.02) 100%);
}
#ingModal .modal-img-wrap img#ingImg {
  width: 100%;
  height: auto;
  max-height: min(42vh, 320px);
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 0;
}
/* Between product title and options: readable blurb without touching footer/actions */
.ing-desc-wrap {
  flex: 0 0 auto;
  margin: 0 0 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 182, 212, 0.24);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.09) 0%, rgba(15, 23, 42, 0.04) 100%);
  overflow: hidden;
}
.ing-desc-wrap.ing-desc-wrap--hidden {
  display: none !important;
}
.ing-desc-inner {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.48rem 0.65rem 0.52rem;
}
.ing-desc-toggle {
  flex: 0 0 auto;
  margin-top: 0.02rem;
  padding: 0.2rem;
  margin-left: -0.15rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #0891b2;
  font-size: 0.94rem;
  line-height: 1;
  opacity: 0.92;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}
.ing-desc-toggle:hover {
  opacity: 1;
  background: rgba(6, 182, 212, 0.12);
}
.ing-desc-toggle:focus-visible {
  outline: 2px solid rgba(6, 182, 212, 0.55);
  outline-offset: 2px;
}
.ing-desc-wrap--expanded .ing-desc-toggle {
  opacity: 1;
  background: rgba(6, 182, 212, 0.16);
}
.ing-desc-text {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.48;
  color: rgba(15, 23, 42, 0.84);
  max-height: 6.75rem;
  overflow-y: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.35) transparent;
}
.ing-desc-wrap--expanded .ing-desc-text {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
#ingModal .ing-desc-text::-webkit-scrollbar {
  width: 5px;
}
#ingModal .ing-desc-text::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.4);
  border-radius: 999px;
}
#ingModal .ing-footer {
  flex: 0 0 auto;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}
#ingModal .ing-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.25rem 10px 0.5rem 10px;
}

/* thin custom scrollbar (scrollable area only) */
#ingModal .ing-body {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}
#ingModal .ing-body::-webkit-scrollbar {
  width: 8px;
}
#ingModal .ing-body::-webkit-scrollbar-track {
  background: transparent;
}
#ingModal .ing-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
#ingModal .ing-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.32);
  border: 2px solid transparent;
  background-clip: content-box;
}
.modal-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0;
}
.modal-img-placeholder {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  min-height: 100%;
}
.modal-img-placeholder i,
.modal-img-placeholder .placeholder-drinks-icons i {
  font-size: 4rem;
  opacity: 0.2;
}
@media (max-width: 600px) {
  .modal-img-placeholder i,
  .modal-img-placeholder .placeholder-drinks-icons i {
    font-size: 2.5rem;
  }
}
.modalContent img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

#detailModal .modalContent {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.2);
}
body.dark #detailModal .modalContent {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.52);
}

.modalContent .close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
  z-index: 10;
  background: none;
  border: none;
  padding: 0.25rem;
  transition: color 0.2s ease;
}
.modalContent .close:hover {
  color: #64748b;
}
/* Success modal has light bg */
.success-modal .close {
  color: #94a3b8;
}
.success-modal .close:hover {
  color: #64748b;
}
.detail-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* ---------- TOAST (Added!) ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(8px);
  max-width: min(22rem, calc(100vw - 2rem));
  width: max-content;
  box-sizing: border-box;
  background: #da0a37;
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 1500;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.checkout-drawer-open #toast {
  z-index: 10050;
}

/* ---------- MINI-CART FEEDBACK ---------- */
.mini-cart.bump {
  animation: cartBump 650ms ease-out;
}
.mini-cart.bump::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.45), rgba(255,255,255,0.0));
  transform: translateX(-120%);
  animation: cartShimmer 650ms ease-out;
  pointer-events: none;
}
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes cartShimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* ---------- SUCCESS MODAL ---------- */
.success-modal {
  max-width: 520px;
  text-align: center;
}
.success-icon {
  font-size: 3.25rem;
  color: #16a34a;
  margin-bottom: 0.5rem;
}
#successTitle {
  margin: 0.25rem 0 0.35rem;
  font-weight: 900;
}
#successMsg {
  margin: 0 0 0.75rem;
  font-weight: 700;
  opacity: 0.95;
}

/* ingModal footer buttons */
.ing-footer {
  width: 100%;
  justify-content: space-between;
  gap: 0.9rem;
}
.ing-footer > button {
  flex: 1;
}

/* ---------- BACK-TO-TOP ---------- */
#backTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--clr-accent);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#backTop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- DARK MODE ---------- */
body:not(.dark) {
  --ctrl-bg: #fff;
  --ctrl-text: #111827;
  --option-bg: #fff;
  --option-text: #111827;
}
body.dark,
html.dark,
html.dark-theme {
  --clr-bg: #0b0b0c;
  --clr-bg-card: #1f1f1f;
  --clr-text: #e2e2e2;
  --clr-bg-dark: #000;
  --ctrl-bg: #1a1a1a;
  --ctrl-text: #f2f4f8;
  --option-bg: #1a1a1a;
  --option-text: #f2f4f8;
  color: var(--clr-text);
}
html.dark,
html.dark-theme {
  color: var(--clr-text, #e2e2e2);
}
body.dark .dish {
  background: #1f1f1f;
  border: 1px solid #852020;
  border-left-color: #852020;
}
body.dark .book-form {
  background: var(--clr-bg-card);
}
body.dark .modalContent {
  background: #222;
  color: var(--clr-text);
}

body.dark #ingModal .modalContent.ing-modal__panel {
  background: #1e1f23;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.58);
}
body.dark #ingModal #ingTitle {
  color: rgba(248, 250, 252, 0.98);
}
body.dark #ingModal .modal-img-wrap {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.07) 0%, rgba(0, 0, 0, 0.2) 100%);
}
body.dark .ing-desc-wrap {
  border-color: rgba(34, 211, 238, 0.32);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(15, 23, 42, 0.45) 100%);
}
body.dark .ing-desc-toggle {
  color: #22d3ee;
}
body.dark .ing-desc-toggle:hover {
  background: rgba(34, 211, 238, 0.14);
}
body.dark .ing-desc-wrap--expanded .ing-desc-toggle {
  background: rgba(34, 211, 238, 0.18);
}
body.dark .ing-desc-toggle:focus-visible {
  outline-color: rgba(34, 211, 238, 0.65);
}
body.dark .ing-desc-text {
  color: rgba(226, 232, 240, 0.9);
  scrollbar-color: rgba(34, 211, 238, 0.35) transparent;
}
body.dark #ingModal .ing-footer {
  border-top-color: rgba(255, 255, 255, 0.09);
}
body.dark #ingModal .ing-body {
  scrollbar-color: rgba(251, 191, 36, 0.4) transparent;
}
body.dark #ingModal .ing-body::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.32);
}
body.dark #ingModal .ing-body::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.48);
}
body.dark #ingModal .modalContent .close {
  color: rgba(226, 232, 240, 0.52);
}
body.dark #ingModal .modalContent .close:hover {
  color: var(--clr-accent);
}
body.dark .ing-comments {
  background: var(--ctrl-bg);
  color: var(--ctrl-text);
  border-color: rgba(255, 255, 255, 0.14);
}
body.dark .ing-comments:focus {
  border-color: var(--clr-accent);
}
body.dark .ing-section--extra {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.24);
}
body.dark .ing-chip-group--included {
  background: rgba(248, 250, 252, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .ing-chip-group--extras {
  background: rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.22);
}
body.dark .ing-chip-group__label {
  color: rgba(248, 250, 252, 0.88);
}
body.dark .ing-chip-group__label--extra {
  color: rgba(253, 224, 71, 0.92);
}
body.dark .ing-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

/* ---------- DARK MODE PREMIUM (branding red) ---------- */
body.dark .ing-card__name,
body.dark .payment-card__title,
body.dark .payment-card__hint,
body.dark .ing-heading,
body.dark .checkout-subheading {
  color: var(--clr-accent);
}
body.dark #ingModal .ing-card--chip .ing-card__name {
  color: rgba(248, 250, 252, 0.96);
}
body.dark .ing-card,
body.dark .payment-card__content,
body.dark .order-summary {
  background: var(--clr-bg-card);
  border-color: rgba(255,255,255,0.12);
}
body.dark .ing-card.ing-card--chip {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
body.dark #ingModal .ing-card--chip .ing-card__check {
  border-color: rgba(248, 250, 252, 0.22);
}
body.dark .payment-card__content {
  box-shadow: 0 10px 22px rgba(0,0,0,0.40);
}
body.dark .summary-divider {
  border-top-color: rgba(255,255,255,0.12);
}
body.dark .field input {
  background: #111;
  color: var(--clr-text);
  border-color: rgba(255,255,255,0.14);
}
body.dark .field input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(216, 22, 22, 0.24);
}
body.dark .order-type-option {
  background: var(--clr-bg-card);
  border-color: rgba(255,255,255,0.12);
  color: var(--clr-text);
}
body.dark .iris-policy-note,
body.dark .iris-pay-panel .checkout-note {
  color: var(--clr-text);
  opacity: 0.95;
}
body.dark .iris-pay-phone {
  color: var(--clr-accent);
}

/* ---------- MEDIA ---------- */
@media (max-width: 700px) {
  .quick-actions .track-rect-btn span {
    display: none;
  }
  .quick-actions .track-rect-btn {
    width: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .nav-links {
    width: var(--menu-width);
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .dish {
    flex-wrap: wrap;
  }
  .dish-info {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
  }
  .addBtn {
    width: 100%;
  }
  body[data-design="design_1"] .dish--d1 .addBtn--d1 {
    width: 2.4rem;
  }
}
 /* ----- bottom-right controls wrapper ----- */
.br-controls{
  position:fixed;
  bottom:2rem;
  right:2rem;
  display:flex;
  gap:.75rem;          /* space between cart and arrow */
  align-items:center;
  z-index:998;
}

/* ----- mini-cart button ----- */
.mini-cart{
  position: relative;
  overflow: visible !important;
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--clr-accent);
  color:#fff;
  border:none;
  font-size:1.3rem;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform .2s;
}
.mini-cart:hover{transform:scale(1.1);}

/* red counter bubble */
.mini-count{
  position:absolute;
  top:-4px;
  right:-4px;
  width:20px;
  height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ffcc00 !important;
  color:#000 !important;
  font-size:12px;
  font-weight:800;
  z-index:9999;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
} 
.br-controls {
  flex-direction: row-reverse;   /* puts cart on the left, arrow on the right */
}

.br-controls {
  gap: 1.5 rem;               /* space between buttons */
  padding-right: 2.5rem;   /* keep away from right edge */
}
/* ----- bottom-right controls wrapper ----- */
.br-controls{
  position:fixed;
  bottom:2rem;
  right:2rem;
  display:flex;
  gap:1.2rem;                 /* safe gap – tweak if you wish */
  align-items:center;
  z-index:998;
}

/* ----- make both buttons IDENTICAL size ----- */
.mini-cart,
#backTop{
  width:56px;
  height:56px;
  border-radius:50%;
  border:none;
  display:grid;
  place-items:center;
  font-size:1.35rem;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
  transition:transform .2s;
}
.mini-cart{background:var(--clr-accent);color:#fff;}
#backTop{background:var(--clr-accent);color:#fff;}
.mini-cart:hover,
#backTop:hover{transform:scale(1.1);}

/* ----- yellow bubble ONLY on cart ----- */
.mini-count{
  position:absolute;
  width:20px;
  height:20px;
  top:-4px;
  right:-4px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ffcc00 !important;
  color:#000 !important;
  font-size:12px;
  font-weight:800;
  z-index:9999;
  pointer-events:none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}
/* ----- cart more right ----- */
.br-controls{justify-content:flex-end;}   /* pushes whole group right */
.mini-cart{position:relative;margin-right:1.2rem;} /* extra gap before arrow */

/* ----- yellow 0 ONLY on cart ----- */
.mini-count{
  position:absolute;
  width:20px;
  height:20px;
  top:-4px;
  right:-4px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ffcc00 !important;
  color:#000 !important;
  font-size:12px;
  font-weight:800;
  z-index:9999;
  pointer-events:none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}
/* ========== ACTIVE SECTION HIGHLIGHTING ========== */
.nav-links a.active {
  background: var(--clr-accent) !important;
  box-shadow: inset 4px 0 0 var(--clr-fire) !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* ---------- Clear :active / press feedback (mobile + desktop) ---------- */
button:not(:disabled):active,
[role="button"]:active,
.btn-primary:active,
.btn-secondary:active,
.order-type-option:active,
.hamburger:active {
  transform: scale(0.97);
  transition: transform 0.08s ease, opacity 0.08s ease;
}
a.btn-primary:active {
  display: inline-block;
}

/* Storefront design variants — <body data-design="design_1|design_2|design_3"> (set in init-app.js + script.js) */
/* ========== Design 1 — “Foodaway-style”: sticky category strip, 2-col grid, money bar, snappy motion ========== */
body[data-design="design_1"] {
  /* Default Pulse: inherits --clr-accent, --ff-body from theme */
  --category-nav-strip-height: 3.5rem;
  /* Include real header height — without it, #anchors land “λίγο πάνω” under sticky UI */
  --category-nav-scroll-margin: calc(var(--site-header-height, 0px) + var(--category-nav-strip-height) + 0.75rem);
}
body[data-design="design_1"] .category-nav.category-nav-strip {
  position: sticky;
  top: 0;
  z-index: 200;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0 0 10px 10px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
body[data-design="design_1"] .menu-section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.5rem;
  padding: 0.75rem 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}
/* Cart + checkout: single column, not the product card grid */
body[data-design="design_1"] #order.menu-section-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
body[data-design="design_1"] .menu-section-container > h2 {
  grid-column: 1 / -1;
}
body[data-design="design_1"] .menu-section-container > h2::before,
body[data-design="design_1"] .menu-section-container > h2::after {
  display: none;
}
body[data-design="design_1"] .menu-section-container .dish--d1 {
  margin: 0;
  padding: 0.55rem;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
body[data-design="design_1"] .menu-section-container .dish--d1:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
body[data-design="design_1"] .dish--d1 .dish-col {
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
body[data-design="design_1"] .dish--d1 .dish-info {
  min-width: 0;
  max-width: 100%;
}
body[data-design="design_1"] .dish--d1 .dish-info h3 {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0 0 0.2rem;
}
body[data-design="design_1"] .dish--d1 .dish-info p {
  font-size: 0.72rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
body[data-design="design_1"] .dish--d1 .dish-img-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: none;
  border-radius: 10px;
  overflow: hidden;
}
body[data-design="design_1"] .dish--d1 .dish-img-wrap .dish-side-img,
body[data-design="design_1"] .dish--d1 .dish-img-wrap .product-placeholder {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px;
}
body[data-design="design_1"] .dish--d1 .dish-side-img {
  width: 100%;
  height: 100%;
}
body[data-design="design_1"] .dish--d1 .dish-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-left: 0;
  width: 100%;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  gap: 0.4rem;
}
body[data-design="design_1"] .dish--d1 .dish-foot__price {
  min-width: 0;
  font-size: 0.9rem;
}
body[data-design="design_1"] .dish--d1 .addBtn--d1 {
  min-width: 2.4rem;
  min-height: 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  box-shadow: none;
  flex-shrink: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}
body[data-design="design_1"] .dish--d1 .addBtn--d1:hover {
  transform: none;
  opacity: 0.9;
}
body[data-design="design_1"] .dish--d1 .addBtn--d1 i {
  font-size: 0.95rem;
}
body[data-design="design_1"] .fade-in-section,
body[data-design="design_1"] .fade-in-product {
  animation: d1OpacityIn 0.2s ease both;
}
body.menu-stable-paint[data-design="design_1"] .fade-in-section,
body.menu-stable-paint[data-design="design_1"] .fade-in-product {
  animation: none !important;
}
@keyframes d1OpacityIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body[data-design="design_1"] #menu {
  padding-bottom: 2rem;
  overflow: visible !important;
}
body[data-design="design_1"].floating-bar-visible #menu {
  padding-bottom: 5.25rem;
}
/* Money bar (floating bottom cart) */
.floating-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: 3.15rem;
  padding: 0.55rem 0.9rem;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 22, 0.94);
  color: #f8f8f8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}
.floating-cart-bar--visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.floating-cart-bar__count {
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  min-width: 1.5rem;
}
.floating-cart-bar__total {
  font-weight: 800;
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}
.floating-cart-bar__cta {
  flex: 1;
  max-width: 10.5rem;
  margin: 0 auto;
  padding: 0.55rem 0.5rem;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.floating-cart-bar__cta:hover {
  opacity: 0.9;
}
body[data-design="design_1"].floating-bar-visible .br-controls {
  bottom: calc(3.1rem + env(safe-area-inset-bottom, 0px) + 8px);
}
body.dark[data-design="design_1"] .dish--d1 .dish-foot {
  border-top-color: rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  body[data-design="design_1"] .menu-section-container:not(#order) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
/* Design 1 — desktop: cockpit grid (250px | 1fr | 350px); sticky search band + viewport-fixed category/cart rails. */
@media (min-width: 1024px) {
  body[data-design="design_1"] {
    /* Fallback before JS measures #menu search; rails use --d1-cockpit-sidebar-top-synced when set */
    --d1-cockpit-sidebar-top: 128px;
    --d1-cockpit-sidebar-height: calc(100vh - 120px);
    --d1-cockpit-sidebar-height-dv: calc(100dvh - 120px);
    --category-nav-scroll-margin: var(--d1-cockpit-sidebar-top-synced, calc(var(--site-header-height, 0px) + var(--d1-cockpit-sidebar-top)));
    /* Extra air between middle dishes column and fixed rails (cart gets more than categories). */
    --d1-mid-gutter-extra-left: 0.85rem;
    --d1-mid-gutter-extra-right: 2rem;
  }
  body[data-design="design_1"] #floating-cart-bar {
    display: none !important;
  }
  body[data-design="design_1"].floating-bar-visible #menu {
    padding-bottom: 1rem;
  }
  body[data-design="design_1"].floating-bar-visible .br-controls {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  body[data-design="design_1"] #miniCart {
    display: none !important;
  }
  body[data-design="design_1"] #cartToggle {
    display: none !important;
  }
  body[data-design="design_1"] .compact-shop-header__drawer-trigger.hamburger {
    display: none !important;
  }
  body[data-design="design_1"] .compact-shop-header__inner {
    padding: 0.5rem 1rem 0.5rem 1rem;
    column-gap: 0.65rem;
    row-gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
  }
  body[data-design="design_1"] .compact-shop-header__search {
    flex: 1 1 14rem;
    min-width: 0;
    max-width: none;
  }
  /* Search lives in #menu; hide empty header slot (same element as #compactShopSearchSlot) */
  body[data-design="design_1"] #compactShopSearchSlot:empty {
    display: none !important;
  }
  /* Drawer checkbox/scrim don’t participate in grid layout on desktop */
  body[data-design="design_1"] #menu > #nav-check,
  body[data-design="design_1"] #menu > .nav-drawer-scrim {
    display: none !important;
  }
  /* Ensure fixed descendants (#stickyCategoryNav, #order) use the viewport — never a transformed/filtered main */
  body[data-design="design_1"] main#menu {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
  }
  body[data-design="design_1"] #menu {
    display: grid;
    grid-template-columns: 250px 1fr 350px;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "search search search"
      "nav main cart"
      "footer footer footer";
    column-gap: 1.15rem;
    row-gap: 0.5rem;
    align-items: start;
    overflow: visible !important;
    max-width: min(1680px, 100%);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.25rem 1rem;
    box-sizing: border-box;
  }
  body[data-design="design_1"] #menu > .search-wrap {
    grid-area: search;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    min-width: 0;
    margin: 0 0 0.65rem;
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--d1-search-bd);
    /* Opaque band — dishes scroll underneath */
    background: var(--d1-page-a);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.12);
  }
  body.dark[data-design="design_1"] #menu > .search-wrap {
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
  }
  body[data-design="design_1"] #menu > #stickyCategoryNav {
    grid-area: nav;
  }
  body[data-design="design_1"] #menu > .category-nav {
    grid-area: nav;
    align-self: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-design="design_1"] #menu > #searchHint {
    display: none;
  }
  /* Center column grows with content — scrolling happens on the window/body (no inner scroll trap). */
  body[data-design="design_1"] #menu > #menu-container {
    grid-area: main;
    min-width: 0;
    align-self: start;
    overflow: visible;
    margin-left: var(--d1-mid-gutter-extra-left);
    margin-right: var(--d1-mid-gutter-extra-right);
    box-sizing: border-box;
  }
  /* Cart rail: viewport-fixed — stays on screen while document scrolls (same intent as Wikipedia side TOC). */
  body[data-design="design_1"] #menu > #order {
    grid-area: cart;
    position: fixed !important;
    top: var(
      --d1-cockpit-sidebar-top-synced,
      max(var(--d1-cockpit-sidebar-top), calc(var(--site-header-height, 0px) + 5.5rem))
    );
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    /* --d1-rail-right set by JS from #menu rect (fallback matches centered 1680 shell) */
    right: var(--d1-rail-right, calc((100vw - min(1680px, 100vw)) / 2 + 1.25rem));
    left: auto;
    width: 350px;
    max-width: 350px;
    align-self: start;
    min-height: 0;
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 55;
    margin: 0;
  }
  body[data-design="design_1"] #menu > footer {
    grid-area: footer;
    width: 100%;
    margin-top: 1.25rem;
    scroll-margin-bottom: 2rem;
  }
  /* Overlays: don’t consume grid rows (.nav-drawer-scrim hidden above on desktop) */
  body[data-design="design_1"] #menu > .br-controls,
  body[data-design="design_1"] #menu > #toast,
  body[data-design="design_1"] #menu > .modal,
  body[data-design="design_1"] #menu > .order-vetoed-overlay,
  body[data-design="design_1"] #menu > .nav-links {
    grid-column: 1 / -1;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    align-self: start;
    overflow: visible;
  }
  body[data-design="design_1"] .menu-container.d1-mid__mount {
    min-width: 0;
  }
  /* Categories TOC rail: viewport-fixed — pinned while scrolling; grid column still reserves 250px for layout. */
  body[data-design="design_1"] #menu #stickyCategoryNav.category-nav.category-nav-strip {
    position: fixed !important;
    top: var(
      --d1-cockpit-sidebar-top-synced,
      max(var(--d1-cockpit-sidebar-top), calc(var(--site-header-height, 0px) + 5.5rem))
    );
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    /* --d1-rail-left set by JS from #menu rect (fallback matches centered 1680 shell) */
    left: var(--d1-rail-left, calc((100vw - min(1680px, 100vw)) / 2 + 1.25rem));
    right: auto;
    width: 250px;
    max-width: 250px;
    align-self: start;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.55rem 0.5rem 0.65rem;
    border-radius: 12px;
    border: 1px solid var(--d1-border);
    border-right: 1px solid var(--d1-border-strong);
    background: var(--d1-strip);
    box-shadow: 4px 0 20px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__toc-heading {
    display: block;
    margin: 0 0 0.45rem;
    padding: 0 0 0.42rem;
    font-family: "Montserrat", "Inter", system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--d1-ink, #111827);
    border-bottom: 1px solid var(--d1-border-strong, rgba(15, 23, 42, 0.14));
    line-height: 1.25;
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav .category-nav__toc-heading {
    color: rgba(248, 250, 252, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav.category-nav.category-nav-strip {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(24, 26, 32, 0.95) 0%, rgba(18, 20, 26, 0.92) 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  /* Vertical list only: no horizontal scroll / snap (mobile strip behavior disabled here) */
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: hidden !important;
    overflow-y: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
    max-height: none;
    padding: 0.2rem 0.15rem 0.35rem;
    gap: 0.12rem;
    min-width: 0;
    width: 100%;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  /* Vertical scroll + scrollbar on #stickyCategoryNav (not .category-nav__track); hide horizontal edge fades */
  body[data-design="design_1"] #menu #stickyCategoryNav {
    scrollbar-width: thin;
    scrollbar-color: #f59e0b rgba(0, 0, 0, 0.04);
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav {
    scrollbar-color: #f59e0b rgba(255, 255, 255, 0.06);
  }
  body[data-design="design_1"] #menu #stickyCategoryNav::-webkit-scrollbar {
    width: 4px;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
  }
  body[data-design="design_1"] #menu #stickyCategoryNav::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 10px;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav::-webkit-scrollbar-thumb:hover {
    background: #d97706;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track-wrap::before,
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track-wrap::after {
    display: none;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill {
    flex: 0 0 auto;
    min-height: 36px;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    border-radius: 4px;
    padding: 0.38rem 0.45rem 0.38rem 0.5rem;
    scroll-snap-align: unset;
    border: none;
    border-left: 3px solid transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.35rem;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill:hover {
    background: rgba(15, 23, 42, 0.055);
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill .category-nav__icon {
    display: none;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
    background: rgba(245, 158, 11, 0.14);
    color: var(--d1-amber) !important;
    border-left-color: var(--d1-amber);
    font-weight: 700;
    box-shadow: none;
    padding-bottom: 0.38rem;
  }
  body.dark[data-design="design_1"] #menu #stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
    background: rgba(251, 191, 36, 0.11);
    color: #fbbf24 !important;
    border-left-color: #fbbf24;
  }
  body[data-design="design_1"] #menu #stickyCategoryNav .category-nav__label {
    white-space: normal;
    line-height: 1.28;
  }
  /* Center: 3-column product grid (already 3-col from 640px on non-#order sections) */
  body[data-design="design_1"] .menu-section-container:not(#order) {
    padding: 0.85rem 0.5rem 1.25rem;
  }
  /* Cart chrome — height/overflow/sticky are on #menu > #order only so later selectors cannot reset them */
  body[data-design="design_1"] #order.menu-section-container {
    align-self: stretch;
    width: 100%;
    max-width: 350px;
    min-height: 0;
    margin-bottom: 0;
    padding: 0.9rem 0.75rem 1rem;
    border-radius: 12px 0 0 12px;
    border: 1px solid var(--d1-border);
    border-left: 1px solid var(--d1-border-strong);
    background: var(--d1-card);
    box-shadow: -6px 0 28px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  body.dark[data-design="design_1"] #order.menu-section-container {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(24, 26, 32, 0.98) 0%, rgba(16, 18, 24, 0.96) 100%);
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.45);
  }
  body[data-design="design_1"] #order #cartList .cart-item {
    border-bottom-color: var(--d1-border);
  }
  body.dark[data-design="design_1"] #order #cartList .cart-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  body[data-design="design_1"] #order #cartTotal {
    font-size: 1.15rem;
    font-weight: 800;
  }
  body[data-design="design_1"] #order #cartSummary:not(.hidden) {
    position: static;
  }
  body[data-design="design_1"] #order .cart-btns {
    margin-top: 0.5rem;
  }
  body[data-design="design_1"] #order #checkoutBtn {
    min-height: 2.75rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  body[data-design="design_1"] #order .cart-btns .btn-secondary {
    flex: 0 0 auto;
  }
  body[data-design="design_1"] #order .cart-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  body[data-design="design_1"] #order .order-summary {
    font-size: 0.9rem;
  }
}

/* ========== Design 1 — Phenomenal: light default, dark via .dark (theme toggle) ========== */
body[data-design="design_1"] {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.65;
  --d1-page-glow: rgba(255, 140, 0, 0.12);
  --d1-page-a: #f7f8fb;
  --d1-page-b: #eef1f7;
  --d1-page-c: #e4e9f1;
  --d1-ink: rgba(17, 20, 28, 0.94);
  --d1-ink-soft: rgba(35, 40, 52, 0.72);
  --d1-ink-faint: rgba(55, 60, 72, 0.55);
  --d1-border: rgba(15, 23, 42, 0.09);
  --d1-border-strong: rgba(15, 23, 42, 0.14);
  --d1-glass-header: linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.9) 45%, rgba(236, 241, 248, 0.92) 100%);
  --d1-strip: rgba(255, 255, 255, 0.82);
  --d1-pill: rgba(255, 255, 255, 0.88);
  --d1-pill-text: rgba(24, 28, 36, 0.9);
  --d1-card: rgba(255, 255, 255, 0.9);
  --d1-dish-fill: #ffffff;
  --d1-dish-fill-hover: #f8fafc;
  --d1-card-hover: rgba(255, 255, 255, 0.98);
  --d1-card-sh: 0 10px 36px rgba(15, 23, 42, 0.08);
  --d1-card-sh-hover: 0 18px 52px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 172, 28, 0.22), 0 0 36px rgba(255, 172, 28, 0.12);
  --d1-section: rgba(255, 255, 255, 0.72);
  --d1-foot: rgba(15, 23, 42, 0.1);
  --d1-h3: rgba(17, 19, 24, 0.96);
  --d1-p: rgba(35, 40, 52, 0.74);
  --d1-price: #c2410c;
  --d1-order-h2: rgba(17, 19, 24, 0.95);
  --d1-order-h2-bd: rgba(15, 23, 42, 0.12);
  --d1-cart-tot: #b45309;
  --d1-search-bg: rgba(255, 255, 255, 0.88);
  --d1-search-bd: rgba(15, 23, 42, 0.1);
  --d1-floating: rgba(255, 255, 255, 0.96);
  --d1-floating-bd: rgba(15, 23, 42, 0.1);
  --d1-upsell: linear-gradient(135deg, rgba(255, 172, 28, 0.22) 0%, rgba(255, 255, 255, 0.65) 100%);
  --d1-sk-bg: rgba(255, 255, 255, 0.55);
  --d1-sk-bd: rgba(15, 23, 42, 0.08);
  --d1-sk-shine: rgba(15, 23, 42, 0.07);
  --d1-sk-shine-mid: rgba(15, 23, 42, 0.12);
  background: radial-gradient(110% 85% at 50% -20%, var(--d1-page-glow), transparent 52%),
    linear-gradient(180deg, var(--d1-page-a) 0%, var(--d1-page-b) 45%, var(--d1-page-c) 100%);
  background-attachment: fixed;
  color: var(--d1-ink);
  --d1-amber: #ffac1c;
  --d1-accent: var(--d1-amber);
  --d1-amber-deep: #e69710;
  --d1-amber-glow: rgba(255, 172, 28, 0.35);
  --d1-midnight: #0f1115;
  --d1-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark[data-design="design_1"] {
  --d1-page-glow: rgba(255, 172, 28, 0.075);
  --d1-page-a: #0a0c10;
  --d1-page-b: #0f1115;
  --d1-page-c: #141920;
  --d1-ink: rgba(237, 241, 246, 0.93);
  --d1-ink-soft: rgba(226, 232, 240, 0.78);
  --d1-ink-faint: rgba(226, 232, 240, 0.55);
  --d1-border: rgba(255, 255, 255, 0.1);
  --d1-border-strong: rgba(255, 255, 255, 0.14);
  --d1-glass-header: linear-gradient(110deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.22) 100%);
  --d1-strip: rgba(255, 255, 255, 0.035);
  --d1-pill: rgba(255, 255, 255, 0.04);
  --d1-pill-text: rgba(237, 241, 246, 0.9);
  --d1-card: rgba(255, 255, 255, 0.03);
  --d1-dish-fill: #1c1f27;
  --d1-dish-fill-hover: #23262f;
  --d1-card-hover: rgba(255, 255, 255, 0.05);
  --d1-card-sh: 0 8px 32px rgba(0, 0, 0, 0.28);
  --d1-card-sh-hover: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 172, 28, 0.2), 0 0 40px rgba(255, 172, 28, 0.12);
  --d1-section: rgba(255, 255, 255, 0.04);
  --d1-foot: rgba(255, 255, 255, 0.1);
  --d1-h3: rgba(248, 250, 252, 0.98);
  --d1-p: rgba(226, 232, 240, 0.78);
  --d1-price: rgba(255, 214, 140, 0.98);
  --d1-order-h2: rgba(248, 250, 252, 0.96);
  --d1-order-h2-bd: rgba(255, 255, 255, 0.12);
  --d1-cart-tot: rgba(255, 224, 160, 0.98);
  --d1-search-bg: rgba(255, 255, 255, 0.04);
  --d1-search-bd: rgba(255, 255, 255, 0.1);
  --d1-floating: rgba(15, 17, 21, 0.92);
  --d1-floating-bd: rgba(255, 255, 255, 0.1);
  --d1-upsell: linear-gradient(135deg, rgba(255, 172, 28, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  --d1-sk-bg: rgba(255, 255, 255, 0.03);
  --d1-sk-bd: rgba(255, 255, 255, 0.08);
  --d1-sk-shine: rgba(255, 255, 255, 0.06);
  --d1-sk-shine-mid: rgba(255, 255, 255, 0.14);
  --d1-amber-glow: rgba(255, 172, 28, 0.4);
}
body[data-design="design_1"] h1,
body[data-design="design_1"] h2,
body[data-design="design_1"] h3,
body[data-design="design_1"] .compact-shop-header__name {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  letter-spacing: 0.035em;
}
body[data-design="design_1"] .compact-shop-header__inner {
  border: 1px solid var(--d1-border);
  background: var(--d1-glass-header);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  transition: box-shadow 0.3s var(--d1-ease), border-color 0.3s var(--d1-ease), background 0.3s var(--d1-ease);
  flex-wrap: wrap;
  row-gap: 0.35rem;
  column-gap: 0.55rem;
  align-items: center;
  overflow: visible;
}
@media (max-width: 1023px) {
  body[data-design="design_1"] #menu > .search-wrap {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--d1-search-bd);
    background: var(--d1-search-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease);
    margin: 16px 16px 8px;
  }
}
body[data-design="design_1"] .category-nav.category-nav-strip {
  border: 1px solid var(--d1-border);
  background: var(--d1-strip);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--d1-ease), border-color 0.3s var(--d1-ease);
}
body[data-design="design_1"] .category-nav__pill {
  transition: background 0.3s var(--d1-ease), color 0.3s var(--d1-ease), border-color 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease),
    transform 0.3s var(--d1-ease);
  color: var(--d1-pill-text);
  border: 1px solid var(--d1-border);
  background: var(--d1-pill);
  scroll-snap-align: center;
}
body[data-design="design_1"] .category-nav__pill.active,
body[data-design="design_1"] .category-nav__pill.is-selected {
  background: linear-gradient(135deg, var(--d1-amber) 0%, var(--d1-amber-deep) 100%);
  color: #0f1115;
  border-color: rgba(255, 172, 28, 0.55);
  box-shadow: 0 4px 22px var(--d1-amber-glow);
}
body[data-design="design_1"] #stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
  background: var(--d1-pill);
  color: #f59e0b !important;
  border-color: var(--d1-border);
  border-bottom: 2px solid rgba(245, 158, 11, 0.72);
  padding-bottom: calc(0.5rem - 2px);
  box-shadow: none;
  transform: none;
}
body.dark[data-design="design_1"] #stickyCategoryNav .category-nav__track .category-nav__pill.active-category {
  background: var(--d1-pill);
  color: #fbbf24 !important;
  border-bottom-color: rgba(251, 191, 36, 0.85);
}
body[data-design="design_1"] .menu-section-container:not(#order) > h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: 0 0 0.2rem;
  box-sizing: border-box;
  background: transparent;
  color: #111827;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left;
  align-self: start;
  position: relative;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-bottom: 2px solid #f59e0b;
}
body[data-design="design_1"] #order > h2.d1-cart-heading {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: left;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
}
body[data-design="design_1"] #order .d1-cart-heading__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  padding: 0 0 0.2rem;
  box-sizing: border-box;
  color: #111827;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  border-bottom: 2px solid #f59e0b;
}
body[data-design="design_1"] .d1-cart-heading__icon {
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.9;
}
body.dark[data-design="design_1"] .menu-section-container:not(#order) > h2 {
  color: #fff;
  border-bottom-color: #f59e0b;
}
body.dark[data-design="design_1"] #order .d1-cart-heading__label {
  color: #fff;
  border-bottom-color: #f59e0b;
}
/* Product cards: opaque fill — glass blur + 1px intrinsic width caused vertical grid seam artifacts */
body[data-design="design_1"] .menu-section-container:not(#order) .dish--d1,
body[data-design="design_1"] .menu-section-container:not(#order) .dish {
  border: none;
  padding: 16px;
  background: var(--d1-dish-fill);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  content-visibility: visible;
  contain-intrinsic-size: auto;
  isolation: isolate;
  box-shadow: var(--d1-card-sh);
  transition: transform 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease), background 0.3s var(--d1-ease);
}
body[data-design="design_1"] .menu-section-container:not(#order) .dish--d1:hover,
body[data-design="design_1"] .menu-section-container:not(#order) .dish:hover {
  transform: scale(1.05);
  box-shadow: var(--d1-card-sh-hover);
  background: var(--d1-dish-fill-hover);
}
body[data-design="design_1"] .dish--d1 .dish-foot {
  border-top-color: var(--d1-foot);
}
body[data-design="design_1"] .dish--d1 .dish-info h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.025em;
  line-height: 1.45;
  color: var(--d1-h3);
}
body[data-design="design_1"] .dish--d1 .dish-info p {
  line-height: 1.5;
  letter-spacing: 0.015em;
  color: var(--d1-p);
}
body[data-design="design_1"] .dish--d1 .addBtn--d1 {
  background: linear-gradient(145deg, var(--d1-amber), var(--d1-amber-deep));
  color: #0f1115;
  box-shadow: 0 4px 16px rgba(255, 172, 28, 0.25);
  transition: transform 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease), filter 0.3s var(--d1-ease);
}
body[data-design="design_1"] .dish--d1 .addBtn--d1:hover {
  transform: scale(1.08);
  filter: brightness(1.06);
  box-shadow: 0 6px 22px var(--d1-amber-glow);
}
body[data-design="design_1"] .menu-section-container:not(#order) {
  background: var(--d1-section);
  border: 1px solid var(--d1-border);
  color: var(--d1-ink);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
body.dark[data-design="design_1"] .menu-section-container:not(#order) {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}
body[data-design="design_1"] #order.menu-section-container {
  color: var(--d1-ink);
}
body[data-design="design_1"] .dish--d1 .dish-foot__price .price,
body[data-design="design_1"] .dish--d1 .price {
  color: var(--d1-price);
}
body[data-design="design_1"] .btn-primary,
body[data-design="design_1"] #checkoutBtn {
  background: linear-gradient(180deg, var(--d1-amber) 0%, var(--d1-amber-deep) 100%);
  color: #0f1115;
  border: 1px solid rgba(255, 172, 28, 0.45);
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease), filter 0.3s var(--d1-ease);
}
body[data-design="design_1"] .btn-primary:hover,
body[data-design="design_1"] #checkoutBtn:hover {
  box-shadow: 0 8px 28px var(--d1-amber-glow);
  filter: brightness(1.04);
}
body[data-design="design_1"] .btn-secondary {
  transition: background 0.3s var(--d1-ease), color 0.3s var(--d1-ease), border-color 0.3s var(--d1-ease), transform 0.3s var(--d1-ease);
}
body[data-design="design_1"] .floating-cart-bar {
  background: var(--d1-floating);
  color: var(--d1-ink);
  border-top: 1px solid var(--d1-floating-bd);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: transform 0.3s var(--d1-ease), opacity 0.3s var(--d1-ease);
}
body[data-design="design_1"] .floating-cart-bar__cta {
  background: linear-gradient(180deg, var(--d1-amber), var(--d1-amber-deep));
  color: #0f1115;
  border: 1px solid rgba(255, 172, 28, 0.35);
  transition: transform 0.3s var(--d1-ease), box-shadow 0.3s var(--d1-ease), filter 0.3s var(--d1-ease);
}
body[data-design="design_1"] .floating-cart-bar__cta:hover {
  box-shadow: 0 6px 24px var(--d1-amber-glow);
  filter: brightness(1.05);
}
body[data-design="design_1"] .nav-links a.active {
  background: linear-gradient(90deg, rgba(255, 172, 28, 0.95), rgba(230, 151, 16, 0.95)) !important;
  color: #0f1115 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}
body[data-design="design_1"] #order #cartTotal {
  color: var(--d1-cart-tot);
}
body[data-design="design_1"] .modal,
body[data-design="design_1"] .checkout-box {
  transition: opacity 0.3s var(--d1-ease), transform 0.3s var(--d1-ease), visibility 0.3s var(--d1-ease);
}
body[data-design="design_1"] .cart-upsell-banner__add {
  background: linear-gradient(180deg, var(--d1-amber), var(--d1-amber-deep));
  color: #0f1115;
}
body[data-design="design_1"] .cart-upsell-banner {
  background: var(--d1-upsell);
  border: 1px solid var(--d1-border);
}
body[data-design="design_1"] #searchHint {
  color: var(--d1-ink-faint);
  letter-spacing: 0.02em;
  line-height: 1.55;
}
body[data-design="design_1"] .empty-state {
  text-align: center;
  padding: 32px 24px;
  max-width: 360px;
  margin: 0 auto;
  color: var(--d1-ink-soft);
}
body[data-design="design_1"] .empty-state__figure {
  margin: 0 auto 16px;
  color: rgba(255, 172, 28, 0.55);
}
body[data-design="design_1"] .empty-state__svg {
  display: block;
  margin: 0 auto;
}
body[data-design="design_1"] .empty-state h2 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  color: var(--d1-order-h2);
}
body[data-design="design_1"] .empty-state__muted,
body[data-design="design_1"] .empty-state__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--d1-ink-faint);
}
body[data-design="design_1"] .empty-state .btn-primary {
  margin-top: 16px;
}
body[data-design="design_1"] .empty-cart {
  padding: 24px 16px;
}
body[data-design="design_1"] .menu-no-results .empty-state {
  max-width: 400px;
}
body[data-design="design_1"] .menu-skeleton {
  padding: 16px 8px 8px;
}
body:not([data-design="design_1"]) .menu-skeleton {
  display: none !important;
}
body[data-design="design_1"] .menu-skeleton--hidden {
  display: none !important;
}
body[data-design="design_1"] .menu-skeleton__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) {
  body[data-design="design_1"] .menu-skeleton__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body[data-design="design_1"] .menu-skeleton__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--d1-sk-bg);
  border: 1px solid var(--d1-sk-bd);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
body[data-design="design_1"] .menu-skeleton__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--d1-sk-shine) 0%, var(--d1-sk-shine-mid) 50%, var(--d1-sk-shine) 100%);
  background-size: 200% 100%;
  animation: menuSkeletonShine 1.35s ease-in-out infinite;
}
body[data-design="design_1"] .menu-skeleton__line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--d1-sk-shine) 0%, var(--d1-sk-shine-mid) 50%, var(--d1-sk-shine) 100%);
  background-size: 200% 100%;
  animation: menuSkeletonShine 1.35s ease-in-out infinite;
  animation-delay: 0.1s;
}
body[data-design="design_1"] .menu-skeleton__line--title {
  width: 72%;
  height: 10px;
}
body[data-design="design_1"] .menu-skeleton__line--short {
  width: 48%;
}
body[data-design="design_1"] .menu-skeleton__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
body[data-design="design_1"] .menu-skeleton__price {
  width: 40%;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--d1-sk-shine) 0%, rgba(255, 172, 28, 0.18) 50%, var(--d1-sk-shine) 100%);
  background-size: 200% 100%;
  animation: menuSkeletonShine 1.35s ease-in-out infinite;
  animation-delay: 0.15s;
}
body[data-design="design_1"] .menu-skeleton__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 172, 28, 0.1) 0%, rgba(255, 172, 28, 0.22) 50%, rgba(255, 172, 28, 0.1) 100%);
  background-size: 200% 100%;
  animation: menuSkeletonShine 1.35s ease-in-out infinite;
  animation-delay: 0.2s;
}
@keyframes menuSkeletonShine {
  0% {
    background-position: 100% 0;
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: -100% 0;
    opacity: 0.65;
  }
}
@media (min-width: 1024px) {
  /* Cockpit row alignment: no extra top margin — row height is viewport-bound */
  body[data-design="design_1"] #menu .category-nav.category-nav-strip {
    border: 1px solid var(--d1-border);
    background: var(--d1-strip);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 8px 0 40px rgba(15, 23, 42, 0.08);
  }
  body.dark[data-design="design_1"] #menu .category-nav.category-nav-strip {
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.25);
  }
  body[data-design="design_1"] #order.menu-section-container {
    border: 1px solid var(--d1-border);
    background: var(--d1-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -8px 0 40px rgba(15, 23, 42, 0.08);
  }
  body.dark[data-design="design_1"] #order.menu-section-container {
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body[data-design="design_1"]) {
    scroll-behavior: auto !important;
  }
  body[data-design="design_1"] .fade-in-section,
  body[data-design="design_1"] .fade-in-product {
    animation: none !important;
  }
  body[data-design="design_1"] .menu-skeleton__media,
  body[data-design="design_1"] .menu-skeleton__line,
  body[data-design="design_1"] .menu-skeleton__price,
  body[data-design="design_1"] .menu-skeleton__btn {
    animation: none !important;
  }
  body[data-design="design_1"] .menu-section-container .dish--d1,
  body[data-design="design_1"] .menu-section-container .dish--d1:hover {
    transform: none !important;
  }
  .floating-cart-bar {
    transition: none;
  }
}

/* Performance: drop heavy backdrop-blur on narrow viewports (less compositor work while scrolling) */
@media (max-width: 1023px) {
  body[data-design="design_1"] .compact-shop-header__inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(
      105deg,
      rgba(38, 38, 44, 0.96) 0%,
      rgba(28, 28, 34, 0.95) 45%,
      rgba(18, 18, 24, 0.94) 100%
    ) !important;
  }
  .category-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.94);
  }
  body.dark .category-nav {
    background: rgba(28, 28, 34, 0.94);
  }
  .drawer-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.72) !important;
  }
  body.dark .drawer-overlay {
    background: rgba(0, 0, 0, 0.82) !important;
  }
  body[data-design="design_1"] #menu > .search-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* design_2 / design_3 shells: placeholder rules live with their layout PRs (empty blocks trip the linter). */

/* ========== design_1 desktop: inactive overlays cannot block scroll/pointer (no invisible walls) ========== */
@media (min-width: 1024px) {
  body[data-design="design_1"] #menu #nav-check:not(:checked) ~ .nav-drawer-scrim {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body[data-design="design_1"] #menu > .modal[aria-hidden="true"],
  body[data-design="design_1"] #menu > .order-vetoed-overlay.hidden {
    display: none !important;
    pointer-events: none !important;
  }
  body[data-design="design_1"] #drawerOverlay.hidden {
    display: none !important;
    pointer-events: none !important;
  }
}

/* Sticky chain — html > body > main#menu: grow with content, never clip (overrides stray rules) */
body[data-design="design_1"] main#menu {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Ultimate scroll liberation (design_1 storefront): document scroll when no modal/drawer/veto needs lock */
body[data-design="design_1"]:not(.modal-open):not(.checkout-drawer-open):not(.order-veto-overlay-open) {
  overflow-y: visible !important;
  height: auto !important;
}

/* Keep one scroll root: do not set overflow-y:auto on html (paired with body visible) — was causing “two nudges” per wheel tick */
html:has(body[data-design="design_1"]:not(.modal-open):not(.checkout-drawer-open):not(.order-veto-overlay-open)) {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}

html {
  overflow-x: hidden;
  overflow-y: visible !important;
  height: auto !important;
}

/* Checkout scrim lives on body (not inside #menu): never intercept pointer/scroll when drawer closed */
body[data-design="design_1"] #drawerOverlay.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ========== Storefront mobile polish (customer view, ≤768px) ========== */
@media (max-width: 768px) {
  /* Clear bottom chrome (money bar / scroll-up) so last items + footer stay tappable */
  body[data-design="design_1"] main#menu,
  body[data-design="design_1"] #menu {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body[data-design="design_1"].floating-bar-visible main#menu,
  body[data-design="design_1"].floating-bar-visible #menu {
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }
  body[data-design="design_1"] #menu-container {
    padding-bottom: 0.5rem;
  }

  /* Hide onboarding hint — clutters the menu on phones */
  #searchHint.search-hint {
    display: none !important;
  }

  /* —— Header: single tight row (Wolt-style) —— */
  body[data-design="design_1"] .compact-shop-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: none;
  }
  body[data-design="design_1"] .compact-shop-header__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    min-height: 3rem;
    max-height: none;
    padding: 0.45rem 12px;
    border: none;
    border-radius: 0;
    background: var(--d1-page-a, #111);
    box-shadow: none;
  }
  body[data-design="design_1"] .compact-shop-header__drawer-trigger.hamburger {
    width: 26px;
    height: 20px;
    flex-shrink: 0;
  }
  body[data-design="design_1"] .compact-shop-header__drawer-trigger.hamburger span {
    height: 2px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.88);
  }
  body[data-design="design_1"] .compact-shop-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  body[data-design="design_1"] .compact-shop-header__name {
    max-width: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body[data-design="design_1"] .compact-shop-header__tagline {
    display: none;
  }
  body[data-design="design_1"] .compact-shop-header__info {
    flex: 0 1 auto;
    max-width: 7.25rem;
    font-size: 0.6rem;
    gap: 0.12rem;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  body[data-design="design_1"] #compactMinOrder {
    display: none;
  }
  body[data-design="design_1"] .compact-shop-header__chip {
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
  }

  /* Toolbar: language + theme; track/cart live in drawer / floating bar */
  body[data-design="design_1"] .quick-actions {
    flex: 0 0 auto;
    gap: 0.35rem;
    margin-left: 0.15rem;
  }
  body[data-design="design_1"] #trackQuickBtn,
  body[data-design="design_1"] #cartToggle {
    display: none !important;
  }
  body[data-design="design_1"] .quick-actions #darkToggle,
  body[data-design="design_1"] .quick-actions #langToggle {
    width: auto;
    min-width: 2rem;
    height: 28px;
    padding: 0 0.45rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    box-shadow: none;
  }
  body[data-design="design_1"] .quick-actions #darkToggle {
    min-width: 28px;
    width: 28px;
    padding: 0;
    font-size: 0.72rem;
    letter-spacing: 0;
  }
  body[data-design="design_1"] .quick-actions #darkToggle:hover,
  body[data-design="design_1"] .quick-actions #darkToggle:active,
  body[data-design="design_1"] .quick-actions #langToggle:hover,
  body[data-design="design_1"] .quick-actions #langToggle:active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: none;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #darkToggle,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #langToggle {
    color: #111827;
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #darkToggle:hover,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #darkToggle:active,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #langToggle:hover,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .quick-actions #langToggle:active {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.14);
    color: #0f172a;
  }

  /* Search lives in #menu only — never in header slot */
  body[data-design="design_1"] #compactShopSearchSlot {
    display: none !important;
  }
  body[data-design="design_1"] .search-pin-sentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
  }
  #mobileSearchSpacer {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
  }

  body[data-design="design_1"] {
    --d1-mobile-search-pin-nudge: 16px;
  }

  /* —— Menu search: minimal pill, aligned icon + text (16px page gutter) —— */
  body[data-design="design_1"] #menu > .search-wrap {
    position: relative;
    z-index: 120;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px 10px;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body[data-design="design_1"] #menu > .search-wrap.search-wrap--is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--site-header-height, 0px) - var(--d1-mobile-search-pin-nudge, 16px));
    padding: 0 16px 6px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  body[data-design="design_1"] #menu > .search-wrap #menuSearchInput {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 2.75rem 0 2.625rem;
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
  }
  body[data-design="design_1"] #menu > .search-wrap #menuSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.38);
    font-weight: 400;
  }
  body[data-design="design_1"] #menu > .search-wrap #menuSearchInput:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 2px rgba(255, 172, 28, 0.22);
  }
  body[data-design="design_1"] #menu > .search-wrap.search-wrap--is-fixed #menuSearchInput {
    background: rgba(28, 28, 32, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
  body[data-design="design_1"] #menu > .search-wrap .search-icon {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.36);
    pointer-events: none;
  }
  body[data-design="design_1"] #menu > .search-wrap #clearSearch {
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    line-height: 1;
    display: grid;
    place-items: center;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap #menuSearchInput {
    background: rgba(15, 23, 42, 0.05);
    color: #111827;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap.search-wrap--is-fixed #menuSearchInput {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap #menuSearchInput::placeholder {
    color: rgba(17, 24, 39, 0.38);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap #menuSearchInput:focus {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 2px rgba(255, 172, 28, 0.18);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap .search-icon {
    color: rgba(17, 24, 39, 0.32);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #menu > .search-wrap #clearSearch {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(17, 24, 39, 0.55);
  }

  /* Category tabs: sticky under pinned search band */
  body[data-design="design_1"] #stickyCategoryNav.category-nav.category-nav-strip {
    position: -webkit-sticky;
    position: sticky;
    top: var(--site-header-height, 0px);
    z-index: 115;
    margin: 2px 0 0.15rem;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  body[data-design="design_1"].mobile-search-pinned #stickyCategoryNav.category-nav.category-nav-strip {
    top: calc(
      var(--site-header-height, 0px) - var(--d1-mobile-search-pin-nudge, 16px) + var(--d1-mobile-search-band, 52px)
    );
    background: transparent;
    border-bottom: none;
  }
  body[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::before,
  body[data-design="design_1"] #stickyCategoryNav .category-nav__track-wrap::after {
    width: 20px;
  }
  body[data-design="design_1"] #stickyCategoryNav .category-nav__track {
    gap: 0;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body[data-design="design_1"] #stickyCategoryNav .category-nav__track::-webkit-scrollbar {
    display: none;
  }
  body[data-design="design_1"] .category-nav__pill {
    min-height: 36px;
    padding: 0.45rem 0.55rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: rgba(255, 255, 255, 0.52);
    gap: 0;
  }
  /* Text-only tabs — emojis/icons clash with the flat Wolt look on phones */
  body[data-design="design_1"] .category-nav__pill .category-nav__icon {
    display: none !important;
  }
  body[data-design="design_1"] .category-nav__pill.category-nav__pill--drinks .category-nav__icon {
    display: none !important;
  }
  body[data-design="design_1"] .category-nav__label {
    white-space: nowrap;
  }
  body[data-design="design_1"] #stickyCategoryNav .category-nav__track .category-nav__pill.active-category,
  body[data-design="design_1"] .category-nav__pill.active,
  body[data-design="design_1"] .category-nav__pill.is-selected {
    color: #fbbf24 !important;
    font-weight: 700;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #f59e0b !important;
    padding-bottom: calc(0.5rem - 2px) !important;
    box-shadow: none !important;
    transform: none !important;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .category-nav__pill {
    color: rgba(17, 24, 39, 0.5);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #stickyCategoryNav .category-nav__track {
    border-bottom-color: rgba(15, 23, 42, 0.08);
  }

  /* —— Bottom chrome: hide cyan FAB; money bar + subtle scroll-up only —— */
  body[data-design="design_1"] #miniCart {
    display: none !important;
  }
  body[data-design="design_1"] .br-controls {
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    right: 12px;
    gap: 0;
    padding: 0;
  }
  body[data-design="design_1"].floating-bar-visible .br-controls {
    bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
  }
  body[data-design="design_1"] #backTop {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background: rgba(22, 24, 30, 0.94);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  }
  body[data-design="design_1"] #backTop:hover {
    transform: scale(1.04);
    background: rgba(32, 34, 42, 0.98);
  }
  body[data-design="design_1"] .floating-cart-bar {
    min-height: 2.85rem;
    padding: 0.5rem 14px;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 16, 20, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  body[data-design="design_1"] .floating-cart-bar__cta {
    max-width: none;
    flex: 1.2;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, var(--d1-amber, #ffac1c), var(--d1-amber-deep, #e69710));
    color: #0f1115;
  }
  body[data-design="design_1"] .floating-cart-bar__cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  body[data-design="design_1"] #order #checkoutBtn {
    display: none !important;
  }
  body[data-design="design_1"] #order #cartSummary:not(.hidden) {
    margin-top: 0.35rem;
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    text-align: right;
  }
  body[data-design="design_1"] #order #cartTotal {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
  }
  body[data-design="design_1"] #order .cart-btns {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0;
  }
  body[data-design="design_1"] #order #clearCart.btn-secondary {
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.55rem;
    min-height: auto;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  body[data-design="design_1"] #order #clearCart.btn-secondary:hover,
  body[data-design="design_1"] #order #clearCart.btn-secondary:active {
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    transform: none;
    filter: none;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order #clearCart.btn-secondary {
    color: rgba(17, 24, 39, 0.45);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order #clearCart.btn-secondary:hover,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order #clearCart.btn-secondary:active {
    color: rgba(17, 24, 39, 0.68);
  }

  /* Cart section — flat list (Wolt-style), no card chrome */
  body[data-design="design_1"] #order.menu-section-container {
    padding: 0.25rem 16px 0;
    margin: 0 0 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body[data-design="design_1"] #order > h2.d1-cart-heading {
    font-size: 1.05rem;
    margin: 0.65rem 0 0.2rem;
    padding: 0;
    border: none;
  }
  body[data-design="design_1"] #order #cartList {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  body[data-design="design_1"] #order #cartList .cart-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: nowrap;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order #cartList .cart-item {
    border-bottom-color: rgba(15, 23, 42, 0.1);
  }
  body[data-design="design_1"] #order #cartList .cart-item:last-child {
    border-bottom: none;
  }
  body[data-design="design_1"] #order .cart-item__media {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
  }
  body[data-design="design_1"] #order .cart-item-thumb,
  body[data-design="design_1"] #order .cart-item-thumb--placeholder {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
  }
  body[data-design="design_1"] #order .cart-item-info {
    grid-column: 2;
    grid-row: 1;
    flex: 1 1 auto;
    min-width: 0;
    gap: 1px;
  }
  body[data-design="design_1"] #order .cart-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body[data-design="design_1"] #order .cart-item-price {
    font-size: 0.8rem;
    font-weight: 700;
  }
  body[data-design="design_1"] #order .cart-item__actions {
    grid-column: 3;
    grid-row: 1;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin-left: 0;
  }
  body[data-design="design_1"] #order .qty-controls {
    padding: 2px 3px;
    gap: 2px;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 999px;
  }
  body[data-design="design_1"] #order .qty-controls button {
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 0.82rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
    border: none;
    box-shadow: none;
    transform: none;
  }
  body[data-design="design_1"] #order .qty-controls button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    transform: none;
  }
  body[data-design="design_1"] #order .qty-controls .qty {
    min-width: 1.15rem;
    font-size: 0.78rem;
    font-weight: 700;
  }
  body[data-design="design_1"] #order .removeItem {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #ff5c5c;
    box-shadow: none;
  }
  body[data-design="design_1"] #order .removeItem:hover,
  body[data-design="design_1"] #order .removeItem:active {
    background: rgba(255, 92, 92, 0.12);
    border: none;
    color: #ff7070;
  }
  body[data-design="design_1"] #order .removeItem__label {
    display: none !important;
  }
  body[data-design="design_1"] #order .removeItem i {
    font-size: 0.88rem;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order .qty-controls {
    background: rgba(15, 23, 42, 0.06);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order .qty-controls button {
    background: rgba(15, 23, 42, 0.08);
    color: #111827;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order .removeItem {
    color: #e53935;
  }
  body[data-design="design_1"] #order #cartList .cart-item--sold-out {
    margin: 0;
    padding: 10px 0.35rem !important;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0%, transparent 72%);
    box-shadow: inset 2px 0 0 rgba(248, 113, 113, 0.22);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) #order #cartList .cart-item--sold-out {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.025) 0%, transparent 72%);
    box-shadow: inset 2px 0 0 rgba(239, 68, 68, 0.2);
  }
  body[data-design="design_1"] #order .cart-item--sold-out .cart-item-info {
    gap: 0.05rem;
  }
  body[data-design="design_1"] #order .cart-item--sold-out .cart-item-title {
    font-size: 0.92rem;
    line-height: 1.22;
  }
  body[data-design="design_1"] #order .cart-item--sold-out .cart-item-price {
    font-size: 0.8rem;
    margin-top: 0.02rem;
  }
  body[data-design="design_1"] #order .cart-item__sold-out-badge {
    margin: 0.08rem 0 0.02rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.625rem;
  }
  body[data-design="design_1"] #order .cart-item--sold-out .removeItem {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  /* Unpin search while viewing cart — avoids overlap on line items */
  body[data-design="design_1"].mobile-cart-in-view #menu > .search-wrap.search-wrap--is-fixed {
    visibility: hidden;
    pointer-events: none;
  }
  body[data-design="design_1"].mobile-cart-in-view.mobile-search-pinned #stickyCategoryNav.category-nav.category-nav-strip {
    top: var(--site-header-height, 0px);
  }

  body[data-design="design_1"] .floating-cart-bar__count,
  body[data-design="design_1"] .floating-cart-bar__total {
    font-size: 0.82rem;
  }

  #toast {
    max-width: calc(100vw - 1.5rem);
    font-size: 0.82rem;
    padding: 0.6rem 0.8rem;
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
  body.checkout-drawer-open #toast {
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(8px);
  }
  body.checkout-drawer-open #toast.show {
    transform: translateY(0);
  }
  /* Checkout drawer: single scroll root on phone; stop page behind from moving */
  body.checkout-drawer-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
  body.checkout-drawer-open #checkoutDrawer.side-drawer,
  body.checkout-drawer-open #checkoutDrawer .checkout-box {
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  #checkoutAddressField .checkout-address-places-host gmp-place-autocomplete::part(prediction-list) {
    max-height: min(36vh, 240px);
  }
  /* Real phones open Google's fullscreen Places overlay — lock light (ignore OS dark mode) */
  .checkout-address-places-host gmp-place-autocomplete {
    color-scheme: only light !important;
  }
  body.dark .checkout-address-places-host gmp-place-autocomplete,
  body.dark-theme .checkout-address-places-host gmp-place-autocomplete {
    color-scheme: only light !important;
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: #111827;
    --gmp-mat-color-on-surface-variant: #4b5563;
  }
  body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-list),
  body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-list) {
    background: #ffffff;
    color: #111827;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  }
  body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item),
  body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item),
  body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-main-text),
  body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-main-text) {
    color: #111827;
  }
  body.dark .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-selected),
  body.dark-theme .checkout-address-places-host gmp-place-autocomplete::part(prediction-item-selected) {
    background: rgba(0, 209, 255, 0.12);
  }
  body[data-design="design_1"] .checkout-delivery-fee-line {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  body[data-design="design_1"] .checkout-delivery-fee-block-msg {
    font-size: 0.76rem;
    padding: 0.5rem 0.65rem;
  }

  .admin-preview-banner {
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
  }

  /* Compact, app-style footer */
  footer#contact {
    padding: 1.15rem 1rem 0.85rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }
  footer#contact .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin: 0 auto 0.65rem;
    max-width: 22rem;
  }
  footer#contact .footer-grid > div {
    width: 100%;
  }
  footer#contact h3 {
    font-size: 0.8rem;
    margin: 0 0 0.3rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  footer#contact .footer-grid p,
  footer#contact .footer-grid span,
  footer#contact .footer-grid a {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  footer#contact .footer-grid p {
    margin: 0.15rem 0;
  }
  footer#contact .footer-info-block p + p {
    margin-top: 0.2rem;
  }
  footer#contact .social {
    justify-content: center;
    gap: 0.7rem;
    font-size: 1.2rem;
    margin-top: 0.15rem;
  }
  footer#contact .footer-track-wrap {
    margin-top: 0.4rem;
    font-size: 0.8rem;
  }
  footer#contact .copyright {
    font-size: 0.72rem;
    line-height: 1.45;
    max-width: 20rem;
    margin: 0 auto;
  }
  footer#contact .copyright p {
    margin: 0.18rem 0;
  }
  footer#contact .footer-legal {
    margin-top: 0.3rem;
    font-size: 0.74rem;
  }
  footer#contact .footer-disclaimer {
    font-size: 0.65rem;
    margin-top: 0.3rem;
    line-height: 1.4;
    opacity: 0.78;
  }

  /* —— Wolt / e-food “Flat List” menu (design_1) —— */
  body[data-design="design_1"] .menu-section-container:not(#order) {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 16px 0.5rem;
    margin-bottom: 0.85rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  body[data-design="design_1"] .menu-section-container:not(#order) > h2 {
    font-size: 1.05rem;
    margin: 0.55rem 0 0.25rem;
    padding: 0;
    border-bottom: none;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f9fafb;
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .menu-section-container:not(#order) > h2 {
    color: #111827;
  }

  body[data-design="design_1"] .menu-section-container .dish--d1,
  body[data-design="design_1"] .menu-section-container .dish {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 11px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.22);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    contain-intrinsic-size: 1px 96px;
    transition: background 0.15s ease;
  }
  body.dark[data-design="design_1"] .menu-section-container .dish--d1,
  body.dark[data-design="design_1"] .menu-section-container .dish {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  body[data-design="design_1"] .menu-section-container .dish--d1:last-child,
  body[data-design="design_1"] .menu-section-container .dish:last-child {
    border-bottom: none;
  }
  body[data-design="design_1"] .menu-section-container .dish--d1:hover,
  body[data-design="design_1"] .menu-section-container .dish:hover {
    transform: none;
    box-shadow: none;
    background: rgba(128, 128, 128, 0.06);
  }
  body.dark[data-design="design_1"] .menu-section-container .dish--d1:hover,
  body.dark[data-design="design_1"] .menu-section-container .dish:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  body[data-design="design_1"] .dish--d1 .dish-col,
  body[data-design="design_1"] .dish .dish-col {
    order: 1;
    flex: 1 1 0%;
    min-width: 0;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 0.1rem;
    padding-right: 0;
  }
  body[data-design="design_1"] .dish--d1 .dish-info,
  body[data-design="design_1"] .dish .dish-info {
    width: 100%;
  }
  body[data-design="design_1"] .dish--d1 .dish-info p:empty,
  body[data-design="design_1"] .dish .dish-info p:empty {
    display: none;
  }
  body[data-design="design_1"] .dish--d1 .dish-info h3,
  body[data-design="design_1"] .dish .dish-info h3 {
    margin: 0 0 0.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--d1-h3, #111827);
  }
  body.dark[data-design="design_1"] .dish--d1 .dish-info h3,
  body.dark[data-design="design_1"] .dish .dish-info h3 {
    color: #f3f4f6;
  }
  body[data-design="design_1"] .dish--d1 .dish-info p,
  body[data-design="design_1"] .dish .dish-info p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    letter-spacing: 0;
    opacity: 1;
    color: var(--d1-ink-faint, #6b7280);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-design="design_1"] .dish--d1 .dish-foot,
  body[data-design="design_1"] .dish .dish-foot {
    display: block;
    width: 100%;
    margin: 0.12rem 0 0;
    margin-left: 0;
    padding: 0;
    border-top: none;
    gap: 0;
  }
  body[data-design="design_1"] .dish--d1 .dish-foot__price,
  body[data-design="design_1"] .dish .dish-foot__price {
    font-size: 0.88rem;
    line-height: 1.2;
  }
  body[data-design="design_1"] .dish--d1 .dish-foot__price .price,
  body[data-design="design_1"] .dish--d1 .price,
  body[data-design="design_1"] .dish .price {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: normal;
    color: rgba(255, 255, 255, 0.92);
  }
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .dish--d1 .price,
  body[data-design="design_1"]:not(.dark):not(.dark-theme) .dish .price {
    color: #1f2937;
  }

  body[data-design="design_1"] .dish--d1 .dish-img-wrap,
  body[data-design="design_1"] .dish .dish-img-wrap {
    order: 2;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
    max-height: 96px;
    aspect-ratio: unset;
    border-radius: 10px;
    overflow: hidden;
    align-self: flex-start;
  }
  body[data-design="design_1"] .dish--d1 .dish-img-wrap .dish-side-img,
  body[data-design="design_1"] .dish--d1 .dish-img-wrap .product-placeholder,
  body[data-design="design_1"] .dish .dish-img-wrap .dish-side-img,
  body[data-design="design_1"] .dish .dish-img-wrap .product-placeholder {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 10px;
    object-fit: cover;
  }
  body[data-design="design_1"] .dish--d1 .dish-img-wrap .product-placeholder i,
  body[data-design="design_1"] .dish .dish-img-wrap .product-placeholder i {
    font-size: 1.35rem;
  }

  /* + button: bottom-right of thumbnail (e-food style — less food overlap) */
  body[data-design="design_1"] .dish--d1 .addBtn--d1,
  body[data-design="design_1"] .dish .addBtn {
    position: absolute;
    top: auto;
    bottom: 11px;
    right: 2px;
    z-index: 2;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    border: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
  body[data-design="design_1"] .dish--d1 .addBtn--d1 i,
  body[data-design="design_1"] .dish .addBtn i {
    font-size: 0.85rem;
    font-weight: 700;
  }
  body[data-design="design_1"] .dish--d1 .addBtn--d1:hover,
  body[data-design="design_1"] .dish .addBtn:hover {
    transform: scale(1.05);
    filter: none;
    background: #fff;
    color: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  }
  body[data-design="design_1"] .dish--d1 .addBtn--d1:active,
  body[data-design="design_1"] .dish .addBtn:active {
    transform: scale(0.94);
  }

  /* List-only rows (no photo): full-width text, hide thumbnail column */
  body[data-design="design_1"] .dish--list .dish-img-wrap {
    display: none;
  }
  body[data-design="design_1"] .dish--list .dish-col {
    padding-right: 2.35rem;
  }
  body[data-design="design_1"] .dish--list .addBtn--d1,
  body[data-design="design_1"] .dish--list .addBtn {
    top: 50%;
    bottom: auto;
    right: 0;
    transform: translateY(-50%);
  }
  /* First row after section title: no extra top air */
  body[data-design="design_1"] .menu-section-container:not(#order) > h2 + .dish--d1,
  body[data-design="design_1"] .menu-section-container:not(#order) > h2 + .dish {
    padding-top: 6px;
  }
  body[data-design="design_1"] .dish--list .addBtn--d1:hover,
  body[data-design="design_1"] .dish--list .addBtn:hover {
    transform: translateY(-50%) scale(1.05);
  }
  body[data-design="design_1"] .dish--list .addBtn--d1:active,
  body[data-design="design_1"] .dish--list .addBtn:active {
    transform: translateY(-50%) scale(0.94);
  }

  /* —— Product options modal: Wolt-style bottom sheet (#ingModal) —— */
  #ingModal.modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  #ingModal .modalContent.ing-modal__panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    max-height: min(92dvh, 920px);
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.38);
    padding: 0;
    background: #f8f9fb;
    animation: ingSheetSlideUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }
  body.dark #ingModal .modalContent.ing-modal__panel,
  body.dark-theme #ingModal .modalContent.ing-modal__panel {
    background: #16181d;
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  #ingModal .modalContent.ing-modal__panel::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 10px auto 6px;
    border-radius: 999px;
    background: rgba(128, 128, 128, 0.38);
    flex-shrink: 0;
  }
  #ingModal .modalContent .close {
    top: 0.55rem;
    right: 0.85rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.12);
    color: rgba(55, 65, 81, 0.75);
    font-size: 1.35rem;
  }
  body.dark #ingModal .modalContent .close,
  body.dark-theme #ingModal .modalContent .close {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.72);
  }
  #ingModal .modal-img-wrap {
    margin: 0 16px 0.5rem;
    min-height: 0;
    max-height: 140px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
  }
  #ingModal .modal-img-wrap img#ingImg {
    max-height: 140px;
    object-fit: cover;
    border-radius: 12px;
  }
  #ingModal #ingTitle {
    margin: 0;
    padding: 0.15rem 16px 0.35rem;
    padding-right: 2.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #111827;
  }
  body.dark #ingModal #ingTitle,
  body.dark-theme #ingModal #ingTitle {
    color: #f3f4f6;
  }
  #ingModal .ing-desc-wrap {
    margin: 0 16px 0.5rem;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
  }
  body.dark #ingModal .ing-desc-wrap,
  body.dark-theme #ingModal .ing-desc-wrap {
    background: rgba(255, 255, 255, 0.05);
  }
  #ingModal .ing-desc-toggle {
    color: #6b7280;
  }
  #ingModal .ing-desc-toggle:hover,
  #ingModal .ing-desc-wrap--expanded .ing-desc-toggle {
    background: rgba(15, 23, 42, 0.06);
    color: #4b5563;
  }
  body.dark #ingModal .ing-desc-toggle,
  body.dark-theme #ingModal .ing-desc-toggle {
    color: rgba(255, 255, 255, 0.55);
  }
  #ingModal .ing-desc-text {
    color: #4b5563;
    scrollbar-color: rgba(107, 114, 128, 0.35) transparent;
  }
  body.dark #ingModal .ing-desc-text,
  body.dark-theme #ingModal .ing-desc-text {
    color: rgba(226, 232, 240, 0.78);
  }
  #ingModal .ing-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 0.5rem;
  }
  #ingModal .ing-heading,
  #ingModal .ing-chip-group__label,
  #ingModal .ing-chip-group__label--extra {
    margin: 0.75rem 0 0.35rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280 !important;
    opacity: 1;
  }
  #ingModal .ing-section:first-child .ing-heading {
    margin-top: 0.15rem;
  }
  #ingModal .ing-section--extra,
  #ingModal .ing-chip-group--included,
  #ingModal .ing-chip-group--extras {
    margin-top: 0.35rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent !important;
  }
  #ingModal .ing-grid,
  #ingModal .ing-grid.ing-grid--chips {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
  #ingModal .ing-grid .ing-card,
  #ingModal .ing-grid.ing-grid--chips .ing-card--chip {
    flex: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 13px 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  body.dark #ingModal .ing-grid .ing-card,
  body.dark #ingModal .ing-grid.ing-grid--chips .ing-card--chip,
  body.dark-theme #ingModal .ing-grid .ing-card,
  body.dark-theme #ingModal .ing-grid.ing-grid--chips .ing-card--chip {
    border-bottom-color: rgba(255, 255, 255, 0.09);
  }
  #ingModal .ing-grid .ing-card:last-child,
  #ingModal .ing-grid.ing-grid--chips .ing-card--chip:last-child {
    border-bottom: none;
  }
  #ingModal .ing-card:hover,
  #ingModal .ing-card.ing-card--chip:hover {
    transform: none;
    box-shadow: none;
    background: rgba(15, 23, 42, 0.03);
  }
  body.dark #ingModal .ing-card:hover,
  body.dark #ingModal .ing-card.ing-card--chip:hover,
  body.dark-theme #ingModal .ing-card:hover,
  body.dark-theme #ingModal .ing-card.ing-card--chip:hover {
    background: rgba(255, 255, 255, 0.04);
  }
  #ingModal .ing-card__name,
  #ingModal .ing-card.ing-card--chip .ing-card__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827 !important;
  }
  body.dark #ingModal .ing-card__name,
  body.dark #ingModal .ing-card.ing-card--chip .ing-card__name,
  body.dark-theme #ingModal .ing-card__name,
  body.dark-theme #ingModal .ing-card.ing-card--chip .ing-card__name {
    color: #f3f4f6 !important;
  }
  #ingModal .ing-card__price,
  #ingModal .ing-card.ing-card--chip .ing-card__price {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280 !important;
    opacity: 1;
  }
  #ingModal .ing-card__check {
    width: 1.35rem;
    height: 1.35rem;
    border-color: rgba(107, 114, 128, 0.35);
  }
  #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__check {
    background: #111827;
    border-color: #111827;
    color: #fff;
  }
  #ingModal .ing-card.ing-card--chip.ing-card--removeable:has(input[type="checkbox"]:checked) .ing-card__check {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
  }
  body.dark #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__check,
  body.dark-theme #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__check {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: #111827;
  }
  body.dark #ingModal .ing-card.ing-card--chip.ing-card--removeable:has(input[type="checkbox"]:checked) .ing-card__check,
  body.dark-theme #ingModal .ing-card.ing-card--chip.ing-card--removeable:has(input[type="checkbox"]:checked) .ing-card__check {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
  }
  #ingModal .ing-card:has(input[type="checkbox"]:checked),
  #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) {
    border-color: transparent;
    border-bottom-color: rgba(15, 23, 42, 0.1);
    box-shadow: none;
    background: rgba(15, 23, 42, 0.03);
  }
  body.dark #ingModal .ing-card:has(input[type="checkbox"]:checked),
  body.dark #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked),
  body.dark-theme #ingModal .ing-card:has(input[type="checkbox"]:checked),
  body.dark-theme #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) {
    border-bottom-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
  }
  #ingModal .ing-card:has(input[type="checkbox"]:checked) .ing-card__price,
  #ingModal .ing-card.ing-card--chip:has(input[type="checkbox"]:checked) .ing-card__price {
    color: #374151 !important;
  }
  #ingModal .ing-comments {
    margin-top: 0.5rem;
    border-radius: 10px;
    border-color: rgba(15, 23, 42, 0.1);
    background: #fff;
    min-height: 72px;
    font-size: 0.9rem;
  }
  body.dark #ingModal .ing-comments,
  body.dark-theme #ingModal .ing-comments {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
  }
  #ingModal .ing-footer.detail-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    flex: 0 0 auto;
    display: block;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8f9fb;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
  }
  body.dark #ingModal .ing-footer.detail-actions,
  body.dark-theme #ingModal .ing-footer.detail-actions {
    background: #16181d;
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  }
  #ingModal #ingCancel {
    display: none !important;
  }
  #ingModal #ingAdd {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, var(--d1-amber, #ffac1c), var(--d1-amber-deep, #e69710));
    color: #0f1115;
    border: none;
    box-shadow: 0 4px 18px rgba(255, 172, 28, 0.28);
  }
  #ingModal #ingAdd:disabled {
    opacity: 0.45;
    box-shadow: none;
  }
}

@keyframes ingSheetSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  #ingModal .modalContent.ing-modal__panel {
    animation: none;
  }
}

