/* Essie Grill v4 – Cream takeaway layout + NEW richer sticky nav + FULL MENU + ORDER PAGE */
:root {
  --cream-bg: #f5e3c9;
  --cream-card: #fdf3e2;
  --cream-border: #e3cfb2;
  --text-main: #3a2819;
  --white: #FFFFFF;
  --text-muted: #8a6f5b;
  --accent: #d12f2f;           /* Essie red */
  --accent-dark: #b02526;
  --accent-soft: #ffd4d4;
  --shadow-soft: 0 12px 30px rgba(99, 65, 31, 0.28);

  /* Richer sticky header */
  --header-bg: rgba(255, 252, 247, 0.97);
  --header-border: #ebdcc5;
  --header-text: #5a4130;
  --header-text-active: #d12f2f;
  --header-shadow: 0 8px 32px rgba(45,27,15,0.11);

  /* Extra vars used later so nothing errors */
  --card: #fffaf3;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(0,0,0,0.12);
  --border: #e3cfb2;
  --text: #3a2819;
  --text-light: #a48a73;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #fff8f0 0%, #f5e3c9 100%);
  color: var(--text-main);
  min-height: 100dvh;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #fff8f0 0%, #f5e3c9 100%);
  color: var(--text-main);
  min-height: 100dvh;
}

/* === Sticky footer for theme-light pages (login, register, etc.) === */
body.theme-light {
  min-height: 100vh;          /* make sure it fills the viewport */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;                    /* pushes footer to the bottom */
}


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

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==================== STICKY HEADER ==================== */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  max-width: 1320px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.brand:hover {
  transform: scale(1.03);
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-wordmark {
  white-space: nowrap;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav .nav-link {
  color: var(--header-text);
  font-weight: 500;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.25s;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: -6px;
  background: var(--accent);
  transition: width 0.25s, left 0.25s;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
  left: 0;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--header-text-active);
}

.nav-pill {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(209, 47, 47, 0.4);
}

.nav-pill:hover {
  background: var(--accent-dark);
}

/* Account dropdown */
.nav-account {
  position: relative;
  margin-left: 0.5rem;
}

.nav-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  line-height: 1.1;
}

.nav-account-chevron {
  font-size: 0.75rem;
  opacity: 0.9;
}

.nav-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 200px;
  padding: 0.6rem;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid rgba(209, 47, 47, 0.18);
  box-shadow: 0 18px 40px rgba(42, 21, 7, 0.32);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}

.nav-account-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-account-menu a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-account-menu a:hover {
  background: var(--cream-card);
}

/* Burger button (hidden on desktop) */
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--header-text);
  transition: transform 0.25s, opacity 0.25s, translate 0.25s;
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* Mobile layout */
@media (max-width: 900px) {
  .site-header .header-inner {
    padding: 0.7rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 18px 30px rgba(74, 47, 20, 0.18);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    gap: 0.2rem;
    transition: max-height 0.28s ease, padding-bottom 0.28s ease;
  }

  .main-nav.open {
    max-height: calc(100vh - 70px);
    padding-bottom: 0.8rem;
    overflow-y: auto;
  }

  .main-nav .nav-link {
    padding: 0.35rem 0;
    font-size: 0.98rem;
  }

  .nav-pill {
    margin-top: 0.2rem;
  }

  .site-header {
    position: sticky;
  }


  /* Account dropdown inside mobile menu */
  .nav-account {
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-account-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-account-menu {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    transform: none;
  }
}

/* Tiny screens: hide wordmark to give logo space */
@media (max-width: 520px) {
  .brand-wordmark {
    display: none;
  }
}

/* Burger animation when open */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(40deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-40deg);
}

/* ==================== HERO & BUTTONS ==================== */

.hero {
  padding: 2.4rem 0 2.6rem;
}

.hero-cream {
  background: radial-gradient(circle at top, #ffe1b7 0, transparent 55%), var(--cream-bg);
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 2.1rem;
}


.hero-card {
  max-width: 840px;
  border-radius: 22px;
  background:#2a1d15;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-line {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.hero-subline {
  font-size: .98rem;
  color: var(--text-muted);
}

.hero-actions-row {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
}

/* ==================== ORDER PAGE HERO – RICH FOOD PHOTO (ONE-OFF) ==================== */
.order-hero {
  text-align: center;
  padding: 4.5rem 1rem 3.5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional – feels premium on desktop */
  color: white;
  position: relative;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Dark gradient overlay – slightly warmer to match Essie’s vibe */
.order-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(40, 20, 10, 0.45),   /* warmer dark at top */
    rgba(20, 10, 5, 0.78)     /* richer dark at bottom */
  );
  border-radius: 0 0 32px 32px;
}

/* Makes all direct children sit above the overlay */
.order-hero > * { 
  position: relative; 
  z-index: 2;
}

.order-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.order-hero p {
  font-size: 1.18rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.96;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Mobile adjustments */

/* Mobile layout: keep the basket visible while browsing */
@media (max-width: 768px) {
  .order-layout {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }
  .order-menu {
    order: 2;
  }
  .order-cart {
    order: 1;
    position: sticky;
    top: 5.25rem; /* just below sticky header */
  }
}
@media (max-width: 768px) {
  .order-hero {
    padding: 3.8rem 1rem 3rem;
    background-attachment: scroll;
  }
  .order-hero h1 { font-size: 2.6rem; }
  .order-hero p { font-size: 1.08rem; }
}

@media (max-width: 480px) {
  .order-hero h1 { font-size: 2.3rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .7rem 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .14s ease-out;
}

.btn-main {
  background: var(--accent);
  color:#fff;
  border: 1px solid var(--white);
  box-shadow: 0 13px 26px rgba(201,97,40,.55);
}

.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--cream-border);
}

.btn-ghost:hover {
  background: var(--cream-card);
  color: var(--accent-dark);
}

.btn-ghost-menu {
  background: var(--cream-card);        /* same as hover look */
  color: var(--accent-dark);
  border: 1px solid var(--cream-border);
  box-shadow: 0 10px 22px rgba(99, 65, 31, 0.22);
}

.btn-ghost-menu:hover {
  background: #ffffff;                  /* go white on hover */
  color: var(--accent-dark);
  border-color: var(--cream-border);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(99, 65, 31, 0.30);
}

.btn-outline-main {
  background:#fff;
  color:var(--accent-dark);
  border:1px solid var(--cream-border);
  box-shadow:0 10px 18px rgba(170,116,72,.25);
}

.btn-outline-main:hover {
  background:var(--accent);
  color:#fff;
}

/* Menu Side */
.menu-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.search-box {
  position: relative;
  margin-bottom: 1rem;
}

.search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  background: #fdf3e2;
}

.search-box::before {
  content: "🔍";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.6;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.pill {
  padding: 0.5rem 1rem;
  background: #fdf3e2;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pill.active,
.pill:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.menu-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.item-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.item-img {
  height: 180px;
  background: #f0e6d6;
  background-size: cover;
  background-position: center;
}

.item-body {
  padding: 1rem;
}

.item-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.item-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.add-btn {
  background: var(--accent);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

.add-btn:hover {
  background: var(--accent-dark);
}

/* Cart Sidebar */
.cart {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
  padding: 1.5rem;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cart-items {
  max-height: 55vh;
  overflow-y: auto;
  margin: 1rem 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 500;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

.quantity-btn:hover {
  background: #f0e6d6;
}

.quantity {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.cart-total {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: right;
  margin: 1rem 0;
  color: var(--accent);
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.checkout-btn:hover {
  background: var(--accent-dark);
}

.checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Floating Cart (mobile) */

/* Global floating cart (follows user around the site) */
.floating-cart {
  position: fixed;
  inset-inline: 0;
  bottom: 1rem;
  margin-inline: auto;
  width: min(640px, 94vw);
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), rgba(24, 17, 14, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  z-index: 140;
  backdrop-filter: blur(18px);
}

.floating-cart.show {
  display: flex;
  animation: floatingCartSlideUp 0.35s ease-out;
}

@keyframes floatingCartSlideUp {
  from {
    transform: translateY(140%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

.floating-cart-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.floating-cart-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.floating-cart-title {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.floating-cart-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

.floating-cart-summary {
  margin-left: auto;
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.25;
}

.floating-cart-summary span:first-child {
  display: block;
  opacity: 0.9;
}

.floating-cart-summary span:last-child {
  font-weight: 700;
}

.floating-cart-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #ff4a3f, #d12f2f);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(209, 47, 47, 0.55);
}

.floating-cart-cta-text {
  margin-right: 0.3rem;
}

.floating-cart-cta-arrow {
  font-size: 1rem;
}

/* Make sure it still behaves nicely on small screens */
@media (max-width: 640px) {
  .floating-cart {
    bottom: 0.9rem;
    padding: 0.75rem 0.8rem;
  }
  .floating-cart-main {
    padding-inline: 0.55rem;
  }
  .floating-cart-title {
    font-size: 0.72rem;
  }
  .floating-cart-sub {
    font-size: 0.7rem;
  }
  .floating-cart-cta {
    padding-inline: 0.8rem;
  }
}

/* Sections */
.section {
  padding: 2.3rem 0;
}

.section-divider {
  border-top: 3px solid #ffffff;   /* ← crisp white line under hero */
  border-bottom: 1px solid var(--cream-border);
  background-color: #fbead3;
}


.section-heading {
  text-align: center;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* Looser underline just for the main OUR MENU heading */
.section-heading--menu-underline h2 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em; /* move line further away from text */
}

/* Custom underline + spacing just for OUR MENU on the homepage */
.section-heading--menu-underline h2 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em; /* space between text + underline */
  margin-bottom: 1rem;           /* 👈 extra room underneath */
}


.section-heading p {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.deals-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em; /* same vibe as the menu heading */
}
/* === MENU PREVIEW SLIDER (Our Menu / Essie Deals) – clean + responsive === */
.menu-preview-slider {
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 2.4rem;
}

/* Each slide is hidden by default so only the active one shows */
.menu-preview-slide {
  display: none;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Active slide fades / slides in and also takes up height so nothing overlaps */
.menu-preview-slide.is-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.about-copy p {
  font-size: 0.96rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.text-link {
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.text-link:hover {
  text-decoration: underline;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-card {
  background-color: var(--cream-card);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 20px rgba(137, 93, 59, 0.25);
}

.info-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.info-card ul {
  list-style: none;
  font-size: 0.9rem;
}

.info-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0;
}

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

.small-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ==================== MENU STRIP (HOME) ==================== */
.menu-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.menu-thumb {
  background: var(--cream-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(142,93,51,.22);
  transition: transform .16s, box-shadow .16s;
}

.menu-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(99,65,31,.34);
}

.menu-thumb img {
  width:100%;
  height:160px;
  object-fit:cover;
}

.menu-thumb-caption {
  padding: .8rem .95rem .9rem;
}

.menu-thumb-caption h3 {
  font-family:"Montserrat",sans-serif;
  font-size:1rem;
  margin-bottom:.2rem;
}

.menu-thumb-caption span {
  font-size:.82rem;
  color:var(--text-muted);
}

.section-center-cta {
  margin-top:1.4rem;
  text-align:center;
}

/* ==================== FULL MENU PAGE ==================== */
.menu-page {
  background:#fff7f5;
}

.menu-hero.hero-cream {
  background: radial-gradient(circle at top, #ffe0e0 0, transparent 55%), #fff7f5;
}

.menu-hero .hero-title {
  font-size:2.2rem;
}

.menu-hero .hero-line {
  letter-spacing:.18em;
}

.menu-hero .hero-subline {
  max-width:560px;
  margin:.6rem auto 0;
}

.menu-filter-section {
  padding:1.4rem 0 .4rem;
}

.menu-filter {
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  justify-content:center;
}

.filter-pill {
  padding:.45rem 1.05rem;
  border-radius:999px;
  border:1px solid rgba(209,47,47,.25);
  background:#fff;
  font-size:.85rem;
  font-weight:500;
  color:var(--text-main);
  cursor:pointer;
  transition:all .16s;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.active {
  background:#d12f2f;
  color:#fff;
  box-shadow:0 8px 18px rgba(209,47,47,.3);
  transform:translateY(-1px);
}

.menu-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.6rem;
}

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

@media (max-width:768px) {
  .menu-grid { grid-template-columns:1fr; }
}

.menu-panel {
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:1.4rem 1.2rem 1.5rem;
  border:1px solid rgba(209,47,47,.08);
  box-shadow:0 14px 32px rgba(0,0,0,.06);
  overflow:hidden;
}

.menu-panel::before,
.menu-panel::after {
  content:"";
  position:absolute;
  width:60px;
  height:60px;
  border:1px solid rgba(209,47,47,.22);
  opacity:.7;
}

.menu-panel::before {
  top:-30px;
  right:-30px;
  border-radius:0 0 24px 0;
}

.menu-panel::after {
  bottom:-30px;
  left:-30px;
  border-radius:24px 0 0 0;
}

.menu-panel-title {
  font-size:1.1rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#d12f2f;
  margin-bottom:.7rem;
}

.menu-group-title {
  margin:1.2rem 0 .4rem;
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#b03a36;
}

.menu-card-list {
  display:flex;
  flex-direction:column;
  gap:.45rem;
}

.menu-line {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  column-gap:1.2rem;
  padding-bottom:.4rem;
  border-bottom:1px dashed rgba(0,0,0,.06);
}

.menu-line:last-child {
  border-bottom:none;
}

.menu-line-name {
  font-weight:600;
  font-size:.95rem;
}

.menu-line-desc {
  font-size:.8rem;
  color:var(--text-muted);
}

.menu-line-price {
  font-weight:600;
  font-size:.9rem;
  color:#d12f2f;
  white-space:nowrap;
}

.menu-footer-note {
  max-width:640px;
  margin:0 auto 1.5rem;
  font-size:.85rem;
  color:var(--text-muted);
  text-align:center;
}

/* ==================== ORDER PAGE – FULLY ADDED ==================== */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1.1fr);
  gap: 2.2rem;
  align-items: flex-start;
  margin-top: 1.3rem;
}

.order-menu h2.section-title-sm {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.order-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.order-menu-groups {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.order-menu-group {
  background: #fffaf3;
  border-radius: 24px;
  padding: 1.35rem 1.45rem 1.1rem;
  border: 1px solid rgba(227, 207, 178, 0.9);
  box-shadow: 0 16px 32px rgba(99, 65, 31, 0.18);
}

.order-menu-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.order-menu-group-title {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.order-menu-group-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Order page category banners (all groups except Essie Deals) */
.order-menu-groups .order-menu-group-header {
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(209, 47, 47, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    #1a120f;
  color: #fff;
  position: relative;
  justify-content: center;
  text-align: center;
}

/* White text on banners */
.order-menu-groups .order-menu-group-title,
.order-menu-groups .order-menu-group-count {
  color: #fff;
}

/* Arrow toggle – keeps existing span for JS but hides label text visually */
.order-menu-groups .order-menu-group-toggle {
  font-size: 0;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-menu-groups .order-menu-group-toggle::before {
  content: "▾";
  font-size: 0.9rem;
  color: #fff;
}

/* Slightly tighter spacing on mobile banners */
@media (max-width: 768px) {
  .order-menu-groups .order-menu-group-header {
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
  }
}


.order-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.order-item-card {
  background: linear-gradient(135deg, #fff7ea 0%, #fef3e4 55%, #ffe8dd 100%);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(227, 207, 178, 0.9);
  box-shadow: 0 12px 24px rgba(99, 65, 31, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.order-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(99, 65, 31, 0.24);
  border-color: rgba(209, 47, 47, 0.55);
}

.order-item-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.order-item-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.order-item-meta {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.order-item-meta .price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

/* ORDER PAGE CART – FINAL ESSIE GRILL V4 STYLE */
.order-cart {
  background: #fffaf3;
  border-radius: 26px;
  padding: 1.6rem 1.4rem;
  border: 1.8px solid rgba(209, 47, 47, 0.22);
  box-shadow: 0 20px 44px rgba(65, 36, 12, 0.28);
  position: sticky;
  top: 6rem;
  z-index: 90;
}

.order-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.order-cart-header #cartCount {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
}

#cartItemsList:empty::after {
  content: "Your order is empty";
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 1.4rem 0;
  opacity: 0.8;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  gap: 1rem;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cream-card);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--cream-border);
}

.quantity-btn {
  width: 34px;
  height: 34px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-dark);
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quantity-btn:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.08);
}

.quantity {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.cart-total {
  font-size: 1.45rem;
  font-weight: 800;
  text-align: right;
  margin: 1.4rem 0 1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.checkout-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease-out;
  box-shadow: 0 14px 28px rgba(209,47,47,0.38);
}

.checkout-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cart-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  opacity: 0.9;
}

/* Floating Cart (Mobile) – final */
.floating-cart {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-main);
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.34);
  display: none;
  align-items: center;
  gap: 1.2rem;
  z-index: 999;
  font-weight: 600;
  font-size: 1rem;
  min-width: 260px;
  justify-content: center;
}

.floating-cart.show {
  display: flex;
  animation: slideUp 0.38s ease-out;
}

.floating-cart button {
  background: white;
  color: var(--accent-dark);
  padding: 0.75rem 1.6rem;
  font-weight: 700;
}

/* About page hero + journey */
.about-hero {
  padding-top: 2.4rem;
  padding-bottom: 2.6rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.about-hero-copy {
  max-width: 580px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.about-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.about-lead {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 500;
}

.about-hero-media {
  max-width: 420px;
  justify-self: center;
}

.hero-card--about {
  box-shadow: var(--shadow-soft);
}

/* Journey section */
.section-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.journey-step {
  background-color: var(--cream-card);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 12px 26px rgba(121, 82, 49, 0.2);
  position: relative;
}

.step-number {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.journey-step h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  padding-right: 2.2rem;
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* ==================== CONTACT PAGE – FINAL ESSIE GRILL V4 STYLE ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-form-card,
.contact-info-card {
  background: #fffaf3;
  border-radius: 28px;
  padding: 2.2rem 2rem;
  border: 1.8px solid rgba(209, 47, 47, 0.18);
  box-shadow: 0 22px 48px rgba(65, 36, 12, 0.26);
}

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

.contact-form-card h2,
.contact-info-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
}

.form-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  padding: 0.95rem 1.1rem;
  border: 1.6px solid var(--cream-border);
  border-radius: 18px;
  background: var(--cream-card);
  font-family: inherit;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(209, 47, 47, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.btn-main {
  background: var(--accent);
  color: white;
  padding: 1rem 2.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease-out;
  box-shadow: 0 14px 28px rgba(209, 47, 47, 0.38);
}

.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ==================== ABOUT PAGE – UPGRADED 2025 STORY (FINAL ESSIE GRILL V4) ==================== */

/* Full-screen emotional hero with warm overlay */
.about-hero-full {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(rgba(20,10,5,0.62), rgba(20,10,5,0.78)),
              url('https://images.unsplash.com/photo-1593113598332-cd0dbe557299?w=1600&q=85&crop=entropy') center/cover no-repeat;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.5));
}

.about-hero-full .container {
  position: relative;
  z-index: 2;
}

.about-hero-full h1 {
  font-family: "Playfair Display", serif;
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.about-hero-full p {
  font-size: 1.45rem;
  max-width: 860px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0.96;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
  .about-hero-full {
    background-attachment: scroll;
    min-height: 80vh;
  }
  .about-hero-full h1 { font-size: 3.4rem; }
  .about-hero-full p { font-size: 1.22rem; }
}

/* Full story section – warm & heartfelt */
.story-full {
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, #fff8f0 0%, #f5e3c9 100%);
}

.story-full .container {
  max-width: 940px;
}

.story-full h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: var(--accent-dark);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.story-full h2::after {
  content: '';
  width: 120px;
  height: 4px;
  background: var(--accent);
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.story-full p {
  font-size: 1.22rem;
  line-height: 2;
  margin-bottom: 1.8rem;
  color: var(--text-main);
}

.story-full p strong {
  color: var(--accent-dark);
  font-weight: 600;
}

.story-full .highlight {
  font-size: 1.38rem;
  font-style: italic;
  color: var(--accent-dark);
  margin: 3rem 0;
  padding: 2rem;
  background: var(--cream-card);
  border-left: 6px solid var(--accent);
  border-radius: 0 16px 16px 0;
}

/* Interactive Timeline – upgraded */
.journey-timeline {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 5px;
  background: linear-gradient(to bottom, transparent, var(--accent-soft), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  margin: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.timeline-item:nth-child(even) {
  direction: rtl;
}

.timeline-card {
  background: #fffaf3;
  padding: 2.6rem 2.4rem;
  border-radius: 32px;
  border: 2px solid rgba(209,47,47,0.18);
  box-shadow: 0 24px 52px rgba(65,36,12,0.28);
  position: relative;
}

.timeline-card::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border: 7px solid #fffaf3;
  border-radius: 50%;
  top: 50%;
  left: -74px;
  transform: translateY(-50%);
  box-shadow: 0 0 0 8px var(--accent-soft);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-card::after {
  left: auto;
  right: -74px;
}

.timeline-year {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.timeline-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.timeline-card p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* Quote section */
.about-quote {
  padding: 6rem 0;
  text-align: center;
  background: #fffaf3;
}

.about-quote blockquote {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-style: italic;
  color: var(--accent-dark);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  position: relative;
}

.about-quote blockquote::before,
.about-quote blockquote::after {
  content: '“';
  font-size: 6rem;
  color: var(--accent-soft);
  opacity: 0.4;
  position: absolute;
  top: -20px;
  left: -30px;
}

.about-quote blockquote::after {
  content: '”';
  top: auto;
  bottom: -60px;
  left: auto;
  right: -30px;
}

.quote-attrib {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Responsive fixes */
@media (max-width: 900px) {
  .journey-timeline::before { left: 36px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .timeline-card::after {
    left: -58px !important;
    right: auto !important;
  }
  .story-full p { font-size: 1.14rem; }
}

/* Success message */
#formSuccess {
  background: #ecfdf5;
  color: #065f46;
  padding: 1.4rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  border: 1.6px solid #a7f3d0;
}

/* Contact Info Card */
.info-block {
  margin-bottom: 1.8rem;
}

.info-block h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.08rem;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-block p {
  line-height: 1.7;
  font-size: 1.02rem;
}

.info-block a {
  color: var(--accent-dark);
  font-weight: 600;
  transition: color 0.2s;
}

.info-block a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.info-block.social a {
  font-size: 2rem;
  color: var(--accent-dark);
  transition: all 0.2s;
}

.info-block.social a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form-card,
  .contact-info-card {
    padding: 1.8rem 1.6rem;
  }
}

@media (max-width: 480px) {
  .contact-form-card,
  .contact-info-card {
    padding: 1.6rem 1.4rem;
    border-radius: 22px;
  }
}

/* redefined slideUp for final floating cart */
@keyframes slideUp {
  from { transform: translate(-50%, 120%); opacity: 0; }
  to   { transform: translateX(-50%); opacity: 1; }
}

/* Responsive order layout changes */
@media (max-width: 900px) {
  .order-cart { position: relative; top: 0; margin-top: 2rem; }
}

@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-cart { position: relative; top: 0; margin-top: 1.5rem; }
}

/* MAINTENANCE LOCK */
#maint-lock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(9px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

#maint-lock-box {
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 380px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

#maint-lock-box input {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

#maint-lock-box button {
  margin-top: 15px;
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  background: #f6c12a;
  color: #222;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
}

#maint-lock-box button:hover {
  background: #e0ad1f;
}

#maint-error {
  margin-top: 10px;
  color: red;
  font-weight: 600;
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, #3a2218 0, #241613 55%, #18100d 100%);
  color: #fdf3e2;
}

.footer-inner {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-brand p {
  margin: 0;
}

.footer-tag {
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-social svg {
  /* knock the icons back a touch so they sit in the design */
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Stack footer nicely on mobile */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }
}



/* === Account dashboard layout === */
.account-hero {
  background: #f7f2e9;
  padding: 2.5rem 0 1.5rem;
}

.account-tabs-wrap {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem;
  background: #111;
  margin: 1rem 0 1.5rem;
}

.account-tab {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #f9f3ea;
  text-decoration: none;
  opacity: 0.7;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.account-tab:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.account-tab.active {
  background: linear-gradient(120deg, #d12f2f, #ff7d3b);
  opacity: 1;
}

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

.orders-table {
  width: 100%;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  font-size: 0.9rem;
}

.orders-header,
.orders-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 2fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.orders-header {
  background: #f3eee5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
}

.orders-row:nth-child(odd) {
  background: #fffdf9;
}

.orders-row:nth-child(even) {
  background: #fdf7ef;
}

.empty-state {
  padding: 2.2rem 1.8rem;
  border-radius: 1rem;
  background: #fffdf9;
  border: 1px dashed rgba(0,0,0,0.08);
  text-align: center;
}

.empty-state p {
  margin-bottom: 0.9rem;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* status colour accents */
.status-pending { background:#fff5d6; color:#7a6300; }
.status-accepted { background:#e8ffe2; color:#145918; }
.status-preparing { background:#e6f1ff; color:#00407d; }
.status-out_for_delivery { background:#f0e8ff; color:#4a2299; }
.status-declined,
.status-cancelled { background:#ffe3e3; color:#7d1515; }
.status-completed { background:#e2fff0; color:#0c6b3b; }

.form-errors {
  margin: 0.75rem 0 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #ffe3e3;
  color: #5b1515;
  font-size: 0.85rem;
}

.form-errors ul {
  margin-left: 1rem;
}

.form-success {
  margin-bottom: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #e5ffe9;
  color: #125426;
  font-size: 0.85rem;
}

.points-balance-card {
  margin-top: 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.8rem 1.1rem;
  border-radius: 0.9rem;
  background: #111;
  color: #fff9f0;
}

.points-balance-card .points-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.points-balance-card .points-value {
  font-size: 1.3rem;
  font-weight: 700;
}

/* small tweaks */
@media (max-width: 768px) {
  .orders-header,
  .orders-row {
    grid-template-columns: 1.1fr 0.7fr;
    grid-template-rows: auto auto;
  }
  .orders-header span:nth-child(3),
  .orders-header span:nth-child(4) {
    display:none;
  }
  .orders-row span:nth-child(3),
  .orders-row span:nth-child(4) {
    grid-column: 1 / -1;
  }
}

/* --- Enhanced order cards --- */
.order-item-card {
  background: linear-gradient(135deg, #fff7ea 0%, #fef3e4 55%, #ffe8dd 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(227, 207, 178, 0.9);
  box-shadow: 0 14px 30px rgba(99, 65, 31, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  position: relative;
}

.order-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(99, 65, 31, 0.3);
  border-color: rgba(209, 47, 47, 0.65);
}

.order-item-art {
  height: 120px;
  background: radial-gradient(circle at 10% 0%, rgba(209,47,47,0.25) 0, transparent 45%),
              radial-gradient(circle at 90% 120%, rgba(250,204,21,0.35) 0, transparent 55%),
              linear-gradient(135deg, #1f130d 0%, #281712 40%, #3a1b16 100%);
  position: relative;
}

.order-item-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #fefce8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-item-content {
  padding: 0.8rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
}

.order-item-main {
  flex: 1 1 auto;
}

.order-item-name {
  font-size: 1rem;
  margin: 0 0 0.2rem;
  color: var(--text-main);
}

.order-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.order-item-desc--placeholder {
  opacity: 0.75;
  font-style: italic;
}

.order-item-meta {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.order-item-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

@media (max-width: 640px) {
  .order-item-card {
    border-radius: 18px;
  }
  .order-item-art {
    height: 100px;
  }
}

/* --- Order page – item card + cart quantity controls --- */
.order-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-item-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background .14s ease, transform .14s ease, box-shadow .14s ease;
}

.order-item-add:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(99, 65, 31, 0.35);
}

.order-item-add-icon {
  display: inline-block;
  transform: translateY(-1px);
}

/* Cart sidebar list with +/- controls */
.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--cream-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
}

.cart-qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* ================ INDEX.PHP ONLY – MOBILE FIXES + HERO / ABOUT / MENU STRIP (2025) ================ */
@media (max-width: 640px) {
  .hero {
    padding: 1.8rem 0 2.2rem;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 0.14em;
  }

  .hero-line {
    font-size: 1.4rem;
  }

  .hero-card {
    max-width: 100%;
    border-radius: 18px;
    margin: 0 1rem;
  }

  .hero-card-image img {
    height: 240px;
    object-fit: cover;
  }

  .hero-actions-row {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-actions-row .btn {
    width: 82%;
    max-width: 300px;
  }

  /* Menu / Deals grid becomes single column & full-width */
  .menu-strip {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 0 1rem;
  }

  .menu-thumb img {
    height: 200px;
  }

  /* About section on homepage */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .about-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .info-card {
    min-width: 280px;
    max-width: 360px;
  }

  .container {
    padding: 0 0.9rem;
  }

  .section {
    padding: 2rem 0;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
  }
}

/* === FIX: spacing for "View Current Offers" + "Browse Full Menu" CTAs === */

/* Make sure cards have space between each other */
.info-card + .info-card {
  margin-top: 1.6rem;
}

/* In the info cards (Opening Times, Find Us, Offers), keep button inside
   the card with extra bottom space so it doesn't sit on the next card */
.info-card .btn-outline-main,
.info-card .btn-main {
  position: static;
  transform: none;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

/* Center-CTA under the menu thumbs ("Browse Full Menu") – give it more
   space above the footer so it doesn't overlap */
.section-center-cta {
  margin-top: 1.4rem;
  margin-bottom: 2.4rem;
}

/* Extra padding on small screens so nothing overlaps on mobile */
@media (max-width: 640px) {
  .info-card {
    padding-bottom: 1.8rem;
  }

  .section-center-cta {
    margin-bottom: 3rem;
  }
}
/* === MOBILE FIX: keep slider but stop overlapping === */
@media (max-width: 640px) {
  /* Give the slider wrapper enough height for the tallest slide */
  .menu-preview-slider {
    min-height: 780px; /* adjust up/down if needed */
    padding-top: 0.5rem;
    padding-bottom: 2.6rem;
  }

  /* Extra breathing space before footer / next section */
  .section-center-cta {
    margin-top: 1.4rem;
    margin-bottom: 2.8rem;
  }
}

/* NEW DARK + RED GLOW HERO – Essie Grill 2025 vibe */
.hero-cream {
  background: 
    radial-gradient(circle at center, rgba(209, 47, 47, 0.38) 0%, transparent 60%, transparent 100%),
    radial-gradient(circle at top left,    rgba(220, 40, 40, 0.32) 0%, transparent 70%),
    radial-gradient(circle at bottom right, rgba(180, 20, 20, 0.45) 0%, transparent 65%),
    #2a2a2a;
  background-color: #2a2a2a;
}

/* ===== LOGO DIVIDER – ESSIE ICON IN THE MIDDLE ===== */
.logo-divider {
  max-width: 980px;
  margin: 2.4rem auto 1.4rem;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.logo-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(58, 40, 25, 0),
    rgba(58, 40, 25, 0.65),
    rgba(209, 47, 47, 0.85),
    rgba(58, 40, 25, 0.65),
    rgba(58, 40, 25, 0)
  );
  opacity: 0.9;
}

.logo-divider-badge {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.35) 0, transparent 55%),
    radial-gradient(circle at 80% 120%, rgba(250, 204, 21, 0.5) 0, transparent 60%),
    #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-divider-badge img {
  max-width: 56px;
  height: auto;
  display: block;
}

/* Mobile tweaks for divider */
@media (max-width: 640px) {
  .logo-divider {
    margin: 2rem auto 1.2rem;
    gap: 0.9rem;
  }
  .logo-divider-badge {
    width: 64px;
    height: 64px;
  }
  .logo-divider-badge img {
    max-width: 46px;
  }
}

/* ===== ABOUT SECTION – WARM CARD LOOK ON HOME ===== */
.about-section {
  position: relative;
  background: radial-gradient(circle at top, #ffe7c8 0, transparent 55%), var(--cream-bg);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(209, 47, 47, 0.08) 0, transparent 55%),
    radial-gradient(circle at 90% 120%, rgba(250, 204, 21, 0.12) 0, transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

/* Left copy card */
.about-section .about-copy {
  background: rgba(255, 250, 243, 0.96);
  border-radius: 24px;
  padding: 1.6rem 1.8rem 1.8rem;
  border: 1px solid rgba(227, 207, 178, 0.9);
  box-shadow: 0 18px 40px rgba(99, 65, 31, 0.22);
}

.eyebrow--about {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.about-section .about-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.about-section .about-copy p {
  margin-bottom: 0.5rem;
}

/* Highlights row under text */
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0.9rem;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.about-link::after {
  content: "↗";
  font-size: 0.8rem;
}

/* Right cards – slight upgrade */
.info-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.info-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  white-space: nowrap;
}

.info-tag--soft {
  background: rgba(209, 47, 47, 0.09);
  color: var(--accent-dark);
}

.about-section .info-card {
  position: relative;
  overflow: hidden;
}

.about-section .info-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -40px;
  height: 80px;
  background: radial-gradient(circle at 50% 0, rgba(209, 47, 47, 0.12) 0, transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .about-section .about-copy {
    border-radius: 22px;
    padding: 1.4rem 1.4rem 1.6rem;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding-top: 2.1rem;
  }
  .about-section .about-layout {
    padding: 0;
  }
  .about-section .about-side {
    flex-direction: column;
  }
}

/* === DASHBOARD POINTS – FULL-WIDTH LOGO DIVIDER === */
.points-logo-divider {
  position: relative;
  width: 100%;
  max-width: none;      /* override container-style max-width */
  height: 2px;
  background: #d32f2f;  /* red line across whole screen */
  margin: 0;            /* sit right on the colour change */
}

.points-logo-divider img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #ffffff;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.35);
  z-index: 10;
}



@media (max-width: 768px) {
  .order-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .order-item-card {
    padding: 0.6rem 0.55rem;
  }

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

  .order-item-card p {
    font-size: 0.78rem;
  }
}


/* Order page hero: split layout with compact image */
.order-hero.order-hero--order-page {
  padding: 3.4rem 1rem 3rem;
}

.order-hero--order-page .order-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.order-hero--order-page .order-hero-text {
  text-align: left;
}

.order-hero--order-page .order-hero-badge {
  margin-left: 0;
}

.order-hero-visual {
  display: flex;
  justify-content: center;
}

.order-hero-img {
  width: 100%;
  max-width: 260px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  object-fit: cover;
}

/* Stack hero nicely on smaller screens */
@media (max-width: 768px) {
  .order-hero--order-page .order-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .order-hero--order-page .order-hero-text {
    text-align: center;
  }
  .order-hero-visual {
    margin-top: 1.2rem;
  }
}
