/* ==========================================================================
   Cheech & Bong Medical Cannabis - Public Showcase & Storefront CSS
   Obsidian Dark Theme with Purple, Rose Red, & Botanical Emerald Accents
   ========================================================================== */

:root {
  /* Obsidian Base Palette */
  --bg-main: #0a0b0e;
  --bg-card: #12131b;
  --bg-card-hover: #181a24;
  --bg-card-alt: #161722;
  --bg-input: #0e0f15;
  --bg-glass: rgba(18, 19, 27, 0.85);
  
  /* Borders */
  --border-subtle: #202330;
  --border-hover: #373b50;
  --border-focus: #8b5cf6;
  
  /* Accents - Purple */
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-glow: rgba(139, 92, 246, 0.28);
  
  /* Accents - Rose Red */
  --rose-400: #fb7185;
  --rose-500: #e11d48;
  --rose-600: #be123c;
  --rose-glow: rgba(225, 29, 72, 0.28);
  
  /* Accents - Botanical Emerald */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.24);

  /* Functional */
  --amber-400: #fbbf24;
  --cyan-400: #38bdf8;
  
  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
  --shadow-purple: 0 0 25px rgba(139, 92, 246, 0.32);
  --shadow-emerald: 0 0 20px rgba(16, 185, 129, 0.28);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 5%, rgba(124, 58, 237, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 95%, rgba(225, 29, 72, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #232738;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-600);
}

a {
  color: var(--purple-400);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  transition: var(--transition);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-icon {
  font-size: 1.85rem;
  line-height: 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-info h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #ffffff 40%, var(--purple-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Store Live Hours Badge */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(18, 19, 27, 0.9);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

.status-open {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.status-open .status-dot {
  background: #10b981;
}
.status-open .status-dot::after {
  background: rgba(16, 185, 129, 0.4);
}

.status-closed {
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}
.status-closed .status-dot {
  background: #f59e0b;
}
.status-closed .status-dot::after {
  background: rgba(245, 158, 11, 0.3);
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-nav-hours {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-nav-hours:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}
.btn-cart-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
}

.cart-counter {
  background: var(--rose-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: var(--radius-full);
  display: inline-block;
  padding: 0 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 3rem 1.5rem 2.2rem;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.14) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--purple-400);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #fb7185 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 1.6rem;
  line-height: 1.65;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(18, 19, 27, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
}

/* Hero Hours Quick Card */
.hero-hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-hours-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-500), var(--rose-500), var(--emerald-500));
}

.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hours-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.hours-day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hours-time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-400);
}

.hours-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Filter & Catalog Controls
   ========================================================================== */
.catalog-section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 4rem;
  flex: 1;
}

.controls-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.search-and-sort-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}

.search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.select-custom {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}
.select-custom:focus {
  outline: none;
  border-color: var(--purple-500);
}

/* Category Filter Chips */
.categories-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.categories-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.cat-chip {
  background: var(--bg-input);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}
.cat-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.cat-chip.active {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-500);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}

/* Secondary Strain Pills */
.strain-filter-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.filter-label {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 0.3rem;
}

.strain-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.strain-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.strain-btn.active {
  background: var(--bg-card-alt);
  color: var(--purple-400);
  border-color: var(--purple-500);
}

/* Results Count Bar */
.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.stock-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Product Cards Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

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

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Card Visual Header */
.card-header-visual {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.card-bg-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  transition: var(--transition);
}
.product-card:hover .card-bg-gradient {
  opacity: 0.9;
  transform: scale(1.04);
}

.card-product-icon {
  font-size: 3.4rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}
.product-card:hover .card-product-icon {
  transform: scale(1.12);
}

.card-badge-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

.strain-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.strain-indica {
  background: rgba(225, 29, 72, 0.85);
  color: #fff;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}
.strain-sativa {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.strain-hybrid {
  background: rgba(124, 58, 237, 0.85);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}
.strain-cbd {
  background: rgba(14, 165, 233, 0.85);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.card-stock-pill {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dot-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* Card Body */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--purple-400);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.card-potency-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.85rem;
}

.potency-stat {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.potency-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.potency-val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
}

.card-description {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-effects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.effect-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.price-wrap {
  display: flex;
  flex-direction: column;
}
.price-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.price-amount {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.price-amount .currency {
  color: var(--purple-400);
  font-size: 1rem;
  margin-right: 2px;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon-reserve {
  background: var(--purple-600);
  color: #fff;
  border: none;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}
.btn-icon-reserve:hover {
  background: var(--purple-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.btn-details-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-details-ghost:hover {
  color: #fff;
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* ==========================================================================
   Product Detail Modal (Deep Dive)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), var(--shadow-purple);
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: rgba(18, 19, 27, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close-btn:hover {
  color: #fff;
  background: var(--rose-600);
  border-color: var(--rose-500);
}

.modal-header-hero {
  padding: 2.2rem 2.2rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.modal-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.modal-hero-details h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.modal-body-content {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.modal-section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--purple-400);
  margin-bottom: 0.75rem;
}

.modal-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat-box {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}
.stat-box-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.stat-box-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.2rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill-item {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-primary);
}

.modal-footer-cta {
  padding: 1.4rem 2.2rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 15, 21, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-qty-selector {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  color: #fff;
  border: none;
  width: 36px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover {
  background: var(--bg-card-hover);
  color: var(--purple-400);
}

.qty-number {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0 0.85rem;
  min-width: 36px;
  text-align: center;
}

/* ==========================================================================
   Slide-in Cart / WhatsApp Reservation Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  z-index: 950;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.drawer-backdrop.active .cart-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 {
  font-size: 1.18rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.cart-item-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-400);
}

.cart-item-del {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  font-size: 1rem;
  transition: var(--transition);
}
.cart-item-del:hover {
  color: var(--rose-500);
}

.drawer-footer {
  padding: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card-alt);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 1.2rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.85rem;
}
.cart-total-amount {
  font-family: var(--font-mono);
  color: var(--purple-400);
}

/* Pickup Details Inputs */
.pickup-form-group {
  margin-bottom: 0.85rem;
}
.pickup-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.pickup-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
}
.pickup-input:focus {
  outline: none;
  border-color: var(--purple-500);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25d366;
  color: #0b2512;
  border: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp-order:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   18+ Age Verification Modal Gate
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 5, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.age-gate-overlay.active {
  opacity: 1;
  visibility: visible;
}

.age-gate-card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-purple);
  position: relative;
  overflow: hidden;
}

.age-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-500), var(--purple-500), var(--emerald-500));
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.15);
  border: 2px solid var(--rose-500);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--rose-400);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.3);
}

.age-gate-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.age-gate-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.age-gate-legal-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.8rem;
  text-align: left;
  line-height: 1.5;
}

.age-gate-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-confirm-age {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.btn-confirm-age:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  transform: translateY(-2px);
}

.btn-reject-age {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-reject-age:hover {
  background: rgba(225, 29, 72, 0.1);
  color: var(--rose-400);
  border-color: rgba(225, 29, 72, 0.3);
}

/* ==========================================================================
   Dispensary Info, Hours & FAQ Section
   ========================================================================== */
.dispensary-info-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}
.section-title-wrap h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.info-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.info-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Compliance Disclaimer Box */
.compliance-box {
  background: rgba(18, 19, 27, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-top: 2rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.compliance-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.compliance-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber-400);
  margin-bottom: 0.4rem;
}
.compliance-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #07070a;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-brand-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-logo {
  font-size: 1.4rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}
.footer-links a {
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--purple-400);
}

/* Toast Notifications */
.toast-box {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 10000;
  background: var(--bg-card);
  border: 1px solid var(--purple-500);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-purple);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast-box.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tiered Pricing Badges & Modal Grid */
.card-tier-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
  margin-bottom: 0.65rem;
  background: var(--bg-input);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.tier-chip {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.tier-chip strong {
  color: var(--purple-400);
}

.tier-chip.discount strong {
  color: var(--rose-400);
}

.discount-preview {
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(225, 29, 72, 0.06);
}

.discount-sub-note {
  font-size: 0.72rem;
  color: var(--rose-400);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Modal Tier Pricing Section */
.tier-pricing-section {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.tier-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.discount-pill {
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid var(--rose-500);
  color: var(--rose-400);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.tier-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tier-card:hover {
  border-color: var(--purple-500);
  transform: translateY(-2px);
}

.tier-card.active {
  border-color: var(--purple-500);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.tier-card.active::after {
  content: 'ACTIVE';
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--purple-600);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.tier-card-qty {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.tier-card-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.tier-card.active .tier-card-price {
  color: var(--purple-400);
}

.tier-card-unit {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .search-and-sort-row {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  .modal-header-hero {
    flex-direction: column;
    text-align: center;
  }
  .modal-footer-cta {
    flex-direction: column;
  }
  .modal-qty-selector {
    width: 100%;
    justify-content: center;
  }
  .btn-icon-reserve {
    width: 100%;
    justify-content: center;
  }
  .age-gate-buttons {
    grid-template-columns: 1fr;
  }
}
