/* ═══════════════════════════════════════════════════════════════
   Anita's Public Site — site.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design tokens ────────────────────────────────────────────── */
:root {
  --bg: #faf8f4;
  --bg2: #f3eee6;
  --card: #ffffff;
  --ink: #1a1108;
  --ink2: #5c4a32;
  --muted: #9b8570;
  --accent: #8b1a1a;
  --gold: #c49a22;
  --gold-lt: #f5e6b0;
  --border: rgba(139, 26, 26, 0.12);
  --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;
}
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: rgba(250, 248, 244, 0.92);
  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 {
  color: var(--accent);
}
.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: #6b1414;
  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);
}
.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,
    #1a0808 0%,
    #3b1010 40%,
    #5c2a14 70%,
    #7b3b1a 100%
  );
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(196, 154, 34, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(139, 26, 26, 0.3) 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(196, 154, 34, 0.15);
  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.65);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.8);
}
.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: #6b1414;
  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: #6b1414;
  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: #6b1414;
}
.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: #6b1414;
  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: #6b1414;
  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: #6b1414;
}
.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: #6b1414;
}
.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: #6b1414;
  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: #f3eee6; 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);
  }
}
