/* ==========================================
   DECEMBERDAY COFFEE CATALOG - PREMIUM DESIGN SYSTEM
   Theme: Cinematic Forest Green & Ice White
   ========================================== */

:root {
  /* Cinematic Color Palette */
  --primary-deep: #031713;       /* Near-black forest green for deep shadows */
  --primary: #052e24;            /* Rich signature forest green */
  --primary-light: #0d4f3f;      /* Lighter forest green for subtle states */
  --accent: #10b981;             /* Vibrant emerald green for highlights and badges */
  --accent-light: rgba(16, 185, 129, 0.1);
  --accent-glow: rgba(16, 185, 129, 0.4);
  
  /* Backgrounds */
  --bg-dark: #031713;            /* Dark mode base */
  --bg-light: #f4f7f5;           /* Soft green-tinted off-white */
  --bg-card: #ffffff;            /* Pure white for cards */
  --bg-glass: rgba(5, 46, 36, 0.85); /* Glassmorphism dark */
  --bg-glass-light: rgba(255, 255, 255, 0.85); /* Glassmorphism light */
  
  /* Text Colors */
  --text-dark: #061c17;          /* High contrast headings */
  --text-body: #2c3e3a;          /* Body copy */
  --text-muted: #627d77;         /* Secondary text */
  --text-light: #e6f0ed;         /* White text in dark sections */
  --text-white: #ffffff;         /* Pure white */
  
  /* UI Borders & Lines */
  --border-light: rgba(5, 46, 36, 0.08);
  --border-medium: rgba(5, 46, 36, 0.14);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-accent: #10b981;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(3, 23, 19, 0.03);
  --shadow-md: 0 12px 36px rgba(3, 23, 19, 0.06);
  --shadow-lg: 0 32px 64px rgba(3, 23, 19, 0.12);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.35);
  
  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-stack: "Plus Jakarta Sans", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================
   1. RESET & BASE STYLES
   ========================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  color: var(--text-body);
  background: var(--bg-light);
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

input:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: rgba(5, 46, 36, 0.2);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 46, 36, 0.35);
}

/* ==========================================
   2. REUSABLE COMPONENTS (Buttons, Badges)
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  color: var(--text-white);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  border-color: var(--border-dark);
  color: var(--text-white);
}
.btn-dark:hover {
  background: var(--primary-light);
}

.btn-light {
  color: var(--text-white);
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-light);
}
.btn-light:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(5, 46, 36, 0.04);
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent);
  margin-bottom: 12px;
}

.badge-accent {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ==========================================
   3. SITE HEADER (Navigation)
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: var(--bg-dark);
  box-shadow: var(--shadow-md);
}

.topbar {
  width: min(1200px, calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo-box {
  width: 72px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: var(--primary);
  transition: var(--transition-fast);
}

.brand:hover .brand-logo-box {
  transform: scale(1.05);
  border-color: var(--accent);
}

.brand-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

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

.nav-actions a:not(.btn-line-link) {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.nav-actions a:not(.btn-line-link):hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-line-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-line-link:hover {
  background: var(--accent);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* ==========================================
   4. HERO SECTION
   ========================================== */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border-dark);
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.hero-logo-lockup img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-logo-lockup span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 600px;
}

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

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

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.stat-card dt {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-card dd {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

/* Hero Showcase Frame */
.hero-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

.showcase-picture {
  width: 100%;
  height: 100%;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-showcase:hover img {
  transform: scale(1.06);
}

.showcase-panel {
  position: absolute;
  z-index: 5;
  background: rgba(3, 23, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.showcase-panel strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 700;
}

.showcase-panel span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.showcase-panel-top {
  top: 20px;
  left: 20px;
  max-width: 280px;
}

.showcase-panel-bottom {
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  border-color: rgba(16, 185, 129, 0.2);
}

/* ==========================================
   5. SALES STRIP BANNER
   ========================================== */

.sales-strip {
  width: min(1200px, calc(100% - 40px));
  margin: -40px auto 40px;
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.sales-logo {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.sales-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-copy h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.sales-copy p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}

.sales-actions {
  display: flex;
  gap: 12px;
}

.sales-actions .btn {
  min-height: 44px;
  font-size: 0.9rem;
}

/* ==========================================
   6. STICKY TOOLBAR (Search & Filters)
   ========================================== */

/* ==========================================
   6. STICKY TOOLBAR (Search & Filters)
   ========================================== */

.catalog-toolbar {
  position: sticky;
  top: 80px;
  z-index: 80;
  background: rgba(244, 247, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.catalog-toolbar.is-sticky {
  box-shadow: 0 10px 30px rgba(3, 23, 19, 0.04);
}

.toolbar-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.search-box-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0 16px 0 46px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.search-box input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  background: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.search-box input:focus + .search-icon {
  color: var(--accent);
}

/* Category horizontal slide */
.category-tabs-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  padding: 0 44px; /* Room for navigation buttons */
  overflow: visible;
}

.nav-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.nav-scroll-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.nav-left-btn {
  left: 0;
}

.nav-right-btn {
  right: 0;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
  width: 100%;
  cursor: grab;
  user-select: none;
}

.category-tabs.active-drag {
  cursor: grabbing;
  scroll-behavior: auto; /* Disables smooth scroll to avoid lag during drag */
}

.category-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari/Opera */
}

.category-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-body);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   6.1 BARISTA RECOMMENDATION QUIZ GAME
   ========================================== */

.quiz-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 40px;
  position: relative;
  z-index: 10;
}

.quiz-container {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-light);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(5, 46, 36, 0.15);
  position: relative;
  overflow: hidden;
}

.quiz-visual-decor {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 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 ease forwards;
}

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

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

.quiz-step h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.quiz-step h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 16px 0 24px;
  letter-spacing: -0.01em;
}

.quiz-step p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 24px;
}

.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(--accent);
  box-shadow: 0 0 10px var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.step-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  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.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  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: 4px;
}

.quiz-opt-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

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

.quiz-opt-btn strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

.quiz-opt-btn span:last-child {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

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

.quiz-result-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 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-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-result-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 3px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-result-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
}

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

.category-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card);
}

.category-tab.is-active {
  color: var(--text-white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(5, 46, 36, 0.15);
}

/* ==========================================
   7. FLOATING CATALOG COMPILER DRAWER
   ========================================== */

.selection-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 480px;
  max-width: calc(100vw - 48px);
  z-index: 1000;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(0,0,0,0.5);
  color: var(--text-light);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform: translateY(0);
}

/* Backdrop blur overlay when drawer is open on mobile */
.selection-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 23, 19, 0.5);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.selection-panel.expanded-mode + .selection-panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.selection-panel-inner {
  display: flex;
  flex-direction: column;
}

/* Header bar */
.selection-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(5, 46, 36, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.selection-badge-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glowing-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.selection-badge-box strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.selection-preview-box {
  flex: 1;
  margin: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selection-preview-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.selection-header-actions {
  display: flex;
  align-items: center;
}

.btn-toggle-drawer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  transition: var(--transition-fast);
}

.btn-toggle-drawer:hover {
  background: rgba(16, 185, 129, 0.22);
}

.chevron-icon {
  transition: transform 0.3s ease;
}

/* Expanded state drawer content */
.selection-drawer-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
}

.drawer-products-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual list item in drawer */
.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.drawer-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.drawer-item-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-details {
  flex: 1;
  min-width: 0;
}

.drawer-item-details h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-item-details p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-remove-drawer-item {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.btn-remove-drawer-item:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.selection-actions {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background: rgba(5, 46, 36, 0.4);
}

.selection-actions .btn {
  min-height: 42px;
  font-size: 0.86rem;
}

/* Minimised / Hidden Panel when count is 0 */
.selection-panel.minimized {
  transform: translateY(120%);
  box-shadow: none;
  pointer-events: none;
}

/* Expanded state classes */
.selection-panel.expanded-mode {
  transform: translateY(0);
}

.selection-panel.expanded-mode .selection-drawer-content {
  max-height: 400px;
  opacity: 1;
}

.selection-panel.expanded-mode .chevron-icon {
  transform: rotate(180deg);
}

/* ==========================================
   8. PRODUCT CATALOG GRID
   ========================================== */

.catalog-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 80px;
}

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

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 600px;
}

.catalog-grid {
  display: grid;
  gap: 50px;
}

/* Catalog divider for Wholesale section */
.catalog-divider {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  margin: 20px 0 -10px;
}

.catalog-divider h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.catalog-divider p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 720px;
}

.category-section {
  scroll-margin-top: 150px;
}

.category-heading {
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.category-heading h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.category-heading p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.category-meta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Grid of product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================
   9. INDIVIDUAL PRODUCT CARDS
   ========================================== */

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(16, 185, 129, 0.05);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f0f4f2;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* View full details / zoom overlay on card image hover */
.product-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 23, 19, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.product-media:hover .product-media-overlay {
  opacity: 1;
}

.btn-view-quick {
  background: var(--text-white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: var(--transition-fast);
}

.product-media:hover .btn-view-quick {
  transform: translateY(0);
}

/* Pricing badge */
.price-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--primary);
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.1;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-badge small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* Product Content */
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.product-topline span:first-child {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.product-code {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.product-card h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-card h4:hover {
  color: var(--accent);
}

.product-english {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9em; /* Exact line height match */
}

/* Specs pills */
.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pill {
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--bg-light);
  border: 1px solid var(--border-medium);
  color: var(--text-body);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* Product Highlights bullets */
.highlight-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.highlight-list li {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-white);
  background: var(--primary);
  border: 1px solid var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Card Actions */
.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.product-actions .btn {
  min-height: 40px;
  font-size: 0.85rem;
}

.product-actions .btn-select {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-medium);
}

.product-actions .btn-select:hover {
  background: var(--border-medium);
}

.product-actions .btn-select.is-selected {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.product-actions .btn-select.is-selected:hover {
  background: #0d9488;
}

.product-actions .btn-view {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-actions .btn-view:hover {
  color: var(--text-dark);
  border-color: var(--text-dark);
  background: rgba(5, 46, 36, 0.04);
}

/* Wholesale products highlight */
.category-section.is-wholesale .product-card {
  border-color: rgba(5, 46, 36, 0.08);
  box-shadow: 0 4px 20px rgba(5, 46, 36, 0.02);
}

.category-section.is-wholesale .product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(16, 185, 129, 0.03);
}

/* Empty State search */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-align: center;
  color: var(--text-muted);
  margin-top: 24px;
}

.empty-state p {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 16px 0 18px;
}

/* ==========================================
   10. CONTACT SECTION
   ========================================== */

.contact-section {
  width: min(1200px, calc(100% - 40px));
  margin: 60px auto;
  background: linear-gradient(135deg, var(--primary-deep) 0%, rgba(3, 23, 19, 0.98) 60%, var(--primary-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-copy h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.contact-copy p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-card-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.contact-card-link strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.contact-card-link span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-card-link small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================
   11. SITE FOOTER
   ========================================== */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-update-text {
  font-size: 0.82rem;
}

/* ==========================================
   12. CINEMATIC QUICK VIEW MODAL
   ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 23, 19, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 1000px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg), 0 20px 80px rgba(0,0,0,0.6);
  border: 1px solid var(--border-medium);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-visible .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 1.8rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  transition: var(--transition-fast);
  border: 1px solid var(--border-medium);
}

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

.modal-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.modal-gallery {
  background: #f0f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100%;
  min-height: 520px;
  aspect-ratio: 1;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.modal-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-code {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.modal-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
}

.modal-english-name {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-top: 20px;
}

/* Details Specifications grid */
.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 16px 0;
}

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

.spec-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-item strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Tasting notes */
.modal-highlights-section {
  margin-top: 24px;
}

.modal-highlights-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-highlights li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  background: var(--primary);
  border: 1px solid var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Dynamic Barista recipe card */
.modal-recipe-section {
  margin-top: 28px;
}

.recipe-card {
  background: var(--bg-light);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px;
}

.recipe-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.recipe-header strong {
  font-weight: 800;
}

.recipe-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

.recipe-body p {
  margin-bottom: 8px;
}
.recipe-body p:last-child {
  margin-bottom: 0;
}

.recipe-body ol, .recipe-body ul {
  padding-left: 20px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.recipe-body li {
  margin-bottom: 4px;
}

/* Modal Actions footer */
.modal-footer-actions {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border-medium);
  padding-top: 24px;
}

.modal-price-box {
  display: flex;
  flex-direction: column;
}

.modal-price-box span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-price-box strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-top: 2px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
}

.modal-buttons .btn {
  min-height: 46px;
  font-size: 0.92rem;
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ==========================================
   13. TOAST NOTIFICATION
   ========================================== */

.toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  background: var(--bg-dark);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.3);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

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

/* ==========================================
   14. RESPONSIVE DESIGN (Media Queries)
   ========================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-logo-lockup {
    align-self: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-showcase {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .sales-strip {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    margin-top: -20px;
    gap: 20px;
  }

  .sales-logo {
    width: 80px;
    height: 80px;
  }

  .sales-actions {
    width: 100%;
    justify-content: center;
  }

  .toolbar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .contact-methods {
    width: 100%;
  }

  .modal-container {
    width: 720px;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-gallery {
    min-height: 380px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .topbar {
    min-height: 70px;
  }

  .nav-actions {
    display: none; /* Hide header links on mobile, CTA buttons do the work */
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-showcase {
    aspect-ratio: 4 / 3;
  }

  .sales-actions {
    flex-direction: column;
    width: 100%;
  }

  .sales-actions .btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .selection-panel {
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .selection-preview-box {
    display: none; /* Hide simple preview text on small mobile screens */
  }

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

  .modal-container {
    max-height: 95vh;
  }

  .modal-details {
    padding: 24px;
  }

  .modal-name {
    font-size: 1.6rem;
  }

  .modal-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .modal-price-box {
    text-align: center;
  }

  .modal-buttons {
    flex-direction: column;
  }
  .modal-buttons .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================
   15. PRINT STYLING
   ========================================== */

@media print {
  .site-header,
  .catalog-toolbar,
  .selection-panel,
  .product-actions,
  .contact-section,
  .toast,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: var(--text-white);
    color: #000;
  }

  .hero {
    background: var(--text-white);
    color: #000;
    padding: 20px 0;
  }

  .hero h1, .gradient-text {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    page-break-inside: avoid;
  }

  .product-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}
