/* ==========================================================================
   Drink Spirits — design tokens
   White base · neutral type · cognac accent
   ========================================================================== */
:root {
  --brand-amber: #9a4632;
  --brand-amber-deep: #7a3424;
  --brand-amber-soft: #f6ebe6;

  --bg-page: #ffffff;
  --bg-subtle: #f7f7f7;
  --bg-input: #fafafa;
  --bg-card: #ffffff;
  --border-color: #e5e5e5;
  --border-strong: #d4d4d4;

  --text-primary: #1a1a1a;
  --text-secondary: #525252;
  --text-muted: #737373;

  --accent-focus: rgba(184, 115, 42, 0.2);
  --accent-forest: var(--brand-amber);
  --accent-forest-glow: var(--accent-focus);
  --accent-honey: var(--brand-amber);

  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-smooth: all 0.2s ease-in-out;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: 4rem;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.page-hidden {
  display: none !important;
}

/* ==========================================================================
   Header & brand lockup
   ========================================================================== */
.app-header {
  padding: 40px 0 28px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.brand-wordmark {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

.brand-wordmark .brand-accent {
  color: var(--brand-amber);
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.page-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 42rem;
}

.page-subtitle a,
.faq-item a {
  color: var(--brand-amber-deep);
  font-weight: 600;
}

.page-subtitle a:hover,
.faq-item a:hover {
  color: var(--brand-amber);
}

.homepage-hero-nav {
  width: 100%;
  max-width: 42rem;
  margin-top: 4px;
  padding: 18px 18px 20px;
  background: var(--bg-subtle);
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.homepage-hero-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.homepage-hero-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0;
}

.homepage-hero-nav .pill-grid {
  gap: 8px;
}

.pill-emphasis {
  font-weight: 600;
  border-color: #d4a843;
  background: #fffaf0;
}

.pill-emphasis:hover,
.pill-emphasis:focus-visible {
  background: #fff6e6;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 560px;
  line-height: 1.5;
}

/* ==========================================================================
   Updates page (breweries-added.js)
   ========================================================================== */
.updates-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  padding-bottom: 24px;
}

.updates-intro {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

.updates-intro a {
  color: var(--brand-amber);
  font-weight: 500;
}

.updates-panel {
  padding: 20px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.updates-panel--quickref {
  max-width: 100%;
}

.updates-panel-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.updates-panel-count,
.updates-panel-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.updates-panel-note {
  margin-bottom: 8px;
}

.breweries-added-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breweries-by-province-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
  border: none;
}

.breweries-added-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.breweries-added-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.breweries-added-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-sm);
  padding: 2px 4px 0;
  margin: -2px -4px 0;
  transition: var(--transition-smooth);
  line-height: 1.25;
}

.breweries-added-link:hover,
.breweries-added-link:focus-visible {
  background: var(--brand-amber-soft);
  outline: none;
}

.breweries-added-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.breweries-added-city {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-primary);
}

.breweries-added-date {
  display: block;
  font-size: 0.68rem;
  line-height: 1.15;
  color: var(--text-muted);
  padding: 1px 4px 2px;
  margin: 0;
}

.distillery-card:target {
  background-color: var(--brand-amber-soft);
  border-radius: var(--radius-sm);
  scroll-margin-top: 24px;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ==========================================================================
   Filter Panel
   ========================================================================== */
.filter-panel {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.filter-panel-top {
  margin-bottom: 0;
}

.controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: none;
}

.controls-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.input-wrapper, .select-wrapper {
  position: relative;
  width: 100%;
}

    .input-wrapper input {
      width: 100%;
      background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 12px 10px 34px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px var(--accent-forest-glow);
  background-color: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.select-wrapper select {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 28px 10px 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px var(--accent-forest-glow);
  background-color: var(--bg-card);
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Active filter chips */
.active-filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.active-filters-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
}

.active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 0.5px solid var(--border-color);
  color: var(--text-secondary);
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--brand-amber-soft);
  border: 1px solid var(--border-color);
  color: var(--brand-amber-deep);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.remove-tag-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.clear-filters-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  text-decoration: underline;
  padding: 2px;
}

.clear-filters-btn:hover {
  color: var(--text-primary);
}

.filter-panel-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* Results Stats */
.results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.results-meta-primary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.results-count {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.distilleries-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sort-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.sort-select {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px 20px 3px 6px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  transition: var(--transition-smooth);
}

.sort-select:focus, .sort-select:hover {
  outline: none;
  border-color: var(--brand-amber);
}

/* ==========================================================================
   Brewery List Rows & Province Grouping (Clean-Cut Rows)
   ========================================================================== */
.distilleries-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: none;
}

.distilleries-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.distilleries-grid .province-group {
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.distilleries-grid .province-group[open] {
  box-shadow: none;
}

.province-group {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.province-group[open] {
  box-shadow: 0 1px 0 var(--border-color);
}

.province-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 0.5px solid var(--border-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition-smooth);
}

.province-summary::-webkit-details-marker {
  display: none;
}

.province-summary::marker {
  content: '';
}

.province-summary:hover {
  background-color: var(--bg-subtle);
}

.province-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.province-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0;
}

.province-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

.province-group[open] > .province-summary .chevron {
  transform: rotate(180deg);
}

.province-count {
  color: var(--text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.province-group:not([open]) .province-rows {
  display: none;
}

.province-rows {
  display: flex;
  flex-direction: column;
  padding: 0 0 8px;
  border-top: none;
}

.distillery-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 24px;
  transition: var(--transition-smooth);
}

.province-rows .distillery-card:last-child {
  border-bottom: none;
}

/* Hover effect inside container boundaries */
.distillery-card:hover {
  background-color: var(--bg-subtle);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Row sections */
.row-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.distillery-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.location-details {
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.row-middle {
  flex: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.shipping-coverage {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shipping-coverage::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--brand-amber);
  border-radius: 50%;
  display: inline-block;
}

.row-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Minimalist Visit Button */
.visit-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.visit-shop-btn:hover {
  border-color: var(--brand-amber-deep);
  background-color: var(--brand-amber);
  color: #fffdf9;
}

.btn-arrow {
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.visit-shop-btn:hover .btn-arrow {
  transform: translateX(2px);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-heading {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.empty-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.no-results-card {
  text-align: center;
  padding: 24px 0;
}

.no-results-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.no-results-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.no-results-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.reset-btn {
  background: transparent;
  border: 0.5px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.reset-btn:hover {
  background-color: var(--brand-amber);
  border-color: var(--brand-amber);
  color: #fffdf9;
}

/* ==========================================================================
   AI Agent Call-To-Action Box
   ========================================================================== */
.agent-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.agent-box-content {
  max-width: 580px;
}

.agent-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.agent-box-description {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.agent-instruction {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.step-num {
  width: 20px;
  height: 20px;
  background-color: var(--brand-amber-soft);
  color: var(--brand-amber-deep);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.agent-instruction p {
  font-size: 0.75rem;
  color: var(--text-primary);
}

.agent-instruction p em {
  color: var(--brand-amber-deep);
  font-style: normal;
  font-weight: 600;
}

.agent-instruction code {
  background-color: var(--bg-input);
  padding: 1px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
}

.agent-box-badge {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-width: 140px;
}

.badge-icon {
  font-size: 1.4rem;
}

.agent-box-badge span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.province-page-hero {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.page-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-breadcrumbs-sep {
  color: var(--text-muted);
}

.page-breadcrumbs [aria-current="page"] {
  color: var(--text-secondary);
}

.province-page-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.province-page-description {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.province-page-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.province-page-related {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.province-page-related a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.province-page-related a:hover {
  color: var(--brand-amber-deep);
  text-decoration: underline;
}

.related-routes {
  margin: 16px 0 0;
}

.related-routes-heading {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.related-routes .province-page-related {
  margin: 0;
}

.province-page-count {
  font-weight: 600;
  color: var(--accent-primary);
}

.province-page-meta-sep {
  margin: 0 0.4rem;
}

.province-page-back {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.province-page-back:hover,
.province-page-back:focus-visible {
  color: var(--accent-primary);
}

.province-page-rows {
  display: flex;
  flex-direction: column;
  padding: 0 16px 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.province-page-rows .distillery-card {
  border-bottom: 1px solid var(--border-color);
}

.province-page-rows .distillery-card:hover {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.province-page-rows .distillery-card:last-child {
  border-bottom: none;
}

.footer-provinces {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-provinces-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-right: 8px;
}

.footer-provinces a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-provinces a:hover,
.footer-provinces a:focus-visible {
  color: var(--text-primary);
}

.footer-provinces-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-provinces-link:hover,
.footer-provinces-link:focus-visible {
  color: var(--accent-primary);
}

.footer-provinces-sep {
  color: var(--border-color);
  user-select: none;
}

.footer-ships-to {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 12px;
  font-size: 0.8rem;
}

.footer-ships-to-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-ships-to-link:hover,
.footer-ships-to-link:focus-visible {
  color: var(--accent-primary);
}

.footer-ships-to-sep {
  color: var(--border-color);
  user-select: none;
}

.shipping-pill-row {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-card);
}

.shipping-pill-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 0.5px solid var(--border-color);
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--transition-smooth), color var(--transition-smooth);
}

.pill:hover,
.pill:focus-visible {
  border-color: #b5860d;
  color: #b5860d;
}

.footer-destination-nav {
  border-top: 0.5px solid var(--border-color);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-destination-heading {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.footer-destination-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}

.footer-destination-link {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 0;
  display: block;
  border-bottom: 0.5px solid var(--border-color);
}

.footer-destination-link:hover,
.footer-destination-link:focus-visible {
  color: var(--text-primary);
}

@media (max-width: 540px) {
  .footer-destination-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.shipping-route-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.shipping-route-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 16px;
  max-width: 72ch;
}

.shipping-route-intro p {
  margin: 0 0 1em;
}

.shipping-route-intro p:last-child {
  margin-bottom: 0;
}

.shipping-route-count {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.shipping-route-listing {
  margin-bottom: 32px;
}

.shipping-route-back {
  margin-top: 24px;
  font-size: 0.875rem;
}

.shipping-route-back a {
  color: var(--accent-primary);
  text-decoration: none;
}

.shipping-route-back a:hover,
.shipping-route-back a:focus-visible {
  text-decoration: underline;
}

.controls-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

/* List pagination & back to top */
.list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.list-pagination.hidden {
  display: none !important;
}

.pagination-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 0.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--brand-amber);
  color: var(--brand-amber-deep);
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-status {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.back-to-top:hover {
  border-color: var(--brand-amber);
  color: var(--brand-amber-deep);
}

.page-faq {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.page-faq-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.page-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  margin: 0;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-item + .faq-item {
  margin-top: 1.25rem;
}

.faq-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px;
  align-items: center;
  column-gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition-smooth);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::marker {
  content: '';
}

.faq-summary::after {
  content: '';
  grid-column: 2;
  justify-self: end;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform var(--transition-smooth);
}

.faq-item[open] > .faq-summary::after {
  transform: rotate(45deg);
  margin-top: -4px;
}

.faq-summary:hover {
  background-color: var(--bg-subtle);
}

.faq-question {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer strong {
  color: var(--text-primary);
  font-weight: 600;
}

.app-footer {
  margin-top: 40px;
  padding: 24px 0 10px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-disclaimer a {
  color: var(--brand-amber-deep);
  font-weight: 600;
}

.footer-disclaimer a:hover {
  color: var(--brand-amber);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.footer-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: var(--brand-amber);
  outline: none;
}

.footer-nav-link[aria-current="page"] {
  color: var(--brand-amber);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .controls-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .page-headline {
    font-size: 1.55rem;
  }

  .brand-wordmark {
    font-size: 1.25rem;
  }

  .distillery-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }

  .distillery-card:hover {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
  }

  .row-middle {
    align-items: flex-start;
  }

  .row-right {
    width: 100%;
    justify-content: flex-start;
  }

  .visit-shop-btn {
    width: 100%;
    justify-content: center;
  }
  
  .agent-box-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .agent-box-badge {
    width: 100%;
    padding: 12px;
  }
}
