/* ============================================================
   The Pointe Cafe — NPC-matched theme
   Matches npchristian.org design language:
     - Barlow Condensed (closest free match to NPC's "rift" font)
     - Deep navy #001641 ground
     - Gold #c9a227 accent (NPC uses gold outlines on stats)
     - Light blue #4a90d9 (NPC's "lblue")
     - White and off-white
     - Zero border-radius on structural elements
     - Sharp, institutional, confident
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* NPC brand */
  --navy:        #001641;
  --navy-mid:    #0d2352;
  --navy-light:  #1a3568;
  --lblue:       #4a90d9;
  --gold:        #c9a227;
  --gold-light:  #e8bc3a;

  /* Neutrals */
  --white:      #ffffff;
  --off-white:  #f5f5f3;
  --gray-light: #e8e8e5;
  --gray:       #9a9a95;
  --ink:        #001641;
  --ink-soft:   #2a3a5e;

  /* Text on dark */
  --on-dark:   #ffffff;
  --on-dark-2: rgba(255,255,255,0.65);

  /* Borders */
  --border:      rgba(0,22,65,0.12);
  --border-dark: rgba(255,255,255,0.14);

  /* Type — Barlow Condensed mirrors NPC's rift condensed slab */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  /* Scale */
  --f-xs:   0.75rem;
  --f-sm:   0.875rem;
  --f-base: 1rem;
  --f-md:   1.0625rem;
  --f-lg:   1.25rem;
  --f-xl:   1.625rem;
  --f-2xl:  2.25rem;
  --f-3xl:  3rem;
  --f-4xl:  4.5rem;
  --f-hero: clamp(3.5rem, 8vw, 6.5rem);

  /* Space */
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* NPC uses zero border radius on almost everything */
  --r: 0px;
  --r-pill: 2px; /* slight chamfer only for inputs */

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t: 180ms var(--ease);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--f-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--s6);
}

.section { padding-block: var(--s9); }

/* ── Section typography — matches NPC's headline pattern ─────── */
.section-head {
  margin-bottom: var(--s7);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-3xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
  /* NPC pattern: small span above, big word below */
}

.section-heading span {
  display: block;
  font-size: var(--f-xl);
  font-weight: 600;
  color: var(--lblue);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.section-heading.light { color: var(--white); }
.section-heading.light span { color: var(--gold-light); }

.section-body {
  font-size: var(--f-md);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.7;
  margin-top: var(--s4);
}

.section-body.light { color: var(--on-dark-2); }

/* ── Buttons — NPC uses no border-radius, clean outlined style ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 32px;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), transform 140ms var(--ease);
  line-height: 1.1;
  text-align: center;
}

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }

/* Gold fill — NPC's primary action color */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* Navy fill */
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

/* Outline navy — NPC's secondary style */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Outline white — on dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ── Header — matches NPC's dark sticky nav ─────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--t);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity var(--t);
}
.nav-logo:hover img { opacity: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: var(--s2) var(--s3);
  transition: color var(--t);
  letter-spacing: 0.02em;
}

.nav-links a:not(.nav-cta):hover { color: var(--white); }

/* NPC's nav CTA button — exact match */
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 22px !important;
  border: 1px solid var(--gold);
  transition: background var(--t), border-color var(--t) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; border-color: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.85);
  transition: transform 250ms var(--ease), opacity 150ms;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border-dark);
  transition: max-height 350ms var(--ease);
}
.mobile-menu.open { max-height: 340px; }

.mobile-link {
  display: block;
  padding: 15px var(--s6);
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--t), background var(--t);
  letter-spacing: 0.03em;
}
.mobile-link:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.mobile-cta { color: var(--gold) !important; font-weight: 700; }

/* ── Hero — NPC's full-bleed dark section with big display type ─ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-block: 110px 100px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s7);
}

/* Mustang — big, punchy, right side of hero */
.hero-mascot {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mustang-img {
  width: clamp(240px, 26vw, 380px);
  height: auto;
  display: block;
  /* Authentic NPC royal blue & athletic gold colors with rich shadow */
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.45));
  border-radius: 50%;
  transition: transform var(--t);
}

.mustang-img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.hero-text {
  max-width: 700px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: var(--s4);
  /* NPC uses this exact pattern — small label above big heading */
}

/* NPC headline pattern: small <span> above the big word */
.hero-heading {
  font-family: var(--font-display);
  font-size: var(--f-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--s5);
}

.hero-heading span {
  display: block;
  font-size: 42%;
  font-weight: 600;
  color: var(--on-dark-2);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hero-body {
  font-size: var(--f-md);
  color: var(--on-dark-2);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--s6);
}

.hero-actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  align-items: center;
}

/* ── Hours ──────────────────────────────────────────────────── */
.hours-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--s7);
  align-items: start;
}

/* Table — NPC's clean tabular data style */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--f-base);
}

.hours-table thead tr {
  border-bottom: 2px solid var(--navy);
}

.hours-table thead th {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left;
  padding: var(--s2) var(--s4) var(--s3);
}

.hours-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.hours-table tbody tr:hover { background: rgba(74,144,217,0.05); }
.hours-table tbody tr:last-child { border-bottom: none; }

.hours-table tbody td {
  padding: 13px var(--s4);
  color: var(--ink-soft);
  font-size: var(--f-sm);
  vertical-align: middle;
}

.hours-table tbody td:first-child {
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.hours-table tbody td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--lblue);
  white-space: nowrap;
}

/* Bookend rows (before/after school) — NPC's gold accent treatment */
.row-bookend { background: rgba(201,162,39,0.07); }
.row-bookend td:first-child { color: var(--gold) !important; }
.row-bookend td:nth-child(2) { color: var(--gold) !important; }
.row-bookend:hover { background: rgba(201,162,39,0.12) !important; }

.table-footnote {
  margin-top: var(--s4);
  font-size: var(--f-xs);
  color: var(--gray);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
}

/* Sidebar blocks */
.hours-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.sidebar-block {
  background: var(--navy);
  color: var(--on-dark);
  padding: var(--s5) var(--s5) var(--s5);
}

.sidebar-label {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s3);
}

.sidebar-block h3 {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s3);
  line-height: 1.1;
}

.sidebar-block p {
  font-size: var(--f-sm);
  color: var(--on-dark-2);
  margin-bottom: var(--s4);
  line-height: 1.65;
}

.sidebar-block .btn { width: 100%; justify-content: center; display: block; }

.sidebar-block--light {
  background: var(--off-white);
  border: 1px solid var(--border);
}
.sidebar-block--light .sidebar-label { color: var(--lblue); }
.sidebar-block--light h3 { color: var(--navy); }
.sidebar-block--light p { color: var(--ink-soft); }

/* ── Contact — dark section matching NPC's CTA sections ──────── */
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--s8);
  align-items: start;
}

.contact-detail {
  margin-top: var(--s5);
}

.contact-label {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: var(--s2);
}

.contact-person-name {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0;
}
.contact-person-role {
  display: block;
  font-size: var(--f-xs);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 3px;
  text-transform: uppercase;
}

.contact-email-link {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 600;
  color: var(--white);
  transition: color var(--t);
  letter-spacing: 0.01em;
}
.contact-email-link:hover { color: var(--gold-light); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.field label {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.req { color: var(--gold-light); margin-left: 2px; }

.field input,
.field textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  padding: 12px 14px;
  font-size: var(--f-base);
  color: var(--white);
  line-height: 1.5;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.2); }

.field input:hover,
.field textarea:hover { border-color: rgba(255,255,255,0.35); }

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.2);
}

.field input.has-error,
.field textarea.has-error { border-color: #e07070; box-shadow: 0 0 0 2px rgba(224,112,112,0.18); }

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

.field-err { font-size: var(--f-xs); color: #f0a0a0; min-height: 1em; }

.form-footer { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }

.btn-spin svg { animation: spin 0.75s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: var(--f-sm); font-weight: 600; font-family: var(--font-display); letter-spacing: 0.03em; }
.form-status.ok  { color: #7dd68a; }
.form-status.err { color: #f0a0a0; }

/* ── Footer — matches NPC footer ────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding-block: var(--s7) var(--s6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}

.footer-logo-link img {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--t);
}
.footer-logo-link:hover img { opacity: 1; }

.footer-tagline {
  font-size: var(--f-xs);
  color: rgba(255,255,255,0.45);
  margin-top: var(--s2);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--white); }
.footer-nav a.footer-staff-link {
  color: var(--gold);
  opacity: 0.85;
}
.footer-nav a.footer-staff-link:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-bottom-bar {
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--f-xs);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.designer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--f-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.designer-credit .credit-label {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.designer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all var(--t);
  cursor: pointer;
}

.designer-badge svg {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--t), color var(--t);
}

.designer-badge .ext-icon {
  opacity: 0.7;
  margin-left: 1px;
}

.designer-badge:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

.designer-badge:hover svg {
  color: var(--navy);
}

.designer-badge:hover .ext-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}


/* ── Menu Section ───────────────────────────────────────────── */
.menu-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
  border-bottom: 2px solid var(--navy);
  padding-bottom: var(--s4);
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.menu-filter-btn {
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--off-white);
  cursor: pointer;
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.menu-filter-btn .btn-count {
  font-size: var(--f-xs);
  background: rgba(0, 22, 65, 0.08);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  font-weight: 700;
}

.menu-filter-btn:hover {
  background: var(--gray-light);
  color: var(--navy);
}

.menu-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.menu-filter-btn.active .btn-count {
  background: var(--gold);
  color: var(--navy);
}

/* View Switcher */
.menu-view-switcher {
  display: inline-flex;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 3px;
  gap: 2px;
}

.view-btn {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid transparent;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: all var(--t);
}

.view-btn:hover {
  color: var(--navy);
}

.view-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

[hidden] {
  display: none !important;
}

.menu-grid.hidden,
.menu-grid[hidden],
.menu-board.hidden,
.menu-board[hidden] {
  display: none !important;
}

/* ── Uniform Cards Grid ─────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s8);
}

.menu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 22, 65, 0.1);
  border-color: rgba(0, 22, 65, 0.3);
}

.menu-card.hidden {
  display: none !important;
}

.menu-card-media {
  height: 200px;
  width: 100%;
  background: var(--off-white);
  overflow: hidden;
  position: relative;
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease);
  display: block;
}

.menu-card:hover .menu-card-media img {
  transform: scale(1.05);
}

.media-price-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: 0.03em;
  padding: 4px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 22, 65, 0.88);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-card-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-cat-label {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lblue);
}

.card-temp-tag {
  font-size: var(--f-xs);
  color: var(--ink-soft);
  font-weight: 500;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: var(--f-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--s4);
  flex-grow: 1;
  min-height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}

.item-tag {
  font-size: var(--f-xs);
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 2px 8px;
  font-family: var(--font-body);
  font-weight: 500;
}

.menu-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
}

.menu-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--t);
}

.menu-card-action svg {
  transition: transform var(--t);
}

.menu-card-action:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.menu-card-action:hover svg {
  transform: translateX(4px);
}

/* ── Uniform Menu Board View ────────────────────────────────── */
.menu-board {
  display: flex;
  flex-direction: column;
  gap: var(--s7);
  margin-bottom: var(--s8);
}

.board-category-section {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.board-category-section.hidden {
  display: none !important;
}

.board-cat-header {
  background: var(--navy);
  color: var(--white);
  padding: var(--s4) var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--gold);
}

.board-cat-title {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.board-cat-subtitle {
  font-size: var(--f-sm);
  color: var(--on-dark-2);
  margin-top: 3px;
}

.board-cat-badge {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.board-items-list {
  display: flex;
  flex-direction: column;
}

.board-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--s6);
  border-bottom: 1px solid var(--border);
  gap: var(--s5);
  transition: background var(--t);
}

.board-item-row:last-child {
  border-bottom: none;
}

.board-item-row:hover {
  background: rgba(74, 144, 217, 0.04);
}

.board-item-left {
  flex: 1;
  min-width: 0;
}

.board-item-header {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.board-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-lg);
  color: var(--navy);
  letter-spacing: 0.01em;
}

.board-item-temp {
  font-size: var(--f-xs);
  color: var(--lblue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.board-item-badge {
  font-size: var(--f-xs);
  background: rgba(201, 162, 39, 0.15);
  color: #8c6d10;
  padding: 1px 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-item-desc {
  font-size: var(--f-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.board-item-right {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-shrink: 0;
}

.board-item-dots {
  display: none;
}

.board-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-xl);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  min-width: 50px;
  text-align: right;
}

.board-order-link {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  text-decoration: none;
  transition: all var(--t);
  letter-spacing: 0.03em;
}

.board-order-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ── Customization Bar ──────────────────────────────────────── */
.menu-custom-bar {
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--gold);
  padding: var(--s7) var(--s6);
  margin-top: var(--s7);
  margin-bottom: var(--s7);
}

.custom-bar-header {
  margin-bottom: var(--s6);
  max-width: 650px;
}

.custom-bar-eyebrow {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.custom-bar-title {
  font-family: var(--font-display);
  font-size: var(--f-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--s2);
}

.custom-bar-text {
  font-size: var(--f-md);
  color: var(--on-dark-2);
  line-height: 1.6;
}

.custom-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s6);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--s5);
}

.custom-col h4 {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--s2);
  letter-spacing: 0.02em;
}

.custom-col p {
  font-size: var(--f-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* 28 Syrups Showcase */
.custom-col-syrups {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: var(--s6);
  margin-bottom: var(--s2);
}

.syrup-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.syrup-count-badge {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.syrup-col-sub {
  font-size: var(--f-sm);
  color: var(--on-dark-2);
  margin-bottom: var(--s4) !important;
}

.syrup-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.syrup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  transition: all var(--t);
  letter-spacing: 0.02em;
}

.syrup-chip:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.chip-price {
  font-size: var(--f-xs);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold-light);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  transition: all var(--t);
}

.syrup-chip:hover .chip-price {
  background: var(--navy);
  color: var(--white);
}

/* Callout */
.menu-footer-callout {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  padding: var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
}

.callout-content h3 {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.callout-content p {
  font-size: var(--f-base);
  color: var(--ink-soft);
}

.callout-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

.callout-actions .btn-outline-white {
  color: var(--navy);
  border-color: var(--border);
}

.callout-actions .btn-outline-white:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hours-layout { grid-template-columns: 1fr; }
  .hours-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --s9: 64px; }
  .container { padding-inline: var(--s5); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero { padding-block: 72px 60px; }
  .hero-bg-text { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mascot { display: none; }
  .section-heading { font-size: var(--f-2xl); }
  .section-heading span { font-size: var(--f-lg); }
  .menu-controls { flex-direction: column; align-items: stretch; gap: var(--s3); }
  .menu-view-switcher { align-self: flex-start; }
  .board-item-row { flex-direction: column; align-items: flex-start; padding: 14px var(--s4); gap: var(--s3); }
  .board-item-right { width: 100%; justify-content: space-between; padding-top: var(--s2); border-top: 1px dashed var(--border); }
  .board-cat-header { padding: var(--s3) var(--s4); }
  .board-cat-title { font-size: var(--f-xl); }
  .hours-sidebar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .site-footer { padding-bottom: 96px; }
  .footer-copy { white-space: normal; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   POINTE CAFE SHOPPING CART & SQUARE CHECKOUT STYLES
   Matches NorthPointe Christian Brand Identity
   ============================================================ */

/* ── Nav Cart Trigger & Count Badges ────────────────────────── */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--f-md);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--t);
  position: relative;
}
.nav-cart-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
}

.cart-count-badge {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  line-height: 1.2;
}

/* ── Floating Mobile / Sticky Cart Pill ───────────────────────
   Only displayed on mobile (< 680px) where the desktop sticky nav
   cart button is hidden inside the hamburger menu.
   Hidden on desktop so it never covers the footer designer credit.
───────────────────────────────────────────────────────────────── */
.floating-cart-pill {
  display: none !important;
}

@media (max-width: 680px) {
  .floating-cart-pill {
    display: flex !important;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 99;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 8px 30px rgba(0, 22, 65, 0.45);
    padding: 10px 18px;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  .floating-cart-pill.hidden,
  .floating-cart-pill[hidden] {
    display: none !important;
  }
}
.floating-cart-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 22, 65, 0.55);
  background: var(--navy-mid);
}
.floating-cart-pill.bump, .nav-cart-btn.bump {
  animation: bumpAnim 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes bumpAnim {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.pill-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.pill-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  border: 1px solid var(--navy);
}
.pill-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.pill-count {
  font-size: var(--f-xs);
  color: var(--on-dark-2);
  font-family: var(--font-body);
}
.pill-total {
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 700;
  color: var(--gold-light);
}
.pill-action {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Menu Card & Board View Action Buttons ──────────────────── */
.menu-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.menu-card-add-btn {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  letter-spacing: 0.04em;
  transition: all var(--t);
  cursor: pointer;
}
.menu-card-add-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.menu-card-square-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--f-xs);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
}
.menu-card-square-link:hover {
  background: var(--gray-light);
  color: var(--navy);
  border-color: rgba(0, 22, 65, 0.25);
}

/* Board Add Button */
.board-add-btn {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.board-add-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ── Modals Framework ───────────────────────────────────────── */
.cafe-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  padding: 16px;
}
.cafe-modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 22, 65, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 22, 65, 0.35);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}
.cafe-modal.open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-dialog-lg {
  max-width: 840px;
}

.modal-header {
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}
.modal-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-badge {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.modal-title {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.modal-close-btn {
  color: rgba(255, 255, 255, 0.75);
  padding: 4px;
  cursor: pointer;
  transition: color var(--t);
}
.modal-close-btn:hover {
  color: var(--white);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-item-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
}
.modal-img-wrap {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-desc {
  font-size: var(--f-sm);
  color: var(--ink-soft);
  line-height: 1.5;
}

.modal-section-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-section-sub {
  font-size: var(--f-xs);
  color: var(--gray);
  margin-top: -4px;
  margin-bottom: 8px;
}

.modal-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.custom-radio-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--f-sm);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
}
.custom-radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.custom-radio-chip:hover {
  background: var(--gray-light);
  border-color: rgba(0, 22, 65, 0.3);
}
.custom-radio-chip.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.custom-radio-chip.disabled {
  opacity: 0.4;
  pointer-events: none;
  text-decoration: line-through;
}

/* Syrups header with filter */
.modal-syrup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}
.syrup-search-wrap input {
  font-family: var(--font-body);
  font-size: var(--f-xs);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 140px;
  background: var(--off-white);
}
.syrup-search-wrap input:focus {
  outline: 2px solid var(--gold);
  background: var(--white);
}

.modal-syrups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 2px;
}
.syrup-checkbox-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
  font-size: var(--f-xs);
}
.syrup-checkbox-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.syrup-checkbox-chip:hover {
  background: var(--gray-light);
  border-color: rgba(0, 22, 65, 0.25);
}
.syrup-checkbox-chip.checked {
  background: rgba(201, 162, 39, 0.14);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.syrup-cost {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--lblue);
  background: rgba(74, 144, 217, 0.1);
  padding: 1px 4px;
}
.syrup-checkbox-chip.checked .syrup-cost {
  color: var(--navy);
  background: var(--gold);
}

/* Extras chips */
.extra-checkbox-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--f-sm);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
}
.extra-checkbox-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.extra-checkbox-chip:hover {
  background: var(--gray-light);
}
.extra-checkbox-chip.checked {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy);
}
.extra-cost {
  font-size: var(--f-xs);
  color: var(--gold-light);
  font-weight: 700;
}

#modal-item-notes {
  width: 100%;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: var(--f-sm);
  font-family: var(--font-body);
  resize: vertical;
}
#modal-item-notes:focus {
  outline: 2px solid var(--gold);
}

/* Modal Footer */
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  color: var(--navy);
}
.modal-calc-breakdown {
  font-size: var(--f-xs);
  color: var(--gray);
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Slide-Out Cart Drawer ──────────────────────────────────── */
.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 65, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.cart-scrim.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 22, 65, 0.35);
  border-left: 2px solid var(--navy);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  height: 68px;
  min-height: 68px;
  padding: 0 20px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}
.drawer-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-mascot {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
  border: 1px solid rgba(201, 162, 39, 0.4);
}
.drawer-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.drawer-title {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0;
}
.drawer-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.drawer-badge {
  background: var(--gold);
  color: var(--navy);
}
.cart-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--t);
}
.cart-close-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ── Scrollable Body ─────────────────────────────────────────── */
.drawer-scrollable {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

/* ── Empty State View ────────────────────────────────────────── */
.cart-empty-state {
  padding: 28px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-icon-wrap {
  width: 68px;
  height: 68px;
  background: rgba(201, 162, 39, 0.12);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 14px;
}
.empty-title {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.empty-text {
  font-size: var(--f-sm);
  color: var(--ink-soft);
  max-width: 34ch;
  line-height: 1.55;
  margin-bottom: 16px;
}
.empty-browse-btn {
  width: 100%;
  max-width: 260px;
  margin-bottom: 24px;
}

/* Quick Favorites box inside empty drawer */
.empty-favorites-box {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 14px;
  text-align: left;
  margin-bottom: 16px;
}
.favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.fav-eyebrow {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.fav-badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 2px 7px;
}
.empty-fav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.empty-fav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 10px;
}
.fav-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.fav-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fav-name {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.fav-price {
  font-size: var(--f-xs);
  font-weight: 700;
  color: var(--lblue);
}
.empty-fav-item .board-add-btn {
  padding: 5px 12px;
  font-size: var(--f-xs);
  flex-shrink: 0;
}

.empty-hours-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: rgba(0, 22, 65, 0.04);
  padding: 8px 12px;
  border: 1px dashed var(--border);
  text-align: left;
  line-height: 1.4;
  width: 100%;
}
.empty-hours-notice svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Active Items List ───────────────────────────────────────── */
.cart-items-list {
  padding: 16px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  position: relative;
}
.cart-item-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cart-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.cart-item-title {
  font-family: var(--font-display);
  font-size: var(--f-md);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.cart-item-remove {
  color: var(--gray);
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t);
}
.cart-item-remove:hover {
  color: #c92a2a;
}
.cart-item-custom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-block: 2px;
}
.cart-pill {
  font-size: 0.72rem;
  padding: 2px 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  line-height: 1.3;
}
.cart-pill.temp {
  color: var(--navy);
  font-weight: 700;
  background: rgba(0, 22, 65, 0.05);
}
.cart-pill.syrups {
  color: #7b5900;
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.5);
  font-weight: 600;
}
.cart-pill.milk {
  color: var(--navy);
  font-weight: 600;
}
.cart-pill.note {
  font-style: italic;
  color: var(--ink-soft);
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 22, 65, 0.1);
}
.cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--white);
}
.stepper-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--t);
}
.stepper-btn:hover {
  background: var(--off-white);
}
.stepper-val {
  min-width: 26px;
  text-align: center;
  font-weight: 600;
  font-size: var(--f-sm);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-md);
  color: var(--navy);
}

/* ── Delivery Card & Totals in Scroll Area ───────────────────── */
.cart-footer-section {
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-pickup-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 14px 16px;
}
.pickup-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.pickup-form-title {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.pickup-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1px 6px;
}
.pickup-form-sub {
  font-size: var(--f-xs);
  color: var(--gray);
  margin-bottom: 10px;
}
/* Fulfillment Toggle (Counter Pickup vs Classroom Delivery) */
.fulfillment-toggle-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.fulfillment-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
  text-align: center;
}
.fulfillment-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fulfillment-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fulfillment-chip:hover {
  background: var(--off-white);
  border-color: rgba(0, 22, 65, 0.3);
}
.fulfillment-chip.active {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}
.fulfillment-chip.active svg {
  stroke: var(--gold);
}

#classroom-delivery-fields {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pickup-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.school-toggle-group {
  display: flex;
  gap: 8px;
}
.school-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-sm);
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
}
.school-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.school-chip:hover {
  background: var(--off-white);
  border-color: rgba(0, 22, 65, 0.3);
}
.school-chip.active {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}
.pickup-field {
  margin-bottom: 8px;
}
.pickup-field label {
  display: block;
  font-size: var(--f-xs);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.pickup-field .req {
  color: #c92a2a;
}
.pickup-field input,
.pickup-field select {
  width: 100%;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: var(--f-sm);
  border: 1px solid var(--border);
  background: var(--white);
}
.pickup-field input:focus,
.pickup-field select:focus {
  outline: 2px solid var(--gold);
}
.pickup-field input.has-error {
  border-color: #c92a2a;
  background: #fff5f5;
}

.cart-totals-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--f-xs);
  color: var(--ink-soft);
}
.cart-total-row.grand-total {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 700;
  color: var(--navy);
  padding-top: 5px;
  border-top: 1px dashed var(--border);
  margin-top: 2px;
}

/* ── Sticky Checkout Bar ─────────────────────────────────────── */
.cart-sticky-checkout {
  padding: 12px 20px 16px;
  background: var(--white);
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 22, 65, 0.08);
  flex-shrink: 0;
}
.btn-checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: var(--f-md);
}
.checkout-pill-price {
  background: var(--navy);
  color: var(--gold-light);
  padding: 2px 8px;
  font-size: var(--f-sm);
  letter-spacing: 0.02em;
}
.cart-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--gray);
}

/* ── Square Preview & Sandbox Setup Modal ───────────────────── */
.preview-modal-body {
  padding: 20px;
  overflow-y: auto;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}
.preview-receipt-card {
  background: #fdfdfc;
  border: 1px solid var(--border);
  padding: 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 22, 65, 0.05);
}
.receipt-school {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.receipt-store {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.receipt-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.76rem;
  margin-bottom: 10px;
}
.receipt-divider {
  border-bottom: 1px dashed var(--gray);
  margin-block: 10px;
}
.receipt-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}
.receipt-item-main {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.receipt-item-qty {
  margin-right: 6px;
}
.receipt-item-title {
  flex: 1;
}
.receipt-item-mods {
  font-size: 0.7rem;
  color: var(--ink-soft);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
}
.receipt-totals {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
}
.receipt-row.total {
  font-weight: 700;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 4px;
  margin-top: 4px;
}

.preview-guide-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.square-spot-banner {
  background: var(--navy);
  color: var(--white);
  padding: 16px;
  border-left: 4px solid var(--gold);
}
.banner-badge {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.square-spot-banner h4 {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 700;
  margin-bottom: 6px;
}
.square-spot-banner p {
  font-size: var(--f-xs);
  color: var(--on-dark-2);
  line-height: 1.5;
  margin-bottom: 10px;
}
.code-spot-box {
  background: #000c24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 12px;
  font-family: monospace;
  font-size: 0.75rem;
  color: #8ed0ff;
  position: relative;
  line-height: 1.45;
}
.file-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 1px 6px;
  margin-bottom: 6px;
}
.code-hl {
  color: var(--gold-light);
  font-weight: 700;
}
.code-note {
  font-size: 0.72rem;
  color: var(--on-dark-2);
  margin-top: 8px;
}
.code-note code {
  color: var(--gold-light);
}

.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-block {
  width: 100%;
}
.preview-sub-actions {
  display: flex;
  gap: 8px;
}
.preview-sub-actions .btn {
  flex: 1;
  font-size: var(--f-xs);
  padding: 8px 12px;
}

/* Order Confirmed Banner */
.order-confirmed-banner {
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2b8a3e;
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.order-id {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  color: var(--navy);
}
.order-id strong {
  color: var(--lblue);
  background: rgba(74, 144, 217, 0.1);
  padding: 2px 8px;
}
.confirm-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 16px 20px;
  max-width: 480px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--f-sm);
}
.pickup-instruction {
  margin-top: 6px;
  font-size: var(--f-xs);
  color: var(--ink-soft);
  border-top: 1px dashed var(--border);
  padding-top: 6px;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Toast */
.cafe-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 22, 65, 0.3);
  font-size: var(--f-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 220ms ease;
}
.cafe-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.toast-cart-btn {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-xs);
  padding: 3px 10px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background var(--t);
}
.toast-cart-btn:hover {
  background: var(--gold-light);
}

body.modal-open, body.drawer-open {
  overflow: hidden;
}

/* ── Suppress Netlify Deploy Preview Drawer & Injected Badges ── */
#netlify-drawer-root,
.netlify-badge,
[data-netlify-badge],
[data-netlify-deploy-preview-drawer],
div[id^="netlify-drawer"],
iframe[src*="netlify.com"],
iframe[title*="Netlify"],
div[class*="netlify-drawer"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  z-index: -9999 !important;
}

