/* ===================================
   RUM DIRECTORY - impeccable.style
   Deep Amber #4A1A00  Gold #D4A543
   Geist Sans · 1.333x perfect fourth
   =================================== */

:root {
  --navy: #4A1A00;
  --navy-dark: #2D1000;
  --accent: #D4A543;
  --accent-light: #E0B85C;
  --accent-dark: #B8882A;
  --accent-muted: rgba(212, 165, 67, 0.1);
  /* impeccable.style: no pure black/white — tinted neutrals toward brand hue */
  --bg-body: #faf8f5;
  --bg-alt: #f3f0eb;
  --bg-card: #fefdfb;
  --border: #e5e0d8;
  --border-hover: #d1cbc2;
  --text-primary: #1a1510;
  --text-secondary: #6a6050;
  --text-muted: #9c9488;
  --shadow-sm: 0 1px 3px rgba(26, 21, 16, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 21, 16, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 21, 16, 0.1);
  /* impeccable.style: Geist Sans typography (set in impeccable-head partial) */
  --font-heading: 'Geist Sans', 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Geist Sans', 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  /* impeccable.style: fluid type scale (1.333x perfect fourth) */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.5vw + 0.5rem, 1.333rem);
  --text-xl: clamp(1.333rem, 2vw + 0.5rem, 1.777rem);
  --text-2xl: clamp(1.777rem, 3vw + 0.5rem, 2.369rem);
  --text-3xl: clamp(2rem, 3.5vw + 0.5rem, 3.157rem);
  --text-4xl: clamp(2.25rem, 5vw + 0.5rem, 4.209rem);
  /* impeccable.style: motion (ease-out-quart default, no bounce/elastic) */
  --ease-default: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-leave: cubic-bezier(0.7, 0, 0.84, 0);
  --duration-micro: 150ms;
  --duration-state: 250ms;
  --duration-layout: 400ms;
  --duration-entrance: 600ms;
}

/* ===================================
   Dark Mode (impeccable.style toggle)
   =================================== */
body.rd-dark {
  --bg-body: #0f0c08;
  --bg-alt: #181410;
  --bg-card: #1a1610;
  --border: #2a2520;
  --border-hover: #3a3530;
  --text-primary: #e8e4de;
  --text-secondary: #a09888;
  --text-muted: #6a6258;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
}
body.rd-dark .bg-section-alt { background: var(--bg-alt); }
body.rd-dark .article-card,
body.rd-dark .guide-card,
body.rd-dark .award-card,
body.rd-dark .value-card,
body.rd-dark .contact-card,
body.rd-dark .sidebar-widget,
body.rd-dark .badge-card { background: var(--bg-card); border-color: var(--border); }
body.rd-dark .cookie-prefs-modal { background: var(--bg-card); }
body.rd-dark .cookie-prefs-modal p { color: var(--text-secondary); }
body.rd-dark .cookie-category { border-top-color: var(--border); }
body.rd-dark .btn-cookie-cancel { background: var(--bg-alt); color: var(--text-primary); }
body.rd-dark .auth-card { background: var(--bg-card); border-color: var(--border); }
body.rd-dark .auth-title { color: var(--accent); }
body.rd-dark .auth-marketing-title { color: var(--accent); }
body.rd-dark .auth-benefit strong { color: var(--accent-light); }
body.rd-dark .form-control,
body.rd-dark .form-select {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text-primary);
}
body.rd-dark .search-input {
  background: var(--bg-alt) !important;
  border-color: var(--border) !important;
  color: var(--text-primary) !important;
}
/* Mode toggle button */
.mode-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-state) var(--ease-default);
  font-size: 0.9rem;
  padding: 0;
}
.mode-toggle:hover {
  color: #faf8f5;
  border-color: rgba(255,255,255,0.4);
}

/* Reset & Base */
* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; transition: color var(--duration-state) var(--ease-default); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* impeccable.style: focus-visible (never outline:none without replacement) */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* impeccable.style: touch targets (min 44px globally) */
a, button { min-height: 44px; }

.text-gold { color: var(--accent) !important; }
.text-muted-light { color: var(--text-secondary) !important; }
.bg-section-alt { background: var(--bg-alt); }
.border-gold-subtle { border-color: rgba(184, 115, 51, 0.2) !important; }

/* ===================================
   Top Bar
   =================================== */
.top-bar {
  background: var(--navy-dark);
  padding: 6px 0;
  border-bottom: none;
  font-size: var(--text-sm);
}
.top-bar .text-gold { color: rgba(255,255,255,0.7) !important; }
.social-link {
  color: rgba(255,255,255,0.5);
  margin-left: 12px;
  font-size: var(--text-sm);
  transition: color var(--duration-state) var(--ease-default);
}
.social-link:hover { color: #faf8f5; }

/* ===================================
   Navbar
   =================================== */
.bg-dark-custom {
  background: var(--navy) !important;
  border-bottom: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(26, 21, 16, 0.15);
}
.navbar-brand { padding: 12px 0; }
.navbar-brand .site-logo { filter: invert(1); }
.navbar .dropdown-toggle::after { display: none; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  padding: 18px 14px !important;
  position: relative;
  transition: color var(--duration-state) var(--ease-default);
  text-transform: uppercase;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #faf8f5 !important;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-state) var(--ease-default);
}
.navbar-nav .nav-link:hover::after { width: 70%; }
.dropdown-menu-dark {
  background: var(--navy) !important;
  border: 1px solid rgba(255,255,255,0.1);
}
.dropdown-item {
  color: rgba(255,255,255,0.8) !important;
  font-size: var(--text-sm);
}
.dropdown-item:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #faf8f5 !important;
}

/* ===================================
   Search Modal
   =================================== */
.border-gold { border-color: var(--accent) !important; }
.search-input {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
}
.search-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 67, 0.2) !important;
}
.search-input::placeholder { color: var(--text-muted); }
.search-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #faf8f5;
  border: 2px solid #faf8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(26, 21, 16, 0.3);
  transition: background var(--duration-state) var(--ease-default);
}
.search-modal-close:hover { background: var(--accent); }
.bg-dark-custom .search-input {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #faf8f5 !important;
}

/* ===================================
   Buttons
   =================================== */
.btn-gold {
  background: var(--accent);
  color: #faf8f5;
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--duration-state) var(--ease-default);
}
.btn-gold:hover {
  background: var(--accent-dark);
  color: #faf8f5;
  transform: translateY(-1px);
}
.btn-gold:active { transform: scale(0.97); transition-duration: var(--duration-micro); }
.btn-outline-gold {
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  background: transparent;
  font-weight: 500;
  transition: all var(--duration-state) var(--ease-default);
}
.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--accent);
  color: #faf8f5;
  border-color: var(--accent);
}

/* Sort Select */
.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  min-width: 160px;
}
.sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 67, 0.2);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  background: var(--navy);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-video-top { z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 46, 31, 0.65);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* impeccable.style: hero entrance stagger (ambitious first-load for BRAND register) */
.hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  color: #faf8f5;
  animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 0ms both;
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(250, 248, 245, 0.7);
  position: relative;
  animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 100ms both;
}
.hero-search {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 200ms both;
}
.hero-search .search-input {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #faf8f5 !important;
}
.hero-search .search-input::placeholder { color: rgba(250, 248, 245, 0.5); }

/* ===================================
   Popular Bottles
   =================================== */
.popular-bottles {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 300ms both;
}

/* ===================================
   Page Headers
   =================================== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3D2A 100%);
  padding: 50px 0 40px;
  border-bottom: none;
}
.page-header .page-title { color: #faf8f5; }
.page-header .page-subtitle { color: rgba(250, 248, 245, 0.7); }
.page-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-bar .btn-outline-gold {
  color: rgba(250, 248, 245, 0.7);
  border-color: rgba(250, 248, 245, 0.3);
}
.filter-bar .btn-outline-gold:hover,
.filter-bar .btn-outline-gold.active,
.filter-bar .btn-gold {
  background: var(--accent);
  color: #faf8f5;
  border-color: var(--accent);
}

/* ===================================
   Section Headers
   =================================== */
.section-header { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* ===================================
   Scroll Reveal (IntersectionObserver)
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-entrance) var(--ease-enter),
              transform var(--duration-entrance) var(--ease-enter);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children within a revealed section */
.reveal .stagger-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-entrance) var(--ease-enter),
              transform var(--duration-entrance) var(--ease-enter);
}
.reveal.visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible .stagger-item:nth-child(1) { transition-delay: 0ms; }
.reveal.visible .stagger-item:nth-child(2) { transition-delay: 75ms; }
.reveal.visible .stagger-item:nth-child(3) { transition-delay: 150ms; }
.reveal.visible .stagger-item:nth-child(4) { transition-delay: 225ms; }
.reveal.visible .stagger-item:nth-child(5) { transition-delay: 300ms; }
.reveal.visible .stagger-item:nth-child(6) { transition-delay: 375ms; }

/* ===================================
   Article Cards
   =================================== */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--duration-state) var(--ease-default),
              box-shadow var(--duration-state) var(--ease-default),
              border-color var(--duration-state) var(--ease-default);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  max-height: 280px;
  background: var(--bg-alt);
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-layout) var(--ease-default);
  display: block;
  max-height: 280px;
}
.card-img-wrapper--bottle { background: #1a0e00; }
.card-img-wrapper--bottle img { object-fit: cover; }
.card-readmore {
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  text-decoration: none; margin-top: 0.25rem;
}
.card-readmore:hover { color: var(--accent-dark); text-decoration: underline; }
.card-readmore i { font-size: 0.7rem; margin-left: 2px; }

.article-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* ===================================
   Horizontal Review Cards
   =================================== */
.article-card--horizontal {
  flex-direction: row;
  min-height: 240px;
}
.article-card--horizontal.h-100 { height: auto !important; }
.article-card--horizontal > a {
  flex: 0 0 160px;
  display: block;
}
.article-card--horizontal .card-img-wrapper {
  aspect-ratio: auto;
  min-height: 240px;
  height: 100%;
  border-radius: 8px 0 0 8px;
  background: #1a0e00;
  overflow: hidden;
}
.article-card--horizontal .card-img-wrapper img {
  max-height: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.article-card--horizontal .card-body {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.article-card--horizontal .card-body .card-text {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 0.88rem; flex-grow: 0;
}
.article-card--horizontal:hover {
  transform: translateY(-2px);
}
@media (max-width: 767.98px) {
  .article-card--horizontal { flex-direction: row; height: auto; }
  .article-card--horizontal.h-100 { height: auto !important; }
  .article-card--horizontal > a { flex: 0 0 110px; }
  .article-card--horizontal .card-img-wrapper {
    aspect-ratio: auto; max-height: none; min-height: auto;
    height: 100%; border-radius: 8px 0 0 8px; background: #1a0e00;
  }
  .article-card--horizontal .card-body {
    padding: 10px 12px; justify-content: flex-start;
  }
  .article-card--horizontal .card-body .card-text {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 0.82rem; flex-grow: 0;
  }
  .article-card--horizontal .type-badge { display: none; }
  .article-card--horizontal .rating-badge {
    width: 28px; height: 28px; font-size: 0.75rem; top: 6px; right: 6px;
  }
}

/* ===================================
   Rating & Type Badges
   =================================== */
.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #faf8f5;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 21, 16, 0.2);
}
.rating-lg { width: 56px; height: 56px; font-size: 1.4rem; }
.rating-sm { width: 32px; height: 32px; font-size: 0.85rem; }
.type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-news { background: #c0392b; color: #faf8f5; }
.badge-review { background: var(--accent); color: #faf8f5; }
.badge-article { background: var(--navy); color: #faf8f5; }
.badge-guide { background: #27ae60; color: #faf8f5; }
.badge-cocktail { background: #8e44ad; color: #faf8f5; }

/* ===================================
   Card Body & Meta
   =================================== */
.card-body { padding: 16px 20px; }
.card-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 6px;
  display: inline-block;
}
.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--accent-dark); }
.card-text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}
.card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 2px;
}
.card-meta .author a { color: inherit; text-decoration: none; }
.card-meta .author a:hover { color: var(--accent); }

/* ===================================
   Featured Panels (dark, image left + info right)
   =================================== */
.featured-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, #0F3D2A 100%);
  border-radius: 10px;
  padding: 24px 28px;
  text-decoration: none;
  color: #faf8f5;
  transition: all var(--duration-state) var(--ease-default);
  overflow: hidden;
  height: 100%;
}
.featured-panel:hover {
  color: #faf8f5;
  box-shadow: 0 8px 32px rgba(26, 21, 16, 0.3);
  transform: translateY(-2px);
}
.featured-panel-image {
  flex: 0 0 150px;
  position: relative;
  text-align: center;
}
.featured-panel-image img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(26, 21, 16, 0.35);
  display: block;
  margin: 0 auto;
}
.featured-panel-image .rating-badge {
  position: absolute;
  top: -6px;
  right: -6px;
}
.featured-panel-info { flex: 1; min-width: 0; }
.featured-panel-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #faf8f5;
  line-height: 1.3;
  margin: 8px 0 10px;
}
.featured-panel-excerpt {
  color: rgba(250, 248, 245, 0.7);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 12px;
}
.featured-panel-meta {
  color: rgba(250, 248, 245, 0.55);
  font-size: var(--text-sm);
}

/* ===================================
   Single Article Header
   =================================== */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3D2A 100%);
  padding: 48px 0;
  color: rgba(250, 248, 245, 0.85);
}
.article-header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.article-header-image { flex: 0 0 280px; }
.article-header-image img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(26, 21, 16, 0.4);
  display: block;
  margin: 0 auto;
}
.article-header-info { flex: 1; min-width: 0; }
.article-header-rating {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 248, 245, 0.15);
}
.article-header-rating .score-circle { margin-right: 0; flex-shrink: 0; }
.article-header-rating .review-details span { color: rgba(250, 248, 245, 0.7); font-size: var(--text-sm); }
.article-header-rating .review-details strong { color: rgba(250, 248, 245, 0.9); }
.article-header--editorial .article-header-image { flex: 0 0 360px; }
.article-header--editorial .article-header-image img {
  object-fit: cover; width: 100%; max-height: 320px; border-radius: 8px;
}
.article-category-badge {
  display: inline-block;
  background: var(--accent);
  color: #faf8f5;
  padding: 4px 14px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.article-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #faf8f5;
  line-height: 1.2;
}
.article-meta {
  color: rgba(250, 248, 245, 0.7);
  font-size: var(--text-sm);
  margin-top: 10px;
}
.article-content {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 65ch;
}
.article-content p { margin-bottom: 1.5em; }
.article-content h2, .article-content h3 {
  margin-top: 2em;
  margin-bottom: 0.8em;
  color: var(--text-primary);
}
.article-content img { border-radius: 8px; margin: 1.5em 0; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 20px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border-radius: 0 6px 6px 0;
}

/* ===================================
   Review Score Card
   =================================== */
.review-score-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-right: 16px;
}
.score-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #faf8f5;
  line-height: 1;
}
.score-max { font-size: 0.7rem; color: rgba(250, 248, 245, 0.8); }
.review-details span { font-size: var(--text-sm); color: var(--text-secondary); }
.review-details strong { color: var(--text-primary); }

/* ===================================
   Tasting Notes
   =================================== */
.tasting-notes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.tasting-note {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tasting-note:last-child { border-bottom: none; }
.tasting-note h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 6px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tasting-note p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

/* ===================================
   Buy Section
   =================================== */
.buy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  transition: all var(--duration-state) var(--ease-default);
  color: var(--text-primary);
}
.buy-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}
.buy-price { color: var(--accent-dark); font-weight: 700; font-size: var(--text-lg); }

/* Rum links in editorial content */
.rum-link {
  color: var(--accent);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  transition: color var(--duration-state) var(--ease-default);
}
.rum-link:hover { color: var(--accent-dark); text-decoration: underline solid; }

/* ===================================
   Share & Sidebar
   =================================== */
.share-buttons { display: flex; gap: 8px; }

.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-categories { list-style: none; padding: 0; margin: 0; }
.sidebar-categories li { border-bottom: 1px solid var(--border); }
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: all var(--duration-state) var(--ease-default);
}
.sidebar-categories a:hover {
  color: var(--accent-dark);
  padding-left: 8px;
}
.newsletter-widget {
  background: var(--navy);
  border-color: var(--navy);
  color: #faf8f5;
}
.newsletter-widget .widget-title {
  color: var(--accent);
  border-bottom-color: rgba(250, 248, 245, 0.15);
}
.newsletter-widget .text-muted-light { color: rgba(250, 248, 245, 0.7) !important; }
.newsletter-widget .form-control {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #faf8f5 !important;
}
.newsletter-widget .form-control::placeholder { color: rgba(250, 248, 245, 0.5); }

/* ===================================
   Award & Value Cards
   =================================== */
.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: all var(--duration-state) var(--ease-default);
  height: 100%;
}
.award-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
}

/* ===================================
   Contact Cards & Forms
   =================================== */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.contact-form .form-control,
.contact-form .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 67, 0.2);
}
.contact-form .form-label { color: var(--text-secondary); font-weight: 500; font-size: var(--text-sm); }

/* ===================================
   Pagination
   =================================== */
.pagination .page-link {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
  padding: 10px 16px;
  transition: all var(--duration-state) var(--ease-default);
}
.pagination .page-link:hover {
  background: var(--accent-muted);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #faf8f5;
}
.pagination .page-item.disabled .page-link {
  background: var(--bg-alt);
  color: var(--text-muted);
  border-color: var(--border);
}

/* ===================================
   Empty & Error States
   =================================== */
.empty-state {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 60px 20px;
}
.error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background: var(--navy);
  border-top: none;
  padding: 60px 0 30px;
  margin-top: 60px;
  color: rgba(250, 248, 245, 0.7);
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #faf8f5;
  letter-spacing: 0.15em;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(250, 248, 245, 0.6);
  font-size: var(--text-sm);
  transition: all var(--duration-state) var(--ease-default);
}
.footer-links a:hover {
  color: #faf8f5;
  padding-left: 4px;
}
.footer-social a {
  color: rgba(250, 248, 245, 0.5);
  font-size: 1.1rem;
  margin-right: 16px;
  transition: color var(--duration-state) var(--ease-default);
}
.footer-social a:hover { color: #faf8f5; }
.footer-divider {
  border-color: rgba(250, 248, 245, 0.1);
  margin: 40px 0 20px;
}
.footer-legal-link {
  color: rgba(250, 248, 245, 0.5);
  font-size: 0.8rem;
  margin-left: 1.5rem;
  transition: color var(--duration-state) var(--ease-default);
}
.footer-legal-link:hover { color: #faf8f5; }
.site-footer .text-muted-light { color: rgba(250, 248, 245, 0.5) !important; }

/* ===================================
   Form Overrides
   =================================== */
.form-control, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 67, 0.2);
}

/* ===================================
   Nav: icon/label responsive toggle
   =================================== */
.nav-icon-only { display: none; }
.nav-tip { display: none; }

@media (min-width: 992px) and (max-width: 1399.98px) {
  .nav-icon-only { display: inline; font-size: 1.1rem; }
  .nav-label { display: none; }
  .navbar-nav .nav-link { padding: 8px 10px; }
  .site-logo { height: 24px !important; }
  .navbar, .navbar-nav, .nav-item { overflow: visible !important; }
  .nav-tip {
    display: block;
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--text-primary);
    color: var(--bg-body);
    font-size: 11px;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--duration-micro) var(--ease-default),
                transform var(--duration-micro) var(--ease-default);
    z-index: 1080;
    box-shadow: 0 2px 8px rgba(26, 21, 16, 0.25);
  }
  .nav-link:hover .nav-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 991.98px) {
  .hero-section { padding: 50px 0 40px; }
  .article-header-inner { gap: 32px; }
  .article-header-image { flex: 0 0 220px; }
  .article-header--editorial .article-header-image { flex: 0 0 280px; }
  .sidebar { position: static; margin-top: 40px; }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
  .navbar-collapse { background: var(--navy); padding: 10px 0; }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 40px 0 30px; }
  .page-header { padding: 30px 0; }
  .article-header { padding: 32px 0; }
  .article-header-inner { flex-direction: column; text-align: center; gap: 24px; }
  .article-header-image { flex: none; max-width: 200px; margin: 0 auto; }
  .article-header--editorial .article-header-image { flex: none; max-width: 100%; }
  .article-header-rating { flex-direction: column; text-align: center; gap: 12px; }
  .article-header-rating .score-circle { margin: 0 auto; }
  .featured-panel { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; height: auto; }
  .featured-panel-image { flex: 0 0 90px; margin: 0; }
  .featured-panel-image img { max-height: 140px; box-shadow: 0 4px 12px rgba(26, 21, 16, 0.3); }
  .featured-panel-image .rating-badge { width: 28px; height: 28px; font-size: 0.75rem; top: -4px; right: -4px; }
  .featured-panel-title { font-size: 1rem; margin: 4px 0 6px; }
  .featured-panel-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8rem; margin-bottom: 6px; }
  .featured-panel-meta { font-size: 0.75rem; }
  .section-content { padding: 30px 0 !important; }
  .site-footer { padding: 40px 0 20px; margin-top: 30px; }
  .filter-bar { gap: 4px; }
  .filter-bar .btn { font-size: 0.75rem; padding: 4px 10px; }
  .navbar-brand .site-logo { height: 26px; }
}
@media (max-width: 575.98px) {
  .score-circle { width: 60px; height: 60px; }
  .score-number { font-size: 1.5rem; }
}

/* ===================================
   Scrollbar
   =================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ===================================
   Placeholder / Broken Image Fallback
   =================================== */
.card-img-top[src="/images/placeholder.svg"],
.card-img-top[src="/images/placeholder.jpg"],
img[src="/images/placeholder.svg"],
img[src="/images/placeholder.jpg"] {
  background: var(--bg-alt);
  min-height: 180px;
}
.card-img-wrapper img {
  background: var(--bg-alt);
  min-height: 160px;
  max-height: 280px;
}
.card-img-wrapper img[src=""],
.card-img-wrapper img:not([src]) { visibility: hidden; }

/* ===================================
   About Hero
   =================================== */
.about-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0F3D2A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.about-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(transparent 30%, rgba(26, 21, 16, 0.7));
}
.about-hero-overlay h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #faf8f5;
  text-shadow: 0 2px 20px rgba(26, 21, 16, 0.5);
}

/* ===================================
   Sidebar popular review items
   =================================== */
.sidebar-review-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-review-item:last-child { border-bottom: none; }
.sidebar-review-thumb {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.sidebar-review-info h6 {
  font-size: 0.8rem;
  margin: 0 0 2px;
  line-height: 1.3;
}
.sidebar-review-info h6 a { color: var(--text-primary); }
.sidebar-review-info h6 a:hover { color: var(--accent-dark); }
.sidebar-review-info .badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  background: var(--accent);
}

/* Card image error state */
.card-img-wrapper .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.75rem;
  gap: 6px;
}
.card-img-wrapper .img-placeholder i { font-size: 2rem; opacity: 0.4; }

/* ===================================
   Footer mobile
   =================================== */
@media (max-width: 767.98px) {
  .footer-social { margin-bottom: 20px; }
  .footer-social a { margin-right: 20px; font-size: 1.3rem; }
  .site-footer .col-lg-4 { margin-bottom: 24px; }
  .footer-divider { margin: 24px 0 16px; }
  .site-footer .row.g-4 > [class*="col-"] { text-align: center; }
  .site-footer .footer-links { padding-left: 0; list-style: none; }
  .site-footer .btn-outline-gold { display: inline-block; }
  .site-footer .row.align-items-center .col-md-6 { text-align: center !important; margin-bottom: 8px; }
}

/* Hamburger nav centered */
@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav { text-align: center; }
  .navbar-collapse .navbar-nav .nav-link { justify-content: center; }
  .navbar-collapse .navbar-nav .dropdown-menu { text-align: center; }
}

/* ===================================
   Featured section empty state
   =================================== */
.featured-empty {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 60px 30px;
  text-align: center;
}
.featured-empty i { font-size: 3rem; color: var(--accent); opacity: 0.3; margin-bottom: 16px; }
.featured-empty h4 { color: var(--text-primary); margin-bottom: 8px; }
.featured-empty p { color: var(--text-secondary); }

/* Ensure consistent card heights in grid */
.row-cols-md-2 .col,
.row-cols-lg-3 .col { display: flex; }

/* Fix filter bar wrapping on small screens */
@media (max-width: 575.98px) {
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .filter-bar .btn { white-space: nowrap; flex-shrink: 0; }
  .filter-bar .ms-auto { margin-left: 0 !important; margin-top: 8px; width: 100%; }
  .sort-select { width: 100%; }
  .contact-card { margin-bottom: 12px; }
}

/* ===================================
   Stats Bar
   =================================== */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-state) var(--ease-default);
}
a.stat-item:hover { transform: translateY(-2px); color: inherit; }
.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1.2;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===================================
   Top Rated Horizontal Scroll
   =================================== */
.top-rated-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.top-rated-scroll::-webkit-scrollbar { height: 6px; }
.top-rated-scroll::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 3px; }
.top-rated-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.top-rated-card {
  flex: 0 0 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: all var(--duration-state) var(--ease-default);
  color: var(--text-primary);
  text-decoration: none;
}
.top-rated-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  color: var(--text-primary);
}
.top-rated-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
}
.top-rated-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-layout) var(--ease-default);
  display: block;
}
.top-rated-card:hover .top-rated-img img { transform: scale(1.05); }
.top-rated-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #faf8f5;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 21, 16, 0.2);
}
.top-rated-info { padding: 12px 14px; }
.top-rated-info h6 {
  font-size: var(--text-sm);
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.top-rated-type {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}
.top-rated-price {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===================================
   Comparison / VS Cards
   =================================== */
.comparison-card .card-img-wrapper { position: relative; }
.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #faf8f5;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 21, 16, 0.3);
  border: 3px solid rgba(250, 248, 245, 0.4);
  z-index: 2;
}

/* ===================================
   Explore by Type Tiles
   =================================== */
.type-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #faf8f5;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--duration-state) var(--ease-default);
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.type-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 16, 0.15);
  transition: background var(--duration-state) var(--ease-default);
}
.type-tile:hover {
  color: #faf8f5;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.type-tile:hover::before { background: rgba(26, 21, 16, 0); }
.type-tile i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.type-tile span {
  position: relative;
  z-index: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

/* ===================================
   Guide Cards
   =================================== */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--duration-state) var(--ease-default);
  height: 100%;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.guide-card-img {
  flex: 0 0 240px;
  overflow: hidden;
  max-height: 260px;
  background: var(--bg-alt);
}
.guide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  max-height: 260px;
  transition: transform var(--duration-layout) var(--ease-default);
  display: block;
}
.guide-card:hover .guide-card-img img { transform: scale(1.05); }
.guide-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-card-body .card-title { font-size: var(--text-lg); margin-bottom: 10px; }
.guide-card-body .card-text { font-size: var(--text-sm); line-height: 1.6; margin-bottom: 12px; }
.guide-card-body .card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

/* ===================================
   Newsletter CTA
   =================================== */
.newsletter-cta {
  background: var(--navy);
  border-top: none;
  border-bottom: none;
  position: relative;
}
.newsletter-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 8px;
}
.newsletter-cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 16px;
}
.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}
.newsletter-benefits li {
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.85);
}
.newsletter-benefits li i { margin-right: 6px; color: var(--accent); }
.newsletter-form { max-width: 500px; margin: 0 auto; }
.newsletter-form .search-input {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #faf8f5 !important;
}
.newsletter-form .search-input::placeholder { color: rgba(250, 248, 245, 0.5); }

/* ===================================
   Brand / Distiller CTA
   =================================== */
.brand-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-top: 3px solid var(--accent);
  position: relative;
}
.brand-cta-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  opacity: 0.85;
}
.brand-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #faf8f5;
  margin-bottom: 8px;
}
.brand-cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 16px;
}
.brand-cta-disclaimer {
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.4);
}

/* ===================================
   Section Responsive (new)
   =================================== */
@media (max-width: 767.98px) {
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.06em; }
  .top-rated-card { flex: 0 0 160px; }
  .top-rated-rating { width: 36px; height: 36px; font-size: 0.95rem; }
  .type-tile { padding: 20px 12px; min-height: 100px; }
  .type-tile i { font-size: 1.4rem; }
  .guide-card { flex-direction: column; }
  .guide-card-img { flex: none; height: 180px; }
  .guide-card-img img { min-height: 180px; }
  .newsletter-cta-title { font-size: 1.5rem; }
  .brand-cta-title { font-size: 1.5rem; }
  .newsletter-benefits { flex-direction: column; align-items: center; gap: 6px; }
}
@media (max-width: 575.98px) {
  .top-rated-card { flex: 0 0 140px; }
  .type-tile { min-height: 90px; padding: 16px 10px; }
  .type-tile i { font-size: 1.2rem; margin-bottom: 6px; }
  .type-tile span { font-size: 0.7rem; }
}

/* ===================================
   Flavor Tag Toggles
   =================================== */
.flavor-tag-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.flavor-tag-toggle { cursor: pointer; }
.flavor-tag-toggle input { display: none; }
.flavor-tag-label {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 500; border: 1px solid var(--border);
  background: var(--bg-alt); color: var(--text-secondary);
  transition: all var(--duration-state) var(--ease-default);
}
.flavor-tag-toggle input:checked + .flavor-tag-label {
  background: var(--accent); color: #faf8f5; border-color: var(--accent);
}
.flavor-tag-label:hover { border-color: var(--accent); color: var(--accent); }

/* ===================================
   Badge Cards
   =================================== */
.badge-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.25rem; text-align: center; height: 100%;
  transition: transform var(--duration-state) var(--ease-default),
              box-shadow var(--duration-state) var(--ease-default);
}
.badge-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.badge-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.badge-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.badge-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.badge-tier { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-date { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 0.5rem; }

.badge-bronze .badge-icon { color: #CD7F32; }
.badge-bronze .badge-tier { background: #fdf2e5; color: #CD7F32; }
.badge-silver .badge-icon { color: #A0A0A0; }
.badge-silver .badge-tier { background: #f0f0f0; color: #666; }
.badge-gold .badge-icon { color: var(--accent); }
.badge-gold .badge-tier { background: var(--accent-muted); color: var(--accent-dark); }
.badge-platinum .badge-icon { color: #6C63FF; }
.badge-platinum .badge-tier { background: #eeedff; color: #6C63FF; }

.badge-locked { opacity: 0.45; }
.badge-locked .badge-icon { color: var(--text-muted); }

.badge-mini {
  display: inline-flex; align-items: center; padding: 0.3rem 0.6rem;
  border-radius: 6px; font-size: 0.75rem; font-weight: 500;
}
.badge-mini.badge-bronze { background: #fdf2e5; color: #CD7F32; }
.badge-mini.badge-silver { background: #f0f0f0; color: #666; }
.badge-mini.badge-gold { background: var(--accent-muted); color: var(--accent-dark); }
.badge-mini.badge-platinum { background: #eeedff; color: #6C63FF; }

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); color: rgba(250, 248, 245, 0.9);
  box-shadow: 0 -4px 20px rgba(26, 21, 16, 0.3);
  transform: translateY(100%); transition: transform var(--duration-layout) var(--ease-default);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-consent-inner {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-consent-text { flex: 1; min-width: 280px; font-size: var(--text-sm); line-height: 1.5; }
.cookie-consent-text a { color: var(--accent-light); text-decoration: underline; }
.cookie-consent-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-consent-buttons button {
  padding: 0.5rem 1.25rem; border-radius: 6px; font-size: var(--text-sm);
  font-weight: 600; cursor: pointer; border: none;
  transition: all var(--duration-state) var(--ease-default); white-space: nowrap;
}
.btn-cookie-accept { background: var(--accent); color: #faf8f5; }
.btn-cookie-accept:hover { background: var(--accent-light); }
.btn-cookie-necessary {
  background: transparent; color: rgba(250, 248, 245, 0.8);
  border: 1px solid rgba(250, 248, 245, 0.3) !important;
}
.btn-cookie-necessary:hover { border-color: #faf8f5 !important; color: #faf8f5; }
.btn-cookie-manage {
  background: transparent; color: var(--accent-light);
  text-decoration: underline; padding: 0.5rem 0.5rem;
}
.btn-cookie-manage:hover { color: #faf8f5; }

/* Cookie Preferences Modal */
.cookie-prefs-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(26, 21, 16, 0.6); display: none;
  align-items: center; justify-content: center;
}
.cookie-prefs-overlay.visible { display: flex; }
.cookie-prefs-modal {
  background: var(--bg-body); border-radius: 12px; max-width: 520px; width: 90%;
  max-height: 85vh; overflow-y: auto; padding: 2rem;
  box-shadow: 0 20px 60px rgba(26, 21, 16, 0.3);
}
.cookie-prefs-modal h3 {
  font-family: var(--font-heading); font-size: var(--text-xl); margin-bottom: 0.5rem;
}
.cookie-prefs-modal p { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: 1.5rem; }
.cookie-category {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-top: 1px solid var(--border);
}
.cookie-category-info { flex: 1; }
.cookie-category-info h4 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.25rem; }
.cookie-category-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.cookie-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-left: 1rem; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute; inset: 0; background: var(--border); border-radius: 24px;
  cursor: pointer; transition: background var(--duration-state) var(--ease-default);
}
.cookie-toggle-slider::before {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; background: var(--bg-body); border-radius: 50%;
  transition: transform var(--duration-state) var(--ease-default);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }
.cookie-prefs-actions {
  display: flex; gap: 0.75rem; margin-top: 1.5rem; justify-content: flex-end;
}
.cookie-prefs-actions button {
  padding: 0.5rem 1.25rem; border-radius: 6px; font-size: var(--text-sm);
  font-weight: 600; cursor: pointer; border: none;
}
.btn-cookie-save { background: var(--accent); color: #faf8f5; }
.btn-cookie-save:hover { background: var(--accent-light); }
.btn-cookie-cancel { background: var(--bg-alt); color: var(--text-primary); }
.btn-cookie-cancel:hover { background: var(--border); }

@media (max-width: 768px) {
  .cookie-consent-inner { padding: 1rem 1.25rem; flex-direction: column; align-items: stretch; }
  .cookie-consent-buttons { justify-content: stretch; }
  .cookie-consent-buttons button { flex: 1; }
}

/* ===================================
   Card buy row
   =================================== */
.card-buy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.card-buy-qr { width: 36px; height: 36px; border-radius: 4px; }

/* ===================================
   Auth Pages
   =================================== */
.auth-section { min-height: 60vh; display: flex; align-items: center; }
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 35px;
  box-shadow: var(--shadow-md);
}
.auth-title { color: var(--navy); font-family: var(--font-heading); }
.auth-card .form-control {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}
.auth-card .form-control:focus {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 67, 0.2);
  color: var(--text-primary);
}
.auth-card .form-label { color: var(--text-secondary); font-size: var(--text-sm); }
.auth-marketing-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.auth-marketing-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: 28px;
}
.auth-benefit {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.auth-benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}
.auth-benefit strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.auth-benefit p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.auth-social-proof {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.auth-stat { text-align: center; }
.auth-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
}
.auth-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
