/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* HSL Color Tokens - Light Theme */
  --color-primary: hsl(154, 33%, 18%);
  --color-primary-light: hsl(154, 25%, 30%);
  --color-accent-orange: hsl(16, 92%, 60%);
  --color-accent-gold: hsl(38, 95%, 52%);
  --color-accent-green: hsl(145, 63%, 42%);
  --color-accent-red: hsl(346, 84%, 55%);
  
  --bg-primary: hsl(40, 30%, 98%);
  --bg-secondary: hsl(40, 20%, 94%);
  --bg-glass: rgba(255, 255, 255, 0.45);
  --bg-glass-solid: rgba(255, 255, 255, 0.85);
  --bg-card: hsl(0, 0%, 100%);
  
  --text-primary: hsl(154, 33%, 12%);
  --text-secondary: hsl(154, 15%, 40%);
  --text-light: hsl(0, 0%, 100%);
  
  --border-color: rgba(154, 180, 165, 0.25);
  --border-color-focus: hsl(16, 92%, 60%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(10, 30, 20, 0.08), 0 10px 10px -5px rgba(10, 30, 20, 0.04);
  --shadow-glow-orange: 0 10px 25px -5px rgba(244, 91, 36, 0.4);
  --shadow-glow-green: 0 10px 25px -5px rgba(40, 167, 95, 0.4);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --max-width: 1280px;
}

[data-theme="dark"] {
  /* HSL Color Tokens - Dark Theme */
  --color-primary: hsl(154, 35%, 15%);
  --color-primary-light: hsl(154, 25%, 45%);
  --color-accent-orange: hsl(16, 95%, 65%);
  --color-accent-gold: hsl(38, 95%, 58%);
  --color-accent-green: hsl(145, 65%, 48%);
  --color-accent-red: hsl(346, 88%, 62%);
  
  --bg-primary: hsl(154, 28%, 8%);
  --bg-secondary: hsl(154, 25%, 12%);
  --bg-glass: rgba(20, 35, 28, 0.55);
  --bg-glass-solid: rgba(15, 28, 22, 0.9);
  --bg-card: hsl(154, 24%, 12%);
  
  --text-primary: hsl(40, 25%, 95%);
  --text-secondary: hsl(154, 12%, 70%);
  
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

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

button {
  cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius-full);
}

.hero-badge {
  background: rgba(244, 91, 36, 0.1);
  color: var(--color-accent-orange);
  border: 1px solid rgba(244, 91, 36, 0.25);
  margin-bottom: 16px;
}

.section-tagline {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
  transition: color var(--transition-normal);
}
[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism panels */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.glass-panel-hover {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}
.glass-panel-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 91, 36, 0.35);
  background-color: var(--bg-card);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-orange), hsl(16, 92%, 52%));
  color: var(--text-light);
  box-shadow: var(--shadow-glow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(244, 91, 36, 0.6);
}

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

.btn-block {
  display: flex;
  width: 100%;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.icon-btn:hover {
  background: var(--color-primary);
  color: var(--text-light);
  transform: scale(1.05);
}
[data-theme="dark"] .icon-btn:hover {
  background: var(--color-accent-orange);
  color: var(--color-primary);
}

/* Icons styling */
.icon-orange { color: var(--color-accent-orange); }
.icon-green { color: var(--color-accent-green); }
.icon-gold { color: var(--color-accent-gold); }

.icon-bg-green { background: rgba(40, 167, 95, 0.1); color: var(--color-accent-green); }
.icon-bg-orange { background: rgba(244, 91, 36, 0.1); color: var(--color-accent-orange); }
.icon-bg-red { background: rgba(220, 53, 69, 0.1); color: var(--color-accent-red); }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: var(--bg-glass-solid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
[data-theme="dark"] .logo {
  color: var(--text-primary);
}

.logo-accent {
  color: var(--color-accent-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover {
  color: var(--color-accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-orange);
  transition: width var(--transition-normal);
}
.nav-link.active {
  color: var(--color-accent-orange);
}
.nav-link.active::after {
  width: 100%;
}

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

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent-orange);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .mobile-menu-toggle {
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, rgba(244, 91, 36, 0.12) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 850;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out;
}
[data-theme="dark"] .hero-title {
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.15s backwards;
}

.hero-actions-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent-orange);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease-out;
}

.image-wrapper {
  position: relative;
  border-radius: 40px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  overflow: visible;
  background: var(--bg-glass);
}

.hero-img {
  border-radius: 32px;
  width: 100%;
  object-fit: cover;
}

/* Floating Cards in Hero */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.5rem;
}

.floating-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.floating-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.card-1 {
  bottom: 40px;
  left: -48px;
  animation-delay: 0.5s;
}

.card-2 {
  top: 64px;
  right: -48px;
  animation-delay: 2s;
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass-solid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   PHILOSOPHY / BENEFITS SECTION
   ========================================================================== */
.benefits-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  transition: background-color var(--transition-normal);
}

.benefits-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.benefit-card {
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
}
[data-theme="dark"] .benefit-card h3 {
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
}

.founder-note {
  max-width: 800px;
  margin: 56px auto 0 auto;
  padding: 40px;
  text-align: center;
}

.founder-quote-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.founder-quote-container .quote-icon {
  font-size: 2.5rem;
  opacity: 0.2;
}

.founder-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-primary-light);
}
[data-theme="dark"] .founder-quote {
  color: var(--text-secondary);
}

.founder-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.signature-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-orange);
  letter-spacing: -0.01em;
}

.signature-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   DYNAMIC MENU SECTION
   ========================================================================== */
.menu-section {
  padding: 100px 0;
}

.menu-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--border-radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
[data-theme="dark"] .filter-btn:hover, [data-theme="dark"] .filter-btn.active {
  background: var(--color-accent-orange);
  color: var(--color-primary);
  border-color: var(--color-accent-orange);
}

.menu-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-secondary);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-glass-solid);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--border-color);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}
[data-theme="dark"] .product-card h3 {
  color: var(--text-primary);
}

.product-card p.ingredients-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent-orange);
}

.card-add-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--color-primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.card-add-btn:hover {
  background: var(--color-accent-orange);
  transform: scale(1.05);
}
[data-theme="dark"] .card-add-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .card-add-btn:hover {
  background: var(--color-accent-orange);
  color: var(--color-primary);
  border-color: var(--color-accent-orange);
}

/* ==========================================================================
   INTERACTIVE JUICE BUILDER SECTION
   ========================================================================== */
.builder-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  transition: background-color var(--transition-normal);
}

.builder-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.builder-controls {
  padding: 40px;
}

.builder-step {
  margin-bottom: 40px;
}
.builder-step:last-child {
  margin-bottom: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}
[data-theme="dark"] .step-title {
  color: var(--text-primary);
}

.step-title span {
  width: 28px;
  height: 28px;
  border-radius: var(--border-radius-full);
  background: var(--color-accent-orange);
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-title small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: auto;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.option-card {
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.option-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--color-accent-orange);
  background: rgba(244, 91, 36, 0.04);
  box-shadow: 0 4px 12px rgba(244, 91, 36, 0.1);
}

.option-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.option-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Builder Preview Pane */
.builder-preview {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.bottle-viz-container {
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin-bottom: 32px;
}

.juice-bottle {
  width: 100px;
  height: 250px;
  border: 6px solid var(--color-primary);
  border-radius: 30px 30px 20px 20px;
  position: relative;
  background: transparent;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}
[data-theme="dark"] .juice-bottle {
  border-color: var(--text-primary);
}

.bottle-cap {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 16px;
  background: var(--color-accent-orange);
  border-radius: 4px 4px 0 0;
  z-index: 3;
}

.juice-fluid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%; /* State managed */
  background-color: hsl(40, 95%, 65%); /* Base orange, will dynamically change */
  transition: background-color 1s ease, height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.fluid-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.4) 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, rgba(255,255,255,0.4) 2px, transparent 2px),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.3) 1px, transparent 1px),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5) 2px, transparent 2px);
  background-size: 100% 100%;
  animation: bubbler 6s linear infinite;
}

@keyframes bubbler {
  0% { transform: translateY(0); }
  100% { transform: translateY(-30px); }
}

.bottle-label {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  width: 80px;
  height: 90px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border: 1px dashed var(--color-primary);
  z-index: 2;
  pointer-events: none;
}

.label-brand {
  font-size: 0.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-secondary);
}

.label-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.label-subtitle {
  font-size: 0.45rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.builder-summary {
  width: 100%;
}

.builder-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.summary-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
}

.stat-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.benefits-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  min-height: 28px;
}

.benefit-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
  font-weight: 500;
}

.builder-price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 850;
  color: var(--color-accent-orange);
  line-height: 1;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.reviews-section {
  padding: 100px 0;
}

.reviews-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.review-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.rating {
  color: var(--color-accent-gold);
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--color-primary-light);
}

.av-1 {
  background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=100&auto=format&fit=crop&q=80');
}
.av-2 {
  background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&auto=format&fit=crop&q=80');
}
.av-3 {
  background-image: url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100&auto=format&fit=crop&q=80');
}

.reviewer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--color-primary);
  color: var(--text-light);
  padding: 80px 0 24px 0;
  transition: background-color var(--transition-normal);
}
[data-theme="dark"] .footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
[data-theme="dark"] .footer-brand p {
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--color-accent-orange);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-links h3, .footer-hours h3, .footer-newsletter h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-links h3::after, .footer-hours h3::after, .footer-newsletter h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-accent-orange);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}
[data-theme="dark"] .footer-links ul li a {
  color: var(--text-secondary);
}

.footer-links ul li a:hover {
  color: var(--color-accent-orange);
}

.footer-hours p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
[data-theme="dark"] .footer-hours p {
  color: var(--text-secondary);
}

.footer-hours p i {
  color: var(--color-accent-orange);
  margin-top: 4px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
[data-theme="dark"] .footer-newsletter p {
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-full);
  padding: 4px;
}
[data-theme="dark"] .newsletter-form {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

.newsletter-form input {
  padding: 10px 16px;
  width: 100%;
  color: var(--text-light);
  font-size: 0.9rem;
}
[data-theme="dark"] .newsletter-form input {
  color: var(--text-primary);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .newsletter-form input::placeholder {
  color: var(--text-secondary);
}

.newsletter-form button {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background: var(--color-accent-orange);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.newsletter-form button:hover {
  transform: scale(1.05);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
[data-theme="dark"] .footer-bottom {
  border-top-color: var(--border-color);
  color: var(--text-secondary);
}

/* ==========================================================================
   SHOPPING CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 30, 20, 0.4);
  backdrop-filter: blur(4px);
  z-index: 101;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-glass-solid);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 102;
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}
.cart-drawer.active {
  right: 0;
}

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

.cart-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}
[data-theme="dark"] .cart-header h2 {
  color: var(--text-primary);
}

.cart-header .close-btn {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.cart-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.empty-cart-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  text-align: center;
}

.empty-cart-message i {
  font-size: 3rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-cart-message p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Cart Item Row */
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-secondary);
  object-fit: cover;
}

.cart-item-details h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-details p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-full);
  padding: 2px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background-color var(--transition-fast);
}
.qty-btn:hover {
  background: var(--color-primary-light);
  color: var(--text-light);
}

.qty-value {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-accent-orange);
}

.cart-item-remove {
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.cart-item-remove:hover {
  color: var(--color-accent-red);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: background-color var(--transition-normal);
}

.promo-box {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.promo-box input {
  flex-grow: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.promo-box button {
  padding: 10px 20px;
  background: var(--color-primary);
  color: var(--text-light);
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.promo-box button:hover {
  background: var(--color-accent-orange);
}

[data-theme="dark"] .promo-box button {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .promo-box button:hover {
  background: var(--color-accent-orange);
  color: var(--color-primary);
  border-color: var(--color-accent-orange);
}

.promo-message {
  font-size: 0.8rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.promo-message.success {
  color: var(--color-accent-green);
}

.promo-message.error {
  color: var(--color-accent-red);
}

.text-orange {
  color: var(--color-accent-orange);
  font-weight: 650;
}

.subtotal-row, .discount-row, .shipping-row, .total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.total-row {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
}
[data-theme="dark"] .total-row {
  color: var(--text-primary);
}

.total-row #cart-total {
  color: var(--color-accent-orange);
}

.text-green {
  color: var(--color-accent-green);
  font-weight: 600;
}

.checkout-btn {
  padding: 16px;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 30, 20, 0.5);
  backdrop-filter: blur(6px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal, .checkout-modal {
  width: 90%;
  max-width: 600px;
  background: var(--bg-glass-solid);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}
.modal-overlay.active .detail-modal, .modal-overlay.active .checkout-modal {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.modal-close-btn:hover {
  color: var(--color-accent-orange);
}

/* Product Detail Modal Layout */
.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.modal-product-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  background: var(--bg-secondary);
}

.modal-product-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
[data-theme="dark"] .modal-product-info h2 {
  color: var(--text-primary);
}

.modal-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-orange);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.modal-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal-section-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--color-primary);
}
[data-theme="dark"] .modal-section-title {
  color: var(--text-primary);
}

.ingredients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ingredient-badge {
  background: var(--bg-secondary);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-weight: 500;
}

.nutrition-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 32px;
  text-align: center;
}

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

.nutrition-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.nutrition-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

/* Success Modal */
.checkout-modal {
  max-width: 460px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(40, 167, 95, 0.1);
  color: var(--color-accent-green);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-modal h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.checkout-modal p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.order-number-box {
  background: var(--bg-secondary);
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 32px;
}
[data-theme="dark"] .order-number-box {
  color: var(--text-primary);
}

.order-number-box span {
  color: var(--color-accent-orange);
}

/* ==========================================================================
   CSS KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-container {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .builder-container {
    grid-template-columns: 1fr;
  }
  .builder-preview {
    position: static;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--bg-glass-solid);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .modal-product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modal-product-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions-container {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-container .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 24px;
  }
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-1 {
    left: -20px;
  }
  .card-2 {
    right: -20px;
  }
}
