/* =====================================================================
   THE PLOUGH & HARROW — Restaurant Website Stylesheet
   ---------------------------------------------------------------------
   TABLE OF CONTENTS
   01. CSS Variables & Theme (light / dark)
   02. Base & Reset
   03. Reusable Utilities (container, buttons, grid, section head)
   04. Preloader
   05. Header & Sticky Navigation
   06. Hero Section (carousel)
   07. Featured Dishes & Menu Grid (food cards)
   08. About Section
   09. Special Offers & Countdown
   10. Testimonials Slider
   11. Contact Section & Forms
   12. Footer
   13. Cart Drawer, Modal & Toasts
   14. Back-to-top & Animations
   15. Responsive Media Queries
   16. Table Booking Section
   17. Checkout Steps (details -> card payment -> confirmation)
   18. Nav Safeguard (8-link header)
   ===================================================================== */


/* =====================================================================
   01. CSS VARIABLES & THEME
   ===================================================================== */
:root {
  /* Brand colours — warm, appetising food palette */
  --orange: #ff7a18;
  --orange-dark: #e85d04;
  --red: #e63946;
  --red-dark: #c1121f;
  --yellow: #ffb703;
  --yellow-soft: #ffd166;
  --green: #2a9d8f;

  /* Signature gradient used on headings and CTA buttons */
  --gradient: linear-gradient(135deg, #ff9f1c 0%, #ff7a18 45%, #e63946 100%);
  --gradient-soft: linear-gradient(135deg, #ffb703, #ff7a18);

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-soft: #fff7f0;
  --bg-alt: #fff1e6;
  --card: #ffffff;
  --text: #241a14;
  --heading: #1a110c;
  --muted: #7a695c;
  --border: rgba(36, 26, 20, 0.09);
  --shadow-sm: 0 4px 14px rgba(36, 26, 20, 0.07);
  --shadow: 0 14px 40px rgba(36, 26, 20, 0.12);
  --shadow-lg: 0 26px 60px rgba(36, 26, 20, 0.18);

  /* Layout tokens — the container, gutters and vertical rhythm are fluid,
     so the layout scales smoothly on every screen width instead of
     snapping between fixed sizes. */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --header-h: clamp(62px, 7.6vw, 76px);     /* shrinks on small screens */
  --gutter: clamp(15px, 4.2vw, 28px);       /* side padding of .container */
  --section-y: clamp(54px, 7vw, 96px);      /* vertical padding of .section */
  --card-gap: clamp(16px, 2.2vw, 26px);     /* gap inside .grid */

  --transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Dark theme overrides ---------- */
html[data-theme="dark"] {
  --bg: #14100d;
  --bg-soft: #1b1512;
  --bg-alt: #221a16;
  --card: #1f1815;
  --text: #f4ece4;
  --heading: #fff8f2;
  --muted: #b8a698;
  --border: rgba(255, 255, 255, 0.11);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.6);
}


/* =====================================================================
   02. BASE & RESET
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* Smooth scrolling for all in-page navigation links */
  scroll-behavior: smooth;
  /* Offset anchor targets so the sticky header never covers a heading */
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;           /* never allow sideways scrolling */
  overflow-wrap: break-word;    /* long words never break the layout */
  -webkit-text-size-adjust: 100%;
  transition: background-color var(--transition), color var(--transition);
}

/* Prevent scrolling while the cart drawer or modal is open */
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--heading);
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Consistent, on-brand focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Custom scrollbar (pretty on desktop) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-soft);
  border-radius: 20px;
  border: 3px solid var(--bg-soft);
}

/* SVG icons inherit colour and use stroke by default */
svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* =====================================================================
   03. REUSABLE UTILITIES
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: min(620px, 100%);
  margin: 0 auto 52px;
}

/* Small eyebrow label above section titles */
.section-tag {
  display: inline-block;
  font-size: clamp(0.7rem, 0.6vw + 0.5rem, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  max-width: 100%;
}

.section-title {
  /* Fluid heading: never too small on phones, never oversized on desktops */
  font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.85rem);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  font-size: clamp(0.92rem, 0.25vw + 0.87rem, 1rem);
}

/* Gradient text helper */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.18vw + 0.8rem, 0.95rem);
  padding: clamp(11px, 1.1vw, 13px) clamp(19px, 2vw, 26px);
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  min-height: 44px;              /* comfortable touch target on phones */
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition),
              border-color var(--transition);
}

.btn-sm { padding: 9px 18px; font-size: 0.85rem; min-height: 44px; }
.btn-lg {
  padding: clamp(13px, 1.4vw, 16px) clamp(23px, 2.6vw, 34px);
  font-size: clamp(0.9rem, 0.2vw + 0.83rem, 1rem);
}
.btn-block { width: 100%; }

/* Primary gradient CTA */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.28);
  background-size: 160% 160%;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(230, 57, 70, 0.4);
  background-position: 100% 0;
}

/* Ghost button (transparent over hero image) */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--red-dark); transform: translateY(-3px); }

/* Solid light button */
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Outline button */
.btn-outline { border-color: var(--orange); color: var(--orange-dark); }
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* Plain text button */
.btn-text { color: var(--muted); padding: 10px; font-size: 0.88rem; }
.btn-text:hover { color: var(--red); }

/* Disabled state */
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- Layout grids ---------- */
.grid { display: grid; gap: var(--card-gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }


/* =====================================================================
   04. PRELOADER
   ===================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--gradient);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; color: #fff; }

.preloader-logo {
  animation: plate-spin 1.6s infinite ease-in-out;
  display: inline-block;
}
.preloader-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;      /* show the whole logo without cropping or stretching */
  display: block;
  margin-inline: auto;      /* centre the logo horizontally */
  max-width: 100%;
}

.preloader-title {
  color: #fff;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  margin: 6px 0 18px;
}
.preloader-title span { font-weight: 400; opacity: 0.85; }

.preloader-bar {
  width: 190px;
  height: 5px;
  margin-inline: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 20px;
  background: #fff;
  animation: bar-slide 1.1s infinite ease-in-out;
}

@keyframes plate-spin {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(12deg) scale(1.12); }
}
@keyframes bar-slide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}


/* =====================================================================
   05. HEADER & STICKY NAVIGATION
   ===================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition),
              border-color var(--transition), padding var(--transition);
}

/* Class added by JS once the page is scrolled */
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  box-shadow: 0 8px 30px rgba(36, 26, 20, 0.1);
  border-bottom-color: var(--border);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 20px);
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-icon { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav links ---------- */
.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: block;
  padding: 9px clamp(8px, 1vw, 14px);
  font-size: clamp(0.84rem, 0.2vw + 0.78rem, 0.93rem);
  font-weight: 500;
  color: var(--muted);
  border-radius: 50px;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: var(--gradient);
  transform: translateX(-50%);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--heading); }
.nav-link:hover::after,
.nav-link.active::after { width: 46%; }

/* ---------- Nav actions ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 44px);
  height: clamp(40px, 4.4vw, 44px);
  border-radius: 50%;
  color: var(--heading);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--gradient); color: #fff; transform: translateY(-2px); }

/* Theme toggle: show the correct icon for the active theme */
.theme-toggle .ico-sun,
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }

/* Cart button + badge */
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  transition: transform var(--transition);
}
.cart-count.bump { animation: bump 0.45s ease; }
@keyframes bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Hamburger (mobile only) */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =====================================================================
   06. HERO SECTION
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;   /* true visible height on mobile browsers */
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  color: #fff;
}

/* Rotating background slides (with a warm gradient fallback) */
.hero-slides {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a1c0f, #7a2e12 55%, #b3441a);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }

/* Warm dark gradient so text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 10, 5, 0.9) 8%, rgba(20, 10, 5, 0.55) 45%, rgba(20, 10, 5, 0.25) 100%),
    linear-gradient(to top, rgba(20, 10, 5, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
  padding-block: clamp(36px, 5vw, 60px) clamp(72px, 8vw, 80px);
}

.hero-badge {
  display: inline-block;
  font-size: clamp(0.74rem, 0.2vw + 0.68rem, 0.82rem);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
  max-width: 100%;
}

.hero-title {
  color: #fff;
  font-size: clamp(2rem, 1.05rem + 3.1vw, 4.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-text {
  font-size: clamp(0.95rem, 0.25vw + 0.88rem, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vw, 14px);
  margin-bottom: clamp(32px, 4vw, 46px);
}

/* Trust stats row */
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem);
  color: #fff;
}
.hero-stats span { font-size: clamp(0.74rem, 0.2vw + 0.68rem, 0.82rem); color: rgba(255, 255, 255, 0.7); }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all var(--transition);
}
.hero-dots button.active { width: 34px; border-radius: 20px; background: var(--gradient); }


/* =====================================================================
   07. FEATURED DISHES & MENU GRID — food cards
   ===================================================================== */
.featured { background: var(--bg); }

.menu { background: var(--bg-soft); }

/* ---------- Menu toolbar (search + filters) ---------- */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 18px);
  margin-bottom: 22px;
}

/* Search box */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 6px 4px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.14); }
.search-box svg { color: var(--muted); width: 19px; height: 19px; }
.search-box input {
  flex: 1;
  min-width: 0;          /* lets the input shrink inside the pill */
  border: none;
  background: none;
  outline: none;
  padding: 11px 0;
  font-size: 0.92rem;
}
/* Hide the browser's native search clear icon (we use our own button) */
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  background: var(--bg-alt);
}
.search-clear:hover { background: var(--red); color: #fff; }

/* Category filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--orange-dark); border-color: var(--orange); transform: translateY(-2px); }
.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.28);
}

.menu-result { font-size: 0.86rem; color: var(--muted); margin-bottom: 24px; }
.menu-result strong { color: var(--heading); }

/* ---------- Food card ---------- */
.food-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  /* Entrance animation, staggered with a CSS variable set by JS */
  animation: card-in 0.5s ease backwards;
  animation-delay: var(--delay, 0s);
}
.food-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--orange) 45%, transparent);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card image */
.food-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.food-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.food-card:hover .food-media img { transform: scale(1.09) rotate(1deg); }

/* Ribbon on top-left of image (Popular / New / discount) */
.food-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}
.food-ribbon.veg { background: linear-gradient(135deg, #43aa8b, #2a9d8f); }

/* Star rating chip on top-right */
.food-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--heading);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.food-rating .star { color: var(--yellow); font-size: 0.85rem; }

/* Card body */
.food-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(15px, 1.6vw, 20px) clamp(15px, 1.6vw, 20px) clamp(17px, 1.8vw, 22px);
}
.food-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 6px;
}
.food-name {
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.12rem);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.food-card:hover .food-name { color: var(--orange-dark); }
.food-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
  /* Clamp long descriptions to two lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price + add-to-cart row */
.food-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.food-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.food-price .now {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.34rem);
  font-weight: 700;
  color: var(--red);
}
.food-price .was { font-size: 0.84rem; color: var(--muted); text-decoration: line-through; }

/* Circular "add to cart" button */
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  min-height: 44px;              /* comfortable touch target on phones */
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 18px rgba(230, 57, 70, 0.26);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 24px rgba(230, 57, 70, 0.4); }
.add-btn:active { transform: scale(0.95); }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-emoji { font-size: 3.4rem; margin-bottom: 10px; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }


/* =====================================================================
   08. ABOUT SECTION
   ===================================================================== */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}

/* Image collage */
.about-media { position: relative; padding-bottom: 40px; }
.about-img-1,
.about-img-2 {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-img-1 { width: 84%; height: clamp(290px, 34vw, 440px); }
.about-img-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: clamp(150px, 18vw, 240px);
  border: 6px solid var(--bg);
}
.about-badge {
  position: absolute;
  left: 4px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 22px);
  border-radius: var(--radius);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.about-badge strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  line-height: 1;
}
.about-badge span { font-size: 0.78rem; line-height: 1.35; }

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

/* Text side */
.about-content p { color: var(--muted); margin-bottom: 16px; }
.about-content .section-title { margin: 12px 0 18px; }

.about-list { margin: 24px 0 28px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; }
.about-list .check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, #43aa8b, #2a9d8f);
  flex-shrink: 0;
}

/* Chef signature card */
.chef-card {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 5px solid var(--orange);
}
.chef-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  flex-shrink: 0;
}
.chef-card strong { display: block; font-size: 1rem; color: var(--heading); }
.chef-card span { font-size: 0.82rem; color: var(--muted); }
.chef-quote {
  margin-left: auto;
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: var(--orange-dark) !important;
  font-size: 0.95rem !important;
}


/* =====================================================================
   09. SPECIAL OFFERS & COUNTDOWN
   ===================================================================== */
.offers {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 183, 3, 0.16), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(230, 57, 70, 0.16), transparent 42%),
    var(--bg-soft);
}

/* Countdown banner */
.countdown-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(18px, 2.6vw, 26px);
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3.4vw, 40px);
  margin-bottom: 46px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  background-size: 180% 180%;
  animation: gradient-shift 9s ease infinite;
  color: #fff;
  box-shadow: 0 22px 50px rgba(230, 57, 70, 0.32);
  position: relative;
  overflow: hidden;
}
/* Decorative soft circles */
.countdown-banner::before,
.countdown-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.countdown-banner::before { width: 220px; height: 220px; top: -90px; right: -60px; }
.countdown-banner::after { width: 150px; height: 150px; bottom: -80px; left: 20%; }

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.countdown-text { position: relative; z-index: 1; }
.countdown-text h3 { color: #fff; font-size: clamp(1.2rem, 2.6vw, 1.75rem); margin-bottom: 4px; }
.countdown-text p { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 12px);
  position: relative;
  z-index: 1;
}
.count-unit {
  min-width: clamp(50px, 15vw, 74px);
  padding: clamp(8px, 1.2vw, 12px) clamp(5px, 1vw, 8px);
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.count-unit span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.count-unit small {
  font-size: clamp(0.6rem, 0.15vw + 0.56rem, 0.68rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.countdown-banner .btn-light { position: relative; z-index: 1; }

/* Offer cards */
.offer-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.offer-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* Coloured top strip per offer */
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--gradient);
}
.offer-2::before { background: linear-gradient(135deg, #2a9d8f, #43aa8b); }
.offer-3::before { background: linear-gradient(135deg, #6a4c93, #b5179e); }

.offer-percent {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
}
.offer-2 .offer-percent { background: linear-gradient(135deg, #2a9d8f, #43aa8b); }
.offer-3 .offer-percent { background: linear-gradient(135deg, #6a4c93, #b5179e); }

.offer-card h3 { font-size: 1.3rem; margin: 18px 0 10px; max-width: 80%; }
.offer-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

.offer-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.offer-price .old { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.offer-price .new {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
}


/* =====================================================================
   10. TESTIMONIALS SLIDER
   ===================================================================== */
.testimonials { background: var(--bg); }

.review-slider { display: flex; align-items: center; gap: 16px; }

.slider-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--heading);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.slider-arrow:hover { background: var(--gradient); color: #fff; transform: scale(1.08); }

/* Viewport that hides overflowing slides */
.review-track {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 18px;
  scrollbar-width: none;          /* Firefox */
}
.review-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 clamp(260px, 42%, 420px);
  scroll-snap-align: center;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.review-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 0.94rem; color: var(--muted); margin-bottom: 22px; font-style: italic; }

.review-author { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--heading); }
.review-author span { font-size: 0.79rem; color: var(--muted); }

/* Dots under the slider */
.review-dots { display: flex; justify-content: center; gap: 9px; margin-top: 6px; }
.review-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}
.review-dots button.active { width: 28px; border-radius: 20px; background: var(--gradient); }


/* =====================================================================
   11. CONTACT SECTION & FORMS
   ===================================================================== */
.contact { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

/* ---------- Left: info cards ---------- */
.contact-info { display: grid; gap: clamp(12px, 1.6vw, 16px); }

.info-card {
  display: flex;
  gap: clamp(12px, 1.6vw, 16px);
  padding: clamp(15px, 1.8vw, 20px) clamp(16px, 2vw, 22px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.25rem;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.info-card h4 { font-size: 1rem; margin-bottom: 3px; font-family: "Poppins", sans-serif; font-weight: 600; }
.info-card p { font-size: 0.88rem; color: var(--muted); }
.info-card a:hover { color: var(--orange-dark); }

.map-placeholder {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 34px 20px;
  border-radius: var(--radius);
  text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--bg-alt) 0 14px, transparent 14px 28px),
    var(--card);
  border: 2px dashed var(--border);
  color: var(--muted);
}
.map-placeholder span { font-size: 2rem; }
.map-placeholder p { font-size: 0.86rem; font-weight: 500; }

/* --- Overflow guard: long unbreakable strings -------------------------
   These grids use implicit `auto` columns, which size to the widest
   min-content. A long token such as the email address ("contact@the…
   .co.uk") would then push the card wider than the container and force
   horizontal page scrolling on small phones. Pin the column to
   minmax(0, 1fr) (so it may shrink) and let long words break properly. */
.contact-info,
.booking-info { grid-template-columns: minmax(0, 1fr); }

.info-card > div { min-width: 0; }          /* flex text column may shrink */
.info-card p,
.info-card a {
  overflow-wrap: anywhere;                  /* lets the grid column shrink */
  word-break: break-word;                   /* fallback for older iOS Safari */
}

/* ---------- Right: form ---------- */
.contact-form,
.modal-box {
  padding: clamp(20px, 2.8vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: clamp(11px, 1.2vw, 13px) clamp(13px, 1.4vw, 16px);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 1.6px solid var(--border);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.14);
}

/* Invalid field (added by JS validation) */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

/* Inline error message */
.error-msg {
  min-height: 17px;
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--red);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
}
.error-msg.show { opacity: 1; transform: translateY(0); }

/* Radio pills inside the checkout modal */
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 0.87rem;
  font-weight: 500;
  border: 1.6px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}
.radio-pill:hover { border-color: var(--orange); }
.radio-pill:has(input:checked) {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}
.radio-pill input { accent-color: var(--red); }


/* =====================================================================
   12. FOOTER
   ===================================================================== */
.footer {
  background: #17110d;
  color: #cdbfb4;
  padding-top: 70px;
}
html[data-theme="dark"] .footer { background: #100c0a; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(26px, 3.4vw, 40px);
  padding-bottom: 50px;
}

.footer .logo-text { color: #fff; }
.footer-brand p { font-size: 0.89rem; margin: 16px 0 20px; max-width: 300px; }

/* Social buttons */
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #e8ded6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}
.socials a:hover { background: var(--gradient); color: #fff; transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; }

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.89rem; }
.footer-col a:hover { color: var(--yellow); padding-left: 4px; }

/* Opening hours rows */
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.87rem;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.hours li span:last-child { color: var(--yellow-soft); }

.footer-address { margin-top: 16px; font-size: 0.87rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px;
  text-align: center;
  font-size: 0.83rem;
  color: #9b8d83;
}


/* =====================================================================
   13. CART DRAWER, MODAL & TOASTS
   ===================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(20, 10, 5, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Cart sidebar ---------- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;               /* correct height on mobile browsers */
  max-width: 100%;              /* 100vw would add the scrollbar width */
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(20, 10, 5, 0.28);
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); display: flex; align-items: center; gap: 10px; }
.cart-head-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  color: #fff;
  background: var(--gradient);
}
.cart-close { font-size: 1.6rem; line-height: 1; }

/* Scrollable item list */
.cart-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;   /* don't scroll the page behind the drawer */
  padding: clamp(12px, 1.8vw, 18px) clamp(16px, 2.2vw, 24px);
}

/* Single cart row */
.cart-item {
  display: grid;
  grid-template-columns: clamp(54px, 17vw, 68px) minmax(0, 1fr) auto;
  gap: clamp(10px, 1.6vw, 14px);
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  animation: card-in 0.35s ease backwards;
}
.cart-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}
.cart-item-name { font-size: 0.93rem; font-weight: 600; color: var(--heading); margin-bottom: 3px; }
.cart-item-price { font-size: 0.85rem; color: var(--muted); }

/* Quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg-alt);
}
.qty button {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  transition: background var(--transition), color var(--transition);
}
.qty button:hover { background: var(--gradient); color: #fff; }
.qty span { min-width: 30px; text-align: center; font-size: 0.88rem; font-weight: 600; }

/* Right-hand side of the row */
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-total { font-weight: 700; font-size: 0.95rem; color: var(--red); }
.remove-btn {
  padding: 7px 4px;
  font-size: 0.75rem;
  color: var(--muted);
  transition: color var(--transition);
}
.remove-btn:hover { color: var(--red); text-decoration: underline; }

/* Empty cart */
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty .cart-empty-emoji { font-size: 3rem; margin-bottom: 10px; }
.cart-empty h4 { font-size: 1.2rem; margin-bottom: 6px; }
.cart-empty p { font-size: 0.88rem; margin-bottom: 18px; }

/* Cart footer summary */
.cart-foot {
  padding: clamp(15px, 2vw, 20px) clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 9px;
}
.cart-line-total {
  padding-top: 12px;
  margin-top: 6px;
  margin-bottom: 14px;
  border-top: 1px dashed var(--border);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--heading);
}
.cart-line-total span:last-child { color: var(--red); }
.cart-note { font-size: 0.79rem; color: var(--orange-dark); margin-bottom: 14px; text-align: center; }

/* ---------- Checkout modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 20px);
  background: rgba(20, 10, 5, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.show { opacity: 1; visibility: visible; }

.modal-box {
  width: min(560px, 100%);
  max-height: 88vh;
  max-height: 88dvh;            /* keeps the buttons reachable on phones */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(24px) scale(0.97);
  transition: transform var(--transition);
}
.modal.show .modal-box { transform: translateY(0) scale(1); }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-head h3 { font-size: 1.45rem; }
.modal-close { font-size: 1.6rem; line-height: 1; }

/* Order summary block inside the modal */
.modal-summary {
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.modal-summary h4 { font-size: 0.95rem; margin-bottom: 10px; font-family: "Poppins", sans-serif; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding: 3px 0; }
.summary-row.summary-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-weight: 700;
  color: var(--heading);
}
.summary-row.summary-total span:last-child { color: var(--red); }

.modal-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* ---------- Toast notifications ---------- */
.toast-container {
  position: fixed;
  top: 92px;
  right: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(260px, calc(100vw - 44px));
  max-width: min(340px, calc(100vw - 44px));   /* never runs off narrow phones */
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 500;
  pointer-events: auto;
  animation: toast-in 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.toast.hide { animation: toast-out 0.35s ease forwards; }
.toast-icon { font-size: 1.2rem; }
.toast.error { border-left-color: var(--red); }
.toast.info { border-left-color: var(--orange); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(110%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(110%); }
}


/* =====================================================================
   14. BACK-TO-TOP & SCROLL REVEAL ANIMATIONS
   ===================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 12px 26px rgba(230, 57, 70, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.06); }

/* Elements fade/slide in when they enter the viewport (JS adds .reveal,
   then .visible). Only the *hidden* state sets a transform so that hover
   effects on the same element keep working once it is revealed. */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal:not(.visible) {
  opacity: 0;
  transform: translateY(34px);
}


/* =====================================================================
   15. RESPONSIVE MEDIA QUERIES
   ---------------------------------------------------------------------
   The layout is fluid first (clamp() tokens handle the smooth scaling),
   these breakpoints only adjust *structure* where the flex/grid layout
   genuinely needs to change shape.

   Breakpoint ladder:
     ≥1600px ... large desktop      (wider container)
     ≤1080px ... small laptop       (4 → 3 columns)
     ≤1024px ... tablet portrait    (nav collapses into a hamburger)
     ≤900px  ... tablet             (2 columns, side-by-side blocks stack)
     ≤768px  ... large phone        (single column forms, taller cards)
     ≤640px  ... phone              (everything single column)
     ≤480px  ... small phone
     ≤380px  ... very small phone
   ===================================================================== */

/* ---- Large desktop: use the extra room ---- */
@media (min-width: 1600px) {
  :root { --container: 1340px; }
  .section { padding-block: 104px; }
  .hero-content { max-width: 760px; }
  .hero-text { max-width: 600px; }
}

/* ---- Small laptop / large tablet landscape ---- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Tablet portrait: collapse the navigation ---- */
@media (max-width: 1024px) {
  /* Off-canvas mobile navigation */
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    /* Hidden panels must not be keyboard-focusable */
    visibility: hidden;
    transform: translateY(-140%);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.4s;
  }
  .nav-menu.open { visibility: visible; transform: translateY(0); }

  .nav-link { padding: 13px 16px; border-radius: 12px; font-size: 0.95rem; }
  .nav-link::after { display: none; }
  .nav-link.active,
  .nav-link:hover { background: var(--bg-alt); color: var(--orange-dark); }

  .hamburger { display: flex; }
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Side-by-side blocks stack vertically */
  .about-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 600px; width: 100%; margin-inline: auto; }
  .about-img-1 { width: 78%; }
  .about-img-2 { width: 46%; }

  .countdown-banner { justify-content: center; text-align: center; }
  .countdown-banner .btn-light { flex: 0 0 auto; }

  .review-card { flex: 0 0 clamp(250px, 58%, 420px); }
}

/* ---- Large phones ---- */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }

  /* Reviews: portrait-friendly visits */
  .review-card { flex: 0 0 78%; padding: clamp(20px, 3vw, 30px); }

  .about-img-1 { width: 72%; }
  .about-img-2 { width: 42%; }

  .map-placeholder { padding: 26px 16px; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }

  /* ---- Hero ---- */
  .hero-buttons .btn { flex: 1 1 46%; }
  .hero-dots { bottom: 20px; }

  /* ---- Menu toolbar stacks, filters become a swipeable row ---- */
  /* flex-wrap: nowrap is required once the toolbar is a column: with the
     base `wrap`, the container is multi-line and its line cross-size is the
     widest item's max-content width, so `align-items: stretch` stretched the
     pills row to ~1800px and pushed the whole page sideways. */
  .menu-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  /* The toolbar is now a column, so the base `flex: 1 1 240px` would set the
     pill's *height* to 240px. Reset the basis and pin a compact height so the
     field is identical before, during and after typing (and while the
     keyboard is open). */
  .search-box {
    max-width: none;
    width: 100%;
    flex: 0 0 auto;
    height: 46px;
    padding-block: 0;          /* centre the icon + input instead of padding */
  }
  .search-box input { padding-block: 0; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* min-width: 0 is essential here: without it the flex item keeps its
       automatic minimum size (= the summed width of all nowrap pills),
       which overrides the parent's `align-items: stretch` and makes the
       row itself ~1800px wide — dragging the whole page sideways. */
    min-width: 0;
    padding-bottom: 6px;
    margin-inline: calc(var(--gutter) * -1);   /* bleed to the screen edges */
    padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  /* Taller photo on a full-width card */
  .food-media { aspect-ratio: 16 / 11; }
  .food-foot { justify-content: space-between; }

  /* ---- About ---- */
  .about-img-1 { width: 100%; height: clamp(240px, 62vw, 330px); }
  .about-img-2 { display: none; }                  /* keep the collage clean */
  .about-media { padding-bottom: 54px; }
  .about-badge { left: 50%; bottom: 12px; transform: translateX(-50%); animation: none; }
  .chef-quote { margin-left: 0; width: 100%; }

  /* ---- Offers ---- */
  .countdown-text { width: 100%; }

  /* ---- Reviews ---- */
  .slider-arrow { display: none; }
  .review-card { flex: 0 0 86%; }

  /* ---- Forms ---- */
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  /* ---- Cart + modal take the full width ---- */
  .cart-drawer { width: 100%; }

  /* ---- Toasts move to the bottom so they never cover the header ---- */
  .toast-container {
    top: auto;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    left: 14px;
    align-items: stretch;
  }
  .toast { min-width: 0; max-width: none; }

  .back-to-top {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
}

/* ---- Small phones (iPhone SE / Galaxy A series) ---- */
@media (max-width: 480px) {
  .section-head { margin-bottom: 34px; }
  .section-tag { letter-spacing: 0.12em; }

  /* Keep the eight-link header from crowding the action buttons */
  .logo-text { font-size: 1rem; }

  .hero-stats { gap: 18px 26px; }
  .hero-stats li { min-width: 96px; }

  .food-name { font-size: 1.02rem; }
  .add-btn { padding: 9px 15px; }

  .about-img-1 { height: clamp(210px, 66vw, 290px); }
  .chef-card { padding: 16px 18px; }

  .cart-item { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; }
  .cart-item-name { font-size: 0.88rem; }
  .qty button { width: 38px; height: 38px; }

  .modal-summary, .cart-line, .summary-row { font-size: 0.85rem; }

  .info-icon { width: 42px; height: 42px; }
}

/* ---- Very small phones (320–380px) ---- */
@media (max-width: 380px) {
  .logo-icon { display: none; }              /* give the header actions room */
  .nav-actions { gap: 6px; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { flex: 1 1 auto; width: 100%; }

  .count-unit { min-width: 46px; }
  .count-unit small { letter-spacing: 0.04em; }

  .btn-lg { padding-inline: 18px; }
  .btn { font-size: 0.83rem; }

  .food-rating { padding: 4px 9px; font-size: 0.72rem; }
  .food-ribbon { font-size: 0.64rem; padding: 5px 10px; }

  .review-card { flex: 0 0 92%; }

  .hours li { font-size: 0.82rem; }
}

/* ---- Touch devices: hovering styles would "stick" after a tap ---- */
@media (hover: none) {
  .food-card:hover,
  .offer-card:hover,
  .info-card:hover,
  .review-card:hover { transform: none; }

  .food-card:hover { box-shadow: var(--shadow-sm); }
  .food-card:hover .food-media img { transform: none; }
  .food-card:hover .food-name { color: var(--heading); }

  .btn-primary:hover,
  .btn-light:hover,
  .btn-outline:hover,
  .icon-btn:hover,
  .back-to-top:hover,
  .socials a:hover,
  .filter-btn:hover,
  .search-clear:hover { transform: none; }

  /* Keep the ghost button readable over the hero photo */
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

  /* iOS Safari zooms in when a field under 16px is focused */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .search-box input { font-size: 16px; }
}

/* ---- Short landscape screens: never trap content behind the fold ---- */
@media (orientation: landscape) and (max-height: 560px) {
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 26px) 46px; }
  .hero-content { padding-block: 10px; }
  .hero-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  /* Keep the paragraph (clamped) but drop the stats so the CTA stays visible */
  .hero-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
  }
  .hero-stats { display: none; }
  .hero-dots { bottom: 12px; }
  .section { padding-block: 44px; }
  .preloader-logo img { width: 84px; height: 84px; }
}

/* ---- Reduce motion for users who prefer it ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Print: hide interactive chrome ---- */
@media print {
  .header, .cart-drawer, .overlay, .toast-container,
  .back-to-top, .preloader, .modal { display: none !important; }
}


/* =====================================================================
   16. TABLE BOOKING SECTION
   ===================================================================== */
.booking { background: var(--bg-alt); }

.booking-info { display: grid; gap: clamp(12px, 1.6vw, 16px); align-content: start; }

/* Warm gradient promo card in the left column */
.booking-banner {
  display: grid;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--radius);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.booking-banner-emoji { font-size: 1.8rem; line-height: 1; }
.booking-banner h4 { font-size: 1.05rem; color: #fff; }
.booking-banner p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.92); }

/* Self-service cancellation card in the left column */
.booking-cancel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.booking-cancel h4 { font-size: 1.05rem; }
.booking-cancel > p { font-size: 0.88rem; color: var(--muted); margin-top: -6px; }
.booking-cancel .form-group { margin-bottom: 0; }
.booking-cancel .modal-note { margin: 0; min-height: 1.2em; color: var(--muted); }

/* Confirmation panel, revealed by script.js after a booking is saved */
.booking-confirm {
  display: none;
  gap: 6px;
  padding: clamp(18px, 2.2vw, 24px);
  margin-bottom: 22px;
  border-radius: var(--radius);
  text-align: center;
  background: color-mix(in srgb, var(--green) 12%, var(--card));
  border: 1.6px solid color-mix(in srgb, var(--green) 40%, transparent);
}
.booking-confirm.show { display: grid; }
.booking-confirm-emoji { font-size: 1.7rem; line-height: 1; }
.booking-confirm h4 { font-size: 1.05rem; }
.booking-confirm p { font-size: 0.86rem; color: var(--muted); }
.booking-confirm .booking-code {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Small hint next to a form label, e.g. "(for your receipt)" */
.label-note { font-weight: 400; color: var(--muted); }

/* Fields the selected flow does not need (e.g. address for pickup) */
.form-group.is-hidden { display: none; }


/* =====================================================================
   17. CHECKOUT STEPS (details -> card payment -> confirmation)
   ===================================================================== */
.checkout-fields[hidden],
.pay-step[hidden],
.order-success[hidden],
.booking-confirm[hidden] { display: none; }

/* Keep the built-in [hidden] working inside the checkout, where .form-group
   (flex) and .btn (inline-flex) would otherwise override it. */
#checkoutFields [hidden] { display: none; }

/* ---------- Card payment step ---------- */
.pay-step { display: grid; gap: 16px; }

.pay-amount { text-align: center; font-size: 0.85rem; color: var(--muted); }
.pay-amount strong {
  display: block;
  margin-top: 2px;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--heading);
}

/* Stripe renders its own bordered field, so this wrapper stays minimal. */
.payment-element {
  padding: 2px 0;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.6px solid var(--border);
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
}
.pay-hint { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.pay-error { text-align: center; }
.pay-secure { text-align: center; font-size: 0.78rem; color: var(--muted); }

/* ---------- Phone ordering (online ordering temporarily off) ---------- */
.phone-order { display: grid; gap: 14px; text-align: center; }
.phone-order[hidden] { display: none; }

.phone-order-total { font-size: 0.85rem; color: var(--muted); }
.phone-order-total strong {
  display: block;
  margin-top: 2px;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--heading);
}

.phone-order-msg { font-size: 0.92rem; font-weight: 600; color: var(--heading); }

.phone-call-btn { font-size: 1.05rem; }

.phone-order-number { font-size: 0.92rem; color: var(--muted); }
.phone-order-number a {
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.phone-order-number a:hover { text-decoration: underline; }

.phone-order-note {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* ---------- Confirmation step ---------- */
.order-success { display: grid; gap: 8px; text-align: center; }
.order-success .success-emoji { font-size: 2.4rem; line-height: 1; }
.order-success h4 { font-size: 1.15rem; }
.order-success p { font-size: 0.88rem; color: var(--muted); }
.order-success .order-code {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.order-success .btn { margin-top: 10px; }


/* =====================================================================
   18. NAV SAFEGUARD
   ---------------------------------------------------------------------
   The header now carries 8 links. Between the point where the desktop
   bar appears (1025px) and comfortable room (1200px) they are tightened
   so nothing can ever push the action buttons off screen.
   ===================================================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-link { padding-inline: 8px; font-size: 0.85rem; }
  .logo-text { font-size: 1.08rem; }
}


/* =====================================================================
   19. LIVE MENU ADDITIONS
   ---------------------------------------------------------------------
   Sticky category navigation, "From £x" pricing, sold-out states,
   the allergy notice, cart option lines and the product
   customisation modal. All reuse the existing brand variables.
   ===================================================================== */

/* ---------- Sticky category navigation ---------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  padding-block: 14px;
  background: var(--bg-soft);
}
.menu-toolbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--border);
  opacity: 0.6;
}

/* ---------- Out-of-stock food card ---------- */
.food-card.is-sold-out .food-media img { filter: grayscale(0.55); opacity: 0.7; }
.food-ribbon.sold-out { background: linear-gradient(135deg, #8a8f98, #4b5563); }
.add-btn.disabled {
  background: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.75;
}
.add-btn.disabled:hover { transform: none; }

/* ---------- Dish badges (spice / dietary) ---------- */
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.food-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 50px;
  color: var(--orange-dark);
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
}
.food-tag.spice { background: color-mix(in srgb, var(--red) 12%, transparent); border-color: color-mix(in srgb, var(--red) 28%, transparent); }

/* ---------- "From £x" price label ---------- */
.food-price .from {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Allergy notice ---------- */
.allergy-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 820px;
  margin: -6px 0 26px;
  padding: 13px 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
}
.allergy-notice .allergy-icon { line-height: 1.4; }

/* ---------- Cart option / note lines ---------- */
.cart-item-opts { font-size: 0.78rem; color: var(--orange-dark); margin-bottom: 2px; }
.cart-item-note { font-size: 0.76rem; color: var(--muted); font-style: italic; margin-bottom: 2px; }

/* ---------- Checkout summary option line ---------- */
.summary-opt { display: block; font-size: 0.75rem; color: var(--orange-dark); margin-top: 2px; }
.summary-allergy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Product customisation modal ---------- */
.product-modal-box { width: min(580px, 100%); }
.pm-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 4px;
}
.modal-head h3#pmName { font-size: 1.35rem; }

.pm-product { display: flex; gap: 14px; margin-bottom: 20px; }
.pm-product img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
}
.pm-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.55; align-self: center; min-width: 0; }

.pm-options-wrap { display: grid; gap: 16px; margin-bottom: 20px; }
.pm-group { border: none; padding: 0; margin: 0; }
.pm-group legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 10px;
  padding: 0;
}
.pm-group .req { color: var(--red); }
.pm-options { display: grid; gap: 8px; }
.pm-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.6px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.pm-option:hover { border-color: var(--orange); }
.pm-option:has(input:checked) {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 8%, transparent);
}
.pm-option input { accent-color: var(--red); width: 17px; height: 17px; }
.pm-option-name { flex: 1; font-size: 0.88rem; color: var(--heading); }
.pm-option-price { font-weight: 700; font-size: 0.9rem; color: var(--red); }
.pm-add { font-weight: 600; color: var(--muted); font-size: 0.82rem; }

.pm-foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.qty-lg { margin-top: 0; }
.qty-lg button { width: 38px; height: 40px; font-size: 1.15rem; }
.qty-lg span { min-width: 34px; font-size: 1rem; }
.pm-add-btn { flex: 1; }

/* Textareas (used by the product modal note) */
textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card);
  border: 1.6px solid var(--border);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.14);
}

@media (max-width: 560px) {
  .pm-product img { width: 72px; height: 72px; }
  .pm-foot { flex-wrap: wrap; }
  .pm-add-btn { flex-basis: 100%; }
}


/* =====================================================================
   20. MENU PAGE (menu.html) + HOME "VIEW FULL MENU" CTA
   ---------------------------------------------------------------------
   The full menu now lives on its own page. These styles cover its
   compact page hero, the trimmed spacing under it, and the call-to-action
   block on the home page that links across.
   ===================================================================== */

/* ---------- Compact page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--header-h) + clamp(40px, 6vw, 78px)) clamp(34px, 4.4vw, 56px);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #3a1c0f, #7a2e12 55%, #b3441a);
}
/* Soft decorative circles, matching the countdown banner */
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.page-hero::before { width: 320px; height: 320px; top: -150px; right: -90px; }
.page-hero::after { width: 230px; height: 230px; bottom: -140px; left: 6%; }
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--yellow-soft); }

.page-title {
  color: #fff;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  letter-spacing: -0.02em;
}
.page-sub {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: clamp(0.94rem, 0.3vw + 0.86rem, 1.06rem);
  color: rgba(255, 255, 255, 0.86);
}

/* The menu section sits directly under the hero, so trim the top gap
   while keeping enough room for the sticky toolbar to take hold. */
.page-hero + .menu { padding-top: clamp(22px, 3vw, 36px); }

/* ---------- "Reserve a table" nudge at the foot of the menu page ---------- */
.menu-reserve { padding-top: 0; }
.menu-reserve .countdown-banner { margin-bottom: 0; }

/* ---------- Home page: "View Full Menu" call to action ---------- */
.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 46px);
  text-align: center;
}
.section-cta-note {
  max-width: 520px;
  font-size: clamp(0.82rem, 0.2vw + 0.78rem, 0.92rem);
  color: var(--muted);
}

@media (max-width: 640px) {
  .page-hero { padding-block: calc(var(--header-h) + 28px) 30px; }
}


/* =====================================================================
   21. SHORT LANDSCAPE VIEWPORTS (phones / small tablets held sideways)
   ---------------------------------------------------------------------
   A short, wide viewport has very little vertical room. Without these
   rules the sticky search + filter bar (its many category pills wrapping
   onto several rows) would eat most of the screen. Here the compact page
   hero is tightened and the toolbar scrolls away, with the categories
   laid out as a single swipeable row instead of wrapping.
   (Placed last so it wins over the sticky toolbar in section 19.)
   ===================================================================== */
@media (orientation: landscape) and (max-height: 560px) {
  .page-hero { padding-block: calc(var(--header-h) + 22px) 26px; }
  .page-title { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.2rem); }
  .page-sub { margin-top: 10px; }
  .breadcrumb { margin-bottom: 10px; }

  .menu-toolbar { position: static; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .search-box { max-width: none; width: 100%; flex: 0 0 auto; height: 46px; padding-block: 0; }
  .search-box input { padding-block: 0; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;                                /* see the phone rule above */
    padding-bottom: 6px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
}

