/* ── Journal Design System — "The Handwritten Wine Window" ────────────── */
:root {
  --ink:            #2C1810;
  --parchment:      #F0E6D6;
  --parchment-dark: #E3D7C3;
  --wine-red:       #8B2252;
  --wine-gold:      #C9A96E;
  --wine-blush:     #D4A09A;
  --wine-burgundy:  #6B1D3A;
  --soil-warm:      #5C4A3E;
  --chalk-white:    #F5EEE3;
  --vine-green:     #5B7F5B;

  /* Semantic aliases */
  --bg:       var(--chalk-white);
  --text-secondary: #5C4A3E;
}

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', Roboto, sans-serif;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ── Keyframe animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Demo blur-out exit (landing → map transition) */
@keyframes blurOut {
  to { opacity: 0; transform: scale(0.95); filter: blur(10px); }
}

/* Dropdown slide-in */
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up  { animation: fadeUp     0.35s ease both; }
.animate-fade-in  { animation: fadeIn     0.25s ease both; }
.animate-blur-out { animation: blurOut    0.4s  ease forwards; }
.dropdown-enter   { animation: dropdownIn 0.2s  ease both; }

/* ── Pill base style ─────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--wine-blush);
  background: var(--parchment);
  color: var(--ink);
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.06);
}

.pill:hover {
  border-color: var(--wine-red);
  background: var(--parchment-dark);
  transform: translateY(-1px);
}

.pill--disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: var(--parchment-dark);
  color: var(--text-secondary);
}
.pill--disabled:hover {
  border-color: var(--parchment-dark);
  background: transparent;
  transform: none;
}

/* ── Warm glassmorphism surface ──────────────────────────────────────── */
.glass {
  background: rgba(245, 237, 224, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wine-blush);
  border-radius: 12px;
}

/* ── Shimmer loading skeleton ────────────────────────────────────────── */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(160, 120, 90, 0.06) 0%,
    rgba(160, 120, 90, 0.15) 50%,
    rgba(160, 120, 90, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* ════════════════════════════════════════════════════════════════════════
   DRAWER — responsive layout
   Mobile  (<768px):   bottom sheet, slides up from bottom
   Tablet  (768-1023): right sidebar, 40vw wide
   Desktop (≥1024px):  right sidebar, fixed 450px wide
   ════════════════════════════════════════════════════════════════════════ */

/* ── Shared base — Fix 1: pinned to viewport edge, never overflows ── */
#terroir-drawer {
  position: fixed !important;
  top: 0;
  right: 0;
  max-width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  z-index: 40 !important;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  background: var(--parchment);
  color: var(--ink);
}

/* Shift AuthIndicator left + constrain map overlay when drawer is open (desktop/tablet) */
#auth-indicator,
#map-overlay {
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (min-width: 768px) {
  body:has(#terroir-drawer[data-state="open"]) #auth-indicator {
    right: calc(40vw + 16px);
  }
  body:has(#terroir-drawer[data-state="open"]) #map-overlay {
    right: 40vw;
  }
}
@media (min-width: 1024px) {
  body:has(#terroir-drawer[data-state="open"]) #auth-indicator {
    right: calc(450px + 16px);
  }
  body:has(#terroir-drawer[data-state="open"]) #map-overlay {
    right: 450px;
  }
}

/* Mobile: dock AuthIndicator to bottom-right so it doesn't collide with
   #map-overlay's top-right layer-toggle. FAB-style placement clears the
   drawer peek (~80px) with a 12px margin. */
@media (max-width: 767px) {
  #auth-indicator {
    top: auto !important;
    bottom: 16px;
    right: 16px;
  }
  #auth-indicator > div {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
  }
  body:has(#terroir-drawer[data-state="open"]) #auth-indicator {
    bottom: 92px;
  }
}

/* Fix 3: every child respects the panel width */
#terroir-drawer * { box-sizing: border-box; max-width: 100%; }

/* Fix 2: body padding + vertical stack layout */
.drawer-body {
  padding: 16px 20px 32px;
  width: 100%;
  box-sizing: border-box;
}

/* Fix 2: vertical flex column — no side-by-side sections */
.drawer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Fix 3: each section card fills full panel width */
.drawer-card {
  width: 100%;
  box-sizing: border-box;
}

/* ── Drawer unified typography ──────────────────────────────────────── */
.drawer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.drawer-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
.drawer-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.drawer-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
}

/* ── Drawer divider ─────────────────────────────────────────────────── */
.drawer-divider {
  height: 1px;
  background: rgba(212, 160, 154, 0.3);
  margin: 12px 0;
}

/* ── Drawer sections (collapsible) ──────────────────────────────────── */
.drawer-section {
  border: 1px solid var(--wine-blush);
  border-radius: 16px;
  background: var(--parchment-dark);
  overflow: hidden;
  position: relative;
}

.drawer-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.drawer-section-header:hover {
  background: rgba(160, 120, 90, 0.08);
}

.drawer-section-title {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
}

.drawer-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.drawer-chevron-collapsed {
  transform: rotate(-90deg);
}

.drawer-section-body {
  padding: 0 18px 18px;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}
.drawer-collapsed {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* ── Terroir summary grid ───────────────────────────────────────────── */
.drawer-terroir-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.drawer-terroir-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Mobile (<768px): bottom sheet — full height, snap via JS transform ── */
#terroir-drawer {
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 92vh;
  max-height: 92vh;
  border-top: 1px solid var(--wine-blush);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px rgba(44, 24, 16, 0.15);
}

/* Closed: off-screen below */
#terroir-drawer[data-state="closed"] { transform: translateY(100%) !important; }
/* Open: JS-controlled translateY handles snap; this is the fallback */
#terroir-drawer[data-state="open"]   { transform: translateY(46vh); }

/* ── Tablet (768px–1023px): right sidebar, 40vw ── */
@media (min-width: 768px) {
  #terroir-drawer {
    top: 0 !important;
    bottom: 0;
    right: 0;
    left: auto;
    width: 40vw;
    height: 100vh !important;
    max-height: 100vh;
    border-top: none;
    border-left: 1px solid var(--wine-blush);
    border-radius: 0;
    box-shadow: -4px 0 24px rgba(44, 24, 16, 0.12);
  }

  /* Sidebar slides X */
  #terroir-drawer[data-state="closed"] { transform: translateX(100%); }
  #terroir-drawer[data-state="open"]   { transform: translateX(0); }

  /* Hide drag handle on sidebar */
  #terroir-drawer .drawer-handle { display: none; }

  /* More breathing room on sidebar */
  .drawer-body { padding: 24px 28px 40px; }
  .drawer-grid { gap: 20px; }
}

/* ── Desktop (≥1024px): right sidebar, fixed 450px ── */
@media (min-width: 1024px) {
  #terroir-drawer { width: 450px; }
  .drawer-body { padding: 28px 32px 48px; }
}

/* ── Drawer edge handle (PC/tablet only, mounted on body) ───────────── */
.drawer-edge-handle {
  display: none;  /* hidden on mobile */
}
@media (min-width: 768px) {
  .drawer-edge-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 41;  /* just above drawer z-40 */
    top: 50%;
    margin-top: -24px; /* half of 48px height */
    width: 14px;
    height: 48px;
    cursor: ew-resize;
    border-radius: 8px 0 0 8px;
    background: rgba(160, 120, 90, 0.1);
    border: 1px solid var(--wine-blush);
    border-right: none;
    transition: background 0.2s;
  }
  /* Position relative to the drawer's left edge */
  #terroir-drawer[data-state="open"] ~ .drawer-edge-handle {
    right: 40vw;  /* tablet: drawer is 40vw */
  }
  #terroir-drawer[data-state="closed"] ~ .drawer-edge-handle {
    display: none;
  }
  .drawer-edge-handle:hover {
    background: rgba(160, 120, 90, 0.18);
  }
  .drawer-edge-grip {
    width: 3px;
    height: 24px;
    border-radius: 2px;
    background: var(--wine-blush);
  }
  .drawer-edge-handle:hover .drawer-edge-grip {
    background: var(--wine-red);
  }
}
@media (min-width: 1024px) {
  #terroir-drawer[data-state="open"] ~ .drawer-edge-handle {
    right: 450px;  /* desktop: drawer is 450px */
  }
}

/* ── Reopen FAB (shown after drawer is dismissed) ───────────────────── */
.drawer-reopen-fab {
  position: fixed;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 237, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wine-blush);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.12);
}
.drawer-reopen-fab:hover {
  background: var(--parchment);
  color: var(--wine-red);
}
.drawer-reopen-fab:active {
  transform: scale(0.92);
}
/* Mobile: bottom-right, above safe area */
.drawer-reopen-fab {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
}
/* PC: right edge, vertically centered */
@media (min-width: 768px) {
  .drawer-reopen-fab {
    bottom: auto;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }
  .drawer-reopen-fab:active {
    transform: translateY(-50%) scale(0.92);
  }
}

/* ── Map overlay fade-in ─────────────────────────────────────────────── */
#map-overlay {
  animation: fadeIn 0.3s ease both;
}

/* 2-C: desktop buttons hidden on mobile; mobile layers button hidden on desktop */
@media (max-width: 767px) {
  .map-desktop-btn  { display: none !important; }
}
@media (min-width: 768px) {
  .map-mobile-layers { display: none !important; }
}

/* ── Scrollbar — hidden on mobile, subtle on sidebar ────────────────── */
#terroir-drawer { scrollbar-width: thin; scrollbar-color: var(--wine-blush) transparent; }
#terroir-drawer::-webkit-scrollbar { width: 4px; }
#terroir-drawer::-webkit-scrollbar-thumb { background: var(--wine-blush); border-radius: 4px; }
#terroir-drawer::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 767px) {
  #terroir-drawer { scrollbar-width: none; }
  #terroir-drawer::-webkit-scrollbar { display: none; }
  .drawer-body { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
}

/* ── 2-E: Rec-card swipe carousel (mobile) ───────────────────────────── */
.rec-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.rec-carousel::-webkit-scrollbar { display: none; }

.rec-carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.rec-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(44,24,16,0.18);
  transition: background 0.2s, transform 0.2s;
}

.rec-dot-active {
  background: var(--wine-red);
  transform: scale(1.3);
}

/* ── Recommendation cards ────────────────────────────────────────────── */
.rec-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--wine-blush);
  background: var(--parchment);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease,
              box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.06);
}

.rec-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.rec-card:hover {
  background: var(--parchment-dark);
  border-color: var(--wine-red);
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.12);
  transform: translateY(-2px);
}

.rec-card:active {
  transform: scale(0.985);
  background: var(--parchment-dark);
  border-color: var(--wine-red);
}

.rec-card:hover .rec-card-name  { color: var(--ink); }
.rec-card:hover .rec-card-score { transform: scale(1.1); }

.rec-card-name {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.2;
  transition: color 0.18s ease;
}

.rec-card-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 300;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
  width: 100%;
}

/* Mobile: hide secondary axis-breakdown — full compare radar is in Details modal */
@media (max-width: 767px) {
  .rec-card-axis-breakdown { display: none; }
}

.rec-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.7rem;
  background: var(--wine-blush);
  color: var(--ink);
  border: none;
  transition: background 0.15s;
}

.rec-card:hover .rec-tag {
  background: var(--wine-red);
  color: var(--parchment);
}

.rec-card-score-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: 16px;
}

.rec-card-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  color: var(--wine-red);
  transform-origin: right center;
  transition: transform 0.18s ease;
}

.rec-card-score-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-top: 2px;
}

.rec-card-price {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* 4-D: taste match % badge */
.rec-card-match {
  margin-top: 4px;
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine-red);
}

/* Cross-soil type indicator on rec-card */
.rec-card-soil {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.65rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}
.rec-card-soil-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Detail button on rec-card ───────────────────────────────────────── */
.rec-card-body {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.rec-card-detail-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 9999px;
  border: 1px solid var(--wine-blush);
  background: rgba(139, 34, 82, 0.08);
  color: var(--wine-red);
  font-size: 0.7rem;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.rec-card-detail-btn:hover {
  background: var(--wine-red);
  border-color: var(--wine-red);
  color: var(--parchment);
}

/* ── WineDetailModal ─────────────────────────────────────────────────── */
.wine-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(44, 24, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.wine-modal-backdrop.wine-modal-visible {
  opacity: 1;
}

.wine-modal-backdrop.hidden {
  display: none;
}

.wine-modal-card {
  background: var(--parchment);
  border: 1px solid var(--wine-blush);
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-sizing: border-box;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: var(--wine-blush) transparent;
}

.wine-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.wine-modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--wine-blush);
  background: rgba(160, 120, 90, 0.08);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.wine-modal-back-btn:hover { background: var(--parchment-dark); color: var(--ink); }

.wine-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wine-blush);
  background: rgba(160, 120, 90, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.wine-modal-close-btn:hover { background: var(--parchment-dark); color: var(--ink); }

/* Wine label image (shown when image_url is present) */
.wine-modal-image-wrap { text-align:center; margin-bottom:24px; }
.wine-modal-label-img {
  max-height: 180px; max-width: 100%; object-fit: contain;
  border-radius: 8px; box-shadow: 0 4px 24px rgba(44,24,16,.15);
}

.wine-modal-hero {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wine-blush);
}

.wine-modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--wine-red);
  margin-bottom: 12px;
}

.wine-modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.wine-modal-wine-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  flex: 1;
  min-width: 0;
}

.wine-modal-score-badge {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}

.wine-modal-score-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  color: var(--wine-red);
  line-height: 1;
}

.wine-modal-score-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wine-modal-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.wine-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 540px) {
  .wine-modal-grid { grid-template-columns: 1fr; }
  .wine-modal-wine-name { font-size: 1.35rem; }
}

.wine-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wine-modal-section-label {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.wine-modal-field {
  margin-bottom: 16px;
}

.wine-modal-field-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.wine-modal-field-value {
  font-size: 0.9rem;
  color: var(--ink);
}

.wine-modal-price {
  color: var(--wine-red);
}

.wine-modal-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wine-modal-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: var(--wine-blush);
  color: var(--ink);
  border: none;
}

.wine-modal-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--wine-red);
  color: var(--parchment);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Caveat', cursive;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  justify-content: center;
}

.wine-modal-cta-primary:hover { background: var(--wine-burgundy); }
.wine-modal-cta-primary:active { transform: scale(0.98); }

.wine-modal-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--wine-blush);
  background: transparent;
  color: var(--wine-red);
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  justify-content: center;
  box-sizing: border-box;
}

.wine-modal-cta-secondary:hover {
  background: var(--parchment-dark);
  color: var(--ink);
}

/* ── Soil legend card (1-C) ──────────────────────────────────────────── */
#soil-legend {
  position: fixed;
  bottom: 28px;
  left: 20px;
  z-index: 35;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(245, 237, 224, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--wine-blush);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: 240px;
}

#soil-legend.soil-legend-visible {
  opacity: 1;
  transform: translateY(0);
}

/* On mobile: default near bottom; push up only when drawer is open */
@media (max-width: 767px) {
  #soil-legend {
    bottom: 28px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }
  body:has(#terroir-drawer[data-state="open"]) #soil-legend {
    bottom: calc(50vh + 14px);
  }
}

.soil-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.soil-legend-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.soil-legend-type {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.soil-legend-char {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.4;
}

.soil-legend-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-family: 'Inter', monospace;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.soil-legend-sep {
  opacity: 0.4;
}

/* ── Recent searches pills (2-D) ────────────────────────────────────── */
.recent-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 0 8px;
}

.recent-label {
  font-size: 0.62rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.recent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.recent-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--wine-blush);
  background: var(--parchment);
  color: var(--ink);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 32px;
  white-space: nowrap;
}

.recent-pill:hover {
  background: var(--parchment-dark);
  border-color: var(--wine-red);
  color: var(--wine-red);
}

/* ── Taste-profile radar chart (4-B) ────────────────────────────────── */
.soil-radar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 160, 154, 0.3);
}

.soil-radar-title {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ── Soil cross-section diagram (1-D) ───────────────────────────────── */
.soil-xsec {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 160, 154, 0.3);
}

.soil-xsec-title {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.soil-xsec-caption {
  margin: 8px 0 0;
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ── Producer Profile panel (Goal 3) ────────────────────────────────── */
.pp-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--parchment);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pp-panel.pp-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.pp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--wine-blush);
  flex-shrink: 0;
  background: rgba(245, 237, 224, 0.95);
  backdrop-filter: blur(12px);
}

.pp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--wine-blush);
  background: rgba(160, 120, 90, 0.08);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.pp-back-btn:hover { background: var(--parchment-dark); color: var(--ink); }

.pp-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-eyebrow-sep { opacity: 0.4; }

.pp-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 48px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--wine-blush) transparent;
}

.pp-section {
  margin-bottom: 36px;
}

.pp-section-label {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pp-producer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .pp-producer-name { font-size: 2.5rem; }
  .pp-header { padding: 16px 32px; }
  .pp-body { padding: 32px 32px 64px; }
}

.pp-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pp-soil-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pp-meta-icon {
  width: 13px;
  height: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.pp-meta-text {
  font-size: 0.85rem;
  color: var(--ink);
}

.pp-notes {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 0;
}

/* 3-C: map thumbnail */
.pp-map-section { margin-bottom: 8px; }
.pp-map-thumb {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  max-height: 200px;
  border: 1px solid var(--wine-blush);
}

/* 3-B: wine list */
.pp-wine-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-wine-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--parchment-dark);
  border: 1px solid var(--wine-blush);
  gap: 12px;
}

.pp-wine-info { flex: 1; min-width: 0; }

.pp-wine-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}

.pp-wine-meta {
  display: flex;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pp-wine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pp-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.68rem;
  border: 1px solid;
}

.pp-wine-score {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pp-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--wine-red);
  line-height: 1;
}

.pp-score-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 2px;
}

.pp-empty {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.pp-error {
  padding: 32px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Mapbox canvas ───────────────────────────────────────────────────── */
.mapboxgl-canvas { outline: none; }

#map canvas.mapboxgl-canvas {
  filter: sepia(0.28) saturate(0.6) hue-rotate(-8deg) brightness(1.05);
}

#map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: rgba(245, 237, 224, 0.07);
  mix-blend-mode: multiply;
}

/* ── Soil hover tooltip ──────────────────────────────────────────────── */
.soil-tooltip .mapboxgl-popup-content {
  background: rgba(245, 237, 224, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--wine-blush);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.15);
}

.soil-tooltip .mapboxgl-popup-tip { border-top-color: rgba(245, 237, 224, 0.95); }

/* ── Recommendation marker tooltip ────────────────────────────────────── */
.rec-marker-tooltip .mapboxgl-popup-content {
  background: rgba(245, 237, 224, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--wine-blush);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.15);
}
.rec-marker-tooltip .mapboxgl-popup-tip { border-top-color: rgba(245, 237, 224, 0.95); }

.rec-marker-dot {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rec-marker-dot:hover {
  transform: scale(1.3);
}

/* ── Soil click popup ─────────────────────────────────────────────────── */
.soil-click-popup .mapboxgl-popup-content {
  background: rgba(245, 237, 224, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--wine-blush);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.15);
}
.soil-click-popup .mapboxgl-popup-tip { border-top-color: rgba(245, 237, 224, 0.96); }

/* ═══════════════════════════════════════════════════════════════════════
   GOAL 6 — Terroir ↔ Taste Connection & Score Transparency
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 6-A: Radar axis explanations ────────────────────────────────────── */
.radar-explanations {
  margin-top: 12px;
}

.radar-explanations-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
}

.radar-explanations-toggle:hover {
  color: var(--wine-red);
}

.radar-explanations-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.radar-explanation-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ink);
  border-bottom: 1px solid rgba(212, 160, 154, 0.2);
}

.radar-explanation-item:last-child {
  border-bottom: none;
}

.radar-exp-axis {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  min-width: 62px;
}

.radar-exp-score {
  font-family: 'Inter', monospace;
  font-weight: 600;
  color: var(--wine-red);
  min-width: 16px;
  text-align: right;
}

.radar-exp-dash {
  color: rgba(139, 34, 82, 0.35);
}

.radar-exp-text {
  flex: 1;
}

/* Desktop: list always visible, toggle hidden */
@media (min-width: 768px) {
  .radar-explanations-toggle { display: none; }
  .radar-explanations-list[hidden] { display: block !important; }
}

/* ── 6-B: Methodology card ───────────────────────────────────────────── */
.methodology-card {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--parchment-dark);
  border: 1px solid var(--wine-blush);
}

.methodology-title {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.methodology-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.methodology-attribution {
  margin-top: 8px;
  font-size: 0.6rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* ── 6-B: Per-axis breakdown on rec cards ────────────────────────────── */
.rec-card-axis-breakdown {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.rec-axis-ind {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-family: 'Inter', monospace;
  font-weight: 600;
}

.rec-axis-pass {
  background: rgba(100, 200, 120, 0.12);
  color: rgba(100, 200, 120, 0.7);
}

.rec-axis-fail {
  background: rgba(200, 100, 100, 0.10);
  color: rgba(200, 100, 100, 0.5);
}

/* ── 6-C: Cross-section annotation fallback (mobile) ────────────────── */
@media (max-width: 374px) {
  .xsec-annot { display: none; }
}

/* ── 6-D: Compare radar in WineDetailModal ───────────────────────────── */
.wine-modal-compare-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--wine-blush);
}

.compare-radar-title {
  font-size: 0.6rem;
  font-family: 'Inter', monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.compare-radar-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.compare-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--ink);
}

.compare-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.compare-legend-anchor {
  background: rgba(44, 24, 16, 0.15);
  border: 1px dashed var(--wine-blush);
}

/* ═══════════════════════════════════════════════════════════════════════
   Interactive Geology ↔ Taste Connection
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Cross-section layer interactivity ──────────────────────────────── */
.xsec-layer { cursor: pointer; }
.xsec-band { filter: sepia(0.28) saturate(0.6) hue-rotate(-8deg) brightness(1.05); }
.xsec-layer:hover .xsec-highlight { opacity: 0.08 !important; }
.xsec-layer-active .xsec-highlight { opacity: 0.15 !important; }
.xsec-layer-dimmed { opacity: 0.35; transition: opacity 0.2s ease; }
.xsec-layer-active { transition: opacity 0.2s ease; }

/* ── Radar axis interactivity ───────────────────────────────────────── */
.radar-axis-group { transition: opacity 0.2s ease; }
.radar-axis-highlight .radar-label {
  fill: var(--wine-red) !important;
  font-weight: 600;
}
.radar-axis-dimmed { opacity: 0.25; }

/* Hint text styling */
.soil-radar-hint,
.soil-xsec-hint {
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

/* ── Geology ↔ Taste insight badge ──────────────────────────────────── */
.geology-taste-link-badge {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--parchment-dark);
  border: 1px solid var(--wine-blush);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.geology-taste-link-badge strong {
  color: var(--wine-red);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════════
   TASTE PARTICLES — canvas overlay + emoji burst
   ════════════════════════════════════════════════════════════════════════ */

.taste-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

@keyframes tasteBurstIn {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  50%  { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes tasteBurstFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-8px); }
}
@keyframes tasteBurstOut {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}

.taste-burst-emoji {
  position: absolute;
  font-size: 36px;
  line-height: 1;
  pointer-events: none;
  z-index: 6;
  animation: tasteBurstIn 0.4s ease-out forwards,
             tasteBurstFloat 1.8s ease-in-out 0.4s infinite;
}

/* ── Terroir Reveal — floating flavor text ──────────────────────────── */

.terroir-reveal-text {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: revealTextIn 0.5s ease-out forwards,
             revealTextHold 1.6s ease-in-out 0.5s forwards,
             revealTextOut 0.6s ease-in 2.1s forwards;
}

@keyframes revealTextIn {
  0%   { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes revealTextHold {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, -54%); }
}
@keyframes revealTextOut {
  0%   { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(0.95); }
}

/* ── Flavour illustration (now canvas-based — see flavour-illustrations.js) ── */
/* Video overlay CSS removed; effects render on .taste-canvas via 'lighter' blend. */

/* ════════════════════════════════════════════════════════════════════════
   WINE WINDOW DESIGN SYSTEM (tokens consolidated into :root above)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Handwritten font class helpers ────────────────────────────────── */
.font-caveat   { font-family: 'Caveat', cursive; }
.font-playfair { font-family: 'Playfair Display', Georgia, serif; }

/* ── Quiz slider (custom range input) ──────────────────────────────── */
.quiz-range {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  outline: none;
}
.quiz-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--parchment, #F5EDE0);
  border: 3px solid var(--wine-blush);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.quiz-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.quiz-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--parchment, #F5EDE0);
  border: 3px solid var(--wine-blush);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* ── Auth modal backdrop animation ─────────────────────────────────── */
.auth-modal-backdrop {
  animation: fadeIn 0.2s ease both;
}
.auth-modal-card {
  animation: fadeUp 0.3s ease both;
}
@media (max-width: 767px) {
  .auth-modal-card {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 85vh;
    overflow-y: auto;
  }
}

/* ── Tasting note card hover glow ──────────────────────────────────── */
.tasting-note-card:hover {
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.12);
}

/* ── Wine Window scrollbar ─────────────────────────────────────────── */
.wine-window::-webkit-scrollbar {
  width: 6px;
}
.wine-window::-webkit-scrollbar-track {
  background: var(--parchment-dark);
}
.wine-window::-webkit-scrollbar-thumb {
  background: var(--wine-blush);
  border-radius: 3px;
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .quiz-screen,
  .auth-modal-card,
  .auth-modal-backdrop,
  .wine-window,
  .tasting-note-card {
    animation: none !important;
    transition: none !important;
  }
}
