:root {
  --color-primary: #C2410C;
  --color-secondary: #F6B23F;
  --color-background: #FFF8F0;
  --color-surface: #FFFCF7;
  --color-text: #1C1109;
  --color-muted: #7A5C4E;
  --ember-charcoal: #1C1109;
  --ember-coal: #2E1A0E;
  --ember-rust: #C2410C;
  --ember-flame: #C2410C;
  --ember-amber: #F6B23F;
  --ember-cream: #FFF8F0;
  --ember-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;
}

@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%, rgba(246, 178, 63, 0.22), transparent 34rem),
    linear-gradient(180deg, #fff7ee 0%, var(--color-background) 100%);
  color: var(--color-text);
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif;
  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;
}

.welcome-gate {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(32, 26, 23, 0.78), rgba(32, 26, 23, 0.36)),
    var(--hero-image, linear-gradient(135deg, var(--color-primary), var(--color-secondary)));
  background-size: cover;
  background-position: center;
}

.welcome-gate[hidden] {
  display: none;
}

.welcome-gate__card {
  width: min(100%, 470px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 243, 0.95);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
  text-align: center;
  animation: softFadeUp 360ms ease both;
}

.welcome-gate__logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.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.75rem, 6vw, 2.6rem);
  line-height: 1.15;
}

.welcome-gate__taste {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 800;
}

.welcome-gate__greeting {
  color: var(--color-text);
  font-weight: 800;
}

.welcome-gate__line {
  color: var(--color-muted);
  line-height: 1.7;
}

.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__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: 800;
}

.welcome-gate__language .language-switcher {
  width: 100%;
  justify-content: center;
}

.welcome-gate__language .language-option {
  flex: 1 1 0;
}

.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: 700;
  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;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 16px 4px 12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 18px;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

.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;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  margin: 12px 0 4px;
  padding: 4px 4px 10px;
  gap: 4px;
}

.story-categories::before {
  display: none;
}

.story-category {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 72px;
  min-width: 72px;
  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:
    transform 180ms ease,
    opacity 180ms 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: -webkit-box;
  width: 100%;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 180ms 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 6px 18px rgba(194, 65, 12, 0.22),
    0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: scale(1.08);
}

.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: softPulse 350ms 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__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 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;
}

.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: 900;
  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: 5px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  line-height: 1;
}

.product-badge--new {
  border-color: rgba(65, 132, 191, 0.34);
  background: linear-gradient(135deg, rgba(232, 245, 255, 0.98), rgba(80, 142, 199, 0.14));
  color: #245f91;
}

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

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

.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: 800;
  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: 600;
}

.product-price__final {
  color: var(--color-price);
}

.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: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 68px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

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

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

.cart-toggle__count {
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 800;
}

.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: 900;
}

.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 {
  padding: 8px 10px;
  color: var(--color-primary);
  font-weight: 700;
}

.cart-total strong {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.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: 800;
}

.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: rgba(194, 65, 12, 0.08);
  box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.16);
}

.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],
.delivery-location[hidden] {
  display: none;
}

.table-number label,
.form-field label {
  font-weight: 800;
}

.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 rgba(32, 26, 23, 0.14);
  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 rgba(194, 65, 12, 0.1);
  outline: 0;
}

.form-field textarea {
  resize: vertical;
}

.table-number__error,
.form-field__error {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.form-field__status {
  margin: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.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: 800;
  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-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--removals legend {
  width: 100%;
}

.option-choice--removal-button {
  display: block;
  padding: 0;
}

.option-choice--removal-button + .option-choice--removal-button {
  border-top: 0;
}

.removal-choice-button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(32, 26, 23, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

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

.removal-choice-button.is-selected {
  border-color: var(--color-primary);
  background: rgba(194, 65, 12, 0.1);
  color: var(--color-primary);
}

.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--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 rgba(194, 65, 12, 0.18);
}

.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: EMBER brand identity upgrade */
.welcome-gate {
  background:
    radial-gradient(circle at 50% 12%, rgba(246, 178, 63, 0.22), transparent 18rem),
    radial-gradient(circle at 12% 78%, rgba(232, 93, 31, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(33, 23, 20, 0.82), rgba(52, 32, 24, 0.46)),
    var(--hero-image, linear-gradient(135deg, var(--ember-coal), var(--ember-rust)));
  background-position: center;
  background-size: cover;
}

.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(--ember-coal), var(--ember-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(--ember-amber), var(--ember-flame), var(--ember-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(--ember-rust), var(--ember-flame), var(--ember-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(--ember-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;
}

.product-badge--spicy,
.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(246, 178, 63, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 244, 191, 0.82), rgba(246, 178, 63, 0.18)),
    #fffaf4;
  color: var(--color-price-badge-text);
}

.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,
.removal-choice-button.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(480px, 100%);
  padding: 24px 18px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.order-confirmation.is-sent .order-confirmation__card {
  border: 1px solid rgba(22, 163, 74, 0.28);
  background: linear-gradient(180deg, #f0fdf4, #dcfce7);
  box-shadow: 0 18px 50px rgba(22, 101, 52, 0.18);
}

.order-confirmation.is-sent .order-confirmation__card::before {
  content: "✓";
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.order-confirmation.is-sent .order-confirmation__card h2 {
  color: #166534;
}

.order-confirmation__card h2 {
  margin: 0 0 12px;
}

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

.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: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--color-muted);
}

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

.order-confirmation__sent-button {
  min-width: 160px;
  margin: 18px auto 0;
}

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

.order-confirmation__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 0;
  flex-wrap: wrap;
}

.branch-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.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 {
  display: none;
}

.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 rgba(194, 65, 12, 0.25);
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(194, 65, 12, 0.06);
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}

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

.header-action--share:hover {
  background: rgba(194, 65, 12, 0.12);
}

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

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

.category-tabs-row .category-tabs {
  flex: 1;
  min-width: 0;
}

.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 {
    gap: 10px;
    margin-top: 16px;
    padding-bottom: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .story-category {
    width: 84px;
    min-width: 84px;
    min-height: 112px;
    flex: 0 0 auto;
    transition: opacity 160ms 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 {
    font-size: 0.76rem;
  }

  .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 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%);
  }

  .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: calc(50% - min(215px, calc((100vw - 48px) / 2)) + 16px);
    bottom: 38px;
  }

  [dir="rtl"] .cart-toggle {
    right: auto;
    left: calc(50% - min(215px, calc((100vw - 48px) / 2)) + 16px);
  }

  .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;
  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);
  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),
    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(--ember-rust);
  font-size: 0.75rem;
  font-weight: 900;
}

.welcome-gate__title {
  color: var(--ember-coal);
  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: var(--ember-coal);
  font-size: 0.98rem;
}

.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(--ember-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: var(--ember-coal);
  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__start {
  min-height: 52px;
  border-radius: 16px;
  font-size: 1rem;
  letter-spacing: 0;
}

@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(--ember-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(--ember-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. */
#menuGrid.main-products-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

#menuGrid.main-products-list > .product-row {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 104px !important;
  overflow: hidden !important;
}

[dir="rtl"] #menuGrid.main-products-list > .product-row {
  grid-template-columns: 84px minmax(0, 1fr) !important;
}

#menuGrid.main-products-list > .product-row > .product-row__media {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  box-sizing: border-box !important;
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 84px !important;
  min-height: 84px !important;
  max-height: 84px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#menuGrid.main-products-list > .product-row > .product-row__content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

#menuGrid.main-products-list .product-row__media img,
#menuGrid.main-products-list .product-row__image {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

#menuGrid.main-products-list .product-row__description {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

#menuGrid.main-products-list .product-row__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

#menuGrid.main-products-list .product-row__quantity {
  display: inline-grid !important;
  grid-template-columns: 38px 32px 38px !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

@media (max-width: 380px) {
  #menuGrid.main-products-list > .product-row {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 94px !important;
  }

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

  #menuGrid.main-products-list > .product-row > .product-row__media {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
  }

  #menuGrid.main-products-list .product-row__quantity {
    grid-template-columns: 34px 28px 34px !important;
  }
}

/* ── 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 {
  margin: 0 0 16px;
  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.9rem;
  color: var(--color-text);
  text-align: center;
}

.order-confirmation__prep-time strong {
  color: var(--color-primary);
}

/* ── 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: 100%;
  max-width: 480px;
  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: '×';
  font-size: 1.4rem;
  line-height: 1;
}

.order-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -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: 700;
  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: 85dvh;
  }
}

/* ── Order Type Cards (بطاقات نوع الطلب) ── */
.order-type-cards {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
}

.order-type-cards--modal {
  padding: 4px 0 8px;
}

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

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

/* 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__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;
  }
}
