:root {
  /* === RUSTIC SOURDOUGH THEME === */

  /* Background: Warm Taupe / Oatmeal (Reduced Brightness) */
  --background: 35, 20%, 82%;
  --background-strong: 32, 18%, 76%;
  --background-accent: 38, 25%, 86%;

  /* Surface Colors - Old Parchment */
  --card: 36, 25%, 90%;
  --card-hover: 38, 35%, 94%;
  --muted: 32, 15%, 80%;
  --elevated: 36, 25%, 88%;

  /* Text Colors - Deep Roast */
  --foreground: 24, 30%, 20%;
  --foreground-secondary: 26, 20%, 35%;
  --foreground-muted: 26, 15%, 45%;

  /* Borders - Soft Grey-Brown */
  --border: 32, 15%, 70%;
  --border-strong: 30, 20%, 60%;

  /* Accents - Oven Brick / Copper */
  --primary: 24, 65%, 48%;
  --primary-dark: 20, 70%, 40%;
  --primary-soft: 24, 65%, 48%, 0.15;
  --secondary: 42, 40%, 80%;
  --accent: 14, 55%, 45%;

  /* Dimensions */
  --nav-width: 260px;
  /* Fixed width for left nav */
  --cart-width: 400px;
  /* Fixed width for right order drawer */

  /* Dynamic Variables (Changed via Javascript classes) */
  --content-margin-left: var(--nav-width);
  --content-margin-right: 0px;

  /* Legacy but updated for reference if needed */
  --sidebar-visible-space: var(--nav-width);
  --order-sidebar-width: var(--cart-width);

  --content-gutter: clamp(1rem, 5vi, 3rem);
  --content-max: 1200px;
  --touch-target-min: 44px;
  --mobile-breakpoint: 900px;
}

/* When Nav is Hidden */
body.nav-hidden {
  --content-margin-left: 0px;
}

/* When Order Drawer is Open */
body.order-open {
  --content-margin-right: var(--cart-width);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;

  /* Use CSS variables for consistent warm gradient */
  background: linear-gradient(180deg,
      hsl(var(--background-accent)) 0%,
      hsl(var(--background)) 50%,
      hsl(var(--background-strong)) 100%);
  background-attachment: fixed;

  color: hsl(var(--foreground));
  min-height: 100dvh;
  overflow: hidden;
  min-height: 100dvh;
  overflow: hidden;
  animation: pageFade 0.35s ease both;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}

@keyframes pageFade {
  from {
    opacity: 0.86;
    filter: blur(0.4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.nav-hidden {
  --sidebar-visible-space: 0rem;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

.layout {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, hsl(var(--background-strong)) 0%, hsl(var(--background)) 70%);
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: var(--nav-width);

  /* Almond skin gradient for earthy frame */
  background: linear-gradient(180deg,
      hsl(var(--background-accent)) 0%,
      hsl(var(--background-strong)) 100%);

  /* Darker border to separate from main content */
  border-right: 1px solid hsl(var(--border-strong));

  /* Enhanced shadow for depth */
  box-shadow:
    4px 0 25px -10px rgba(0, 0, 0, 0.15),
    inset -1px 0 0 0 hsla(42, 45%, 75%, 0.3);

  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1000;
  /* Smooth slide transition */
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.nav-hidden .sidebar {
  transform: translateX(-105%);
}

.sidebar__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  min-height: 68px;
  margin-inline: auto;
  text-align: center;
}

.sidebar__title,
.sidebar__subtitle {
  width: 100%;
  text-align: center;
}

.sidebar__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  /* Premium Artisan Feel */
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.sidebar__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  text-decoration: none;

  /* Chocolate brown text */
  color: hsl(var(--foreground));

  font-family: 'Inter', sans-serif;
  /* Keep nav sans-serif for readability */
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
  margin-inline: 0.5rem;
  /* Floating Pill Effect */
}

/* Playful Icon Animation */
.nav-link:hover i[data-lucide] {
  transform: rotate(-10deg) scale(1.1);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Warm beige hover background */
  background: linear-gradient(135deg,
      hsla(38, 30%, 88%, 0) 0%,
      hsla(40, 35%, 90%, 0) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  border-radius: inherit;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
}

.nav-link:hover,
.nav-link.nav-link--active {
  /* This applies the nice gradient and shadow to the active tab */
  background: linear-gradient(135deg,
      hsl(var(--primary)) 0%,
      hsl(24, 70%, 45%) 100%);
  color: hsl(45, 30%, 98%);
  box-shadow:
    0 2px 8px -2px rgba(0, 0, 0, 0.15),
    0 8px 20px -8px hsla(28, 75%, 50%, 0.3);
  text-shadow: none;
  transform: translateX(4px);
  /* Adds a little movement */
}

.nav-link i[data-lucide] {
  width: 1.4rem;
  height: 1.4rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 75%);
  opacity: 0;
  transform: translateX(-25%);
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link.nav-link--active::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-link {
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}



.sidebar__label {
  white-space: nowrap;
}

.sidebar__footer {
  margin-top: auto;
}

.order-button {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 1rem;
  border: none;
  /* Rich terracotta gradient - same as btn-primary */
  background: linear-gradient(135deg,
      hsl(var(--primary)) 0%,
      hsl(var(--primary-dark)) 100%);
  /* Warm white text */
  color: hsl(45, 30%, 98%);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow:
    0 2px 8px -2px rgba(0, 0, 0, 0.15),
    0 8px 20px -8px hsla(28, 75%, 50%, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
  /* Glazed Highlight */
}

.order-button:hover {
  background: linear-gradient(135deg,
      hsl(24, 65%, 58%) 0%,
      hsl(20, 70%, 46%) 100%);
  box-shadow:
    0 4px 12px -4px rgba(0, 0, 0, 0.2),
    0 12px 30px -12px hsla(28, 75%, 50%, 0.4);
  transform: translateY(-2px);
}

.order-button__count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: hsl(var(--accent));
  color: hsl(var(--background));
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.main-content {
  /* FLUID SQUEEZE LAYOUT */
  margin-left: var(--content-margin-left);
  margin-right: var(--content-margin-right);
  width: auto;
  /* Take up remaining space */
  max-width: 100%;
  /* Prevent overflow on the body, scroll here instead */
  max-height: 100dvh;
  overflow-y: auto;
  scrollbar-gutter: stable;

  /* Clean Transition for the squeeze effect */
  transition: margin 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Keep existing padding */
  padding: var(--content-gutter);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);

  /* Animation */
  animation: sectionFade 0.6s ease both;
  color: hsl(var(--foreground));
  background: transparent;
}

/* Previously body.order-open .main-content was here. Removed for squeeze layout. */

.main-content>* {
  animation: sectionFade 0.65s ease both;
  max-width: var(--content-max);
  width: 100%;
  margin-inline: auto;
}

.main-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.main-content>*:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-panel {
  position: relative;
  /* Constrain width to content max minus the content padding */
  width: 100%;
  max-width: var(--content-max);
  /* Increase min-height for more drama */
  min-height: clamp(400px, 55vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/hero-bread.jpg');
  background-size: 110%;
  background-position: center 55%;
  border-radius: 1.5rem;
  overflow: hidden;
  /* Add margin to separate from edges */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  transition: transform 250ms ease, box-shadow 250ms ease, background-size 800ms ease;

  /* Warm atmospheric border and glow */
  border: 1px solid hsla(28, 50%, 45%, 0.12);

  /* Add a stronger shadow to lift it off the page */
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.4),
    0 0 0 1px hsla(28, 50%, 45%, 0.2);
}

.hero-panel:hover {
  background-size: 120%;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  /* PROFESSIONAL GRADIENT:
     - Top: Transparent (0.2) so we see the bread clearly
     - Bottom: Darker (0.7) so the white text is perfectly legible
  */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-panel__overlay {
  position: relative;
  z-index: 4;
  width: 100%;

  /* CRITICAL: Increase top padding to 14rem-18rem.
     This physically pushes the text down to clear the logo's empty space. */
  padding-top: clamp(14rem, 20vw, 18rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
  padding-inline: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-panel__overlay::before {
  content: '';
  position: absolute;
  /* Adjust glow position to match new text position */
  inset: clamp(6rem, 10vw, 8rem) clamp(-0.5rem, -2vw, -1.2rem) 0;
  background: radial-gradient(circle at 50% 40%,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.75));
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
}

.hero-logo {
  position: absolute;
  top: 0;
  left: 50%;
  /* Center horizontally, push down 10% from top */
  transform: translate(-50%, 10%);

  /* FIX: Control width instead of height. 
     This keeps the logo readable even with the empty space in the file. */
  width: clamp(220px, 35vw, 320px);
  height: auto;

  /* PROFESSIONAL TOUCH: Add a drop shadow so the white logo 
     pops off the white icing background. */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));

  object-fit: contain;
  pointer-events: none;
  z-index: 10;
}

.hero-title {
  /* CHANGE: Switch to a Serif font to match your sidebar logo. 
     It looks much more premium. */
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  /* Adds that "hand-crafted" feel */
  font-weight: 700;

  /* Make it slightly larger but keep it responsive */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;

  /* Stronger shadow for readability */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-copy {
  font-size: 0.98rem;
  max-width: 36rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
  margin: 0;
  opacity: 0.96;
}

.content-container {
  padding: 0 clamp(0.25rem, 2vw, 1.25rem) clamp(2rem, 4vw, 3.75rem);
}

.page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: clamp(0.25rem, 2vw, 1rem) auto clamp(1.25rem, 3vw, 1.75rem);
  max-width: var(--content-max);
  width: 100%;
}

.page-intro__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.page-intro__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.page-intro__copy {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  max-width: 46ch;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Bump animation for cart icon */
@keyframes bump-anim {

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

  50% {
    transform: scale(1.25);
  }
}

i.bump-anim {
  animation: bump-anim 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  cursor: pointer;
  padding: 10px;
  z-index: 60;
  position: fixed;
  top: 1rem;
  left: 1rem;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: hsl(var(--foreground));
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Page transition animations */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes contentFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.main-content {
  animation: pageEnter 500ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.page-intro,
.hero-panel {
  animation: contentFadeIn 600ms cubic-bezier(0.22, 0.61, 0.36, 1) 100ms backwards;
}

.card-grid>*,
.menu-grid>*,
.story-grid>* {
  animation: contentFadeIn 500ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

/* Stagger child animations for cards */
.card-grid>*:nth-child(1),
.menu-grid>*:nth-child(1) {
  animation-delay: 150ms;
}

.card-grid>*:nth-child(2),
.menu-grid>*:nth-child(2) {
  animation-delay: 200ms;
}

.card-grid>*:nth-child(3),
.menu-grid>*:nth-child(3) {
  animation-delay: 250ms;
}

.card-grid>*:nth-child(4),
.menu-grid>*:nth-child(4) {
  animation-delay: 300ms;
}

.card-grid>*:nth-child(5),
.menu-grid>*:nth-child(5) {
  animation-delay: 350ms;
}

.card-grid>*:nth-child(6),
.menu-grid>*:nth-child(6) {
  animation-delay: 400ms;
}

/* Contact page specific animations */
.contact-layout__essentials>*:nth-child(1) {
  animation-delay: 150ms;
}

.contact-layout__essentials>*:nth-child(2) {
  animation-delay: 200ms;
}

.contact-layout__essentials>*:nth-child(3) {
  animation-delay: 250ms;
}

.contact-layout__essentials>*:nth-child(4) {
  animation-delay: 300ms;
}

.contact-layout__help {
  animation: contentFadeIn 500ms cubic-bezier(0.22, 0.61, 0.36, 1) 350ms backwards;
}

/* Order page animations */
.order-page {
  animation: pageEnter 500ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.order-page__list>* {
  animation: contentFadeIn 400ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.order-page__list>*:nth-child(1) {
  animation-delay: 100ms;
}

.order-page__list>*:nth-child(2) {
  animation-delay: 150ms;
}

.order-page__list>*:nth-child(3) {
  animation-delay: 200ms;
}

.order-page__list>*:nth-child(4) {
  animation-delay: 250ms;
}

.order-page__list>*:nth-child(5) {
  animation-delay: 300ms;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

  .main-content,
  .page-intro,
  .hero-panel,
  .card-grid>*,
  .menu-grid>*,
  .story-grid>*,
  .contact-layout__essentials>*,
  .contact-layout__help,
  .order-page,
  .order-page__list>* {
    animation: none !important;
    animation-delay: 0s !important;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.menu-grid {
  display: grid;
  /* Fixed column count - won't reorganize when sidebars change */
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  /* Ensure grid doesn't exceed content max width */
  max-width: var(--content-max);
  /* Prevent width changes from affecting layout */
  width: 100%;
}

.card {
  background: hsl(var(--card));
  border-radius: 1.25rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 22px 45px -26px rgba(0, 0, 0, 0.5);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.6);
}

.featured-card {
  padding: 0;
  overflow: hidden;
  /* "Old Paper" gradient - subtle warmth */
  background: linear-gradient(165deg,
      hsl(var(--card-hover)) 0%,
      hsl(var(--elevated)) 100%);
  /* Border matches the darker theme */
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  /* Natural shadows to match menu cards */
  box-shadow:
    0 2px 8px -2px rgba(0, 0, 0, 0.08),
    0 8px 20px -8px rgba(0, 0, 0, 0.1),
    0 0 0 1px hsla(28, 60%, 50%, 0.06);
  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
}

.featured-card:hover {
  /* Match menu card hover */
  background: hsl(40, 40%, 98%);
  transform: translateY(-6px) scale(1.01);
  border-color: hsl(42, 70%, 58%);
  box-shadow:
    0 4px 12px -4px rgba(0, 0, 0, 0.12),
    0 12px 30px -12px rgba(0, 0, 0, 0.15),
    0 0 0 2px hsla(42, 70%, 58%, 0.25),
    0 0 30px -8px hsla(42, 70%, 58%, 0.18);
}

.featured-card__content {
  color: inherit;
  text-decoration: none;
}

.featured-card img {
  width: 100%;
  height: clamp(180px, 22vw, 210px);
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.featured-card__details {
  padding: clamp(1rem, 2vw, 1.25rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: hsl(var(--foreground));
  gap: 1rem;
}

.featured-card__actions {
  padding: 0 1.1rem 1.1rem;
  display: flex;
  justify-content: flex-end;
}

.section-heading {
  margin: clamp(2rem, 3vw, 2.75rem) 0 1rem;
  text-align: center;
  font-size: 1.75rem;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-button {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-weight: 600;
  text-transform: capitalize;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.filter-button.is-active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--foreground));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -18px rgba(255, 153, 120, 0.8);
}

.filter-button.menu-filter__button--active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--foreground));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -18px rgba(255, 153, 120, 0.8);
}

.menu-card {
  /* "Old Paper" gradient - subtle warmth */
  background: linear-gradient(165deg,
      hsl(var(--card-hover)) 0%,
      hsl(var(--elevated)) 100%);

  /* Border matches the darker theme */
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  overflow: hidden;

  /* Natural shadows */
  box-shadow:
    0 2px 8px -2px rgba(0, 0, 0, 0.08),
    0 8px 20px -8px rgba(0, 0, 0, 0.1),
    0 0 0 1px hsla(28, 60%, 50%, 0.06);

  transition: all 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
}

.menu-card--text-only {
  display: flex;
  flex-direction: column;
  min-height: auto;
  border-left: 4px solid hsl(var(--primary));
}

.menu-card--text-only .menu-card__body {
  padding: 1.5rem;
}

.menu-card:hover {
  background: hsl(40, 40%, 98%);
  /* Brighter white on hover */
  transform: translateY(-6px) scale(1.01);
  /* Slight grow effect */
  border-color: hsl(42, 70%, 58%);
  /* Golden border */

  box-shadow:
    0 4px 12px -4px rgba(0, 0, 0, 0.12),
    0 12px 30px -12px rgba(0, 0, 0, 0.15),
    0 0 0 2px hsla(42, 70%, 58%, 0.25),
    /* Golden glow */
    0 0 30px -8px hsla(42, 70%, 58%, 0.18);
}

.menu-card--selected {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}

.menu-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.menu-card[data-sold-out="true"] {
  opacity: 0.7;
  pointer-events: none;
  filter: grayscale(0.5);
}

.menu-card[data-sold-out="true"] .menu-card__image::after {
  content: "Sold Out";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: hsl(var(--background-strong));
  color: hsl(var(--primary));
  padding: 0.5rem 1rem;
  border: 2px solid hsl(var(--primary));
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 0.5rem;
  box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.6);
}

.menu-card:hover .menu-card__image img {
  transform: scale(1.08);
}

.menu-card__body {
  padding: clamp(1.05rem, 2vw, 1.25rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-card__title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.menu-card__price {
  color: hsl(var(--primary-dark));
  font-weight: 700;
}

.menu-card__copy {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  flex: 1;
}

.btn {
  padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.22, 0.61, 0.36, 1);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-small {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.btn-primary {
  /* Rich Terracotta Gradient */
  background: linear-gradient(135deg,
      hsl(var(--primary)) 0%,
      hsl(var(--primary-dark)) 100%);
  /* Warm white text */
  color: hsl(45, 30%, 98%);
  border: 1px solid hsl(var(--primary-dark));
  box-shadow:
    0 2px 8px -2px rgba(0, 0, 0, 0.15),
    0 8px 20px -8px hsla(28, 75%, 50%, 0.3),
    inset 0 1px 0 0 hsla(45, 100%, 70%, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg,
      hsl(24, 65%, 58%) 0%,
      hsl(20, 70%, 46%) 100%);
  box-shadow:
    0 4px 12px -4px rgba(0, 0, 0, 0.2),
    0 12px 30px -12px hsla(28, 75%, 50%, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  /* Warm cream with border - matches cards */
  background: hsl(38, 35%, 92%);
  border: 2px solid hsl(var(--primary));
  /* Thicker, colored border */
  color: hsl(24, 75%, 35%);
  /* Darker primary for contrast */
  font-weight: 700;
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: hsl(35, 30%, 88%);
  border-color: hsl(var(--primary));
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.order-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--order-sidebar-width);
  height: 100dvh;
  transform: translateX(100%);
  max-width: 95vw;

  /* Same rich warm latte gradient as left sidebar */
  background: linear-gradient(180deg,
      hsl(32, 35%, 82%) 0%,
      hsl(28, 32%, 76%) 100%);

  border-left: 1px solid hsl(28, 35%, 70%);
  box-shadow:
    -4px 0 25px -10px rgba(0, 0, 0, 0.15),
    inset 1px 0 0 0 hsla(42, 45%, 75%, 0.3);

  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Smooth slide transition */
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.order-open .order-sidebar {
  transform: translateX(0);
}

/* Mobile full-screen overlay for order sidebar */
@media (max-width: 900px) {
  .order-sidebar {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    box-shadow: none;
  }

  body.order-open .order-sidebar {
    transform: translateX(0);
  }
}

.order-sidebar__inner {
  width: 24rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.order-sidebar__header,
.order-sidebar__footer {
  padding: 1.75rem;
  border-bottom: 1px solid hsl(var(--border));
  flex-shrink: 0;
}

.order-sidebar__footer {
  border-top: 1px solid hsl(var(--border));
  border-bottom: none;
  margin-top: auto;
  gap: 1rem;
}

.order-sidebar__body {
  padding: 1.25rem 1.75rem 2rem;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-sidebar__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.order-sidebar__title {
  margin: 0;
  font-size: 1.5rem;
}

.order-sidebar__subtitle {
  margin: 0.2rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.order-empty {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-top: 2rem;
}

.order-empty i[data-lucide] {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.order-empty .btn {
  margin-top: 1rem;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item {
  display: flex;
  gap: 1rem;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
}

.order-item__image {
  width: 80px;
  height: 80px;
  border-radius: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
}

.order-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order-item__title {
  font-weight: 600;
}

.order-item__price {
  color: hsl(var(--primary));
  font-weight: 700;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.quantity-button {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  background: hsl(var(--muted));
  display: grid;
  place-items: center;
  border: 1px solid transparent;
}

/* Fix for button clicks being blocked by icons */
.quantity-button svg,
.quantity-button i,
.order-item__remove svg,
.order-item__remove i {
  pointer-events: none;
}

.quantity-button:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
}

.order-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: hsl(var(--muted));
  display: grid;
  place-items: center;
  transition: border-color 200ms ease, color 200ms ease;
}

.order-close:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.order-bar {
  position: fixed;
  left: calc(var(--sidebar-visible-space) + 1rem);
  bottom: 1.25rem;
  z-index: 45;
}

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

.order-bar__button {
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #0f0b0c;
  border: 1px solid hsl(var(--primary-dark));
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.order-bar__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.85);
}

.order-bar__text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.order-bar__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.order-bar__count {
  background: rgba(0, 0, 0, 0.18);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.order-bar__total {
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--primary-soft));
  font-size: 0.85rem;
}

.info-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  background: hsl(var(--muted));
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-card {
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 1);
}

.form-card .btn {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  color: hsl(var(--foreground));
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.25);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-columns {
  align-items: flex-start;
}

.story-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 80px -35px rgba(0, 0, 0, 0.9);
}

.story-text {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.signature {
  font-size: 1.2rem;
  font-weight: 700;
}

.toast-stack {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.toast {
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  min-width: 240px;
  box-shadow: 0 20px 60px -25px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

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

.toast--success {
  border-color: hsl(var(--primary));
}

.toast--error {
  border-color: #d45a5a;
}

.toast strong {
  display: block;
  margin-bottom: 0.35rem;
}

.order-summary {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  margin-bottom: 1rem;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.order-summary__total {
  font-weight: 700;
  color: hsl(var(--primary));
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
}

.empty-summary {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.order-page {
  background: hsl(var(--card));
  border-radius: 1.35rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
}

.order-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.order-page__empty {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.order-page__empty i[data-lucide] {
  width: 2.5rem;
  height: 2.5rem;
}

.order-page__heading {
  margin: 0 0 0.65rem;
}

.order-page__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.order-page__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid hsl(var(--border));
  background: transparent;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.order-page__item:last-child {
  border-bottom: none;
}

.order-page__item-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-page__item-controls {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 0.75rem;
}

.order-page__item-name {
  font-weight: 700;
}

.order-page__item-total {
  font-weight: 700;
  text-align: right;
}

.order-page__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.order-page__qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--background-strong));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.2s;
}

.order-page__qty-btn:hover {
  background: hsl(var(--primary));
  color: #ffffff;
  border-color: hsl(var(--primary));
}

.order-page__remove {
  justify-self: end;
  background: none;
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
}

.order-page__notes {
  background: hsl(var(--muted));
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
}

.order-page__notes-input {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 0.75rem;
  color: hsl(var(--foreground));
  resize: vertical;
}

.order-page__summary {
  margin-top: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-summary__row--total {
  font-size: 1.1rem;
  font-weight: 700;
}

.order-page__submit {
  width: 100%;
}

.order-page__fine-print {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.order-page__confirmation {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.order-page__confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

/* Contact page layout */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: flex-start;
}

.contact-layout__essentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Essentials cards */

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.8), 0 0 0 1px hsl(var(--primary) / 0.2);
  background: linear-gradient(165deg, hsl(var(--card)), hsl(var(--muted)));
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: hsl(var(--muted));
  display: grid;
  place-items: center;
  color: hsl(var(--primary));
}

.contact-card__body h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.contact-card__body p {
  font-size: 0.9rem;
}

.contact-card__muted {
  color: hsl(var(--muted-foreground));
}

.contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: hsl(var(--primary-soft));
}

.contact-card__cta:hover {
  color: hsl(var(--primary));
}

.contact-payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

/* Help / FAQ column */

.contact-layout__help {
  background: hsl(var(--card));
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--border));
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 1);
}

.contact-layout__help h2 {
  font-size: 1.2rem;
}

.contact-help__copy {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
}

.contact-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.faq-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: hsl(var(--background-strong));
  border: 1px solid hsl(var(--border));
  transition: background-color 160ms ease, border-color 160ms ease;
}

.faq-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.faq-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.faq-card:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary) / 0.6);
  transform: translateX(2px);
}

.contact-help__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.contact-help__actions .btn {
  min-width: 160px;
}

.contact-form-open .contact-layout {
  display: none;
}

.contact-form-open .contact-form-section {
  display: block;
}

.contact-form-section {
  margin-top: 2rem;
  max-width: var(--content-max);
  width: 100%;
  margin-inline: auto;
  display: none;
}

.contact-form-section.is-visible {
  display: block;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Contact responsive */

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout__essentials {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout__help {
    margin-top: 1.5rem;
  }
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.not-found a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

i[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-card .btn-primary i[data-lucide],
.quantity-button i[data-lucide],
.order-button i[data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 1280px) {
  .order-sidebar {
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
  }

  .hero-panel {
    margin-left: 0;
    margin-right: 0;
    min-height: clamp(340px, 58vh, 520px);
    padding: clamp(2rem, 4vw, 3rem) 1.25rem;
  }

  .main-content {
    padding: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .order-page__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .order-page__item-controls {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .order-page__item-total {
    text-align: left;
  }

  /* Better spacing for tablet layouts */
  .main-content {
    padding: clamp(1rem, 3vw, 2rem);
  }

  .hero-panel {
    margin-bottom: 1.5rem;
  }

  .card-grid {
    gap: 1.25rem;
  }
}

/* Changed breakpoint from 768px to 900px to catch vertical tablets/split screens */
@media (max-width: 900px) {
  body {
    height: auto;
    overflow: auto;
  }

  .layout {
    height: auto;
    min-height: 100vh;
  }

  .main-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1rem 1rem 7rem 1rem;
    width: 100%;
    max-height: none;
    transform: none !important;
  }

  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: auto;
    border-right: none;
    border-top: 1px solid hsl(var(--border));
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 50;
    transform: none !important;
  }

  .sidebar__header {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
    width: auto;
  }

  .nav-link {
    padding: 0.5rem;
    border-radius: 0.75rem;
    justify-content: center;
  }

  .sidebar__label {
    display: none;
  }

  .nav-link i[data-lucide] {
    width: 1.75rem;
    height: 1.75rem;
  }

  .sidebar__footer {
    margin-top: 0;
  }

  .order-button {
    min-width: auto;
    width: auto;
    height: var(--touch-target-min);
    padding: 0 0.75rem;
    border-radius: 0.75rem;
  }

  .order-button__count {
    top: -4px;
    right: -4px;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.65rem;
  }

  .card-grid,
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-panel {
    min-height: clamp(280px, 50vh, 400px) !important;
    border-radius: 1rem;
    padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
  }

  .hero-logo {
    width: clamp(200px, 40vw, 280px);
  }

  .hero-title {
    font-size: clamp(1.9rem, 6vw, 2.8rem) !important;
  }

  .page-intro__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
  }

  .toast-stack {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    width: 100%;
  }

  .menu-filters {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-button {
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .order-page__item-controls {
    gap: 0.5rem;
  }

  body.order-open {
    overflow: hidden;
  }

  .featured-card img {
    height: clamp(160px, 24vw, 200px);
  }

  /* Improve content max-width utilization */
  .content-container {
    padding: 0 1rem;
  }

  .page-intro {
    margin-bottom: 1.5rem;
  }

  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
  }

  /* Mobile sidebar overlay when hamburger is active */
  body.nav-open .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 55;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem 2rem 2rem;
    border: none;
    box-shadow: none;
    background: linear-gradient(180deg, hsl(var(--background-strong)), hsl(var(--background)));
    transform: translateX(0) !important;
  }

  body.nav-open .sidebar__header {
    display: flex;
    margin-bottom: 2rem;
  }

  body.nav-open .nav-list {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  body.nav-open .nav-link {
    padding: 1rem 1.25rem;
    justify-content: flex-start;
    text-align: left;
  }

  body.nav-open .sidebar__label {
    display: block;
    font-size: 1.1rem;
  }

  body.nav-open .nav-link i[data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
  }

  body.nav-open .sidebar__footer {
    margin-top: auto;
    width: 100%;
  }

  body.nav-open .order-button {
    width: 100%;
    padding: 1rem 1.25rem;
    min-width: auto;
    height: auto;
    border-radius: 1rem;
  }

  body.nav-open .order-button .sidebar__label {
    display: block;
  }

  /* Backdrop for mobile nav */
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 54;
    animation: fadeIn 200ms ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Ensure all interactive elements meet touch target requirements */
  button,
  a,
  input,
  select,
  textarea {
    min-height: var(--touch-target-min);
  }

  .btn {
    min-height: var(--touch-target-min);
    padding: 0.85rem 1.5rem;
  }

  .btn-small {
    min-height: 40px;
    padding: 0.65rem 1rem;
  }

  .order-bar {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
  }

  .order-bar__button {
    width: 100%;
    justify-content: space-between;
  }

  /* Better menu card sizing on mobile */
  .menu-card {
    min-height: auto;
  }

  .menu-card__image {
    height: clamp(180px, 35vw, 220px);
  }
}

@media (max-width: 640px) {

  /* Stack order page layout on smaller screens for better usability */
  .order-page__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .order-page {
    padding: 1rem;
  }

  /* Make form inputs and buttons full width on small screens */
  .form-group {
    width: 100%;
  }

  .menu-card__details {
    padding: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .sidebar {
    padding: 0.6rem 0.75rem;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .hero-logo {
    width: min(180px, 70vw);
    clip-path: inset(18% 0 18% 0);
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .content-container {
    padding-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .order-sidebar {
    width: 100%;
    max-width: 100vw;
    border-left: none;
  }

  .order-sidebar__inner {
    width: 100%;
  }
}

@keyframes sectionFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

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

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.bump-anim {
  animation: bump 0.3s ease;
}

/* Dietary Badges */
.menu-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.dietary-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  background: #eee;
  color: #555;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-gluten-free {
  background: #e6fffa;
  color: #2c7a7b;
  border-color: #b2f5ea;
}

.badge-vegan {
  background: #f0fff4;
  color: #276749;
  border-color: #c6f6d5;
}

.badge-nut-free {
  background: #f5f3ff;
  color: #553c9a;
  border-color: #e9d8fd;
}

.badge-dairy-free {
  background: #fffaf0;
  color: #c05621;
  border-color: #feebc8;
}

.badge-contains-nuts {
  background: #fff5f5;
  color: #c53030;
  border-color: #fed7d7;
}

/* Date Picker Polish */
.flatpickr-calendar {
  font-family: 'Inter', sans-serif !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid hsl(var(--primary)) !important;
}

.flatpickr-day.selected {
  background: hsl(var(--primary)) !important;
  border-color: hsl(var(--primary)) !important;
}

/* Social Links in Sidebar */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: hsl(var(--primary));
  transform: translateY(-2px);
}

/* Announcement Bar */
.announcement-bar {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1);
  animation: contentFadeIn 500ms ease backwards;
}

.announcement-bar--urgent {
  background: hsl(var(--primary-soft));
  border-color: hsl(var(--primary));
}

.announcement-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.announcement-content strong {
  color: hsl(var(--primary));
  font-size: 0.95rem;
}

.announcement-content span {
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}

.announcement-close {
  font-size: 1.5rem;
  line-height: 1;
  color: hsl(var(--foreground-muted));
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}


/* Bundle Builder Modal */
body.modal-open {
  overflow: hidden;
}

.bundle-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bundle-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 300ms ease;
}

.bundle-modal__content {
  position: relative;
  background: hsl(var(--card));
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  /* changed from 90dvh to 90vh for better compatibility */
  border-radius: 1.5rem;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: pageEnter 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.bundle-modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: hsl(var(--card));
}

.bundle-modal__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.bundle-modal__subtitle {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.bundle-close-btn {
  font-size: 2rem;
  line-height: 0.8;
  padding: 0.5rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.bundle-close-btn:hover {
  color: hsl(var(--foreground));
}

.bundle-progress-bar {
  background: hsl(var(--border));
  height: 24px;
  position: relative;
  width: 100%;
}

.bundle-progress-fill {
  height: 100%;
  background: hsl(var(--primary));
  transition: width 300ms ease;
}

.bundle-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bundle-grid {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.bundle-item {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}

.bundle-item.is-selected {
  border-color: hsl(var(--primary));
  background: hsl(var(--card-hover));
}

.bundle-item-visual {
  height: 120px;
  background: hsl(var(--muted));
  position: relative;
}

.bundle-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.bundle-item-qty {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: hsl(var(--primary));
  color: #fff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: bump 0.2s ease;
}

.bundle-item-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.bundle-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.bundle-controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bundle-item-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bundle-item-btn:hover:not(:disabled) {
  background: hsl(var(--border-strong));
}

.bundle-item-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bundle-modal__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: hsl(var(--card));
}

.bundle-total-status {
  font-weight: 600;
  font-size: 0.95rem;
}

.bundle-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}

@media (max-width: 600px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 0.75rem;
  }

  .bundle-item-visual {
    height: 100px;
  }

  .bundle-modal__header {
    padding: 1rem;
  }


  .bundle-modal__footer {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}


/* === Complex Bundle Steps === */

.bundle-steps-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.bundle-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bundle-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--foreground));
  margin: 0;
}

.step-num {
  background: hsl(var(--muted));
  color: hsl(var(--foreground-muted));
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.bundle-step-title.step-complete .step-num {
  background: hsl(var(--primary));
  color: #fff;
}

/* Fixed List */
.bundle-fixed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bundle-fixed-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: hsl(var(--foreground-secondary));
  background: hsl(var(--muted));
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.fixed-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

/* Radio Group (Single Choice) */
.bundle-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bundle-radio-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bundle-radio-option:hover {
  background: hsl(var(--card-hover));
}

.bundle-radio-option:has(input:checked) {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary-soft));
}

.bundle-radio-option input {
  display: none;
}

.radio-check {
  width: 20px;
  height: 20px;
  border: 2px solid hsl(var(--border-strong));
  border-radius: 50%;
  position: relative;
}

.bundle-radio-option input:checked~.radio-check {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  box-shadow: inset 0 0 0 3px #fff;
}

/* Compact Grid for Multiple Choice */
.bundle-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  padding: 0;
}

.bundle-counter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  transition: border-color 0.2s;
}

.bundle-counter-row.has-qty {
  border-color: hsl(var(--primary));
  background: hsl(var(--card-hover));
}

.bundle-row-visual {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
  overflow: hidden;
  flex-shrink: 0;
}

.bundle-mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-mini-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: hsl(var(--foreground-muted));
  background: #f7f2ed;
}

.bundle-row-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
}

.bundle-row-qty {
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
}

.bundle-step-status {
  font-size: 0.9rem;
  color: hsl(var(--foreground-muted));
  margin-bottom: 0.5rem;
}

/* === Edge-to-Edge Menu Card Design === */

/* 1. The Card Container */
.menu-card {
  background: white;
  border-radius: 16px;
  /* Softer, modern corners */
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* Very subtle border */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* Soft lift */
  overflow: hidden;
  /* Ensures image respects rounded corners */
  display: flex;
  flex-direction: column;
  padding: 0;
  /* CRITICAL: Remove padding so image touches edges */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  /* Ensure uniform height in grid */
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 2. The Image Area - "Mostly Image" */
.menu-card__header {
  position: relative;
  width: 100%;
  height: 240px;
  /* Taller height for that "delicious" look */
  background: #f5f5f5;
  flex-shrink: 0;
}

.menu-card__image {
  width: 100%;
  height: 100%;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures image fills space without stretching */
  transition: transform 0.5s ease;
}

/* Zoom effect on hover */
.menu-card:hover .menu-card__image img {
  transform: scale(1.05);
}

/* 1. Placeholder Container for Text-Only Cards */
.menu-card__image--placeholder {
  background-color: #f7f2ed;
  /* Warm, very light beige */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  height: 100%;
  /* Fill header */
  width: 100%;
}

.menu-card__image--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e6dccd 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.menu-card__image--placeholder i {
  width: 64px;
  height: 64px;
  color: hsl(var(--primary));
  opacity: 0.8;
  position: relative;
  stroke-width: 1.5px;
  transform: rotate(-10deg);
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card__image--placeholder i {
  transform: rotate(0deg) scale(1.1);
  color: hsl(var(--primary-dark));
}

/* 3. The Content Area */
.menu-card__body {
  padding: 1.25rem;
  /* Padding moves inside here */
  display: flex;
  flex-direction: column;
  flex: 1;
  /* Pushes footer to bottom */
  gap: 0.75rem;
}

/* 4. Title & Price Row */
.menu-card__top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.menu-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  /* Dark coffee text */
  margin: 0;
  line-height: 1.3;
}

.menu-card__price {
  background-color: #fef3c7;
  /* Subtle yellow/cream tag */
  color: #92400e;
  /* Dark amber text */
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* 5. Description */
.menu-card__copy {
  font-size: 0.9rem;
  color: hsl(var(--foreground-secondary));
  /* Softer gray */
  line-height: 1.5;
  margin-bottom: auto;
  /* Pushes actions to the bottom */
}

/* 6. Inputs & Actions */
.menu-card__actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Pretty Dropdown */
.menu-card select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background-color: hsl(var(--card-hover));
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  color: hsl(var(--foreground));
}

/* 7. Solid Button */
.btn.full-width {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px;
  font-size: 1rem;
  background-color: hsl(var(--primary));
  /* Terracotta */
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn.full-width:hover {
  background-color: hsl(var(--primary-dark));
}

.btn.full-width:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

/* 8. Sold Out Badge */
.badge-sold-out {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  backdrop-filter: blur(4px);
}

/* === Bundle Modal Overlay (User Provided) === */
.bundle-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.bundle-modal {
  background: white;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.bundle-header {
  padding: 1.25rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  background: #fffbf7;
}

.bundle-body {
  padding: 1.25rem;
  overflow-y: auto;
}

.bundle-step {
  margin-bottom: 2rem;
}

.bundle-step h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  color: hsl(var(--primary));
}

.bundle-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  font-weight: 700;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eee;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Skeleton Loader Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-card {
  background: #f0eadd;
  /* Warm gray base */
  border-radius: 16px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary));
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.review-card {
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.review-stars {
  color: #f59e0b;
  /* Amber 500 */
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 700;
  color: hsl(var(--foreground-secondary));
  text-align: right;
  font-size: 0.9rem;
}

/* Placeholder Container - Warm & Branded */
.menu-card__image--placeholder {
  background-color: hsl(35, 30%, 96%);
  /* Very light warm cream */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Subtle Background Pattern (Optional texture) */
.menu-card__image--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(hsl(35, 20%, 90%) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
}

/* The Hero Icon */
.menu-card__image--placeholder i {
  width: 4rem;
  /* Much larger size */
  height: 4rem;
  color: hsl(var(--primary));
  /* Terracotta */
  stroke-width: 1.5px;
  /* Fine lines look more elegant */
  opacity: 0.85;
  transform: rotate(-5deg);
  /* Playful tilt */
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2;
}

/* Hover Effect */
.menu-card:hover .menu-card__image--placeholder i {
  transform: rotate(0deg) scale(1.1);
  color: hsl(var(--primary-dark));
}

/* --- ORDER SIDEBAR (Standardized) --- */
.order-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--cart-width);
  background: white;
  border-left: 1px solid hsl(var(--border));
  z-index: 100;

  /* Start off-screen */
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05);
}

body.order-open .order-sidebar {
  transform: translateX(0);
}

/* === PRO CHECKOUT DESIGN === */

/* 1. The Input Cards (Details & Notes) */
.order-page__notes {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  /* Space between cards */
}

.order-page__heading {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  /* Brand color for headers */
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

/* 2. Better Inputs */
.form-input {
  background: #fcfcfc;
  border: 1px solid #e5e5e5;
  transition: all 0.2s;
  font-size: 1rem;
  /* Prevent zoom on mobile */
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
}

.form-input:focus {
  background: white;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1);
  outline: none;
}

/* 3. The "Receipt" Summary Panel */
.order-page__summary {
  background: #fffbf7;
  /* Warm tint, like receipt paper */
  border: 2px dashed #e6dccd;
  /* Dashed border like a coupon/receipt */
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: hsl(var(--foreground-secondary));
}

.order-summary__row--total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid hsl(var(--foreground));
  /* Solid divider */
  color: hsl(var(--foreground));
  font-size: 1.4rem;
  /* Big total */
  font-weight: 800;
}

/* 4. The "Pay" Button */
.order-page__submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.1rem;
  background: hsl(var(--primary));
  color: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px -5px hsl(var(--primary) / 0.4);
  transition: transform 0.2s;
}

.order-page__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px hsl(var(--primary) / 0.5);
}

/* === BUNDLE BUILDER MODAL === */

/* 1. The Backdrop */
.bundle-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;

  /* Animation */
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* 2. The Modal Card */
.bundle-modal {
  background: hsl(40, 30%, 98%);
  /* Warm white */
  width: 100%;
  max-width: 500px;
  max-height: 85dvh;
  border-radius: 20px;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  /* Subtle border */
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Animation */
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* 3. Header */
.bundle-header {
  padding: 1.25rem 1.5rem;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.bundle-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.bundle-header button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bundle-header button:hover {
  background: #e0e0e0;
  color: #333;
}

/* 4. Body Content */
.bundle-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 5. Steps */
.bundle-step h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground-muted));
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.step-progress {
  color: hsl(var(--primary));
  font-weight: 700;
}

/* 6. Counters & Options */
.bundle-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bundle-counter-row:last-child {
  border-bottom: none;
}

.qty-control {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 99px;
  padding: 2px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  font-weight: bold;
  color: hsl(var(--primary));
}

.qty-control button:hover {
  background: #f5f5f5;
}

.qty-control input {
  width: 32px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  pointer-events: none;
  /* Read only */
}

/* Fixed Option */
.bundle-fixed-item {
  background: #f0fdf4;
  color: #166534;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid #dcfce7;
}

/* Radio Option */
.bundle-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  cursor: pointer;
}

.bundle-option input[type="radio"] {
  accent-color: hsl(var(--primary));
  width: 1.1rem;
  height: 1.1rem;
}

/* 7. Footer */
.bundle-footer {
  padding: 1rem 1.5rem;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}