/* ==========================================================================
   BO growclub CSS Style System (Zen Minimalist Theme)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root, [data-theme="light"] {
  /* Theme Base Colors (Light Crema Zen) */
  --color-bg: #F6F3E8;               /* Crema Zen fondo */
  --color-card-bg: #FFFFFF;          /* Tarjetas sólidas en blanco */
  --color-card-bg-alt: #FAF7EF;      /* Tarjeta alt */
  --color-text-main: #152D24;        /* Texto principal en verde bosque muy oscuro */
  --color-text-muted: #5C6E65;       /* Texto secundario */
  
  /* Verde reservado para BORDES, BOTONES y ACENTOS (NO para fondos) */
  --color-primary: #3E5F1F;          /* Verde Bosque para acentos/botones */
  --color-primary-light: #7EA642;    /* Verde Hoja para estados */
  --color-accent-gold: #C2A246;      /* Dorado Ocre */
  --color-accent-gold-dark: #a68532;
  --color-earth-brown: #6B4E2E;
  
  --color-border-accent: #3E5F1F;    /* Borde verde bosque */
  --color-border-subtle: #E2DAC8;    /* Borde suave crema */
  --color-surface-glass: #FFFFFF;
  --color-neutral-stone: #E6DFC9;
  --color-neutral-dark: #152D24;
  --color-neutral-light: #F6F3E8;
  --color-success: #2E7D32;
  
  --shadow-sm: 0 2px 8px rgba(21, 45, 36, 0.05);
  --shadow-md: 0 4px 16px rgba(21, 45, 36, 0.08);
  --shadow-lg: 0 8px 30px rgba(21, 45, 36, 0.12);
  --shadow-gold: 0 0 12px rgba(194, 162, 70, 0.25);
  
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Outfit', sans-serif;
  
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
}

[data-theme="dark"] {
  /* Theme Base Colors (Dark Obsidiana Zen) */
  --color-bg: #0D1612;               /* Obsidiana Zen fondo */
  --color-card-bg: #141F1A;          /* Tarjetas sólidas oscuras */
  --color-card-bg-alt: #1A2822;      /* Tarjeta alt */
  --color-text-main: #F6F3E8;        /* Texto principal en Crema Zen */
  --color-text-muted: #A3B5AA;       /* Texto secundario claro */
  
  /* Verde reservado para BORDES, BOTONES y ACENTOS (NO para fondos) */
  --color-primary: #58872F;          /* Verde brillante acentos */
  --color-primary-light: #8EC44B;
  --color-accent-gold: #D4AF37;      /* Dorado brillante */
  --color-accent-gold-dark: #b8972e;
  --color-earth-brown: #8D6B45;
  
  --color-border-accent: #58872F;    /* Borde verde brillante */
  --color-border-subtle: #24352C;    /* Borde oscuro */
  --color-surface-glass: #141F1A;
  --color-neutral-stone: #24352C;
  --color-neutral-dark: #F6F3E8;
  --color-neutral-light: #0D1612;
  --color-success: #4CAF50;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 12px rgba(212, 175, 55, 0.3);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background-color: var(--color-bg);
  color: var(--color-text-main);
}

/* Theme Switcher Button Style */
.theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  background: var(--color-card-bg) !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-text-main) !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  z-index: 100 !important;
  transition: var(--transition-fast) !important;
}
.theme-toggle-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Custom SVG icon size utility */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-full-width {
  width: 100%;
}

.highlight-gold {
  color: var(--color-accent-gold);
}

/* ==========================================================================
   Header / Navigation Bar
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 45, 36, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Area */
.header-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  border: 2px solid var(--color-accent-gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-logo-area:hover .brand-logo {
  transform: rotate(10deg) scale(1.05);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

/* Search Bar Area */
.catalog-search-area {
  margin-bottom: 20px;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  opacity: 0.6;
  pointer-events: none;
}

#search-input {
  width: 100%;
  padding: 12px 45px 12px 45px;
  border: 1px solid var(--color-neutral-stone);
  background-color: var(--color-bg);
  border-radius: var(--border-radius-full);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

#search-input:focus {
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-gold);
}

.clear-search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--color-primary);
  opacity: 0.5;
  cursor: pointer;
  padding: 4px;
}

.clear-search-btn:hover {
  opacity: 1;
}

/* --- UNIFIED HEADER NAVIGATION BUTTON SYSTEM (V2.9) --- */
.header-cart-area {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-header-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(21, 45, 36, 0.75);
  border: 1.5px solid rgba(195, 155, 75, 0.35);
  color: var(--color-accent-gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.nav-header-btn:hover {
  background: rgba(195, 155, 75, 0.2);
  border-color: var(--color-accent-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(195, 155, 75, 0.25);
}

.nav-header-btn .nav-icon {
  width: 17px;
  height: 17px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

.nav-header-btn .nav-icon.green-accent {
  color: #25D366;
}

.nav-header-btn .nav-icon.gold-accent {
  color: var(--color-accent-gold);
}

.nav-header-btn .nav-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

/* Green border variant for Dr. BÔ IA */
.nav-header-btn.green-border {
  border-color: #66bb6a;
  color: #66bb6a;
}

.nav-header-btn.green-border:hover {
  background: rgba(102, 187, 106, 0.15);
  border-color: #81c784;
  color: #fff;
}

/* Gold Gradient Cart Button */
.nav-header-btn.nav-cart-btn {
  background: linear-gradient(135deg, rgba(195, 155, 75, 0.95) 0%, rgba(160, 120, 45, 0.98) 100%);
  border: 1.5px solid var(--color-accent-gold);
  color: #070e0b;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(195, 155, 75, 0.35);
}

.nav-header-btn.nav-cart-btn:hover {
  background: linear-gradient(135deg, #dfb35a 0%, #b88a2e 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(195, 155, 75, 0.45);
}

.nav-header-btn.nav-cart-btn .cart-icon {
  width: 17px;
  height: 17px;
  color: #070e0b;
}

.nav-header-btn.nav-cart-btn .cart-badge {
  background: #070e0b;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
}

.cart-text {
  font-size: 0.9rem;
}

/* --- CIRCULAR MENU TRIGGER BUTTON & DROPDOWN MODAL --- */
.nav-more-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);          /* #3E5F1F Verde Bosque */
  border: 1.5px solid var(--color-accent-gold); /* #C2A246 Dorado */
  color: #F6F3E8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(62, 95, 31, 0.25);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  flex-shrink: 0;
}

.nav-more-circle-btn:hover {
  background: var(--color-earth-brown);      /* #6B4E2E Tierra */
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(107, 78, 46, 0.4);
}

.more-dots-icon {
  width: 22px;
  height: 22px;
  fill: var(--color-accent-gold);
  transition: fill 0.25s ease;
}

.nav-more-circle-btn:hover .more-dots-icon {
  fill: #FFFFFF;
}

/* Dropdown Menu Modal */
.nav-more-menu-dropdown {
  position: absolute;
  top: 65px;
  right: 20px;
  width: 310px;
  background: #2B4214;                         /* Verde Bosque Brand Manual */
  border: 2px solid var(--color-accent-gold);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(194, 162, 70, 0.15);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  animation: dropdownSlideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-more-menu-dropdown.active {
  display: flex;
}

@keyframes dropdownSlideDown {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.more-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--color-accent-gold);
  padding-bottom: 10px;
}

.more-menu-title {
  font-family: var(--font-serif);
  color: var(--color-accent-gold);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.more-menu-close {
  background: none;
  border: none;
  color: #F6F3E8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.more-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(246, 243, 232, 0.08);
  border: 1px solid rgba(194, 162, 70, 0.3);
  color: #F6F3E8;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.more-menu-item:hover {
  background: var(--color-earth-brown);
  border-color: var(--color-accent-gold);
  color: #FFFFFF;
  transform: translateX(4px);
}

.menu-item-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   Hero Section (Brand Manual Colors & Aura)
   ========================================================================== */
.hero-section {
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, var(--color-primary) 0%, var(--color-neutral-dark, #152d24) 100%);
  border-bottom: 3px solid var(--color-accent-gold);
  color: #F6F3E8;
}

/* Hero Multimedia Slider Container */
.hero-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--color-accent-gold);
  background: #0d1e18;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 100%;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(1.02);
  display: flex;
}

.hero-slide-item.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide-media-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide-image,
.hero-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 100%);
  display: flex;
  align-items: center;
  padding: 40px 60px;
  box-sizing: border-box;
}

.hero-slide-content {
  max-width: 580px;
}

.hero-slide-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--color-accent-gold);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.hero-slide-title {
  font-family: var(--font-display, var(--font-serif));
  font-size: 2.6rem;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-slide-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

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

.hero-slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.hero-slide-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px var(--shadow-gold, rgba(194, 162, 70, 0.4));
}

/* Slider Controls: Arrows & Dots */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary);
  border-color: var(--color-accent-gold);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
  left: 16px;
}

.hero-slider-next {
  right: 16px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--color-accent-gold);
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 14px;
  }
  .hero-slider-wrapper {
    min-height: 290px;
    border-radius: 14px;
  }
  .hero-slider-track {
    min-height: 290px;
  }
  .hero-slide-overlay {
    padding: 24px 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.85) 90%);
    align-items: flex-end;
  }
  .hero-slide-title {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }
  .hero-slide-subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .hero-slide-cta-btn {
    padding: 8px 18px;
    font-size: 0.84rem;
  }
  .hero-slider-arrow {
    display: none; /* Mobile navigation via swipe touch */
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  margin-bottom: 24px;
  color: #F6F3E8 !important;
  line-height: 1.15;
}

.hero-title .highlight-gold {
  color: var(--color-accent-gold) !important;
  text-shadow: 0 0 20px rgba(194, 162, 70, 0.4);
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #F6F3E8;
  opacity: 0.95;
  margin-bottom: 36px;
  max-width: 550px;
}

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

.lotus-icon-btn {
  width: 22px;
  height: 22px;
  color: var(--color-accent-gold);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 450px;
}

.mandala-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23C2A246' stroke-width='0.6' opacity='0.45'%3E%3Ccircle cx='50' cy='50' r='45'/%3E%3Ccircle cx='50' cy='50' r='35' stroke-dasharray='1 1'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50 M18 18 L82 82 M18 82 L82 18'/%3E%3Cpath d='M50 5 C55 35 45 35 50 95 C45 65 55 65 50 5'/%3E%3Cpath d='M5 50 C35 55 35 45 95 50 C65 45 65 55 5 50'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-center-logo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent-gold);
  box-shadow: 0 0 35px rgba(194, 162, 70, 0.4), 0 12px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  animation: logo-gentle-pulse 6s ease-in-out infinite;
}

.hero-center-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 0 45px rgba(194, 162, 70, 0.6);
}

/* Zen 420 Particles & Floating Leaves */
.zen-leaves-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.zen-leaf {
  position: absolute;
  bottom: -40px;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: floatUp linear infinite;
}

/* Premium glows and custom button modifications for hero actions */
.hero-actions .btn-primary {
  background-color: var(--color-accent-gold) !important;
  color: #0d1d17 !important;
  font-weight: 600 !important;
  border: 1px solid var(--color-accent-gold) !important;
  box-shadow: 0 4px 15px rgba(195, 155, 75, 0.4) !important;
}

.hero-actions .btn-primary:hover {
  background-color: #e5c17b !important;
  border-color: #e5c17b !important;
  box-shadow: 0 6px 20px rgba(195, 155, 75, 0.6), 0 0 10px rgba(195, 155, 75, 0.3) !important;
  transform: translateY(-2px) !important;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fdfcf9 !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px) !important;
}

/* Bright gold text highlights in Hero */
.highlight-gold {
  color: #e5c17b !important;
  text-shadow: 0 0 10px rgba(229, 193, 123, 0.2);
}

@keyframes floatUp {
  0% {
    bottom: -40px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 105%;
    transform: translateX(60px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes logo-gentle-pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow-lg);
  }
  50% {
    transform: scale(1.03);
    box-shadow: var(--shadow-gold), 0 0 35px rgba(229, 193, 123, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-lg);
  }
}

.animate-spin-slow {
  animation: spin 60s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Catalog Main Area
   ========================================================================== */
.catalog-section {
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
}

.catalog-container {
  display: flex;
  gap: 40px;
}

/* Sidebar Categories Filter */
.catalog-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar-block {
  position: sticky;
  top: 90px;
}

.sidebar-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-neutral-stone);
  padding-bottom: 12px;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-btn:hover {
  background-color: var(--color-neutral-light);
  color: var(--color-primary);
  padding-left: 20px;
}

.category-btn.active {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Catalog Main Content */
.catalog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.results-count {
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  opacity: 0.8;
}

.results-count span {
  font-weight: 600;
  color: var(--color-primary);
}

.sort-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.select-wrapper {
  position: relative;
}

#sort-select {
  appearance: none;
  background-color: var(--color-bg);
  border: 1px solid var(--color-neutral-stone);
  padding: 8px 36px 8px 16px;
  border-radius: var(--border-radius-full);
  outline: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

#sort-select:focus {
  border-color: var(--color-accent-gold);
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 4px 0 4px;
  border-style: solid;
  border-color: var(--color-primary) transparent transparent transparent;
  pointer-events: none;
  opacity: 0.7;
}

/* Active Filter Badges */
.active-filters-area {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-neutral-light);
  border: 1px solid var(--color-neutral-stone);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

.remove-filter-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-primary);
  opacity: 0.6;
  line-height: 1;
}

.remove-filter-btn:hover {
  opacity: 1;
}

/* ==========================================================================
   Product Grid & Cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns on mobile */
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on tablet */
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Exactly 4 columns on PC/Desktop */
  }
}

/* Grid Loading State */
.grid-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-neutral-stone);
  border-top-color: var(--color-accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Product Card */
.product-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-neutral-stone);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(195, 155, 75, 0.4);
}

/* Out of Stock visual */
.product-card.out-of-stock {
  opacity: 0.75;
}

.stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background-color: #2c2925;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-sm);
}

.stock-tag.tag-out {
  background-color: #721c24;
}

.stock-tag.tag-in-stock {
  background-color: #1b5e20;
  color: #ffffff;
  border: 1px solid #4caf50;
}

.stock-tag.tag-local-store {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #ffffff;
  border: 1px solid #42a5f5;
  font-weight: 700;
}

.stock-tag.tag-on-demand {
  background: linear-gradient(135deg, #e65100 0%, #ef6c00 100%);
  color: #ffffff;
  border: 1px solid #ffb74d;
  font-weight: 700;
}

/* Card Visual/Image wrapper */
.product-card-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-neutral-stone);
  flex-shrink: 0;
}

.product-card-img-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-card-img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

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

/* Card Content details */
.product-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.product-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-accent-gold);
  margin-bottom: 6px;
}

.product-card-weight-badge {
  background-color: rgba(195, 155, 75, 0.1);
  color: var(--color-accent-gold-dark);
  font-size: 0.65rem;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(195, 155, 75, 0.25);
  display: inline-block;
  line-height: 1.2;
}

.product-card-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  height: 2.8em; /* Force 2-lines limit */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.add-to-cart-btn {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-neutral-stone);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-to-cart-btn:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.add-to-cart-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--color-neutral-stone);
  color: var(--color-neutral-dark);
}

/* Pagination container */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-load-more {
  padding: 12px 40px;
  font-size: 0.95rem;
}

/* No Results State */
.no-results-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--color-neutral-stone);
  border-radius: var(--border-radius-md);
  background-color: var(--color-neutral-light);
}

.no-results-icon {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* ==========================================================================
   Cart Drawer (Right slide-in panel)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(21, 45, 36, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px; /* Hidden on right */
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-lg);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(0);
}

.cart-drawer.active {
  transform: translateX(-420px); /* Slide in */
}

/* Header inside cart */
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-neutral-stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-drawer-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-fast);
  color: var(--color-primary);
}

.close-drawer-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Applied Coupon Alert inside Cart Drawer */
.applied-coupon-banner {
  background-color: rgba(195, 155, 75, 0.15);
  border-bottom: 1px solid rgba(195, 155, 75, 0.3);
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.coupon-banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
}

.ticket-icon {
  color: var(--color-accent-gold);
}

.remove-coupon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-primary);
  opacity: 0.6;
}

.remove-coupon-btn:hover {
  opacity: 1;
}

/* Body of Cart Drawer */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Empty Cart State */
.empty-cart-state {
  text-align: center;
  padding: 60px 0;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-cart-icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  margin-bottom: 8px;
}

.empty-cart-subtext {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

/* Cart item element */
.cart-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--color-neutral-stone);
  padding-bottom: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-neutral-stone);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--color-primary);
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

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

/* Quantity selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-neutral-stone);
  border-radius: var(--border-radius-full);
  padding: 2px;
  background-color: var(--color-neutral-light);
}

.qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--color-neutral-stone);
}

.qty-value {
  width: 30px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Remove button */
.remove-item-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #721c24;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.remove-item-btn:hover {
  opacity: 1;
  background-color: rgba(114, 28, 36, 0.08);
}

/* Footer of Cart Drawer */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--color-neutral-stone);
  background-color: var(--color-neutral-light);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  opacity: 0.9;
}

.discount-row {
  color: var(--color-success);
  font-weight: 500;
}

.total-final {
  border-top: 1px solid var(--color-neutral-stone);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 1;
}

.cart-footer-note {
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

/* ==========================================================================
   Modals System (Backdrop & Cards)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(21, 45, 36, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000; /* Float above mobile bottom-nav (999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--color-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-accent-gold);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

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

.modal-header h2 {
  font-size: 1.35rem;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  opacity: 0.5;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.close-modal-btn:hover {
  opacity: 1;
}

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

/* Forms controls */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.col-6 {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--color-neutral-stone);
  background-color: var(--color-bg);
  border-radius: var(--border-radius-sm);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 2px rgba(195, 155, 75, 0.15);
}

textarea.form-control {
  resize: vertical;
}

.text-center {
  text-align: center;
}

/* Summary Box inside Checkout Form */
.checkout-summary-box {
  background-color: var(--color-neutral-light);
  border: 1px solid var(--color-neutral-stone);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.checkout-summary-box h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.85;
}

.discount-line {
  color: var(--color-success);
  font-weight: 500;
}

.summary-total {
  border-top: 1px solid var(--color-neutral-stone);
  padding-top: 10px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  opacity: 1;
}

.btn-checkout-submit {
  font-size: 1rem;
  padding: 14px 28px;
}

.icon-whatsapp {
  width: 22px;
  height: 22px;
  color: #fff;
}

/* ==========================================================================
   Zen Discount Wheel (Specific details)
   ========================================================================== */
.wheel-modal-card {
  max-width: 520px;
  width: 94vw;
  position: relative;
  border-radius: 24px;
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(195, 155, 75, 0.25);
  overflow: hidden;
}

.close-wheel-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 10;
  font-size: 2rem;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.close-wheel-btn:hover {
  opacity: 1;
}

.wheel-modal-body {
  padding: 36px 20px 28px 20px;
  text-align: center;
  background-color: var(--color-primary);
  color: var(--color-neutral-light);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes lotusGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(195, 155, 75, 0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 24px rgba(195, 155, 75, 0.7); }
}

.lotus-badge {
  background-color: rgba(195, 155, 75, 0.15);
  border: 1px solid var(--color-accent-gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-accent-gold);
  animation: lotusGlow 3s infinite ease-in-out;
}

.lotus-badge.success {
  background-color: rgba(46, 125, 50, 0.15);
  border-color: var(--color-success);
  color: var(--color-success);
  animation: none;
}

.mandala-lotus-icon, .check-lotus-icon {
  width: 32px;
  height: 32px;
}

.wheel-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.wheel-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 400px;
  margin: 0 auto 24px auto;
  line-height: 1.45;
}

#wheel-form .form-control {
  border-color: rgba(236, 234, 228, 0.3);
  background-color: rgba(253, 252, 249, 0.08);
  color: #fff;
  font-size: 1.05rem;
  height: 48px;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
}

#wheel-form .form-control:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 10px rgba(195, 155, 75, 0.3);
}

/* Spinner Game Grid Setup */
.wheel-game-title {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.wheel-game-title span {
  color: var(--color-accent-gold);
  font-weight: 700;
}

.wheel-wrapper {
  position: relative;
  width: min(82vw, 320px);
  height: min(82vw, 320px);
  margin: 0 auto;
}

.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 34px;
  background-color: var(--color-accent-gold);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 20;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.wheel-canvas-container {
  width: 100%;
  height: 100%;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

/* Spin Button */
.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-gold), #e5c158);
  color: var(--color-primary);
  border: 3px solid #1e352f;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spin-btn:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(195, 155, 75, 0.6);
}

.spin-btn:disabled {
  background-color: var(--color-neutral-stone);
  color: var(--color-neutral-dark);
  cursor: not-allowed;
  opacity: 0.8;
}

#wheel-inner-group {
  transition: transform 6s cubic-bezier(0.1, 0.8, 0.1, 1);
  transform-origin: 250px 250px;
}

/* Result Area */
.result-headline {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.wisdom-quote-box {
  background-color: rgba(253, 252, 249, 0.05);
  border-left: 3px solid var(--color-accent-gold);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 6px;
}

.quote-author {
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: right;
  font-weight: 500;
}

.coupon-reveal-box {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border: 2px dashed var(--color-accent-gold);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.coupon-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: 8px;
}

.coupon-code-badge {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: var(--shadow-sm);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.coupon-desc-display {
  font-size: 1.05rem;
  color: var(--color-accent-gold);
  font-weight: 500;
}

.coupon-auto-applied-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 24px;
}

/* Floating Lotus trigger button */
.floating-wheel-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-accent-gold);
  cursor: pointer;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transition: var(--transition-smooth);
}

.floating-wheel-trigger:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: var(--color-primary-light);
}

.floating-lotus-icon {
  width: 28px;
  height: 28px;
  color: #fff;
  animation: pulse-gold 2.5s infinite;
}

@keyframes pulse-gold {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 6px var(--color-accent-gold)); }
  100% { transform: scale(1); }
}

.tooltip-text {
  visibility: hidden;
  width: 90px;
  background-color: var(--color-neutral-dark);
  color: #fff;
  text-align: center;
  border-radius: var(--border-radius-sm);
  padding: 5px 0;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  right: 0;
  opacity: 0;
  font-size: 0.75rem;
  font-weight: 500;
  transition: opacity 0.3s;
}

.floating-wheel-trigger:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.main-footer {
  background-color: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 60px 24px 30px 24px;
  border-top: 4px solid var(--color-accent-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-info {
  flex: 1.5;
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent-gold);
}

.footer-brand-desc {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.6;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3, .footer-contact-info h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent-gold);
  padding-left: 4px;
}

.footer-contact-info {
  flex: 1.2;
  min-width: 250px;
}

.footer-contact-info p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 10px;
}

.footer-contact-info a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(236, 234, 228, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-zen-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ==========================================================================
   Responsive Media Queries (Responsive web design)
   ========================================================================== */

/* Up to Tablet (Medium width and lower) */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .catalog-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .catalog-sidebar {
    display: none !important;
  }
  
  .sidebar-block {
    position: relative;
    top: 0;
  }
  
  .sidebar-title {
    display: none; /* redundant with horizontal scroll */
  }
  
  .category-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
  }
  
  .category-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .category-list li {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  
  .category-btn {
    white-space: nowrap;
    padding: 8px 16px;
  }
}

/* Mobile Devices (Narrow width) */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 16px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-subtitle {
    display: none; /* Hide growclub to save space */
  }

  .brand-title {
    font-size: 1.25rem; /* Keep BO visible next to logo */
    font-weight: 700;
  }
  
  .catalog-search-area {
    margin-bottom: 16px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .search-input-wrapper {
    background-color: rgba(21, 45, 36, 0.04);
    border: 1px solid rgba(21, 45, 36, 0.08);
  }
  
  /* Compact Cart Button on Mobile */
  .cart-text {
    display: none; /* Hide text, keep only icon */
  }

  .cart-trigger-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-primary);
  }

  .cart-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }
  
  .hero-description {
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .hero-center-logo {
    width: 130px;
    height: 130px;
  }
  
  /* Bleeding Horizontal categories scroll */
  .catalog-sidebar {
    margin: 0 -16px;
    padding: 0 16px;
    width: auto;
    overflow: visible;
    position: relative;
  }

  /* Fade masks on scroll ends */
  .catalog-sidebar::before,
  .catalog-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 10;
    pointer-events: none;
  }

  .catalog-sidebar::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
  }

  .catalog-sidebar::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
  }

  .category-list {
    padding-left: 16px;
    padding-right: 24px;
    padding-bottom: 8px;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
  }

  .catalog-section {
    padding: 20px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; /* Tighter mobile gap */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .product-card {
    background: linear-gradient(145deg, #ffffff, #fdfdfb);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(21, 45, 36, 0.02);
    padding: 6px;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .product-card:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(21, 45, 36, 0.04);
  }

  .product-card-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background-color: #f7f6f2;
    border-bottom: none;
    overflow: hidden;
    flex-shrink: 0;
  }

  .product-card-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .product-card-content {
    padding: 8px 2px 2px 2px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .product-card-category {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }

  .product-card-title {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
  }

  .product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
  }
  
  .product-card-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
  }
  
  .add-to-cart-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
  }

  .add-to-cart-btn:active {
    background-color: var(--color-accent-gold);
    color: var(--color-primary);
  }
  
  .cart-drawer {
    max-width: 100%;
    right: -100%;
  }
  
  .cart-drawer.active {
    transform: translateX(-100%);
  }
  
  .modal-card {
    max-height: 95vh;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .wheel-wrapper {
    width: min(80vw, 270px);
    height: min(80vw, 270px);
    margin: 0 auto;
  }
  
  #wheel-inner-group {
    transform-origin: 250px 250px;
  }
  
  .coupon-code-badge {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Product Detail Modal Styles
   ========================================================================== */
.product-detail-card {
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.product-detail-body {
  padding: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.product-detail-image-sec {
  background-color: var(--color-neutral-light);
  border: 1px solid var(--color-neutral-stone);
  border-radius: var(--border-radius-md);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
}

.product-detail-image-sec img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: var(--border-radius-sm);
  transition: transform var(--transition-medium);
}

.product-detail-image-sec img:hover {
  transform: scale(1.03);
}

.product-detail-info-sec {
  display: flex;
  flex-direction: column;
}

.product-detail-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
}

.product-detail-stock {
  font-size: 0.9rem;
  margin-bottom: 25px;
  color: var(--color-neutral-dark);
  font-weight: 500;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-neutral-stone);
}

.quantity-selector-detail {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-neutral-stone);
  border-radius: 30px;
  overflow: hidden;
  background-color: var(--color-bg);
}

.qty-btn-detail {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-primary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn-detail:hover {
  background-color: var(--color-neutral-stone);
}

#detail-qty-value {
  width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
}

#detail-add-to-cart-btn {
  padding: 12px 30px;
  font-size: 1rem;
  flex-grow: 1;
}

.product-detail-description-container h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  border-left: 3px solid var(--color-accent-gold);
  padding-left: 10px;
}

.product-detail-description {
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  padding-right: 10px;
}

/* User Content (scraped HTML description styles) */
.user-content p {
  margin-bottom: 12px;
}

.user-content strong {
  color: var(--color-primary);
}

.user-content ul, .user-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.user-content li {
  margin-bottom: 6px;
  list-style-type: disc;
}

.user-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.9rem;
}

.user-content th, .user-content td {
  border: 1px solid var(--color-neutral-stone);
  padding: 8px 12px;
  text-align: left;
}

.user-content th {
  background-color: var(--color-neutral-light);
  font-weight: 600;
}

/* Responsive Overrides for Product Detail Modal */
@media (max-width: 768px) {
  #product-detail-modal.modal-backdrop {
    align-items: flex-end; /* Align bottom sheet to bottom */
    padding: 0;
  }
  
  #wheel-modal.modal-backdrop {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  
  .product-detail-card {
    max-width: 100%;
    width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0; /* Top rounded only */
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%); /* Slides down off-screen */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .modal-backdrop.active .product-detail-card {
    transform: translateY(0); /* Slides up into view */
  }
  
  .bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: var(--color-neutral-stone);
    border-radius: 2px;
    margin: 10px auto 0 auto;
    flex-shrink: 0;
  }
  
  .close-modal-btn {
    position: absolute;
    top: 10px;
    right: 16px;
    z-index: 10;
    font-size: 1.6rem;
    padding: 4px;
  }
  
  .product-detail-body {
    padding: 16px 20px 24px 20px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-detail-image-sec {
    position: relative;
    padding: 10px;
    background-color: #f7f6f2;
    border-radius: 16px;
    border: none;
  }

  .product-detail-image-sec img {
    max-height: 200px;
  }

  .product-detail-title {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
  }

  .product-detail-price {
    font-size: 1.5rem;
  }
  
  .product-detail-stock {
    margin-bottom: 15px;
  }

  .product-detail-actions {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  #detail-add-to-cart-btn {
    padding: 10px 20px;
  }
}

.product-detail-img-container {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

/* Watermark cover pill: white horizontal rectangle badge containing BO Logo and text */
.product-card-logo-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  height: 42px;
  padding: 4px 14px 4px 4px;
  background-color: #ffffff; /* white badge */
  border-radius: var(--border-radius-full); /* pill shape */
  border: 1.5px solid var(--color-accent-gold);
  box-shadow: 0 4px 12px rgba(21, 45, 36, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-card-logo-pill img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.product-card-logo-pill .pill-logo-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-card:hover .product-card-logo-pill {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(21, 45, 36, 0.2);
}

.product-detail-logo-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  height: 50px;
  padding: 5px 18px 5px 5px;
  background-color: #ffffff; /* white badge */
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 6px 18px rgba(21, 45, 36, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-detail-logo-pill img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.product-detail-logo-pill .pill-logo-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .product-card-logo-pill {
    height: 32px;
    padding: 3px 10px 3px 3px;
    bottom: 5px;
    right: 5px;
  }
  .product-card-logo-pill img {
    width: 26px;
    height: 26px;
  }
  .product-card-logo-pill .pill-logo-text {
    font-size: 0.65rem;
    gap: 4px;
  }
  
  .product-detail-logo-pill {
    height: 40px;
    padding: 4px 14px 4px 4px;
    bottom: 8px;
    right: 8px;
  }
  .product-detail-logo-pill img {
    width: 32px;
    height: 32px;
  }
  .product-detail-logo-pill .pill-logo-text {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Blog Section & Cultivation Guides Styling (Zen & Premium Theme)
   ========================================================================== */

.blog-section {
  padding: 60px 0;
  background-color: var(--color-bg);
  min-height: 80vh;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-header {
  text-align: center;
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.blog-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.blog-desc {
  font-size: 1.05rem;
  color: var(--color-neutral-dark);
  opacity: 0.85;
}

/* Category pills in Blog */
.blog-categories-wrapper {
  margin-top: 25px;
  width: 100%;
  overflow: visible; /* no scrollbar or clipping on desktop */
  padding: 8px 0;
}

.blog-category-list {
  display: flex;
  list-style: none;
  gap: 10px;
  padding: 0 24px;
  justify-content: center;
}

.blog-cat-btn {
  background-color: var(--color-neutral-stone);
  color: var(--color-primary);
  border: 1px solid transparent;
  padding: 10px 20px;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.blog-cat-btn:hover {
  background-color: var(--color-neutral-dark);
  color: var(--color-bg);
}

.blog-cat-btn.active {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-sm);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 45px;
}

.blog-card {
  background-color: #ffffff;
  border: 1px solid var(--color-neutral-stone);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(195, 155, 75, 0.4);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-neutral-light);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
  opacity: 0.8;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-readmore {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

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

.blog-card:hover .blog-card-readmore::after {
  transform: translateX(4px);
}

/* Actions at bottom of blog */
.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Article Reading Modal */
.article-detail-card {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  border-radius: var(--border-radius-md);
  overflow-y: auto;
}

.article-detail-body {
  padding: 40px;
}

.article-detail-header {
  margin-bottom: 30px;
}

.article-detail-categories {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-accent-gold);
  display: block;
  margin-bottom: 12px;
}

.article-detail-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 15px;
}

.article-detail-meta {
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  opacity: 0.7;
}

.article-detail-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}

.article-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-content {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-neutral-dark);
  max-width: 680px;
  margin: 0 auto;
}

.article-detail-content p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.article-detail-content h3 {
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 15px;
}

/* Media Queries for Blog */
@media (max-width: 768px) {
  .blog-section {
    padding: 40px 0;
  }
  .blog-title {
    font-size: 1.8rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-card-content {
    padding: 16px;
  }
  .article-detail-body {
    padding: 24px 20px;
  }
  .article-detail-title {
    font-size: 1.6rem;
  }
  .blog-categories-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .blog-categories-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .blog-category-list {
    justify-content: flex-start;
    padding: 0 20px;
  }
}

/* Hide mobile navigation by default on desktop */
.mobile-nav {
  display: none;
}

/* ==========================================================================
   Mobile Optimization Overrides & Navigation (Zen & Premium Theme)
   ========================================================================== */

@media (max-width: 768px) {
  /* Top Header Navigation Mobile Responsiveness */
  .main-header {
    padding: 8px 12px !important;
  }

  .header-container {
    padding: 0 !important;
    gap: 8px !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .header-logo-area {
    gap: 6px !important;
  }

  .brand-logo {
    width: 32px !important;
    height: 32px !important;
  }

  .brand-title {
    font-size: 1.1rem !important;
  }

  .brand-subtitle {
    font-size: 0.62rem !important;
    letter-spacing: 0.1em !important;
  }

  .header-cart-area {
    gap: 6px !important;
  }

  .nav-header-btn {
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
  }

  .nav-header-btn .nav-icon {
    width: 15px !important;
    height: 15px !important;
  }

  .nav-more-circle-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .more-dots-icon {
    width: 18px !important;
    height: 18px !important;
  }

  /* Helper to hide desktop navigation in mobile */
  .no-mobile {
    display: none !important;
  }
}

@media (max-width: 580px) {
  /* On narrow phone screens (under 580px width), hide redundant Club BÔ button in top header
     since Club BÔ is already right there in the bottom mobile navigation bar! */
  .header-cart-area #club-trigger {
    display: none !important;
  }

  .nav-more-menu-dropdown {
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
  }
}

  /* Bottom Navigation Bar */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(21, 45, 36, 0.96); /* Zen dark green */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-accent-gold);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999; /* Float above content, but under detail modal */
    box-shadow: 0 -4px 16px rgba(21, 45, 36, 0.2);
    padding: 0 10px;
  }

  .mobile-nav-btn {
    background: none;
    border: none;
    color: rgba(253, 252, 249, 0.65); /* var(--color-neutral-light) with opacity */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    gap: 4px;
    flex: 1;
    height: 100%;
    transition: var(--transition-fast);
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-btn svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
  }

  .mobile-nav-btn:active svg {
    transform: scale(0.9);
  }

  .mobile-nav-btn.active {
    color: var(--color-accent-gold);
    font-weight: 600;
  }

  .mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: var(--color-accent-gold);
    color: #152d24;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    min-width: 14px;
    text-align: center;
  }

  /* Elevate floating wheel of discounts above bottom nav */
  .floating-wheel-trigger {
    bottom: 85px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }
  
  .floating-lotus-icon {
    width: 24px !important;
    height: 24px !important;
  }

  /* Space out main containers so the bottom nav doesn't cover anything */
  body {
    padding-bottom: 75px !important;
  }

  /* Compress hero section to save space on mobile */
  .hero-section {
    padding: 40px 16px !important;
  }
  
  .hero-container {
    gap: 24px !important;
  }

  .hero-description {
    margin-bottom: 24px !important;
  }

  .hero-visual {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  .mandala-decoration {
    width: 100% !important;
    height: 100% !important;
  }

  .hero-center-logo {
    width: 100px !important;
    height: 100px !important;
  }

  /* Compact header styling for mobile */
  .brand-title {
    font-size: 1.25rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .header-container {
    padding: 10px 16px;
  }
  
  .cart-trigger-btn {
    width: 36px;
    height: 36px;
  }
}

/* Category pills styling for mobile and tablet */
@media (max-width: 992px) {
  .catalog-sidebar {
    display: none !important;
  }

  .category-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 16px 12px 16px;
    margin: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .category-list li {
    flex: 0 0 auto;
  }

  .category-btn {
    width: auto !important;
    text-align: center !important;
    background-color: var(--color-neutral-stone) !important;
    border: 1px solid rgba(195, 155, 75, 0.15) !important;
    border-radius: 24px !important;
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
    color: var(--color-neutral-dark) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  }

  .category-btn:hover {
    background-color: var(--color-neutral-light) !important;
    padding-left: 16px !important; /* Prevent sliding effect on mobile */
  }

  .category-btn.active {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-sm), var(--shadow-gold) !important;
  }
}

/* Compact cards for extra small screens to prevent price/button overflow */
@media (max-width: 360px) {
  .product-card-price {
    font-size: 0.8rem !important;
  }
  .add-to-cart-btn {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ==========================================================================
   Contact & Community Section (Zen & Premium Theme)
   ========================================================================== */
.contact-section {
  background: linear-gradient(to bottom, var(--color-bg), #0e1d17);
  padding: 80px 24px;
  border-top: 1px solid rgba(195, 155, 75, 0.15);
}

.contact-section {
  position: relative;
  padding: 100px 24px;
  background: linear-gradient(180deg, rgba(15, 30, 24, 0.02) 0%, rgba(21, 45, 36, 0.08) 50%, rgba(15, 30, 24, 0.02) 100%);
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(195, 155, 75, 0.12) 0%, rgba(21, 45, 36, 0.05) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.contact-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(195, 155, 75, 0.1);
  border: 1px solid rgba(195, 155, 75, 0.3);
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--color-accent-gold-dark, #b88e28);
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(195, 155, 75, 0.08);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent-gold, #c39b4b);
  box-shadow: 0 0 8px var(--color-accent-gold, #c39b4b);
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-accent-gold-dark, #a37c2c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-neutral-stone-dark);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* Card Core */
.contact-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(195, 155, 75, 0.2);
  border-radius: 20px;
  padding: 44px 32px 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(21, 45, 36, 0.12), 0 0 25px rgba(195, 155, 75, 0.15);
  border-color: rgba(195, 155, 75, 0.5);
}

/* Featured Highlight Card (WhatsApp / Emerald Zen) */
.contact-card.highlight {
  background: linear-gradient(165deg, rgba(15, 35, 27, 0.96) 0%, rgba(21, 45, 36, 0.98) 100%);
  color: var(--color-neutral-light);
  border: 1px solid rgba(195, 155, 75, 0.5);
  box-shadow: 0 15px 35px rgba(15, 35, 27, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-card.highlight:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(15, 35, 27, 0.35), 0 0 35px rgba(195, 155, 75, 0.3);
  border-color: var(--color-accent-gold);
}

/* Card Header Badges & Live Status Indicators */
.contact-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  background: rgba(21, 45, 36, 0.06);
  color: var(--color-primary);
  margin-bottom: 24px;
}

.contact-card.highlight .contact-card-badge {
  background: rgba(195, 155, 75, 0.18);
  color: var(--color-accent-gold);
  border: 1px solid rgba(195, 155, 75, 0.3);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.online {
  background-color: #2e7d32;
  box-shadow: 0 0 6px #2e7d32;
}

.status-indicator.pulse {
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulseDot 2s infinite;
}

.status-indicator.community {
  background-color: var(--color-accent-gold, #c39b4b);
  box-shadow: 0 0 6px var(--color-accent-gold, #c39b4b);
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Icons & Glowing Rings */
.contact-card-icon-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.contact-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(195, 155, 75, 0.15) 0%, rgba(21, 45, 36, 0.08) 100%);
  color: var(--color-accent-gold-dark, #a37c2c);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.contact-card-icon svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon svg {
  transform: scale(1.12);
}

.contact-card-icon.whatsapp-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.contact-card-icon.social-icon {
  background: linear-gradient(135deg, rgba(195, 155, 75, 0.2) 0%, rgba(225, 48, 108, 0.15) 100%);
  color: var(--color-accent-gold);
}

.icon-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(195, 155, 75, 0.3);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.icon-ring.golden {
  border-color: rgba(195, 155, 75, 0.6);
}

.contact-card:hover .icon-ring {
  transform: rotate(180deg) scale(1.05);
}

/* Card Content Typography */
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.contact-card.highlight h3 {
  color: var(--color-accent-gold);
}

.contact-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-neutral-stone-dark);
  margin-bottom: 32px;
  flex-grow: 1;
}

.contact-card.highlight p {
  color: rgba(247, 246, 242, 0.85);
}

/* Action Buttons & Links */
.contact-card-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.contact-card-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.whatsapp-cta {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
  background: linear-gradient(135deg, #20ba5a 0%, #0e7568 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.icon-ws {
  width: 20px;
  height: 20px;
}

/* Social Buttons */
.contact-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--border-radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon-svg {
  width: 18px;
  height: 18px;
}

.instagram-btn {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.25);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(225, 48, 108, 0.4);
  opacity: 0.95;
}

.facebook-btn {
  background-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.25);
}

.facebook-btn:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.4);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 70px 16px;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .contact-card {
    padding: 36px 24px 28px 24px;
  }
}

/* ==========================================================================
   Club Member & VIP Portal Dashboard (Zen & Premium)
   ========================================================================== */
.auth-modal-card {
  max-width: 420px;
  width: 100%;
}

.portal-modal-card {
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  border: 1px solid var(--color-accent-gold);
}

.portal-header {
  background-color: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-accent-gold);
  position: relative;
}

.portal-profile-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.badge-bronze {
  background-color: rgba(139, 90, 43, 0.15);
  color: #c08d5b;
  border: 1px solid rgba(139, 90, 43, 0.3);
}

.badge-silver {
  background-color: rgba(192, 192, 192, 0.15);
  color: #b0b0b0;
  border: 1px solid rgba(192, 192, 192, 0.3);
}

.badge-gold {
  background-color: rgba(195, 155, 75, 0.15);
  color: var(--color-accent-gold);
  border: 1px solid rgba(195, 155, 75, 0.3);
}

.portal-seeds-display {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.seeds-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  line-height: 1;
}

.seeds-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-top: 2px;
}

.portal-progress-section {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.progress-bar-container {
  width: 100%;
  height: 10px;
  background-color: var(--color-neutral-stone);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent-gold));
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-info-text {
  font-size: 0.78rem;
  color: var(--color-neutral-stone-dark);
  margin: 0;
}

.portal-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dashboard-box {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.box-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(195, 155, 75, 0.1);
  padding-bottom: 8px;
}

/* Lunar widget styles */
.lunar-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lunar-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.lunar-tip {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-neutral-stone-dark);
  margin: 0;
  background-color: rgba(21, 45, 36, 0.03);
  padding: 10px 12px;
  border-radius: 6px;
  flex-grow: 1;
}

/* VIP coupons widget styles */
#vip-coupons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.vip-coupon-card {
  border: 1px solid rgba(21, 45, 36, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(21, 45, 36, 0.02);
  transition: var(--transition-fast);
}

.vip-coupon-card.unlocked {
  border-color: rgba(195, 155, 75, 0.3);
  background-color: rgba(195, 155, 75, 0.05);
}

.vip-coupon-card.locked {
  opacity: 0.6;
}

.coupon-details {
  display: flex;
  flex-direction: column;
}

.coupon-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.vip-coupon-card.unlocked .coupon-code {
  color: var(--color-accent-gold);
}

.coupon-desc {
  font-size: 0.75rem;
  color: var(--color-neutral-stone-dark);
  margin-top: 2px;
}

.lock-indicator {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-neutral-stone-dark);
  background-color: rgba(0, 0, 0, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .portal-modal-card {
    max-height: 95vh;
    border-radius: 24px 24px 0 0;
    align-self: flex-end;
  }
  
  .portal-header {
    padding: 20px 16px;
  }
  
  .portal-body-layout {
    padding: 16px 16px !important;
    overflow-y: auto;
    flex-grow: 1;
  }
  
  .portal-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  
  .dashboard-box {
    padding: 16px;
  }
}

/* ==========================================================================
   Academia BÔ (Interactive Cultivation Course & Certificate)
   ========================================================================== */
.academy-section {
  background-color: var(--color-bg);
  min-height: 80vh;
  padding-bottom: 80px;
}

.academy-hero-banner {
  background: linear-gradient(to bottom, #0e1d17, var(--color-primary));
  color: var(--color-neutral-light);
  padding: 60px 24px 40px 24px;
  border-bottom: 2px solid var(--color-accent-gold);
}

.academy-hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.academy-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.academy-hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0 0 16px 0;
  color: #fff;
}

.academy-hero-desc {
  max-width: 750px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 30px;
}

.academy-progress-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(195, 155, 75, 0.3);
  border-radius: var(--border-radius-md);
  padding: 18px 24px;
  max-width: 500px;
}

.academy-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.academy-progress-bar-bg {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.academy-progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #4caf50, var(--color-accent-gold));
  border-radius: 5px;
  transition: width 0.6s ease;
}

.academy-main-container {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
}

.academy-sidebar {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.15);
  border-radius: var(--border-radius-md);
  padding: 24px 18px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-mod-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-neutral-stone);
}

.academy-modules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.academy-mod-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0,0,0,0.05);
  background-color: rgba(21, 45, 36, 0.02);
  cursor: pointer;
  transition: var(--transition-fast);
}

.academy-mod-item:hover:not(.disabled) {
  background-color: rgba(195, 155, 75, 0.1);
  border-color: var(--color-accent-gold);
}

.academy-mod-item.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.academy-mod-item.active .mod-item-sub {
  color: var(--color-accent-gold);
}

.academy-mod-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mod-item-status {
  font-size: 1.2rem;
}

.mod-item-info {
  display: flex;
  flex-direction: column;
}

.mod-item-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.mod-item-sub {
  font-size: 0.75rem;
  color: var(--color-neutral-stone-dark);
}

.academy-content-panel {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.15);
  border-radius: var(--border-radius-md);
  padding: 40px;
}

.lesson-header {
  border-bottom: 1px solid var(--color-neutral-stone);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.lesson-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(195, 155, 75, 0.15);
  color: var(--color-accent-gold-dark);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.lesson-main-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0 0 8px 0;
}

.lesson-main-sub {
  font-size: 1.05rem;
  color: var(--color-neutral-stone-dark);
  margin: 0;
}

.lesson-body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.lesson-block {
  margin-bottom: 40px;
}

.lesson-block h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.tip-box {
  background-color: rgba(195, 155, 75, 0.08);
  border-left: 4px solid var(--color-accent-gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 0.95rem;
}

.academy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.academy-table th, .academy-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-neutral-stone);
}

.academy-table th {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
}

/* VPD and Trichome Widgets */
.interactive-widget-box {
  background-color: rgba(21, 45, 36, 0.03);
  border: 1px solid rgba(195, 155, 75, 0.25);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin: 24px 0;
}

.vpd-inputs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.vpd-input-group {
  flex: 1;
  min-width: 200px;
}

.vpd-input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.vpd-input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-neutral-stone);
  border-radius: 6px;
  font-size: 1rem;
}

.vpd-result-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.vpd-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.vpd-status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-veg {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.status-flower {
  background-color: #fff8e1;
  color: #f57f17;
}

.status-danger {
  background-color: #ffebee;
  color: #c62828;
}

.trichome-slider-container {
  margin: 20px 0;
  text-align: center;
}

.trichome-slider {
  width: 100%;
  margin-bottom: 20px;
}

.trichome-visual-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.trichome-head {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Quiz Styles */
.quiz-container {
  background-color: rgba(21, 45, 36, 0.02);
  border: 2px solid var(--color-accent-gold);
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin-top: 50px;
}

.quiz-q-block {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.q-title {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1px solid var(--color-neutral-stone);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.q-option-label:hover {
  border-color: var(--color-accent-gold);
  background-color: rgba(195, 155, 75, 0.05);
}

.quiz-result-msg {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.quiz-result-msg.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.quiz-result-msg.error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Certificate Modal & Paper Layout */
.cert-modal-card {
  max-width: 850px;
  width: 100%;
  background-color: #fbf9f4;
  padding: 0;
  overflow: hidden;
}

.certificate-paper {
  background: #fff;
  padding: 40px;
  color: #2c2c2c;
  font-family: var(--font-sans);
  position: relative;
  box-shadow: inset 0 0 100px rgba(195, 155, 75, 0.05);
}

.cert-border-outer {
  border: 4px solid var(--color-accent-gold);
  padding: 8px;
}

.cert-border-inner {
  border: 1px solid var(--color-accent-gold);
  padding: 30px;
  text-align: center;
  position: relative;
}

.cert-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 15rem;
  color: rgba(195, 155, 75, 0.04);
  pointer-events: none;
  font-weight: 700;
}

.cert-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.cert-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin: 8px 0 4px 0;
}

.cert-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-gold-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cert-body {
  margin: 30px 0;
}

.cert-text-intro {
  font-size: 1rem;
  font-style: italic;
  color: #666;
}

.cert-student-name {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--color-primary);
  margin: 12px 0;
  border-bottom: 2px solid var(--color-accent-gold);
  display: inline-block;
  padding: 0 30px 8px 30px;
}

.cert-text-body {
  max-width: 650px;
  margin: 20px auto 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
  padding-top: 20px;
}

.cert-signature-box, .cert-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signature-line {
  width: 160px;
  height: 1px;
  background-color: #888;
  margin-bottom: 6px;
}

.signature-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
}

.cert-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.cert-seal {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px double #fff;
  box-shadow: 0 4px 10px rgba(195, 155, 75, 0.4);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.seal-inner span {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.seal-inner strong {
  font-size: 1.1rem;
}

.cert-actions-bar {
  background-color: #eee;
  padding: 16px;
  text-align: center;
}

@media (max-width: 992px) {
  .academy-main-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .academy-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .academy-hero-title {
    font-size: 1.8rem;
  }
  .academy-content-panel {
    padding: 20px 16px;
  }
  .cert-student-name {
    font-size: 2rem;
  }
  .cert-footer {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* Print Optimization for Certificate */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-certificate, #printable-certificate * {
    visibility: visible;
  }
  #printable-certificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
    box-shadow: none;
  }
  .modal-backdrop {
    position: absolute;
    background: none;
    padding: 0;
  }
  .cert-actions-bar, .close-modal-btn {
    display: none !important;
  }
}

/* ==========================================================================
   Auth & Portal Multi-Tabs, History, Raffle & Seeds Store (v2.4)
   ========================================================================== */
.auth-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--color-neutral-stone);
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-neutral-stone-dark);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent-gold);
}

/* Portal Nav Tabs */
.portal-tabs-nav {
  display: flex;
  background-color: rgba(21, 45, 36, 0.03);
  border-bottom: 1px solid rgba(195, 155, 75, 0.2);
  overflow-x: auto;
}

.portal-nav-item {
  padding: 12px 18px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-neutral-stone-dark);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
}

.portal-nav-item:hover {
  color: var(--color-primary);
}

.portal-nav-item.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent-gold);
  background-color: #fff;
}

.portal-tab-content {
  display: none;
}

.portal-tab-content.active {
  display: block;
}

/* Order History Cards */
.history-order-card {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  margin-bottom: 14px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-neutral-stone);
}

.order-date {
  font-size: 0.75rem;
  color: var(--color-neutral-stone-dark);
  margin-left: 8px;
}

.order-status-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 3px 8px;
  border-radius: 10px;
}

.order-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  font-size: 0.88rem;
  color: #444;
}

.order-items-list li {
  margin-bottom: 4px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.order-card-footer {
  margin-top: 12px;
  text-align: right;
}

/* Golden Ticket Card for Raffle */
.golden-ticket-card {
  background: linear-gradient(135deg, #152d24, #0e1d17);
  border: 2px solid var(--color-accent-gold);
  border-radius: var(--border-radius-md);
  padding: 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(195, 155, 75, 0.2);
  position: relative;
  overflow: hidden;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ticket-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 0.08em;
  margin: 10px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ticket-status {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

/* Seeds Redemption Store Grid */
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.store-item-card {
  background-color: #fff;
  border: 1px solid rgba(195, 155, 75, 0.2);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.store-item-card.locked {
  opacity: 0.6;
  background-color: rgba(0,0,0,0.02);
}

.product-card-gift {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.gift-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.store-item-info {
  display: flex;
  flex-direction: column;
}

.store-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.store-item-cost {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-gold-dark);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .store-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   BÔ Coffee Table QR System & Promos (v2.5)
   ========================================================================== */
.table-active-banner {
  background: linear-gradient(135deg, rgba(195, 155, 75, 0.15) 0%, rgba(21, 45, 36, 0.9) 100%);
  border: 2px solid var(--color-accent-gold);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(195, 155, 75, 0.2);
}

.table-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.table-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(195, 155, 75, 0.4);
}

.table-banner-title {
  color: var(--color-accent-gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 2px 0;
}

.table-banner-subtitle {
  font-size: 0.85rem;
  color: rgba(247, 246, 242, 0.8);
}

.btn-change-table {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(195, 155, 75, 0.4);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-change-table:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
}

.table-grid-selection {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}

.table-select-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(195, 155, 75, 0.25);
  color: #fff;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-select-btn:hover {
  border-color: var(--color-accent-gold);
  background-color: rgba(195, 155, 75, 0.2);
}

.table-select-btn.active {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
  border-color: var(--color-accent-gold);
  box-shadow: 0 4px 12px rgba(195, 155, 75, 0.4);
}

.takeaway-btn {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  border: 1px solid #66bb6a;
  padding: 14px;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.promo-featured-card {
  border: 2px solid var(--color-accent-gold) !important;
  box-shadow: 0 10px 30px rgba(195, 155, 75, 0.25) !important;
}

.promo-badge-gold {
  background: linear-gradient(135deg, var(--color-accent-gold), #e5c158) !important;
  color: var(--color-primary) !important;
}

.coffee-cart-items-container {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.coffee-cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cart-item-price {
  font-size: 0.8rem;
  color: rgba(247, 246, 242, 0.7);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty-minus, .btn-qty-plus {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-item-subtotal {
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-left: 8px;
}

.coffee-cart-summary {
  margin-top: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .table-active-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .table-info-left {
    flex-direction: column;
  }
  .table-grid-selection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Dr. BÔ IA - Doctor de Cultivo (v2.5)
   ========================================================================== */
.drbo-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-block;
}

.drbo-badge-warning {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.drbo-badge-danger {
  background: rgba(244, 67, 54, 0.2);
  color: #ff5252;
  border: 1px solid #ff5252;
}

.drbo-badge-info {
  background: rgba(33, 150, 243, 0.2);
  color: #64b5f6;
  border: 1px solid #64b5f6;
}

.nav-drbo-btn:hover {
  background: rgba(102, 187, 106, 0.15) !important;
  box-shadow: 0 0 15px rgba(102, 187, 106, 0.4) !important;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; box-shadow: 0 0 25px var(--color-accent-gold); }
  100% { transform: scale(1); opacity: 1; }
}

/* --- UNIFIED HEADER NAVIGATION BUTTON SYSTEM (STRICT BRAND MANUAL V3.0) --- */
.header-cart-area {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-header-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--color-primary);          /* Verde Bosque #3E5F1F */
  border: 1.5px solid var(--color-accent-gold); /* Dorado #C2A246 */
  color: #F6F3E8;                             /* Crema Zen - Máxima legibilidad */
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(62, 95, 31, 0.2);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.nav-header-btn:hover {
  background: var(--color-earth-brown);      /* Tierra #6B4E2E */
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 78, 46, 0.35);
}

.nav-header-btn .nav-icon {
  width: 17px;
  height: 17px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

.nav-header-btn .nav-icon.green-accent {
  color: var(--color-primary-light);        /* Verde Hoja #7EA642 */
}

.nav-header-btn .nav-icon.gold-accent {
  color: var(--color-accent-gold);
}

.nav-header-btn .nav-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

/* Green border variant for Dr. BÔ IA */
.nav-header-btn.green-border {
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  color: #F6F3E8;
}

.nav-header-btn.green-border:hover {
  background: var(--color-primary-light);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Gold Gradient Cart Button */
.nav-header-btn.nav-cart-btn {
  background: linear-gradient(135deg, #C2A246 0%, #a68532 100%);
  border: 1.5px solid var(--color-accent-gold);
  color: var(--color-primary);                             /* Color de marca dinámico */
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(194, 162, 70, 0.4);
}

.nav-header-btn.nav-cart-btn:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(126, 166, 66, 0.45);
}

.nav-header-btn.nav-cart-btn .cart-icon {
  width: 17px;
  height: 17px;
  color: var(--color-primary);
}

.nav-header-btn.nav-cart-btn:hover .cart-icon {
  color: #FFFFFF;
}

.nav-header-btn.nav-cart-btn .cart-badge {
  background: var(--color-primary);
  color: #F6F3E8;
  border: 1px solid var(--color-accent-gold);
}

/* --- DYNAMIC FACETED FILTER SYSTEM STYLES (STRICT BRAND MANUAL V3.0) --- */
.catalog-sidebar .sidebar-block {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-neutral-dark, #152d24) 100%);
  border: 2px solid var(--color-accent-gold);
  border-radius: 20px;
  padding: 22px 16px;
  box-shadow: 0 12px 35px rgba(43, 66, 20, 0.4), inset 0 0 25px rgba(194, 162, 70, 0.12);
}

.catalog-search-area .search-input-wrapper {
  background: #F6F3E8;
  border: 2px solid var(--color-accent-gold);
  border-radius: 14px;
  padding: 4px 12px;
  transition: all 0.3s ease;
}

.catalog-search-area .search-input-wrapper:focus-within {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 15px rgba(126, 166, 66, 0.4);
}

.catalog-search-area #search-input {
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.faceted-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.facet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--color-accent-gold);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.facet-main-title {
  font-family: var(--font-serif);
  color: var(--color-accent-gold);
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.clear-all-filters-link {
  background: rgba(239, 83, 80, 0.2);
  border: 1px solid #ef5350;
  color: #ff8a80;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-all-filters-link:hover {
  background: #ef5350;
  color: #fff;
}

.facet-group {
  background: #1e310d;
  border: 1.5px solid rgba(194, 162, 70, 0.4);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.facet-group:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 6px 18px rgba(194, 162, 70, 0.2);
}

.facet-title {
  background: linear-gradient(90deg, var(--color-earth-brown) 0%, var(--color-primary) 100%);
  color: #F6F3E8;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  letter-spacing: 0.5px;
}

.facet-title:hover {
  color: var(--color-accent-gold);
}

.facet-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: var(--color-accent-gold);
}

.facet-group.collapsed .facet-arrow {
  transform: rotate(-90deg);
}

.facet-group.collapsed .facet-content {
  display: none;
}

.facet-content {
  padding: 14px;
}

.facet-count {
  font-size: 0.72rem;
  background: rgba(194, 162, 70, 0.25);
  color: #F6F3E8;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 800;
  margin-left: 6px;
}

/* Category Pill List inside Faceted Panel */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-btn {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(246, 243, 232, 0.08);
  border: 1px solid rgba(194, 162, 70, 0.25);
  color: #F6F3E8;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.category-btn:hover {
  background: var(--color-earth-brown);
  border-color: var(--color-accent-gold);
  color: #F6F3E8;
  transform: translateX(4px);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border: 2px solid var(--color-accent-gold);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(126, 166, 66, 0.35);
}

.category-btn.active .facet-count {
  background: #F6F3E8;
  color: var(--color-primary);
}

/* Custom Scrollbar for Brand Checklist */
.facet-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.facet-checklist::-webkit-scrollbar {
  width: 5px;
}

.facet-checklist::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.facet-checklist::-webkit-scrollbar-thumb {
  background: var(--color-accent-gold);
  border-radius: 10px;
}

.facet-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(247, 246, 242, 0.9);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.facet-check-item:hover {
  background: rgba(195, 155, 75, 0.12);
  border-color: rgba(195, 155, 75, 0.3);
  color: var(--color-accent-gold);
}

.facet-check-item input[type="checkbox"] {
  accent-color: var(--color-accent-gold);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.facet-search-box {
  margin-bottom: 12px;
}

.facet-search-box input {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(195, 155, 75, 0.3);
  color: #fff;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.facet-search-box input:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 10px rgba(195, 155, 75, 0.25);
}

/* Price Range Inputs */
.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-field {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(195, 155, 75, 0.35);
  border-radius: 10px;
  padding: 8px 10px;
  flex: 1;
}

.price-field span {
  font-size: 0.78rem;
  color: var(--color-accent-gold);
  font-weight: 800;
}

.price-field input {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  outline: none;
}

.price-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 800;
}

.price-presets-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 246, 242, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-preset-btn:hover {
  background: rgba(195, 155, 75, 0.2);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: translateX(3px);
}

/* Active Filter Chips Bar */
.active-chips-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(195, 155, 75, 0.15) 0%, rgba(15, 30, 24, 0.9) 100%);
  border: 1.5px solid var(--color-accent-gold);
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.active-chips-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(12, 25, 20, 0.95);
  border: 1.5px solid var(--color-accent-gold);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.filter-chip-remove {
  cursor: pointer;
  color: #ef5350;
  font-weight: 900;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.filter-chip-remove:hover {
  transform: scale(1.2);
}

.clear-all-chips-btn {
  background: rgba(239, 83, 80, 0.2);
  border: 1px solid #ef5350;
  color: #ef5350;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-all-chips-btn:hover {
  background: #ef5350;
  color: #fff;
}

/* Mobile Filter Floating Icon Button (FAB) */
.mobile-filter-trigger-btn {
  display: none;
}

@media (max-width: 992px) {
  .mobile-filter-trigger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed !important;
    bottom: 148px !important;           /* Apilado por encima del botón flotante de la Rueda (85px + 52px + 11px) */
    right: 16px !important;
    z-index: 9985;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;                 /* Botón circular flotante (FAB) */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark, #152d24) 100%);
    border: 2px solid var(--color-accent-gold);
    color: #F6F3E8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(194, 162, 70, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.3rem;
  }

  .mobile-filter-trigger-btn:hover,
  .mobile-filter-trigger-btn:active {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(126, 166, 66, 0.5);
  }

  .mobile-filter-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-accent-gold);
    color: var(--color-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    border: 1.5px solid var(--color-primary);
    margin-left: 0;
  }
}

/* Mobile Drawer Modal */
.mobile-filter-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
}

.mobile-filter-drawer-overlay.active {
  display: block;
}

.mobile-filter-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 370px);
  height: 100vh;
  background: #09120e;
  border-left: 2px solid var(--color-accent-gold);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
}

.mobile-filter-drawer.active {
  right: 0;
}

.mobile-filter-drawer-header {
  padding: 18px 22px;
  background: rgba(15, 30, 24, 0.95);
  border-bottom: 1.5px solid var(--color-accent-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-filter-drawer-header h3 {
  color: var(--color-accent-gold);
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.3rem;
}

.close-mobile-filter-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-filter-drawer-body {
  padding: 22px;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-filter-drawer-footer {
  padding: 18px 22px;
  background: rgba(15, 30, 24, 0.95);
  border-top: 1.5px solid var(--color-accent-gold);
}









