/* Buc-ee's Menu & Travel Guide - High Performance Stylesheet */
:root {
  /* Exact Logo Color Palette */
  --primary: #CC082C;        /* Buc-ee's Iconic Logo Crimson Red */
  --primary-hover: #A30623;  /* Darker crimson red for hover states */
  --primary-light: #FDF2F4;  /* Soft crimson wash for badges/cards */
  --red-primary: #CC082C;
  --red-hover: #A30623;
  --accent: #FCD804;         /* Buc-ee's Logo Golden Yellow */
  --accent-yellow: #FCD804;
  --accent-hover: #E5C303;
  --accent-light: #FEF9C3;   /* Soft warm yellow highlight */
  --accent-dark: #78350F;
  --beaver-brown: #8C4C00;   /* Buc-ee's Beaver Fur Brown */
  --dark: #111827;           /* Deep outline charcoal/black */
  --dark-soft: #1F2937;
  --gray-muted: #6B7280;
  --gray-border: #E5E7EB;
  --gray-light: #F9FAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --success-light: #ECFDF5;
  --warning: #FCD804;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: #f8fafc;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Live Kitchen Bar */
.live-status-bar {
  background: linear-gradient(90deg, #111827, #1F2937);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  border-bottom: 3px solid var(--accent-yellow);
}
.live-status-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.countdown-badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent-yellow);
}

/* Header & Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.site-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease;
}
.brand-logo:hover .site-logo-img {
  transform: rotate(-3deg) scale(1.08);
}
.logo-icon {
  background: var(--accent-yellow);
  color: var(--dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.brand-text span {
  color: var(--primary);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  text-decoration: none;
  color: var(--dark-soft);
  font-weight: 600;
  font-size: 0.925rem;
  transition: color 0.15s ease;
  padding: 0.5rem 0.25rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.order-btn-trigger {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}
.order-btn-trigger:hover {
  background: var(--primary-hover);
}
.cart-count {
  background: var(--accent-yellow);
  color: var(--dark);
  border-radius: 9999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gray-border);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Hero Section */
.hero, .hero-section {
  background: linear-gradient(135deg, #FEF9C3 0%, #FFFFFF 50%, #FDF2F4 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--gray-border);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid #FCD804;
  border-radius: 9999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 900px;
}
.hero-title span {
  color: var(--primary);
  background: linear-gradient(120deg, #CC082C, #A30623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--dark-soft);
  max-width: 780px;
  margin-bottom: 1.75rem;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-muted);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Quick Category Navigation Bar */
.category-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  margin-bottom: 1.5rem;
}
.category-nav-scroll::-webkit-scrollbar {
  height: 4px;
}
.category-nav-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-border);
  border-radius: 4px;
}
.cat-pill {
  white-space: nowrap;
  text-decoration: none;
  background: var(--white);
  color: var(--dark-soft);
  border: 1px solid var(--gray-border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  cursor: pointer;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.cat-pill .count {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
}
.cat-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* Search & Filters Section */
.search-filter-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.search-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-muted);
}
.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fdfdfd;
  transition: border 0.15s;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 27, 36, 0.1);
}
.dietary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.filter-chip {
  background: #f3f4f6;
  border: 1px solid transparent;
  color: var(--dark-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover {
  background: #e5e7eb;
}
.filter-chip.active {
  background: #fef2f2;
  color: var(--primary);
  border-color: #fca5a5;
}

/* Quick Feature Highlights */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 2rem;
  line-height: 1;
  background: var(--accent-light);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
}
.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.card-body p {
  font-size: 0.875rem;
  color: var(--gray-muted);
}

/* Menu Table Styling */
.table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}
.menu-table th {
  background: #f8fafc;
  color: var(--dark-soft);
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  border-bottom: 2px solid var(--gray-border);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.menu-table td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.menu-table tbody tr {
  content-visibility: auto;
  contain-intrinsic-size: 52px;
}
.menu-table tr:last-child td {
  border-bottom: none;
}

/* LLM & AI Agent Direct Answer Callout */
.quick-facts-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.quick-facts-box strong {
  color: #166534;
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.quick-fact-item {
  display: flex;
  flex-direction: column;
}
.quick-fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.04em;
}
.quick-fact-val {
  font-weight: 700;
  color: var(--dark);
}
.menu-table tr:hover {
  background: #fbfcfe;
}
.item-name-cell {
  font-weight: 600;
  color: var(--dark);
}
.item-badge {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.item-cat-badge {
  display: inline-block;
  background: #f3f4f6;
  color: var(--dark-soft);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
}
.price-tag {
  font-weight: 800;
  color: #047857;
  font-size: 0.975rem;
}
.cal-tag {
  color: var(--gray-muted);
  font-size: 0.875rem;
}
.diet-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.25rem;
  margin-bottom: 0.2rem;
}
.add-order-btn {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.add-order-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Order Calculator Modal / Drawer */
.order-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.order-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.order-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  z-index: 100;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.order-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.drawer-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.close-drawer-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-muted);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}
.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.order-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: #fafafa;
}
.order-item-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.order-item-info p {
  font-size: 0.775rem;
  color: var(--gray-muted);
}
.order-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.qty-btn {
  background: var(--white);
  border: 1px solid var(--gray-border);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}
.qty-num {
  font-weight: 700;
  font-size: 0.875rem;
  min-width: 20px;
  text-align: center;
}
.drawer-summary {
  padding: 1.25rem;
  border-top: 1px solid var(--gray-border);
  background: #f8fafc;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  border-top: 1px dashed var(--gray-border);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
}
.summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-outline {
  background: var(--white);
  color: var(--dark-soft);
  border: 1px solid var(--gray-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
}
.btn-outline:hover {
  background: #f3f4f6;
}

/* Floating Action Calculator Button for Mobile */
.floating-order-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(217, 27, 36, 0.4);
  z-index: 30;
  cursor: pointer;
}

/* Rich Content & E-E-A-T Articles */
.content-article {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}
.content-article h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1.75rem 0 0.85rem;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.content-article h2:first-child {
  margin-top: 0;
}
.content-article h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.35rem 0 0.65rem;
  color: var(--dark-soft);
}
.content-article p {
  margin-bottom: 1.15rem;
  color: #334155;
  font-size: 1rem;
}
.content-article ul, .content-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #334155;
}
.content-article li {
  margin-bottom: 0.45rem;
}
.pro-tip-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.pro-tip-box h4 {
  color: #92400e;
  font-weight: 800;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pro-tip-box p {
  color: #78350f;
  margin: 0;
  font-size: 0.925rem;
}

/* Author Box / E-E-A-T Box */
.author-card {
  background: #f8fafc;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 2.5rem 0;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}
.author-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.author-title {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.author-bio {
  font-size: 0.875rem;
  color: var(--dark-soft);
  margin: 0;
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--gray-muted);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: #fbfcfe;
}
.faq-icon {
  transition: transform 0.2s ease;
  font-size: 1.1rem;
  color: var(--gray-muted);
}
.faq-answer {
  padding: 0 1.35rem 1.15rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Disclaimer Banner */
.disclaimer-strip {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #92400e;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand p {
  line-height: 1.6;
  max-width: 360px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Print Styling */
@media print {
  .site-header, .live-status-bar, .search-filter-box, .category-nav-scroll,
  .floating-order-btn, .order-btn-trigger, .add-order-btn, .site-footer,
  .order-drawer, .order-drawer-backdrop {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .table-wrap {
    box-shadow: none;
    border: none;
  }
  .menu-table th, .menu-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    font-size: 9pt;
  }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
  .site-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-border);
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero {
    padding: 2rem 0 1.5rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .menu-table th:nth-child(2), .menu-table td:nth-child(2),
  .menu-table th:nth-child(4), .menu-table td:nth-child(4) {
    display: none; /* Hide category and serving size on ultra-small screens */
  }
}


/* ---------------------------------------------------------
   LOCATIONS HUB & STORE FINDER TOOL STYLES
--------------------------------------------------------- */
.locator-tool-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.locator-main-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}
.state-select-wrap {
  min-width: 180px;
}
.state-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fdfdfd;
  font-weight: 600;
  color: var(--dark-soft);
  cursor: pointer;
}
.geo-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s, box-shadow 0.15s;
}
.geo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.amenity-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.amenity-btn {
  background: #f3f4f6;
  border: 1px solid transparent;
  color: var(--dark-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.amenity-btn:hover {
  background: #e5e7eb;
}
.amenity-btn.active {
  background: #fee2e2;
  color: var(--primary);
  border-color: #fca5a5;
}

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.loc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.loc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.loc-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}
.loc-num-badge {
  background: #f3f4f6;
  color: var(--gray-muted);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.loc-city-state {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.loc-address {
  font-size: 0.875rem;
  color: var(--dark-soft);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.loc-distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
}
.loc-stats-row {
  display: flex;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--gray-muted);
  border-top: 1px dashed var(--gray-border);
  border-bottom: 1px dashed var(--gray-border);
  padding: 0.6rem 0;
  margin-bottom: 0.85rem;
}
.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.loc-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--dark-soft);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.loc-tag.highlight {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.loc-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.btn-directions {
  background: #f3f4f6;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s;
}
.btn-directions:hover {
  background: #e5e7eb;
}
.btn-store-page {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s;
}
.btn-store-page:hover {
  background: var(--primary-hover);
}

/* Individual Location Page Details */
.store-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.stat-box-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--gray-muted);
  margin-bottom: 0.35rem;
}
.stat-box-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
}
.stat-box-sub {
  font-size: 0.8rem;
  color: var(--dark-soft);
  margin-top: 0.2rem;
}
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}


/* Product Image Thumbnails in Tables & Drawer */
.item-flex-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.menu-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  flex-shrink: 0;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.drawer-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Item Links in Menu Tables */
.item-title-link {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.item-title-link:hover {
  color: var(--red-primary);
  text-decoration: underline;
}
.item-thumb-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

/* Dedicated Item Detail Page Styling */
.item-detail-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(to bottom, #ffffff, #fdf8f6);
  border-bottom: 1px solid var(--gray-border);
}
.item-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (max-width: 840px) {
  .item-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.item-hero-img-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.item-hero-img {
  width: 100%;
  max-width: 440px;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  display: inline-block;
}
@media (max-width: 640px) {
  .item-hero-img {
    height: 280px;
  }
}
.item-hero-info h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.item-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.item-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.fact-box {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.fact-box .fact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.fact-box .fact-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}
.fact-box .fact-val.price {
  color: var(--red-primary);
}
.item-action-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.item-order-lg-btn {
  background: var(--red-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(211, 16, 69, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.item-order-lg-btn:hover {
  background: #b30d3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 16, 69, 0.35);
}

/* Editorial Review & Notes */
.detail-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-top: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rating-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Calorie Burn-off */
.burn-off-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.burn-card {
  background: #fdfaf6;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.burn-card .burn-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.burn-card .burn-mins {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
}
.burn-card .burn-type {
  font-size: 0.85rem;
  color: #78350f;
  font-weight: 600;
}

/* Pairings & Related */
.pairings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.pairing-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pairing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.pairing-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.pairing-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.pairing-card h4 a {
  color: var(--gray-900);
  text-decoration: none;
}
.pairing-card h4 a:hover {
  color: var(--red-primary);
  text-decoration: underline;
}
.pairing-price {
  font-weight: 700;
  color: var(--red-primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.pairing-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.5rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Interactive Road Trip Combo Planner & Calculator
   ========================================================================== */
.combo-planner-section {
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  color: var(--white);
  margin: 3rem 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.combo-planner-section::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(252, 216, 4, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.combo-planner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.combo-planner-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.combo-planner-title span {
  color: var(--accent-yellow);
}
.combo-planner-desc {
  color: #D1D5DB;
  font-size: 1.05rem;
  max-width: 780px;
  margin-bottom: 2rem;
}
.combo-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.combo-select-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}
.combo-select-card:focus-within {
  border-color: var(--accent-yellow);
}
.combo-select-card label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-yellow);
}
.combo-dropdown {
  width: 100%;
  background: #1F2937;
  color: #F9FAFB;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.combo-dropdown:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(252, 216, 4, 0.25);
}
.combo-results-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(252, 216, 4, 0.35);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.combo-stats-cluster {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.combo-stat-box {
  display: flex;
  flex-direction: column;
}
.combo-stat-lbl {
  font-size: 0.8rem;
  color: #9CA3AF;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.combo-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-yellow);
}
.combo-stat-sub {
  font-size: 0.78rem;
  color: #D1D5DB;
}
.combo-action-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.combo-action-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   First Time Visitor Must-Try Cards
   ========================================================================== */
.must-try-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}
.must-try-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.must-try-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.must-try-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.must-try-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f1f5f9;
}
.must-try-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.must-try-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.must-try-body h3 a {
  color: inherit;
  text-decoration: none;
}
.must-try-body h3 a:hover {
  color: var(--primary);
}
.must-try-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.must-try-price {
  color: var(--primary);
  font-size: 1.2rem;
}
.must-try-cal {
  color: var(--gray-muted);
  font-size: 0.9rem;
}
.must-try-body p {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Comparison Table: Buc-ee's vs Fast Food & Travel Plazas
   ========================================================================== */
.comparison-section {
  margin: 3.5rem 0;
}
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  text-align: left;
}
.comparison-table th {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.comparison-table th.bucees-col {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.95rem;
}
.comparison-table td.bucees-val {
  background: #FFFBEB;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  border-left: 2px solid var(--accent-yellow);
  border-right: 2px solid var(--accent-yellow);
}
.comparison-table tr:hover td {
  background-color: #F9FAFB;
}
.comparison-table tr:hover td.bucees-val {
  background-color: #FEF3C7;
}

/* ==========================================================================
   First-Person Field Notes Callout
   ========================================================================== */
.field-note-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF9C3 100%);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(252, 216, 4, 0.15);
}
.field-note-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.field-note-body h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.field-note-body p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Video Guide & Interactive Tour
   ========================================================================== */
.video-guide-section {
  background: linear-gradient(180deg, #111827 0%, #1F2937 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
  border: 2px solid var(--accent-yellow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.video-guide-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
}
.video-guide-header .badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.video-guide-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.video-selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.video-tab-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.video-tab-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: var(--accent-yellow);
  transform: translateY(-1px);
}
.video-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent-yellow);
  box-shadow: 0 4px 14px rgba(204, 8, 44, 0.5);
}
.video-player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  background: #000;
  margin-bottom: 1.75rem;
}
.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.video-facade[hidden] {
  display: none;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 50px;
  border-radius: 12px;
  background: #e11d24;
  color: #fff;
  font-size: 1.5rem;
  line-height: 50px;
  text-align: center;
}
.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
  background: #b9151b;
}
.video-chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.chapter-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
  user-select: none;
}
.chapter-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}
.chapter-timestamp {
  background: var(--accent-yellow);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.chapter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E5E7EB;
}

/* ==========================================================================
   Real User & Road-Tripper Reviews (Social Proof)
   ========================================================================== */
.reviews-section {
  margin: 3.5rem 0;
}
.reviews-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-badge {
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.review-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  font-style: italic;
}
.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #F3F4F6;
  padding-top: 0.75rem;
}
.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.review-author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark);
}
.review-author-info span {
  font-size: 0.8rem;
  color: var(--gray-muted);
}

/* ==========================================================================
   Interactive Location Map & Flagship Explorer
   ========================================================================== */
.home-map-section {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.map-stats-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: #F9FAFB;
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
  gap: 1rem;
}
.map-stat-col {
  text-align: center;
}
.map-stat-col .stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.map-stat-col .stat-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gray-muted);
  font-weight: 700;
}
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.flagship-card {
  background: #F9FAFB;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.flagship-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: #FFF;
}
.flagship-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.flagship-card h4 a {
  color: inherit;
  text-decoration: none;
}
.flagship-card h4 a:hover {
  color: var(--primary);
}
.flagship-meta {
  font-size: 0.85rem;
  color: var(--gray-muted);
  margin-bottom: 0.75rem;
}
.flagship-pumps-badge {
  display: inline-block;
  background: #FEF9C3;
  color: #854D0E;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Secret Road-Trip Hacks & Off-Menu Orders
   ========================================================================== */
.secret-hacks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.hack-card {
  background: #FFFBEB;
  border: 1px dashed #F59E0B;
  border-radius: 10px;
  padding: 1.25rem;
  position: relative;
}
.hack-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #F59E0B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.hack-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #78350F;
  margin-bottom: 0.4rem;
}
.hack-card p {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.5;
  margin: 0;
}

/* ========== Jump-to-Content Buttons ========== */
.jump-to-content {
  text-align: center;
  padding: 1.25rem 1rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-jump {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--primary, #CC082C);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(204,8,44,0.15);
}
.btn-jump:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(204,8,44,0.25);
  color: #fff;
}
.btn-jump.btn-secondary {
  background: var(--accent-yellow, #FCD804);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(252,216,4,0.2);
}
.btn-jump.btn-secondary:hover {
  box-shadow: 0 4px 16px rgba(252,216,4,0.35);
}

/* ========== Fan-Out / Related Searches ========== */
.related-searches {
  padding: 1.5rem 0;
  margin-top: 1rem;
}
.related-searches h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #555;
}
.search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.search-pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #3f3f46;
  cursor: default;
  transition: background 0.15s;
}
.search-pill:hover {
  background: #e8e8eb;
}

/* ========== Responsive for jump buttons ========== */
@media (max-width: 640px) {
  .jump-to-content {
    flex-direction: column;
    padding: 1rem;
  }
  .btn-jump {
    width: 100%;
    text-align: center;
  }
}



/* Guide pages (scripts/build_guides.py) */
.guide-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.guide-table th, .guide-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.guide-table th { background: #f8fafc; font-weight: 700; color: var(--dark-soft); white-space: nowrap; }
.guide-flag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: #fef3c7; color: #92400e; }
.guide-flag.new { background: #dcfce7; color: #166534; }
.guide-links { columns: 2 16rem; padding-left: 1.1rem; }
.guide-links li { margin-bottom: 0.35rem; }
.source-list { font-size: 0.88rem; }
.muted-note { color: var(--gray-muted); font-size: 0.9rem; }

/* In-page anchor targets land below the sticky header */
#menu-table, #guide, #video-tour, #road-trip-reviews, #location-map, #combo-planner { scroll-margin-top: 90px; }
