/* ==========================================================================
   Papi's Taste - Landing Page Stylesheet
   Palette & type taken from the printed Papi's Menu:
   tomato red, charcoal ink and light concrete with grey food sketches.
   ========================================================================== */

:root {
  /* Brand palette (from papi-menu.pdf) */
  --color-red: #DE4B3C;          /* brush strokes, prices, "Menu" wordmark */
  --color-red-bright: #EF5E4E;   /* red on dark surfaces */
  --color-red-deep: #B8392C;     /* hover / pressed */
  --color-red-tint: #FBE9E6;

  --color-ink: #232323;          /* charcoal headings & dark sections */
  --color-ink-deep: #171717;
  --color-ink-card: #2E2E2E;
  --color-ink-soft: #3A3A3A;

  --color-paper: #EFEEEC;        /* concrete background */
  --color-paper-card: #F8F7F5;
  --color-paper-muted: #C9C6C1;
  --color-line: #D6D3CE;
  --color-sketch: #A9A9A9;       /* grey food doodles */

  --color-text-dark: #232323;
  --color-text-muted: #5E5B57;
  --color-text-light: #EFEEEC;
  --color-text-white: #FFFFFF;

  /* Typography: condensed caps headings, script accent, clean body */
  --font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-chunky: 'Titan One', 'Bebas Neue', sans-serif;
  --font-script: 'Yellowtail', 'Brush Script MT', cursive;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Textures */
  --texture-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .38 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cg fill='%23DE4B3C'%3E%3Cpath d='M22 36C130 20 300 16 470 19c52 1 92 5 122 11l-14 13 20 8-15 12 13 14c-78 17-238 21-398 19-70-1-130-2-170-6l14-12-36-8 26-10-32-12 30-9z'/%3E%3Cpath d='M468 9l96 3-3 5-93-2zM36 105l150-3-2 6-146 3zM530 93l68-3-2 4-64 3zM4 27l70-3-2 4-66 3zM250 108l120-2-1 3-118 2z'/%3E%3C/g%3E%3C/svg%3E");
  --brush-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cg fill='%23232323'%3E%3Cpath d='M22 36C130 20 300 16 470 19c52 1 92 5 122 11l-14 13 20 8-15 12 13 14c-78 17-238 21-398 19-70-1-130-2-170-6l14-12-36-8 26-10-32-12 30-9z'/%3E%3Cpath d='M468 9l96 3-3 5-93-2zM36 105l150-3-2 6-146 3zM530 93l68-3-2 4-64 3zM4 27l70-3-2 4-66 3z'/%3E%3C/g%3E%3C/svg%3E");

  --texture-sketch: url("data:image/svg+xml,%3Csvg width='360' height='360' viewBox='0 0 360 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23232323' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.09'%3E%3Cpath d='M25 50c0-9 7-16 17-16s17 7 17 16H25zM21 56c3-1 5-1 7 0s5 1 7 0 5-1 7 0 5 1 7 0M26 62h32c0 6-4 9-16 9s-16-3-16-9z'/%3E%3Ccircle cx='230' cy='56' r='22'/%3E%3Cpath d='M230 34v44M208 56h44M215 41l30 30M245 41l-30 30'/%3E%3Cpath d='M290 56l5 28h20l5-28h-30zM295 40v16M301 34v22M307 37v19M313 42v14'/%3E%3Cpath d='M40 200c10-22 30-30 42-24s8 28-8 44-38 12-34-20z'/%3E%3Cpath d='M58 176c-2-8 2-14 8-16'/%3E%3Cpath d='M150 195c18-14 40-7 46 9s-7 40-29 40-36-13-36-29'/%3E%3Cpath d='M280 205c14-11 36-4 40 11s-11 29-29 29-24-18-11-40z'/%3E%3Ccircle cx='294' cy='217' r='7'/%3E%3Cpath d='M120 100l5 38h20l5-38h-30zM135 90v10l8-4'/%3E%3Cpath d='M190 300c-6-20 10-36 26-30s18 28 2 38-24 8-28-8zM214 270c4-6 10-8 16-6'/%3E%3Cpath d='M60 300q20-24 40 0t40 0'/%3E%3C/g%3E%3C/svg%3E");

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.14);
  --shadow-card: 0 10px 30px rgba(35, 35, 35, 0.12);

  /* Spacings & Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  --radius-arch: 180px 180px 24px 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1180px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-paper);
  color: var(--color-text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--color-red);
  color: #FFFFFF;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  transition: all 0.25s var(--ease-out);
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Concrete + Sketch Background (matches the menu paper)
   ========================================================================== */
.doodle-bg,
.concrete-bg {
  background-color: var(--color-paper);
  background-image:
    var(--texture-sketch),
    var(--texture-noise),
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(0, 0, 0, 0.035), transparent 60%);
  background-size: 360px 360px, 220px 220px, 100% 100%, 100% 100%;
}

/* ==========================================================================
   Shared brand pieces: brush-stroke labels & script accents
   ========================================================================== */
.brush-label {
  display: inline-block;
  position: relative;
  padding: 0.18em 0.9em 0.1em;
  background: var(--brush-red) center / 100% 100% no-repeat;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brush-label.ink {
  background-image: var(--brush-ink);
}

.script-accent {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-red);
  line-height: 1;
}

/* ==========================================================================
   1. Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background-color: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out), background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(239, 238, 236, 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(35, 35, 35, 0.08), 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Nav bar smooth fade out on scroll down */
.site-header.nav-faded {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.site-header .container {
  max-width: 1240px;
  padding: 0 32px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  list-style: none;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.75;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--color-ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-order-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  background-color: var(--color-red);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  box-shadow: 0 6px 16px rgba(222, 75, 60, 0.35);
  transition: all 0.22s var(--ease-out);
}

.btn-order-nav:hover {
  background-color: var(--color-ink);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-order-nav:active {
  transform: translateY(0);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  color: var(--color-ink);
  background: #FFFFFF;
  border-radius: 50%;
  border: 1.5px solid rgba(35, 35, 35, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.cart-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.cart-btn:hover {
  color: var(--color-red);
  border-color: var(--color-red);
  transform: scale(1.06);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 9999px;
  border: 2px solid var(--color-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.cart-btn:hover .cart-badge {
  transform: scale(1.1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   2. Hero Section — echoes the menu cover
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 132px;
  padding-bottom: 40px;
  color: var(--color-ink);
  overflow: hidden;
  text-align: center;
}

.hero-doodles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.food-doodle {
  position: absolute;
  color: var(--color-sketch);
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.doodle-burger-tl { top: 90px; left: 3%; width: 95px; height: 95px; transform: rotate(-14deg); }
.doodle-fries-top { top: 110px; left: 24%; width: 70px; height: 70px; transform: rotate(10deg); }
.doodle-sausage-ml { top: 260px; left: 10%; width: 80px; height: 80px; transform: rotate(-25deg); }
.doodle-sandwich-ml { top: 420px; left: 2.5%; width: 90px; height: 90px; transform: rotate(16deg); }
.doodle-fries-bl { bottom: 60px; left: 6%; width: 80px; height: 80px; transform: rotate(-12deg); }
.doodle-burger-tr { top: 100px; right: 5%; width: 85px; height: 85px; transform: rotate(12deg); }
.doodle-pizza-mr { top: 270px; right: 11%; width: 80px; height: 80px; transform: rotate(18deg); }
.doodle-burger-mr { top: 420px; right: 3%; width: 90px; height: 90px; transform: rotate(-10deg); }
.doodle-egg-br { bottom: 150px; right: 12%; width: 75px; height: 75px; transform: rotate(15deg); }
.doodle-sausage-br { bottom: 40px; right: 3%; width: 85px; height: 85px; transform: rotate(-20deg); }

@media (max-width: 920px) {
  .food-doodle {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

/* Title: script "Delicious" over a chunky red slanted wordmark, like the menu cover */
.hero-title {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  line-height: 0.9;
}

.hero-title span {
  display: block;
}

.hero-title .hero-title-script {
  position: relative;
  z-index: 2;
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  color: var(--color-ink);
  transform: rotate(-6deg) translate(-8%, 18%);
}

.hero-title .hero-title-main {
  font-family: var(--font-chunky);
  font-size: clamp(3.4rem, 10vw, 8rem);
  color: var(--color-red);
  text-transform: none;
  letter-spacing: -0.01em;
  transform: rotate(-6deg) skewX(-6deg);
  text-shadow: 0 3px 0 var(--color-red-deep), 0 18px 34px rgba(222, 75, 60, 0.25);
}

.hero-lede {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  transition: all 0.25s var(--ease-out);
}

.btn-hero-primary {
  background: var(--color-red);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(222, 75, 60, 0.35);
}

.btn-hero-primary:hover {
  background: var(--color-ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn-hero-ghost {
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
}

.btn-hero-ghost:hover {
  background: var(--color-ink);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* Red disc behind the hero food, with a brush-stroke ring */
.hero-burger-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cloud-shape {
  position: absolute;
  width: 460px;
  height: 460px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-red);
  background-image: var(--texture-noise);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(222, 75, 60, 0.25);
}

.hero-cloud-shape::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px dashed rgba(35, 35, 35, 0.25);
  animation: rotateBadge 60s linear infinite;
}

.hero-cloud-shape::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 46px;
  left: -70px;
  bottom: 40px;
  background: var(--brush-ink) center / 100% 100% no-repeat;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.hero-burger-img {
  position: relative;
  z-index: 3;
  max-width: 420px;
  width: 82%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #FFFFFF;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.3);
  animation: floatHero 5s ease-in-out infinite alternate;
}

@keyframes floatHero {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(2deg); }
}

.hero-price-tag {
  position: absolute;
  z-index: 4;
  left: 4%;
  top: 70px;
  padding: 10px 18px 8px;
  background: var(--color-ink);
  color: #FFFFFF;
  border-radius: 14px;
  transform: rotate(-8deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.hero-price-tag small {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-price-tag strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-red-bright);
}

/* Starburst sticker badge */
.hero-badge-sticker {
  position: absolute;
  top: 40px;
  right: 6%;
  z-index: 4;
  width: 118px;
  height: 118px;
  cursor: pointer;
  transition: transform 0.25s ease;
  animation: rotateBadge 20s linear infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

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

.hero-badge-sticker:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}

.hero-badge-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.badge-scallop-path {
  fill: var(--color-ink);
}

.badge-curved-text {
  font-family: var(--font-body);
  font-size: 7.2px;
  font-weight: 800;
  fill: #FFFFFF;
  letter-spacing: 0;
  text-transform: uppercase;
}

.badge-arrow {
  stroke: var(--color-red-bright);
}

/* ==========================================================================
   3. Ticker / Marquee Banner
   ========================================================================== */
.ticker-banner {
  position: relative;
  z-index: 5;
  background-color: var(--color-red);
  background-image: var(--texture-noise);
  color: #FFFFFF;
  padding: 14px 0 12px;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 10px 0 -10px;
  box-shadow: 0 10px 24px rgba(222, 75, 60, 0.25);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticker-star {
  font-size: 1rem;
  color: var(--color-ink);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .hero-burger-img,
  .hero-badge-sticker,
  .hero-cloud-shape::before {
    animation: none;
  }
}

/* ==========================================================================
   4. "What Makes Papi's Taste Different?" Section
   ========================================================================== */
.different-section {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 4px;
  transform: rotate(-3deg);
}

.section-title-chunky {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.98;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.section-title-chunky .brush-label {
  margin-top: 6px;
  font-size: 1em;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.65;
}

.different-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
}

.different-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.different-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 22px;
  background: var(--color-paper-card);
  border: 1px solid rgba(35, 35, 35, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.different-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.different-card.left {
  text-align: right;
  align-items: flex-end;
}

.different-card.right {
  text-align: left;
  align-items: flex-start;
}

.card-header-with-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.different-card.left .card-header-with-badge {
  flex-direction: row-reverse;
}

.number-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  padding-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(222, 75, 60, 0.3);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 290px;
}

.different-center-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.different-center-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 200px 200px 32px 32px;
  background: var(--color-ink);
  background-image: var(--texture-noise);
  transform: rotate(-3deg);
}

.different-center-img {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 190px 190px 26px 26px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s var(--ease-out);
}

.different-center-img-wrap:hover .different-center-img {
  transform: scale(1.03) rotate(1deg);
}

/* ==========================================================================
   5. "Best Sellers" Section
   ========================================================================== */
.bestsellers-section {
  padding: 40px 0 110px;
  position: relative;
}

.bestsellers-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 90px;
  gap: 24px;
}

.bestsellers-heading-wrap h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--color-ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bestsellers-heading-wrap p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  max-width: 540px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  white-space: nowrap;
}

.btn-view-all:hover {
  background-color: var(--color-ink);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Arch Cards Grid */
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.bestseller-card {
  position: relative;
  border-radius: var(--radius-arch);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  background-image: var(--texture-noise);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  overflow: visible;
}

.bestseller-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.18);
}

.bestseller-card.paper {
  background-color: var(--color-paper-card);
  color: var(--color-ink);
  border: 1px solid rgba(35, 35, 35, 0.08);
}

.bestseller-card.red {
  background-color: var(--color-red);
  color: #FFFFFF;
}

.bestseller-card.ink {
  background-color: var(--color-ink);
  color: #FFFFFF;
}

.card-tag {
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 3;
  padding: 6px 12px 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  background: var(--color-ink);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  transform: rotate(6deg);
}

.bestseller-card.ink .card-tag {
  background: var(--color-red);
}

/* Floating food image at top of card */
.card-img-wrap {
  width: 220px;
  height: 220px;
  margin-top: -90px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-burger-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #FFFFFF;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s var(--ease-out);
}

.bestseller-card:hover .card-burger-img {
  transform: scale(1.06) rotate(4deg);
}

.card-stars {
  font-size: 1rem;
  color: var(--color-red);
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.bestseller-card.red .card-stars {
  color: var(--color-ink);
}

.bestseller-card.ink .card-stars {
  color: var(--color-red-bright);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.card-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
  opacity: 0.85;
  min-height: 55px;
}

.card-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 20px;
}

.bestseller-card.paper .card-price {
  color: var(--color-red);
}

.btn-card-action {
  width: 100%;
  padding: 13px 20px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-ink);
  color: #FFFFFF;
  margin-top: auto;
}

.bestseller-card.red .btn-card-action,
.bestseller-card.ink .btn-card-action {
  background-color: #FFFFFF;
  color: var(--color-ink);
}

.btn-card-action:hover {
  background-color: var(--color-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.bestseller-card.red .btn-card-action:hover {
  background-color: var(--color-ink);
  color: #FFFFFF;
}

.bestseller-card.ink .btn-card-action:hover {
  background-color: var(--color-red);
  color: #FFFFFF;
}

/* ==========================================================================
   6. "Discover Our Menus" Section — styled like the printed menu
   ========================================================================== */
.menus-section {
  position: relative;
  padding: 40px 0 130px;
}

.accordion-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-tab-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-paper-card);
  border: 1px solid rgba(35, 35, 35, 0.07);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.menu-tab-item:hover {
  border-color: rgba(35, 35, 35, 0.16);
}

.menu-tab-item.active {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  cursor: pointer;
  transition: background-color 0.25s ease;
  user-select: none;
}

.menu-tab-item.active .tab-header {
  background-color: var(--color-red);
  background-image: var(--texture-noise);
}

.tab-title-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.menu-tab-item.active .tab-title-left {
  color: #FFFFFF;
}

.tab-icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--color-red);
  color: #FFFFFF;
  fill: currentColor;
}

.menu-tab-item.active .tab-icon {
  background: #FFFFFF;
  color: var(--color-red);
}

.tab-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(35, 35, 35, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-ink);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, color 0.3s ease;
}

.menu-tab-item.active .tab-arrow {
  transform: rotate(90deg);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Accordion Body */
.tab-content-panel {
  display: none;
  padding: 32px 28px;
}

.menu-tab-item.active .tab-content-panel {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 36px;
  align-items: stretch;
}

/* Special Deal Card (Left) */
.special-deal-card {
  background-color: var(--color-ink);
  background-image: var(--texture-noise);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.deal-img-wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.deal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.special-deal-card:hover .deal-img {
  transform: scale(1.06);
}

.deal-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex-grow: 1;
}

.deal-tag {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  padding: 8px 20px 5px;
  background: var(--brush-red) center / 100% 100% no-repeat;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.deal-price-chip {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--color-red-bright);
}

.deal-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.btn-deal-order {
  margin-top: auto;
  padding: 11px 24px 9px;
  background-color: #FFFFFF;
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-deal-order:hover {
  background-color: var(--color-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Menu Items List (Right) — printed-menu rows */
.menu-items-list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 18px;
}

.menu-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(35, 35, 35, 0.14);
  transition: transform 0.25s ease;
}

.menu-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-row:hover {
  transform: translateX(4px);
}

.item-text-wrap {
  max-width: 80%;
}

.item-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--color-ink);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.item-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.item-price {
  font-family: var(--font-display);
  font-weight: 400 !important;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-red);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.menu-item-row .btn-card-action {
  background-color: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-ink);
  font-size: 0.95rem !important;
  padding: 6px 14px 4px !important;
}

.menu-item-row .btn-card-action:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #FFFFFF;
}

/* ==========================================================================
   Section edges (torn paper)
   ========================================================================== */
.edge-top,
.edge-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.edge-top {
  top: 0;
  transform: translateY(-98%);
}

.edge-bottom {
  bottom: 0;
  transform: translateY(98%);
}

.edge-top svg,
.edge-bottom svg {
  display: block;
  width: 100%;
  height: 34px;
}

.edge-ink { fill: var(--color-ink); }
.edge-paper { fill: var(--color-paper); }

/* ==========================================================================
   7. "Bites of Happiness" (Testimonials) Section
   ========================================================================== */
.testimonials-section {
  position: relative;
  background-color: var(--color-ink);
  background-image: var(--texture-noise);
  color: #FFFFFF;
  padding: 110px 0 80px;
  text-align: center;
}

.testimonials-section .section-title-chunky {
  color: #FFFFFF;
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.62);
}

.testimonials-section .section-eyebrow {
  color: var(--color-red-bright);
}

.testimonials-slider-wrap {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonial-card-side {
  width: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  opacity: 0.4;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: #FFFFFF;
  display: none;
}

@media (min-width: 900px) {
  .testimonial-card-side {
    display: block;
  }
}

.testimonial-card-main {
  position: relative;
  z-index: 2;
  max-width: 580px;
  background-color: var(--color-paper-card);
  background-image: var(--texture-noise);
  color: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 48px 40px 36px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-card-main::before {
  content: '\201C';
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-red);
  color: #FFFFFF;
  font-family: var(--font-chunky);
  font-size: 3rem;
  line-height: 86px;
  box-shadow: 0 10px 20px rgba(222, 75, 60, 0.4);
}

.testimonial-stars {
  font-size: 1.2rem;
  color: var(--color-red);
  margin-bottom: 14px;
  letter-spacing: 4px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding-top: 2px;
  color: #FFFFFF;
}

.author-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.btn-slider {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.btn-slider:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  transform: scale(1.08);
}

/* ==========================================================================
   9. "Opening Hours" Section
   ========================================================================== */
.hours-section {
  position: relative;
  background-color: var(--color-ink);
  background-image: var(--texture-noise);
  padding: 30px 0 100px;
  text-align: center;
  color: #FFFFFF;
}

.hours-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 28px 30px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

.hours-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 26px;
  letter-spacing: 0.05em;
  padding: 8px 34px 4px;
  background: var(--brush-red) center / 100% 100% no-repeat;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding: 6px 0;
}

.hours-grid::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1.5px;
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

.hours-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.hours-col .time-badge {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #FFFFFF;
}

/* ==========================================================================
   10. Footer Section
   ========================================================================== */
.site-footer {
  padding: 100px 0 30px;
  color: var(--color-ink);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 84px;
  width: auto;
  margin-bottom: 4px;
}

.footer-wordmark {
  position: relative;
  line-height: 0.9;
}

.footer-wordmark .script-accent {
  font-size: 2.6rem;
  color: var(--color-ink);
  transform: rotate(-6deg) translate(-18%, 22%);
  position: relative;
  z-index: 2;
}

.footer-wordmark strong {
  display: block;
  font-family: var(--font-chunky);
  font-weight: 400;
  font-size: 4.2rem;
  color: var(--color-red);
  transform: rotate(-6deg) skewX(-6deg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.location-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.loc-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red);
  overflow: hidden;
  flex-shrink: 0;
}

.loc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loc-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.loc-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.1em;
}

.loc-link:hover {
  color: var(--color-ink);
  transform: translateX(3px);
}

.about-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.social-circle:hover {
  background-color: var(--color-red);
  transform: translateY(-3px);
}

.social-circle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.newsletter-box {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.newsletter-input {
  flex-grow: 1;
  min-width: 0;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-line);
  background-color: #FFFFFF;
  font-size: 0.88rem;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: var(--color-red);
}

.newsletter-btn {
  padding: 10px 24px 8px;
  background-color: var(--color-red);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.newsletter-btn:hover {
  background-color: var(--color-ink);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
}

.contact-line:hover {
  color: var(--color-red);
}

.contact-line .contact-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-line .contact-dot svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(35, 35, 35, 0.12);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Interactive Slide-Out Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background-color: #FFFFFF;
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 24px;
  background-color: var(--color-ink);
  background-image: var(--texture-noise);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid var(--color-red);
}

.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-close-btn {
  color: var(--color-paper);
  font-size: 1.5rem;
  line-height: 1;
}

.cart-drawer-items {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-msg {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 60px;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background-color: #F4F3F1;
  border-radius: var(--radius-sm);
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-ink);
}

.cart-item-price {
  font-weight: 800;
  color: var(--color-ink);
  font-size: 0.92rem;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid #E6E4E0;
  background-color: #F7F6F4;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  padding: 14px;
  background-color: var(--color-red);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(222, 75, 60, 0.4);
}

.btn-checkout:hover {
  background-color: var(--color-ink);
  transform: translateY(-2px);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-ink);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1.5px solid var(--color-red-bright);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .different-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .different-card.left, .different-card.right {
    text-align: center;
    align-items: center;
  }

  .different-card.left .card-header-with-badge {
    flex-direction: row;
  }

  .bestsellers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 70px;
  }

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

  .reservation-box {
    grid-template-columns: 1fr;
  }

  .reservation-img-wrap {
    min-height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    padding: 0 12px;
  }

  .navbar {
    padding: 6px 12px 6px 16px;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    background: rgba(248, 247, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 22px;
    gap: 14px;
    border-radius: 20px;
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-top: 4px solid var(--color-red);
    display: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-float-badge {
    display: none;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-burger-wrap {
    height: 400px;
  }

  .hero-cloud-shape {
    width: 320px;
    height: 320px;
  }

  .hero-cloud-shape::after {
    width: 160px;
    height: 32px;
    left: -30px;
  }

  .hero-burger-img {
    max-width: 290px;
  }

  .hero-badge-sticker {
    width: 84px;
    height: 84px;
    top: 10px;
    right: 2%;
  }

  .hero-price-tag {
    top: 20px;
    left: 2%;
  }

  .hero-price-tag strong {
    font-size: 1.6rem;
  }

  .btn-order-nav {
    display: none;
  }

  .bestsellers-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .tab-title-left {
    font-size: 1.6rem;
  }

  .tab-header {
    padding: 16px 18px;
  }

  .tab-content-panel {
    padding: 24px 18px;
  }

  .testimonial-card-main {
    padding: 44px 24px 30px;
  }

  .testimonial-quote {
    font-size: 1.4rem;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Pre-Order Form Enhancements & Student ID Verification
   ========================================================================== */

.id-upload-container {
  background-color: rgba(35, 35, 35, 0.04);
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 4px;
  transition: all 0.25s ease;
}

.id-upload-container:hover {
  border-color: var(--color-red);
  background-color: rgba(222, 75, 60, 0.05);
}

.id-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  cursor: pointer;
}

.id-upload-icon {
  font-size: 1.3rem;
}

.id-upload-help {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.id-preview-thumb {
  max-width: 120px;
  max-height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
  border: 2px solid var(--color-red);
  box-shadow: var(--shadow-sm);
  display: none;
}

/* Student ID Linked Card */
.linked-id-card {
  background-color: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.linked-id-card.pending {
  background-color: #FFFBEB;
  border-color: #F59E0B;
}

.linked-id-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.linked-id-card.pending .linked-id-badge {
  background: #F59E0B;
}

.linked-id-info {
  flex: 1;
}

.linked-id-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #065F46;
  line-height: 1.2;
}

.linked-id-card.pending .linked-id-title {
  color: #92400E;
}

.linked-id-sub {
  font-size: 0.74rem;
  color: #047857;
  margin-top: 2px;
}

.linked-id-card.pending .linked-id-sub {
  color: #B45309;
}

.btn-change-id {
  background: none;
  border: none;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}

.btn-change-id:hover {
  color: #047857;
}

.exclusion-badge {
  display: inline-block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.spice-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.spice-badge.mild { background-color: #DEF7EC; color: #03543F; }
.spice-badge.medium { background-color: #FEF08A; color: #854D0E; }
.spice-badge.hot { background-color: #FEE2E2; color: #991B1B; }
.spice-badge.extra { background-color: #7F1D1D; color: #FFF; }

/* Order Confirmation Modal */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(25, 25, 25, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.order-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.order-modal-box {
  background-color: var(--color-paper-card);
  border: 3px solid var(--color-text-dark);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-modal-overlay.open .order-modal-box {
  transform: translateY(0);
}

.order-token-chip {
  display: inline-block;
  background-color: var(--color-ink);
  color: var(--color-red-bright);
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  margin: 16px 0;
  border: 3px dashed var(--color-red);
}

/* ==========================================================================
   Cart Drawer Checkout & Order Success Modal
   ========================================================================== */
.cart-drawer {
  max-width: 440px;
}

/* Header Back Button */
.btn-back-to-cart {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-back-to-cart:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Compact Summary Capsule in Checkout Step */
.checkout-summary-capsule {
  margin: 16px 20px 0 20px;
  background-color: #F7F6F4;
  border: 1.5px dashed #D6D3CE;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-capsule-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-capsule-edit {
  background: #FFFFFF;
  border: 1px solid #D6D3CE;
  color: var(--color-ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-capsule-edit:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #FFFFFF;
}

.cart-order-type-wrap {
  padding: 14px 20px;
  background-color: #F4F3F1;
  border-bottom: 1px solid #E6E4E0;
}

.cart-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #E6E4E0;
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.cart-type-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cart-type-btn.active {
  background-color: #FFFFFF;
  color: var(--color-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-items-section {
  padding: 18px 20px;
}

.cart-checkout-details {
  padding: 18px 20px 24px 20px;
  background-color: #F7F6F4;
  border-top: 1px solid #E6E4E0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-section-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.cart-input-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-input-field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cart-input-field input,
.cart-input-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #DEDBD6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--color-ink);
  background-color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-input-field input:focus,
.cart-input-field select:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(222, 75, 60, 0.2);
}

.pickup-info-banner {
  background-color: rgba(35, 35, 35, 0.08);
  border: 1px solid rgba(35, 35, 35, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--color-ink);
  line-height: 1.4;
}

.cart-id-section {
  margin-top: 4px;
}

.cart-id-linked {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}

.cart-id-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  border: 1.5px dashed #CFCBC5;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.2s ease;
}

.cart-id-label:hover {
  border-color: var(--color-red);
  background-color: #FFF6F4;
}

.cart-id-label[hidden],
.cart-id-attached[hidden] {
  display: none;
}

/* Chosen student ID photo */
.cart-id-attached {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-line);
  border-radius: 10px;
  padding: 6px 6px 6px 6px;
}

.cart-id-thumb {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-paper);
  flex-shrink: 0;
}

.cart-id-thumb.no-preview {
  object-position: -9999px;
  background: var(--color-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5B57' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M14 10h4M14 14h4'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.cart-id-attached-text {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.cart-id-attached-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--color-ink);
}

.cart-id-attached-text small {
  display: block;
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.cart-id-action {
  border: none;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-id-action:hover {
  background: var(--color-red-tint);
  color: var(--color-red-deep);
}

#cartIdRemove {
  font-size: 1rem;
  line-height: 1;
  padding: 4px 9px;
}

/* Order Quantity Controls in Cart Item */
.cart-qty-ctrls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #E6E4E0;
  border-radius: var(--radius-pill);
  padding: 2px 6px;
  margin-top: 4px;
}

.cart-qty-btn {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-ink);
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* Order Success Modal */
.order-success-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35, 35, 35, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-success-backdrop.open {
  display: flex;
}

.order-success-card {
  background: #FFFFFF;
  border-radius: 28px;
  width: 100%;
  max-width: 460px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.success-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 8px 24px rgba(222, 75, 60, 0.35);
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.success-sub {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.success-token-box {
  background-color: #F4F3F1;
  border: 2px dashed var(--color-red);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.success-token-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.success-token-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #DE4B3C;
}

.success-details-list {
  background-color: #F7F6F4;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  text-align: left;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.success-detail-label {
  color: var(--color-text-muted);
}

.success-detail-val {
  font-weight: 700;
  color: var(--color-ink);
}

.success-note {
  font-size: 0.78rem;
  color: #7A7671;
  margin-bottom: 20px;
  line-height: 1.4;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-success-wa {
  background-color: #25D366;
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-success-wa:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
}

.btn-success-close {
  background-color: #E6E4E0;
  color: var(--color-ink);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-success-close:hover {
  background-color: #D9D6D1;
}



/* ==========================================================================
   Order Tracker
   ========================================================================== */
.btn-track-primary {
  background-color: var(--color-red);
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(222, 75, 60, 0.3);
  transition: background-color 0.2s;
}

.btn-track-primary:hover { background-color: var(--color-red-deep); }
.btn-track-primary:disabled { opacity: 0.6; cursor: wait; }

.track-card {
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-head .success-title { margin: 0; }

.track-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--color-paper);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-ink);
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-empty {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.track-order {
  border: 1.5px solid var(--color-line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-order.is-ready {
  border-color: #2F9E64;
  background: #F2FAF5;
}

.track-order.is-cancelled {
  border-color: #F3C4BD;
  background: #FFF7F5;
}

.track-order-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.track-order-top strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--color-red);
}

.track-order-top span {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-align: right;
}

.track-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
}

.track-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-paper-muted);
  text-align: center;
}

/* connector line to the previous step */
.track-steps li + li::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: var(--color-line);
  z-index: 0;
}

.track-steps li span {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--color-line);
}

.track-steps li.done { color: var(--color-ink); }
.track-steps li.done span { background: var(--color-red); border-color: var(--color-red); }
.track-steps li.done::before,
.track-steps li.current::before { background: var(--color-red); }

.track-steps li.current { color: var(--color-red); }
.track-steps li.current span {
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(222, 75, 60, 0.2);
  animation: trackPulse 1.6s ease-in-out infinite;
}

.track-order.is-ready .track-steps li.current { color: #25804F; }
.track-order.is-ready .track-steps li.current span { background: #2F9E64; border-color: #2F9E64; box-shadow: 0 0 0 4px rgba(47, 158, 100, 0.2); }

@keyframes trackPulse {
  50% { box-shadow: 0 0 0 7px rgba(222, 75, 60, 0.08); }
}

.track-headline {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.track-items {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin: 0;
}

.track-notify,
.track-remove {
  align-self: flex-start;
  border: none;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  cursor: pointer;
}

.track-remove { background: transparent; color: var(--color-text-muted); padding-left: 0; }

.track-form {
  border-top: 1px solid var(--color-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-form-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.track-form-row {
  display: flex;
  gap: 8px;
}

.track-form-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1.5px solid var(--color-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
}

.track-form-row input:focus { border-color: var(--color-red); }

/* Floating "your order" pill */
.track-pill {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  background: var(--color-ink);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  white-space: nowrap;
}

.track-pill[hidden] { display: none; }

.track-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red-bright);
  animation: trackPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.track-pill.is-ready { background: #2F9E64; }
.track-pill.is-ready .track-pill-dot { background: #FFFFFF; }

/* Rejected student ID note at checkout */
.cart-id-rejected {
  background: #FFF7F5;
  border: 1px solid #F3C4BD;
  color: var(--color-red-deep);
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.cart-id-rejected[hidden] { display: none; }

@media (max-width: 480px) {
  .track-form-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .track-steps li.current span,
  .track-pill-dot { animation: none; }
}

/* ==========================================================================
   Paused menu items (set from the kitchen dashboard)
   ========================================================================== */
.item-paused .item-name,
.item-paused .item-desc,
.item-paused .item-price,
.item-paused .card-title,
.item-paused .card-desc,
.item-paused .card-price,
.item-paused .card-img-wrap {
  opacity: 0.45;
}

.item-paused .item-price,
.item-paused .card-price {
  text-decoration: line-through;
}

[data-add-cart].is-paused,
[data-add-cart].is-paused:hover {
  background: #D6D3CE;
  color: #5E5B57;
  border-color: #D6D3CE;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.menu-item-row[hidden],
.bestseller-card[hidden],
[data-add-cart][hidden] {
  display: none !important;
}

.tab-soon {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.track-pay {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: -4px 0 0;
}

.track-details {
  background: #F7F6F4;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
}

.track-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.track-details span {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.track-details strong {
  color: var(--color-ink);
  text-align: right;
  overflow-wrap: anywhere;
}

/* Past orders (collapsed under the tracker) */
.track-history {
  border-top: 1px solid var(--color-line);
  padding-top: 12px;
}

.track-history summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  list-style-position: inside;
}

.track-history ul {
  list-style: none;
  margin: 10px 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.track-past {
  padding: 10px 0;
  border-bottom: 1px solid #EEECE9;
}

.track-past-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.8rem;
}

.track-past-top strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--color-ink);
}

.track-past-top span {
  color: var(--color-text-muted);
  flex: 1;
}

.track-past-top em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.72rem;
  color: #25804F;
}

.track-past.is-cancelled .track-past-top em { color: var(--color-red-deep); }

.track-past-items {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Payment choice at checkout + payment state on the tracker
   ========================================================================== */
.cart-pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-pay-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  background: #FFFFFF;
  border: 1.5px solid var(--color-line);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-pay-btn strong {
  font-size: 0.84rem;
  color: var(--color-ink);
}

.cart-pay-btn small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.cart-pay-btn.active {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(222, 75, 60, 0.12);
}

.track-pay.is-paid {
  color: #25804F;
  font-weight: 700;
}

.track-pay-box {
  background: #FFF8EC;
  border: 1px solid #F1D9A8;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-ink);
}

.track-pay-box.is-failed {
  background: #FFF7F5;
  border-color: #F3C4BD;
}

.track-pay-box p { margin: 0; }

.track-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-pay-btn {
  border: none;
  background: var(--color-red);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  cursor: pointer;
}

.track-pay-btn:disabled,
.track-notify:disabled { opacity: 0.6; cursor: wait; }

.cart-input-field[hidden] { display: none; }

/* Pay by MoMo (manual) on the tracker */
.momo-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}

.momo-number {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.momo-copy {
  border: none;
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-left: 4px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--color-line);
}

.momo-form {
  display: flex;
  gap: 8px;
}

.momo-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1.5px solid var(--color-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  outline: none;
  background: #FFFFFF;
}

.momo-form input:focus { border-color: var(--color-red); }

.momo-alt {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
