﻿:root {
  --color-primary: #C2410C;
  --color-secondary: #F6B23F;
  --color-background: #FFF8F0;
  --color-surface: #FFFCF7;
  --color-text: #1C1109;
  --color-muted: #7A5C4E;
  --brand-charcoal: #1C1109;
  --brand-coal: #2E1A0E;
  --brand-rust: #C2410C;
  --brand-flame: #C2410C;
  --brand-amber: #F6B23F;
  --brand-cream: #FFF8F0;
  --brand-glow: rgba(194, 65, 12, 0.22);
  --shadow-soft: 0 12px 30px rgba(28, 17, 9, 0.13);
  --color-price: #B8760A;
  --color-price-badge-bg: #1F1208;
  --color-price-badge-text: #F6A623;
  --app-shell-width: min(430px, calc(100vw - 48px));
  --order-modal-safe-width: calc(100vw - 24px);
}

/* Premium coffee demo theme — NOIR CUP */
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) {
  --color-page-bg: #120b08;
  --color-surface: #24150f;
  --color-surface-soft: #2f1d14;
  --color-surface-border: rgba(198, 161, 91, 0.28);
  --color-strong: #fff5df;
  --color-text: #f4ead6;
  --color-text-secondary: #d2bf9b;
  --color-text-muted: #a99472;
  --color-primary: #c6a15b;
  --color-primary-hover: #d8b76c;
  --color-primary-active: #a9823c;
  --color-primary-soft: rgba(198, 161, 91, 0.14);
  --color-primary-border: rgba(198, 161, 91, 0.42);
  --color-accent: #e2c47d;
  --color-price: #e2c47d;
  --color-price-badge-bg: rgba(18, 11, 8, 0.92);
  --color-price-badge-text: #e8cc85;
  --color-success: #d8aa5f;
  --color-on-success: #120b08;
  --color-success-soft: rgba(216, 170, 95, 0.14);
  --color-success-border: rgba(216, 170, 95, 0.5);
  --color-success-text: #f2d990;
  --green: var(--color-success);
  --green-tint: var(--color-success-soft);
  --green-border: var(--color-success-border);
  --green-text: var(--color-success-text);
  --brand-charcoal: #120b08;
  --brand-coal: #1b100b;
  --brand-rust: #7a4f2b;
  --brand-flame: #c6a15b;
  --brand-amber: #e2c47d;
  --brand-cream: #f4ead6;
  --brand-glow: rgba(198, 161, 91, 0.2);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.42);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) {
  background:
    radial-gradient(circle at 50% -10%, rgba(198, 161, 91, 0.2), transparent 34rem),
    radial-gradient(circle at 16% 84%, rgba(88, 47, 25, 0.36), transparent 28rem),
    linear-gradient(180deg, #120b08 0%, #1a0f0a 52%, #0d0806 100%);
  color: var(--color-text);
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"]) {
  background:
    radial-gradient(circle at 50% -8%, rgba(226, 196, 125, 0.18), transparent 30rem),
    radial-gradient(circle at 18% 80%, rgba(98, 55, 30, 0.36), transparent 26rem),
    linear-gradient(135deg, #120b08 0%, #21130d 54%, #0c0705 100%);
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"])::before {
  background:
    linear-gradient(180deg, rgba(36, 21, 15, 0.98) 0%, rgba(18, 11, 8, 0.98) 100%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(226, 196, 125, 0.16);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate {
  background:
    linear-gradient(180deg, rgba(18, 11, 8, 0.14) 0%, rgba(18, 11, 8, 0.42) 46%, rgba(18, 11, 8, 0.86) 100%),
    linear-gradient(90deg, rgba(18, 11, 8, 0.38) 0%, rgba(18, 11, 8, 0.14) 58%, rgba(18, 11, 8, 0.04) 100%),
    var(--hero-image, linear-gradient(180deg, #0f0806 0%, #1d100b 58%, #0b0604 100%));
  background-position: center, center, center top;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% auto;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate::before {
  background:
    linear-gradient(180deg, rgba(226, 196, 125, 0.08), transparent 32%),
    radial-gradient(circle at 50% 15%, rgba(255, 245, 223, 0.08), transparent 18rem);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__card,
html[data-theme-mode="dark"] body.welcome-order-type-step:has(img[src$="LOGO.png"]) .welcome-gate__card {
  color: #f4ead6;
  background: rgba(18, 11, 8, 0.18);
  backdrop-filter: blur(4px);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__brand {
  gap: 8px;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__language,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__meta-pill,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__order-type-button,
html[data-theme-mode="dark"] body.welcome-order-type-step:has(img[src$="LOGO.png"]) .welcome-gate__order-type-button,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__social .social-link {
  border-color: rgba(226, 196, 125, 0.28);
  background: rgba(24, 14, 10, 0.72);
  color: #f4ead6;
  box-shadow: inset 0 1px 0 rgba(255, 245, 223, 0.06);
  backdrop-filter: blur(14px);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__language .language-option {
  color: #d2bf9b;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__language .language-option.is-active,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__order-type-button.is-selected,
html[data-theme-mode="dark"] body.welcome-order-type-step:has(img[src$="LOGO.png"]) .welcome-gate__order-type-button.is-selected {
  background: linear-gradient(135deg, #8b682f 0%, #c6a15b 54%, #e2c47d 100%);
  color: #120b08;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__start {
  background: linear-gradient(135deg, #8b682f 0%, #c6a15b 48%, #e2c47d 100%);
  color: #120b08;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__start::after {
  background: rgba(18, 11, 8, 0.18);
  color: #120b08;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .app-header {
  background:
    linear-gradient(180deg, rgba(18, 11, 8, 0.98), rgba(18, 11, 8, 0.78)),
    var(--color-page-bg);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .brand {
  border: 1px solid rgba(226, 196, 125, 0.18);
  background:
    linear-gradient(135deg, rgba(47, 29, 20, 0.9), rgba(18, 11, 8, 0.82));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 245, 223, 0.08);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .app-header {
  background:
    linear-gradient(90deg, rgba(18, 11, 8, 0.98) 0%, rgba(18, 11, 8, 0.86) 46%, rgba(18, 11, 8, 0.42) 100%),
    var(--hero-image, linear-gradient(135deg, #24150f, #120b08));
  background-position: center, center top;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"]) .app-header {
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  min-height: 318px;
  overflow: hidden;
  padding: 190px 12px 12px;
  position: relative;
  background: #120b08;
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"]) .app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image, linear-gradient(135deg, #24150f, #120b08));
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  opacity: 0.92;
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"]) .app-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 11, 8, 0.04) 0%, rgba(18, 11, 8, 0.2) 44%, rgba(18, 11, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 11, 8, 0.32) 0%, rgba(18, 11, 8, 0.12) 55%, rgba(18, 11, 8, 0.02) 100%);
  pointer-events: none;
}

html[data-theme-mode="dark"] body.is-menu-active:has(img[src$="LOGO.png"]) .entry-panel {
  background:
    linear-gradient(135deg, rgba(36, 21, 15, 0.62), rgba(18, 11, 8, 0.48));
  backdrop-filter: blur(8px);
  border-color: rgba(226, 196, 125, 0.34);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 245, 223, 0.08);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .brand__logo,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__logo {
  background: #f4ead6;
  border: 1px solid rgba(226, 196, 125, 0.5);
  box-shadow:
    0 0 0 4px rgba(198, 161, 91, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.32);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .brand__name,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__title,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero__title {
  color: #fff5df;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .brand__tagline,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero__description,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__line,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__taste,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__greeting,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .welcome-gate__kicker {
  color: #d2bf9b;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero {
  border: 1px solid rgba(226, 196, 125, 0.2);
  background:
    radial-gradient(circle at 74% 14%, rgba(226, 196, 125, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(18, 11, 8, 0.08) 0%, rgba(18, 11, 8, 0.52) 48%, rgba(18, 11, 8, 0.92) 100%),
    var(--hero-image, linear-gradient(135deg, #24150f, #120b08));
  background-position: center;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    inset 0 -100px 100px rgba(18, 11, 8, 0.42);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 245, 223, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(198, 161, 91, 0.16), transparent 50%);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .story-category,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .category-tab {
  border: 1px solid rgba(198, 161, 91, 0.26);
  background: rgba(36, 21, 15, 0.82);
  color: #d2bf9b;
  box-shadow: inset 0 1px 0 rgba(255, 245, 223, 0.05);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .story-category.is-active,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .category-tab.is-active {
  border-color: rgba(226, 196, 125, 0.72);
  background:
    linear-gradient(135deg, rgba(198, 161, 91, 0.28), rgba(93, 55, 31, 0.36)),
    rgba(36, 21, 15, 0.94);
  color: #fff5df;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-card,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .drawer-product-card,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .restaurant-story,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .testimonial-card {
  border: 1px solid rgba(198, 161, 91, 0.22);
  background:
    linear-gradient(180deg, rgba(47, 29, 20, 0.96), rgba(30, 18, 12, 0.98)),
    var(--color-surface);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 245, 223, 0.06);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-card::before,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .temporary-offer-card::before {
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.2), #e2c47d, rgba(198, 161, 91, 0.2));
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-card__image-frame,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card__media,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .drawer-product-card__media {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 196, 125, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(18, 11, 8, 0.92), rgba(47, 29, 20, 0.92));
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-title,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-card h3,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card h3,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .drawer-product-card__top h3 {
  color: #fff5df;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-description,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card__description,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .drawer-product-card__desc,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .restaurant-story__paragraphs,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .restaurant-story__subtitle {
  color: #cbb894;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-price,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-total,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-item__price-badge,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-product__price {
  border: 1px solid rgba(226, 196, 125, 0.32);
  background:
    linear-gradient(135deg, rgba(36, 21, 15, 0.94), rgba(18, 11, 8, 0.96));
  color: #e8cc85;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .header-action,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .share-menu__button,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero__button--primary,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .add-to-cart,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .primary-action,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .send-order-button,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card__order,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .drawer-product-card__order {
  border: 1px solid rgba(255, 245, 223, 0.16);
  background:
    linear-gradient(135deg, #8b682f 0%, #c6a15b 48%, #e2c47d 100%);
  color: #1a100b;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 245, 223, 0.36);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .header-action:hover,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .share-menu__button:hover,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .add-to-cart:hover,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .primary-action:hover,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .send-order-button:hover {
  background:
    linear-gradient(135deg, #9b7738 0%, #d4b46c 48%, #efd58b 100%);
  color: #120b08;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .hero__button--secondary,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .new-product-card__details {
  border-color: rgba(226, 196, 125, 0.34);
  background: rgba(18, 11, 8, 0.54);
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-badge,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-badge--bestSeller,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-badge--new,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .restaurant-story__highlight,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-chip {
  border-color: rgba(226, 196, 125, 0.42);
  background:
    linear-gradient(135deg, rgba(226, 196, 125, 0.22), rgba(198, 161, 91, 0.1)),
    rgba(18, 11, 8, 0.82);
  color: #f2d990;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-toggle {
  border: 1px solid rgba(226, 196, 125, 0.28);
  background:
    linear-gradient(135deg, rgba(36, 21, 15, 0.98), rgba(18, 11, 8, 0.98));
  color: #fff5df;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 245, 223, 0.08);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-toggle__count,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .quantity-button,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-row__quantity-button {
  background:
    linear-gradient(135deg, #8b682f, #d4b46c);
  color: #120b08;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel__header,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel__footer,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-item,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-group,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-section,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-confirmation__card,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-handoff,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .modal-card,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__dialog,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__dialog,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-modal__dialog,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-qr {
  border-color: rgba(198, 161, 91, 0.24);
  background:
    linear-gradient(180deg, rgba(47, 29, 20, 0.98), rgba(24, 14, 10, 0.98)),
    var(--color-surface) !important;
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-overlay,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-modal {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 196, 125, 0.15), transparent 28rem),
    rgba(8, 5, 4, 0.76);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__header.option-modal__header--with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border-color: var(--color-surface-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 88%, transparent), var(--color-background)),
    var(--color-surface) !important;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__hero-media {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--color-primary-border);
  border-radius: 12px;
  padding: 0;
  background: var(--color-background);
  cursor: zoom-in;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: var(--color-background);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .product-row__image,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel .cart-item__thumb img,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) img.final-review-product__media {
  object-fit: cover;
  object-position: center center;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__header.option-modal__header--with-media .option-modal__titles {
  display: grid;
  gap: 6px;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__header.option-modal__header--with-media .option-modal__eyebrow {
  margin: 0;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-modal__header.option-modal__header--with-media .option-modal__close {
  align-self: start;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__header,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__footer {
  border-color: rgba(198, 161, 91, 0.24);
  background:
    linear-gradient(180deg, rgba(47, 29, 20, 0.98), rgba(24, 14, 10, 0.98)),
    var(--color-surface);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__header h2,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #orderModalTitle,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .form-field label,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-field legend,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #paymentFieldLabel,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #orderTypeLabel,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #tableNumberLabel,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__total-label {
  color: #fff5df;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__close,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-modal__back {
  border-color: rgba(226, 196, 125, 0.3);
  background: rgba(18, 11, 8, 0.72);
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) input,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) textarea,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) select,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type__option,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-choice,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .menu-qr__button--secondary {
  border-color: rgba(198, 161, 91, 0.24);
  background: rgba(18, 11, 8, 0.72);
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) input:focus,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) textarea:focus,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) select:focus {
  border-color: rgba(226, 196, 125, 0.72);
  box-shadow: 0 0 0 3px rgba(216, 170, 95, 0.16);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) input::placeholder,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) textarea::placeholder {
  color: rgba(243, 226, 197, 0.72);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .option-choice.is-selected,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option.is-selected,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option:has(input:checked),
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type__option.is-selected,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .otc__btn.is-selected,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .session-picker__button.is-selected,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .table-number--session-picker .session-picker__button.is-selected {
  border-color: rgba(226, 196, 125, 0.72);
  background:
    linear-gradient(135deg, rgba(226, 196, 125, 0.24), rgba(198, 161, 91, 0.12)),
    rgba(18, 11, 8, 0.86) !important;
  color: #fff5df !important;
  box-shadow: inset 0 0 0 1px rgba(226, 196, 125, 0.34);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type-summary,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-ready-notice,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-notify-toggle,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .session-picker__summary {
  border-color: rgba(216, 170, 95, 0.5);
  background:
    linear-gradient(135deg, rgba(216, 170, 95, 0.14), rgba(47, 29, 20, 0.72)),
    rgba(18, 11, 8, 0.84);
  color: #f3e2c5;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type-summary__text,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-ready-notice__text,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-notify-toggle__label,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-notify-toggle__text,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .session-picker__summary-label {
  color: #f3e2c5;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type-summary__text strong,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .session-picker__summary strong {
  color: #e2c47d;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-type-summary__change {
  border-color: rgba(226, 196, 125, 0.34);
  background: rgba(18, 11, 8, 0.72);
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-ready-notice__dot,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-notify-toggle__input:checked + .pickup-notify-toggle__track {
  background: #d8aa5f;
  box-shadow: 0 0 0 3px rgba(216, 170, 95, 0.16);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .pickup-notify-toggle__track {
  border: 1px solid rgba(216, 170, 95, 0.35);
  background: rgba(18, 11, 8, 0.88);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option span,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option > span:not(.option-icon) {
  color: #f3e2c5;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option:has(input:checked) span,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option.is-selected span,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option:has(input:checked) .option-icon,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-option.is-selected .option-icon {
  color: #e2c47d;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .form-field__error,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .payment-error,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .delivery-zone-error {
  border-color: rgba(248, 113, 113, 0.36);
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-modal__actions {
  border-color: rgba(198, 161, 91, 0.24);
  background:
    linear-gradient(180deg, rgba(47, 29, 20, 0.98), rgba(24, 14, 10, 0.98)),
    var(--color-surface);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .final-review-modal__actions .secondary-action {
  border-color: rgba(226, 196, 125, 0.34);
  background: rgba(18, 11, 8, 0.72);
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewEdit,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewConfirm {
  min-height: 50px;
  color: transparent;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewEdit::after,
html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewConfirm::after {
  color: currentColor;
  font-weight: 800;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewEdit::after {
  content: "تعديل";
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) #finalReviewConfirm::after {
  content: "إرسال";
  color: #120b08;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .order-confirmation {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 196, 125, 0.16), transparent 28rem),
    linear-gradient(180deg, #120b08, #0b0604);
}

.visually-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;
}

:root,
[data-theme-mode="light"] {
  --font-family-base: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  --color-primary: #e07b39;
  --color-primary-hover: #cf6f31;
  --color-primary-active: #b95f28;
  --color-primary-soft: #fff8f3;
  --color-primary-border: #fcd9bb;
  --color-page-bg: #f5f0e8;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f2ef;
  --color-surface-border: #e8e3db;
  --color-strong: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-secondary: #888888;
  --color-text-muted: #8f8f8f;
  --color-success: #22c55e;
  --color-on-success: #ffffff;
  --color-success-soft: #f0faf4;
  --color-success-border: #bbf7d0;
  --color-success-text: #166534;
  --color-danger: #e05050;
  --color-danger-soft: #fff0f0;
  --color-danger-border: #fcd4d4;
  --color-accent: #d89b2b;
  --orange: var(--color-primary);
  --orange-tint: var(--color-primary-soft);
  --orange-border: var(--color-primary-border);
  --dark: var(--color-strong);
  --bg: var(--color-page-bg);
  --white: var(--color-surface);
  --gray-light: var(--color-surface-soft);
  --gray-border: var(--color-surface-border);
  --text-primary: var(--color-text);
  --text-secondary: var(--color-text-secondary);
  --text-muted: var(--color-text-muted);
  --green: var(--color-success);
  --green-tint: var(--color-success-soft);
  --green-border: var(--color-success-border);
  --green-text: var(--color-success-text);
  --red: var(--color-danger);
  --red-tint: var(--color-danger-soft);
  --red-border: var(--color-danger-border);
  --color-secondary: var(--color-accent);
  --color-background: var(--color-page-bg);
  --color-muted: var(--color-text-secondary);
  --color-surface-alt: var(--color-surface-soft);
  --color-surface-hover: var(--color-surface-border);
  --brand-charcoal: var(--color-strong);
  --brand-coal: var(--color-strong);
  --brand-rust: var(--color-primary);
  --brand-flame: var(--color-primary);
  --brand-amber: var(--color-accent);
  --brand-cream: var(--color-page-bg);
  --brand-glow: rgba(224, 123, 57, 0.22);
  --shadow-soft: 0 12px 30px rgba(28, 17, 9, 0.13);
  --color-price: var(--color-primary);
  --color-price-badge-bg: var(--color-strong);
  --color-price-badge-text: var(--color-accent);
}

[data-theme-mode="dark"] {
  --color-page-bg: #15100d;
  --color-surface: #211813;
  --color-surface-soft: #2b211b;
  --color-surface-border: #3a2c24;
  --color-strong: #fff7ed;
  --color-text: #f5efe7;
  --color-text-secondary: #c9b8aa;
  --color-text-muted: #9f8f82;
  --color-primary: #e07b39;
  --color-primary-hover: #f08a45;
  --color-primary-active: #c96a2f;
  --color-primary-soft: rgba(224, 123, 57, 0.14);
  --color-primary-border: rgba(224, 123, 57, 0.38);
  --color-accent: #d89b2b;
  --color-success: #22c55e;
  --color-on-success: #052e16;
  --color-success-soft: rgba(34, 197, 94, 0.14);
  --color-success-border: rgba(34, 197, 94, 0.36);
  --color-success-text: #86efac;
  --color-danger: #f87171;
  --color-danger-soft: rgba(248, 113, 113, 0.14);
  --color-danger-border: rgba(248, 113, 113, 0.36);
  --brand-glow: rgba(224, 123, 57, 0.18);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@keyframes softFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes softPulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes softSlideIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes productEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes storySkeletonShimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, var(--color-primary-soft), transparent 34rem),
    linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-page-bg) 100%);
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  animation: softPageFade 240ms ease both;
}

img {
  display: block;
  max-width: 100%;
}

body.welcome-gate-active {
  overflow: hidden;
  min-height: 100dvh;
  background: #1C1109;
}

body.is-entry-active {
  overflow: hidden;
}

body.is-menu-active {
  overflow-x: hidden;
}

body.welcome-gate-active .app-header,
body.welcome-gate-active main,
body.welcome-gate-active .cart-toggle,
body.welcome-gate-active .cart-panel,
body.welcome-gate-active .cart-overlay,
body.is-entry-active .app-header,
body.is-entry-active main,
body.is-entry-active .cart-toggle,
body.is-entry-active .cart-panel,
body.is-entry-active .cart-overlay {
  display: none !important;
}

body.is-menu-active .welcome-gate {
  display: none !important;
}

.entry-panel__language {
  display: none !important;
}

.welcome-gate {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at top, var(--color-primary-soft), transparent 45%),
    var(--color-page-bg);
}

body.welcome-order-type-step .welcome-gate {
  background:
    radial-gradient(circle at top, var(--color-primary-soft), transparent 45%),
    var(--color-page-bg);
}

.welcome-gate[hidden] {
  display: none;
}

.welcome-gate__kicker[hidden],
.welcome-gate__taste[hidden],
.welcome-gate__greeting[hidden],
.welcome-gate__line[hidden],
.welcome-gate__status[hidden],
.welcome-gate__hours[hidden],
.welcome-gate__social[hidden],
.welcome-gate__language[hidden],
.welcome-gate__order-type[hidden],
.welcome-gate__language-title[hidden] {
  display: none !important;
}

.welcome-gate__card {
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 4.4vw, 34px);
  border: 1px solid rgba(246, 178, 63, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.14), transparent 40%),
    rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 44px rgba(33, 23, 20, 0.14);
  text-align: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: softFadeUp 360ms ease both;
}

body.welcome-order-type-step .welcome-gate__card {
  border-color: rgba(194, 65, 12, 0.18);
  box-shadow: 0 16px 42px rgba(33, 23, 20, 0.12);
}

body.welcome-order-type-step .welcome-gate__logo {
  border-radius: 50%;
}

.welcome-gate__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(246, 178, 63, 0.18),
    0 12px 28px rgba(194, 65, 12, 0.12);
}

.welcome-gate__kicker,
.welcome-gate__taste,
.welcome-gate__greeting,
.welcome-gate__line {
  margin: 0;
}

.welcome-gate__kicker {
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.welcome-gate__title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.48rem, 4.6vw, 2.08rem);
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.15;
}

.welcome-gate__taste {
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: var(--font-weight-medium);
}

.welcome-gate__greeting {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

.welcome-gate__line {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 1.02rem;
  font-weight: var(--font-weight-regular);
}

.welcome-gate__status,
.welcome-gate__hours {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--color-muted);
}

.welcome-gate__status strong,
.welcome-gate__hours strong {
  color: var(--color-text);
}

.welcome-gate__status.is-open strong {
  color: var(--color-success-text);
}

.welcome-gate__status.is-closed strong {
  color: var(--color-danger);
}

.welcome-gate__social .social-links__list {
  justify-content: center;
}

.welcome-gate__language {
  width: 100%;
  display: grid;
  gap: 8px;
}

.welcome-gate__language-title {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: var(--font-weight-medium);
}

.welcome-gate__language .language-switcher {
  width: 100%;
  justify-content: center;
}

.welcome-gate__language .language-option {
  flex: 1 1 0;
}

.welcome-gate__order-type {
  width: 100%;
  display: grid;
  gap: 12px;
}

.welcome-gate__order-type-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.welcome-gate__order-type-button {
  display: grid;
  min-height: 118px;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 12px 28px rgba(33, 23, 20, 0.09);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.welcome-gate__order-type-image {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.welcome-gate__order-type-label {
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: var(--font-weight-bold);
}

.welcome-gate__order-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
}
.welcome-gate__order-type-icon.order-type-card__icon {
  width: 68px;
  height: 68px;
}

.welcome-gate__order-type-button:hover,
.welcome-gate__order-type-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(194, 65, 12, 0.4);
  background: #fff;
  box-shadow: 0 18px 38px rgba(194, 65, 12, 0.16);
}

.welcome-gate__order-type-button:active {
  transform: scale(0.98);
}

.welcome-gate__start {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.welcome-gate__start:hover,
.welcome-gate__start:focus-visible {
  background: var(--color-secondary);
  box-shadow: 0 14px 30px rgba(194, 65, 12, 0.24);
  transform: translateY(-1px);
}

.welcome-gate__start:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.32);
  outline-offset: 3px;
}

.app-header {
  position: relative;
  top: 0;
  z-index: 10;
  padding: 14px clamp(16px, 4vw, 48px) 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 243, 0.98), rgba(255, 248, 243, 0.84)),
    var(--color-background);
  animation: softSlideIn 320ms ease both;
}

.entry-panel {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(32, 26, 23, 0.08);
  backdrop-filter: blur(12px);
}

.entry-panel__top,
.entry-panel__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.entry-panel__body {
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
}

.entry-panel__welcome {
  display: grid;
  gap: 4px;
  min-width: min(100%, 320px);
}

.entry-panel__greeting {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.entry-panel__line {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.entry-panel__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.entry-panel__language {
  display: grid;
  gap: 6px;
}

.entry-panel__language-title {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: var(--color-surface);
  padding: 4px;
}

.brand__tagline {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.brand__name {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.2;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(194, 65, 12, 0.22);
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.09);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

#whatsappLink.header-action {
  display: none !important;
}

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
}

.language-option {
  min-width: 58px;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.language-option.is-active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

main {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  min-height: clamp(220px, 34vw, 360px);
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 26, 23, 0.72), rgba(32, 26, 23, 0.28)),
    var(--hero-image, linear-gradient(135deg, var(--color-primary), var(--color-secondary)));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: var(--shadow-soft);
  animation: softFadeUp 420ms ease 80ms both;
}

.hero__content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.hero #heroDescription {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero__button:hover {
  transform: translateY(-1px);
}

.hero__button--primary {
  background: var(--color-primary);
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.24);
}

.hero__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.13);
}

.category-tabs {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 4px 12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.category-tab.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.story-categories {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin: 12px 0 4px;
  padding: 4px 18px 10px 4px;
  gap: 8px;
  touch-action: pan-x;
}

.story-categories::before {
  display: none;
}

.story-category {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 86px;
  min-width: 86px;
  border: 0;
  border-radius: 0;
  padding: 4px 4px 6px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  text-align: center;
  box-shadow: none;
  transition:
    border-color 140ms ease,
    color 140ms ease,
    opacity 140ms ease;
  scroll-snap-align: start;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.story-category::before {
  display: none;
}

.story-category__media {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2.5px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, rgba(194,65,12,0.2), rgba(249,115,22,0.15)) border-box;
  box-shadow: 0 4px 12px rgba(32, 26, 23, 0.1);
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.story-category__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.story-category__icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(135deg, rgba(194, 65, 12, 0.16), rgba(249, 115, 22, 0.16));
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.story-category__name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: clip;
  transition: color 140ms ease;
}

.story-category.is-active {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.story-category.is-active::before {
  display: none;
}

.story-category.is-active .story-category__media {
  border-color: transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #f7d88a, var(--color-secondary), var(--color-primary)) border-box;
  box-shadow:
    0 4px 12px rgba(194, 65, 12, 0.16),
    0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: translateZ(0);
}

.story-category.is-active .story-category__name {
  color: var(--color-primary);
  font-weight: 800;
}

.temporary-offers {
  display: grid;
  gap: 12px;
  margin: 22px 0 8px;
}

.temporary-offers[hidden] {
  display: none;
}

.temporary-offers__header {
  display: grid;
  gap: 4px;
}

.temporary-offers__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.temporary-offers h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.2rem;
}

.temporary-offers__list {
  display: grid;
  grid-auto-columns: minmax(300px, 440px);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 10px;
  scroll-snap-type: inline mandatory;
}

.temporary-offer-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.92), rgba(255, 255, 255, 0.82)),
    var(--color-surface);
  box-shadow: 0 16px 36px rgba(32, 26, 23, 0.1);
  scroll-snap-align: start;
}

.temporary-offer-card__media {
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(32, 26, 23, 0.05);
}

.temporary-offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.temporary-offer-card__content {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px;
}

.temporary-offer-card__badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
}

.temporary-offer-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.35;
}

.temporary-offer-card__description,
.temporary-offer-card__date {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.temporary-offer-card__products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.temporary-offer-card__products span {
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(32, 26, 23, 0.06);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.temporary-offer-card__action {
  justify-self: start;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}


.new-products {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.new-products[hidden] {
  display: none;
}

.new-products__header {
  display: grid;
  gap: 6px;
}

.new-products__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.new-products h2,
.new-products__header p {
  margin: 0;
}

.new-products__header p:not(.new-products__eyebrow) {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.new-products__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.new-product-card {
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 16px 34px rgba(32, 26, 23, 0.09);
}

.new-product-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(32, 26, 23, 0.05);
  color: var(--color-muted);
  font-weight: 900;
}

.new-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-product-card__content {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 13px;
}

.new-product-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.new-product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.new-product-card__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.new-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.new-product-card__order,
.new-product-card__details {
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.new-product-card__order {
  border: 0;
  background: var(--color-primary);
  color: #fff;
}

.new-product-card__details {
  border: 1px solid rgba(32, 26, 23, 0.12);
  background: rgba(32, 26, 23, 0.04);
  color: var(--color-text);
}

.menu-card.is-highlighted {
  outline: 3px solid rgba(194, 65, 12, 0.28);
  outline-offset: 3px;
}

.story-category--skeleton {
  cursor: wait;
  pointer-events: none;
}

.story-category--skeleton,
.story-category--skeleton .story-category__media,
.story-category--skeleton .story-category__name {
  background:
    linear-gradient(90deg, rgba(32, 26, 23, 0.06), rgba(255, 255, 255, 0.74), rgba(32, 26, 23, 0.06));
  background-size: 220% 100%;
  animation: storySkeletonShimmer 1150ms ease-in-out infinite;
}

.story-category--skeleton .story-category__name {
  width: 74px;
  min-height: 14px;
  border-radius: 999px;
}

.story-categories__empty {
  flex: 1 1 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  line-height: 1.7;
  text-align: center;
}

.header-action:hover,
.add-to-cart:hover,
.send-order-button:hover,
.primary-action:hover,
.share-menu__button:hover {
  box-shadow: 0 10px 22px rgba(32, 26, 23, 0.12);
  transform: translateY(-1px);
}

.language-option:hover,
.category-tab:hover,
.story-category:hover,
.secondary-action:hover,
.review-link__button:hover,
.social-link:hover {
  transform: translateY(-1px);
}

.menu-card:hover,
.testimonial-card:hover,
.final-review-section:hover {
  box-shadow: 0 18px 38px rgba(32, 26, 23, 0.12);
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .menu-card:hover .menu-card__image {
    transform: scale(1.035);
  }
}

button:active,
.header-action:active,
.review-link__button:active,
.social-link:active {
  transform: scale(0.98);
}

.cart-toggle.cart-pulse {
  animation: none;
}

.cart-toggle.cart-pulse .cart-toggle__count {
  animation: floatingCartBadgePop 0.25s ease;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

body[data-layout-product-view="list"] .menu-grid {
  grid-template-columns: 1fr;
}

body[data-layout-product-view="list"] .menu-card {
  display: grid;
  grid-template-columns: minmax(180px, 32%) 1fr;
}

body[data-layout-product-view="list"] .menu-card__image-frame {
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
}

body[data-layout-product-view="list"] .menu-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
}

body[data-layout-product-view="compact"] .menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

body[data-layout-product-view="compact"] .menu-card {
  box-shadow: 0 10px 24px rgba(32, 26, 23, 0.07);
}

body[data-layout-product-view="compact"] .menu-card__image-frame {
  aspect-ratio: 4 / 3;
}

body[data-layout-product-view="compact"] .menu-card__body {
  padding: 12px;
}

body[data-layout-product-view="compact"] .menu-card__title-row {
  gap: 8px;
}

body[data-layout-product-view="compact"] .menu-card h3 {
  font-size: 0.98rem;
}

body[data-layout-product-view="compact"] .description,
body[data-layout-product-view="compact"] .product-detail-summary,
body[data-layout-product-view="compact"] .prep-time-line {
  font-size: 0.88rem;
}

body[data-layout-product-view="compact"] .add-to-cart {
  min-height: 40px;
  padding: 9px 12px;
}

@media (max-width: 700px) {
  body[data-layout-product-view="list"] .menu-card {
    grid-template-columns: 1fr;
  }

  body[data-layout-product-view="list"] .menu-card__image-frame {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
}

.app-message {
  margin: 8px 0 20px;
  padding: 16px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  line-height: 1.7;
}

.app-message.is-error {
  border-color: rgba(194, 65, 12, 0.25);
  color: var(--color-primary);
}

.hidden {
  display: none !important;
}

.fallback-menu {
  margin: 24px auto;
  padding: 20px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  line-height: 1.7;
}

.fallback-menu.is-visible {
  animation: softFadeUp 260ms ease both;
}

.fallback-menu__eyebrow {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-weight: 800;
}

.fallback-menu h2 {
  margin: 0 0 10px;
}

.fallback-menu p {
  margin: 0;
  color: var(--color-muted);
}

.fallback-menu__messages {
  display: grid;
  gap: 10px;
}

.fallback-menu__message {
  display: grid;
  gap: 4px;
  color: var(--color-muted);
}

.fallback-menu__message strong {
  color: var(--color-text);
  font-size: 1.08rem;
}

.fallback-menu__items {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.fallback-menu__items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
}

.fallback-menu__items li > span,
.fallback-menu__items strong,
.fallback-menu__notice {
  display: grid;
  gap: 2px;
}

.fallback-menu__items strong {
  color: var(--color-primary);
  font-size: 0.9rem;
  white-space: nowrap;
}

.fallback-menu__notice {
  padding-top: 12px;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
}

.order-boost-bar {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.08), rgba(249, 115, 22, 0.08));
  color: var(--color-text);
  animation: softFadeUp 240ms ease both;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.order-boost-bar.is-completed {
  border-color: rgba(194, 65, 12, 0.28);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.08);
}

.order-boost-content {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.order-boost-progress {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.1);
}

.order-boost-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 220ms ease;
}

.minimum-order-message {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.minimum-order-message.is-warning {
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: rgba(249, 115, 22, 0.1);
}

.minimum-order-message.is-success {
  border: 1px solid rgba(32, 26, 23, 0.12);
  background: rgba(194, 65, 12, 0.08);
}

/* â”€â”€ Minimum order progress bar â”€â”€ */
.minimum-order-bar {
  margin: 12px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.07);
  animation: softFadeUp 240ms ease both;
  transition: border-color 180ms ease, background 180ms ease;
}

.minimum-order-bar.is-reached {
  border-color: rgba(194, 65, 12, 0.28);
  background: rgba(194, 65, 12, 0.08);
}

.minimum-order-bar.hidden {
  display: none;
}

.minimum-order-bar__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.minimum-order-bar__amount {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.minimum-order-bar.is-reached .minimum-order-bar__amount {
  color: var(--color-primary);
}

.minimum-order-bar__track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.1);
}

.minimum-order-bar__fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  transition: width 260ms ease;
}

.delivery-zone-section {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
}

.delivery-zone-section select {
  width: 100%;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.delivery-zone-fee,
.delivery-zone-error {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.delivery-zone-fee {
  color: var(--color-primary);
  font-weight: 700;
}

.delivery-zone-error {
  color: var(--color-primary);
}

.menu-card {
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 14px 34px rgba(32, 26, 23, 0.08);
  animation: softFadeUp 320ms ease both;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.menu-card.product-enter {
  animation: productEnter 320ms ease both;
  animation-delay: var(--product-delay, 0ms);
}

.menu-card__image-frame {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(32, 26, 23, 0.05), rgba(32, 26, 23, 0.02)),
    var(--color-background);
  color: inherit;
  cursor: zoom-in;
}

.menu-card__image-frame.is-missing {
  display: none;
}

.menu-card__image-frame:focus-visible {
  outline: 3px solid rgba(194, 65, 12, 0.28);
  outline-offset: -3px;
}

.menu-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--color-background);
  transition: transform 260ms ease;
}

.menu-card__body {
  padding: 16px;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: stretch;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: clamp(10px, 2.5vw, 24px);
  background: rgba(32, 26, 23, 0.86);
  backdrop-filter: blur(10px);
}

.image-preview[hidden] {
  display: none;
}

.image-preview-open,
html:has(.image-preview:not([hidden])) {
  overflow: hidden;
}

.image-preview-open {
  transform: none !important;
}

.image-preview__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - (clamp(10px, 2.5vw, 24px) * 2));
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.image-preview__title {
  margin: 0;
  padding-inline-end: 48px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.image-preview__image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--color-background);
}

.image-preview__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.menu-card__title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.menu-card__title-group {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.menu-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.35;
  box-shadow: 0 8px 16px rgba(32, 26, 23, 0.07);
}

.product-badge__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-inline-end: 0;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  line-height: 1;
}

.product-badge--new {
  border-color: rgba(20, 184, 166, 0.42);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(34, 197, 94, 0.14));
  color: #0f766e;
  font-size: 0.68rem;
  letter-spacing: 0;
  font-weight: 900;
}

.product-badge--bestSeller {
  border-color: rgba(219, 168, 72, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 247, 210, 0.95), rgba(220, 165, 64, 0.18)),
    var(--color-surface);
  color: #8a5b1f;
  min-width: 30px;
  justify-content: center;
}

.option-modal .product-badge--bestSeller {
  display: none;
}

.product-badge--spicy {
  border-color: rgba(197, 73, 59, 0.32);
  background: linear-gradient(135deg, rgba(255, 238, 234, 0.98), rgba(197, 73, 59, 0.13));
  color: #9a342a;
  min-width: 30px;
  justify-content: center;
}

.product-badge--vegetarian {
  border-color: rgba(63, 143, 92, 0.32);
  background: linear-gradient(135deg, rgba(235, 248, 239, 0.98), rgba(63, 143, 92, 0.13));
  color: #2f744a;
}

.price {
  color: var(--color-price);
  font-weight: var(--font-weight-extra-bold);
  white-space: nowrap;
}

.product-price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 8px;
}

.product-price--discounted {
  color: var(--color-text);
}

.product-price__original {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: var(--font-weight-medium);
}

.product-price__final {
  color: var(--color-price);
}

.product-price--gift .product-price__final,
.cart-item__gift {
  color: #138a43;
  font-weight: var(--font-weight-extra-bold);
}

.cart-item__gift {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(19, 138, 67, 0.1);
}

.cart-item__gift-original {
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-badge--temporary-offer {
  border-color: rgba(197, 73, 59, 0.3);
  background: linear-gradient(135deg, rgba(255, 238, 234, 0.98), rgba(197, 73, 59, 0.14));
  color: #9a342a;
}

.option-modal__price {
  justify-content: flex-start;
  width: fit-content;
}

.description {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.add-to-cart {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

/* Visual Repair 002: inner mobile menu polish */
.hero {
  position: relative;
  min-height: clamp(270px, 72vw, 340px);
  isolation: isolate;
  overflow: hidden;
  align-items: end;
  padding: 28px 22px 22px;
  background:
    linear-gradient(180deg, rgba(32, 26, 23, 0.08) 0%, rgba(32, 26, 23, 0.42) 46%, rgba(32, 26, 23, 0.88) 100%),
    var(--hero-image, linear-gradient(135deg, var(--color-primary), var(--color-secondary)));
  background-position: center 42%;
  box-shadow:
    0 18px 42px rgba(32, 26, 23, 0.18),
    inset 0 -90px 90px rgba(32, 26, 23, 0.24);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(194, 65, 12, 0.18), transparent 45%);
  content: "";
  pointer-events: none;
}

.hero__content {
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(32, 26, 23, 0.36);
  color: #fff7ed;
  font-size: 0.78rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.hero h2 {
  font-size: clamp(2rem, 10vw, 2.75rem);
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.hero #heroDescription {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 8px;
}

.hero__button {
  min-height: 48px;
  padding: 12px 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.hero__button--primary {
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
}

.hero__button--secondary {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.story-categories {
  gap: 6px;
  margin: 12px 0 4px;
  padding: 4px 4px 10px;
  scrollbar-width: none;
}

.story-categories::-webkit-scrollbar {
  display: none;
}

.story-category {
  width: 72px;
  min-height: unset;
  gap: 7px;
  border-radius: 0;
  padding: 4px 4px 6px;
  background: transparent;
  box-shadow: none;
}

.story-category__media {
  width: 60px;
  height: 60px;
  border-width: 2px;
  box-shadow:
    0 8px 18px rgba(32, 26, 23, 0.1),
    inset 0 0 0 3px rgba(255, 255, 255, 0.86);
}

.story-category__name {
  font-size: 0.76rem;
}

.story-category.is-active {
  box-shadow: none;
}

.temporary-offers {
  gap: 14px;
  margin: 24px 0 14px;
}

.temporary-offers__header {
  padding-inline: 2px;
}

.temporary-offers h2 {
  font-size: 1.28rem;
}

.temporary-offers__list {
  grid-auto-columns: minmax(0, 92%);
  gap: 14px;
  padding: 2px 2px 14px;
}

.temporary-offer-card {
  position: relative;
  border-color: rgba(194, 65, 12, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fff 0%, #fff7ed 100%),
    var(--color-surface);
  box-shadow: 0 18px 44px rgba(194, 65, 12, 0.14);
}

.temporary-offer-card__media {
  aspect-ratio: 4 / 3;
}

.temporary-offer-card__media img {
  object-position: center;
  transform: scale(1.01);
}

.temporary-offer-card__content {
  gap: 10px;
  padding: 15px;
}

.temporary-offer-card__badge {
  border-color: rgba(194, 65, 12, 0.28);
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
  color: #fff;
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.2);
}

.temporary-offer-card h3 {
  font-size: 1.08rem;
}

.temporary-offer-card__description,
.temporary-offer-card__date {
  font-size: 0.88rem;
}

.temporary-offer-card__action {
  width: 100%;
  min-height: 44px;
  justify-self: stretch;
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.18);
}

.menu-grid {
  gap: 16px;
}

.menu-card {
  border-color: rgba(32, 26, 23, 0.07);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(32, 26, 23, 0.08);
}

.menu-card__image-frame {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.12), transparent 50%),
    var(--color-background);
}

.menu-card__image {
  object-position: center;
}

.menu-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.menu-card__title-row {
  align-items: start;
  gap: 10px;
}

.menu-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.product-badges {
  gap: 5px;
}

.product-badge {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 0.72rem;
  box-shadow: none;
}

.price,
.product-price__final {
  color: var(--color-price);
  font-weight: 900;
}

.product-price {
  align-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--color-price-badge-bg);
  color: var(--color-price-badge-text);
  font-size: 0.98rem;
}

.description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.add-to-cart {
  min-height: 45px;
  margin-top: 2px;
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.16);
}

.cart-toggle {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  max-width: 398px;
  margin-inline: auto;
  border: 0;
  border-radius: 20px;
  padding: 14px 16px;
  background: var(--color-strong);
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  direction: rtl;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 0.3s cubic-bezier(.4, 0, .2, 1),
    transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

[dir="rtl"] .cart-toggle {
  direction: rtl;
}

[dir="ltr"] .cart-toggle {
  direction: ltr;
}

.cart-toggle.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cart-toggle__icon {
  display: none;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-toggle__count {
  display: grid;
  flex-shrink: 0;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1;
}

.cart-toggle__summary {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
  text-align: start;
}

.cart-toggle__items {
  color: #fff;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
}

.cart-toggle__total {
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
}

.cart-toggle__action {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.cart-toggle__count.is-popping {
  animation: floatingCartBadgePop 0.25s ease;
}

@keyframes floatingCartBadgePop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(32, 26, 23, 0.38);
}

.cart-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  width: min(460px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: -18px 0 35px rgba(32, 26, 23, 0.18);
  opacity: 0;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

[dir="rtl"] .cart-panel {
  right: auto;
  left: 12px;
  box-shadow: 18px 0 35px rgba(32, 26, 23, 0.18);
  transform: translateX(-105%);
}

.cart-panel.is-open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    visibility 0s;
}

.cart-panel__header,
.cart-panel__footer {
  padding: 16px;
  border-bottom: 1px solid rgba(32, 26, 23, 0.08);
}

.cart-panel__footer {
  flex-shrink: 0;
  overflow-y: auto;
  max-height: 65vh;
  border-top: 1px solid rgba(32, 26, 23, 0.08);
  border-bottom: 0;
  margin-top: 0;
}

.cart-panel__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-panel__header h2 {
  min-width: 0;
  margin: 0;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.cart-panel__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
}

.cart-items {
  display: grid;
  flex: 1 1 auto;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.cart-suggestions {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.cart-suggestions[hidden] {
  display: none;
}

.cart-suggestion-group {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(32, 26, 23, 0.025);
  animation: softFadeUp 240ms ease both;
}

.cart-suggestion-group__title {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.cart-suggestion-group__list {
  display: grid;
  gap: 8px;
}

.cart-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-background);
  animation: softFadeUp 240ms ease both;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.cart-item__top,
.cart-item__meta,
.cart-item__controls,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__top,
.cart-item__meta,
.cart-item__controls {
  flex-wrap: wrap;
}

.cart-item__name {
  min-width: 0;
  flex: 1 1 180px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cart-item__meta {
  justify-content: flex-start;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cart-item__options {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  list-style: none;
}

.cart-item__note {
  margin: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(194, 65, 12, 0.06);
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  padding: 4px;
  background: var(--color-surface);
}

.quantity-control__value {
  min-width: 28px;
  text-align: center;
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
}

.quantity-button,
.remove-button {
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.quantity-button {
  width: 32px;
  height: 32px;
}

.remove-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: var(--color-danger);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
}

.remove-button:hover,
.remove-button:focus-visible {
  border-color: var(--color-danger-border);
  background: var(--color-danger-soft);
  color: var(--color-danger);
  transform: scale(1.06);
}

.remove-button:active {
  transform: scale(0.96);
}

.cart-total strong {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: var(--font-weight-extra-bold);
}

.order-type {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  animation: softFadeUp 260ms ease both;
}

.order-type legend {
  padding: 0 4px;
  font-weight: var(--font-weight-medium);
}

.order-type__option {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.order-type__option:has(input:checked),
.payment-option:has(input:checked) {
  background: var(--color-primary-soft);
  box-shadow: inset 0 0 0 1px var(--color-primary-border);
}

.order-type__option[hidden] {
  display: none;
}

.order-type__error {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-weight: 700;
}

.table-number,
.customer-fields,
.delivery-location,
.payment-field,
.branch-field,
.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  animation: softFadeUp 240ms ease both;
}

.table-number[hidden],
.customer-fields[hidden],
.form-field[hidden],
.delivery-location[hidden] {
  display: none;
}

.table-number label,
.form-field label {
  font-weight: var(--font-weight-medium);
}

.delivery-location h3 {
  margin: 0;
  font-size: 1rem;
}

.delivery-location .secondary-action {
  justify-self: start;
}

.table-number input,
.form-field input,
.form-field textarea,
.branch-field select {
  width: 100%;
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.table-number input:focus,
.form-field input:focus,
.form-field textarea:focus,
.branch-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
  outline: 0;
}

.form-field textarea {
  resize: vertical;
}

.table-number__error,
.form-field__error {
  margin: 0;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.form-field__status {
  margin: 0;
  color: var(--color-muted);
  font-weight: var(--font-weight-medium);
}

.send-order-button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: var(--font-weight-bold);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.send-order-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.option-modal,
.final-review-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(32, 26, 23, 0.42);
}

.final-review-modal {
  z-index: 1200;
}

.option-modal[hidden],
.final-review-modal[hidden] {
  display: none;
}

/* â”€â”€ Forgot items reminder modal â”€â”€ */
.forgot-items-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: grid;
  place-items: end center;
  padding: 0 0 84px;
  pointer-events: none;
}

.forgot-items-modal[hidden] {
  display: none;
}

.forgot-items-modal__dialog {
  width: min(480px, calc(100% - 32px));
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 8px 32px rgba(32, 26, 23, 0.22), 0 2px 8px rgba(32, 26, 23, 0.1);
  pointer-events: all;
  animation: forgotSlideUp 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  overflow: hidden;
}

@keyframes forgotSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.forgot-items-modal__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 18px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(32, 26, 23, 0.07);
}

.forgot-items-modal__icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 2px;
}

.forgot-items-modal__header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.forgot-items-modal__subtitle {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.forgot-items-list {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.forgot-items-list::-webkit-scrollbar { display: none; }

.forgot-item-card {
  flex: 0 0 auto;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 10px;
  background: var(--color-bg, #fff7ed);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
  text-align: center;
}

.forgot-item-card:hover,
.forgot-item-card:focus-visible {
  border-color: var(--color-primary);
  background: rgba(168, 50, 18, 0.05);
  transform: translateY(-1px);
}

.forgot-item-card__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(32, 26, 23, 0.06);
}

.forgot-item-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.forgot-item-card__price {
  font-size: 0.76rem;
  color: var(--color-primary);
  font-weight: 700;
}

.forgot-items-modal__actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(32, 26, 23, 0.07);
}

.forgot-items-modal__actions .secondary-action,
.forgot-items-modal__actions .primary-action {
  flex: 1;
  padding: 11px;
  font-size: 0.92rem;
}

.option-modal__dialog,
.final-review-modal__dialog {
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.option-modal__header,
.final-review-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(32, 26, 23, 0.08);
}

.option-modal__eyebrow {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.option-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.final-review-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.option-modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
}

.option-form {
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
}

.option-groups {
  display: grid;
  gap: 16px;
}

.option-group {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
}

.option-group legend {
  padding: 0 4px;
  font-weight: 800;
}

.option-required {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.option-group__error {
  width: 100%;
  margin: 6px 0 0;
  color: var(--color-danger);
  font-size: 0.84rem;
  font-weight: var(--font-weight-bold);
}

.option-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--color-text);
}

.option-choice + .option-choice {
  border-top: 1px solid rgba(32, 26, 23, 0.08);
}

.option-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.option-choice--quantity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}

.option-choice--quantity.is-selected .option-choice__name {
  color: var(--color-primary);
  font-weight: 800;
}

.option-choice__name {
  min-width: 0;
}

.option-choice__unit-price {
  white-space: nowrap;
}

.option-quantity-control {
  display: inline-grid;
  grid-template-columns: 34px minmax(28px, auto) 34px;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.option-quantity-control .quantity-button {
  width: 34px;
  height: 34px;
}

.option-quantity-control__value {
  min-width: 28px;
  text-align: center;
  font-weight: 900;
}

@media (max-width: 480px) {
  .option-choice--quantity {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .option-quantity-control {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

.option-group--removals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-group--chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.option-group--chips legend,
.option-group--removals legend {
  width: 100%;
}

.option-choice--chip,
.option-choice--removal-button {
  display: block;
  padding: 0;
}

.option-choice--chip + .option-choice--chip,
.option-choice--removal-button + .option-choice--removal-button {
  border-top: 0;
}

.addon-choice-button,
.removal-choice-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(32, 26, 23, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    opacity 140ms ease,
    box-shadow 140ms ease;
}

.addon-choice-button:hover,
.addon-choice-button:focus-visible,
.removal-choice-button:hover,
.removal-choice-button:focus-visible {
  border-color: rgba(194, 65, 12, 0.45);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.11);
  outline: 0;
}

.addon-choice-button.is-selected {
  border-color: var(--color-success);
  background: var(--color-success-soft);
  color: var(--color-success-text);
  box-shadow: inset 0 0 0 1px var(--color-success-border);
}

.removal-choice-button.is-selected {
  border-color: var(--color-danger);
  background: var(--color-danger-soft);
  color: var(--color-danger);
  box-shadow: inset 0 0 0 1px var(--color-danger-border);
}

.addon-choice-button__label,
.removal-choice-button .option-label-with-icon {
  min-width: 0;
}

.addon-choice-button__price {
  color: inherit;
  font-size: 0.82em;
  font-weight: 900;
  white-space: nowrap;
}

.addon-choice-button__mark,
.removal-choice-button__mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  order: -1;
  border-radius: 999px;
  font-size: 0;
  font-weight: 950;
  opacity: 1;
  transform: scale(1);
  transition: opacity 140ms ease, transform 140ms ease;
}

.addon-choice-button__mark,
.removal-choice-button__mark {
  width: 0;
  margin-inline-end: -7px;
  opacity: 0;
  transform: scale(0.82);
}

.addon-choice-button__mark::before,
.removal-choice-button__mark::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: inherit;
  font-size: 0.82rem;
  line-height: 1;
}

.addon-choice-button__mark::before {
  content: "✓";
}

.removal-choice-button__mark::before {
  content: "";
}

.addon-choice-button.is-selected .addon-choice-button__mark,
.removal-choice-button.is-selected .removal-choice-button__mark {
  width: 1.25rem;
  margin-inline-end: 0;
  opacity: 1;
  transform: scale(1);
}

.addon-choice-button.is-selected .addon-choice-button__mark::before {
  background: var(--color-success);
  color: #fff;
}

.removal-choice-button.is-selected .removal-choice-button__mark::before {
  content: "×";
  background: var(--color-danger);
  color: #fff;
}

.removal-choice-button.is-selected .option-label-with-icon {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-danger);
}

.option-label-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  line-height: 1.45;
}

.option-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.75em;
  height: 1.75em;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.78), transparent 36%),
    rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1;
}

.option-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.option-icon--fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(249, 115, 22, 0.1));
}

.option-group__label {
  font-weight: 800;
}

.option-product-note {
  display: grid;
  gap: 8px;
}

.option-product-note label {
  font-weight: 800;
}

.option-product-note textarea {
  width: 100%;
  min-height: 84px;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  resize: vertical;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
}

.option-product-note textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
  outline: 0;
}

.option-error {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.option-modal__actions,
.final-review-modal__actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  flex-shrink: 0;
  padding: 12px 18px;
  border-top: 1px solid rgba(32, 26, 23, 0.07);
  background: var(--color-surface);
}

.final-review-modal__actions {
  padding: 0 18px 18px;
}

.final-review-content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.final-review-section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-background);
  animation: softFadeUp 260ms ease both;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.final-review-section h3 {
  margin: 0;
  font-size: 1rem;
}

.final-review-lines,
.final-review-products {
  display: grid;
  gap: 8px;
}

.final-review-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  line-height: 1.6;
}

.final-review-line strong {
  color: var(--color-text);
  text-align: end;
}

.final-review-product {
  display: grid;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(32, 26, 23, 0.08);
}

.final-review-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.final-review-product h4 {
  margin: 0;
  font-size: 0.98rem;
}

.final-review-product ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  list-style: none;
}

.primary-action,
.secondary-action {
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.primary-action {
  border: 0;
  background: var(--color-primary);
  color: #fff;
}

.secondary-action {
  border: 1px solid rgba(32, 26, 23, 0.12);
  background: var(--color-surface);
  color: var(--color-text);
}

/* Visual Repair 003: product modal, cart, and final review polish */
.option-modal,
.final-review-modal {
  padding: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.18), transparent 28rem),
    rgba(32, 26, 23, 0.58);
  backdrop-filter: blur(8px);
}

.option-modal__dialog,
.final-review-modal__dialog {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(32, 26, 23, 0.32);
}

.option-modal__header,
.final-review-modal__header {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  align-items: center;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 243, 0.96)),
    var(--color-surface);
  border-bottom: 1px solid rgba(32, 26, 23, 0.07);
}

.option-modal__eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 900;
}

.option-modal__header h2,
.final-review-modal__header h2 {
  line-height: 1.35;
}

.option-modal__close {
  flex: 0 0 auto;
  border-color: rgba(194, 65, 12, 0.16);
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.08);
}

.option-form,
.final-review-content {
  gap: 14px;
  padding: 16px;
}

.option-group {
  padding: 12px;
  border-color: rgba(32, 26, 23, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 243, 0.64)),
    var(--color-surface);
  box-shadow: 0 10px 24px rgba(32, 26, 23, 0.06);
}

.option-group legend {
  color: var(--color-text);
  font-size: 0.95rem;
}

.option-choice {
  gap: 10px;
  min-width: 0;
  border-radius: 12px;
  padding: 10px;
}

.option-choice + .option-choice {
  border-top: 0;
}

.option-choice:hover,
.option-choice:focus-within {
  background: rgba(194, 65, 12, 0.045);
}

.option-choice label,
.option-label-with-icon {
  min-width: 0;
}

.option-choice__name {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.option-choice__unit-price {
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--color-price-badge-bg);
  color: var(--color-price-badge-text);
  font-size: 0.84rem;
  font-weight: 900;
}

.option-choice--chip,
.option-choice--removal-button {
  padding: 0;
}

.option-choice--chip:hover,
.option-choice--chip:focus-within,
.option-choice--removal-button:hover,
.option-choice--removal-button:focus-within {
  background: transparent;
}

.option-choice--quantity {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 12px;
  background: #FFF8F0 !important;
  padding: 10px 12px;
  margin-bottom: 6px;
}

.option-choice--quantity.is-selected {
  border-color: rgba(194, 65, 12, 0.24);
  background: rgba(194, 65, 12, 0.07);
}

.option-quantity-control {
  grid-column: 1 / -1;
  justify-self: stretch;
  grid-template-columns: 42px minmax(42px, 1fr) 42px;
  gap: 8px;
  margin-top: 4px;
  padding: 5px;
  border: none;
  border-radius: 999px;
  background: transparent;
}

.option-quantity-control .quantity-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-color: rgba(194, 65, 12, 0.18);
  background: #1F1208;
  color: #F6A623;
  font-weight: 900;
}

.option-quantity-control .quantity-button {
  width: 42px;
  height: 36px;
  border-radius: 999px;
}

.option-quantity-control__value,
.quantity-control__value {
  display: grid;
  min-width: 34px;
  place-items: center;
  color: var(--color-text);
  font-size: 1rem;
}

.option-group--removals {
  gap: 8px;
}

.removal-choice-button {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.removal-choice-button.is-selected {
  box-shadow: inset 0 0 0 1px var(--color-danger-border);
}

.option-product-note textarea {
  min-height: 74px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.option-modal__actions,
.final-review-modal__actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  gap: 8px;
  padding-top: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 243, 0.96) 32%),
    var(--color-surface);
}

.option-modal__actions .primary-action,
.option-modal__actions .secondary-action,
.final-review-modal__actions .primary-action,
.final-review-modal__actions .secondary-action {
  flex: 1 1 0;
  min-height: 46px;
}

.primary-action,
.send-order-button {
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
  box-shadow: 0 12px 26px rgba(194, 65, 12, 0.18);
}

.cart-panel {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, #fff 0%, #fff8f3 100%),
    var(--color-surface);
  box-shadow: 0 24px 70px rgba(32, 26, 23, 0.26);
}

.cart-panel__header {
  background:
    linear-gradient(135deg, rgba(194, 65, 12, 0.08), rgba(249, 115, 22, 0.08)),
    var(--color-surface);
}

.cart-panel__close,
.remove-button {
  border-color: rgba(194, 65, 12, 0.16);
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
}

.cart-item {
  gap: 12px;
  border-color: rgba(32, 26, 23, 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 26, 23, 0.06);
}

.cart-item__top {
  align-items: flex-start;
}

.cart-item__name {
  flex-basis: 100%;
  font-size: 1.02rem;
  font-weight: 900;
}

.cart-item__meta {
  gap: 8px;
  font-size: 0.88rem;
}

.cart-item__options {
  gap: 6px;
  color: var(--color-text);
}

.cart-item__options li {
  border-radius: 10px;
  padding: 6px 8px;
  background: rgba(194, 65, 12, 0.055);
}

.quantity-control {
  border-radius: 999px;
  background: #fff;
}

.remove-button {
  min-height: 38px;
  padding-inline: 12px;
  border-radius: 999px;
}

.cart-total {
  align-items: center;
  border-radius: 14px;
  padding: 12px;
  background: rgba(194, 65, 12, 0.08);
}

.cart-total strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.send-order-button {
  min-height: 48px;
  border-radius: 14px;
}

.final-review-section {
  gap: 10px;
  border-color: rgba(32, 26, 23, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 26, 23, 0.06);
}

.final-review-section h3 {
  color: var(--color-primary);
  font-size: 1.02rem;
}

.final-review-line {
  align-items: flex-start;
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(32, 26, 23, 0.035);
}

.final-review-line strong {
  color: var(--color-text);
  font-weight: 900;
}

.final-review-product {
  gap: 8px;
  border-color: rgba(32, 26, 23, 0.07);
}

.final-review-product h4 {
  color: var(--color-text);
  font-weight: 900;
}

.final-review-product ul li {
  border-radius: 9px;
  padding: 5px 8px;
  background: rgba(194, 65, 12, 0.055);
}

.final-review-modal__actions .primary-action {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(194, 65, 12, 0.24);
}

/* Visual Repair 004: Brand identity visual polish */
.welcome-gate {
  background:
    radial-gradient(circle at top, var(--color-primary-soft), transparent 45%),
    var(--color-page-bg);
}

.welcome-gate__card,
.entry-panel {
  border-color: rgba(246, 178, 63, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 244, 232, 0.92)),
    var(--color-surface);
  box-shadow:
    0 20px 54px rgba(33, 23, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brand__name,
.welcome-gate__title,
.hero h2,
.temporary-offers h2,
.menu-card h3,
.final-review-modal__header h2,
.option-modal__header h2 {
  letter-spacing: 0;
}

.welcome-gate__taste,
.entry-panel__greeting,
.temporary-offers__eyebrow,
.new-products__eyebrow,
.price,
.product-price__final,
.final-review-section h3 {
  color: var(--color-price);
}

.welcome-gate__status,
.welcome-gate__hours,
.working-hours,
.order-status {
  border-color: rgba(246, 178, 63, 0.22);
  background:
    linear-gradient(135deg, rgba(246, 178, 63, 0.11), rgba(159, 31, 22, 0.06)),
    #fffaf4;
}

.welcome-gate__start,
.header-action,
.share-menu__button,
.hero__button--primary,
.temporary-offer-card__badge,
.temporary-offer-card__action,
.add-to-cart,
.primary-action,
.send-order-button {
  background:
    linear-gradient(135deg, #C2410C 0%, #EA7C1F 50%, #F6B23F 100%);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(194, 65, 12, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero {
  background:
    radial-gradient(circle at 72% 12%, rgba(246, 178, 63, 0.38), transparent 18rem),
    radial-gradient(circle at 14% 88%, rgba(232, 93, 31, 0.24), transparent 14rem),
    linear-gradient(180deg, rgba(33, 23, 20, 0.08) 0%, rgba(33, 23, 20, 0.45) 44%, rgba(33, 23, 20, 0.91) 100%),
    var(--hero-image, linear-gradient(135deg, var(--brand-coal), var(--brand-rust)));
  background-position: center 40%;
  border: 1px solid rgba(246, 178, 63, 0.16);
  box-shadow:
    0 22px 52px rgba(33, 23, 20, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -110px 100px rgba(33, 23, 20, 0.28);
}

.hero::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 244, 232, 0.19), transparent 25%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, rgba(232, 93, 31, 0.2), transparent 46%);
}

.eyebrow,
.temporary-offer-card__badge,
.product-badge {
  border-color: rgba(246, 178, 63, 0.32);
}

.hero__button--secondary {
  border-color: rgba(246, 178, 63, 0.38);
  background: rgba(33, 23, 20, 0.42);
  color: #fff4e8;
}

.story-category,
.category-tab {
  border-color: transparent;
  background: transparent;
}

.story-category__media {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, var(--brand-amber), var(--brand-flame), var(--brand-rust)) border-box;
}

.story-category.is-active,
.category-tab.is-active {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.story-category.is-active .story-category__name {
  color: var(--color-primary);
}

.temporary-offer-card {
  border-color: rgba(246, 178, 63, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 235, 213, 0.92)),
    var(--color-surface);
  box-shadow:
    0 20px 52px rgba(194, 65, 12, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.temporary-offer-card::before,
.menu-card::before {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-rust), var(--brand-flame), var(--brand-amber));
  content: "";
}

.temporary-offer-card__products span,
.product-detail-badge,
.product-badge {
  background:
    linear-gradient(135deg, rgba(246, 178, 63, 0.16), rgba(194, 65, 12, 0.08)),
    #fffaf4;
  color: var(--brand-coal);
}

.menu-card {
  position: relative;
  border-color: rgba(194, 65, 12, 0.08);
  background:
    linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%),
    var(--color-surface);
  box-shadow:
    0 14px 34px rgba(33, 23, 20, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.menu-card:hover,
.testimonial-card:hover,
.final-review-section:hover {
  box-shadow:
    0 18px 42px rgba(194, 65, 12, 0.13),
    0 0 0 1px rgba(246, 178, 63, 0.12);
}

.menu-card__image-frame {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(33, 23, 20, 0.04), rgba(232, 93, 31, 0.06)),
    var(--color-background);
}

.product-badge--bestSeller {
  border-color: rgba(246, 178, 63, 0.55);
  background:
    linear-gradient(135deg, rgba(246, 178, 63, 0.24), rgba(194, 65, 12, 0.12)),
    #fffaf4;
  color: #C2410C;
  min-width: 30px;
  justify-content: center;
}

.product-badge--spicy {
  border-color: rgba(232, 93, 31, 0.4);
  background:
    linear-gradient(135deg, rgba(232, 93, 31, 0.22), rgba(194, 65, 12, 0.1)),
    #fff4e8;
  color: #8a2619;
  min-width: 30px;
  justify-content: center;
}

.product-badge--temporary-offer {
  border-color: rgba(232, 93, 31, 0.4);
  background:
    linear-gradient(135deg, rgba(232, 93, 31, 0.22), rgba(194, 65, 12, 0.1)),
    #fff4e8;
  color: #8a2619;
}

.product-badge--new {
  border-color: rgba(20, 184, 166, 0.42);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(34, 197, 94, 0.14)),
    #fffaf4;
  color: #0f766e;
  font-size: 0.68rem;
  letter-spacing: 0;
  font-weight: 900;
}

.product-price,
.option-choice__unit-price,
.cart-total {
  background: var(--color-price-badge-bg);
  color: var(--color-price-badge-text);
}

.option-modal,
.final-review-modal {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.2), transparent 28rem),
    rgba(33, 23, 20, 0.66);
}

.option-group,
.final-review-section,
.cart-item,
.cart-panel {
  border-color: rgba(194, 65, 12, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 244, 232, 0.94)),
    var(--color-surface) !important;
}

.option-choice--quantity.is-selected,
.order-type__option:has(input:checked),
.payment-option:has(input:checked) {
  border-color: rgba(194, 65, 12, 0.32);
  background:
    linear-gradient(135deg, rgba(246, 166, 35, 0.12), rgba(194, 65, 12, 0.06)),
    #fffaf4;
}

body.is-menu-active {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.24), transparent 34rem),
    radial-gradient(circle at 20% 80%, rgba(232, 93, 31, 0.14), transparent 28rem),
    linear-gradient(135deg, #1b1210 0%, #2b1b15 48%, #541a13 100%);
}

body.is-menu-active::before {
  background:
    linear-gradient(180deg, #fff8ef 0%, var(--color-background) 100%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 0 8px rgba(246, 178, 63, 0.06);
}

.product-prep-time {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.order-confirmation {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--color-background);
  overflow-y: auto;
}

.order-confirmation[hidden] {
  display: none;
}

.order-confirmation__card {
  width: min(var(--app-shell-width), var(--order-modal-safe-width));
  max-width: var(--order-modal-safe-width);
  padding: 24px 18px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid var(--color-surface-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.order-confirmation__card > :not(.order-confirmation__topbar) {
  order: 2;
}

.order-confirmation__topbar {
  order: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  padding: 0 2px;
  text-align: start;
}

.order-confirmation__topbar[hidden] {
  display: none;
}

.order-confirmation__brand-name {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: var(--font-weight-extra-bold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-confirmation__open-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid var(--color-success-border);
  border-radius: 999px;
  background: var(--color-success-soft);
  color: var(--color-success-text);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.order-confirmation__open-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success) 16%, transparent);
  animation: orderConfirmationOpenPulse 2.2s ease-in-out infinite;
}

@keyframes orderConfirmationOpenPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success) 14%, transparent);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
    box-shadow:
      0 0 0 6px color-mix(in srgb, var(--color-success) 8%, transparent),
      0 0 10px color-mix(in srgb, var(--color-success) 30%, transparent);
  }
}

.order-confirmation__card::before {
  content: "↗";
  order: 1;
  display: inline-grid;
  align-self: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.order-confirmation.is-handoff:not(.is-icon-missing) .order-confirmation__card::before {
  display: none;
}

.order-confirmation__handoff-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.order-confirmation__handoff-icon[hidden] {
  display: none;
}

.order-confirmation.is-sent .order-confirmation__card::before {
  content: "\2713";
  border-color: transparent;
  background: var(--color-success);
  color: var(--color-on-success);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-success) 22%, transparent);
}

.order-confirmation.is-sent .order-confirmation__card {
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.order-confirmation.is-sent .order-confirmation__card h2 {
  color: var(--color-success-text);
}

.order-confirmation__card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.order-confirmation.is-handoff .order-confirmation__card h2 {
  color: var(--color-text);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.order-confirmation__card > p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.order-confirmation.is-handoff .order-confirmation__card > p {
  max-width: 34rem;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.75;
}

.order-confirmation__thanks {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.order-confirmation__custom-message {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.7;
}

.order-confirmation__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-success-border);
  background: var(--color-success-soft);
  color: var(--color-success-text);
  font-weight: var(--font-weight-extra-bold);
}

.order-confirmation__number strong {
  color: var(--color-success-text);
  font-size: 1.1rem;
}

.order-confirmation__summary {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.order-confirmation.is-handoff .order-confirmation__summary {
  gap: 0;
  padding: 8px 12px;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
}

.order-confirmation.is-sent .order-confirmation__summary {
  gap: 0;
  padding: 8px 12px;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
}

.order-confirmation__summary[hidden] {
  display: none;
}

.order-confirmation__summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.order-confirmation.is-handoff .order-confirmation__summary-item {
  min-width: 0;
  flex-direction: row;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: start;
}

.order-confirmation.is-sent .order-confirmation__summary-item {
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: start;
}

.order-confirmation.is-sent .order-confirmation__summary-item + .order-confirmation__summary-item {
  border-top: 1px solid var(--color-surface-border);
}

.order-confirmation.is-handoff .order-confirmation__summary-item + .order-confirmation__summary-item {
  border-top: 1px solid var(--color-surface-border);
}

.order-confirmation.is-handoff .order-confirmation__summary-item span,
.order-confirmation.is-handoff .order-confirmation__summary-item strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.order-confirmation__summary-item strong {
  color: var(--color-text);
  font-size: 0.98rem;
}

.order-confirmation__summary-item.is-strong {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
}

.order-confirmation.is-handoff .order-confirmation__summary-item.is-strong strong {
  color: var(--color-primary);
}

.order-confirmation.is-handoff .order-confirmation__summary-item.is-pending strong {
  max-width: 64%;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.order-confirmation__handoff-actions {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.order-confirmation__handoff-actions .primary-action {
  min-height: 48px;
  font-size: 0.98rem;
}

.order-confirmation__handoff-actions .secondary-action {
  min-height: 44px;
  border-color: var(--color-surface-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.order-confirmation__handoff-actions[hidden] {
  display: none;
}

.order-confirmation__handoff-actions .text-action {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.order-confirmation__handoff-actions .text-action:hover,
.order-confirmation__handoff-actions .text-action:focus-visible {
  color: var(--color-primary);
}

.order-confirmation__sent-button {
  width: 100%;
}

.order-confirmation__sent-button[hidden] {
  display: none;
}

.order-confirmation__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 0;
  flex-wrap: wrap;
}

#newOrderButton {
  order: 1;
}

#backToMenuButton {
  order: 2;
}

.branch-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.branch-field[hidden] {
  display: none !important;
}

.branch-field label {
  font-weight: 800;
}

.branch-field select {
  width: 100%;
  border: 1px solid rgba(32, 26, 23, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
}

.branch-error {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.order-status {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.9rem;
  animation: softFadeUp 280ms ease both;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.order-status strong {
  color: var(--color-text);
}

.order-status.is-closed {
  border-color: var(--color-primary);
}

.order-status.is-open {
  border-color: rgba(32, 26, 23, 0.1);
}

.story-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.story-link:hover {
  color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.08);
  transform: translateY(-1px);
}

.restaurant-story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  animation: softFadeUp 320ms ease both;
}

.restaurant-story[hidden] {
  display: none;
}

.restaurant-story__media {
  min-height: 100%;
  margin: 0;
  background: var(--color-background);
}

.restaurant-story__media[hidden] {
  display: none;
}

.restaurant-story__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  background: var(--color-background);
}

.restaurant-story__content {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 4vw, 28px);
}

.restaurant-story__subtitle {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.restaurant-story h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

.restaurant-story__paragraphs {
  display: grid;
  gap: 8px;
}

.restaurant-story__paragraphs p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.restaurant-story__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.restaurant-story__highlight {
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--color-background);
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.table-service {
  margin: 16px 0 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.table-service__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.table-service__description {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.table-service__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-service__btn {
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--color-background);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.table-service__btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.table-service__message {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.table-service__message.is-error {
  color: var(--color-primary);
  font-weight: 700;
}

.share-menu {
  position: relative;
  z-index: 30;
  margin: 10px 0 0;
}

.share-menu[hidden] {
  display: none;
}

.share-menu__actions {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.share-menu__button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: start;
  touch-action: manipulation;
  cursor: pointer;
}

.share-menu__button:hover,
.share-menu__button:focus-visible {
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

.share-menu__button--install {
  background: var(--color-surface);
}

.share-menu__message {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.share-menu__message.is-error {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action--share {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--color-primary-border);
  border-radius: 8px;
  padding: 7px 11px;
  background: var(--color-primary);
  color: var(--color-surface);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-action--share[hidden] {
  display: none;
}

.header-action--share:hover {
  background: var(--color-primary);
}

.menu-qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  animation: softFadeUp 280ms ease both;
}

#menuQrSection {
  display: none !important;
}

.menu-qr__content {
  display: grid;
  gap: 14px;
}

.menu-qr__title {
  margin: 0;
  font-size: 1.2rem;
}

.menu-qr__description,
.menu-qr__url {
  margin: 6px 0 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.menu-qr__url {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.menu-qr__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-qr__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.menu-qr__button--secondary {
  border: 1px solid rgba(32, 26, 23, 0.12);
  background: var(--color-background);
  color: var(--color-text);
}

.menu-qr__code {
  display: grid;
  width: 164px;
  min-height: 164px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.menu-qr__code svg {
  width: 100%;
  height: auto;
}

.review-link {
  margin-top: 12px;
  animation: softFadeUp 280ms ease both;
}

.review-link__hint {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.review-link__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.review-link__button:hover {
  color: var(--color-primary);
}

.review-link__message {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.reorder-banner {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(194, 65, 12, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.99), rgba(255, 244, 232, 0.97));
  animation: softFadeUp 280ms ease both;
}

.reorder-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reorder-banner__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}

.reorder-banner__action {
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  padding: 7px 13px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.reorder-last__message {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.reorder-last__message.is-error {
  color: var(--color-primary);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner {
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(212, 169, 94, 0.34);
  background:
    linear-gradient(145deg, rgba(35, 22, 15, 0.96), rgba(12, 9, 7, 0.98)),
    var(--color-surface);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__content {
  align-items: stretch;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #f6e7c8;
  line-height: 1.4;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__title {
  display: block;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__summary {
  display: block;
  color: rgba(246, 231, 200, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__action {
  border: 1px solid rgba(255, 236, 188, 0.24);
  background: linear-gradient(135deg, #d6a34c, #8d5f24);
  color: #1b120c;
  box-shadow: 0 10px 22px rgba(214, 163, 76, 0.18);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-last__message {
  color: rgba(246, 231, 200, 0.78);
}

html[dir="rtl"][data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner {
  text-align: right;
}

@media (max-width: 420px) {
  html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .reorder-banner__content {
    flex-wrap: wrap;
  }
}

.testimonials {
  margin-top: 18px;
  animation: softFadeUp 320ms ease both;
}

.testimonials h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.testimonial-card {
  display: grid;
  gap: 8px;
  max-width: 640px;
  padding: 16px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.06);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.testimonial-card.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.testimonial-card__stars {
  color: var(--color-secondary);
  letter-spacing: 1px;
}

.testimonial-card__text {
  margin: 0;
  color: var(--color-text);
  line-height: 1.7;
}

.testimonial-card__name {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.social-links {
  margin: 12px 0 0;
}

.entry-panel .social-links {
  margin: 0;
}

.social-links__label {
  display: none;
}

.social-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 999px;
  background: #1C1109;
  color: #fff7ed;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(32, 26, 23, 0.12);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(245, 158, 11, 0.58);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(194, 65, 12, 0.22);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.32);
  outline-offset: 3px;
}

.social-link__icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.social-link__icon--snapchat {
  width: 21px;
  height: 21px;
}

.working-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.92rem;
  animation: softFadeUp 280ms ease both;
}

.entry-panel .working-hours,
.entry-panel .order-status {
  margin: 0;
  min-height: 42px;
}

.entry-panel .working-hours {
  background: rgba(255, 248, 243, 0.78);
}

.entry-panel .order-status {
  align-content: center;
  min-width: 190px;
}

.working-hours strong {
  color: var(--color-text);
}

.prep-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.92rem;
  animation: softFadeUp 280ms ease both;
}

.prep-time strong {
  color: var(--color-text);
}

.payment-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.payment-field h3 {
  margin: 0;
  font-size: 1rem;
}

.payment-options {
  display: grid;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-background);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.payment-option:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.payment-option:has(input:disabled),
.order-type__option:has(input:disabled),
.option-choice:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.52;
}

.payment-option input {
  accent-color: var(--color-primary);
}

.payment-error {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* â”€â”€ Nutrition filters â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.category-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.category-tabs-row .category-tabs {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.nutrition-filters-wrap {
  flex-shrink: 0;
}

.nutrition-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(32, 26, 23, 0.14);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}

.nutrition-filter-toggle.is-active {
  border-color: rgba(194, 65, 12, 0.4);
  background: rgba(194, 65, 12, 0.07);
  color: var(--color-primary);
}

.nutrition-filter-toggle__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.nutrition-filters-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 12px;
  border: 1px solid rgba(194, 65, 12, 0.13);
  border-radius: 10px;
  background: rgba(194, 65, 12, 0.04);
}

.nutrition-filters-panel[hidden] {
  display: none;
}

.nutrition-filters__clear {
  border: 0;
  background: none;
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
  margin-right: auto;
}

[dir="rtl"] .nutrition-filters__clear {
  margin-right: 0;
  margin-left: auto;
}

.nutrition-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nutrition-filter-btn {
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 99px;
  padding: 5px 11px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
}

.nutrition-filter-btn.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 0;
}

.product-tag {
  display: inline-block;
  border-radius: 99px;
  padding: 2px 8px;
  background: rgba(32, 26, 23, 0.06);
  color: var(--color-muted);
  font-size: 0.78rem;
}

.product-details-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.product-detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(194, 65, 12, 0.07);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.product-detail-badge--calories {
  color: var(--color-primary);
}

.product-details {
  margin-top: 10px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  background: rgba(32, 26, 23, 0.025);
  overflow: hidden;
}

.product-details summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 800;
  list-style-position: inside;
}

.product-details[open] summary {
  border-bottom: 1px solid rgba(32, 26, 23, 0.08);
}

.product-details__section {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.product-details__section + .product-details__section {
  border-top: 1px solid rgba(32, 26, 23, 0.06);
}

.product-details__section h4 {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.product-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-ingredients li {
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.82rem;
  line-height: 1.4;
}

.product-nutrition {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.product-nutrition dt,
.product-nutrition dd {
  margin: 0;
}

.recommended-products {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(32, 26, 23, 0.025);
}

.recommended-products__title {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.recommended-products__list {
  display: grid;
  gap: 8px;
}

.recommended-product {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border-radius: 8px;
  padding: 8px;
  background: var(--color-surface);
  box-shadow: 0 8px 20px rgba(32, 26, 23, 0.06);
}

.recommended-product__image {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(32, 26, 23, 0.05);
  color: var(--color-muted);
  font-weight: 900;
}

.recommended-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended-product__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.recommended-product__name {
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-product__price {
  font-size: 0.82rem;
}

.recommended-product__action {
  min-height: 34px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-nutrition dt {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.product-nutrition dd {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 800;
}

/* â”€â”€ Seasonal themes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

body.theme-default {
  /* Uses root variables â€” no overrides */
}

body.theme-ramadan {
  --color-background: #1e0a35;
  --color-surface: #2b1050;
  --color-primary: #d4a017;
  --color-secondary: #9b59b6;
  --color-text: #f5ead8;
  --color-muted: #c0a8e0;
}

body.theme-eid {
  --color-background: #f9f6e7;
  --color-surface: #fffef5;
  --color-primary: #b8860b;
  --color-secondary: #2e8b57;
  --color-text: #1a2e10;
  --color-muted: #5a7a55;
}

body.theme-national-day {
  --color-background: #f0fff4;
  --color-surface: #ffffff;
  --color-primary: #006b3c;
  --color-secondary: #00a651;
  --color-text: #003d1f;
  --color-muted: #4a8c6a;
}

body.theme-winter {
  --color-background: #f0f4f8;
  --color-surface: #ffffff;
  --color-primary: #1a5276;
  --color-secondary: #2e86c1;
  --color-text: #0d1b2a;
  --color-muted: #5d7a99;
}

body.theme-summer {
  --color-background: #fff8e8;
  --color-surface: #ffffff;
  --color-primary: #e67e22;
  --color-secondary: #f39c12;
  --color-text: #2d1b00;
  --color-muted: #8c6a3a;
}

@media (max-width: 620px) {
  .app-header {
    padding-inline: 12px;
  }

  .entry-panel,
  .entry-panel__top,
  .entry-panel__body,
  .entry-panel__meta {
    align-items: stretch;
  }

  .entry-panel__top,
  .entry-panel__body {
    flex-direction: column;
  }

  .entry-panel__meta {
    justify-content: stretch;
  }

  .entry-panel .social-links,
  .entry-panel .order-status,
  .entry-panel .working-hours,
  .entry-panel__language,
  .header-action {
    width: 100%;
  }

  .entry-panel .social-links__list {
    justify-content: center;
  }

  .header-action {
    justify-content: center;
    text-align: center;
  }

  .temporary-offers__list {
    grid-auto-columns: minmax(260px, 88vw);
  }

  .cart-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  [dir="rtl"] .cart-panel {
    right: auto;
    left: 0;
  }

  .cart-panel__header,
  .cart-panel__footer,
  .cart-items {
    padding: 14px;
  }

  .cart-panel__footer {
    max-height: 55vh;
  }

  .cart-item__top,
  .cart-item__controls,
  .cart-total {
    align-items: stretch;
  }

  .cart-item__price {
    justify-content: flex-start;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 280px;
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__button {
    flex: 1 1 140px;
  }

  .story-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
    padding: 4px 22px 14px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    touch-action: pan-x;
  }

  .story-category {
    width: 86px;
    min-width: 86px;
    min-height: 104px;
    flex: 0 0 86px;
    scroll-snap-align: start;
    transition:
      border-color 140ms ease,
      color 140ms ease,
      opacity 140ms ease;
  }

  .story-category__media {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    flex: 0 0 62px;
  }

  .story-category,
  .story-category__media,
  .story-category__image {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
  }

  .story-category.is-active {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .story-category.is-active .story-category__media {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    box-shadow:
      0 4px 12px rgba(194, 65, 12, 0.18),
      0 0 0 2px rgba(249, 115, 22, 0.1);
  }

  .story-category__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .story-category__name {
    display: block;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: clip;
  }

  .language-switcher {
    width: 100%;
  }

  .language-option {
    flex: 1 1 0;
  }

  main {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card__image-frame {
    aspect-ratio: 4 / 3;
  }

  .product-nutrition {
    grid-template-columns: 1fr;
  }

  .cart-toggle {
    bottom: 16px;
  }

  .menu-qr {
    grid-template-columns: 1fr;
  }

  .menu-qr__code {
    justify-self: start;
  }

  .restaurant-story {
    grid-template-columns: 1fr;
  }

  .restaurant-story__media img {
    min-height: 190px;
  }

  .image-preview {
    padding: 8px;
  }

  .image-preview__dialog {
    max-height: calc(100vh - 16px);
    padding: 12px;
  }

  .image-preview__image {
    max-height: 100%;
  }
}

@media (min-width: 700px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.24), transparent 34rem),
      radial-gradient(circle at 20% 80%, rgba(232, 93, 31, 0.14), transparent 28rem),
      linear-gradient(135deg, #1b1210 0%, #2b1b15 48%, #541a13 100%);
  }

  body.is-menu-active {
    display: block;
    min-height: 100vh;
    padding: 24px 0;
    position: relative;
  }

  body.is-menu-active::before {
    position: fixed;
    inset: 24px 50% 24px auto;
    z-index: 0;
    width: min(430px, calc(100vw - 48px));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: var(--color-background);
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.38),
      0 0 0 8px rgba(255, 255, 255, 0.045);
    content: "";
    transform: translateX(50%);
    pointer-events: none;
  }

  body.is-entry-active,
  body.welcome-gate-active {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
      radial-gradient(circle at top, var(--color-primary-soft), transparent 45%),
      var(--color-page-bg);
  }

  .welcome-gate {
    width: min(430px, calc(100vw - 48px));
    min-height: calc(100vh - 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 18px;
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.38),
      0 0 0 8px rgba(255, 255, 255, 0.045);
  }

  .welcome-gate__card {
    width: 100%;
  }

  .app-header,
  main {
    width: min(430px, calc(100vw - 48px));
    margin-inline: auto;
  }

  .app-header {
    padding: 12px 12px 0;
    border-radius: 18px 18px 0 0;
    background: transparent;
  }

  .entry-panel {
    width: 100%;
    border-radius: 14px;
    padding: 14px;
  }

  .entry-panel__top,
  .entry-panel__body {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-panel__meta {
    justify-content: stretch;
  }

  .entry-panel .social-links,
  .entry-panel .order-status,
  .entry-panel .working-hours,
  .entry-panel__language,
  .header-action {
    width: 100%;
  }

  .entry-panel .social-links__list {
    justify-content: center;
  }

  .header-action {
    justify-content: center;
  }

  main {
    padding: 18px 12px 38px;
    position: relative;
    z-index: 1;
    border-radius: 0 0 18px 18px;
    background: var(--color-background);
  }

  .hero {
    min-height: 300px;
    padding: 28px 22px 22px;
  }

  .hero h2 {
    font-size: 2.35rem;
  }

  .temporary-offers__list {
    grid-auto-columns: minmax(0, 100%);
  }

  .new-products__list,
  .menu-grid,
  body[data-layout-product-view="compact"] .menu-grid {
    grid-template-columns: 1fr;
  }

  body[data-layout-product-view="list"] .menu-card {
    grid-template-columns: 1fr;
  }

  body[data-layout-product-view="list"] .menu-card__image-frame {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .cart-toggle {
    right: auto;
    left: 50%;
    bottom: 16px;
    width: min(398px, calc(100vw - 32px));
    max-width: none;
    transform: translate(-50%, 20px);
  }

  [dir="rtl"] .cart-toggle {
    right: auto;
    left: 50%;
  }

  .cart-toggle.is-visible {
    transform: translate(-50%, 0);
  }

  .cart-toggle.is-hidden {
    transform: translate(-50%, 20px);
  }

  .cart-panel {
    top: 24px;
    right: calc(50% - min(215px, calc((100vw - 48px) / 2)));
    bottom: 24px;
    width: min(430px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    border-radius: 18px;
  }

  [dir="rtl"] .cart-panel {
    right: auto;
    left: calc(50% - min(215px, calc((100vw - 48px) / 2)));
  }

  .option-modal,
  .final-review-modal {
    padding: 24px;
  }

  .option-modal__dialog,
  .final-review-modal__dialog {
    width: min(430px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    border-radius: 18px;
  }
}

/* Visual Repair 005: Entry screen polish and Urdu localization pass */
.welcome-gate__card {
  width: min(100%, 430px);
  padding: clamp(22px, 6vw, 34px);
  gap: 18px;
  color: #2a160d;
  border-color: rgba(246, 178, 63, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 244, 232, 0.95));
  box-shadow:
    0 26px 70px rgba(33, 23, 20, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.welcome-gate__logo {
  width: 92px;
  height: 92px;
  padding: 10px;
  border: 1px solid rgba(246, 178, 63, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 22%, rgba(246, 178, 63, 0.24), transparent 55%),
    #fff7ed;
  box-shadow:
    0 16px 34px rgba(194, 65, 12, 0.16),
    0 0 0 8px rgba(246, 178, 63, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.welcome-gate__kicker {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.9);
  color: var(--brand-rust);
  font-size: 0.75rem;
  font-weight: 900;
}

.welcome-gate__title {
  color: #2a160d;
  font-size: clamp(2rem, 11vw, 2.7rem);
  line-height: 0.95;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.welcome-gate__taste,
.welcome-gate__greeting,
.welcome-gate__line {
  color: #4b3027;
}

.welcome-gate__taste {
  max-width: 24rem;
  margin-inline: auto;
  font-size: 0.98rem;
  font-weight: 800;
}

.welcome-gate__greeting {
  font-size: 1.12rem;
  font-weight: 950;
}

.welcome-gate__line {
  font-size: 0.94rem;
  font-weight: 700;
}

.welcome-gate__status,
.welcome-gate__hours {
  width: 100%;
  gap: 6px;
  padding: 14px 16px;
  border-color: rgba(246, 178, 63, 0.32);
  background:
    linear-gradient(135deg, rgba(246, 178, 63, 0.16), rgba(194, 65, 12, 0.08)),
    #fffaf4;
  color: #4b3027;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.welcome-gate__status strong,
.welcome-gate__hours strong {
  color: #2a160d;
  font-size: 0.98rem;
}

.welcome-gate__status.is-open strong {
  color: #15803d;
}

.welcome-gate__status.is-closed strong {
  color: #b91c1c;
}

.welcome-gate__social .social-links__list {
  justify-content: center;
  gap: 9px;
}

.welcome-gate__social .social-link {
  width: 43px;
  height: 43px;
  border-color: rgba(194, 65, 12, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 237, 213, 0.86));
  color: var(--brand-rust);
  box-shadow: 0 10px 22px rgba(33, 23, 20, 0.08);
}

.welcome-gate__language {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(246, 178, 63, 0.2);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.74);
}

.welcome-gate__language-title {
  color: #2a160d;
  font-size: 0.96rem;
  font-weight: 950;
}

.welcome-gate__language .language-switcher {
  width: 100%;
  gap: 6px;
  padding: 5px;
  border-color: rgba(194, 65, 12, 0.16);
  background: rgba(255, 237, 213, 0.74);
}

.welcome-gate__language .language-option {
  min-height: 42px;
  border-radius: 11px;
  color: #5f382b;
  font-weight: 900;
}

.welcome-gate__language .language-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, #C2410C 0%, #EA7C1F 55%, #F6B23F 100%);
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.22);
}

.welcome-gate__order-type {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.welcome-order-type-step .welcome-gate__card {
  width: min(100%, 500px);
  gap: 12px;
  padding: clamp(24px, 5vw, 36px);
}

body.welcome-order-type-step .welcome-gate__logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

body.welcome-order-type-step .welcome-gate__title {
  max-width: 100%;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.12;
}

body.welcome-order-type-step .welcome-gate__taste {
  max-width: 24rem;
  color: #7c4a31;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.welcome-order-type-step .welcome-gate__order-type {
  width: 100%;
  display: grid;
  gap: 12px;
}

body.welcome-order-type-step .welcome-gate__order-type::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 2px 0 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(194, 65, 12, 0.22),
    rgba(246, 178, 63, 0.24),
    transparent
  );
}

.welcome-gate__order-type-list {
  gap: 10px;
}

.welcome-gate__order-type-button {
  min-height: 122px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.88));
  color: #5f382b;
  font-weight: 900;
  border-color: rgba(246, 178, 63, 0.24);
}

body.welcome-order-type-step .welcome-gate__order-type-list {
  gap: 12px;
}

body.welcome-order-type-step .welcome-gate__order-type-button {
  min-height: 128px;
  padding: 13px 10px 12px;
  border-radius: 12px;
  border-color: rgba(194, 65, 12, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.92));
  box-shadow:
    0 12px 26px rgba(33, 23, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.welcome-order-type-step .welcome-gate__order-type-image {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

body.welcome-order-type-step .welcome-gate__order-type-button:hover,
body.welcome-order-type-step .welcome-gate__order-type-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(194, 65, 12, 0.34);
  box-shadow:
    0 16px 34px rgba(194, 65, 12, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.welcome-order-type-step .welcome-gate__order-type-button.is-selected {
  border-color: rgba(194, 65, 12, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 1), rgba(255, 237, 213, 0.94));
  box-shadow:
    0 16px 34px rgba(194, 65, 12, 0.16),
    0 0 0 3px rgba(246, 178, 63, 0.14);
}

.welcome-gate__order-type-button:hover,
.welcome-gate__order-type-button:focus-visible {
  border-color: rgba(194, 65, 12, 0.32);
}

.welcome-gate__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 16px;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: var(--font-weight-bold);
}

/* Unified Welcome Gate Layout */
.welcome-gate__card {
  min-height: min(760px, calc(100dvh - 84px));
  align-content: start;
  grid-template-rows: auto auto auto auto minmax(12px, 1fr) auto auto;
}

.welcome-gate__brand {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.welcome-gate__language {
  width: auto;
  min-width: min(100%, 245px);
  justify-self: start;
  padding: 8px;
  border-color: var(--color-surface-border);
  background: var(--color-surface-soft);
}

[dir="rtl"] .welcome-gate__language {
  justify-self: end;
}

.welcome-gate__language-title,
.welcome-gate__order-type .welcome-gate__language-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.welcome-gate__language .language-switcher {
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.welcome-gate__language .language-option {
  min-height: 36px;
  padding: 8px 10px;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.welcome-gate__language .language-option.is-active {
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: 0 10px 22px var(--color-primary-border);
}

.welcome-gate__kicker {
  max-width: 24rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.65;
}

.welcome-gate__status,
.welcome-gate__hours {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-text-secondary);
}

.welcome-gate__status strong,
.welcome-gate__hours strong {
  color: var(--color-strong);
  font-weight: var(--font-weight-bold);
}

.welcome-gate__status.is-open strong {
  color: var(--color-success-text);
}

.welcome-gate__status.is-closed strong {
  color: var(--color-danger);
}

.welcome-gate__order-type {
  width: 100%;
  display: grid;
  gap: 10px;
}

.welcome-gate__order-type-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.welcome-gate__order-type-button,
body.welcome-order-type-step .welcome-gate__order-type-button {
  min-height: 44px;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border-color: var(--color-surface-border);
  background: var(--color-surface-soft);
  color: var(--color-text);
  box-shadow: none;
  font-weight: var(--font-weight-bold);
}

.welcome-gate__order-type-image,
body.welcome-order-type-step .welcome-gate__order-type-image {
  display: none;
}

.welcome-gate__order-type-button:hover,
.welcome-gate__order-type-button:focus-visible,
body.welcome-order-type-step .welcome-gate__order-type-button:hover,
body.welcome-order-type-step .welcome-gate__order-type-button:focus-visible {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  box-shadow: 0 12px 26px var(--color-primary-border);
}

.welcome-gate__order-type-button.is-selected,
body.welcome-order-type-step .welcome-gate__order-type-button.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: 0 12px 26px var(--color-primary-border);
}

.welcome-gate__spacer {
  min-height: clamp(8px, 5dvh, 42px);
}

.welcome-gate__social {
  align-self: end;
}

.welcome-gate__social .social-link {
  border-color: var(--color-surface-border);
  background: var(--color-surface-soft);
  color: var(--color-primary);
}

.welcome-gate__start {
  background: var(--color-primary);
  color: var(--color-surface);
}

.welcome-gate__start:hover,
.welcome-gate__start:focus-visible {
  background: var(--color-primary-hover);
}

.welcome-gate__start:disabled,
.welcome-gate__start[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

@media (max-width: 420px) {
  .welcome-gate__order-type-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .welcome-gate__card {
    min-height: calc(100dvh - 84px);
  }

  .welcome-gate__order-type-button,
  body.welcome-order-type-step .welcome-gate__order-type-button {
    padding-inline: 6px;
    font-size: 0.82rem;
  }
}

/* Unified Welcome Gate Visual Correction */
body.is-entry-active,
body.welcome-gate-active {
  padding: 0;
  display: block;
  min-height: 100svh;
  background: var(--color-page-bg);
}

.welcome-gate {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.welcome-gate::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top, var(--color-primary-soft), transparent 45%),
    var(--color-page-bg);
  content: "";
}

.welcome-gate::after {
  display: none;
  content: none;
}

.welcome-gate__card,
body.welcome-order-type-step .welcome-gate__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 18px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: initial;
  gap: 0;
  color: var(--color-text);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: none;
}

.welcome-gate__language {
  position: absolute;
  top: 18px;
  left: 18px;
  right: auto;
  z-index: 3;
  width: auto;
  min-width: 0;
  max-width: max-content;
  height: 32px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: none;
}

[dir="rtl"] .welcome-gate__language {
  left: 18px;
  right: auto;
  justify-self: auto;
}

.welcome-gate__language .language-switcher {
  width: auto;
  height: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  border: 0;
  background: transparent;
}

.welcome-gate__language .language-option {
  flex: 0 0 auto;
  min-width: 34px;
  min-height: 26px;
  height: 26px;
  padding: 3px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--color-text-secondary);
  background: transparent;
  font-size: 0.76rem;
  font-weight: var(--font-weight-bold);
}

.welcome-gate__language .language-option.is-active {
  color: var(--color-surface);
  background: var(--color-primary);
  box-shadow: none;
}

.welcome-gate__brand {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.welcome-gate__logo,
body.welcome-order-type-step .welcome-gate__logo {
  width: 88px;
  height: 88px;
  padding: 8px;
  border: 1px solid var(--color-primary-border);
  border-radius: 50%;
  background: var(--color-surface);
  object-fit: contain;
  box-shadow: none;
}

.welcome-gate__title,
body.welcome-order-type-step .welcome-gate__title {
  margin-top: 20px;
  max-width: 280px;
  color: var(--color-strong);
  font-size: clamp(2rem, 10vw, 2.75rem);
  line-height: 1.02;
  text-align: center;
  text-shadow: none;
}

.welcome-gate__kicker {
  order: 3;
  margin-top: 8px;
  max-width: 280px;
  padding: 0;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  text-align: center;
  text-shadow: none;
}

.welcome-gate__meta-pill {
  margin-top: 28px;
  min-height: 40px;
  max-width: calc(100vw - 48px);
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
}

.welcome-gate__status,
.welcome-gate__hours {
  width: auto;
  min-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
}

.welcome-gate__status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  content: "";
}

.welcome-gate__status.is-open::before {
  background: var(--color-success);
}

.welcome-gate__hours::before {
  width: 1px;
  height: 18px;
  background: var(--color-surface-border);
  content: "";
}

.welcome-gate__hours span {
  display: none;
}

.welcome-gate__status strong,
.welcome-gate__hours strong {
  color: var(--color-strong);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.welcome-gate__status.is-open strong {
  color: var(--color-success-text);
}

.welcome-gate__status.is-closed strong {
  color: var(--color-danger);
}

.welcome-gate__status span {
  display: none;
}

.welcome-gate__order-type {
  margin-top: 20px;
  width: auto;
  max-width: calc(100vw - 48px);
  padding: 0;
  display: flex;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.welcome-gate__order-type-list,
body.welcome-order-type-step .welcome-gate__order-type-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: calc(100vw - 48px);
}

.welcome-gate__order-type-button,
body.welcome-order-type-step .welcome-gate__order-type-button {
  min-height: 34px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: var(--font-weight-bold);
}

.welcome-gate__order-type-button:hover,
.welcome-gate__order-type-button:focus-visible,
body.welcome-order-type-step .welcome-gate__order-type-button:hover,
body.welcome-order-type-step .welcome-gate__order-type-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-text);
  box-shadow: none;
}

.welcome-gate__order-type-button.is-selected,
body.welcome-order-type-step .welcome-gate__order-type-button.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: none;
}

.welcome-gate__spacer {
  flex: 1;
  min-height: 48px;
}

.welcome-gate__social {
  width: auto;
  max-width: calc(100vw - 48px);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.welcome-gate__social .social-links__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.welcome-gate__social .social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: none;
}

.welcome-gate__start {
  width: 100%;
  max-width: 420px;
  min-height: 56px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: none;
  font-weight: var(--font-weight-bold);
  align-self: center;
}

.welcome-gate__start::after {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-primary-hover);
  color: var(--color-surface);
  content: ">";
}

.welcome-gate__start:hover,
.welcome-gate__start:focus-visible {
  background: var(--color-primary-hover);
}

.welcome-gate__start:disabled,
.welcome-gate__start[aria-disabled="true"] {
  opacity: 0.62;
}

.welcome-gate__start:disabled::after,
.welcome-gate__start[aria-disabled="true"]::after {
  opacity: 0.72;
}

@media (max-height: 700px) {
  .welcome-gate__brand {
    margin-top: 56px;
  }

  .welcome-gate__logo,
  body.welcome-order-type-step .welcome-gate__logo {
    width: 76px;
    height: 76px;
  }

  .welcome-gate__title,
  body.welcome-order-type-step .welcome-gate__title {
    margin-top: 14px;
  }

  .welcome-gate__meta-pill {
    margin-top: 20px;
  }

  .welcome-gate__order-type {
    margin-top: 14px;
  }

  .welcome-gate__social {
    margin-bottom: 14px;
  }

  .welcome-gate__start {
    min-height: 52px;
    padding-block: 10px;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #menuQrSection,
  #menuQrSection * {
    visibility: visible !important;
  }

  #menuQrSection {
    position: absolute;
    inset: 24px auto auto 24px;
    width: calc(100% - 48px);
    box-shadow: none;
  }

  .menu-qr__actions {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-enter {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Feature UI - Mobile product list with direct quantity controls */
.menu-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.menu-card.product-row,
body[data-layout-product-view="list"] .menu-card.product-row,
body[data-layout-product-view="compact"] .menu-card.product-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(194, 65, 12, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.98), rgba(255, 244, 232, 0.96)),
    var(--color-surface);
  box-shadow:
    0 10px 24px rgba(33, 23, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.menu-card.product-row.is-highlighted {
  border-color: rgba(232, 93, 31, 0.5);
  box-shadow:
    0 16px 34px rgba(194, 65, 12, 0.16),
    0 0 0 2px rgba(246, 178, 63, 0.22);
}

/* â”€â”€ product-row new class names (map to menu-card__ equivalents) â”€â”€ */
.product-row .product-row__media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 100px;
  aspect-ratio: auto;
  overflow: hidden;
  border-inline-end: 1px solid rgba(194, 65, 12, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.18), transparent 58%),
    linear-gradient(135deg, rgba(33, 23, 20, 0.08), rgba(232, 93, 31, 0.08)),
    #fff4e8;
}

[dir="rtl"] .product-row .product-row__media {
  border-inline-end: 0;
  border-inline-start: 1px solid rgba(194, 65, 12, 0.1);
}

.product-row .product-row__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-row .product-row__content {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px;
}

[dir="rtl"] .product-row .product-row__media {
  grid-column: 2;
}

[dir="rtl"] .product-row .product-row__content {
  grid-column: 1;
}

.product-row .product-row__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--brand-coal, var(--color-text));
}

.product-row .product-row__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6f5d54;
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-row .product-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.product-row .product-row__media.is-missing {
  display: none;
}

.product-row .product-row__media.is-missing ~ .product-row__content {
  grid-column: 1 / -1;
}

.product-row .product-row__tags,
.product-row .product-details-summary,
.product-row .product-details,
.product-row .recommended-products,
.product-row .product-prep-time {
  display: none;
}



.product-row .menu-card__body {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  min-width: 0;
  padding: 11px 12px;
}

[dir="rtl"] .product-row .menu-card__image-frame {
  grid-column: 2;
}

[dir="rtl"] .product-row .menu-card__body {
  grid-column: 1;
}

.product-row .menu-card__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.product-row .menu-card__title-group {
  gap: 5px;
}

.product-row .menu-card h3 {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-row__title-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-coal, var(--color-text));
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: inherit;
  text-align: start;
}

.product-row__title-button:focus-visible,
.product-row__details:focus-visible,
.product-row__quantity-button:focus-visible {
  outline: 3px solid rgba(246, 178, 63, 0.34);
  outline-offset: 2px;
}

.product-row .description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6f5d54;
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-row .product-badges {
  gap: 4px;
}

.product-row .product-badge {
  min-height: 21px;
  padding: 3px 7px;
  font-size: 0.66rem;
  line-height: 1.2;
}

.product-row .product-badge__icon {
  width: 14px;
  height: 14px;
  font-size: 0.62rem;
}

.product-row .product-price {
  align-self: start;
  justify-content: end;
  padding: 4px 7px;
  border: 1px solid rgba(246, 166, 35, 0.25);
  background: var(--color-price-badge-bg);
  color: var(--color-price-badge-text);
  font-size: 0.86rem;
  line-height: 1.25;
  white-space: nowrap;
}

.product-row .product-tags,
.product-row .product-details-summary,
.product-row .product-details,
.product-row .recommended-products,
.product-row .product-prep-time {
  display: none;
}

.product-row__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.product-row__details {
  min-height: 36px;
  border: 1px solid rgba(194, 65, 12, 0.14);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 250, 244, 0.92);
  color: #C2410C;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-row__quantity {
  display: grid;
  grid-template-columns: 40px 34px 40px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: 8px;
  background: #211714;
  color: #fffaf4;
  box-shadow: 0 10px 20px rgba(33, 23, 20, 0.14);
}

.product-row__quantity-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.product-row__quantity-button--increase {
  background: linear-gradient(135deg, #C2410C, #EA7C1F);
}

.product-row__quantity-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.product-row__quantity-value {
  display: grid;
  min-width: 34px;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
}

.option-product-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 6px;
}

.option-product-intro__media {
  overflow: hidden;
  border: 1px solid rgba(194, 65, 12, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 178, 63, 0.2), transparent 56%),
    #fff4e8;
}

.option-product-intro__media img {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  object-position: center;
}

.option-product-intro__content {
  display: grid;
  gap: 10px;
}

.option-product-intro__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 380px) {
  .menu-card.product-row,
  body[data-layout-product-view="list"] .menu-card.product-row,
  body[data-layout-product-view="compact"] .menu-card.product-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .product-row .menu-card__body {
    padding: 10px;
  }

  .product-row__footer {
    gap: 8px;
  }

  .product-row__details {
    padding-inline: 8px;
    font-size: 0.74rem;
  }

  .product-row__quantity {
    grid-template-columns: 36px 30px 36px;
  }

  .product-row__quantity-button {
    width: 36px;
  }

  .product-row__quantity-value {
    min-width: 30px;
  }
}

/* Critical Fix - force product rows to stay horizontal in the main list. */
body #menuGrid.main-products-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

[dir="rtl"] body #menuGrid.main-products-list,
body[dir="rtl"] #menuGrid.main-products-list {
  display: grid;
}

body #menuGrid.main-products-list > .product-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 104px;
  overflow: hidden;
}

[dir="rtl"] body #menuGrid.main-products-list > .product-row,
body[dir="rtl"] #menuGrid.main-products-list > .product-row {
  grid-template-columns: 84px minmax(0, 1fr);
}

body #menuGrid.main-products-list > .product-row > .product-row__media {
  display: block;
  grid-column: 1;
  grid-row: 1;
  box-sizing: border-box;
  width: 84px;
  min-width: 84px;
  max-width: 84px;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
}

body #menuGrid.main-products-list > .product-row > .product-row__content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}

body #menuGrid.main-products-list .product-row__media img,
body #menuGrid.main-products-list .product-row__image {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body #menuGrid.main-products-list .product-row__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body #menuGrid.main-products-list .product-row__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

body #menuGrid.main-products-list .product-row__quantity {
  display: inline-grid;
  grid-template-columns: 38px 32px 38px;
  align-items: center;
  flex: 0 0 auto;
}

/* Main Menu Compact Layout Update */
body.is-menu-active .app-header {
  display: block;
  padding: 12px 12px 0;
  background: transparent;
  animation: none;
}

body.is-menu-active .entry-panel {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid #e7d6c3;
  border-radius: 16px;
  background: #fff8ee;
  box-shadow: none;
  backdrop-filter: none;
  color: #2a1e17;
}

body.is-menu-active .entry-panel__top {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
}

body.is-menu-active .entry-panel__body {
  display: none;
}

body.is-menu-active .brand {
  min-width: 0;
  flex: 1;
  gap: 8px;
  align-items: flex-start;
  flex-direction: row;
}

body.is-menu-active .brand__logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
  padding: 4px;
}

body.is-menu-active .brand > div {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  flex: 1;
}

body.is-menu-active .brand__tagline {
  grid-column: 1 / -1;
  order: 3;
  overflow: hidden;
  margin: 0;
  color: #6f6258;
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}

body.is-menu-active .brand__name {
  grid-column: 1;
  order: 1;
  overflow: hidden;
  margin: 0;
  color: #2a1e17;
  font-size: 1rem;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-menu-active .brand__status {
  grid-column: 2;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 21px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(34, 197, 94, 0.08);
  color: #168a3a;
  font-size: 0.66rem;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

body.is-menu-active .brand__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  content: "";
}

body.is-menu-active .brand__status.is-closed {
  border-color: var(--color-danger-border);
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

body.is-menu-active .brand__status.is-closed::before {
  background: var(--color-danger);
}

body.is-menu-active .header-actions {
  flex: 0 0 auto;
  gap: 6px;
}

body.is-menu-active .header-action {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-color: var(--color-surface-border);
  background: var(--color-surface-soft);
  color: var(--color-text);
}

body.is-menu-active .header-actions:empty {
  display: none;
}

body.is-menu-active .menu-header-info {
  display: none;
}

body.is-menu-active .menu-header-info__chips {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  color: #7a6a5d;
  font-size: 0.73rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.45;
  white-space: normal;
}

body.is-menu-active .menu-header-info__share.header-action {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-color: var(--color-primary-border);
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: none;
  font-size: 0.96rem;
  line-height: 1;
}

body.is-menu-active .menu-header-info__share svg {
  display: block;
  width: 17px;
  height: 17px;
}

body.is-menu-active .menu-header-info__share.header-action:hover {
  background: var(--color-primary);
}

body.is-menu-active .prep-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 12px 0;
  padding: 10px 12px;
  border: 1px solid #e7d6c3;
  border-radius: 14px;
  background: #ffffff;
  color: #7a6a5d;
  box-shadow: 0 6px 16px rgba(42, 30, 23, 0.04);
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
}

body.is-menu-active .prep-time span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #7a6a5d;
  white-space: nowrap;
}

body.is-menu-active .prep-time span::first-letter {
  color: #5a3825;
}

body.is-menu-active .prep-time strong {
  color: #2a1e17;
  font-size: 0.9rem;
  font-weight: var(--font-weight-extra-bold);
  white-space: nowrap;
}

body.is-menu-active main {
  padding-top: 12px;
  padding-bottom: 92px;
}

body.is-menu-active .category-tabs-row {
  position: sticky;
  top: 0;
  z-index: 8;
  margin: 0 -12px 10px;
  padding: 0 12px;
  background: var(--color-page-bg);
}

body.is-menu-active .category-tabs {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 10px;
  white-space: nowrap;
  scroll-padding-inline: 12px;
  scrollbar-width: none;
}

body.is-menu-active .category-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--color-surface-soft);
  color: var(--color-text-secondary);
  font-size: 0.83rem;
  font-weight: var(--font-weight-bold);
  box-shadow: none;
}

body.is-menu-active .category-tab::after {
  position: absolute;
  inset-inline: 12px;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  content: "";
}

body.is-menu-active .category-tab.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

body.is-menu-active .category-tab.is-active::after {
  background: var(--color-primary);
}

body.is-menu-active #menuGrid.main-products-list {
  gap: 9px;
}

body.is-menu-active #menuGrid.main-products-list > .product-row {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  min-height: 92px;
  border-color: var(--color-surface-border);
  border-radius: 14px;
  padding: 10px;
  background: var(--color-surface);
  box-shadow: none;
}

[dir="rtl"] body.is-menu-active #menuGrid.main-products-list > .product-row,
body[dir="rtl"].is-menu-active #menuGrid.main-products-list > .product-row {
  grid-template-columns: 72px minmax(0, 1fr);
}

body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__media {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  border: 0;
  border-radius: 12px;
  background: var(--color-surface-soft);
}

[dir="rtl"] body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__media,
body[dir="rtl"].is-menu-active #menuGrid.main-products-list > .product-row > .product-row__media {
  grid-column: 1;
}

body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__content {
  grid-template-areas:
    "title meta"
    "desc meta"
    "footer footer";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 8px;
  padding: 0;
  margin-inline-start: 14px;
}

[dir="rtl"] body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__content,
body[dir="rtl"].is-menu-active #menuGrid.main-products-list > .product-row > .product-row__content {
  grid-column: 2;
}

body.is-menu-active #menuGrid.main-products-list .product-row__header {
  grid-area: title;
  min-width: 0;
}

body.is-menu-active #menuGrid.main-products-list .product-row__title {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-align: center;
}

body.is-menu-active #menuGrid.main-products-list .product-row__title-button {
  text-align: center;
}

body.is-menu-active #menuGrid.main-products-list .product-row__description {
  grid-area: desc;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

body.is-menu-active #menuGrid.main-products-list .product-row__meta {
  grid-area: meta;
  max-width: 96px;
  justify-content: flex-end;
  justify-self: end;
  gap: 4px;
}

body.is-menu-active #menuGrid.main-products-list .product-row__price,
body.is-menu-active #menuGrid.main-products-list .product-price {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.2;
  white-space: nowrap;
}

body.is-menu-active #menuGrid.main-products-list .product-badges {
  gap: 4px;
  justify-content: flex-end;
}

body.is-menu-active #menuGrid.main-products-list .product-badge {
  min-height: 19px;
  padding: 2px 6px;
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.62rem;
}

body.is-menu-active #menuGrid.main-products-list .product-row__footer {
  grid-area: footer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: nowrap;
}

body.is-menu-active #menuGrid.main-products-list .product-row__details {
  min-height: 30px;
  border-color: var(--color-surface-border);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--color-surface-soft);
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity {
  grid-template-columns: 32px 28px 32px;
  margin-inline-start: auto;
  min-height: 32px;
  border-color: var(--color-primary-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  overflow: hidden;
  transition:
    grid-template-columns 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity.product-row__quantity--add-only {
  grid-template-columns: 34px;
  border-color: transparent;
  background: transparent;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity:has(.product-row__quantity-button--decrease:disabled) {
  grid-template-columns: 0 0 34px;
  border-color: transparent;
  background: transparent;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity-button {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: var(--font-weight-extra-bold);
  transition:
    opacity 160ms ease,
    width 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity-button--increase {
  background: var(--color-primary);
  color: var(--color-surface);
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity-button--decrease:disabled {
  width: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity-value {
  min-width: 28px;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: var(--font-weight-bold);
  overflow: hidden;
  transition:
    opacity 160ms ease,
    min-width 180ms ease,
    transform 180ms ease;
}

body.is-menu-active #menuGrid.main-products-list .product-row__quantity:has(.product-row__quantity-button--decrease:disabled) .product-row__quantity-value {
  min-width: 0;
  opacity: 0;
  transform: scale(0.8);
}

@media (max-width: 380px) {
  body #menuGrid.main-products-list > .product-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    min-height: 94px;
  }

  [dir="rtl"] body #menuGrid.main-products-list > .product-row,
  body[dir="rtl"] #menuGrid.main-products-list > .product-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body #menuGrid.main-products-list > .product-row > .product-row__media {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }

  body #menuGrid.main-products-list .product-row__quantity {
    grid-template-columns: 34px 28px 34px;
  }
}

@media (max-width: 380px) {
  body.is-menu-active #menuGrid.main-products-list > .product-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    min-height: 86px;
    padding: 9px;
  }

  [dir="rtl"] body.is-menu-active #menuGrid.main-products-list > .product-row,
  body[dir="rtl"].is-menu-active #menuGrid.main-products-list > .product-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__media {
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    height: 64px;
    min-height: 64px;
    max-height: 64px;
  }

  body.is-menu-active #menuGrid.main-products-list .product-row__quantity {
    grid-template-columns: 30px 26px 30px;
  }

  body.is-menu-active #menuGrid.main-products-list .product-row__quantity:has(.product-row__quantity-button--decrease:disabled) {
    grid-template-columns: 0 0 32px;
  }

  body.is-menu-active #menuGrid.main-products-list .product-row__quantity-button {
    width: 30px;
    height: 30px;
  }
}

/* â”€â”€ Offer list: vertical stack (horizontal card layout) â”€â”€ */
.temporary-offers__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  overflow-x: visible !important;
  padding: 2px 2px 10px !important;
}

.temporary-offer-card {
  display: grid !important;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  grid-template-rows: unset !important;
  align-items: stretch !important;
  min-height: 100px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.temporary-offer-card__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 100% !important;
  min-height: 100px !important;
  aspect-ratio: unset !important;
}

.temporary-offer-card__content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 11px 12px !important;
}

.temporary-offer-card__top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.temporary-offer-card__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
}

.temporary-offer-card__action {
  width: auto !important;
  min-height: 32px !important;
  justify-self: unset !important;
  padding: 6px 11px !important;
  font-size: 0.78rem !important;
}

[dir="rtl"] .temporary-offer-card {
  grid-template-columns: minmax(0, 1fr) 100px !important;
}
[dir="rtl"] .temporary-offer-card__media {
  grid-column: 2 !important;
}
[dir="rtl"] .temporary-offer-card__content {
  grid-column: 1 !important;
}

/* â”€â”€ Reorder banner hidden state â”€â”€ */
.reorder-banner[hidden] {
  display: none !important;
}

/* â”€â”€ Product skeleton loading â”€â”€ */
.product-row--skeleton {
  pointer-events: none !important;
  cursor: wait !important;
}

.product-row__media--skeleton {
  border-radius: 10px !important;
  background: linear-gradient(90deg, rgba(32,26,23,0.07), rgba(255,255,255,0.7), rgba(32,26,23,0.07)) !important;
  background-size: 220% 100% !important;
  animation: storySkeletonShimmer 1150ms ease-in-out infinite !important;
}

.skeleton-line {
  border-radius: 6px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(32,26,23,0.07), rgba(255,255,255,0.7), rgba(32,26,23,0.07));
  background-size: 220% 100%;
  animation: storySkeletonShimmer 1150ms ease-in-out infinite;
}

.skeleton-line--title {
  width: 65%;
  height: 14px;
  animation-delay: 0.05s;
}

.skeleton-line--desc {
  width: 90%;
  height: 11px;
  animation-delay: 0.1s;
}

.skeleton-line--price {
  width: 30%;
  height: 12px;
  margin-top: 4px;
  animation-delay: 0.15s;
}

/* â”€â”€ Offer countdown badge â”€â”€ */
.offer-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(32, 26, 23, 0.07);
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.offer-countdown--urgent {
  background: rgba(194, 65, 12, 0.12);
  color: var(--color-primary);
  animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* â”€â”€ D: Direct product link banner â”€â”€ */
.direct-link-banner {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(32, 26, 23, 0.18);
  animation: bannerSlideDown 300ms ease both;
}

@keyframes bannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.direct-link-banner.is-hiding {
  animation: bannerSlideUp 400ms ease both;
}

@keyframes bannerSlideUp {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}

.direct-link-banner__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}

.direct-link-banner__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* â”€â”€ Clickable card: full-card hover & active â”€â”€ */
#menuGrid.main-products-list > .product-row[role="button"] {
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

#menuGrid.main-products-list > .product-row[role="button"]:hover {
  background: rgba(194, 65, 12, 0.03);
  box-shadow:
    0 0 0 1.5px rgba(194, 65, 12, 0.15),
    0 6px 18px rgba(32, 26, 23, 0.07);
  transform: translateY(-1px);
}

#menuGrid.main-products-list > .product-row[role="button"]:active {
  transform: scale(0.99);
  box-shadow: 0 0 0 1.5px rgba(194, 65, 12, 0.2);
}

/* Remove old inner title-button styles â€” title is now a span */
.product-row__title-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: inherit;
  display: block;
  width: 100%;
}

/* Keep + - buttons on top so they still get clicks */
.product-row__quantity-button {
  position: relative;
  z-index: 2;
}

/* â”€â”€ New Products Circle â”€â”€ */
.new-products-circle {
  position: relative;
}

.new-products-circle__media {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #ff6b35, #c2410c, #7c1d0a) border-box !important;
  box-shadow:
    0 6px 18px rgba(194, 65, 12, 0.3),
    0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.best-sellers-circle {
  position: relative;
}

.best-sellers-circle__media {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #f7d88a, #f59e0b, #7c2d12) border-box !important;
  box-shadow:
    0 6px 18px rgba(146, 64, 14, 0.24),
    0 0 0 3px rgba(245, 158, 11, 0.12) !important;
}

.best-sellers-circle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  line-height: 1;
}

.new-products-circle__icon {
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sales-chip__badge,
.new-products-circle__badge {
  position: absolute;
  top: 0;
  inset-inline-end: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c2410c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.4);
  animation: badgePop 400ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.best-sellers-circle__badge {
  background: #92400e;
  box-shadow: 0 2px 6px rgba(146, 64, 14, 0.34);
}

@keyframes badgePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* â”€â”€ New Products Drawer â”€â”€ */
.new-products-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(32, 26, 23, 0);
  transition: background 300ms ease;
  pointer-events: none;
}

.new-products-overlay.is-open {
  background: rgba(32, 26, 23, 0.48);
  pointer-events: all;
}

.new-products-drawer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 61;
  max-width: 480px;
  max-height: 82vh;
  margin-inline: auto;
  border-radius: 20px 20px 0 0;
  background: var(--color-surface);
  box-shadow: 0 -8px 40px rgba(32, 26, 23, 0.18);
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.34, 1.2, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.new-products-drawer.is-open {
  transform: translateY(0);
}

.new-products-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(32, 26, 23, 0.07);
  flex-shrink: 0;
}

.new-products-drawer__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text);
}

.new-products-drawer__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(32, 26, 23, 0.07);
  color: var(--color-text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
  flex-shrink: 0;
}

.new-products-drawer__close:hover {
  background: rgba(32, 26, 23, 0.13);
}

.new-products-drawer__list {
  overflow-y: auto;
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
}

/* â”€â”€ Drawer Product Card â”€â”€ */
.drawer-product-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(194, 65, 12, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,250,244,0.98), rgba(255,244,232,0.95));
  box-shadow: 0 4px 14px rgba(32, 26, 23, 0.07);
  animation: softFadeUp 280ms ease both;
}

.drawer-product-card__media {
  width: 96px;
  min-height: 110px;
  overflow: hidden;
  background: #fff4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-inline-end: 1px solid rgba(194, 65, 12, 0.08);
}

[dir="rtl"] .drawer-product-card__media {
  border-inline-end: 0;
  border-inline-start: 1px solid rgba(194, 65, 12, 0.08);
}

.drawer-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawer-product-card__body {
  display: grid;
  gap: 6px;
  padding: 12px 12px 10px;
  align-content: start;
}

.drawer-product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.drawer-product-card__top h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text);
}

.drawer-product-card__desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.drawer-product-card__order {
  padding: 8px 14px;
  font-size: 0.84rem;
  min-height: 36px;
}

/* â”€â”€ Offers Circle â”€â”€ */
.offers-circle {
  position: relative;
}

.offers-circle__media {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, #f59e0b, #d97706, #92400e) border-box !important;
  box-shadow:
    0 6px 18px rgba(217, 119, 6, 0.28),
    0 0 0 3px rgba(245, 158, 11, 0.12) !important;
}

.offers-circle__icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.offers-circle__badge {
  position: absolute;
  top: 0;
  inset-inline-end: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d97706;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
  animation: badgePop 400ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 80ms;
}

/* â”€â”€ Offer Drawer Card â”€â”€ */
.offer-drawer-card {
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,252,235,0.98), rgba(255,243,199,0.92));
  box-shadow: 0 4px 14px rgba(32, 26, 23, 0.07);
  animation: softFadeUp 280ms ease both;
}

.offer-drawer-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.offer-drawer-card__body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.offer-drawer-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.offer-drawer-card__top h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text);
}

.offer-drawer-card__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.offer-drawer-card__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.offer-drawer-card__timer {
  display: inline-flex;
  align-self: start;
}

.offer-drawer-card__date {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.offer-drawer-card__action {
  padding: 10px 16px;
  font-size: 0.88rem;
  min-height: 40px;
  background: linear-gradient(135deg, #d97706, #92400e);
  border-color: transparent;
}

.offer-drawer-card__action:hover {
  background: linear-gradient(135deg, #b45309, #7c2d12);
}

/* â”€â”€ Floating Filter FAB â”€â”€ */
.nutrition-filters-fab {
  position: fixed;
  bottom: 90px;
  inset-inline-start: 16px;
  z-index: 40;
}

.nutrition-filters-fab[hidden] {
  display: none;
}

.nutrition-filter-fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow:
    0 4px 16px rgba(32, 26, 23, 0.16),
    0 0 0 1px rgba(32, 26, 23, 0.08);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nutrition-filter-fab__btn:hover {
  transform: scale(1.07);
  box-shadow:
    0 6px 20px rgba(32, 26, 23, 0.2),
    0 0 0 1px rgba(194, 65, 12, 0.15);
}

.nutrition-filter-fab__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow:
    0 6px 20px rgba(194, 65, 12, 0.3),
    0 0 0 1px rgba(194, 65, 12, 0.2);
}

.nutrition-filter-fab__badge {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.nutrition-filter-fab__btn.is-active .nutrition-filter-fab__badge {
  background: #fff;
  color: var(--color-primary);
}

/* Panel ظٹط·ظ„ط¹ ظ…ظ† ط§ظ„ط£ط³ظپظ„ ظپظˆظ‚ ط§ظ„ظ€ FAB */
.nutrition-filters-panel {
  position: fixed;
  bottom: 146px;
  inset-inline-start: 12px;
  z-index: 41;
  min-width: 200px;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow:
    0 8px 32px rgba(32, 26, 23, 0.16),
    0 0 0 1px rgba(32, 26, 23, 0.07);
  padding: 12px;
  animation: softFadeUp 220ms ease both;
}

.nutrition-filters-panel[hidden] {
  display: none;
}

/* â”€â”€ ظˆظ‚طھ ط§ظ„طھط­ط¶ظٹط± ظپظٹ ط§ظ„ط³ظ„ط© â”€â”€ */
.cart-prep-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 4px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(194, 65, 12, 0.07);
  border: 1px solid rgba(194, 65, 12, 0.12);
  font-size: 0.86rem;
  color: var(--color-text);
}

.cart-prep-time[hidden] { display: none; }

.cart-prep-time__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.cart-prep-time strong {
  font-weight: 900;
  color: var(--color-primary);
}

/* â”€â”€ ط£ط·ظ„ط¨ ظ„ط´ط®طµ ط¢ط®ط± â”€â”€ */
.order-for-other {
  margin: 12px 0 0;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.order-for-other[hidden] { display: none; }

.order-for-other__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(32, 26, 23, 0.03);
  user-select: none;
}

.order-for-other__toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.order-for-other__fields {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(32, 26, 23, 0.07);
  background: var(--color-surface);
  animation: softFadeUp 220ms ease both;
}

.order-for-other__fields[hidden] { display: none; }

/* â”€â”€ Option Modal Steps â”€â”€ */
.option-modal__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-modal__back {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(32, 26, 23, 0.07);
  color: var(--color-text);
  cursor: pointer;
  transition: background 150ms ease;
}

.option-modal__back:hover {
  background: rgba(32, 26, 23, 0.13);
}

.option-modal__back[hidden] {
  display: none;
}

.option-modal__titles {
  flex: 1;
  min-width: 0;
}

/* Step indicator dots */
.option-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px 4px;
}

.option-step-indicator[hidden] {
  display: none;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(32, 26, 23, 0.15);
  transition: background 220ms ease, transform 220ms ease, width 220ms ease;
}

.step-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: none;
}

.step-dot.is-done {
  background: rgba(194, 65, 12, 0.35);
}

/* Smooth step transition */
.option-group {
  transition: opacity 180ms ease;
}

/* â”€â”€ Upsell Toast â”€â”€ */
.upsell-toast {
  position: fixed;
  bottom: 90px;
  inset-inline-end: 12px;
  inset-inline-start: 12px;
  max-width: 420px;
  margin-inline: auto;
  z-index: 55;
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow:
    0 8px 32px rgba(32, 26, 23, 0.18),
    0 0 0 1px rgba(32, 26, 23, 0.07);
  padding: 14px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.34, 1.3, 0.64, 1), opacity 280ms ease;
  pointer-events: none;
}

.upsell-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.upsell-toast.is-hiding {
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
}

.upsell-toast__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.upsell-toast__added {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}

.upsell-toast__close {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(32, 26, 23, 0.07);
  color: var(--color-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upsell-toast__hint {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.upsell-toast__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upsell-toast__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(194, 65, 12, 0.12);
  border-radius: 10px;
  background: rgba(255, 247, 237, 0.8);
  cursor: pointer;
  text-align: start;
  font: inherit;
  transition: background 150ms ease, border-color 150ms ease;
}

.upsell-toast__item:hover {
  background: rgba(194, 65, 12, 0.07);
  border-color: rgba(194, 65, 12, 0.25);
}

.upsell-toast__item.is-added {
  background: rgba(194, 65, 12, 0.06);
  border-color: rgba(194, 65, 12, 0.2);
  opacity: 0.7;
}

.upsell-toast__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(32, 26, 23, 0.05);
}

.upsell-toast__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upsell-toast__item-name {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}

.upsell-toast__item-price {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

.upsell-toast__item-add {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 150ms ease;
}

.upsell-toast__item.is-added .upsell-toast__item-add {
  background: #16a34a;
}

/* â”€â”€ Option Modal: Bottom Sheet on Mobile â”€â”€ */
@media (max-width: 600px) {
  .option-modal {
    place-items: end center;
    padding: 0;
  }

  .option-modal__dialog {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }

  .option-form {
    padding-bottom: 24px;
  }
}
/* â”€â”€ Prep time in order confirmation â”€â”€ */
.order-confirmation__prep-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px auto 0;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--color-success-soft);
  border: 1px solid var(--color-success-border);
  font-size: 0.9rem;
  color: var(--color-success-text);
  text-align: center;
  font-weight: 800;
}

.order-confirmation__prep-time strong {
  color: var(--color-success-text);
}

/* â”€â”€ Cart: Fixed Send Bar â”€â”€ */
.cart-panel__send-bar {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(32, 26, 23, 0.1);
  background: var(--color-surface);
  display: grid;
  gap: 8px;
}

.cart-panel__send-bar .send-order-button {
  margin-top: 0;
}

/* â”€â”€ Order Modal (ظ…ظˆط¯ط§ظ„ ط§ظ„ط·ظ„ط¨ â€” ط§ظ„ظ…ط±ط­ظ„ط© ط§ظ„ط«ط§ظ†ظٹط©) â”€â”€ */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.order-modal[hidden] {
  display: none;
}

.order-modal__dialog {
  background: var(--color-surface);
  width: min(calc(100vw - 24px), 860px);
  max-width: 860px;
  max-height: 92dvh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.order-modal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(32, 26, 23, 0.1);
  flex-shrink: 0;
}

.order-modal__header h2 {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.order-modal__back,
.order-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.order-modal__back:hover,
.order-modal__close:hover {
  background: rgba(32, 26, 23, 0.07);
}

.order-modal__close::before {
  content: '\00D7';
  font-size: 1.4rem;
  line-height: 1;
}

.order-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  -webkit-overflow-scrolling: touch;
}

.order-modal__footer {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(32, 26, 23, 0.1);
  background: var(--color-surface);
  display: grid;
  gap: 8px;
}

.order-modal__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.order-modal__total strong {
  font-size: 1.1rem;
  font-weight: var(--font-weight-extra-bold);
  color: var(--color-primary, #b5532a);
}

.order-modal__footer .send-order-button {
  margin-top: 0;
}

@media (min-width: 600px) {
  .order-modal {
    align-items: center;
  }
  .order-modal__dialog {
    border-radius: 16px;
    max-height: min(85dvh, 780px);
  }
}

/* â”€â”€ Order Type Cards (ط¨ط·ط§ظ‚ط§طھ ظ†ظˆط¹ ط§ظ„ط·ظ„ط¨) â”€â”€ */
.order-type-cards {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
}

.order-type-cards--modal {
  padding: 4px 0 8px;
}

.order-type-cards--modal.has-pickup-ready-notice {
  flex-wrap: wrap;
}

.order-confirmation__actions[hidden] {
  display: none;
}

.order-type-cards--modal.has-pickup-ready-notice .order-type-summary,
.order-type-cards--modal.has-pickup-ready-notice .pickup-ready-notice {
  flex: 0 0 100%;
}

.order-type--hidden {
  display: none !important;
}

.otc__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--color-surface-alt, #f5f0ed);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  font-family: inherit;
  color: var(--color-text);
  -webkit-tap-highlight-color: transparent;
}

.otc__btn:hover {
  background: var(--color-surface-hover, #ede7e3);
}

.otc__btn:active {
  transform: scale(0.96);
}

.otc__btn.is-selected {
  border-color: var(--color-primary, #b5532a);
  background: color-mix(in srgb, var(--color-primary, #b5532a) 10%, transparent);
}

.otc__icon {
  font-size: 1.75rem;
  line-height: 1;
  display: block;
}
.order-type-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 64px;
  color: var(--color-primary, #b5532a);
}

.order-type-card__icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

html[data-theme-mode="dark"] body:has(.welcome-gate__logo[src$="LOGO.png"]) .welcome-gate__order-type-button[data-order-type="dine_in"] .order-type-card__icon-svg {
  display: none;
}

html[data-theme-mode="dark"] body:has(.welcome-gate__logo[src$="LOGO.png"]) .welcome-gate__order-type-button[data-order-type="dine_in"] .welcome-gate__order-type-icon {
  position: relative;
  color: var(--color-primary, #c6a15b);
}

html[data-theme-mode="dark"] body:has(.welcome-gate__logo[src$="LOGO.png"]) .welcome-gate__order-type-button[data-order-type="dine_in"].is-selected .welcome-gate__order-type-icon {
  color: var(--color-primary-strong, #8f3f20);
}

html[data-theme-mode="dark"] body:has(.welcome-gate__logo[src$="LOGO.png"]) .welcome-gate__order-type-button[data-order-type="dine_in"] .welcome-gate__order-type-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 27px;
  width: 31px;
  height: 19px;
  border: 4px solid currentColor;
  border-radius: 4px 4px 13px 13px;
  box-shadow: 0 11px 0 -7px currentColor;
}

html[data-theme-mode="dark"] body:has(.welcome-gate__logo[src$="LOGO.png"]) .welcome-gate__order-type-button[data-order-type="dine_in"] .welcome-gate__order-type-icon::after {
  content: "";
  position: absolute;
  left: 43px;
  top: 30px;
  width: 10px;
  height: 10px;
  border: 4px solid currentColor;
  border-left: 0;
  border-radius: 0 11px 11px 0;
}

.otc__btn.is-selected .order-type-card__icon,
.welcome-gate__order-type-button.is-selected .order-type-card__icon {
  color: var(--color-primary-strong, #8f3f20);
}

.otc__label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* ط­ط§ظ„ط© ط§ظ„ظ…ظˆط¯ط§ظ„ â€” ط¨ط·ط§ظ‚ط§طھ ط£ظƒط¨ط± ظ‚ظ„ظٹظ„ط§ظ‹ */
.order-type-cards--modal .otc__btn {
  padding: 14px 10px;
  border-radius: 16px;
}

.order-type-cards--modal .otc__icon {
  font-size: 2rem;
}
.order-type-cards--modal .order-type-card__icon {
  width: 76px;
  height: 76px;
}

.order-type-cards--modal .otc__label {
  font-size: 0.82rem;
}

/* طµظˆط± ط£ظ†ظˆط§ط¹ ط§ظ„ط·ظ„ط¨ */
.otc__icon--img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  display: block;
}

.order-type-cards--modal .otc__icon--img {
  height: 76px;
}

.order-type-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(32, 26, 23, 0.1);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.06);
}

.order-type-summary__text {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.order-type-summary__text strong {
  color: var(--color-text);
}

.order-type-summary__change {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.order-type-summary__change:hover,
.order-type-summary__change:focus-visible {
  background: rgba(194, 65, 12, 0.14);
  transform: translateY(-1px);
}

/* Mobile order modal responsive fixes */
.order-modal,
.order-modal__dialog,
.order-modal__body,
.final-review-modal,
.final-review-modal__dialog,
.final-review-content,
.final-review-section,
.final-review-line,
.final-review-products,
.final-review-product {
  max-width: 100%;
}

.order-modal__dialog,
.order-modal__body,
.final-review-modal__dialog,
.final-review-content,
.final-review-section,
.final-review-line,
.final-review-line span,
.final-review-line strong,
.final-review-product,
.final-review-product h4,
.final-review-product li {
  min-width: 0;
}

.order-modal__dialog {
  width: min(calc(100vw - 24px), 860px);
  max-width: 860px;
}

.order-modal__body,
.final-review-modal__dialog,
.final-review-content {
  overflow-x: hidden;
}

.final-review-section,
.final-review-line,
.final-review-line span,
.final-review-line strong,
.final-review-product h4,
.final-review-product li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.final-review-line strong {
  max-width: 100%;
}

@media (max-width: 480px) {
  .order-modal,
  .final-review-modal {
    overflow-x: hidden;
  }

  .order-modal__dialog {
    width: 100%;
    max-width: 100vw;
    max-height: 100dvh;
  }

  .order-modal__body {
    padding: 14px;
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .order-modal__footer {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .order-type-cards {
    gap: 6px;
    padding: 8px 0 4px;
  }

  .order-type-cards--modal {
    gap: 6px;
    padding: 2px 0 6px;
  }

  .otc__btn,
  .order-type-cards--modal .otc__btn {
    min-width: 0;
    gap: 4px;
    min-height: 78px;
    padding: 8px 5px;
    border-radius: 12px;
  }

  .otc__icon,
  .order-type-cards--modal .otc__icon {
    font-size: 1.35rem;
  }

  .otc__icon--img,
  .order-type-cards--modal .otc__icon--img {
    height: 46px;
  }

  .otc__label,
  .order-type-cards--modal .otc__label {
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .final-review-modal {
    padding: 10px;
  }

  .final-review-modal__dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
  }

  .final-review-content {
    padding: 14px;
  }

  .final-review-section {
    padding: 12px;
  }

  .final-review-line {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 6px 10px;
  }
}

/* Order modal mobile fit polish */
.order-modal,
.order-modal *,
.order-modal *::before,
.order-modal *::after {
  box-sizing: border-box;
}

.order-modal {
  overflow: hidden;
  padding: 12px;
}

.order-modal__dialog {
  width: min(var(--app-shell-width), var(--order-modal-safe-width));
  max-width: var(--order-modal-safe-width);
  max-height: calc(100dvh - 24px);
}

.order-modal__body {
  min-height: 0;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .order-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
  }

  .order-modal__dialog {
    width: var(--order-modal-safe-width);
    max-width: var(--order-modal-safe-width);
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
  }

  .order-modal__header {
    gap: 6px;
    padding: 10px 10px 8px;
  }

  .order-modal__header h2 {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .order-modal__back,
  .order-modal__close {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .order-modal__body {
    padding: 10px 12px 12px;
  }

  .order-modal__footer {
    gap: 7px;
    padding: 9px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .order-modal__total {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .order-modal__total strong {
    font-size: 1rem;
  }

  .order-modal__footer .send-order-button {
    min-height: 42px;
    padding: 10px 12px;
  }

  .order-type-summary {
    gap: 8px;
    padding: 8px 9px;
    border-radius: 8px;
  }

  .order-type-summary__text {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .order-type-summary__change {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .table-number,
  .customer-fields,
  .delivery-location,
  .payment-field,
  .branch-field,
  .form-field {
    gap: 6px;
    margin-bottom: 10px;
  }

  .table-number input,
  .form-field input,
  .form-field textarea,
  .branch-field select {
    min-height: 40px;
    padding: 9px 10px;
  }

  .form-field textarea {
    min-height: 74px;
  }

  #orderNoteInput {
    min-height: 82px;
  }

  #deliveryAddressInput {
    min-height: 66px;
  }

  .payment-field h3,
  .delivery-location h3 {
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .payment-options {
    gap: 6px;
  }

  .payment-option {
    min-height: 40px;
    gap: 8px;
    padding: 8px 10px;
  }

  .payment-option:hover {
    transform: none;
  }

  .order-type__error,
  .table-number__error,
  .form-field__error,
  .payment-error,
  .form-field__status {
    font-size: 0.86rem;
    line-height: 1.35;
  }
}

/* Order modal session picker and payment cards */
.table-number--session-picker {
  position: relative;
  gap: 7px;
  min-width: 0;
}

.table-number--session-picker .session-picker__label {
  color: var(--color-text);
  font-size: 0.94rem;
  line-height: 1.3;
}

.session-picker__input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  margin: -1px;
  border: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.session-picker {
  display: flex;
  direction: rtl;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 8px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--color-surface-border) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.session-picker::-webkit-scrollbar {
  height: 4px;
}

.session-picker::-webkit-scrollbar-track {
  background: transparent;
}

.session-picker::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--color-surface-border);
}

.session-picker__pair {
  display: grid;
  flex: 0 0 auto;
  grid-template-rows: repeat(2, 46px);
  gap: 8px;
  scroll-snap-align: start;
}

.session-picker__button {
  display: inline-grid;
  width: 48px;
  min-width: 48px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  scroll-snap-align: start;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.session-picker__button:hover,
.session-picker__button:focus-visible {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  outline: 0;
}

.session-picker__button:active {
  transform: scale(0.96);
}

.order-confirmation__contact {
  width: 100%;
  min-height: 42px;
  margin: 14px 0 0;
}

.session-picker__button.is-selected {
  border-color: var(--color-success-border);
  background: var(--color-success-soft);
  color: var(--color-success-text);
  box-shadow: inset 0 0 0 1px var(--color-success-border);
}

.table-number--session-picker .session-picker__button.is-selected {
  border-color: var(--color-success-border) !important;
  background: var(--color-success-soft) !important;
  color: var(--color-success-text) !important;
}

.session-picker__summary {
  margin: -1px 0 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.session-picker__summary-label {
  color: var(--color-muted);
  font-weight: 700;
}

.session-picker__summary-value {
  color: var(--color-success-text);
  font-weight: 700;
}

/* Compact final review layout */
.final-review-content {
  gap: 10px;
  padding: 12px 14px 14px;
}

.final-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.final-review-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  border: 1px solid var(--color-surface-border);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.final-review-chip--orderType,
.final-review-chip--payment {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary-active);
}

.final-review-chip--notifyReady,
.final-review-chip--prepTime {
  border-color: var(--color-success-border);
  background: var(--color-success-soft);
  color: var(--color-success-text);
}

.final-review-note {
  display: grid;
  gap: 4px;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--color-surface);
}

.final-review-note__label {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.final-review-note__value {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.final-review-section {
  gap: 10px;
  padding: 12px;
  border-color: var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: none;
}

.final-review-section h3 {
  color: var(--color-primary-active);
  font-size: 0.9rem;
  font-weight: 900;
}

.final-review-products {
  gap: 8px;
}

.final-review-product {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-background);
}

.final-review-product:last-child {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-surface-border);
}

.final-review-product__media {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary-active);
  font-weight: 900;
}

.final-review-product__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.final-review-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.final-review-product h4 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
}

.final-review-product__price {
  color: var(--color-primary-active);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.final-review-product__meta,
.final-review-product__note {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.final-review-product__note {
  color: var(--color-text);
}

.final-review-product ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.final-review-product li {
  max-width: 100%;
  border-radius: 999px;
  padding: 3px 7px;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.final-review-section--info .final-review-lines {
  gap: 6px;
}

.final-review-section--info .final-review-line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 6px 10px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.final-review-section--totals {
  background: var(--color-surface-soft);
}

.final-review-section--totals .final-review-lines {
  gap: 6px;
}

.final-review-section--totals .final-review-line {
  align-items: center;
  line-height: 1.35;
}

.final-review-section--totals .final-review-line:last-child {
  margin-top: 2px;
  border-top: 1px solid var(--color-surface-border);
  padding-top: 8px;
}

.final-review-section--totals .final-review-line:last-child span,
.final-review-section--totals .final-review-line:last-child strong {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
}

.pickup-ready-notice {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--color-success-border);
  border-radius: 11px;
  background: var(--color-success-soft);
  color: var(--color-success-text);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.35;
}

.pickup-ready-notice[hidden],
.pickup-notify-toggle[hidden] {
  display: none !important;
}

.pickup-ready-notice__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-soft);
}

.pickup-ready-notice__text {
  min-width: 0;
}

.pickup-notify-toggle {
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0;
  border: 1px solid var(--color-surface-border);
  border-radius: 11px;
  background: var(--color-surface);
}

.pickup-notify-toggle__label {
  box-sizing: border-box;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  color: #2a1e17;
  cursor: pointer;
}

.pickup-notify-toggle__switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
}

.pickup-notify-toggle__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pickup-notify-toggle__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--color-surface-border);
  transition: background-color 160ms ease;
}

.pickup-notify-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: 0 2px 5px rgba(42, 30, 23, 0.18);
  transition: transform 160ms ease;
}

.pickup-notify-toggle__input:checked + .pickup-notify-toggle__track {
  background: var(--color-success);
}

.pickup-notify-toggle__input:checked + .pickup-notify-toggle__track::after {
  transform: translateX(18px);
}

[dir="rtl"] .pickup-notify-toggle__input:checked + .pickup-notify-toggle__track::after {
  transform: translateX(-18px);
}

.pickup-notify-toggle__input:focus-visible + .pickup-notify-toggle__track {
  outline: 2px solid rgba(22, 138, 58, 0.38);
  outline-offset: 2px;
}

.pickup-notify-toggle__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
}

.payment-field {
  gap: 7px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.payment-option {
  position: relative;
  display: grid;
  min-height: 66px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  padding: 8px 7px;
  background: var(--color-surface);
  color: var(--color-muted);
  text-align: center;
  transform: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.payment-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.payment-option .option-icon,
.payment-option span[aria-hidden="true"] {
  display: block;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
}

.payment-option > span:not(.option-icon) {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.payment-option:hover,
.payment-option:focus-within {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-text);
  transform: none;
}

.payment-option:has(input:checked),
.payment-option.is-selected {
  border-color: var(--color-success-border) !important;
  background: var(--color-success-soft) !important;
  color: var(--color-success-text) !important;
  box-shadow: inset 0 0 0 1px var(--color-success-border) !important;
}

@media (max-width: 480px) {
  .session-picker {
    gap: 8px;
  }

  .session-picker__pair {
    grid-template-rows: repeat(2, 44px);
    gap: 8px;
  }

  .session-picker__button {
    width: 46px;
    min-width: 46px;
    height: 44px;
    border-radius: 11px;
  }

  .payment-options {
    gap: 7px;
  }

  .payment-option {
    min-height: 62px;
    padding: 7px 6px;
  }
}

.payment-field .payment-option:not(.is-selected) {
  border-color: var(--color-surface-border) !important;
  background: var(--color-surface) !important;
  color: var(--color-muted) !important;
  box-shadow: none !important;
}

.payment-field .payment-option.is-selected {
  border-color: var(--color-success-border) !important;
  background: var(--color-success-soft) !important;
  color: var(--color-success-text) !important;
  box-shadow: inset 0 0 0 1px var(--color-success-border) !important;
}

.cart-panel .remove-button {
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(255, 232, 228, 0.72);
  color: #b42318;
}

.cart-panel .remove-button:hover,
.cart-panel .remove-button:focus-visible {
  border-color: rgba(180, 35, 24, 0.4);
  background: rgba(255, 220, 214, 0.96);
  color: #8f1d14;
  transform: scale(1.06);
}

.cart-panel .remove-button:active {
  transform: scale(0.96);
}

.cart-panel__header h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-header__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.cart-header__text {
  min-width: 0;
}

.cart-panel .order-type-cards {
  gap: 8px;
  padding-block: 8px 2px;
}

.cart-panel .otc__btn {
  min-width: 0;
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  padding: 9px 8px;
  border-radius: 12px;
}

.cart-panel .order-type-card__icon {
  width: 24px;
  height: 24px;
}

.cart-panel .order-type-summary__icon {
  flex: 0 0 auto;
  color: var(--color-primary);
}

.cart-panel .order-type-summary__text {
  flex: 1 1 auto;
}

.cart-panel .otc__label {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.cart-panel .cart-items {
  gap: 8px;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
  padding: 10px 12px;
}

.cart-panel .cart-item {
  gap: 7px;
  padding: 8px;
  border-radius: 12px;
}

.cart-panel .cart-item__main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.cart-panel .cart-item--no-thumb .cart-item__main {
  grid-template-columns: minmax(0, 1fr);
}

.cart-panel .cart-item__thumb {
  width: 52px;
  aspect-ratio: 1;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(194, 65, 12, 0.08), rgba(32, 26, 23, 0.035)),
    var(--color-surface);
}

.cart-panel .cart-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-panel .cart-item__content {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.cart-panel .cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.cart-panel .cart-item__name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 900;
}

.cart-panel .cart-item__price-badge {
  flex: 0 0 auto;
  max-width: 45%;
  justify-content: center;
  border: 1px solid rgba(194, 65, 12, 0.18);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.cart-panel .cart-item__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-panel .cart-item__meta {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.cart-panel .cart-item__chip,
.cart-panel .cart-item__options li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(32, 26, 23, 0.07);
  border-radius: 999px;
  padding: 3px 6px;
  background: rgba(32, 26, 23, 0.035);
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cart-panel .cart-item__chip--muted {
  color: var(--color-muted);
  text-decoration: line-through;
}

.cart-panel .cart-item__chip--offer,
.cart-panel .cart-item__gift {
  border-color: rgba(22, 138, 58, 0.16);
  background: rgba(22, 138, 58, 0.08);
  color: #168a3a;
}

.cart-panel .cart-item__gift-original {
  color: var(--color-muted);
  text-decoration: line-through;
}

.cart-panel .cart-item__note {
  padding: 5px 7px;
  font-size: 0.8rem;
  line-height: 1.35;
}

.cart-panel .cart-item__footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}

.cart-panel .quantity-control {
  gap: 4px;
  padding: 3px;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel .quantity-control {
  border-color: rgba(226, 196, 125, 0.32);
  background:
    linear-gradient(135deg, rgba(18, 11, 8, 0.96), rgba(36, 21, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 245, 223, 0.08);
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel .quantity-control__value {
  color: #f4ead6;
}

html[data-theme-mode="dark"] body:has(img[src$="LOGO.png"]) .cart-panel .quantity-button {
  border-color: rgba(226, 196, 125, 0.42);
  background:
    linear-gradient(135deg, rgba(139, 104, 47, 0.96), rgba(212, 180, 108, 0.96));
  color: #120b08;
}

.cart-panel .quantity-button,
.cart-panel .remove-button {
  min-width: 36px;
  min-height: 36px;
}

.cart-panel .quantity-control__value {
  min-width: 24px;
}

.cart-panel .cart-item__line-total {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: end;
  overflow-wrap: anywhere;
}

.cart-panel .remove-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
}

.remove-button__icon {
  width: 19px;
  height: 19px;
  color: currentColor;
}

.promo-code-panel {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.promo-code-panel[hidden],
.day-offer-panel[hidden] {
  display: none;
}

.promo-code-panel__label {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-text);
}

.promo-code-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto) minmax(72px, auto);
  gap: 8px;
  align-items: center;
}

.promo-code-panel__input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--color-background);
  color: var(--color-text);
}

.promo-code-panel__button {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 900;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  cursor: pointer;
  white-space: nowrap;
}

.promo-code-panel__button--ghost {
  border: 1px solid var(--color-surface-border);
  background: var(--color-background);
  color: var(--color-text);
}

.promo-code-panel__message {
  margin: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.promo-code-panel__message[hidden],
.promo-code-panel__message:empty {
  display: none;
}

.promo-code-panel__message.is-success {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.promo-code-panel__message.is-error {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.promo-discount-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  background: transparent;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.45;
}

.day-offer-panel {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--color-primary-border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-surface));
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.day-offer-panel__content {
  display: grid;
  gap: 4px;
}

.day-offer-panel__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.day-offer-panel__message {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.day-offer-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.day-offer-panel__button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 900;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  cursor: pointer;
  white-space: nowrap;
}

.day-offer-panel__button--ghost {
  border: 1px solid var(--color-surface-border);
  background: var(--color-background);
  color: var(--color-text);
}

@media (max-width: 420px) {
  .promo-code-panel__row,
  .day-offer-panel__actions {
    grid-template-columns: 1fr;
  }
}

.cart-panel .cart-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  max-height: 55vh;
}

.cart-panel #orderBoostBar,
.cart-panel #minimumOrderBar,
.cart-panel #minimumOrderMessage {
  order: 1;
}

.cart-panel #orderTypeCardsCart {
  order: 2;
}

.cart-panel .order-boost-bar,
.cart-panel .minimum-order-bar,
.cart-panel .minimum-order-message {
  margin: 0;
  border-radius: 12px;
  padding: 8px 10px;
}

.cart-panel .order-boost-content,
.cart-panel .minimum-order-bar__header {
  gap: 6px;
}

.cart-panel .order-boost-progress,
.cart-panel .minimum-order-bar__track {
  height: 6px;
}

.cart-panel .order-type-summary {
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
}

.cart-panel .order-type-summary__change {
  padding: 7px 9px;
}

.cart-panel .cart-panel__send-bar {
  gap: 8px;
  padding: 10px 12px 12px;
}

.cart-panel .cart-panel__send-bar .cart-total {
  border: 1px solid rgba(32, 26, 23, 0.08);
  border-radius: 12px;
  padding: 9px 10px;
  background: var(--color-surface);
}

.smart-install-prompt {
  width: 100%;
  margin: 12px 0 14px;
  padding: 0;
}

.smart-install-prompt__panel {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--color-surface-border);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.smart-install-prompt--post-order {
  margin-block: 14px;
}

.smart-install-prompt__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-surface-border);
}

.smart-install-prompt__body {
  min-width: 0;
}

.smart-install-prompt__title {
  margin: 0;
  color: #2A1E17;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.smart-install-prompt__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #C96A2B;
}

.smart-install-prompt__description {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.smart-install-prompt__instructions {
  margin-block-start: 10px;
  padding: 10px;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
}

.smart-install-prompt__steps-title {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.4;
}

.smart-install-prompt__steps {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.55;
}

.smart-install-prompt__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.smart-install-prompt__install,
.smart-install-prompt__later,
.smart-install-prompt__direct-install {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.smart-install-prompt__install,
.smart-install-prompt__direct-install {
  background: var(--color-primary);
  color: var(--color-surface);
}

.smart-install-prompt__install:hover,
.smart-install-prompt__install:focus-visible,
.smart-install-prompt__direct-install:hover,
.smart-install-prompt__direct-install:focus-visible {
  background: var(--color-primary-hover);
}

.smart-install-prompt__direct-install {
  width: 100%;
  margin-block-start: 10px;
}

.smart-install-prompt__later {
  border-color: var(--color-surface-border);
  background: var(--color-surface);
  color: var(--color-muted);
}

.smart-install-prompt__later:hover,
.smart-install-prompt__later:focus-visible {
  border-color: var(--color-primary-border);
  color: var(--color-text);
}

@media (max-width: 480px) {
  .smart-install-prompt {
    margin: 10px 0 12px;
  }

  .smart-install-prompt__panel {
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .smart-install-prompt__icon {
    width: 48px;
    height: 48px;
  }

  .order-confirmation__summary-item {
    align-items: flex-start;
    flex-direction: column;
  }

}

.menu-assistant {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 92px;
  z-index: 42;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  direction: inherit;
}

body.welcome-gate-active .menu-assistant,
body.is-entry-active .menu-assistant {
  display: none;
}

.menu-assistant.is-cart-open .menu-assistant__toggle,
.menu-assistant.is-blocked .menu-assistant__toggle {
  display: none;
}

.menu-assistant > .menu-assistant__toggle {
  display: none !important;
}

.menu-assistant__toggle {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-surface);
  box-shadow: 0 14px 28px rgba(32, 26, 23, 0.18);
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.menu-assistant__toggle::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.22;
  animation: menu-assistant-pulse 1.8s ease-out infinite;
}

.menu-assistant.is-open .menu-assistant__toggle::before {
  animation: none;
  opacity: 0;
}

.menu-assistant__toggle:hover,
.menu-assistant__toggle:focus-visible {
  background: var(--color-primary-hover);
  box-shadow: 0 18px 34px rgba(32, 26, 23, 0.22);
  transform: translateY(-1px);
}

.menu-assistant__toggle:focus-visible {
  outline: 3px solid var(--color-primary-border);
  outline-offset: 3px;
}

.menu-assistant__icon {
  width: 28px;
  height: 28px;
  transition: transform 180ms ease;
}

.menu-assistant.is-open .menu-assistant__icon {
  transform: rotate(90deg);
}

.menu-assistant__online {
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-soft);
}

[dir="rtl"] .menu-assistant__online {
  right: auto;
  left: 5px;
}

.menu-assistant-cart-helper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 16px 0;
  min-height: 48px;
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  padding: 9px 11px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font: inherit;
  font-weight: var(--font-weight-bold);
  text-align: start;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.menu-assistant-cart-helper[hidden],
.menu-assistant-cart-panel-host[hidden] {
  display: none;
}

.menu-assistant-cart-helper:hover,
.menu-assistant-cart-helper:focus-visible {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-text);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.08);
  transform: translateY(-1px);
}

.menu-assistant-cart-helper:focus-visible {
  outline: 3px solid var(--color-primary-border);
  outline-offset: 2px;
}

.menu-assistant-cart-helper__status {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.menu-assistant-cart-helper__status .menu-assistant__icon {
  width: 22px;
  height: 22px;
}

.menu-assistant-cart-helper__status .menu-assistant__online {
  right: -1px;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border-width: 1.5px;
}

[dir="rtl"] .menu-assistant-cart-helper__status .menu-assistant__online {
  right: auto;
  left: -1px;
}

.menu-assistant-cart-helper__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.menu-assistant-cart-helper__arrow {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 1.2rem;
  line-height: 1;
}

.menu-assistant-cart-panel-host {
  flex: 0 0 auto;
  margin: 10px 16px 0;
}

.menu-assistant__panel {
  width: min(280px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 176px));
  overflow: auto;
  border: 1px solid var(--color-surface-border);
  border-radius: 14px;
  padding: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.menu-assistant__panel--cart {
  width: 100%;
  max-height: min(360px, 42vh);
  box-shadow: 0 10px 24px rgba(32, 26, 23, 0.12);
}

.menu-assistant__panel--cart .menu-assistant__header {
  display: none;
}

.menu-assistant__panel[hidden] {
  display: none;
}

.menu-assistant__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.menu-assistant__title,
.menu-assistant__question {
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.35;
}

.menu-assistant__intro {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.menu-assistant__content {
  display: grid;
  gap: 12px;
}

.menu-assistant__options,
.menu-assistant__results {
  display: grid;
  gap: 8px;
}

.menu-assistant__option,
.menu-assistant__product,
.menu-assistant__back {
  width: 100%;
  border: 1px solid var(--color-surface-border);
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.menu-assistant__option {
  min-height: 42px;
  padding: 10px 12px;
  font-weight: var(--font-weight-bold);
}

.menu-assistant__option:hover,
.menu-assistant__option:focus-visible,
.menu-assistant__product:hover,
.menu-assistant__product:focus-visible {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-text);
  box-shadow: 0 8px 18px rgba(32, 26, 23, 0.08);
  transform: translateY(-1px);
}

.menu-assistant__option:focus-visible,
.menu-assistant__product:focus-visible,
.menu-assistant__back:focus-visible {
  outline: 3px solid var(--color-primary-border);
  outline-offset: 2px;
}

.menu-assistant__product {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
}

.menu-assistant__product-name {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.35;
}

.menu-assistant__product-summary {
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.menu-assistant__product-meta {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
}

.menu-assistant__back {
  justify-self: start;
  width: auto;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
}

.menu-assistant__back:hover,
.menu-assistant__back:focus-visible {
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

.menu-assistant__finish {
  border-color: var(--color-primary-border);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.menu-assistant__empty {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.delivery-fee-original {
  color: var(--color-muted);
  text-decoration-line: line-through;
  text-decoration-thickness: 0.12em;
}

.delivery-fee-free {
  color: var(--color-success);
  font-weight: var(--font-weight-extra-bold);
}

/* Commercial sales polish v2 */
body.is-menu-active .app-header {
  padding: 12px 12px 0;
}

body.is-menu-active .entry-panel {
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--color-surface-border));
  background:
    linear-gradient(135deg, var(--color-surface), var(--color-surface-soft));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-strong) 8%, transparent);
}

body.is-menu-active .brand {
  gap: 10px;
}

body.is-menu-active .brand__logo {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

body.is-menu-active .brand__name {
  color: var(--color-text);
  font-size: 1.06rem;
  font-weight: 950;
}

body.is-menu-active .brand__tagline {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  font-weight: 750;
}

body.is-menu-active .brand__status {
  border-color: var(--color-success-border);
  background: var(--color-success-soft);
  color: var(--color-success-text);
  font-weight: 850;
}

body.is-menu-active .brand__status::before {
  background: var(--color-success);
}

body.is-menu-active .prep-time {
  border-color: color-mix(in srgb, var(--color-primary) 14%, var(--color-surface-border));
  background: var(--color-surface);
  color: var(--color-text-secondary);
}

body.is-menu-active .prep-time strong {
  color: var(--color-text);
}

body.is-menu-active .hero {
  position: relative;
  min-height: clamp(260px, 44vw, 420px);
  align-items: end;
  padding: clamp(26px, 6vw, 48px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-strong) 18%, transparent), color-mix(in srgb, var(--color-strong) 70%, transparent)),
    linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 20%, transparent), color-mix(in srgb, var(--color-accent) 14%, transparent)),
    var(--hero-image, linear-gradient(135deg, var(--color-primary), var(--color-secondary)));
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--color-strong) 18%, transparent);
}

body.is-menu-active .hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, color-mix(in srgb, var(--color-strong) 72%, transparent), transparent);
  content: "";
  pointer-events: none;
}

body.is-menu-active .hero__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

body.is-menu-active .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--color-surface) 38%, transparent);
  border-radius: 999px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--color-surface) 16%, transparent);
  color: var(--color-surface);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

body.is-menu-active .hero h2 {
  max-width: 12ch;
  color: var(--color-surface);
  font-size: clamp(2.1rem, 11vw, 4.4rem);
  line-height: 0.98;
}

body.is-menu-active .hero #heroDescription {
  max-width: 29rem;
  color: color-mix(in srgb, var(--color-surface) 88%, transparent);
  font-size: clamp(0.98rem, 3.5vw, 1.08rem);
  font-weight: 750;
  line-height: 1.75;
}

body.is-menu-active .hero__actions {
  gap: 9px;
  margin-top: 18px;
}

body.is-menu-active .hero__button {
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 18px;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-strong) 18%, transparent);
}

body.is-menu-active .hero__button--secondary {
  background: color-mix(in srgb, var(--color-surface) 14%, transparent);
  backdrop-filter: blur(10px);
}

body.is-menu-active .story-categories {
  margin-top: 10px;
  padding-block: 6px 12px;
}

body.is-menu-active .story-category {
  width: 92px;
  min-width: 92px;
  gap: 8px;
}

body.is-menu-active .story-category__media {
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  border-width: 3px;
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--color-strong) 12%, transparent),
    0 0 0 4px color-mix(in srgb, var(--color-surface) 74%, transparent);
}

body.is-menu-active .story-category__name {
  color: var(--color-text);
  font-size: 0.76rem;
  font-weight: 850;
}

body.is-menu-active .story-category.is-active .story-category__media {
  box-shadow:
    0 10px 22px color-mix(in srgb, var(--color-primary) 18%, transparent),
    0 0 0 4px var(--color-primary-soft);
}

body.is-menu-active .menu-card {
  border-color: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface-border));
  border-radius: 12px;
  box-shadow:
    0 14px 32px color-mix(in srgb, var(--color-strong) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--color-surface) 82%, transparent);
}

body.is-menu-active .menu-card__image-frame {
  aspect-ratio: 5 / 3.8;
}

body.is-menu-active #menuGrid.main-products-list > .product-row {
  min-height: 112px;
  border-radius: 13px;
  border-color: color-mix(in srgb, var(--color-primary) 14%, var(--color-surface-border));
}

body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__media {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  border-radius: 12px;
}

body.is-menu-active #menuGrid.main-products-list > .product-row > .product-row__content {
  gap: 7px;
}

body.is-menu-active .menu-card__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.is-menu-active .menu-card__title-row {
  gap: 10px;
}

body.is-menu-active .menu-card h3 {
  color: var(--color-text);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.32;
}

body.is-menu-active .product-badges {
  gap: 5px;
}

body.is-menu-active .product-badge {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: none;
}

body.is-menu-active .product-price {
  border: 1px solid color-mix(in srgb, var(--color-price-badge-text) 14%, transparent);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.94rem;
}

body.is-menu-active .product-row__quantity {
  border-color: color-mix(in srgb, var(--color-primary) 28%, transparent);
  border-radius: 11px;
  box-shadow: 0 10px 18px color-mix(in srgb, var(--color-strong) 12%, transparent);
}

body.is-menu-active .product-row__quantity-button {
  min-height: 40px;
}

body.is-menu-active .recommended-products,
body.is-menu-active .cart-panel .cart-item,
body.is-menu-active .promo-code-panel,
body.is-menu-active .day-offer-panel,
body.is-menu-active .menu-assistant-cart-helper,
body.is-menu-active .menu-assistant__panel--cart,
body.is-menu-active .final-review-section,
body.is-menu-active .order-confirmation__card {
  border-radius: 12px;
}

body.is-menu-active .cart-panel {
  border-color: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface-border));
  box-shadow: 18px 0 40px color-mix(in srgb, var(--color-strong) 18%, transparent);
}

body.is-menu-active .cart-panel__header {
  padding: 14px 14px 12px;
  background:
    linear-gradient(135deg, var(--color-surface), var(--color-surface-soft));
}

body.is-menu-active .cart-panel .cart-items {
  padding-inline: 12px;
}

body.is-menu-active .cart-panel .cart-item {
  border-color: var(--color-surface-border);
  background: var(--color-surface);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--color-strong) 6%, transparent);
}

body.is-menu-active .cart-panel .cart-item__thumb {
  border-radius: 12px;
}

body.is-menu-active .menu-assistant-cart-helper {
  min-height: 50px;
  margin-top: 10px;
  background:
    linear-gradient(135deg, var(--color-primary-soft), var(--color-surface));
}

body.is-menu-active .promo-code-panel {
  gap: 11px;
  border-color: color-mix(in srgb, var(--color-primary) 16%, var(--color-surface-border));
  background:
    linear-gradient(135deg, var(--color-surface), var(--color-surface-soft));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--color-strong) 8%, transparent);
}

body.is-menu-active .promo-code-panel__row {
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(72px, auto);
}

body.is-menu-active .promo-code-panel__input {
  min-height: 44px;
  background: var(--color-surface);
}

body.is-menu-active .promo-code-panel__button,
body.is-menu-active .day-offer-panel__button {
  min-height: 44px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

body.is-menu-active .promo-code-panel__button--ghost,
body.is-menu-active .day-offer-panel__button--ghost {
  box-shadow: none;
}

body.is-menu-active .promo-code-panel__message {
  border: 1px solid transparent;
}

body.is-menu-active .promo-code-panel__message.is-success {
  border-color: var(--color-success-border);
  color: var(--color-success-text);
}

body.is-menu-active .promo-code-panel__message.is-error {
  border-color: var(--color-danger-border);
}

body.is-menu-active .promo-discount-line {
  color: var(--color-text);
}

body.is-menu-active .day-offer-panel {
  border-color: var(--color-primary-border);
  background:
    linear-gradient(135deg, var(--color-primary-soft), var(--color-surface) 62%),
    var(--color-surface);
}

body.is-menu-active .day-offer-panel__title {
  color: var(--color-primary-active);
}

body.is-menu-active .order-modal__dialog,
body.is-menu-active .final-review-modal__dialog {
  border: 1px solid var(--color-surface-border);
  box-shadow: 0 -10px 38px color-mix(in srgb, var(--color-strong) 20%, transparent);
}

body.is-menu-active .order-modal__header,
body.is-menu-active .final-review-modal__header {
  background:
    linear-gradient(135deg, var(--color-surface), var(--color-surface-soft));
}

body.is-menu-active .form-field,
body.is-menu-active .payment-field,
body.is-menu-active .delivery-zone-section {
  gap: 9px;
}

body.is-menu-active .form-field input,
body.is-menu-active .form-field textarea,
body.is-menu-active .branch-field select,
body.is-menu-active .delivery-zone-section select {
  min-height: 44px;
  border-radius: 10px;
  background: var(--color-surface);
}

body.is-menu-active .form-field__error,
body.is-menu-active .payment-error,
body.is-menu-active .delivery-zone-error {
  border: 1px solid var(--color-danger-border);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--color-danger-soft);
  color: var(--color-danger);
  line-height: 1.45;
}

body.is-menu-active .payment-options {
  gap: 9px;
}

body.is-menu-active .payment-option {
  min-height: 46px;
  border-radius: 12px;
  background: var(--color-surface);
}

body.is-menu-active .final-review-content {
  gap: 12px;
}

body.is-menu-active .final-review-chip {
  min-height: 32px;
}

body.is-menu-active .final-review-section {
  box-shadow: 0 8px 18px color-mix(in srgb, var(--color-strong) 5%, transparent);
}

body.is-menu-active .final-review-section--totals {
  border-color: color-mix(in srgb, var(--color-primary) 16%, var(--color-surface-border));
  background:
    linear-gradient(135deg, var(--color-primary-soft), var(--color-surface));
}

body.is-menu-active .final-review-section--totals .final-review-line:last-child {
  border-top-color: color-mix(in srgb, var(--color-primary) 20%, var(--color-surface-border));
}

body.is-menu-active .order-confirmation {
  background:
    linear-gradient(180deg, var(--color-background), var(--color-surface-soft));
}

body.is-menu-active .order-confirmation__card {
  padding: 22px 16px;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--color-strong) 14%, transparent);
}

body.is-menu-active .order-confirmation__number {
  width: 100%;
  border-radius: 12px;
}

body.is-menu-active .order-confirmation__summary,
body.is-menu-active .order-confirmation.is-sent .order-confirmation__summary,
body.is-menu-active .order-confirmation.is-handoff .order-confirmation__summary {
  border-radius: 12px;
}

body.is-menu-active .order-confirmation__actions .primary-action,
body.is-menu-active .order-confirmation__actions .secondary-action,
body.is-menu-active .order-confirmation__handoff-actions .primary-action,
body.is-menu-active .order-confirmation__handoff-actions .secondary-action {
  min-height: 46px;
  border-radius: 12px;
}

@media (max-width: 430px) {
  body.is-menu-active .hero {
    min-height: 300px;
    padding: 24px 18px;
  }

  body.is-menu-active .hero h2 {
    font-size: clamp(2rem, 13vw, 3.35rem);
  }

  body.is-menu-active .story-category {
    width: 84px;
    min-width: 84px;
  }

  body.is-menu-active .story-category__media {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
  }

  body.is-menu-active .promo-code-panel__row,
  body.is-menu-active .day-offer-panel__actions {
    grid-template-columns: 1fr;
  }

  body.is-menu-active .menu-card__body {
    padding: 13px;
  }
}

@keyframes menu-assistant-pulse {
  0% {
    transform: scale(0.82);
    opacity: 0.28;
  }
  70% {
    transform: scale(1.24);
    opacity: 0;
  }
  100% {
    transform: scale(1.24);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .menu-assistant {
    inset-inline-end: 14px;
    bottom: 88px;
  }
}

.guided-assistant {
  position: relative;
  width: 100%;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  margin: 10px 0 0;
  padding: 16px;
  border: 1px solid var(--color-surface-border);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--color-strong) 10%, transparent);
}

.guided-assistant[hidden],
.guided-assistant__launcher[hidden] {
  display: none;
}

.guided-assistant__host {
  align-items: flex-start;
  flex-direction: column;
}

.guided-assistant__launcher {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--color-primary-border);
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-surface);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.guided-assistant__launcher svg {
  width: 20px;
  height: 20px;
}

.guided-assistant__close {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--color-surface-border);
  border-radius: 999px;
  background: var(--color-surface-soft);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.guided-assistant__mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline-end: 36px;
}

.guided-assistant__mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--color-primary-border);
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-surface);
}

.guided-assistant__mini-icon svg {
  width: 20px;
  height: 20px;
}

.guided-assistant__mini-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.guided-assistant__mini-title {
  color: var(--color-text);
  font-weight: 900;
  line-height: 1.35;
}

.guided-assistant__mini-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-success-text);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.guided-assistant__status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--color-success);
}

.guided-assistant__greeting {
  margin-top: 12px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.guided-assistant__subtitle {
  margin-top: 4px;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.guided-assistant__questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.guided-assistant__question,
.guided-assistant__action {
  min-height: 38px;
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.guided-assistant__question {
  padding: 8px 12px;
}

.guided-assistant__answer {
  margin-top: 14px;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.8;
}

.guided-assistant__actions {
  margin-top: 10px;
}

.guided-assistant__action {
  padding: 8px 16px;
}

