/* ═══════════════════════════════════════════════════════════════
   Public Site — site.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design tokens ────────────────────────────────────────────── */
:root {
  /* Defaults mirror American Bakeshop. PublicBrandTheme replaces these with
     PUBLIC_SITE_COLOR_* values from .env before first meaningful paint. */
  --public-color-primary: #c5261f;
  --public-color-primary-dark: #8c1b18;
  --public-color-support: #166bb5;
  --public-color-support-dark: #0d4f8f;
  --public-color-background: #fff3d1;
  --public-color-surface: #fff8df;
  --public-color-text: #241006;
  --public-color-muted: #684a32;
  --public-color-gold: #f6b313;
  --public-color-hero-dark: #0b2d52;
  --public-color-hero-mid: #166bb5;
  --public-color-hero-end: #c5261f;
  --public-color-hero-text: #ffffff;
  --public-color-primary-rgb: 197, 38, 31;
  --public-color-support-rgb: 22, 107, 181;
  --public-color-gold-rgb: 246, 179, 19;
  --public-color-text-rgb: 36, 16, 6;
  --public-color-hero-dark-rgb: 11, 45, 82;
  --public-color-hero-text-rgb: 255, 255, 255;
  --bg: var(--public-color-background);
  --bg2: color-mix(in srgb, var(--public-color-background) 82%, var(--public-color-gold));
  --card: var(--public-color-surface);
  --ink: var(--public-color-text);
  --ink2: var(--public-color-muted);
  --muted: var(--public-color-muted);
  --accent: var(--public-color-primary);
  --accent-strong: var(--public-color-support-dark);
  --gold: var(--public-color-gold);
  --gold-lt: color-mix(in srgb, var(--public-color-gold) 38%, white);
  --border: rgba(var(--public-color-primary-rgb), 0.18);
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

/* ─── Base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.2;
}
button {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  background: none;
}
input,
select,
textarea {
  font-family: var(--sans);
}

/* ─── Nav ──────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 max(5vw, 20px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8438rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink2);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current='page'] {
  color: var(--accent);
}
.nav-links a.active,
.nav-links a[aria-current='page'] {
  position: relative;
}
.nav-links a.active::after,
.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: #00843d;
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--card);
  transform: translateX(-100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav .mobile-link {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.mobile-nav .mobile-link:hover {
  color: var(--accent);
}

body.public-page-with-nav-offset {
  padding-top: 84px;
}

.mobile-nav .mobile-link.active,
.mobile-nav .mobile-link[aria-current='page'] {
  color: var(--accent);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
#hero {
  padding-top: 64px;
  min-height: 100svh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #3a0908 0%,
    #c5261f 35%,
    #e86100 63%,
    #00843d 100%
  );
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(246, 179, 19, 0.24) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 167, 157, 0.24) 0%,
      transparent 50%
    );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px max(5vw, 24px);
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(246, 179, 19, 0.24);
  border: 1px solid rgba(196, 154, 34, 0.35);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 99px;
  box-shadow: 0 0 0 4px rgba(196, 154, 34, 0.2);
}
.hero-title {
  font-size: clamp(3.25rem, 8vw, 6rem);
  font-weight: 700;
  color: #faf8f4;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(250, 248, 244, 0.92);
  font-weight: 500;
  max-width: 480px;
  margin-bottom: 40px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.68);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 8, 7, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.94);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: #00843d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.35);
}
.btn-outline {
  background: transparent;
  color: rgba(250, 248, 244, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 14px 32px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}
.hero-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 24px max(5vw, 24px) 80px 0;
}
.hero-logo-ring {
  width: clamp(220px, 22vw, 360px);
  height: clamp(220px, 22vw, 360px);
  border-radius: 50%;
  background: rgba(196, 154, 34, 0.08);
  border: 1px solid rgba(196, 154, 34, 0.25);
  box-shadow: 0 0 0 18px rgba(196, 154, 34, 0.05),
    0 0 80px rgba(196, 154, 34, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  /* width: 60%; */
  /* height: 60%; */
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(196, 154, 34, 0.35));
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250, 248, 244, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: heroScroll 2.5s ease-in-out infinite;
}
@keyframes heroScroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ─── Info strip ───────────────────────────────────────────────── */
#info-strip {
  background: var(--ink);
  padding: 0 max(5vw, 24px);
}
.info-strip-inner {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.info-item:last-child {
  border-right: none;
}
.info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(196, 154, 34, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.info-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1px;
}

/* ─── Section shared ───────────────────────────────────────────── */
.section {
  padding: 80px max(5vw, 24px);
}
.section-alt {
  background: var(--bg2);
}
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  font-weight: 300;
}
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 99px;
  margin-bottom: 20px;
}

/* ─── Menu section ─────────────────────────────────────────────── */
.menu-toolbar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.menu-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 10px 16px;
  max-width: 380px;
  flex: 1;
}
.menu-search svg {
  color: var(--muted);
  flex-shrink: 0;
}
.menu-search input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: var(--ink);
  background: transparent;
}
.menu-search input::placeholder {
  color: var(--muted);
}
.pic-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
}
.pic-toggle input {
  accent-color: var(--accent);
}
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.menu-tab {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink2);
  transition: all 0.2s;
  cursor: pointer;
}
.menu-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.menu-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.menu-item {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.menu-item.no-photo {
  min-height: 0;
}
.menu-item.no-photo .menu-item-body {
  padding-top: 16px;
}
.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 17, 8, 0.1);
}
.menu-item.unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}
.menu-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg2);
  overflow: hidden;
  position: relative;
}
.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 2.5rem;
}
.menu-item-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-item-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.menu-item-desc {
  font-size: 0.7812rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 10px;
  line-height: 1.5;
}
.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-item-price {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}
.menu-item-price .orig {
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: line-through;
  margin-right: 4px;
}
.btn-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.btn-add:hover {
  background: #00843d;
  transform: scale(1.1);
}
.menu-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.skel {
  background: linear-gradient(
    90deg,
    var(--bg2) 25%,
    rgba(139, 26, 26, 0.06) 50%,
    var(--bg2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* ─── Cart Drawer ──────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(26, 17, 8, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  background: var(--card);
  box-shadow: -8px 0 48px rgba(26, 17, 8, 0.18);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
#cart-drawer.open {
  transform: translateX(0);
}
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: background 0.2s;
}
.cart-close:hover {
  background: var(--border);
}
.cart-mode-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-mode-tab {
  flex: 1;
  padding: 14px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
  cursor: pointer;
}
.cart-mode-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.saved-customer {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
  border-radius: var(--r);
  padding: 12px;
  margin-bottom: 12px;
}
.saved-customer.show {
  display: flex;
}
.saved-name {
  font-weight: 600;
  font-size: 0.875rem;
}
.saved-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.btn-forget {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
}
.btn-forget:hover {
  color: var(--accent);
}
.account-section {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.account-toggle {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
}
.account-fields {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.account-fields.show {
  display: flex;
}
.btn-save-cust {
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s;
}
.btn-save-cust:hover {
  background: #00843d;
}
.order-form {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
}
.order-form.show {
  display: flex;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink2);
}
.form-control {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}
.form-control::placeholder {
  color: #b8a898;
} /* clearly lighter than real data */
textarea.form-control::placeholder {
  color: #b8a898;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.map-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}
.selected-addr {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  min-height: 18px;
  margin-top: 4px;
}
.cart-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.cart-item-price {
  font-size: 0.8125rem;
  color: var(--muted);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  transition: background 0.15s;
}
.qty-btn:hover {
  background: var(--border);
}
.qty-val {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.item-notes {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  margin-top: 6px;
  color: var(--ink);
  background: var(--bg);
}
.item-notes:focus {
  outline: none;
  border-color: var(--accent);
}
.cart-empty {
  text-align: center;
  padding: 32px 0;
  color: var(--muted);
}
.cart-empty small {
  font-size: 0.75rem;
}
.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--card);
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.875rem;
}
.total-row span:first-child {
  color: var(--muted);
}
.total-row.grand {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
}
.total-row.grand span:last-child {
  font-family: var(--serif);
  font-size: 1.625rem;
  color: var(--accent);
}
.btn-checkout {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 16px;
  transition: background 0.2s, transform 0.15s;
}
.btn-checkout:hover:not(:disabled) {
  background: #00843d;
  transform: translateY(-1px);
}
.btn-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-msg {
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 0.8125rem;
  margin-top: 12px;
  display: none;
}
.cart-msg.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}
.cart-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* Cart FAB */
#cart-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(139, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
#cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(139, 26, 26, 0.5);
}
#cart-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
#cart-fab-count.show {
  display: flex;
}

/* ─── Function Hall ────────────────────────────────────────────── */
.hall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hall-calendar {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 17, 8, 0.06);
}
.cal-header {
  background: var(--accent);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-month-label {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
}
.cal-nav {
  display: flex;
  gap: 8px;
}
.cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(139, 26, 26, 0.06);
}
.cal-weekday {
  text-align: center;
  padding: 10px 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px;
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: all 0.15s;
  cursor: default;
}
.cal-day.empty {
  opacity: 0;
  pointer-events: none;
}
.cal-day.past {
  color: var(--muted);
  opacity: 0.45;
}
.cal-day.available {
  cursor: pointer;
}
.cal-day.available:hover {
  background: rgba(139, 26, 26, 0.08);
  color: var(--accent);
}
.cal-day.today {
  background: var(--gold-lt);
  font-weight: 700;
}
.cal-day.selected {
  background: var(--accent) !important;
  color: #fff !important;
}
.cal-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.cal-day.event-open::after {
  background: #16a34a;
}
.cal-day.event-full::after {
  background: var(--muted);
}
.cal-legend {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.leg-dot.open {
  background: #16a34a;
}
.leg-dot.full {
  background: var(--muted);
}
.leg-dot.selected {
  background: var(--accent);
}
.event-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(26, 17, 8, 0.06);
}
.event-card.selected-event {
  border-color: var(--accent);
  background: rgba(139, 26, 26, 0.03);
}
.event-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.event-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.event-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.event-badge.open {
  background: #dcfce7;
  color: #15803d;
}
.event-badge.full {
  background: var(--bg2);
  color: var(--muted);
}
.event-price {
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  font-size: 0.875rem;
}
.hall-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
  font-size: 0.875rem;
}
.hall-booking {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(26, 17, 8, 0.06);
}
.hall-booking h3 {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.hall-booking .sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.hall-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.selected-event-box {
  background: rgba(139, 26, 26, 0.06);
  border: 1.5px solid rgba(139, 26, 26, 0.15);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 8px;
}
.ev-name {
  font-weight: 600;
  font-family: var(--serif);
  font-size: 1.0625rem;
}
.ev-detail {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
}
.btn-hall-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-hall-submit:hover:not(:disabled) {
  background: #00843d;
  transform: translateY(-1px);
}
.btn-hall-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hall-msg {
  padding: 14px 16px;
  border-radius: var(--r);
  font-size: 0.875rem;
  margin-top: 0;
  margin-bottom: 4px;
  display: none;
  order: -1; /* flex child - float above submit button */
}
.hall-msg.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}
.hall-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ─── Location section ─────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.location-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.location-block h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.location-block p,
.location-block address {
  font-size: 0.9062rem;
  color: var(--ink2);
  font-style: normal;
  line-height: 1.7;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--ink2);
}
.hours-table td:first-child {
  color: var(--muted);
  width: 130px;
}
.hours-table .today-row td {
  font-weight: 600;
  color: var(--accent);
}

/* ─── Footer ───────────────────────────────────────────────────── */
#footer {
  background: var(--ink);
  padding: 56px max(5vw, 24px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.5);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.5);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.7);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.35);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.35);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(250, 248, 244, 0.7);
}

/* ─── Payment modal ────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(26, 17, 8, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open {
  display: flex;
}
.modal-box {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(26, 17, 8, 0.2);
}
.modal-box h3 {
  font-family: var(--serif);
  font-size: 1.625rem;
  margin-bottom: 8px;
}
.modal-box > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.order-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.summary-line:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1rem;
}
.btn-row {
  display: flex;
  gap: 12px;
}
.btn-m-cancel {
  flex: 1;
  padding: 13px;
  background: var(--bg2);
  color: var(--ink2);
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-m-cancel:hover {
  background: var(--border);
}
.btn-m-pay {
  flex: 2;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-m-pay:hover {
  background: #00843d;
}
.hitpay-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ─── Toasts ───────────────────────────────────────────────────── */
#toast-stack {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 340px;
  animation: toastIn 0.3s ease-out;
}
.toast.info {
  background: var(--ink);
  color: #fff;
}
.toast.success {
  background: #15803d;
  color: #fff;
}
.toast.error {
  background: #991b1b;
  color: #fff;
}
@keyframes toastIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .info-strip-inner {
    flex-wrap: wrap;
  }
  .info-item {
    min-width: 50%;
  }
  .hall-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 56px 20px;
  }
  .hero-inner {
    padding: 56px 20px;
  }
  .hero-visual {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .info-item {
    min-width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  #nav {
    padding: 0 20px;
  }
  #info-strip {
    padding: 0 20px;
  }
  #footer {
    padding: 40px 20px 24px;
  }
}

/* ─── Hall form select ──────────────────────────────────────────── */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B8570' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
select.form-control option[value=''] {
  color: #b8a898;
}

/* ─── Hall save-details prompt ──────────────────────────────────── */
.hall-save-prompt {
  background: #f5f0e8;
  border: 1.5px solid #e8ddd0;
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hall-save-prompt p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink2);
  flex: 1;
  min-width: 180px;
}
.hall-save-btns {
  display: flex;
  gap: 8px;
}
.btn-save-yes {
  padding: 8px 18px;
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.btn-save-yes:hover {
  background: #00843d;
}
.btn-save-no {
  padding: 8px 14px;
  border-radius: var(--r);
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s;
}
.btn-save-no:hover {
  border-color: var(--muted);
}

/* ─── Calendar: hosted event day state ─────────────────────────── */
.cal-day.has-event {
  cursor: pointer;
  font-weight: 600;
}
.cal-day.event-hosted {
  color: #92400e;
  background: rgba(251, 191, 36, 0.12);
}
.cal-day.event-hosted:hover {
  background: rgba(251, 191, 36, 0.25);
}
.cal-day.event-hosted::after {
  background: #d97706;
}
.cal-day.booked {
  opacity: 0.45;
  cursor: pointer; /* clickable to show "fully booked" message */
}
.cal-day.booked::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.leg-dot.hosted {
  background: #d97706;
}

/* ─── Hall event card ───────────────────────────────────────────── */
.hall-event-card {
  background: linear-gradient(135deg, #fffbf0 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 20px;
}
.ev-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ev-card-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ev-card-badge.open {
  background: #d1fae5;
  color: #065f46;
}
.ev-card-badge.full {
  background: #f3f4f6;
  color: var(--muted);
}
.ev-card-close {
  background: none;
  border: none;
  font-size: 1.125rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.ev-card-close:hover {
  color: var(--ink);
}
.ev-card-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.ev-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #78350f;
  margin-bottom: 10px;
}
.ev-card-desc {
  font-size: 0.875rem;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0 0 14px;
}
.ev-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #fcd34d;
  margin-top: 4px;
}
.ev-card-price {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.875rem;
}
.ev-card-full-note {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}
.btn-register-event {
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-register-event:hover {
  background: #00843d;
  transform: translateY(-1px);
}


.menu-reserve-btn {
  border: 1.5px solid var(--accent);
  background: rgba(139, 26, 26, 0.06);
  color: var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.menu-reserve-btn:hover { background: var(--accent); color: #fff; }

.reserve-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}
.reserve-overlay.open { opacity: 1; pointer-events: auto; }
#reserve-drawer {
  position: fixed;
  top: 0;
  right: -560px;
  width: min(560px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 42px rgba(0,0,0,.18);
  transition: right .25s ease;
}
#reserve-drawer.open { right: 0; }
.reserve-header {
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 24px; border-bottom:1px solid var(--border);
}
.reserve-header h3 { margin:0; font-size: 1.875rem; }
.reserve-close {
  width:44px; height:44px; border:none; border-radius:50%; cursor:pointer;
  background: #ffe1a8; color: var(--ink); font-size: 1.5rem; line-height:1;
}
.reserve-body { padding: 20px 24px; overflow:auto; flex:1; }
.reserve-sub { color: var(--muted); margin: 0 0 16px; font-size: 0.875rem; }
.reserve-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reserve-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.reserve-grid .form-group, .reserve-grid-3 .form-group { margin-bottom: 0; }
.reserve-preorder-card {
  margin-top: 12px; border:1px solid var(--border); border-radius: 16px; background: var(--card);
  padding: 14px;
}
.reserve-preorder-head { display:flex; gap:12px; justify-content:space-between; align-items:flex-start; }
.reserve-preorder-head .title { font-weight:700; color: var(--ink); }
.reserve-preorder-head .sub { color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }
.switch-inline { display:flex; align-items:center; gap:8px; color: var(--ink2); font-size: 0.8125rem; }
.switch-inline input { accent-color: var(--accent); }
.reserve-preorder-options { margin-top: 12px; display:grid; gap:8px; }
.reserve-preorder-preview {
  margin-top: 4px; max-height: 180px; overflow:auto; border:1px solid var(--border); border-radius: 12px; background:#fff;
}
.reserve-preorder-preview .rp-item { display:flex; justify-content:space-between; gap:10px; padding: 8px 10px; border-bottom:1px solid rgba(0,0,0,.05); font-size: 0.8125rem; }
.reserve-preorder-preview .rp-item:last-child { border-bottom:none; }
.reserve-msg {
  margin-top: 12px; border-radius: 12px; padding: 10px 12px; font-size: 0.8125rem; border:1px solid var(--border);
}
.reserve-msg.success { background:#eef9f0; border-color:#bfe6c8; color:#1f6b33; }
.reserve-msg.error { background:#fff0f0; border-color:#f1c4c4; color:#8b1a1a; }
.reserve-footer {
  border-top:1px solid var(--border); padding: 14px 24px; display:flex; gap:10px; justify-content:flex-end; background:#fff;
}
.reserve-secondary, .reserve-primary {
  border-radius: 999px; padding: 11px 16px; font-weight: 700; cursor:pointer; border:1.5px solid var(--border);
}
.reserve-secondary { background:#fff; color: var(--ink2); }
.reserve-primary { background: var(--accent); color:#fff; border-color: var(--accent); }

@media (max-width: 900px) {
  .reserve-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu-reserve-btn { width: 100%; }
  .reserve-grid { grid-template-columns: 1fr; }
  .reserve-header h3 { font-size: 1.375rem; }
  .reserve-footer { flex-direction: column-reverse; }
  .reserve-secondary, .reserve-primary { width:100%; }
}

.menu-item-img img {
  cursor: zoom-in;
}
.menu-image-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.menu-image-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.menu-image-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 8, 0.82);
}
.menu-image-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 92vh;
  margin: 4vh auto;
  padding: 14px 14px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.menu-image-full {
  display: block;
  width: 100%;
  max-height: calc(92vh - 84px);
  object-fit: contain;
  border-radius: 14px;
  background: #f6f1e8;
}
.menu-image-caption {
  padding-top: 10px;
  text-align: center;
  color: var(--ink2);
  font-weight: 500;
}
.menu-image-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(26, 17, 8, 0.78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.menu-image-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-image-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
    padding: 10px 10px 14px;
  }
  .menu-image-full {
    max-height: calc(100vh - 86px);
  }
}

/* ─── Landing carousel hero ─────────────────────────────────────────────── */
#hero.landing-carousel {
  display: block;
  padding-top: 64px;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #26120d 0%, #4a1d14 48%, #1f0d0c 100%);
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  min-width: 100%;
  min-height: calc(100svh - 64px);
  flex: 0 0 auto;
}

.landing-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.landing-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 154, 34, 0.26) 0%, rgba(196, 154, 34, 0.06) 22%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(135deg, #572115 0%, #1d0d0b 60%, #120707 100%);
  overflow: hidden;
}

.hero-media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.35s ease;
}

.hero-media.has-image .hero-media-image {
  opacity: 1;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71, 26, 19, 0.20) 0%, rgba(25, 10, 8, 0.10) 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 7, 7, 0.58) 0%, rgba(13, 7, 7, 0.34) 44%, rgba(13, 7, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(13, 7, 7, 0.06) 0%, rgba(13, 7, 7, 0.26) 100%);
}

.landing-slide .hero-inner {
  width: min(980px, 74vw);
  max-width: min(980px, 74vw);
  padding: 96px max(5vw, 24px) 130px;
}

.landing-slide .hero-title {
  display: block;
  width: 100%;
  max-width: none;
}

.landing-slide .hero-subtitle {
  width: min(760px, 100%);
  max-width: min(760px, 100%);
  display: inline-block;
  padding: 0.8rem 1rem;
  border-left: 3px solid rgba(212, 170, 59, 0.88);
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(14, 8, 7, 0.56) 0%, rgba(14, 8, 7, 0.34) 72%, rgba(14, 8, 7, 0) 100%);
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.hero-visual {
  display: none;
}

.hero-showcase-card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.hero-showcase-media {
  min-height: 300px;
  background-image: linear-gradient(135deg, #572115 0%, #1d0d0b 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 7, 7, 0.02), rgba(13, 7, 7, 0.18));
}

.hero-showcase-copy {
  padding: 24px 24px 26px;
  color: rgba(250, 248, 244, 0.9);
}

.hero-showcase-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
  background: rgba(196, 154, 34, 0.18);
  border: 1px solid rgba(196, 154, 34, 0.26);
  color: var(--gold-lt);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-showcase-copy h2 {
  font-size: 1.5rem;
  color: #faf8f4;
  margin-bottom: 10px;
}

.hero-showcase-copy p {
  margin: 0;
  color: rgba(250, 248, 244, 0.72);
  line-height: 1.6;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(12, 12, 12, 0.55);
}

.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }

#hero.landing-carousel .hero-arrow[hidden],
#hero.landing-carousel .hero-controls[hidden] {
  display: none !important;
}

/* Rich-text fields may contain paragraph/list wrappers from the Backoffice editor. */
.landing-slide .hero-title > :first-child,
.landing-slide .hero-subtitle > :first-child {
  margin-top: 0;
}

.landing-slide .hero-title > :last-child,
.landing-slide .hero-subtitle > :last-child {
  margin-bottom: 0;
}

.landing-slide .hero-title p,
.landing-slide .hero-title h1,
.landing-slide .hero-title h2,
.landing-slide .hero-title h3,
.landing-slide .hero-title h4,
.landing-slide .hero-title h5,
.landing-slide .hero-title h6,
.landing-slide .hero-subtitle p {
  font: inherit;
  line-height: inherit;
}

.landing-slide .hero-subtitle ul,
.landing-slide .hero-subtitle ol {
  margin: 0;
  padding-left: 1.25rem;
}

.hero-controls {
  position: absolute;
  left: max(5vw, 24px);
  bottom: 42px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-pagination {
  position: static;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-pause-toggle {
  border: 1px solid rgba(212, 170, 59, 0.58);
  background: rgba(49, 20, 13, 0.58);
  color: #f7e5c3;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero-pause-toggle:hover,
.hero-pause-toggle:focus-visible {
  background: rgba(80, 30, 18, 0.74);
  border-color: rgba(212, 170, 59, 0.82);
  color: #fff2d1;
}

.hero-pause-toggle.is-paused {
  background: rgba(25, 55, 37, 0.58);
  border-color: rgba(104, 196, 142, 0.64);
}

.hero-pause-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  transform: scale(1.2);
  background: var(--gold);
}

.hero-carousel-help {
  position: absolute;
  right: max(5vw, 24px);
  bottom: 42px;
  z-index: 3;
  color: rgba(250, 248, 244, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a.active,
.mobile-link.active {
  color: var(--gold) !important;
}

@media (max-width: 1100px) {
  .hero-slide-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .landing-slide .hero-inner {
    padding: 76px max(5vw, 20px) 136px;
  }

  .landing-slide .hero-subtitle {
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
  }

  .hero-arrow {
    top: auto;
    bottom: 92px;
    transform: none;
  }

  .hero-arrow:hover {
    transform: scale(1.05);
  }

  .hero-arrow-prev { left: max(5vw, 20px); }
  .hero-arrow-next { right: max(5vw, 20px); }

  .hero-controls {
    left: max(5vw, 20px);
    right: max(5vw, 20px);
    bottom: 56px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-pagination {
    gap: 8px;
  }

  .hero-pause-toggle {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .hero-carousel-help {
    display: none;
  }

  .hero-scroll {
    bottom: 14px;
  }
}


.hero-showcase-card,
.hero-showcase-media,
.hero-showcase-copy {
  display: none !important;
}

/* Shared user-facing phone display: flag + national number, never raw country-code text. */
.phone-display,
.account-phone-display {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}

.phone-display-flag,
.account-phone-flag {
  font-size: 1.05em;
  line-height: 1;
}


/* ─── Public .env palette override ───────────────────────────────────────────
   These selectors intentionally come last. Older public CSS contains a few
   legacy hero literals; the public palette must win when this project is copied
   to another brand. */
#hero,
#hero.landing-carousel {
  background: linear-gradient(
    135deg,
    var(--public-color-hero-dark) 0%,
    var(--public-color-hero-mid) 52%,
    var(--public-color-hero-end) 100%
  );
}

.hero-pattern,
.hero-media {
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--public-color-gold-rgb), .26) 0%, rgba(var(--public-color-gold-rgb), .06) 22%, transparent 46%),
    linear-gradient(135deg, var(--public-color-hero-dark) 0%, var(--public-color-hero-mid) 60%, var(--public-color-hero-end) 100%);
}

.hero-media::after {
  background: linear-gradient(135deg, rgba(var(--public-color-hero-dark-rgb), .26) 0%, rgba(var(--public-color-hero-dark-rgb), .10) 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(var(--public-color-hero-dark-rgb), .72) 0%, rgba(var(--public-color-hero-dark-rgb), .43) 48%, rgba(var(--public-color-hero-dark-rgb), .16) 100%),
    linear-gradient(180deg, rgba(var(--public-color-hero-dark-rgb), .04) 0%, rgba(var(--public-color-hero-dark-rgb), .34) 100%);
}

.hero-title,
.hero-showcase-copy h2 {
  color: var(--public-color-hero-text);
}

.hero-subtitle,
.hero-showcase-copy p,
.hero-carousel-help,
.hero-scroll {
  color: rgba(var(--public-color-hero-text-rgb), .86);
}

.hero-subtitle {
  border-left-color: rgba(var(--public-color-gold-rgb), .88);
  background: linear-gradient(90deg, rgba(var(--public-color-hero-dark-rgb), .58) 0%, rgba(var(--public-color-hero-dark-rgb), .34) 72%, transparent 100%);
}

.hero-eyebrow,
.hero-showcase-label {
  background: rgba(var(--public-color-gold-rgb), .18);
  border-color: rgba(var(--public-color-gold-rgb), .32);
}

.hero-eyebrow::before {
  box-shadow: 0 0 0 4px rgba(var(--public-color-gold-rgb), .20);
}

.hero-logo-ring {
  background: rgba(var(--public-color-gold-rgb), .08);
  border-color: rgba(var(--public-color-gold-rgb), .25);
  box-shadow: 0 0 0 18px rgba(var(--public-color-gold-rgb), .05), 0 0 80px rgba(var(--public-color-gold-rgb), .12);
}

.hero-logo-img {
  filter: drop-shadow(0 4px 24px rgba(var(--public-color-gold-rgb), .35));
}

.hero-showcase-media {
  background-image: linear-gradient(135deg, var(--public-color-hero-dark) 0%, var(--public-color-hero-mid) 100%);
}

.hero-pause-toggle {
  border-color: rgba(var(--public-color-gold-rgb), .58);
  background: rgba(var(--public-color-hero-dark-rgb), .62);
  color: color-mix(in srgb, var(--public-color-gold) 38%, white);
}

.hero-pause-toggle:hover,
.hero-pause-toggle:focus-visible {
  background: rgba(var(--public-color-hero-dark-rgb), .80);
  border-color: rgba(var(--public-color-gold-rgb), .82);
  color: var(--public-color-hero-text);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-add:hover,
.btn-save-cust:hover,
.checkout-btn:hover,
.reserve-primary:hover,
.menu-reserve-btn:hover {
  background: var(--public-color-support-dark);
  box-shadow: 0 8px 24px rgba(var(--public-color-primary-rgb), .30);
}

.skel {
  background: linear-gradient(90deg, var(--bg2) 25%, rgba(var(--public-color-primary-rgb), .06) 50%, var(--bg2) 75%);
}
