/*
Theme Name: BrewHopper
Theme URI: https://brewhopper.com
Author: BrewHopper Team
Author URI: https://brewhopper.com
Description: A sophisticated adult drink guide for Disney World and Universal Orlando.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: brewhopper
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Montserrat:wght@500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-cream:      #FDF6EC;
  --color-green:      #1B4332;
  --color-green-light:#2D6A4F;
  --color-amber:      #E8A020;
  --color-amber-dark: #C8881A;
  --color-terracotta: #C1440E;
  --color-terracotta-dark: #A33A0C;
  --color-text:       #4A4A4A;
  --color-text-light: #6B6B6B;
  --color-white:      #ffffff;
  --color-border:     #E8DDD0;
  --color-bg-warm:    #FAF0E2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --font-accent:  'Montserrat', system-ui, sans-serif;

  --radius:       8px;
  --radius-lg:    16px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);

  --space-side:   20px;
  --max-width:    1200px;
  --header-h:     56px;
}

/* ============================================================
   RESET & BASE — MOBILE FIRST (320px baseline)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-green);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-terracotta); }
a:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
  border-radius: 3px;
}

ul, ol { padding-left: 1.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   TYPOGRAPHY — MOBILE FIRST
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-green);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.375rem, 4vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.125rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

.label-accent {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

.section-padding {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.text-center { text-align: center; }
.text-green  { color: var(--color-green); }
.text-amber  { color: var(--color-amber); }
.text-terra  { color: var(--color-terracotta); }

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-green);
  color: var(--color-white);
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  z-index: 10000;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: var(--color-white); }

/* ============================================================
   STICKY HEADER — MAX 56px on mobile
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 var(--space-side);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { opacity: 0.85; }
.site-logo svg { width: 38px; height: 38px; }
.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
}
.site-logo-tagline {
  font-family: var(--font-accent);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  display: block;
  margin-top: 2px;
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius);
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--color-bg-warm); }
.nav-toggle:active { background: var(--color-border); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-green);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--space-side) 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-overlay ul li {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-overlay ul li a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  min-height: 48px;
  transition: color 0.2s;
}
.nav-overlay ul li a:hover { color: var(--color-amber); }
.nav-overlay-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-overlay-footer {
  margin-top: 2rem;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Desktop nav — hidden on mobile */
.nav-desktop { display: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.site-hero {
  background:
    linear-gradient(180deg, rgba(27,67,50,0.90) 0%, rgba(27,67,50,0.78) 60%, rgba(15,40,28,0.85) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 2.25rem var(--space-side) 2.75rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.site-hero .hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.site-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 7vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.site-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}
.hero-svg {
  margin: 2rem auto 0;
  opacity: 0.28;
  max-width: 280px;
}

/* ============================================================
   BUTTONS — ALL MIN 48px TAP TARGET
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.btn-primary:hover {
  background: var(--color-green-light);
  border-color: var(--color-green-light);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-amber);
  color: var(--color-green);
  border-color: var(--color-amber);
}
.btn-secondary:hover {
  background: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
  color: var(--color-green);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
}
.btn-cta:hover {
  background: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn-outline:hover {
  background: var(--color-green);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-green);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-cream);
  color: var(--color-green);
}

/* Full width on mobile */
.btn-full { width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
  background: var(--color-bg-warm);
  display: block;
}
.card-body {
  padding: 1.25rem;
}
.card-category {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
  display: block;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-green);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--color-terracotta); }
.card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Card grid — single column mobile */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ============================================================
   POST GRID LAYOUT
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ============================================================
   QUICK SIPS BOX — Mobile skimmable summary
   ============================================================ */
.quick-sips {
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem var(--space-side);
  margin: 0 0 2rem;
}
.quick-sips-label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quick-sips-label::before { content: '🍺'; font-size: 1rem; }
.quick-sips h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.quick-sips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quick-sips ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.quick-sips ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-weight: 700;
}

/* ============================================================
   DRINK RATING STAMP — Passport aesthetic
   ============================================================ */
.drink-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  border: 3px solid var(--color-green);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--color-cream), 0 0 0 4px var(--color-green);
  position: relative;
}
.drink-rating-score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1;
}
.drink-rating-label {
  font-family: var(--font-accent);
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.drink-rating-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--color-bg-warm);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin: 1.5rem 0;
}
.drink-rating-info { flex: 1; }
.drink-rating-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-green);
  margin-bottom: 0.25rem;
}
.drink-rating-details {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================================
   AFFILIATE DISCLOSURE
   ============================================================ */
.affiliate-disclosure {
  font-size: 0.8rem;
  color: var(--color-text-light);
  background: var(--color-bg-warm);
  border-left: 3px solid var(--color-amber);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Affiliate CTA button */
.affiliate-cta {
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2rem 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.affiliate-cta:hover {
  background: var(--color-terracotta-dark);
  color: var(--color-white) !important;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   AD UNITS — bh-ad system
   ============================================================ */

/* Shared */
.bh-ad { position: relative; font-family: var(--font-body); }
.bh-ad-label {
  position: absolute;
  top: 6px; right: 8px;
  font-size: 0.6rem;
  font-family: var(--font-accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  opacity: .7;
}
.bh-ad-label--dark { color: #fff; opacity: .5; }
.bh-ad-label--sticky { position: static; font-size: 0.55rem; color: var(--color-text-light); opacity: .6; white-space: nowrap; }
.bh-ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .55rem 1.1rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: default;
}

/* ── Leaderboard (header) ───────────────────────────────── */
.bh-ad--leaderboard {
  background: #0f2d4a;
}
.bh-ad-leaderboard-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: .65rem var(--space-side);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
}
.bh-ad-creative--hotel {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.bh-ad-logo-wrap {
  display: flex; align-items: center; gap: .5rem;
}
.bh-ad-logo-icon { font-size: 1.5rem; }
.bh-ad-brand { color: #fff; font-size: .95rem; }
.bh-ad-tld   { color: rgba(255,255,255,.5); font-size: .95rem; }
.bh-ad-copy  { display: flex; flex-direction: column; gap: 2px; }
.bh-ad-headline { color: #fff; font-weight: 700; font-size: .9rem; }
.bh-ad-sub { color: rgba(255,255,255,.65); font-size: .75rem; }
.bh-ad-cta--hotel {
  background: #e8a020;
  color: #fff;
  margin-left: .5rem;
}
@media (max-width:600px) { .bh-ad-sub { display: none; } }
@media (max-width:400px) {
  .bh-ad-leaderboard-inner { padding: .5rem var(--space-side); }
  .bh-ad-logo-wrap { gap: .35rem; }
  .bh-ad-brand { font-size: .78rem; }
  .bh-ad-tld   { display: none; }
  .bh-ad-headline { font-size: .78rem; }
  .bh-ad-cta--hotel { padding: 5px 10px; font-size: .68rem; }
}

/* ── 300×250 Sidebar ticket ad ──────────────────────────── */
.bh-ad--300x250 {
  width: 100%;
  max-width: 300px;
}
.bh-ad-inner--ticket {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.bh-ad-ticket-top {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: .75rem;
  border-bottom: 1px dashed #e2e8f0;
}
.bh-ad-ticket-icon { font-size: 1.8rem; }
.bh-ad-ticket-brand {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: var(--color-green);
}
.bh-ad-ticket-tagline {
  font-size: .7rem;
  color: var(--color-text-light);
}
.bh-ad-deal-badge {
  display: inline-block;
  background: var(--color-amber);
  color: var(--color-green);
  font-size: .7rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: 4px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.bh-ad-deal-headline {
  font-size: .85rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: .4rem 0 .4rem;
  line-height: 1.3;
}
.bh-ad-deal-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .25rem;
}
.bh-ad-deal-list li {
  font-size: .75rem;
  color: #444;
}
.bh-ad-cta--ticket {
  background: var(--color-green);
  color: #fff;
  justify-content: center;
  font-size: .8rem;
  padding: .6rem 1rem;
}

/* ── 300×250 In-content resort ad ───────────────────────── */
.bh-ad--in-content {
  float: right;
  margin: .25rem 0 1.25rem 1.75rem;
  clear: right;
}
.bh-ad-inner--resort {
  background: linear-gradient(160deg,#1a4f3a 0%,#2d7a56 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}
.bh-ad-resort-img {
  background: rgba(255,255,255,.07);
  padding: 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.bh-ad-resort-body {
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.bh-ad-resort-brand {
  color: var(--color-amber);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bh-ad-resort-headline {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.bh-ad-resort-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem .5rem;
  font-size: .72rem;
  color: rgba(255,255,255,.8);
}
.bh-ad-resort-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-top: .25rem;
}
.bh-ad-price-from  { font-size: .72rem; color: rgba(255,255,255,.6); }
.bh-ad-price-num   { font-size: 1.6rem; font-weight: 800; color: #fff; }
.bh-ad-price-night { font-size: .72rem; color: rgba(255,255,255,.6); }
.bh-ad-cta--resort {
  background: var(--color-amber);
  color: var(--color-green);
  justify-content: center;
  border-radius: 0;
  font-size: .82rem;
}
@media (max-width: 580px) {
  .bh-ad--in-content { float: none; margin: 1rem auto; max-width: 300px; }
}

/* ── 320×50 sticky mobile ──────────────────────────────── */
.bh-ad--sticky-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
}
/* Reserve space so sticky ad doesn't cover page content */
@media (max-width: 959px) {
  body { padding-bottom: 56px; }
  body.page-template-page-templates-page-drink-finder-php { padding-bottom: 0; }
}
.bh-ad-sticky-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .75rem;
  height: 50px;
}
.bh-ad-sticky-icon { font-size: 1.25rem; flex-shrink: 0; }
.bh-ad-sticky-copy {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.bh-ad-sticky-copy strong {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  color: var(--color-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bh-ad-sticky-copy span {
  display: block;
  font-size: .68rem;
  color: var(--color-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bh-ad-cta--sticky {
  background: var(--color-green);
  color: #fff;
  font-size: .72rem;
  padding: .35rem .75rem;
  flex-shrink: 0;
}
.bh-ad-sticky-close {
  background: none;
  border: none;
  padding: .25rem .4rem;
  cursor: pointer;
  color: var(--color-text-light);
  font-size: .85rem;
  line-height: 1;
  flex-shrink: 0;
}
@media (min-width: 960px) { .bh-ad--sticky-mobile { display: none; } }

/* Legacy placeholder (keep for backwards compat) */
.ad-placeholder {
  background: var(--color-bg-warm);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-accent);
  font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-border);
}
.ad-320x50  { height: 50px; width: 100%; }
.ad-300x250 { height: 250px; width: 100%; }

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip {
  background: var(--color-amber);
  padding: 2rem var(--space-side);
  text-align: center;
}
.newsletter-strip h2 { color: var(--color-green); margin-bottom: 0.5rem; }
.newsletter-strip p { color: var(--color-green); opacity: 0.85; margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0 1rem;
  height: 48px;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-green);
}

/* ============================================================
   SCROLL SNAP STRIP (horizontal swipeable on mobile)
   ============================================================ */
.scroll-snap-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
  margin-left: calc(-1 * var(--space-side));
  margin-right: calc(-1 * var(--space-side));
  scrollbar-width: none;
}
.scroll-snap-strip::-webkit-scrollbar { display: none; }
.scroll-snap-strip > * {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 280px;
}

/* ============================================================
   TABLES → STACKED CARDS on mobile
   ============================================================ */
.responsive-table { width: 100%; }
.responsive-table table { display: none; }
.responsive-table .mobile-cards { display: block; }
.mobile-card-row {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 1rem;
}
.mobile-card-row dt {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}
.mobile-card-row dd {
  font-size: 0.95rem;
  color: var(--color-text);
  margin: 0;
}

/* ============================================================
   FORMS — FULL WIDTH MOBILE, 16px min font
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  font-size: 1rem; /* 16px min — prevents iOS zoom */
  font-family: var(--font-body);
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  min-height: 48px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-green);
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.form-group { margin-bottom: 1.25rem; }

/* ============================================================
   MAIN CONTENT + SIDEBAR
   ============================================================ */
.site-main { padding: 2rem 0; }
.content-area { width: 100%; }
.entry-header { margin-bottom: 1.5rem; }
.entry-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--color-green);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.entry-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.entry-content {
  font-size: 1rem;
  line-height: 1.8;
}
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1rem; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content blockquote {
  border-left: 4px solid var(--color-amber);
  padding: 1rem 1.5rem;
  background: var(--color-bg-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  margin: 1.5rem 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: var(--color-green); }
.breadcrumb span + span::before { content: '/'; margin-right: 0.5rem; color: var(--color-border); }

/* ============================================================
   ICON FEATURE CARDS — with image header + floating icon
   ============================================================ */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Image header */
.feature-card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.feature-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card-img { transform: scale(1.06); }

/* Floating icon badge overlapping image and body */
.feature-card-icon {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  z-index: 1;
}

/* Card body */
.feature-card-body {
  padding: 2.25rem 1.5rem 1.75rem;
}
.feature-card-body h3 {
  font-size: 1.125rem;
  color: var(--color-green);
  margin-bottom: 0.5rem;
}
.feature-card-body p { font-size: 0.9rem; color: var(--color-text-light); margin: 0; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.section-heading .label-accent { margin-bottom: 0.5rem; display: block; }
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p { color: var(--color-text-light); max-width: 540px; margin: 0 auto; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-white);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--color-green); color: var(--color-green); }
.pagination .current { background: var(--color-green); color: var(--color-white); border-color: var(--color-green); }

/* ============================================================
   FOOTER — MOBILE ACCORDION → DESKTOP 3-COLUMN
   ============================================================ */
.site-footer {
  background: var(--color-green);
  color: rgba(255,255,255,0.85);
  padding: 0 0 0;
  margin-top: 4rem;
}
.footer-widgets { padding: 0; }

/* Mobile accordion */
.footer-col {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col-toggle {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.25rem var(--space-side);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.footer-col-toggle::after {
  content: '+';
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.footer-col.is-open .footer-col-toggle::after { transform: rotate(45deg); }
.footer-col-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 var(--space-side);
}
.footer-col.is-open .footer-col-content { max-height: 600px; padding-bottom: 1.5rem; }

.footer-col-content p, .footer-col-content a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col-content a:hover { color: var(--color-amber); }
.footer-col-content ul { list-style: none; padding: 0; margin: 0; }
.footer-col-content ul li { padding: 0.3rem 0; }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 1rem var(--space-side);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

/* ============================================================
   RELATED POSTS — Horizontal swipeable on mobile
   ============================================================ */
.related-posts-section { margin: 3rem 0; }
.related-posts-section h3 {
  padding-left: var(--space-side);
  margin-bottom: 1rem;
}
.related-posts-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem var(--space-side) 1rem;
  margin: 0 calc(-1 * var(--space-side));
  scrollbar-width: none;
}
.related-posts-strip::-webkit-scrollbar { display: none; }
.related-posts-strip .card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 260px;
}

/* ============================================================
   WP SUPER CACHE / PERFORMANCE
   ============================================================ */
.page-content img[loading="lazy"] { opacity: 0; transition: opacity 0.3s; }
.page-content img[loading="lazy"].loaded { opacity: 1; }

/* ============================================================
   WOOCOMMERCE — full redesign to match BrewHopper theme
   ============================================================ */

/* Page wrapper */
.wc-main { padding: 2.5rem 0 4rem; }
.wc-container { padding-top: 0; }

/* ---- SHOP HEADER ---- */
.woocommerce-products-header { margin-bottom: 1.5rem; }
.woocommerce-products-header .page-title {
  font-family: var(--font-heading);
  color: var(--color-green);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0;
}
.woocommerce-result-count { font-size: 0.85rem; color: var(--color-text-light); }
.woocommerce-ordering select {
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  color: var(--color-text);
  background: var(--color-white);
}

/* ---- PRODUCT GRID: remove all WC floats, use CSS grid ---- */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  /* kill WooCommerce float layout */
  float: none;
  clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none; }

/* ---- PRODUCT CARD ---- */
.woocommerce ul.products li.product {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;           /* clips image zoom AND the link bg */
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  /* kill WC float widths */
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  clear: none;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* The link wraps img + title + price — make it a column flex */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* ---- PRODUCT IMAGE ---- */
.woocommerce ul.products li.product img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  /* zoom handled by li.product:hover img */
  transition: transform 0.45s ease;
  border-radius: 0;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.06); }

/* "Instant Download" label below image */
.woocommerce ul.products li.product a.woocommerce-loop-product__link::after {
  content: '⬇ Instant PDF Download';
  display: block;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
}

/* ---- PRODUCT TITLE ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-green);
  padding: 1rem 1.25rem 0.2rem;
  margin: 0;
  line-height: 1.3;
}

/* ---- PRICE ---- */
.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 1.25rem 0.75rem;
  margin: 0;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-terracotta);
}
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .price del { opacity: 0.5; font-size: 0.9rem; }

/* ---- ADD TO CART BUTTON ---- */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
  display: block;
  margin: 0 1.25rem 1.25rem;
  width: calc(100% - 2.5rem);
  box-sizing: border-box;
  background: var(--color-terracotta);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 0.875rem 1rem;
  min-height: 48px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease;
  float: none;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product button.button:hover {
  background: var(--color-terracotta-dark);
  color: var(--color-white);
}
/* "Added to cart" state */
.woocommerce ul.products li.product a.button.added { background: var(--color-green); }
.woocommerce ul.products li.product a.button.added::after { content: ' ✓'; }

/* Breadcrumb */
.woocommerce-breadcrumb {
  font-size: 0.8rem !important;
  color: var(--color-text-light) !important;
  margin-bottom: 1.75rem !important;
  padding: 0 !important;
}
.woocommerce-breadcrumb a { color: var(--color-green) !important; }

/* Shop page header */
.woocommerce-products-header { margin-bottom: 1.5rem; }
.woocommerce-products-header__title {
  font-family: var(--font-heading) !important;
  color: var(--color-green) !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  margin-bottom: 0.5rem !important;
}

/* Result count + ordering row */
.woocommerce-result-count {
  font-size: 0.85rem !important;
  color: var(--color-text-light) !important;
  margin-bottom: 1.25rem !important;
}
.woocommerce-ordering { margin-bottom: 1.25rem !important; }
.woocommerce-ordering select {
  border: 2px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 0.875rem !important;
  color: var(--color-text) !important;
  background: var(--color-white) !important;
}

/* ---- PRODUCT GRID ---- */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

/* ---- PRODUCT CARD ---- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--color-white) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: var(--shadow-hover) !important;
  transform: translateY(-3px) !important;
}

/* Product image wrapper — flex column so badge always sits right below image */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  flex: 1 !important;
}

/* Product image */
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.45s ease !important;
  border-radius: 0 !important;
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.06) !important;
}

/* Digital badge — order: 1 places it right after the image (order 0), before the title (order 2) */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  content: 'Instant Download';
  display: block;
  order: 1;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  text-align: center;
}

/* Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--color-green) !important;
  padding: 1.1rem 1.25rem 0.25rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  order: 2 !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  color: var(--color-terracotta) !important;
  font-family: var(--font-accent) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  padding: 0.1rem 1.25rem 0.75rem !important;
  display: block !important;
  margin: 0 !important;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  display: block !important;
  margin: 0 1.25rem 1.25rem !important;
  width: calc(100% - 2.5rem) !important;
  background: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-accent) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 0.875rem 1rem !important;
  min-height: 48px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: var(--color-terracotta-dark) !important;
  color: var(--color-white) !important;
}

/* ---- SINGLE PRODUCT PAGE ---- */
.woocommerce div.product { padding-top: 1rem; }
.woocommerce div.product .product_title {
  font-family: var(--font-heading) !important;
  color: var(--color-green) !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  margin-bottom: 0.75rem !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--color-terracotta) !important;
  font-family: var(--font-accent) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
}
.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: var(--radius) !important;
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-accent) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  min-height: 52px !important;
  padding: 0 2rem !important;
  transition: background 0.2s !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--color-terracotta-dark) !important;
}
.woocommerce div.product .product_meta {
  font-size: 0.85rem !important;
  color: var(--color-text-light) !important;
  margin-top: 1rem !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: var(--radius) var(--radius) 0 0 !important;
  background: var(--color-bg-warm) !important;
  border-color: var(--color-border) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--color-white) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--color-green) !important;
  font-family: var(--font-accent) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* Cart / Checkout */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-terracotta) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-accent) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  transition: background 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--color-terracotta-dark) !important;
  color: var(--color-white) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--color-green) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--color-green-light) !important;
}

/* Grid breakpoints */
@media (min-width: 600px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 960px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .woocommerce ul.products li.product img { height: 260px !important; }
}

/* ============================================================
   DRINK REVIEW CPT — Featured image placeholder SVG
   ============================================================ */
.drink-review-header {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  padding: 2rem var(--space-side);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-white);
}
.drink-review-header h1 { color: var(--color-white); }

/* ============================================================
   SEASONAL DRINKS CPT
   ============================================================ */
.seasonal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-amber);
  color: var(--color-green);
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.bg-cream { background: var(--color-cream); }
.bg-white { background: var(--color-white); }
.bg-green { background: var(--color-green); }

/* ============================================================
   BREAKPOINTS — TABLET: 600px min-width
   ============================================================ */
@media (min-width: 600px) {
  :root { --space-side: 32px; }

  .section-padding { padding-top: 3rem; padding-bottom: 3rem; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }

  .woocommerce .products { grid-template-columns: repeat(2, 1fr) !important; }

  .hero-ctas { flex-direction: row; max-width: none; justify-content: center; }
  .hero-ctas .btn { min-width: 180px; }

  .newsletter-form { flex-direction: row; }
  .newsletter-form input[type="email"] { flex: 1; }
  .newsletter-form .btn { flex-shrink: 0; }

  .scroll-snap-strip > * { width: 300px; }

  .responsive-table .mobile-cards { display: none; }
  .responsive-table table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }
  .responsive-table table th {
    background: var(--color-green);
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    text-align: left;
  }
  .responsive-table table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
  }
  .responsive-table table tr:nth-child(even) td { background: var(--color-bg-warm); }
}

/* ============================================================
   BREAKPOINTS — DESKTOP: 960px min-width
   ============================================================ */
@media (min-width: 960px) {
  :root {
    --space-side: 40px;
    --header-h: 72px;
  }

  /* Show desktop nav, hide hamburger */
  .nav-toggle { display: none; }
  .nav-overlay { display: none !important; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-desktop ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-desktop ul li a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
    border-radius: var(--radius);
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
  }
  .nav-desktop ul li a:hover {
    background: var(--color-bg-warm);
    color: var(--color-green);
  }
  .nav-desktop ul li.current-menu-item a {
    color: var(--color-green);
    font-weight: 700;
  }
  .nav-desktop .nav-cta a {
    background: var(--color-terracotta);
    color: var(--color-white) !important;
  }
  .nav-desktop .nav-cta a:hover { background: var(--color-terracotta-dark) !important; }

  /* 3-column grid on desktop */
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-cards { grid-template-columns: repeat(3, 1fr); }
  .woocommerce .products { grid-template-columns: repeat(3, 1fr) !important; }

  /* Content + sidebar layout */
  .content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
  }

  /* Desktop footer — 3 columns */
  .footer-col-toggle { display: none; }
  .footer-col {
    border-bottom: none;
  }
  .footer-col-content {
    max-height: none !important;
    padding: 0 !important;
    overflow: visible;
  }
  .footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem var(--space-side) 2.5rem;
  }

  /* Desktop ads */
  .ad-728x90 { display: flex; }
  .ad-sticky-mobile { display: none; }

  /* Hero adjustments */
  .site-hero { padding: 5rem var(--space-side) 6rem; }
  .site-hero h1 { font-size: 3.5rem; }
  .hero-svg { opacity: 0.32; max-width: 420px; }

  /* Related posts — static grid on desktop */
  .related-posts-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .related-posts-strip .card { width: auto; }

  /* Drink rating horizontal on desktop */
  .drink-rating-block { padding: 1.5rem 2rem; }
}

/* ============================================================
   BREAKPOINTS — WIDE: 1280px min-width
   ============================================================ */
@media (min-width: 1280px) {
  :root { --space-side: 48px; }
  .site-hero { padding: 6rem var(--space-side) 8rem; }
}

/* ============================================================
   TOP AD BANNER — fake leaderboard
   ============================================================ */
.site-ad-top {
  width: 100%;
  background: #f9f7f4;
  border-bottom: 1px solid var(--color-border);
}
.site-ad-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-side);
  height: 52px;
  display: flex;
  align-items: center;
  position: relative;
}
.ad-top-creative {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}
.ad-top-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ad-top-logo-icon { font-size: 1.25rem; line-height: 1; }
.ad-top-brand {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a3a6b;
  letter-spacing: -0.01em;
}
.ad-top-dot, .ad-top-tld {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: #1a3a6b;
  font-weight: 400;
}
.ad-top-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ad-top-headline {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-top-sub {
  font-size: 0.68rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none; /* mobile: too small */
}
.ad-top-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a3a6b;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 2rem; /* room for Ad badge */
  transition: background 0.2s;
}
.ad-top-cta:hover { background: #0f2450; color: #fff; }
.ad-top-label {
  position: absolute;
  right: var(--space-side);
  font-size: 0.55rem;
  color: #aaa;
  border: 1px solid #ddd;
  padding: 1px 4px;
  border-radius: 2px;
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .ad-top-sub { display: block; }
  .site-ad-top-inner { height: 58px; }
}

/* ============================================================
   PARK DESTINATION CHIPS — Mobile scroll → Desktop 4-col grid
   ============================================================ */
.parks-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.park-chips {
  /* extends .scroll-snap-strip: flex, overflow-x, scroll-snap, etc. */
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}

.park-chip {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 140px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  /* Ticket-style: solid top, dashed bottom */
  border: 1.5px solid var(--color-border);
  border-top: 3px solid var(--color-green);
  border-bottom: 3px dashed var(--color-amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-top-color 0.22s ease;
  min-height: 90px;
}
.park-chip:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-top-color: var(--color-terracotta);
  color: inherit;
}
/* Universal parks get a slightly different accent */
.park-chip--universal {
  border-top-color: var(--color-terracotta);
  border-bottom-color: var(--color-amber-dark);
}
.park-chip--universal:hover { border-top-color: var(--color-green); }

.park-chip-emoji {
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.park-chip-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green);
  line-height: 1.2;
  display: block;
}
.park-chip-brand {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
}

@media (min-width: 600px) {
  .park-chip { width: 160px; }
}

@media (min-width: 960px) {
  .park-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 0.5rem 0 0;
    margin: 0;
    gap: 1rem;
  }
  .park-chip { width: auto; }
}

/* ============================================================
   POST UPSELL STRIP
   ============================================================ */
.post-upsell-strip {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  border-radius: 12px;
  margin: 2rem 0 1.5rem;
  padding: 1.25rem;
}
.post-upsell-inner {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}
.post-upsell-icon { font-size: 1.75rem; flex-shrink: 0; }
.post-upsell-copy {
  flex: 1;
  min-width: 160px;
}
.post-upsell-copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.post-upsell-copy span {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  line-height: 1.5;
}
.post-upsell-btn {
  flex-shrink: 0;
  background: var(--color-amber) !important;
  color: var(--color-green) !important;
  white-space: nowrap;
}


/* ============================================================
   DRINK FINDER — 3-panel desktop / tab-switching mobile
   ============================================================ */

/* Remove site-wrap padding on this page */
body.page-template-page-templates-page-drink-finder-php .site-wrap {
  padding-bottom: 0;
}

.df-page-header {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-light) 100%);
  padding: 1.5rem var(--space-side) 1.25rem;
  text-align: center;
}
.df-page-header h1 { font-size: clamp(1.4rem, 4vw, 2rem); }
.df-page-header p  { font-size: .9rem; }

/* ── Mobile controls bar (hidden on desktop) ── */
.df-mobile-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem var(--space-side);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.df-mobile-tabs {
  display: flex;
  gap: .35rem;
}
.df-tab-btn {
  background: #f4f2ef;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-accent);
  cursor: pointer;
  color: var(--color-text-light);
  transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.df-tab-btn--active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}
.df-filter-toggle-btn {
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-accent);
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.df-filter-toggle-btn.is-active {
  background: var(--color-bg-warm);
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ── Outer shell — desktop 3-column flex ── */
.df-wrap {
  display: flex;
  height: calc(100svh - 240px);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

/* ── COLUMN 1: Filter panel ── */
.df-left {
  width: 210px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  overflow: hidden;
  background: #fafaf8;
}
.df-filter-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem .7rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.df-filter-hdr strong { font-size: .85rem; }

/* ── COLUMN 2: Cards panel ── */
.df-cards-col {
  width: 270px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  overflow: hidden;
  background: #fff;
}

/* Shared header row (cards column) */
.df-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem .7rem;
  border-bottom: 1px solid var(--color-border);
  background: #fafaf8;
  flex-shrink: 0;
}
.df-panel-hdr strong { font-size: .9rem; }
.df-clear-btn {
  background: none; border: none;
  color: var(--color-terracotta);
  font-size: .72rem; font-weight: 700;
  cursor: pointer; text-transform: uppercase;
  letter-spacing: .05em; padding: 0;
}
.df-results-count { font-size: .72rem; color: var(--color-text-light); }
.df-results-count span { font-weight: 700; color: var(--color-green); }

/* Filter groups — fill remaining height, scroll */
.df-filter-block {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  background: #fafaf8;
}
.df-filter-group {
  padding: .6rem .85rem;
  border-bottom: 1px solid #eeecea;
}
.df-filter-group:last-child { border-bottom: none; }
.df-filter-label {
  display: block;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--color-text-light); margin-bottom: .35rem;
}
.df-search-input {
  width: 100%; padding: .4rem .65rem;
  border: 1px solid var(--color-border); border-radius: 6px;
  font-size: .82rem; outline: none; font-family: var(--font-body);
  box-sizing: border-box; background: #fff;
}
.df-search-input:focus { border-color: var(--color-green); }
.df-checkbox-list { display: flex; flex-direction: column; gap: .22rem; }
.df-checkbox {
  display: flex; align-items: center; gap: .4rem;
  font-size: .76rem; cursor: pointer; color: var(--color-text);
}
.df-checkbox input { cursor: pointer; accent-color: var(--color-green); flex-shrink: 0; }
.df-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.df-range { width: 100%; accent-color: var(--color-green); margin-top: .2rem; display: block; }

/* Cards — fill remaining height, scroll */
.df-cards-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
}
.df-cards-list { display: flex; flex-direction: column; }
.df-card {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: background .15s;
}
.df-card:hover   { background: #fafaf8; }
.df-card--active { background: #f0faf5; box-shadow: inset 3px 0 0 var(--color-green); }
.df-card-top {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .75rem .85rem .4rem;
}
.df-card-emoji { font-size: 1.3rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }
.df-card-info  { flex: 1; min-width: 0; }
.df-card-name  { display: block; font-size: .84rem; font-weight: 700; line-height: 1.2; }
.df-card-venue { display: block; font-size: .71rem; color: var(--color-text-light); }
.df-score {
  flex-shrink: 0; font-weight: 800; font-size: .88rem;
  border: 2px solid; border-radius: 5px;
  padding: .1rem .28rem; line-height: 1.2;
}
.df-card-desc {
  font-size: .76rem; line-height: 1.5; color: #555;
  padding: .2rem .85rem .45rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.df-card-foot {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem .55rem;
}
.df-type-badge { font-size: .67rem; color: var(--color-text-light); flex: 1; }
.df-price      { font-weight: 700; font-size: .8rem; }
.df-locate-btn {
  background: var(--color-green); color: #fff;
  border: none; border-radius: 5px;
  padding: .25rem .55rem; font-size: .68rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.df-locate-btn:hover { opacity: .85; }
.df-empty {
  text-align: center; padding: 3rem 1.5rem;
  color: var(--color-text-light); font-size: .9rem;
}

/* ── COLUMN 3: Map fills remaining space ── */
.df-map-panel { flex: 1; position: relative; min-width: 0; }
#df-map {
  position: absolute; inset: 0;
  height: 100% !important; width: 100% !important;
  z-index: 1;
}

/* Ctrl+scroll hint */
.df-scroll-hint {
  display: none; position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.72); color: #fff;
  font-size: .78rem; padding: .45rem .9rem;
  border-radius: 20px; pointer-events: none;
  z-index: 500; white-space: nowrap;
}
.df-scroll-hint kbd {
  background: rgba(255,255,255,.2); border-radius: 3px;
  padding: .05rem .3rem;
}

/* ── Drink pin markers ── */
.df-marker {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  cursor: pointer; transition: transform .15s;
}
.df-marker:hover { transform: scale(1.3); }

/* ── Popup ── */
.df-popup .leaflet-popup-content-wrapper {
  border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.18);
  padding: 0; overflow: hidden;
}
.df-popup .leaflet-popup-content { margin: 0; width: 240px !important; }
.dfp-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem; background: #fafaf8;
  border-bottom: 1px solid #f0f0ec;
}
.dfp-emoji { font-size: 1.4rem; flex-shrink: 0; }
.dfp-name  { display: block; font-size: .83rem; font-weight: 700; }
.dfp-venue { display: block; font-size: .7rem; color: var(--color-text-light); }
.dfp-score {
  margin-left: auto; flex-shrink: 0; font-weight: 800; font-size: .95rem;
  border: 2px solid; border-radius: 5px; padding: .1rem .3rem; line-height: 1.2;
}
.dfp-desc { font-size: .77rem; line-height: 1.5; padding: .55rem .7rem; color: #444; margin: 0; }
.dfp-foot {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .45rem .7rem; background: #fafaf8;
  border-top: 1px solid #f0f0ec; font-size: .7rem;
}
.dfp-type  { color: var(--color-text-light); }
.dfp-price { font-weight: 700; }
.dfp-park  { margin-left: auto; font-weight: 600; }

/* ── Mobile: tab/drawer layout ── */
@media (max-width: 860px) {
  .df-mobile-controls { display: flex; }

  .df-wrap {
    display: block;
    height: auto;
    overflow: visible;
    border-top: none;
  }

  /* Filter panel: hidden by default, shown as drawer when open */
  .df-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    flex-shrink: 0;
  }
  .df-left.df-filters-open {
    max-height: 600px;
  }
  .df-filter-hdr { display: flex; }

  /* Cards column: full width, scrollable list */
  .df-cards-col {
    width: 100%;
    border-right: none;
    max-height: calc(100svh - 200px);
    min-height: 300px;
  }
  .df-cards-col.df-hidden-mobile { display: none; }

  /* Map panel: full width, fixed height */
  .df-map-panel {
    width: 100%;
    height: calc(100svh - 160px);
    min-height: 380px;
    position: relative;
    display: block;
  }
  .df-map-panel.df-hidden-mobile { display: none; }
  #df-map { position: absolute; inset: 0; height: 100% !important; }
}

@media (max-width: 500px) {
  .df-cards-col { max-height: calc(100svh - 180px); }
  .df-map-panel { height: calc(100svh - 150px); min-height: 320px; }
}
