/* ==========================================================================
   Decemberday Coffee Catalog - Premium Design System (Forest Green + White)
   ========================================================================== */

:root {
  /* Green & White Premium Palette (HSL-based) */
  --primary-hue: 154;
  --green-950: #07462a;     /* Deepest Green */
  --green-900: #0e7b4b;     /* Primary Brand Green (#0e7b4b) */
  --green-800: #0b663e;     /* Hover Brand Green */
  --green-700: #0d7346;     
  --green-600: #108d56;
  --green-500: #139f62;
  --green-300: #42c88d;
  --green-100: #e3f5ec;     /* Soft Sage Tint */
  --green-50:  #f4faf7;     /* Off-white Background */

  /* Gold / Brass Accent */
  --gold-hue: 38;
  --gold-600: hsl(var(--gold-hue), 72%, 38%);        /* Deep Amber */
  --gold-500: hsl(var(--gold-hue), 65%, 48%);        /* Brand Gold */
  --gold-400: hsl(var(--gold-hue), 70%, 60%);        /* Light Amber Accent */
  --gold-100: hsl(var(--gold-hue), 40%, 93%);        /* Delicate Gold Backing */

  /* Global Theme Colors (Light Mode by default - 80% White / 20% Green) */
  --bg-body: var(--green-50);
  --bg-card: #ffffff;
  --bg-white: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-hero: linear-gradient(135deg, #ffffff 0%, #f4faf7 100%);
  --bg-advisor: #ffffff;
  --bg-packages: var(--green-50);
  --bg-contact: linear-gradient(135deg, #ffffff 0%, #f4faf7 100%);
  
  --text-dark: #072b1a;
  --text-muted: #4e6b5e;
  --text-light: #ffffff;
  --text-hero: var(--text-dark);
  --text-hero-title: var(--green-950);
  --text-hero-subtitle: var(--text-muted);
  --text-hero-stats-label: var(--text-muted);
  --text-hero-stats-value: var(--green-900);
  
  --text-price: var(--green-900);
  --text-price-alt: var(--gold-600);
  
  --line-color: rgba(14, 123, 75, 0.08);
  --line-color-light: rgba(14, 123, 75, 0.04);
  --shadow-color: rgba(14, 123, 75, 0.04);

  /* Borders & Shadows */
  --border-thin: 1px solid var(--line-color);
  --border-light: 1px solid var(--line-color-light);
  --border-accent: 1px solid rgba(14, 123, 75, 0.15);
  --shadow-sm: 0 4px 12px var(--shadow-color);
  --shadow-md: 0 12px 36px rgba(14, 123, 75, 0.05);
  --shadow-lg: 0 24px 54px rgba(14, 123, 75, 0.08);
  --shadow-xl: 0 32px 80px rgba(14, 123, 75, 0.14);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Premium Typography Tokens */
  --font-serif: "Plus Jakarta Sans", "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", sans-serif;
  --font-sans: "Plus Jakarta Sans", "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", sans-serif;

  color-scheme: light;
}

body.dark-mode {
  --bg-body: #060d0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-white: #0a110e;
  --bg-header: rgba(6, 13, 10, 0.88);
  --bg-hero: linear-gradient(135deg, #020a07 0%, #061510 100%);
  --bg-advisor: rgba(255, 255, 255, 0.02);
  --bg-packages: #060d0a;
  --bg-contact: linear-gradient(135deg, #020a07 0%, #061510 100%);

  --text-dark: #ecf3f0;
  --text-muted: #8fa69d;
  --text-hero: var(--text-dark);
  --text-hero-title: #ffffff;
  --text-hero-subtitle: rgba(255, 255, 255, 0.7);
  --text-hero-stats-label: rgba(255, 255, 255, 0.6);
  --text-hero-stats-value: var(--gold-400);

  --text-price: var(--gold-400);
  --text-price-alt: var(--gold-400);

  --line-color: rgba(255, 255, 255, 0.08);
  --line-color-light: rgba(255, 255, 255, 0.04);
  --shadow-color: rgba(0, 0, 0, 0.4);

  --border-thin: 1px solid var(--line-color);
  --border-light: 1px solid var(--line-color-light);
  --border-accent: 1px solid rgba(217, 163, 92, 0.15);

  --shadow-sm: 0 4px 12px var(--shadow-color);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.65);

  color-scheme: dark;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  background: var(--bg-body);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Typography & Kickers
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.brand-line,
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-500);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-heading {
  margin-bottom: 40px;
  max-width: 800px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--green-950);
  margin-bottom: 12px;
}

.section-heading p:not(.section-kicker) {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-sans);
}

/* ==========================================================================
   UI Components (Buttons & Inputs)
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  transition: var(--transition-smooth);
}

.button.primary {
  color: var(--text-light);
  background: var(--green-900);
  box-shadow: 0 8px 24px rgba(11, 41, 30, 0.18);
}

.button.primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 41, 30, 0.25);
}

.button.light {
  color: var(--green-900);
  background: var(--bg-white);
  border: 1px solid var(--line-color);
  box-shadow: var(--shadow-sm);
}

.button.light:hover {
  background: var(--green-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button.ghost {
  color: var(--green-900);
  background: transparent;
  border: 1px solid rgba(11, 41, 30, 0.14);
}

.button.ghost:hover {
  background: rgba(11, 41, 30, 0.04);
}

.button.secondary {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.button:disabled,
.card-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Header Component
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: var(--bg-header);
  border-bottom: var(--border-thin);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  transition: background 0.4s ease, border-bottom 0.4s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-xs);
  background: var(--green-950);
  box-shadow: 0 4px 12px rgba(11, 41, 30, 0.2);
  transition: var(--transition-smooth);
}

.brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 41, 30, 0.3);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.brand::after {
  content: "Decemberday Coffee";
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 36px);
  color: var(--text-dark);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.4s ease;
}

.header-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  opacity: 0.85;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green-900);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.header-nav a:hover {
  opacity: 1;
  color: var(--green-900);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-light);
  background: var(--green-900);
  box-shadow: 0 4px 14px rgba(11, 41, 30, 0.15);
  transition: var(--transition-smooth);
}

.header-cta:hover {
  background: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 41, 30, 0.25);
}

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

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  border: var(--border-thin);
  background: rgba(14, 123, 75, 0.04);
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: rgba(14, 123, 75, 0.08);
  border-color: var(--green-900);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Hide sun icon by default when in light mode, show moon */
body:not(.dark-mode) .theme-toggle-btn .sun-icon {
  transform: translateY(30px);
  opacity: 0;
}

body:not(.dark-mode) .theme-toggle-btn .moon-icon {
  transform: translateY(0);
  opacity: 1;
}

/* Hide moon icon and show sun in dark mode */
body.dark-mode .theme-toggle-btn .sun-icon {
  transform: translateY(0);
  opacity: 1;
  color: var(--gold-400);
}

body.dark-mode .theme-toggle-btn .moon-icon {
  transform: translateY(-30px);
  opacity: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(11, 41, 30, 0.04);
  padding: 3px 4px;
  border-radius: var(--radius-xs);
  border: var(--border-thin);
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.dark-mode .lang-switcher {
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--text-dark);
  opacity: 0.5;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  opacity: 0.8;
}

.lang-btn.active {
  opacity: 1;
  background: var(--bg-card);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
}

.lang-divider {
  font-size: 0.72rem;
  opacity: 0.15;
  color: var(--text-dark);
  user-select: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(48px, 6vw, 96px) clamp(20px, 5vw, 72px) clamp(40px, 5vw, 80px);
  background: var(--bg-hero);
  color: var(--text-hero);
  transition: background 0.4s ease, color 0.4s ease;
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-hero-title);
  transition: color 0.4s ease;
}

body.dark-mode .hero h1 {
  background: linear-gradient(120deg, #ffffff 30%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-hero-subtitle);
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
  transition: color 0.4s ease;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-actions .button.primary {
  background: var(--green-900);
  color: #ffffff;
  transition: var(--transition-smooth);
}

.hero-actions .button.primary:hover {
  background: var(--green-800);
  box-shadow: 0 12px 30px rgba(14, 123, 75, 0.25);
}

body.dark-mode .hero-actions .button.primary {
  background: var(--gold-500);
  color: var(--green-950);
}

body.dark-mode .hero-actions .button.primary:hover {
  background: var(--gold-400);
  box-shadow: 0 12px 30px rgba(217, 163, 92, 0.35);
}

.hero-actions .button.secondary {
  background: rgba(14, 123, 75, 0.04);
  border: 1px solid rgba(14, 123, 75, 0.15);
  color: var(--green-900);
  transition: var(--transition-smooth);
}

.hero-actions .button.secondary:hover {
  background: rgba(14, 123, 75, 0.08);
  transform: translateY(-1px);
}

body.dark-mode .hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stats div {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.hero-stats div:hover {
  transform: translateY(-4px);
  border-color: var(--green-900);
  box-shadow: var(--shadow-md);
}

.hero-stats dt {
  color: var(--text-hero-stats-label);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.hero-stats dd {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-hero-stats-value);
  line-height: 1;
  transition: color 0.4s ease;
}

.hero-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-smooth);
}

.hero-media:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-media img {
  width: 100%;
  height: min(65vh, 600px);
  object-fit: cover;
}

/* ==========================================================================
   Common Section Band
   ========================================================================== */

.summary-band,
.advisor-band,
.packages-band,
.catalog-shell,
.contact-strip {
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 72px);
}

/* ==========================================================================
   Summary Band (Category Grid)
   ========================================================================== */

.summary-band {
  background: var(--bg-white);
  position: relative;
}

.category-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 41, 30, 0.05);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.summary-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.summary-card strong {
  color: var(--green-950);
  font-family: var(--font-serif);
  font-size: 1.68rem;
  font-weight: 700;
}

.summary-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  font-family: var(--font-sans);
}

.summary-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.94rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-card a::after {
  content: "→";
  transition: var(--transition-fast);
}

.summary-card a:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Advisor Band (Coffee Shop Configurator)
   ========================================================================== */

.advisor-band {
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-card) 100%);
}

.advisor-shell {
  display: grid;
  gap: 40px;
}

.advisor-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.advisor-steps {
  display: grid;
  gap: 20px;
}

.advisor-step {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid rgba(11, 41, 30, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.advisor-step:hover {
  border-color: rgba(11, 41, 30, 0.1);
  box-shadow: var(--shadow-md);
}

.advisor-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.advisor-step-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--text-light);
  background: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(11, 41, 30, 0.15);
}

.advisor-step h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--green-950);
}

.advisor-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.advisor-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  text-align: left;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 41, 30, 0.06);
  background: var(--green-50);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.advisor-option strong {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-950);
}

.advisor-option span {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.advisor-option:hover {
  border-color: var(--gold-500);
  background: var(--bg-white);
}

.advisor-option[aria-pressed="true"] {
  background: var(--green-900);
  border-color: var(--green-900);
  box-shadow: 0 10px 24px rgba(11, 41, 30, 0.16);
}

.advisor-option[aria-pressed="true"] strong {
  color: var(--text-light);
}

.advisor-option[aria-pressed="true"] span {
  color: rgba(255, 255, 255, 0.72);
}

/* Checkmark indicator for selected */
.advisor-option[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.72rem;
  font-weight: 900;
}

/* Advisor Results Side Panel */
.advisor-result {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--green-950);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

.advisor-result-head {
  margin-bottom: 20px;
}

.advisor-result-head h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.advisor-result-head p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.advisor-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.advisor-selected span {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(217, 163, 92, 0.12);
  border: 1px solid rgba(217, 163, 92, 0.25);
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 700;
}

.advisor-set-list {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.advisor-set-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.advisor-set-card.is-primary {
  background: rgba(217, 163, 92, 0.06);
  border-color: rgba(217, 163, 92, 0.28);
}

.advisor-set-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.advisor-set-badge {
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.76rem;
  font-weight: 800;
}

.advisor-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-400);
}

.advisor-set-card h4 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.advisor-set-card > p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 16px;
}

.advisor-items {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.advisor-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.advisor-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.advisor-item p {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.advisor-item h4 {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.advisor-item strong {
  font-size: 0.88rem;
  color: var(--gold-400);
}

.advisor-item .card-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.76rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.advisor-item .card-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.advisor-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  background: rgba(217, 163, 92, 0.08);
  border: 1px solid rgba(217, 163, 92, 0.2);
  margin-bottom: 16px;
}

.advisor-total span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

.advisor-total strong {
  font-size: 1.15rem;
  color: var(--gold-400);
  font-weight: 800;
}

.advisor-reasons {
  list-style: none;
  display: grid;
  gap: 6px;
}

.advisor-reasons li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.advisor-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
}

.advisor-result-actions {
  margin-top: 16px;
}

.advisor-result-actions .button {
  width: 100%;
}

.advisor-copy-actions {
  margin-top: 12px;
}

.advisor-copy-actions .button {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.advisor-copy-actions .button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.advisor-alert {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-xs);
  background: rgba(217, 163, 92, 0.9);
  color: var(--green-950);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Starter Packages Section
   ========================================================================== */

.packages-band {
  background: var(--bg-packages);
  color: var(--text-dark);
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
}

.packages-band .section-heading h2 {
  color: var(--text-dark);
  transition: color 0.4s ease;
}

.packages-band .section-heading p:not(.section-kicker) {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

body.dark-mode .packages-band .section-heading h2 {
  color: #ffffff;
}

body.dark-mode .packages-band .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.package-card.featured {
  border-color: var(--gold-500);
  background: rgba(217, 163, 92, 0.03);
}

.package-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.package-card h3 {
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.package-card p:not(.package-label) {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.4s ease;
}

.package-items {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.package-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: var(--border-light);
}

.package-items span {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.4s ease;
}

.package-items strong {
  font-size: 0.9rem;
  color: var(--text-price);
  transition: color 0.4s ease;
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  border: var(--border-thin);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.package-footer span {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.4s ease;
}

.package-footer strong {
  font-size: 1.25rem;
  color: var(--text-price);
  font-weight: 800;
  transition: color 0.4s ease;
}

.package-actions {
  display: grid;
  gap: 10px;
}

.package-actions .card-button {
  min-height: 44px;
}

.package-actions .card-button.primary {
  background: var(--gold-500);
  color: var(--green-950);
  border-color: var(--gold-500);
}

.package-actions .card-button.primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.package-actions .card-button:not(.primary) {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.15);
}

.package-actions .card-button:not(.primary):hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Catalog Section & Controls
   ========================================================================== */

.catalog-shell {
  background: var(--green-50);
  position: relative;
}

.catalog-toolbar {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.controls {
  display: grid;
  gap: 16px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-field span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-950);
}

.search-field input {
  height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  outline: none;
  font-size: 0.98rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.search-field input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(11, 41, 30, 0.06);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-filter,
.budget-filter {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: var(--border-thin);
}

.brand-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.brand-filter-head span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-950);
}

.brand-reset {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: underline;
}

.brand-reset:hover {
  color: var(--green-900);
}

.brand-tabs,
.budget-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button,
.brand-button,
.budget-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  background: var(--bg-white);
  border: var(--border-thin);
  color: var(--green-950);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.tab-button:hover,
.brand-button:hover,
.budget-button:hover {
  background: var(--green-50);
  border-color: var(--green-600);
}

.tab-button[aria-selected="true"],
.brand-button[aria-pressed="true"],
.budget-button[aria-pressed="true"] {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(11, 41, 30, 0.15);
}

.tab-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.catalog-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 16px;
}

/* ==========================================================================
   Quote & Compare Panels
   ========================================================================== */

.quote-panel,
.compare-panel {
  margin-top: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: var(--border-thin);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.quote-panel-main,
.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid rgba(11, 41, 30, 0.06);
}

.quote-panel h3,
.compare-panel h3 {
  font-size: 1.25rem;
  color: var(--green-950);
  margin-bottom: 4px;
}

.quote-panel p,
.compare-panel p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-actions .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.quote-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  background: var(--green-50);
}

.quote-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 14px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid rgba(11, 41, 30, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-950);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.quote-chip:hover {
  border-color: rgba(217, 119, 6, 0.3);
  background: var(--gold-100);
}

.quote-chip span {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 400;
}

.panel-notice {
  padding: 12px 24px;
  background: var(--gold-100);
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  color: var(--gold-600);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Compare Matrix Grid */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--compare-count, 3), 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--green-50);
}

.compare-card {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
}

.compare-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xs);
  background: var(--green-100);
  margin-bottom: 12px;
}

.compare-card h4 {
  font-size: 0.94rem;
  color: var(--green-950);
  margin-bottom: 4px;
}

.compare-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 8px;
}

.compare-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border-top: 1px dashed rgba(11, 41, 30, 0.08);
  padding-top: 12px;
}

.compare-card li {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.compare-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(11, 41, 30, 0.8);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.compare-remove:hover {
  background: var(--green-950);
  transform: scale(1.05);
}

/* ==========================================================================
   Catalog Results (Grid, Category & Brand Sections)
   ========================================================================== */

.catalog-results {
  display: grid;
  gap: 48px;
  margin-top: 32px;
}

.category-section {
  display: grid;
  gap: 24px;
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-900);
}

.category-section-header h3 {
  font-size: 1.65rem;
  color: var(--green-950);
}

.category-section-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.category-section-header > p {
  font-weight: 700;
  color: var(--green-900);
}

.brand-section {
  display: grid;
  gap: 16px;
}

.brand-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  border: var(--border-thin);
}

.brand-section-header h4 {
  font-size: 1.1rem;
  color: var(--green-950);
}

.brand-section-header p {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================================================
   Product Card Redesign & Custom Themes
   ========================================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

/* 1. Barista Studio (Dark Theme Override) */
.theme-dark-studio {
  background: linear-gradient(180deg, #020a07 0%, #041410 100%) !important;
  color: #e5f5f0 !important;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-dark-studio .section-heading h2 {
  color: #ffffff !important;
}

.theme-dark-studio .product-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.theme-dark-studio .product-card:hover {
  border-color: var(--gold-500) !important;
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 163, 92, 0.12) !important;
}

.theme-dark-studio .product-card.is-quoted {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 20px rgba(217, 163, 92, 0.2) !important;
}

.theme-dark-studio .product-card.is-compared {
  outline: 2px solid var(--gold-500) !important;
  outline-offset: -2px;
}

.theme-dark-studio .product-image {
  background: rgba(255, 255, 255, 0.01) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.theme-dark-studio .product-brand {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.theme-dark-studio .product-title {
  color: #ffffff !important;
}

.theme-dark-studio .product-price {
  color: var(--gold-400) !important;
}

.theme-dark-studio .product-description {
  color: rgba(255, 255, 255, 0.65) !important;
}

.theme-dark-studio .card-button {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.theme-dark-studio .card-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

.theme-dark-studio .card-button.primary {
  background: var(--gold-500) !important;
  border-color: var(--gold-500) !important;
  color: #020a07 !important;
}

.theme-dark-studio .card-button.primary:hover {
  background: var(--gold-400) !important;
  border-color: var(--gold-400) !important;
}

.theme-dark-studio .card-button.active {
  background: var(--gold-500) !important;
  border-color: var(--gold-500) !important;
  color: #020a07 !important;
}

/* 2. Sensory Atelier (Light Theme Override) */
.theme-light-atelier {
  background: linear-gradient(180deg, #FAF8F5 0%, #F5F1EB 100%) !important;
  color: var(--green-950) !important;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-light-atelier .section-heading h2 {
  color: var(--green-950) !important;
}

.theme-light-atelier .product-card {
  background: #ffffff !important;
  border: 1px solid rgba(11, 41, 30, 0.06) !important;
  box-shadow: 0 8px 24px rgba(11, 41, 30, 0.02) !important;
}

.theme-light-atelier .product-card:hover {
  border-color: var(--green-700) !important;
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(11, 41, 30, 0.06) !important;
}

.theme-light-atelier .product-card.is-quoted {
  border-color: var(--gold-500) !important;
  box-shadow: 0 8px 24px rgba(217, 163, 92, 0.12) !important;
}

.theme-light-atelier .product-image {
  background: hsl(var(--primary-hue), 24%, 98%) !important;
  border-bottom: 1px solid rgba(11, 41, 30, 0.04) !important;
}

.theme-light-atelier .product-title {
  color: var(--green-950) !important;
}

.theme-light-atelier .product-price {
  color: var(--green-900) !important;
}

.theme-light-atelier .card-button {
  background: var(--bg-white) !important;
  border-color: rgba(11, 41, 30, 0.12) !important;
  color: var(--green-950) !important;
}

.theme-light-atelier .card-button:hover {
  background: var(--green-50) !important;
  border-color: var(--green-700) !important;
}

.theme-light-atelier .card-button.primary {
  background: var(--green-900) !important;
  border-color: var(--green-900) !important;
  color: #ffffff !important;
}

.theme-light-atelier .card-button.primary:hover {
  background: var(--green-800) !important;
  border-color: var(--green-800) !important;
}

/* 3. Common Card Layout Styling */
.product-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.equipment-card .product-image {
  height: 240px;
  background: var(--green-50);
  padding: 12px;
}

.ingredient-card .product-image {
  height: 200px;
  background: hsl(var(--primary-hue), 24%, 97%);
  padding: 16px;
}

.product-image img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.category-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(11, 41, 30, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spec-label {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex-grow: 1;
}

.product-brand {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--green-950);
  font-weight: 600;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green-900);
}

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

/* Sensory Highlight Tag Coloring */
.recommend-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-floral {
  background: rgba(139, 92, 246, 0.08) !important;
  color: #8b5cf6 !important;
  border-color: rgba(139, 92, 246, 0.16) !important;
}

.badge-fruity {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.16) !important;
}

.badge-bold {
  background: rgba(180, 83, 9, 0.08) !important;
  color: #b45309 !important;
  border-color: rgba(180, 83, 9, 0.16) !important;
}

.badge-tea {
  background: rgba(16, 185, 129, 0.08) !important;
  color: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.16) !important;
}

.badge-smooth {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.16) !important;
}

.badge-default {
  background: rgba(11, 41, 30, 0.04) !important;
  color: var(--green-900) !important;
  border-color: rgba(11, 41, 30, 0.08) !important;
}

.product-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

/* Structured technical grids for machines */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(11, 41, 30, 0.08);
}

.theme-dark-studio .tech-spec-grid {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.tech-spec-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-dark-studio .tech-spec-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.theme-light-atelier .tech-spec-pill {
  background: rgba(11, 41, 30, 0.03);
  border: 1px solid rgba(11, 41, 30, 0.05);
  color: var(--green-950);
}

.tech-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Feature lists for ingredients */
.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.feature-list li {
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--green-50);
  border: 1px solid rgba(11, 41, 30, 0.04);
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 600;
}

.theme-dark-studio .feature-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

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

.price-label-text {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.theme-dark-studio .product-code {
  color: var(--gold-400);
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.25);
}

.card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(11, 41, 30, 0.05);
  padding-top: 16px;
}

.theme-dark-studio .card-actions {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.card-actions button {
  width: 100%;
}

.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 700;
  transition: var(--transition-fast);
  border: 1px solid rgba(11, 41, 30, 0.1);
  background: var(--bg-white);
  color: var(--green-950);
}

.card-button:hover {
  background: var(--green-50);
  border-color: var(--green-700);
}

.card-button.primary {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--text-light);
}

.card-button.primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}

.card-button.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-950);
}

/* Span action grids */
.card-actions button[data-open-product] {
  grid-column: 1 / -1;
  min-height: 42px;
}


.card-actions button[data-share-product] {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  min-height: 32px;
  border-color: transparent;
  color: var(--text-muted);
}

.card-actions button[data-share-product]:hover {
  background: transparent;
  color: var(--green-900);
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 48px;
  border: 2px dashed rgba(11, 41, 30, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Contact Strip
   ========================================================================== */

.contact-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: var(--green-950);
  color: var(--text-light);
}

.contact-strip h2 {
  color: var(--text-light);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.contact-strip p:not(.section-kicker) {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-strip .button {
  background: var(--gold-500);
  color: var(--green-950);
}

.contact-strip .button:hover {
  background: var(--gold-400);
}

/* ==========================================================================
   Floating Dock Component
   ========================================================================== */

.floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateY(120px) translateX(-50%); /* Start hidden/slid down */
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: rgba(11, 41, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(11, 41, 30, 0.35);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-dock.show {
  transform: translateY(0) translateX(-50%);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.dock-btn.quote {
  background: var(--gold-500);
  color: var(--green-950);
}

.dock-btn.quote:hover {
  background: var(--gold-400);
}

.dock-btn.compare {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-btn.compare:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dock-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.dock-btn.quote span {
  background: var(--green-950);
  color: var(--text-light);
}

.dock-btn.compare span {
  background: var(--gold-500);
  color: var(--green-950);
}

/* ==========================================================================
   Modal Dialog Layout
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 15, 0.82);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  border: var(--border-thin);
  animation: modalEnter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 12;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--green-950);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.modal-close:hover {
  transform: rotate(90deg);
  background: var(--green-900);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 40px;
}

.modal-gallery {
  display: grid;
  gap: 16px;
}

.modal-gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: var(--border-thin);
  background: var(--green-50);
  box-shadow: var(--shadow-sm);
  height: 380px; /* Fixed height for modal images on desktop to look elegant */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-gallery img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Don't crop product specs or bags inside modal */
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-copy .brand-line {
  margin-bottom: 0;
}

.modal-copy h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 800;
  transition: color 0.4s ease;
}

.modal-copy .product-brand {
  margin-bottom: 4px;
}

.modal-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-price);
  transition: color 0.4s ease;
}

.modal-copy p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.modal-actions .button {
  width: 100%;
}

.modal-actions .button.primary {
  background: var(--green-900);
}

.modal-actions .button.primary:hover {
  background: var(--green-800);
}

.spec-gallery {
  margin-top: 12px;
  border-top: 1px dashed var(--line-color);
  padding-top: 24px;
  display: grid;
  gap: 12px;
}

.spec-gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: var(--border-thin);
}

.modal-box {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  border: var(--border-thin);
  color: var(--text-dark);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.modal-box h3 {
  font-size: 1.15rem;
  color: var(--green-950);
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

body.dark-mode .modal-box h3 {
  color: var(--gold-400);
}

.modal-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.modal-box.recipe-box {
  background: #092e1e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.modal-box.recipe-box p {
  color: var(--gold-400) !important;
}

.modal-box.recipe-box li,
.modal-box.recipe-box span {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-mode .modal-box.recipe-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.modal-box .button {
  width: 100%;
  min-height: 40px;
}

body.modal-open {
  overflow: hidden;
}

/* Modal Dark Mode overrides */
body.dark-mode .modal-backdrop {
  background: rgba(2, 6, 4, 0.88);
}

body.dark-mode .modal-close {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-close:hover {
  background: var(--green-900);
}

body.dark-mode .modal-gallery figure {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .feature-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .button.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .button.light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

body.dark-mode .button.ghost {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .button.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1100px) {
  .hero,
  .advisor-board,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .advisor-result {
    position: static;
    margin-top: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-media img {
    height: auto;
    max-height: 480px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .package-grid,
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    min-height: auto;
    padding: 12px 20px;
  }

  .header-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 20px;
    /* Hide scrollbar for nav */
    scrollbar-width: none; /* Firefox */
  }

  .header-nav::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }

  section[id] {
    scroll-margin-top: 130px;
  }

  .brand::after {
    content: "Decemberday";
    font-size: 0.86rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-switcher {
    padding: 2px 4px;
  }

  .lang-btn {
    padding: 3px 5px;
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .category-summary,
  .package-grid,
  .advisor-options,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .package-card,
  .advisor-step {
    padding: 24px;
  }

  .advisor-item {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .advisor-item img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    aspect-ratio: 1/1;
  }

  .advisor-item h4 {
    white-space: normal;
  }

  .advisor-item .card-button {
    width: 100%;
    margin-top: 8px;
  }

  .quote-panel-main,
  .compare-head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .quote-actions {
    justify-content: flex-start;
  }

  .quote-actions .button,
  .compare-head .button {
    flex: 1 1 calc(50% - 8px);
  }

  .catalog-results {
    gap: 36px;
  }

  .category-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .modal-layout {
    padding: 24px;
    gap: 20px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-gallery figure {
    height: 240px; /* Shorter height for modal gallery on mobile */
    padding: 12px;
  }

  .floating-dock {
    width: calc(100% - 32px);
    border-radius: var(--radius-md);
  }

  .dock-btn {
    flex: 1 1 50%;
    justify-content: center;
  }
}

@media (max-width: 550px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .equipment-card .product-image {
    height: 200px;
  }
  .ingredient-card .product-image {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Catalog Type Selector (Segmented Apple-luxe Switcher)
   ========================================================================== */
.catalog-type-selector {
  display: flex;
  background: rgba(11, 41, 30, 0.04);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 41, 30, 0.06);
  width: fit-content;
  margin: 40px auto;
  gap: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.catalog-type-selector .type-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.catalog-type-selector .type-btn:hover {
  color: var(--green-950);
}

.catalog-type-selector .type-btn.active {
  background: var(--green-900);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(11, 41, 30, 0.12);
}

/* Selector dark theme style overrides */
.theme-dark-studio .catalog-type-selector {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-dark-studio .catalog-type-selector .type-btn {
  color: rgba(255, 255, 255, 0.6);
}

.theme-dark-studio .catalog-type-selector .type-btn:hover {
  color: #ffffff;
}

.theme-dark-studio .catalog-type-selector .type-btn.active {
  background: var(--gold-500);
  color: #020a07;
  box-shadow: 0 4px 15px rgba(217, 163, 92, 0.2);
}

/* ==========================================================================
   Barista Recommendation Quiz Game Styles
   ========================================================================== */
.quiz-section {
  width: min(1200px, calc(100% - 40px));
  margin: 40px auto 50px;
  position: relative;
  z-index: 10;
}

.quiz-container {
  background: linear-gradient(135deg, hsl(162, 55%, 3%) 0%, hsl(162, 45%, 8%) 100%) !important;
  border: 1px solid rgba(217, 163, 92, 0.15) !important;
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--text-light);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.quiz-visual-decor {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 163, 92, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-in-quiz 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quiz-step.active {
  display: flex;
}

@keyframes fade-in-quiz {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step .badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(217, 163, 92, 0.15);
  color: var(--gold-400);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(217, 163, 92, 0.25);
  margin-bottom: 16px;
}

.quiz-step h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--bg-white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.quiz-step h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--bg-white);
  margin: 16px 0 24px;
  letter-spacing: -0.01em;
}

.quiz-step p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.quiz-progress-bar {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 16px;
}

.quiz-progress {
  height: 100%;
  background: var(--gold-500);
  box-shadow: 0 0 10px var(--gold-500);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.step-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
}

.quiz-step#quizStep3 .quiz-options {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  color: var(--text-light);
  gap: 8px;
}

.quiz-opt-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--gold-500) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(217, 163, 92, 0.12);
}

.opt-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
}

.quiz-opt-btn strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--bg-white);
  line-height: 1.25;
}

.quiz-opt-btn span:last-child {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.quiz-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
}

.quiz-result-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.quiz-result-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--gold-500) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 15px rgba(217, 163, 92, 0.1);
}

.quiz-result-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.quiz-result-info {
  flex: 1;
  min-width: 0;
}

.quiz-result-info h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bg-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-result-info p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 3px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-result-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-500);
}

.quiz-result-actions {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-select-quiz {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-select-quiz:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-select-quiz.btn-selected {
  background: var(--gold-500) !important;
  color: var(--green-950) !important;
  border-color: var(--gold-500) !important;
}

.btn-select-quiz.btn-selected:hover {
  background: var(--gold-600) !important;
}

/* Responsiveness for Quiz */
@media (max-width: 768px) {
  .quiz-options {
    grid-template-columns: 1fr !important;
  }
  .quiz-results-grid {
    grid-template-columns: 1fr;
  }
  .quiz-container {
    padding: 32px 24px;
  }
  .quiz-step h2 {
    font-size: 1.8rem;
  }
  .quiz-step h3 {
    font-size: 1.45rem;
  }
  .quiz-opt-btn {
    padding: 20px 16px;
  }
}
