/* ===== Design tokens — Hobbi Smoke ===== */
:root {
  --bg-dark: #1A1715;
  --bg-cream: #F4EDE1;
  --bg-cream-2: #EADFCB;
  --text-dark: #3E2A1D;
  --text-mute: #8A8075;
  --border: #E2D8C2;
  --accent: #D2401C;
  --accent-hover: #B03518;
  --accent-soft: #F5DDD0;
  --success: #4A7C3C;
  --warning: #C9821F;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(62,42,29,.06);
  --shadow-md: 0 4px 16px rgba(62,42,29,.10);
  --shadow-lg: 0 12px 40px rgba(62,42,29,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-heading {
  font-family: 'PT Sans Narrow', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.005em;
  font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9375rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 120ms ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: #fff; color: var(--text-dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-dark); background: var(--bg-cream); }
.btn-ghost { background: transparent; color: var(--text-dark); }
.btn-ghost:hover { background: var(--bg-cream); }
.btn-dark { background: var(--text-dark); color: #fff; }
.btn-dark:hover { background: var(--bg-dark); }
.btn-lg { padding: 1.125rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: .625rem 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.card-hover:hover { border-color: var(--text-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-cream { background: var(--bg-cream); border-color: var(--bg-cream-2); }

/* ===== Chips / badges ===== */
.chip {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .375rem .75rem; border-radius: var(--radius-full);
  background: var(--bg-cream); color: var(--text-dark);
  font-size: .8125rem; font-weight: 500; border: 1px solid var(--border);
}
.chip-accent { background: var(--accent-soft); color: var(--accent-hover); border-color: #E7B5A1; }
.chip-warning { background: #FAE7C3; color: #8A5A12; border-color: #E6D1A2; }
.chip-success { background: #DAEBD4; color: var(--success); border-color: #B8D8AD; }
.chip-dark { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }

/* ===== Layout ===== */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.container-x { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container-x { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-x { padding-inline: 2rem; } }

/* ===== Placeholder images ===== */
.placeholder-img {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-2) 100%);
  color: var(--text-mute); font-size: .875rem;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 700; border-radius: var(--radius-md);
  text-align: center; padding: 1rem;
}

/* ===== Prices ===== */
.price-old { color: var(--text-mute); text-decoration: line-through; font-size: 1rem; }
.price-current {
  font-family: 'PT Sans Narrow', sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--text-dark); line-height: 1;
}

/* ===== FAQ accordion ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-icon-plus { display: none; }
.faq-item[open] .faq-icon-minus { display: block; }
.faq-item .faq-icon-minus { display: none; }
.faq-item[open] summary { padding-bottom: .5rem; }

/* ===== Range slider ===== */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 6px; background: var(--bg-cream-2); border-radius: var(--radius-full); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: var(--radius-full);
  background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: var(--shadow-md);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: var(--radius-full);
  background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: var(--shadow-md);
}

/* ===== Scroll utilities ===== */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.snap-x-scroll { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.snap-x-scroll > * { scroll-snap-align: start; }

/* ===== Quiz ===== */
.quiz-option {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius-md); cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
  background: #fff;
}
.quiz-option:hover { border-color: var(--text-dark); background: var(--bg-cream); }
.quiz-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.quiz-progress { height: 4px; background: var(--bg-cream-2); border-radius: var(--radius-full); overflow: hidden; }
.quiz-progress__bar { height: 100%; background: var(--accent); transition: width 300ms ease; }

/* ===== Popup ===== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(26,23,21,.72);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 1rem;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  max-height: 92vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--bg-cream); display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; color: var(--text-dark); z-index: 1;
}
.modal-close:hover { background: var(--bg-cream-2); }

/* ===== Leadia bell widget ===== */
.leadia {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: .75rem;
}
@media (max-width: 640px) { .leadia { bottom: 16px; right: 16px; } }
.leadia-preview {
  max-width: 260px; background: #fff; border-radius: var(--radius-md);
  padding: .875rem 1rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); font-size: .875rem;
  display: none; animation: fadeInUp 400ms ease;
}
.leadia-preview.is-visible { display: block; }
.leadia-bell {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg); border: none;
  animation: bell-pulse 4s ease-in-out infinite;
  position: relative;
}
.leadia-bell:hover { background: var(--accent-hover); }
.leadia-bell::before {
  content: ''; position: absolute; inset: -4px; border-radius: var(--radius-full);
  background: var(--accent); opacity: .3; z-index: -1;
  animation: bell-ring 4s ease-in-out infinite;
}
@keyframes bell-pulse {
  0%, 90%, 100% { transform: scale(1); }
  10%, 20% { transform: scale(1.08) rotate(-6deg); }
  15% { transform: scale(1.08) rotate(6deg); }
}
@keyframes bell-ring {
  0%, 90%, 100% { transform: scale(1); opacity: .3; }
  10% { transform: scale(1.6); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Countdown timer ===== */
.countdown {
  display: inline-flex; gap: .5rem; align-items: flex-start;
  font-family: 'PT Sans Narrow', sans-serif;
}
.countdown__unit {
  background: var(--text-dark); color: #fff;
  padding: .75rem .875rem; border-radius: var(--radius-sm);
  min-width: 72px; text-align: center;
}
.countdown__value {
  font-size: 2rem; font-weight: 700; line-height: 1; display: block;
}
.countdown__label {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-mute); margin-top: .25rem; display: block;
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta-mobile {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: .75rem 1rem; background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(62,42,29,.08);
  z-index: 800; display: none;
}
@media (max-width: 1023px) {
  .sticky-cta-mobile.is-visible { display: block; }
  body.has-sticky-cta { padding-bottom: 80px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Utility ===== */
.text-dark { color: var(--text-dark); }
.text-mute { color: var(--text-mute); }
.text-accent { color: var(--accent); }
.text-cream { color: var(--bg-cream); }
.bg-cream { background: var(--bg-cream); }
.bg-cream-2 { background: var(--bg-cream-2); }
.bg-dark { background: var(--bg-dark); }
.bg-accent { background: var(--accent); }
.bg-accent-soft { background: var(--accent-soft); }
.border-default { border-color: var(--border); }
.shadow-soft { box-shadow: var(--shadow-md); }
