/* ==========================================================================
   KROMA COFFEE ROASTERS & SPECIALTY LAB - LUXURY DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0d0d10;
  --bg-surface: #141418;
  --bg-surface-elevated: #1a1a21;
  --bg-card: #16161c;
  --bg-card-hover: #1f1f28;

  --accent-gold: #d99343;
  --accent-amber: #f2a859;
  --accent-roast: #c86e2d;
  --accent-warm-light: #fbeee0;

  --text-primary: #f6f3ed;
  --text-secondary: #bab1a2;
  --text-muted: #787165;
  --text-gold: #ebb16e;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-active: rgba(217, 147, 67, 0.45);
  --border-gold: rgba(217, 147, 67, 0.25);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px rgba(217, 147, 67, 0.22);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   ANNOUNCEMENT BAR & NAVIGATION
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #181512 0%, #2a1c12 50%, #181512 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.announcement-bar strong {
  color: var(--accent-amber);
}

.announcement-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin: 0 8px;
  vertical-align: middle;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 16, 0.96);
  border-bottom-color: rgba(217, 147, 67, 0.2);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-roast));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(217, 147, 67, 0.4);
}

.brand-icon svg {
  color: #120e0a;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--accent-amber);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-reserve {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-nav-reserve:hover {
  background: rgba(217, 147, 67, 0.12);
  border-color: var(--accent-gold);
  color: #fff;
}

.btn-cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-cart:hover {
  border-color: var(--accent-gold);
  color: var(--accent-amber);
}

.cart-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-roast);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION & THREE.JS 3D VIEWPORT
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 60px 24px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 35%, rgba(65, 34, 15, 0.28) 0%, rgba(13, 13, 16, 0) 70%);
}

.hero-grid {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(217, 147, 67, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 24px;
}

.hero-pill-badge {
  background: var(--accent-gold);
  color: #120e0a;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.08;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--accent-amber);
  font-style: italic;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-roast) 100%);
  color: #110e0b;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(217, 147, 67, 0.35);
  transition: var(--transition);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217, 147, 67, 0.5);
  filter: brightness(1.08);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.btn-secondary-outline:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-amber);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Viewport Column */
.hero-3d-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.canvas-viewport-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(38, 26, 19, 0.5) 0%, rgba(18, 18, 22, 0.8) 80%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#three-coffee-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#three-coffee-canvas-container:active {
  cursor: grabbing;
}

/* 3D Canvas Floating HUD Overlays */
.viewport-hud-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.hud-roast-badge {
  background: rgba(13, 13, 16, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.hud-roast-badge .hud-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.hud-roast-badge .hud-val {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.hud-origin-tag {
  background: rgba(13, 13, 16, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-amber);
}

.viewport-hud-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(13, 13, 16, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  pointer-events: none;
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.hud-metric-col {
  display: flex;
  flex-direction: column;
}

.hud-m-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-m-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hud-notes-bar {
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 6px;
}

.hud-notes-bar strong {
  color: var(--accent-amber);
}

/* 3D Roast Switcher Bar */
.roast-controls-bar {
  margin-top: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.roast-buttons-group {
  display: flex;
  gap: 6px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.btn-roast-pill {
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-roast-pill:hover {
  color: #fff;
}

.btn-roast-pill.active {
  background: var(--accent-roast);
  color: #fff;
  box-shadow: 0 2px 10px rgba(200, 110, 45, 0.4);
}

.canvas-utility-buttons {
  display: flex;
  gap: 8px;
}

.btn-utility-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.btn-utility-icon:hover {
  border-color: var(--accent-gold);
  color: var(--accent-amber);
}

.btn-utility-icon.active {
  background: rgba(217, 147, 67, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-amber);
}

/* ==========================================================================
   DIRECT TRADE & TRANSPARENCY BANNER
   ========================================================================== */
.transparency-strip {
  background: #111115;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 24px;
}

.transparency-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.transparency-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.transparency-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(217, 147, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.transparency-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.transparency-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  padding: 96px 24px;
  position: relative;
}

.section-container {
  max-width: 1360px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-subheading {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SHOP / MICRO-LOTS CATALOG
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.category-filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-filter-pill.active {
  background: var(--accent-gold);
  color: #120e0a;
  border-color: var(--accent-gold);
  font-weight: 700;
}

.search-input-wrap {
  position: relative;
  min-width: 280px;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(217, 147, 67, 0.25);
}

/* Coffee Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.coffee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.coffee-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-star {
  color: var(--accent-amber);
}

.elevation-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.micro-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(217, 147, 67, 0.1);
  color: var(--accent-amber);
  font-weight: 600;
}

.coffee-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.coffee-origin {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.coffee-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.flavor-notes-wrap {
  margin-bottom: 18px;
}

.notes-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

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

.note-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.coffee-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Card Actions Bar */
.card-actions-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.selectors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.select-group label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-select {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.card-select:focus {
  border-color: var(--accent-gold);
}

.price-add-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.price-val {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
}

.weight-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent-gold);
  color: #120e0a;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-add-to-cart:hover {
  background: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 147, 67, 0.4);
}

/* ==========================================================================
   INTERACTIVE BEAN FINDER QUIZ
   ========================================================================== */
.quiz-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #151319 50%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quiz-card-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.quiz-step {
  margin-bottom: 32px;
}

.quiz-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(217, 147, 67, 0.15);
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.quiz-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.quiz-option-label:hover {
  border-color: rgba(217, 147, 67, 0.4);
  color: #fff;
}

.quiz-option-label input[type="radio"] {
  accent-color: var(--accent-gold);
}

.quiz-option-label:has(input:checked) {
  border-color: var(--accent-gold);
  background: rgba(217, 147, 67, 0.12);
  color: #fff;
  font-weight: 600;
}

.quiz-submit-wrap {
  text-align: center;
  margin-top: 36px;
}

.matched-card-content {
  margin-top: 32px;
  padding: 24px;
  background: rgba(217, 147, 67, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  text-align: left;
}

.matched-badge {
  font-size: 0.75rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.matched-card-content h4 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 4px;
}

.matched-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.matched-notes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.matched-rationale {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.matched-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.matched-price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-amber);
}

/* ==========================================================================
   BREW LAB & RATIO CALCULATOR
   ========================================================================== */
.brew-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.method-tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.method-tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: var(--transition);
}

.method-tab:hover {
  color: #fff;
}

.method-tab.active {
  background: var(--accent-gold);
  color: #120e0a;
  border-color: var(--accent-gold);
}

.slider-group {
  margin-bottom: 28px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #2a2a35;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(217, 147, 67, 0.6);
  border: 2px solid #fff;
}

.calc-results-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.calc-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.c-metric-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.c-metric-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.c-metric-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Timer & Step Walkthrough Column */
.timer-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.timer-box {
  text-align: center;
  background: #111116;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
}

.timer-digits-display {
  font-family: var(--font-mono);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(242, 168, 89, 0.3);
}

.timer-controls-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-timer-action {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-timer-action.btn-start {
  background: var(--accent-gold);
  color: #120e0a;
}

.btn-timer-action.btn-pause {
  background: #e74c3c;
  color: #fff;
}

.btn-timer-action.btn-reset {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.steps-walkthrough-wrap h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ==========================================================================
   ROASTERY PHILOSOPHY & ROAST CURVE
   ========================================================================== */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.craft-text-col h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.craft-text-col p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.craft-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.craft-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.craft-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(217, 147, 67, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.craft-feature-item h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.craft-feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.craft-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.curve-diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.curve-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(217, 147, 67, 0.1);
  color: var(--accent-amber);
  border-radius: var(--radius-pill);
}

.roast-svg-curve {
  width: 100%;
  height: 220px;
}

.roast-curve-legend {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.legend-point {
  display: flex;
  align-items: center;
  gap: 6px;
}

.point-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ==========================================================================
   LOCATIONS & TASTING ROOMS
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.loc-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-amber);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.location-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.loc-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.loc-hours-list {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 24px;
  font-size: 0.8rem;
}

.loc-hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.loc-hours-row:last-child {
  margin-bottom: 0;
}

.loc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #2ecc71;
  font-weight: 600;
  margin-bottom: 16px;
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
}

/* ==========================================================================
   CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-subtle);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
}

.btn-close-drawer {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.btn-close-drawer:hover {
  color: #fff;
  border-color: var(--accent-gold);
}

.shipping-bar-container {
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
}

.shipping-track {
  height: 6px;
  background: #252530;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.shipping-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-gold));
  width: 0%;
  transition: width 0.4s ease;
}

.shipping-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.cart-items-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-cart-state svg {
  margin: 0 auto 16px auto;
  stroke: var(--text-muted);
}

.empty-cart-state h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-cart-state p {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.cart-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.cart-row-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}

.cart-item-total {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.btn-qty {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
}

.btn-qty:hover {
  color: #fff;
}

.qty-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0 8px;
  font-weight: 600;
}

.btn-remove-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: var(--transition);
}

.btn-remove-item:hover {
  color: #e74c3c;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.coupon-input {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #fff;
  text-transform: uppercase;
  outline: none;
}

.coupon-input:focus {
  border-color: var(--accent-gold);
}

.btn-apply-code {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-apply-code:hover {
  border-color: var(--accent-gold);
  color: #fff;
}

.cart-totals-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.totals-row.final-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.btn-checkout-full {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-roast));
  color: #120e0a;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(217, 147, 67, 0.4);
  transition: var(--transition);
}

.btn-checkout-full:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ==========================================================================
   MODALS (CHECKOUT & CUPPING RESERVATION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-control {
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #fff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
}

.checkout-preview-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.checkout-preview-title {
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.checkout-item-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.order-success-card {
  text-align: center;
  padding: 30px 10px;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.order-success-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 10px;
}

.order-id {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.roast-schedule-note {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: left;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.kroma-toast {
  background: rgba(22, 22, 28, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.kroma-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.toast-success .toast-dot {
  background: #2ecc71;
}

.toast-error .toast-dot {
  background: #e74c3c;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #09090b;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 24px 32px 24px;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 380px;
  margin: 18px 0 24px 0;
}

.newsletter-form-row {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #fff;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--accent-gold);
}

.footer-nav-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--accent-amber);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.azure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 120, 212, 0.12);
  border: 1px solid rgba(0, 120, 212, 0.35);
  border-radius: var(--radius-pill);
  color: #50e6ff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* ==========================================================================
   BUTTON HELPERS
   ========================================================================== */
.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--accent-gold);
  color: #120e0a;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-gold-sm:hover {
  background: var(--accent-amber);
  transform: translateY(-1px);
}

/* ==========================================================================
   MULTI-CURRENCY SELECTOR
   ========================================================================== */
.currency-selector-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.currency-select-nav {
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-amber);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.currency-select-nav:hover, .currency-select-nav:focus {
  border-color: var(--accent-gold);
}

/* ==========================================================================
   SENSORY RADAR SPIDER CHART & LEDGER TRIGGER
   ========================================================================== */
.btn-ledger-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(217, 147, 67, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-amber);
  transition: var(--transition);
}

.btn-ledger-trigger:hover {
  background: rgba(217, 147, 67, 0.2);
  color: #fff;
  border-color: var(--accent-amber);
}

.radar-preview-container {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px 6px 12px;
  margin-bottom: 16px;
  text-align: center;
}

.radar-title-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.sensory-radar-svg {
  display: block;
  margin: 0 auto;
  overflow: visible;
}

/* ==========================================================================
   SUBSCRIPTION TOGGLE & FREQUENCY SELECTOR
   ========================================================================== */
.purchase-mode-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}

.purchase-mode-pills {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 4px;
}

.btn-purchase-toggle {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  text-align: center;
}

.btn-purchase-toggle.active {
  background: rgba(217, 147, 67, 0.18);
  color: var(--accent-amber);
  font-weight: 700;
  border: 1px solid var(--border-gold);
}

.sub-frequency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(217, 147, 67, 0.08);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.card-select-sm {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.72rem;
  color: #fff;
  outline: none;
  cursor: pointer;
}

.cart-sub-tag {
  display: inline-block;
  font-size: 0.68rem;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 600;
}

/* ==========================================================================
   IN-STORE CAFE DRINK MENU
   ========================================================================== */
.cafe-menu-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #151318 50%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cafe-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cafe-filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.cafe-filter-pill:hover {
  color: #fff;
}

.cafe-filter-pill.active {
  background: var(--accent-gold);
  color: #120e0a;
  border-color: var(--accent-gold);
}

.cafe-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.cafe-menu-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.cafe-menu-item-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cmi-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.cmi-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.cmi-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.cmi-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cmi-equipment {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.cmi-equip-label {
  color: var(--accent-gold);
  font-weight: 600;
}

.cmi-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cmi-badge {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* ==========================================================================
   DIRECT-TRADE TRANSPARENCY MODAL
   ========================================================================== */
.transparency-report-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.transparency-report-header h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-top: 4px;
}

.fob-comparison-box {
  background: rgba(217, 147, 67, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.fob-header-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.fob-bars-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}

.fob-metric-col {
  display: flex;
  flex-direction: column;
}

.fob-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fob-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.fob-val-highlight {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: #2ecc71;
}

.fob-sub {
  font-size: 0.68rem;
  color: var(--accent-gold);
}

.specs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.scaa-scorecard-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.scaa-card-header h4 {
  font-size: 0.82rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.scaa-scores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.scaa-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 4px;
}

.scaa-pill span {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scaa-pill strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-amber);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .canvas-viewport-wrapper {
    height: 440px;
  }
  .transparency-container {
    grid-template-columns: 1fr 1fr;
  }
  .brew-lab-grid, .craft-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface-elevated);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .transparency-container {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .calc-results-cards {
    grid-template-columns: 1fr;
  }
  .fob-bars-grid {
    grid-template-columns: 1fr;
  }
  .scaa-scores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
