/* ================================================================
   CIGAR CONNOISSEUR — Premium Dark Theme
   ================================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e0c070;
  --gold-dark:   #9a7530;
  --gold-glow:   rgba(201,168,76,0.15);

  --bg-deep:     #0d0b09;
  --bg-base:     #120f0b;
  --bg-card:     #1a1510;
  --bg-card-h:   #221c14;
  --bg-panel:    #161109;
  --bg-modal:    #1e1912;

  --border:      rgba(201,168,76,0.12);
  --border-h:    rgba(201,168,76,0.3);

  --text-primary:   #f0ead8;
  --text-secondary: #a89b7a;
  --text-muted:     #6b5e42;

  --strength-1: #7fc99e;
  --strength-2: #b5c97a;
  --strength-3: #e0b84a;
  --strength-4: #e07b3a;
  --strength-5: #d04040;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(201,168,76,0.08);
  --shadow-modal: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,168,76,0.15);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-body:  'Crimson Text', Georgia, serif;
}

/* ── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,11,9,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-icon {
  width: 38px; height: 38px;
  color: var(--gold);
  opacity: 0.9;
}
.brand-icon svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.brand-tagline {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  gap: 4px;
}
.nav-btn {
  padding: 7px 18px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-btn:hover { color: var(--gold-light); background: var(--gold-glow); }
.nav-btn.active { color: var(--gold); background: var(--gold-glow); border: 1px solid var(--border-h); }

/* ══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0d0b09 0%, #120f0b 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 48px;
  text-align: center;
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--border-h);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-search-wrap { max-width: 580px; margin: 0 auto 48px; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  overflow: hidden;
}
.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.search-icon {
  width: 18px; height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 18px;
}
#searchInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  padding: 14px 16px;
  caret-color: var(--gold);
}
#searchInput::placeholder { color: var(--text-muted); }
.search-clear {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
  display: none;
}
.search-clear:hover { color: var(--gold); }
.search-clear.visible { display: flex; align-items: center; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}
.stat { text-align: center; padding: 0 28px; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════════ */
.main-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════════════
   FILTERS PANEL
═══════════════════════════════════════════════════════════════════ */
.filters-panel {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.filters-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}
.filters-reset {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.filters-reset:hover { color: var(--gold); border-color: var(--border-h); }

.filter-group { margin-bottom: 22px; }
.filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flavor-pills { max-height: 110px; overflow-y: auto; }
.pill {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.pill:hover { color: var(--gold-light); border-color: var(--border-h); background: var(--gold-glow); }
.pill.active { color: var(--gold); border-color: var(--gold); background: var(--gold-glow); }

.filter-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236b5e42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 36px;
}
.filter-select:focus { border-color: var(--gold); }
.filter-select option { background: var(--bg-card); }

.range-wrap { padding: 4px 0; }
.range-input {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--gold) var(--pct, 100%), var(--bg-card) var(--pct, 100%));
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 0 2px var(--gold-dark);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
#priceLabel { color: var(--gold); font-weight: 600; }

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-wrap input { display: none; }
.toggle-track {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}
.toggle-wrap input:checked + .toggle-track { background: var(--gold-dark); border-color: var(--gold); }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition);
}
.toggle-wrap input:checked + .toggle-track .toggle-thumb {
  left: 20px;
  background: var(--gold);
}
.toggle-label { font-size: 12px; color: var(--text-secondary); }
.filters-mobile-close { display: none; }

/* ══════════════════════════════════════════════════════════════════
   CIGARS SECTION
═══════════════════════════════════════════════════════════════════ */
.cigars-section { padding: 28px 0 28px 28px; min-width: 0; }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.results-count {
  font-size: 13px;
  color: var(--text-muted);
}
.results-count strong { color: var(--gold); }
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.mobile-filter-btn svg { width: 16px; height: 16px; }
.mobile-filter-btn:hover { color: var(--gold); border-color: var(--border-h); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}
.view-btn svg { width: 16px; height: 16px; }
.view-btn:hover { color: var(--gold-light); border-color: var(--border-h); }
.view-btn.active { color: var(--gold); border-color: var(--gold); background: var(--gold-glow); }

/* ── GRID ─── */
.cigars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cigars-grid.list-view {
  grid-template-columns: 1fr;
}

/* ── CARD ─── */
.cigar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeSlideIn 0.35s ease both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cigar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}
.cigar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(201,168,76,0.08);
  border-color: var(--border-h);
  background: var(--bg-card-h);
}
.cigar-card:hover::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.card-rating {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.card-rating-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  display: block;
  margin-top: 1px;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 3px;
}
.card-brand {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* Strength meter */
.strength-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.strength-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 68px;
  flex-shrink: 0;
  color: var(--text-muted);
}
.strength-dots {
  display: flex;
  gap: 4px;
  flex: 1;
}
.strength-dot {
  height: 6px;
  flex: 1;
  border-radius: 3px;
  background: var(--bg-panel);
  transition: var(--transition);
}
.strength-dot.filled { background: var(--strength-val, var(--gold)); }
.strength-text {
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.detail-value {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.detail-value.price { color: var(--gold); font-weight: 600; }
.detail-value.time { color: var(--text-primary); }

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.flavor-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  color: var(--text-muted);
  white-space: nowrap;
}

.limited-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  padding: 2px 8px;
}

/* ── LIST VIEW CARD ─── */
.cigars-grid.list-view .cigar-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 22px;
  align-items: center;
}
.cigars-grid.list-view .card-left { min-width: 0; }
.cigars-grid.list-view .card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.cigars-grid.list-view .card-name { font-size: 16px; margin-bottom: 4px; }
.cigars-grid.list-view .card-details { display: flex; gap: 20px; grid-template-columns: unset; margin-bottom: 8px; }
.cigars-grid.list-view .detail-item { flex-direction: row; gap: 6px; align-items: center; }
.cigars-grid.list-view .flavor-tags { display: none; }

/* No results */
.no-results {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.no-results h3 { font-family: var(--font-serif); font-size: 22px; color: var(--text-secondary); margin-bottom: 8px; }
.no-results p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gold-glow);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.btn-primary:hover { background: rgba(201,168,76,0.25); box-shadow: 0 0 20px rgba(201,168,76,0.2); }

/* ══════════════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-modal);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-xl);
  max-width: 740px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-modal);
  animation: slideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUp { from { opacity:0; transform: translateY(30px) scale(0.97); } to { opacity:1; transform:none; } }
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px -40px 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 10;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { color: var(--gold); border-color: var(--border-h); }
.modal-body { padding: 32px; }

/* Modal Header */
.modal-header { margin-bottom: 28px; }
.modal-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.modal-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.modal-badge.origin { color: var(--gold); border-color: rgba(201,168,76,0.3); background: var(--gold-glow); }
.modal-badge.limited { color: #e0a830; border-color: rgba(224,168,48,0.4); background: rgba(224,168,48,0.08); }
.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 6px;
}
.modal-brand {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Modal rating + strength row */
.modal-stats-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.modal-stat-box {
  flex: 1;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.msb-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.msb-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.modal-strength-full {
  flex: 2;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.msf-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.msf-bar-track {
  height: 8px;
  background: var(--bg-panel);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.msf-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--strength-1), var(--fill-end, var(--gold)));
  transition: width 0.6s cubic-bezier(0.34,1.2,0.64,1);
}
.msf-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Modal description */
.modal-description {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--gold-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Modal specs grid */
.modal-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.spec-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.spec-value { font-size: 14px; color: var(--text-primary); font-weight: 500; }

/* Flavor wheel */
.modal-flavors { margin-bottom: 28px; }
.modal-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.flavor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.flavor-chip {
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.06);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.flavor-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
}

/* Pairings */
.modal-pairings { margin-bottom: 28px; }
.pairing-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pairing-item {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--text-secondary);
}

/* SVG Flavor Wheel */
.flavor-wheel-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
#flavorWheelSvg { max-width: 280px; width: 100%; }

/* ── WHERE TO BUY ───────────────────────────────────────────────── */
.modal-buy-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.buy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.buy-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 14px 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.buy-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.28);
  transform: translateY(-2px);
}
.buy-card-top {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.06);
}

.buy-badge {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

.buy-card-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.buy-card-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  flex: 1;
  line-height: 1.4;
}

.buy-cta {
  margin-top: 12px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--gold);
}

.buy-price-tag {
  color: #7fc99e;
}

.buy-cuban-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.buy-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin-top: 14px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   REGIONS VIEW
═══════════════════════════════════════════════════════════════════ */
.regions-view { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.regions-hero { text-align: center; margin-bottom: 56px; }
.regions-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 14px;
}
.regions-hero h1 em { font-style: italic; color: var(--gold-light); }
.regions-hero p { font-family: var(--font-body); font-size: 18px; color: var(--text-secondary); }

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.region-card:hover { border-color: var(--border-h); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.region-card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.region-flag { font-size: 36px; margin-bottom: 10px; }
.region-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.region-country { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; }
.region-card-body { padding: 20px 28px 24px; }
.region-body-text { font-family: var(--font-body); font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.region-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.region-trait {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}
.region-cigars-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.region-cigars-count strong { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   GUIDE VIEW
═══════════════════════════════════════════════════════════════════ */
.guide-view { max-width: 960px; margin: 0 auto; padding: 60px 24px 80px; }
.guide-hero { text-align: center; margin-bottom: 64px; }
.guide-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  margin-bottom: 14px;
}
.guide-hero h1 em { font-style: italic; color: var(--gold-light); }
.guide-hero p { font-family: var(--font-body); font-size: 18px; color: var(--text-secondary); }

.guide-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.guide-section:last-child { border-bottom: none; }
.guide-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.guide-section > p, .guide-intro {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Strength guide bars */
.strength-guide-bars { display: flex; flex-direction: column; gap: 20px; }
.sgb-item { }
.sgb-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-primary);
}
.sgb-label strong { font-family: var(--font-serif); font-size: 16px; }
.sgb-label span { font-size: 12px; color: var(--text-muted); }
.sgb-bar { height: 10px; background: var(--bg-card); border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.sgb-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.sgb-desc { font-family: var(--font-body); font-size: 15px; color: var(--text-muted); }

/* Anatomy */
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.anatomy-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.anatomy-icon { font-size: 28px; margin-bottom: 10px; }
.anatomy-item h3 { font-family: var(--font-serif); font-size: 17px; color: var(--gold-light); margin-bottom: 8px; }
.anatomy-item p { font-family: var(--font-body); font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Vitola table */
.vitola-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.vitola-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.vitola-table th {
  background: var(--bg-card);
  padding: 12px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.vitola-table td {
  padding: 11px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(201,168,76,0.06);
}
.vitola-table tr:last-child td { border-bottom: none; }
.vitola-table tr:hover td { background: rgba(255,255,255,0.02); }
.vitola-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* Wrapper colors */
.wrapper-colors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.wc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.wc-swatch { height: 56px; width: 100%; }
.wc-item h3 {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-primary);
  padding: 10px 14px 4px;
}
.wc-item p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 14px 12px;
  line-height: 1.5;
}

/* How to */
.how-to-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.howto-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.howto-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-dark);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 8px;
}
.howto-item h3 { font-family: var(--font-serif); font-size: 16px; color: var(--gold-light); margin-bottom: 8px; }
.howto-item p { font-family: var(--font-body); font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); max-width: 360px; line-height: 1.6; }
.footer-cols { display: flex; gap: 48px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 13px; color: var(--text-muted); }
.footer-nav-btn {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-nav-btn:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px 24px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════
   MOBILE FILTER OVERLAY
═══════════════════════════════════════════════════════════════════ */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-content { grid-template-columns: 1fr; padding: 0 16px; }
  .filters-panel {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    background: var(--bg-panel);
    border-right: 1px solid var(--border-h);
    z-index: 200;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    height: 100vh;
    overflow-y: auto;
  }
  .filters-panel.open { transform: translateX(0); }
  .cigars-section { padding: 20px 0; }
  .mobile-filter-btn { display: flex; }
  .filters-mobile-close {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--gold-glow);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
  }
  .filters-mobile-close:hover { background: rgba(201,168,76,0.25); }
}
@media (max-width: 768px) {
  .hero { padding: 48px 16px 36px; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat { padding: 0 16px; }
  .header-nav .nav-btn { padding: 6px 12px; font-size: 12px; }
  .brand-tagline { display: none; }
  .cigars-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 20px; }
  .modal-stats-row { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .regions-grid { grid-template-columns: 1fr; }
  .anatomy-grid { grid-template-columns: 1fr 1fr; }
  .how-to-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .card-details { grid-template-columns: 1fr; gap: 6px; }
  .anatomy-grid { grid-template-columns: 1fr; }
  .wrapper-colors { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════
   QUIZ TRIGGER BUTTON
═══════════════════════════════════════════════════════════════════ */
.hero-search-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.quiz-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
}
.quiz-trigger-btn:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}

/* ══════════════════════════════════════════════════════════════════
   QUIZ MODAL
═══════════════════════════════════════════════════════════════════ */
.quiz-modal {
  max-width: 520px;
  padding: 0;
}
.quiz-body {
  padding: 40px 36px 36px;
}
.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.quiz-progress-dot {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s ease;
}
.quiz-progress-dot.active { background: var(--gold); }
.quiz-step-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.quiz-question {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.35;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  color: var(--text-secondary);
  font-size: 14px;
}
.quiz-option:hover {
  border-color: var(--gold);
  background: var(--bg-card-h);
  color: var(--text-primary);
}
.quiz-option.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold);
}
.quiz-option-icon { font-size: 20px; flex-shrink: 0; }
.quiz-option-text { display: flex; flex-direction: column; gap: 2px; }
.quiz-option-title { font-weight: 600; }
.quiz-option-desc { font-size: 12px; opacity: 0.7; }
.quiz-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}
.quiz-back-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.quiz-back-btn:hover { border-color: var(--border-h); color: var(--text-secondary); }
.quiz-next-btn {
  padding: 10px 24px;
  background: var(--gold-glow);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.quiz-next-btn:hover { background: rgba(201,168,76,0.25); }
.quiz-next-btn:disabled { opacity: 0.35; cursor: default; }

/* Quiz results */
.quiz-results-header {
  text-align: center;
  margin-bottom: 28px;
}
.quiz-results-header h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 6px;
}
.quiz-results-header p { color: var(--text-muted); font-size: 13px; }
.quiz-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}
.quiz-result-card:hover { border-color: var(--gold); background: var(--bg-card-h); }
.qrc-rank {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  opacity: 0.5;
  width: 28px;
  flex-shrink: 0;
}
.qrc-info { flex: 1; min-width: 0; }
.qrc-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrc-brand { font-size: 12px; color: var(--text-muted); }
.qrc-rating {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.quiz-restart-btn {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.quiz-restart-btn:hover { border-color: var(--border-h); color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════════════════
   COMPARE BUTTON ON CARDS
═══════════════════════════════════════════════════════════════════ */
.cigar-card { position: relative; }
.card-compare-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
  cursor: pointer;
}
.cigar-card:hover .card-compare-btn { opacity: 1; }
.card-compare-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.card-compare-btn.in-compare { opacity: 1; border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

/* ══════════════════════════════════════════════════════════════════
   COMPARE TRAY
═══════════════════════════════════════════════════════════════════ */
.compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-h);
  z-index: 300;
  padding: 14px 24px;
  animation: slideUp 0.25s ease;
}
.compare-tray-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.compare-tray-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex-shrink: 0;
}
.compare-slots {
  display: flex;
  gap: 10px;
  flex: 1;
}
.compare-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 180px;
  max-width: 260px;
}
.compare-slot-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  min-width: 180px;
  color: var(--text-muted);
  font-size: 12px;
}
.compare-slot-name { font-size: 13px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-slot-remove { color: var(--text-muted); font-size: 14px; cursor: pointer; flex-shrink: 0; line-height: 1; transition: var(--transition); }
.compare-slot-remove:hover { color: var(--text-primary); }
.compare-tray-actions { display: flex; gap: 8px; flex-shrink: 0; }
.compare-clear-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.compare-clear-btn:hover { border-color: var(--border-h); color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════════════════
   COMPARE MODAL
═══════════════════════════════════════════════════════════════════ */
.compare-modal { max-width: 860px; }
.compare-body { padding: 36px 32px; }
.compare-header {
  text-align: center;
  margin-bottom: 28px;
}
.compare-header h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 4px;
}
.compare-header p { color: var(--text-muted); font-size: 13px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
}
.compare-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.compare-col-header {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  text-align: center;
  margin-bottom: 0;
}
.compare-col-name { font-family: var(--font-serif); font-size: 17px; margin-bottom: 3px; }
.compare-col-brand { font-size: 12px; color: var(--text-muted); }
.compare-divider-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.compare-vs {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-muted);
  padding: 8px 0;
}
.compare-row {
  display: contents;
}
.compare-cell {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-top: none;
  font-size: 13px;
  color: var(--text-secondary);
}
.compare-cell.highlight { color: var(--gold); font-weight: 600; }
.compare-cell-label {
  padding: 12px 0;
  border-top: none;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--border);
}
.compare-left { border-right: none; }
.compare-right { border-left: none; }
.compare-col:last-child .compare-cell:last-child { border-radius: 0 0 var(--radius-md) 0; }
.compare-col:first-child .compare-cell:last-child { border-radius: 0 0 0 var(--radius-md); }
.compare-strength-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.compare-strength-fill {
  height: 100%;
  border-radius: 3px;
}
.compare-flavor-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.compare-flavor-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  color: var(--text-muted);
}
.compare-cell-hover-wrap { position: relative; cursor: default; }
.compare-hover-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  margin-top: 0;
}
.compare-col:hover .compare-hover-reveal {
  max-height: 320px;
  opacity: 1;
  margin-top: 14px;
}
.compare-hover-wheel {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.compare-hover-wheel svg { width: 120px; height: 120px; }
.compare-hover-pairings-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-align: center;
}
.compare-hover-pairings {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.compare-pairing-chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .compare-tray-inner { flex-wrap: wrap; }
  .compare-slots { flex-direction: column; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider-col { display: none; }
}
