/* McDonald’s Delivery demo — premium one-page WhatsApp ordering UI */

:root {
  --red: #d71920;
  --deep-red: #a90f17;
  --yellow: #ffc72c;
  --yellow-soft: #fff4c4;
  --cream: #fff9ed;
  --white: #ffffff;
  --dark: #15120f;
  --muted: #71665c;
  --line: rgba(21, 18, 15, 0.1);
  --shadow: 0 22px 55px rgba(38, 24, 12, 0.16);
  --shadow-soft: 0 14px 34px rgba(38, 24, 12, 0.11);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --topbar-height: 74px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--dark);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 199, 44, 0.28), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(215, 25, 32, 0.11), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #fff7e6 42%, #ffffff 100%);
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 80;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(37, 23, 10, 0.12);
  backdrop-filter: blur(22px);
  animation: slideDown 0.8s var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: linear-gradient(135deg, var(--yellow), #ffe88a);
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.15), 0 12px 22px rgba(255, 199, 44, 0.42);
  font-size: 1.8rem;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.header-cart-btn {
  position: relative;
  min-width: 56px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), #30251d);
  box-shadow: 0 15px 28px rgba(21, 18, 15, 0.24);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(21, 18, 15, 0.28);
}

.header-cart-btn.is-bumping {
  animation: cartBump 0.45s var(--ease);
}

.cart-icon {
  font-size: 1.2rem;
}

.header-cart-text {
  display: none;
  font-weight: 800;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 54px 0 32px;
  min-height: calc(100vh - 118px);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 199, 44, 0.52);
  border-radius: 999px;
  color: var(--deep-red);
  background: rgba(255, 247, 225, 0.86);
  box-shadow: 0 12px 24px rgba(255, 199, 44, 0.15);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  box-shadow: none;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(215, 25, 32, 0.45);
  animation: pulse 1.8s infinite;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(3.15rem, 13vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

.hero-subtext {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.primary-btn,
.ghost-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.primary-btn {
  border: 0;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--deep-red));
  box-shadow: 0 18px 32px rgba(215, 25, 32, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(215, 25, 32, 0.34);
}

.primary-btn:active,
.ghost-btn:active {
  transform: translateY(1px) scale(0.98);
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.ghost-btn {
  border: 1px solid var(--line);
  padding: 0 20px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 13px 26px rgba(38, 24, 12, 0.08);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 999px;
  color: #4a4038;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(38, 24, 12, 0.07);
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-badges span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--yellow);
  font-size: 0.73rem;
}

.hero-visual {
  position: relative;
  min-height: 355px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(90vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 43%, rgba(255, 199, 44, 0.82), rgba(255, 199, 44, 0.24) 46%, transparent 68%),
    radial-gradient(circle at 70% 70%, rgba(215, 25, 32, 0.22), transparent 40%);
  filter: blur(3px);
  z-index: -2;
  animation: softSpin 14s linear infinite;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 50%;
  z-index: -1;
}

.hero-orbit.one {
  width: 92%;
  max-width: 480px;
  aspect-ratio: 1;
  animation: softSpin 18s linear infinite;
}

.hero-orbit.two {
  width: 71%;
  max-width: 365px;
  aspect-ratio: 1;
  animation: softSpin 12s linear reverse infinite;
}

.premium-food-card {
  position: relative;
  width: min(82vw, 355px);
  min-height: 355px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 225, 0.78)),
    radial-gradient(circle at top, rgba(255, 199, 44, 0.22), transparent 56%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.floating-card {
  animation: floatY 4.5s ease-in-out infinite;
}

.food-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 199, 44, 0.5);
  filter: blur(30px);
  transform: translateY(38px);
}

.burger-illustration {
  position: relative;
  width: 220px;
  height: 170px;
  z-index: 1;
  transform: rotate(-6deg);
  filter: drop-shadow(0 28px 28px rgba(91, 43, 12, 0.2));
}

.burger-illustration span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.burger-illustration .bun.top {
  top: 4px;
  width: 190px;
  height: 70px;
  border-radius: 95px 95px 26px 26px;
  background: linear-gradient(180deg, #ffca65, #d17921);
}

.burger-illustration .bun.top::after {
  content: "• • •";
  position: absolute;
  top: 17px;
  left: 52px;
  color: #fff0b8;
  font-size: 1.2rem;
  letter-spacing: 14px;
}

.burger-illustration .cheese {
  top: 72px;
  width: 174px;
  height: 32px;
  border-radius: 14px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 94% 70%, 70% 45%, 56% 100%, 40% 44%, 22% 80%, 0 42%);
}

.burger-illustration .patty {
  top: 91px;
  width: 196px;
  height: 42px;
  border-radius: 25px;
  background: linear-gradient(180deg, #713415, #3b1b0d);
}

.burger-illustration .lettuce {
  top: 128px;
  width: 184px;
  height: 24px;
  border-radius: 999px;
  background: repeating-radial-gradient(circle at 10px 10px, #4eb64b 0 10px, #2c862f 11px 20px);
  opacity: 0.95;
}

.burger-illustration .bun.bottom {
  bottom: 2px;
  width: 182px;
  height: 42px;
  border-radius: 22px 22px 70px 70px;
  background: linear-gradient(180deg, #e28b32, #c46d1c);
}

.visual-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.visual-copy strong {
  letter-spacing: -0.03em;
}

.visual-copy small {
  color: var(--muted);
  font-weight: 800;
}

.side-food {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.fries-card {
  --rotate: -10deg;
  left: 0;
  bottom: 34px;
  width: 108px;
  height: 108px;
  border-radius: 30px;
  transform: rotate(-10deg);
  animation: floatY 5.2s ease-in-out infinite 0.4s;
}

.fries-box {
  position: absolute;
  bottom: 17px;
  width: 56px;
  height: 45px;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(135deg, var(--red), var(--deep-red));
}

.fries-box::after {
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-weight: 900;
}

.fries-stick {
  position: absolute;
  bottom: 52px;
  width: 10px;
  height: 47px;
  border-radius: 999px;
  background: var(--yellow);
  transform-origin: bottom;
}

.f1 { transform: translateX(-27px) rotate(-13deg); }
.f2 { transform: translateX(-9px) rotate(-4deg); height: 56px; }
.f3 { transform: translateX(11px) rotate(8deg); height: 52px; }
.f4 { transform: translateX(28px) rotate(16deg); }

.drink-card {
  --rotate: 9deg;
  right: 2px;
  top: 28px;
  width: 92px;
  height: 108px;
  border-radius: 30px;
  transform: rotate(9deg);
  animation: floatY 5.8s ease-in-out infinite 0.8s;
}

.cup-body {
  font-size: 3rem;
  filter: drop-shadow(0 12px 16px rgba(21, 18, 15, 0.15));
}

.category-toggle {
  position: fixed;
  top: 50%;
  left: max(8px, env(safe-area-inset-left));
  z-index: 104;
  width: 44px;
  min-height: 126px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, var(--dark), #2d211a);
  box-shadow: 0 18px 42px rgba(21, 18, 15, 0.26);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateY(-50%) rotate(180deg);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    opacity 0.25s var(--ease),
    background 0.25s var(--ease);
}

.category-toggle:hover {
  transform: translateY(-50%) rotate(180deg) translateY(-2px);
  box-shadow: 0 22px 46px rgba(21, 18, 15, 0.3);
}

.category-toggle.is-open {
  opacity: 0;
  pointer-events: none;
}

.category-wrap {
  position: fixed;
  top: 50%;
  left: max(10px, env(safe-area-inset-left));
  right: auto;
  z-index: 105;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 58px rgba(37, 23, 10, 0.2);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-118%, -50%) scale(0.98);
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.25s var(--ease);
}

.category-wrap.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.category-bar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: none;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  position: relative;
  flex: 0 0 auto;
  width: 122px;
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 18px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 999px;
  color: #41362f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 11px 24px rgba(38, 24, 12, 0.1);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.category-pill:hover {
  transform: translateX(4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 30px rgba(38, 24, 12, 0.14);
}

.category-pill.active {
  color: var(--white);
  border-color: rgba(255, 199, 44, 0.5);
  background: linear-gradient(135deg, var(--dark), #33251d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 199, 44, 0.28),
    0 18px 34px rgba(21, 18, 15, 0.24);
}

.category-pill.active::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 199, 44, 0.16);
}

.category-pill .icon {
  display: none;
}

.category-pill .label {
  display: inline;
}

.menu-area {
  padding: 28px 56px 76px 0;
}

.menu-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.menu-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 8vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.menu-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.menu-section {
  padding-top: 24px;
  margin-bottom: 34px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  letter-spacing: -0.055em;
}

.section-title span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(38, 24, 12, 0.1);
}

.section-count {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.food-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(38, 24, 12, 0.09);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  animation: cardIn 0.65s var(--ease) both;
}

.food-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 199, 44, 0.42);
  box-shadow: 0 24px 48px rgba(38, 24, 12, 0.14);
}

.food-card:active {
  transform: translateY(-2px) scale(0.99);
}

.card-media {
  position: relative;
  height: 132px;
  margin: 9px 9px 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 34% 16%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(145deg, rgba(255, 199, 44, 0.42), rgba(215, 25, 32, 0.12));
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease);
}

.food-card:hover .card-media img {
  transform: scale(1.07) rotate(-1deg);
}

.food-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--yellow);
  box-shadow: 0 10px 20px rgba(255, 199, 44, 0.28);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 12px 64px;
}

.card-content h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.card-content p {
  display: -webkit-box;
  min-height: 37px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--deep-red);
  background: rgba(215, 25, 32, 0.08);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.quick-add {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--dark);
  background: linear-gradient(135deg, var(--yellow), #ffe182);
  box-shadow: 0 13px 23px rgba(255, 199, 44, 0.34);
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.quick-add:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 16px 28px rgba(255, 199, 44, 0.42);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(21, 18, 15, 0.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.overlay.active {
  opacity: 1;
}

.cart-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(100%, 460px);
  height: min(100dvh, 820px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px 0 0 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 238, 0.97));
  box-shadow: -24px 0 60px rgba(21, 18, 15, 0.22);
  transform: translateX(108%);
  transition: transform 0.33s var(--ease);
  overflow: hidden;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-handle {
  display: none;
}

.cart-header,
.cart-footer {
  padding: 22px;
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 8px 0 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(38, 24, 12, 0.08);
  font-size: 1.65rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.icon-btn:hover {
  transform: rotate(7deg) scale(1.05);
  background: var(--yellow-soft);
}

.cart-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.empty-cart {
  height: 100%;
  min-height: 290px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(21, 18, 15, 0.17);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
}

.empty-emoji {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 28px;
  background: var(--yellow-soft);
  font-size: 2.4rem;
}

.empty-cart h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.empty-cart p {
  margin: 7px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.empty-cart-actions {
  margin-top: 18px;
}

.empty-cart-btn {
  min-width: 150px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(37, 23, 10, 0.08);
}

.empty-cart-btn:hover {
  transform: translateY(-1px);
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(38, 24, 12, 0.07);
  animation: itemIn 0.25s var(--ease) both;
}

.cart-thumb {
  width: 62px;
  height: 62px;
  border-radius: 19px;
  object-fit: cover;
  background: var(--yellow-soft);
}

.cart-item-main {
  min-width: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.cart-item-title {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: -0.035em;
}

.cart-item-price {
  flex: 0 0 auto;
  color: var(--deep-red);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.cart-meta {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}

.mini-qty button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.mini-qty strong {
  min-width: 18px;
  text-align: center;
  font-size: 0.85rem;
}

.text-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(21, 18, 15, 0.05);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.text-btn:hover {
  color: var(--dark);
  background: var(--yellow-soft);
}

.text-btn.remove:hover {
  color: var(--deep-red);
  background: rgba(215, 25, 32, 0.09);
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.checkout-notes {
  display: grid;
  gap: 8px;
  padding: 13px;
  border-radius: 20px;
  background: var(--cream);
  color: #53483f;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 750;
}

.checkout-notes p {
  margin: 0;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 900;
}

.cart-total-row strong {
  color: var(--dark);
  font-size: 1.7rem;
  letter-spacing: -0.06em;
}

.checkout-btn {
  width: 100%;
}

.checkout-btn.is-loading {
  pointer-events: none;
}

.checkout-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: checkoutSpin 0.8s linear infinite;
}

@keyframes checkoutSpin {
  to {
    transform: rotate(360deg);
  }
}

.cart-dock {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), #2d241c);
  box-shadow: 0 20px 44px rgba(21, 18, 15, 0.3);
  cursor: pointer;
  transform: translateY(110px);
  transition: transform 0.28s var(--ease);
}

.cart-dock.visible {
  display: flex;
  animation: dockIn 0.35s var(--ease) both;
  transform: translateY(0);
}

.cart-dock strong {
  color: var(--yellow);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: end center;
  padding: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.modal.open {
  pointer-events: auto;
  opacity: 1;
}

.modal-card {
  position: relative;
  width: min(100%, 920px);
  max-height: min(92dvh, 760px);
  display: grid;
  grid-template-rows: 235px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 237, 0.97));
  box-shadow: 0 34px 80px rgba(21, 18, 15, 0.32);
  overflow: hidden;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.28s var(--ease);
}

.modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
}

.modal-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(135deg, rgba(255, 199, 44, 0.55), rgba(215, 25, 32, 0.16));
}

.modal-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.72));
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.modal-content {
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--yellow);
  box-shadow: 0 10px 20px rgba(255, 199, 44, 0.23);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.modal-content h2 {
  margin: 13px 0 7px;
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.modal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.option-block {
  margin-top: 21px;
}

.option-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.option-title strong {
  letter-spacing: -0.03em;
}

.option-title span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.option-card {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.option-card:hover {
  transform: translateY(-2px);
}

.option-card.active {
  border-color: rgba(255, 199, 44, 0.85);
  background: var(--yellow-soft);
  box-shadow: 0 12px 22px rgba(255, 199, 44, 0.18);
}

.option-card strong {
  font-size: 0.88rem;
}

.option-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.addons-list {
  display: grid;
  gap: 9px;
}

.addon-row {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.addon-row:hover {
  transform: translateY(-1px);
}

.addon-row.active {
  border-color: rgba(215, 25, 32, 0.2);
  background: rgba(255, 244, 196, 0.8);
}

.addon-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fake-check {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 18, 15, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.addon-row.active .fake-check {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.addon-name {
  font-weight: 900;
  letter-spacing: -0.025em;
}

.addon-price {
  color: var(--deep-red);
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

.no-extras {
  padding: 14px;
  border: 1px dashed rgba(21, 18, 15, 0.16);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.modal-bottom {
  position: sticky;
  bottom: -22px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  margin: 22px -22px -22px;
  padding: 14px 22px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}

.qty-selector button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  box-shadow: 0 8px 17px rgba(38, 24, 12, 0.08);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.qty-selector button:hover {
  transform: scale(1.05);
  background: var(--yellow-soft);
}

.qty-selector strong {
  min-width: 24px;
  text-align: center;
}

.add-order-btn {
  width: 100%;
}

.toast-stack {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 220;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 28px));
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  font-weight: 850;
  animation: toastIn 0.35s var(--ease) both;
}

.toast::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--dark);
  background: var(--yellow);
  font-weight: 950;
}

.toast.leaving {
  animation: toastOut 0.25s var(--ease) forwards;
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 26px 0 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.site-footer strong {
  color: var(--dark);
}

.site-footer span {
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.section-reveal {
  animation: fadeUp 0.85s var(--ease) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-16px) scale(0.97);
  }
}

@keyframes dockIn {
  from {
    opacity: 0;
    transform: translateY(90px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(215, 25, 32, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(215, 25, 32, 0);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }

  50% {
    transform: translateY(-15px) rotate(var(--rotate, 0deg));
  }
}

@keyframes softSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cartBump {
  0%, 100% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.1) rotate(-3deg);
  }
}

@media (min-width: 720px) {
  .page-shell {
    width: min(1180px, calc(100% - 56px));
  }

  .header-cart-text {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    padding-top: 70px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .category-toggle {
    display: none;
  }

  .category-wrap {
    top: 50%;
    left: max(12px, env(safe-area-inset-left));
    right: auto;
    z-index: 95;
    padding: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  .category-pill {
    width: 128px;
    height: 48px;
  }

  .menu-area {
    padding-right: 0;
  }

  .menu-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: end;
    margin-top: 18px;
  }

  .menu-heading p {
    justify-self: end;
  }

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

  .card-media {
    height: 170px;
  }

  .card-content {
    padding: 16px 16px 70px;
  }

  .card-content h3 {
    font-size: 1.12rem;
  }

  .card-content p {
    font-size: 0.88rem;
  }

  .card-bottom {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .modal {
    place-items: center;
    padding: 28px;
  }

  .modal-card {
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .modal-media {
    min-height: 100%;
  }

  .modal-content {
    padding: 28px;
  }

  .modal-bottom {
    bottom: -28px;
    margin: 24px -28px -28px;
    padding: 16px 28px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-bottom: 34px;
  }

  .toast-stack {
    top: 22px;
    left: 50%;
    right: auto;
    bottom: auto;
  }
}

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

  .hero-visual {
    min-height: 520px;
  }

  .premium-food-card {
    width: 390px;
    min-height: 390px;
  }

  .side-food.fries-card {
    left: 10px;
    bottom: 78px;
  }

  .side-food.drink-card {
    right: 12px;
    top: 78px;
  }
}

@media (max-width: 719px) {
  :root {
    --topbar-height: 66px;
  }

  .page-shell {
    width: min(100% - 24px, 520px);
  }

  .topbar {
    top: 8px;
    height: var(--topbar-height);
    margin-top: 8px;
    padding: 8px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    margin-top: 16px;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    flex: 1 1 150px;
  }

  .hero-visual {
    margin-top: 2px;
  }

  .visual-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .side-food.fries-card {
    --rotate: -10deg;
  }

  .side-food.drink-card {
    --rotate: 9deg;
  }

  .menu-area {
    padding-bottom: 90px;
  }

  .category-toggle {
    top: 54%;
    left: max(7px, env(safe-area-inset-left));
    width: 42px;
    min-height: 124px;
    font-size: 0.74rem;
  }

  .category-wrap {
    top: 54%;
    left: max(12px, env(safe-area-inset-left));
    padding: 7px;
    border-radius: 24px;
  }

  .category-pill {
    width: 112px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.78rem;
    letter-spacing: -0.02em;
  }

  .category-pill.active::before {
    left: 7px;
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.14);
  }

  .food-card:nth-child(n + 3) {
    animation-delay: 0.04s;
  }

  .cart-panel {
    left: 0;
    right: 0;
    width: 100%;
    height: min(88dvh, 760px);
    border-radius: 34px 34px 0 0;
    transform: translateY(108%);
    box-shadow: 0 -26px 65px rgba(21, 18, 15, 0.25);
  }

  .cart-panel.open {
    transform: translateY(0);
  }

  .cart-handle {
    display: block;
    width: 58px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(21, 18, 15, 0.14);
  }

  .cart-header {
    padding-top: 14px;
  }

  .cart-header h2 {
    font-size: 1.72rem;
  }

  .cart-footer {
    padding: 15px;
    padding-bottom: max(15px, env(safe-area-inset-bottom));
  }

  .checkout-notes {
    font-size: 0.76rem;
  }

  .modal-card {
    border-radius: 30px 30px 0 0;
    max-height: 92dvh;
    width: calc(100% + 28px);
    margin-bottom: -14px;
  }

  .modal-media {
    min-height: 230px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .modal-bottom {
    grid-template-columns: 112px 1fr;
  }

  .add-order-btn {
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .toast-stack {
    top: max(14px, env(safe-area-inset-top));
    bottom: auto;
  }
}

@media (max-width: 390px) {
  .page-shell {
    width: min(100% - 18px, 520px);
  }

  .category-toggle {
    width: 40px;
    min-height: 116px;
    font-size: 0.7rem;
  }

  .category-pill {
    width: 104px;
    height: 40px;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .food-grid {
    gap: 10px;
  }

  .food-card {
    border-radius: 24px;
  }

  .card-media {
    height: 116px;
    margin: 7px 7px 0;
    border-radius: 19px;
  }

  .card-content {
    padding: 11px 10px 62px;
  }

  .card-content h3 {
    font-size: 0.92rem;
  }

  .card-content p {
    font-size: 0.72rem;
  }

  .price {
    min-height: 35px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .quick-add {
    width: 39px;
    height: 39px;
  }

  .modal-content {
    padding: 18px;
  }

  .modal-bottom {
    bottom: -18px;
    margin: 20px -18px -18px;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  }
}

/* Product card redesign — floating image cards, app-style add button, mobile-first grid */
.menu-area {
  padding: 28px 0 76px;
}

.food-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 12px;
  padding-top: 34px;
}

.food-card {
  isolation: isolate;
  min-height: 192px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 58px 10px 12px;
  border: 1px solid rgba(21, 18, 15, 0.07);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(255, 199, 44, 0.16), transparent 52%);
  box-shadow:
    0 18px 36px rgba(38, 24, 12, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(0);
}

.food-card::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 199, 44, 0.14), rgba(215, 25, 32, 0.06));
  filter: blur(8px);
  opacity: 0.74;
  z-index: -1;
}

.food-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 199, 44, 0.42);
  box-shadow:
    0 26px 54px rgba(38, 24, 12, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.food-card:active {
  transform: translateY(-3px) scale(0.99);
}

.food-card.is-popping {
  animation: quickCardPop 0.52s var(--ease) both;
}

.card-media {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 152px);
  height: 112px;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -48px);
  z-index: 2;
}

.card-media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 74%;
  height: 18px;
  border-radius: 999px;
  background: rgba(38, 24, 12, 0.14);
  filter: blur(11px);
  transform: translateX(-50%);
  z-index: -1;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(38, 24, 12, 0.16));
  transition: transform 0.38s var(--ease), filter 0.38s var(--ease);
}

.food-card:hover .card-media img {
  transform: translateY(-5px) scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 24px 24px rgba(38, 24, 12, 0.2));
}

.food-badge {
  top: 12px;
  left: 12px;
  z-index: 3;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 199, 44, 0.52);
  color: #4a2c00;
  background: linear-gradient(135deg, #fff1a4, var(--yellow));
  box-shadow: 0 10px 18px rgba(255, 199, 44, 0.22);
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
}

.card-content h3 {
  margin: 0 0 5px;
  color: var(--dark);
  font-size: 0.94rem;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.card-content p {
  display: -webkit-box;
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  position: static;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--deep-red);
  background: transparent;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.quick-add {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--red), var(--deep-red));
  box-shadow:
    0 12px 20px rgba(215, 25, 32, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 1.35rem;
  line-height: 1;
}

.quick-add:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow:
    0 16px 26px rgba(215, 25, 32, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.quick-add.is-added {
  color: var(--dark);
  background: linear-gradient(135deg, var(--yellow), #ffe486);
  box-shadow: 0 14px 24px rgba(255, 199, 44, 0.38);
  transform: scale(1.12);
}

@keyframes quickCardPop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  42% {
    transform: translateY(-8px) scale(1.035);
  }
}

@media (min-width: 720px) {
  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 66px 18px;
    padding-top: 42px;
  }

  .food-card {
    min-height: 238px;
    padding: 76px 16px 16px;
    border-radius: 30px;
  }

  .card-media {
    width: min(88%, 185px);
    height: 142px;
    transform: translate(-50%, -62px);
  }

  .food-badge {
    top: 15px;
    left: 15px;
    min-height: 25px;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .card-content h3 {
    font-size: 1.08rem;
  }

  .card-content p {
    min-height: 38px;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .card-bottom {
    padding-top: 16px;
  }

  .price {
    font-size: 1.08rem;
  }

  .quick-add {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .food-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 72px 20px;
  }

  .food-card {
    min-height: 250px;
  }
}

@media (max-width: 390px) {
  .food-grid {
    gap: 48px 9px;
    padding-top: 30px;
  }

  .food-card {
    min-height: 178px;
    padding: 52px 9px 10px;
    border-radius: 22px;
  }

  .card-media {
    width: min(88%, 132px);
    height: 98px;
    transform: translate(-50%, -42px);
  }

  .food-badge {
    top: 10px;
    left: 10px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.56rem;
  }

  .card-content h3 {
    font-size: 0.88rem;
  }

  .card-content p {
    font-size: 0.68rem;
  }

  .price {
    font-size: 0.9rem;
  }

  .quick-add {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 1.22rem;
  }
}


/* Final product card image placeholders — no emoji/icon food illustrations */
.food-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.food-card {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 9px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(38, 24, 12, 0.09);
}

.food-card::before,
.card-media::before {
  display: none;
}

.card-media {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 118px;
  margin: 0 0 12px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff3df;
  pointer-events: none;
  transform: none;
  z-index: 1;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.food-card:hover .card-media img {
  transform: scale(1.045);
  filter: none;
}

.food-badge {
  top: 17px;
  left: 17px;
  z-index: 4;
  min-height: 24px;
  padding: 0 9px;
  font-size: 0.56rem;
}

.card-content {
  padding: 0 3px 2px;
}

.card-content h3 {
  margin: 0 0 5px;
  font-size: 0.94rem;
  line-height: 1.08;
}

.card-content p {
  min-height: 34px;
  font-size: 0.7rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.card-bottom {
  margin-top: 14px;
  padding-top: 0;
}

.price {
  font-size: 1rem;
}

.quick-add {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
}

.modal-media {
  background: #fff3df;
}

.modal-media::after {
  display: none;
}

.modal-media img {
  object-fit: cover;
  transform: none;
}

@media (min-width: 720px) {
  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 22px;
  }

  .food-card {
    padding: 11px;
    border-radius: 28px;
  }

  .card-media {
    height: 154px;
    margin-bottom: 15px;
    border-radius: 23px;
  }

  .food-badge {
    top: 21px;
    left: 21px;
    font-size: 0.62rem;
  }

  .card-content {
    padding: 0 5px 5px;
  }

  .card-content h3 {
    font-size: 1.06rem;
  }

  .card-content p {
    min-height: 42px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .card-bottom {
    margin-top: 18px;
  }
}

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

  .card-media {
    height: 150px;
  }
}

@media (max-width: 390px) {
  .food-grid {
    gap: 10px;
    padding-top: 16px;
  }

  .food-card {
    padding: 8px;
    border-radius: 21px;
  }

  .card-media {
    height: 104px;
    margin-bottom: 10px;
    border-radius: 17px;
  }

  .food-badge {
    top: 15px;
    left: 15px;
    min-height: 21px;
    padding: 0 7px;
    font-size: 0.52rem;
  }

  .card-content h3 {
    font-size: 0.86rem;
  }

  .card-content p {
    min-height: 31px;
    font-size: 0.66rem;
  }
}


/* Full Marrakech menu categories from uploaded image folders */
.section-title span:empty {
  display: none;
}

.category-pill {
  width: auto;
  min-width: 154px;
  padding-inline: 18px;
  white-space: nowrap;
}

.category-bar {
  align-items: stretch;
}

.food-badge {
  text-transform: none;
}

@media (min-width: 720px) {
  .category-pill {
    min-width: 168px;
  }
}

@media (max-width: 719px) {
  .category-pill {
    width: auto;
    min-width: 142px;
    padding-inline: 15px;
  }
}


/* Required menu choices */
.required-options {
  display: grid;
  gap: 18px;
}

.required-choice-group {
  display: grid;
  gap: 10px;
}

.compact-title {
  margin-bottom: 0;
}

.required-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.required-choice-grid .option-card strong {
  line-height: 1.2;
}

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

@media (max-width: 719px) {
  .required-choice-grid {
    grid-template-columns: 1fr;
  }
}


/* Clean menu modal options */
.option-title span:empty {
  display: none;
}

.required-choice-group .option-title:empty {
  display: none;
}

.option-card span:empty {
  display: none;
}

.required-options {
  gap: 16px;
}

.required-choice-grid .option-card {
  min-height: 62px;
}

.addons-list:empty {
  display: none;
}


/* Order control fields */
.customer-fields {
  display: grid;
  gap: 10px;
}

.customer-fields label {
  display: grid;
  gap: 7px;
}

.customer-fields span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.customer-fields input,
.customer-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark);
  padding: 13px 14px;
  font: inherit;
  font-weight: 750;
  outline: none;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.customer-fields input:focus,
.customer-fields textarea:focus {
  border-color: rgba(255, 199, 44, 0.85);
  box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.18);
}


/* Two-step checkout panel */
.checkout-progress {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-progress i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(21, 18, 15, 0.12);
}

.checkout-step {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 950;
  cursor: pointer;
}

.checkout-step span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--yellow-soft);
  font-size: 0.78rem;
}

.checkout-step.active {
  color: var(--white);
  border-color: rgba(255, 199, 44, 0.45);
  background: linear-gradient(135deg, var(--dark), #2d211a);
  box-shadow: 0 14px 26px rgba(21, 18, 15, 0.16);
}

.checkout-step.active span {
  background: var(--yellow);
}

.checkout-page {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.checkout-page[hidden] {
  display: none;
}

.review-footer,
.details-footer {
  margin-top: auto;
}

.details-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
}

.details-body > .checkout-notes {
  margin-top: auto;
}

.checkout-notes.compact {
  padding: 11px 13px;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.back-checkout-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
}

.customer-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.customer-fields label {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.70);
}

.customer-fields span {
  display: block;
  margin-bottom: 8px;
}

.customer-fields .field-helper {
  display: block;
  margin: 9px 2px 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.customer-fields input,
.customer-fields textarea {
  background: var(--white);
}

@media (max-width: 719px) {
  .checkout-progress {
    padding: 12px 15px;
    grid-template-columns: 1fr 24px 1fr;
  }

  .checkout-step {
    min-height: 39px;
    font-size: 0.84rem;
  }

  .checkout-step span {
    width: 22px;
    height: 22px;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }
}


/* === Floating cart redesign === */
.cart-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: auto;
  top: auto;
  z-index: 95;
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  max-width: 76px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--white);
  background: linear-gradient(145deg, #221710 0%, #120d09 100%);
  box-shadow: 0 22px 50px rgba(15, 10, 8, 0.26), inset 0 1px 0 rgba(255,255,255,0.08);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.88);
  overflow: visible;
  transition: opacity .24s ease, transform .24s ease, box-shadow .24s ease;
}

.cart-dock.visible {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: none;
}

.cart-dock:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 54px rgba(15, 10, 8, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

.cart-dock strong {
  display: none;
}

.cart-orbit {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(233,27,35,.20) 0%, rgba(233,27,35,.09) 45%, rgba(233,27,35,0) 74%);
  opacity: 0;
  transform: scale(.86);
  pointer-events: none;
}

.floating-cart-icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.floating-cart-icon-glow {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,27,35,.42) 0%, rgba(233,27,35,.22) 45%, rgba(233,27,35,0) 74%);
  filter: blur(2px);
  opacity: .78;
  animation: cartIconGlow 2.2s ease-in-out infinite;
}

.floating-cart-icon {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
  stroke: #e91b23;
  fill: none;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(233,27,35,.25));
  animation: cartIconFloat 2.2s ease-in-out infinite;
}

.floating-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 3px solid #fff;
  background: #ffc627;
  color: #23180f;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255,198,39,.28);
  z-index: 3;
}

.floating-cart-hint {
  position: absolute;
  right: 88px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(32, 21, 15, .08);
  background: rgba(255,255,255,.96);
  color: var(--dark);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(15,10,8,.11);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.cart-dock:hover .floating-cart-hint,
.cart-dock.cart-attention .floating-cart-hint {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cart-dock.cart-attention {
  animation: cartButtonNudge 1.25s cubic-bezier(.22,.95,.26,1.15) both;
}

.cart-dock.cart-attention .cart-orbit {
  animation: cartPulseRing 1.15s ease-out 2;
}

.cart-dock.cart-attention .floating-cart-icon-glow {
  animation: cartIconGlowFast .8s ease-in-out 2;
}

.cart-dock.cart-attention .floating-cart-icon {
  animation: cartIconAttention .95s ease-in-out 2;
}

.cart-dock.cart-attention .floating-cart-count {
  animation: cartBadgePop .55s ease-out both;
}

@keyframes cartButtonNudge {
  0%,100% { transform: translateY(0) scale(1); }
  18% { transform: translateY(-8px) scale(1.05) rotate(-3deg); }
  42% { transform: translateY(0) scale(.98) rotate(2deg); }
  68% { transform: translateY(-5px) scale(1.03) rotate(-1.5deg); }
}

@keyframes cartPulseRing {
  0% { opacity: .64; transform: scale(.88); }
  75% { opacity: 0; transform: scale(1.55); }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes cartIconGlow {
  0%,100% { opacity: .56; transform: scale(.92); }
  50% { opacity: .96; transform: scale(1.18); }
}

@keyframes cartIconGlowFast {
  0%,100% { opacity: .62; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes cartIconFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1.5px) scale(1.04); }
}

@keyframes cartIconAttention {
  0%,100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-3px) scale(1.09) rotate(-5deg); }
  45% { transform: translateY(0) scale(.98) rotate(4deg); }
  70% { transform: translateY(-2px) scale(1.05) rotate(-2deg); }
}

@keyframes cartBadgePop {
  0% { transform: scale(.72); }
  58% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@media (max-width: 719px) {
  .cart-dock {
    right: 16px;
    bottom: 16px;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    max-width: 70px;
    border-radius: 24px;
  }
  .floating-cart-hint {
    right: 82px;
    font-size: .78rem;
    padding: 10px 12px;
  }
}

@media (max-width: 420px) {
  .floating-cart-hint {
    display: none;
  }
}


/* ===== Header redesign: Marrakech ordering hero ===== */
body {
  background:
    linear-gradient(180deg, #ffc72c 0 560px, #fff9ed 560px, #fffdf8 100%);
}

.poster-topbar {
  position: relative;
  top: 0;
  margin-top: 0;
  padding: 16px 0 6px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-mark-poster {
  background: transparent;
  box-shadow: none;
  color: #fff8de;
  font-size: 2rem;
}

.poster-nav {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  margin-right: 24px;
}

.poster-nav a {
  color: rgba(21, 18, 15, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.poster-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.poster-location {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #6e665e;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(21, 18, 15, 0.08);
}

.poster-topbar .header-cart-text {
  display: inline;
}

.hero.hero-poster {
  position: relative;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.96fr);
  gap: 16px;
  min-height: 510px;
  padding: 22px 0 82px;
  align-items: center;
}

.hero.hero-poster::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 72px;
  background: #fffdf8;
  clip-path: polygon(0 62%, 4% 52%, 8% 59%, 12% 46%, 16% 61%, 20% 48%, 24% 60%, 28% 50%, 32% 63%, 36% 52%, 40% 59%, 44% 47%, 48% 61%, 52% 50%, 56% 63%, 60% 51%, 64% 60%, 68% 47%, 72% 61%, 76% 49%, 80% 59%, 84% 48%, 88% 62%, 92% 50%, 96% 58%, 100% 46%, 100% 100%, 0 100%);
  z-index: 1;
}

.hero-poster-content {
  padding-left: 28px;
  z-index: 3;
}

.deal-ribbon {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 30px;
  padding: 0 18px;
  background: linear-gradient(180deg, #e33225, #b91711);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  transform: skewX(-16deg);
  box-shadow: 0 10px 20px rgba(215, 25, 32, 0.18);
}

.deal-ribbon span { transform: skewX(16deg); }

.deal-ribbon::before,
.deal-ribbon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 8px;
  margin-top: -4px;
  background: #cf2018;
}

.deal-ribbon::before {
  left: -8px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.deal-ribbon::after {
  right: -8px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero.hero-poster h1 {
  max-width: 490px;
  margin: 20px 0 12px;
  font-size: clamp(3.3rem, 5.4vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero.hero-poster h1 span {
  color: var(--red);
}

.hero.hero-poster .hero-subtext {
  max-width: 480px;
  font-size: 0.95rem;
  color: rgba(21, 18, 15, 0.68);
}

.hero.hero-poster .hero-actions {
  margin-top: 24px;
}

.hero.hero-poster .primary-btn,
.hero.hero-poster .ghost-btn {
  min-height: 48px;
  border-radius: 11px;
}

.hero.hero-poster .primary-btn {
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.24);
}

.hero-poster-visual {
  min-height: 360px;
  z-index: 3;
}

.poster-arches {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster-arch {
  position: absolute;
  width: 210px;
  height: 300px;
  border: 22px solid #d71920;
  border-bottom: 0;
  border-radius: 220px 220px 0 0;
}

.poster-arch.left { right: 160px; top: -6px; }
.poster-arch.right { right: 10px; top: -6px; }

.hero-food-img {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(48, 30, 12, 0.18));
}

.hero-drink-img {
  width: min(15vw, 160px);
  min-width: 120px;
  right: 182px;
  top: 38px;
  z-index: 3;
}

.hero-burger-img {
  width: min(34vw, 360px);
  min-width: 240px;
  right: 110px;
  top: 110px;
  z-index: 4;
}

.hero-fries-img {
  width: min(18vw, 165px);
  min-width: 120px;
  right: 12px;
  top: 112px;
  z-index: 5;
}

.menu-area {
  position: relative;
  z-index: 2;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .poster-nav {
    gap: 12px;
    margin-right: 16px;
  }

  .hero.hero-poster {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 12px;
  }

  .hero-poster-content {
    padding-left: 12px;
  }

  .hero-poster-visual {
    min-height: 320px;
  }

  .hero-burger-img {
    right: 96px;
    width: 300px;
    min-width: 220px;
  }

  .hero-drink-img {
    right: 180px;
  }

  .hero-fries-img {
    right: 14px;
  }
}

@media (max-width: 719px) {
  body {
    background: linear-gradient(180deg, #ffc72c 0 470px, #fff9ed 470px, #fffdf8 100%);
  }

  .poster-topbar {
    padding: 10px 0 0;
    gap: 10px;
  }

  .poster-nav,
  .poster-location {
    display: none;
  }

  .hero.hero-poster {
    padding: 18px 0 70px;
    gap: 4px;
  }

  .hero-poster-content {
    padding-left: 0;
  }

  .hero.hero-poster h1 {
    max-width: 330px;
    font-size: clamp(2.7rem, 13.4vw, 4rem);
  }

  .hero.hero-poster .hero-subtext {
    max-width: 330px;
    font-size: 0.88rem;
  }

  .hero.hero-poster .hero-actions .primary-btn,
  .hero.hero-poster .hero-actions .ghost-btn {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .hero-poster-visual {
    min-height: 220px;
  }

  .poster-arch {
    width: 118px;
    height: 170px;
    border-width: 14px;
  }

  .poster-arch.left { right: 88px; top: -2px; }
  .poster-arch.right { right: 6px; top: -2px; }

  .hero-drink-img {
    min-width: 70px;
    width: 82px;
    right: 98px;
    top: 8px;
  }

  .hero-burger-img {
    min-width: 150px;
    width: 198px;
    right: 54px;
    top: 58px;
  }

  .hero-fries-img {
    min-width: 72px;
    width: 88px;
    right: -4px;
    top: 58px;
  }
}


/* ===== High-end Marrakech hero redesign ===== */
body {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 199, 44, 0.16), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(215, 25, 32, 0.08), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fff7ea 56%, #ffffff 100%);
}

.poster-topbar {
  top: 10px;
  margin-top: 12px;
  padding: 12px 16px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 45px rgba(37, 23, 10, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark-poster {
  background: linear-gradient(135deg, #ffcf3d, #ffe589);
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.12), 0 10px 22px rgba(255, 199, 44, 0.26);
  color: var(--red);
  font-size: 1.9rem;
}

.poster-nav {
  gap: 20px;
  margin-left: auto;
  margin-right: 18px;
}

.poster-nav a {
  color: rgba(21, 18, 15, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.poster-nav a:hover {
  color: var(--red);
}

.poster-location {
  min-height: 42px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 10px 22px rgba(21,18,15,0.06);
}

.hero.hero-luxe {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  gap: 24px;
  min-height: 620px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,248,230,0.96) 100%);
  box-shadow: 0 30px 80px rgba(37, 23, 10, 0.10);
}

.hero.hero-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.54), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255,199,44,0.20), transparent 24%),
    radial-gradient(circle at 90% 74%, rgba(215,25,32,0.10), transparent 28%);
  pointer-events: none;
}

.hero-luxe-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-luxe-bg-one {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -70px;
  background: radial-gradient(circle, rgba(255,199,44,0.46), rgba(255,199,44,0));
  animation: luxePulse 7s ease-in-out infinite;
}

.hero-luxe-bg-two {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(215,25,32,0.16), rgba(215,25,32,0));
  animation: luxePulse 8s ease-in-out infinite reverse;
}

.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 10px 18px 16px;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-kicker,
.hero-live-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-kicker {
  position: relative;
  overflow: hidden;
  color: var(--red);
  border: 1px solid rgba(215,25,32,0.10);
  background: rgba(255,255,255,0.74);
}

.hero-kicker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: translateX(-140%) skewX(-22deg);
  animation: heroShine 3.6s ease-in-out infinite;
}

.hero-live-pill {
  color: #17794b;
  background: #eefbf4;
  border: 1px solid #d6f5e2;
}

.hero-live-dot {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #19b66f;
  box-shadow: 0 0 0 rgba(25, 182, 111, 0.35);
  animation: pulse 1.8s infinite;
}

.hero.hero-luxe h1 {
  max-width: 560px;
  margin: 18px 0 14px;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-luxe-subtext {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-luxe-actions {
  margin: 28px 0 24px;
}

.hero-luxe .primary-btn,
.hero-luxe .hero-luxe-ghost {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
}

.hero-luxe .primary-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(215, 25, 32, 0.24);
}

.hero-luxe .primary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 82px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-140%) skewX(-22deg);
  animation: heroShine 3.8s ease-in-out infinite 0.8s;
}

.hero-luxe-ghost {
  background: rgba(255,255,255,0.82);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.hero-metrics article {
  padding: 16px 16px 15px;
  border: 1px solid rgba(21,18,15,0.07);
  border-radius: 20px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 12px 26px rgba(21,18,15,0.05);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-panel-visual {
  min-height: 520px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.60), rgba(255,252,244,0.88));
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 24px 50px rgba(37,23,10,0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,18,15,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,18,15,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 90%);
}

.hero-visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.42), rgba(255,199,44,0));
  animation: glowFloat 6.4s ease-in-out infinite;
}

.hero-badge-card {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 20px 36px rgba(37,23,10,0.08);
}

.hero-badge-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(215,25,32,0.08);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-card strong,
.hero-float-card strong {
  display: block;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.hero-badge-card small,
.hero-float-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-product-stage {
  position: absolute;
  left: 76px;
  right: 52px;
  bottom: 52px;
  top: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(215,25,32,0.08);
}

.hero-stage-ring-one {
  width: 410px;
  height: 410px;
  animation: slowSpin 20s linear infinite;
}

.hero-stage-ring-two {
  width: 300px;
  height: 300px;
  border-color: rgba(255,199,44,0.18);
  animation: slowSpin 14s linear infinite reverse;
}

.hero-product {
  position: relative;
  z-index: 2;
  max-width: min(88%, 380px);
  filter: drop-shadow(0 24px 28px rgba(37, 23, 10, 0.18));
}

.hero-product-burger {
  animation: heroFloat 5.8s ease-in-out infinite;
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 18px 34px rgba(37,23,10,0.08);
}

.hero-float-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(37,23,10,0.12));
}

.hero-float-card-drink {
  right: 26px;
  top: 118px;
  animation: heroFloat 5s ease-in-out infinite 0.8s;
}

.hero-float-card-fries {
  left: 24px;
  bottom: 36px;
  animation: heroFloat 5.4s ease-in-out infinite 1.2s;
}

.hero-order-card {
  position: absolute;
  right: 36px;
  bottom: 30px;
  z-index: 4;
  width: 210px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,250,239,0.86));
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 16px 32px rgba(37,23,10,0.08);
  animation: heroFloat 6.2s ease-in-out infinite 1.4s;
}

.hero-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-order-chip,
.hero-order-count {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-order-chip {
  color: #7a5200;
  background: rgba(255,199,44,0.18);
}

.hero-order-count {
  color: var(--muted);
  background: rgba(21,18,15,0.04);
}

.hero-order-line {
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(215,25,32,0.14), rgba(255,199,44,0.18));
}

.hero-order-line.large { width: 100%; }
.hero-order-line.medium { width: 76%; }
.hero-order-line.small { width: 54%; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glowFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -54%) scale(1.08); opacity: 0.95; }
}

@keyframes heroShine {
  0% { transform: translateX(-150%) skewX(-22deg); }
  60%, 100% { transform: translateX(360%) skewX(-22deg); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes luxePulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@media (max-width: 1120px) {
  .poster-nav {
    display: none;
  }

  .hero.hero-luxe {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-panel-copy {
    padding-right: 0;
  }

  .hero-panel-visual {
    min-height: 470px;
  }
}

@media (max-width: 719px) {
  .poster-topbar {
    top: 8px;
    height: 68px;
    padding: 10px 10px 10px 12px;
  }

  .poster-location {
    display: none;
  }

  .hero.hero-luxe {
    margin-top: 12px;
    padding: 16px;
    border-radius: 28px;
    gap: 14px;
  }

  .hero.hero-luxe h1 {
    max-width: 320px;
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .hero-luxe-subtext {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .hero-luxe .primary-btn,
  .hero-luxe .hero-luxe-ghost {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-metrics article {
    padding: 14px;
  }

  .hero-panel-visual {
    min-height: 370px;
    border-radius: 24px;
  }

  .hero-badge-card {
    left: 14px;
    top: 14px;
    min-width: 0;
    max-width: calc(100% - 28px);
    padding: 14px;
  }

  .hero-product-stage {
    left: 24px;
    right: 24px;
    top: 102px;
    bottom: 104px;
  }

  .hero-stage-ring-one {
    width: 250px;
    height: 250px;
  }

  .hero-stage-ring-two {
    width: 180px;
    height: 180px;
  }

  .hero-product {
    max-width: min(88%, 240px);
  }

  .hero-float-card {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .hero-float-card img {
    width: 48px;
    height: 48px;
  }

  .hero-float-card strong {
    font-size: 0.9rem;
  }

  .hero-float-card span {
    font-size: 0.76rem;
  }

  .hero-float-card-drink {
    right: 12px;
    top: 96px;
    max-width: 160px;
  }

  .hero-float-card-fries {
    left: 12px;
    bottom: 16px;
    max-width: 165px;
  }

  .hero-order-card {
    right: 12px;
    bottom: 18px;
    width: 154px;
    padding: 12px;
    border-radius: 18px;
  }

  .hero-order-head {
    margin-bottom: 10px;
  }

  .hero-order-chip,
  .hero-order-count {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.65rem;
  }
}


/* ===== Floating cart alignment fix ===== */
.cart-dock {
  display: block;
}

.floating-cart-icon-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transform-origin: center;
  z-index: 2;
}

.floating-cart-icon-glow {
  inset: -10px;
}

.floating-cart-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0;
  transform-origin: center;
}

.floating-cart-count {
  top: 5px;
  right: 5px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-width: 2.5px;
  box-shadow: 0 8px 18px rgba(255,198,39,.24);
}

@media (max-width: 719px) {
  .floating-cart-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .floating-cart-icon {
    width: 27px;
    height: 27px;
  }

  .floating-cart-count {
    top: 4px;
    right: 4px;
    min-width: 27px;
    height: 27px;
    font-size: .78rem;
  }
}


/* ===== Pro UI fixes ===== */
.floating-cart-count {
  top: -12px;
  right: -12px;
}

.menu-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
}

.menu-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 16px 0 54px;
  border-radius: 24px;
  border: 1px solid rgba(21,18,15,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,251,244,0.92));
  box-shadow: 0 18px 38px rgba(37,23,10,0.07);
}

.menu-search-icon {
  position: absolute;
  left: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--red);
}

.menu-search-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#menuSearchInput {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
}

#menuSearchInput::placeholder {
  color: #9a9085;
  font-weight: 600;
}

.menu-search-clear {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(215,25,32,0.08);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.menu-search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}

.menu-search-meta {
  justify-self: end;
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(21,18,15,0.06);
}

.menu-search-meta span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.menu-search-meta strong {
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.most-ordered {
  margin: 0 0 30px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,248,232,0.92));
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 22px 48px rgba(37,23,10,0.08);
}

.most-ordered-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.most-ordered-head h3 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  letter-spacing: -0.05em;
}

.most-ordered-head p {
  margin: 0;
  color: var(--muted);
  max-width: 320px;
}

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

.most-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 146px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(21,18,15,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,251,244,0.95));
  box-shadow: 0 16px 36px rgba(37,23,10,0.07);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.most-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(37,23,10,0.11);
}

.most-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.22), transparent 70%);
}

.most-card-media {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,242,214,0.9), rgba(255,255,255,0.76));
}

.most-card-media img {
  max-width: 94px;
  max-height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(37,23,10,0.16));
}

.most-card-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.most-card-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(215,25,32,0.08);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.most-card-body h4 {
  margin: 10px 0 12px;
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.most-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.most-card-bottom strong {
  color: var(--deep-red);
  font-size: 1rem;
}

.most-card-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.menu-empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 28px;
  text-align: center;
  border-radius: 26px;
  border: 1px dashed rgba(21,18,15,0.12);
  background: rgba(255,255,255,0.7);
}

.menu-empty-state strong {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.menu-empty-state p {
  margin: 0;
  color: var(--muted);
}

.option-block {
  margin-top: 24px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,252,246,0.92), rgba(255,255,255,0.86));
  border: 1px solid rgba(21,18,15,0.06);
}

.option-title {
  margin-bottom: 14px;
}

.option-title strong {
  font-size: 1rem;
}

.option-grid {
  gap: 12px;
}

.option-card {
  position: relative;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(21,18,15,0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,232,0.9));
  box-shadow: 0 12px 24px rgba(37,23,10,0.05);
}

.option-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(215,25,32,0.14);
  box-shadow: 0 0 0 6px rgba(215,25,32,0.03);
}

.option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(37,23,10,0.08);
}

.option-card.active {
  border-color: rgba(215,25,32,0.22);
  background: linear-gradient(180deg, rgba(255,244,196,0.88), rgba(255,250,231,0.98));
  box-shadow: 0 18px 30px rgba(255,199,44,0.18);
}

.option-card.active::after {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(215,25,32,0.10);
}

.option-card strong {
  color: var(--dark);
  font-size: 0.92rem;
}

.option-card span {
  color: #7f7368;
  font-size: 0.78rem;
}

.addon-row {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(21,18,15,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,232,0.9));
  box-shadow: 0 10px 24px rgba(37,23,10,0.05);
}

.addon-row.active {
  border-color: rgba(215,25,32,0.18);
  background: linear-gradient(180deg, rgba(255,244,196,0.84), rgba(255,250,235,0.96));
}

.addon-name {
  color: var(--dark);
}

.addon-price {
  font-weight: 900;
}

@media (max-width: 1024px) {
  .most-ordered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .floating-cart-count {
    top: -10px;
    right: -10px;
  }

  .menu-tools {
    grid-template-columns: 1fr;
  }

  .menu-search-shell {
    min-height: 60px;
    border-radius: 20px;
    padding: 0 12px 0 48px;
  }

  .menu-search-meta {
    justify-self: start;
  }

  .most-ordered {
    padding: 16px;
    border-radius: 24px;
  }

  .most-ordered-head {
    display: grid;
    gap: 8px;
  }

  .most-ordered-grid {
    grid-template-columns: 1fr;
  }

  .most-card {
    min-height: 132px;
    padding: 14px;
  }

  .most-card-media {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .option-block {
    padding: 14px;
  }

  .option-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ===== SAFE FIX: cart badge, most ordered card style, close button ===== */

/* Keep cart badge outside the floating cart card */
.cart-dock .floating-cart-count,
.floating-cart-count {
  top: -13px !important;
  right: -13px !important;
  z-index: 10 !important;
  border: 3px solid #fff !important;
}

/* Make Most ordered visually match the normal product cards */
.most-ordered {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.most-ordered-head {
  align-items: end !important;
  margin-bottom: 16px !important;
}

.most-ordered-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.most-card {
  min-height: 0 !important;
  display: grid !important;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,240,0.94)) !important;
  border: 1px solid rgba(21, 18, 15, 0.08) !important;
  box-shadow: 0 18px 42px rgba(38, 24, 12, 0.08) !important;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease) !important;
}

.most-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 26px 54px rgba(38, 24, 12, 0.12) !important;
}

.most-card::after {
  display: none !important;
}

.most-card-media {
  width: 100% !important;
  height: 190px !important;
  flex: none !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 199, 44, 0.42), transparent 42%),
    linear-gradient(180deg, #fff4da, #fffaf0) !important;
}

.most-card-media img {
  width: 100% !important;
  max-width: 82% !important;
  max-height: 170px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 22px rgba(38, 24, 12, 0.16)) !important;
  transform: scale(1.02) !important;
  transition: transform 0.22s var(--ease) !important;
}

.most-card:hover .most-card-media img {
  transform: scale(1.08) rotate(-1deg) !important;
}

.most-card-body {
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
}

.most-card-tag {
  width: fit-content !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 199, 44, 0.24) !important;
  color: #8a5b00 !important;
  font-size: 0.7rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.04em !important;
}

.most-card-body h4 {
  margin: 0 !important;
  min-height: 44px !important;
  color: var(--dark) !important;
  font-size: 1.05rem !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
}

.most-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 2px !important;
}

.most-card-bottom strong {
  color: var(--deep-red) !important;
  font-size: 1.08rem !important;
  font-weight: 950 !important;
}

.most-card-btn {
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--red), var(--deep-red)) !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.20) !important;
}

/* Better modal close button */
.modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 52px !important;
  height: 52px !important;
  border: 1px solid rgba(255,255,255,0.78) !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,238,0.95)) !important;
  box-shadow: 0 16px 34px rgba(38,24,12,0.16) !important;
  backdrop-filter: blur(12px) !important;
  color: transparent !important;
  font-size: 0 !important;
}

.modal-close::before,
.modal-close::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 2.5px !important;
  border-radius: 999px !important;
  background: var(--dark) !important;
  transform-origin: center !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease) !important;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.modal-close:hover {
  transform: translateY(-2px) scale(1.04) !important;
  background: linear-gradient(180deg, rgba(215,25,32,0.98), rgba(169,15,23,0.98)) !important;
  box-shadow: 0 18px 38px rgba(215,25,32,0.25) !important;
}

.modal-close:hover::before,
.modal-close:hover::after {
  background: #fff !important;
}

@media (max-width: 1024px) {
  .most-ordered-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 719px) {
  .cart-dock .floating-cart-count,
  .floating-cart-count {
    top: -11px !important;
    right: -11px !important;
  }

  .most-ordered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .most-card-media {
    height: 150px !important;
  }

  .most-card-media img {
    max-height: 135px !important;
  }

  .most-card-body {
    padding: 13px !important;
  }

  .most-card-body h4 {
    font-size: 0.94rem !important;
    min-height: 38px !important;
  }

  .most-card-btn {
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 0.74rem !important;
  }

  .modal-close {
    top: 14px !important;
    right: 14px !important;
    width: 46px !important;
    height: 46px !important;
  }

  .modal-close::before,
  .modal-close::after {
    width: 16px !important;
  }
}


/* ===== Shared header/footer polish for Marrakech page ===== */
.poster-nav .home-nav-link {
  color: var(--red) !important;
  background: rgba(215, 25, 32, 0.08);
  border-radius: 999px;
  padding-inline: 13px;
}

.pro-footer {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(21,18,15,0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 50px rgba(38, 24, 12, 0.08);
  backdrop-filter: blur(18px);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: linear-gradient(135deg, var(--yellow), #ffe88a);
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.13), 0 12px 22px rgba(255, 199, 44, 0.28);
  font-weight: 950;
  font-size: 1.55rem;
}

.pro-footer .footer-brand strong,
.pro-footer .footer-brand small {
  display: block;
}

.pro-footer .footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.footer-contact-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-whatsapp {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1fbf68, #128c4a);
  box-shadow: 0 14px 28px rgba(31, 191, 104, 0.22);
  text-decoration: none;
  font-weight: 900;
}

.pro-footer .footer-links {
  justify-content: flex-start;
}

.pro-footer .footer-links a {
  background: rgba(255,255,255,0.84);
}

@media (max-width: 719px) {
  .poster-nav {
    display: none;
  }

  .pro-footer {
    padding: 18px;
    border-radius: 24px;
  }

  .footer-main,
  .footer-contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== Header/menu + Most ordered correction pass ===== */
.ordering-header {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
}

.ordering-header .poster-nav {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.68) !important;
  border: 1px solid rgba(21,18,15,0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65) !important;
}

.ordering-header .poster-nav a {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: rgba(21,18,15,0.78) !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

.ordering-header .poster-nav a:hover,
.ordering-header .poster-nav .home-nav-link {
  color: var(--red) !important;
  background: rgba(215,25,32,0.08) !important;
}

.ordering-header .poster-location {
  min-width: auto !important;
  min-height: 42px !important;
  padding: 0 15px !important;
}

.most-ordered {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.most-ordered-head {
  margin-bottom: 16px !important;
}

.most-ordered-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.most-ordered-grid .food-card {
  margin: 0 !important;
}

.pro-footer .footer-contact-cta,
.pro-footer .footer-whatsapp {
  display: none !important;
}

.pro-footer .footer-brand small {
  color: var(--muted);
}

@media (max-width: 1024px) {
  .most-ordered-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 719px) {
  .ordering-header {
    grid-template-columns: 1fr auto !important;
  }

  .ordering-header .poster-nav {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .ordering-header .poster-nav a {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }

  .most-ordered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}


/* ===== Marrakech header text cleanup ===== */
.ordering-header {
  grid-template-columns: auto 1fr auto !important;
}

.ordering-header .brand small,
.ordering-header .poster-location {
  display: none !important;
}

.ordering-header .poster-topbar-actions {
  justify-self: end !important;
}

.ordering-header .poster-nav {
  justify-self: center !important;
}

@media (max-width: 719px) {
  .ordering-header {
    grid-template-columns: 1fr auto !important;
  }
}


/* ===== Safe checkout height improvement ===== */
.cart-panel {
  top: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  height: auto !important;
  max-height: none !important;
  width: min(100% - 24px, 500px) !important;
  border-radius: 34px !important;
}

.cart-body,
.checkout-page,
.details-body {
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

@media (max-width: 719px) {
  .cart-panel {
    left: 8px !important;
    right: 8px !important;
    top: auto !important;
    bottom: 8px !important;
    width: calc(100% - 16px) !important;
    height: 96dvh !important;
    border-radius: 30px 30px 22px 22px !important;
    transform: translateY(108%) !important;
  }

  .cart-panel.open {
    transform: translateY(0) !important;
  }
}


/* ===== Logo image update ===== */
.logo-brand-mark,
.logo-footer-mark {
  overflow: hidden !important;
  padding: 0 !important;
  color: transparent !important;
  background: rgba(255,255,255,0.92) !important;
}

.logo-brand-mark img,
.logo-footer-mark img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  padding: 6px !important;
}

.logo-footer-mark img {
  padding: 7px !important;
}


/* Professional footer + requested simplified navigation */
.pro-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  margin: 34px auto 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 44, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,248,232,0.92));
  box-shadow: 0 20px 52px rgba(38, 24, 12, 0.10);
}

.pro-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.pro-footer .footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-footer .footer-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 14px 28px rgba(38, 24, 12, 0.10);
}

.pro-footer .footer-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.pro-footer .footer-brand strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pro-footer .footer-brand small,
.pro-footer .footer-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.pro-footer .footer-brand small {
  display: block;
  margin-top: 4px;
}

.pro-footer .footer-note {
  max-width: 440px;
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
}

.pro-footer .footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(21,18,15,0.08);
}

.pro-footer .footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(21,18,15,0.76);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(21,18,15,0.06);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38,24,12,0.05);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pro-footer .footer-links a:hover {
  transform: translateY(-1px);
  color: var(--red);
  background: #fff;
}

@media (max-width: 719px) {
  .pro-footer {
    padding: 22px;
    border-radius: 24px;
  }
  .pro-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .pro-footer .footer-note {
    max-width: none;
    text-align: left;
  }
  .pro-footer .footer-links a {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Footer consistency patch: mirrors the home page footer and preserves mobile safety. */
.pro-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 54px));
  margin: 34px auto 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 44, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.92));
  box-shadow: 0 20px 52px rgba(38, 24, 12, 0.10);
}

.pro-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.pro-footer .footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-footer .footer-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(21, 18, 15, 0.06);
  box-shadow: 0 14px 28px rgba(38, 24, 12, 0.10);
}

.pro-footer .footer-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.pro-footer .footer-brand strong {
  display: block;
  color: var(--ink, var(--dark));
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pro-footer .footer-brand small,
.pro-footer .footer-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.pro-footer .footer-brand small {
  display: block;
  margin-top: 4px;
}

.pro-footer .footer-note {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
  white-space: nowrap;
}

.pro-footer .footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 18, 15, 0.08);
}

.pro-footer .footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(21, 18, 15, 0.76);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 18, 15, 0.06);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38, 24, 12, 0.05);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pro-footer .footer-links a:hover {
  transform: translateY(-1px);
  color: var(--red);
  background: #fff;
}

@media (max-width: 980px) {
  .pro-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .pro-footer .footer-note {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 719px) {
  .pro-footer {
    width: min(100% - 28px, 1180px);
    padding: 22px;
    border-radius: 24px;
  }

  .pro-footer .footer-links a {
    flex: 1 1 auto;
    justify-content: center;
  }
}


/* ===== Option group cards: keep each customization section clear ===== */
#requiredChoicesBlock {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.required-options {
  display: grid;
  gap: 14px;
}

.required-choice-group.option-section-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(21, 18, 15, 0.07);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 14px 30px rgba(37, 23, 10, 0.05);
}

.required-choice-group.option-section-card .option-title {
  margin-bottom: 0;
}

.required-choice-group.option-section-card .option-title strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.required-choice-grid {
  gap: 10px;
}

.required-choice-grid.multi-quantity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.required-choice-grid .option-card {
  min-height: 60px;
  border-radius: 18px;
}

@media (max-width: 719px) {
  .required-choice-group.option-section-card {
    padding: 14px;
    border-radius: 20px;
  }

  .required-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* Item-level note field in the product modal. */
.item-note-block .item-note-input {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink, #111);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.item-note-block .item-note-input:focus {
  border-color: rgba(218, 41, 28, 0.45);
  box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.08);
}

/* Multi-sauce selection for Chicken box 21 pcs. */
.option-helper {
  color: #7f7368;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: -4px;
}

.sauce-qty-card {
  display: grid;
  gap: 12px;
  align-content: space-between;
  min-height: 92px;
  cursor: default;
}

.sauce-qty-card::after {
  display: none;
}

.sauce-qty-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sauce-qty-top strong {
  line-height: 1.2;
}

.sauce-qty-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.1);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.sauce-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(21, 18, 15, 0.09);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(37, 23, 10, 0.06);
}

.sauce-qty-btn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.sauce-qty-btn--minus {
  background: #fff;
  color: var(--deep-red);
  border-color: rgba(215, 25, 32, 0.16);
  box-shadow: 0 4px 10px rgba(37, 23, 10, 0.05);
}

.sauce-qty-btn--plus {
  background: linear-gradient(180deg, #ef3124, #d71920);
  color: #fff;
  box-shadow: 0 8px 16px rgba(215, 25, 32, 0.2);
}

.sauce-qty-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.sauce-qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  box-shadow: none;
}

.sauce-qty-controls b {
  min-width: 22px;
  text-align: center;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 900;
}

@media (max-width: 719px) {
  .required-choice-grid.multi-quantity-grid {
    grid-template-columns: 1fr;
  }

  .sauce-qty-card {
    min-height: 86px;
  }

  .sauce-qty-controls {
    gap: 6px;
  }

  .sauce-qty-btn {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .sauce-qty-controls b {
    min-width: 20px;
    font-size: 0.9rem;
  }
}


/* SEO FAQ and independent gateway disclosure */
.seo-faq {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 28px;
  padding: 34px;
  border: 1px solid rgba(37, 23, 10, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(37, 23, 10, 0.08);
}

.seo-faq-head {
  align-items: flex-start;
  margin-bottom: 22px;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-faq-item {
  padding: 18px;
  border: 1px solid rgba(37, 23, 10, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.seo-faq-item h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.25;
}

.seo-faq-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.site-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 780px;
}

@media (max-width: 720px) {
  .seo-faq {
    width: min(100% - 24px, 1120px);
    padding: 24px;
    border-radius: 24px;
  }

  .seo-faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Safe mobile header menu - compact desktop, no ordering JS removal ===== */
.mobile-menu-btn {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,232,0.92));
  box-shadow: 0 14px 28px rgba(21,18,15,0.12), inset 0 1px 0 rgba(255,255,255,0.95);
  cursor: pointer;
  flex: 0 0 auto;
}

.mobile-menu-lines {
  width: 20px;
  display: grid;
  gap: 4px;
}

.mobile-menu-lines i {
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #1f1a16;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-open .mobile-menu-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-open .mobile-menu-lines i:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .mobile-menu-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.food-card {
  cursor: pointer;
}

@media (max-width: 719px) {
  .ordering-header,
  .topbar.poster-topbar.home-ordering-header {
    min-height: var(--topbar-height) !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .ordering-header .mobile-menu-btn,
  .home-ordering-header .mobile-menu-btn {
    display: inline-flex !important;
  }

  .ordering-header .poster-topbar-actions,
  .home-ordering-header .poster-topbar-actions {
    display: inline-flex !important;
    justify-self: end !important;
    align-items: center !important;
  }

  .ordering-header .poster-topbar-actions .header-cart-btn {
    display: none !important;
  }

  .ordering-header .poster-nav,
  .home-ordering-header .poster-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    order: 5 !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 8px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(21,18,15,0.06) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78) !important;
    overflow-x: auto !important;
    justify-self: stretch !important;
  }

  .ordering-header.mobile-menu-open .poster-nav,
  .home-ordering-header.mobile-menu-open .poster-nav {
    display: flex !important;
  }
}


/* Loader */
body.page-loading {
  overflow: hidden;
}

body.page-loading > *:not(.site-loader) {
  visibility: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, #fff9ef 0%, #fff3df 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 204, 0, 0.18), transparent 32%),
    radial-gradient(circle at 80% 22%, rgba(215, 25, 32, 0.12), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(255, 185, 64, 0.16), transparent 30%);
}

.site-loader__panel {
  position: relative;
  width: min(100%, 560px);
  padding: 38px 34px 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,250,243,0.96) 100%);
  border: 1px solid rgba(150, 68, 15, 0.12);
  box-shadow:
    0 30px 80px rgba(70, 35, 10, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.8);
  text-align: center;
  overflow: hidden;
}

.site-loader__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.8;
}

.site-loader__halo--one {
  top: -38px;
  left: -34px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.32), transparent 68%);
}

.site-loader__halo--two {
  right: -30px;
  bottom: 28px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.18), transparent 70%);
}

.site-loader__wordmark {
  position: relative;
  z-index: 1;
}

.site-loader__word {
  line-height: 1;
  letter-spacing: -0.04em;
  color: #2d1b0f;
}

.site-loader__word--primary {
  font-size: clamp(2.25rem, 7vw, 3.45rem);
  font-weight: 900;
  animation: loaderWordIn 0.55s ease both;
}

.site-loader__word--secondary {
  margin-top: 8px;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #d71920;
  animation: loaderWordIn 0.55s ease 0.18s both;
}

.site-loader__bar {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  height: 12px;
  margin: 28px auto 24px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(215,25,32,0.08), rgba(255,204,0,0.12));
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.site-loader__bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  background: linear-gradient(90deg, #ffcc00 0%, #ffdc5d 45%, #d71920 100%);
  animation: loaderBarFill 3s ease-in-out forwards;
}

.site-loader__burgers {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
}

.site-loader__burger {
  width: 88px;
  height: 76px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 8px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,245,228,0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(82, 40, 14, 0.08);
  border: 1px solid rgba(182, 93, 27, 0.08);
  opacity: 0.48;
  transform: translateY(0) scale(0.96);
  animation: loaderBurgerSpotlight 0.68s cubic-bezier(0.22, 0.8, 0.32, 1) 1 both;
}

.site-loader__burger:nth-child(2) { animation-delay: 0.62s; }
.site-loader__burger:nth-child(3) { animation-delay: 1.24s; }
.site-loader__burger:nth-child(4) { animation-delay: 1.86s; }

.site-loader__burger img {
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(89, 44, 17, 0.18));
  pointer-events: none;
  user-select: none;
}

@keyframes loaderWordIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderBarFill {
  0% {
    transform: scaleX(0.04);
    opacity: 0.72;
  }
  45% {
    transform: scaleX(0.48);
    opacity: 0.95;
  }
  75% {
    transform: scaleX(0.8);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes loaderBurgerSpotlight {
  0%, 100% {
    opacity: 0.48;
    transform: translateY(0) scale(0.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(82, 40, 14, 0.08);
  }
  35% {
    opacity: 1;
    transform: translateY(-10px) scale(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.96),
      0 18px 34px rgba(215, 25, 32, 0.12),
      0 12px 22px rgba(255, 191, 0, 0.18);
  }
  58% {
    opacity: 0.96;
    transform: translateY(-4px) scale(1.02);
  }
}

@media (max-width: 640px) {
  .site-loader {
    padding: 18px;
  }

  .site-loader__panel {
    width: 100%;
    padding: 30px 18px 24px;
    border-radius: 28px;
  }

  .site-loader__bar {
    margin: 24px auto 20px;
  }

  .site-loader__burgers {
    gap: 8px;
  }

  .site-loader__burger {
    width: 68px;
    height: 64px;
    border-radius: 18px;
    padding: 6px 6px 0;
  }

  .site-loader__burger img {
    max-height: 54px;
  }
}

