/** Shopify CDN: Minification failed

Line 946:31 Unexpected "{"
Line 946:40 Expected ":"

**/
/* ==================================
   DAYDREAMER APOTHECARY
   Liquid Glass Design System
   Version: 4.0.0 - Cosmic Glass Atmosphere
   ================================== */

/* ===== 1. CSS Custom Properties ===== */
:root {
  /* Brand Colors - Desert Daydream Palette (Reverted) */
  /* Primary: Warm Taupe */
  --color-taupe: #847365;
  --color-taupe-light: #CAB3A1;
  --color-taupe-dark: #5A4841;
  
  /* Secondary: Warm Greige */
  --color-greige: #ACA093;
  --color-greige-light: #D0CAC4;
  --color-greige-dark: #8A7F77;
  
  /* Tertiary: Dusty Blush */
  --color-blush: #C9A898;
  --color-blush-light: #E8D4CC;
  --color-blush-dark: #A88878;
  
  /* Neutrals */
  --color-cream: #FBFBFA;
  --color-cream-dark: #E3DCD7;
  --color-cocoa: #4A3F3A;
  
  /* Accent Colors - Rose-Gold Metallic (Kept from Phase 20) */
  --color-rose-gold: #B98C85;
  --color-champagne: #C9A19A;
  
  /* Secondary Accents */
  --color-sage-muted: #A8B5A0;
  --color-apricot: #E8C4B0;
  
  /* Legacy aliases for backward compatibility */
  --color-lavender: var(--color-taupe);
  --color-lavender-light: var(--color-taupe-light);
  --color-lavender-dark: var(--color-taupe-dark);
  --color-sage: var(--color-greige);
  --color-sage-light: var(--color-greige-light);
  --color-sage-dark: var(--color-greige-dark);
  --color-rose: var(--color-blush);
  --color-rose-light: var(--color-blush-light);
  --color-rose-dark: var(--color-blush-dark);
  --color-charcoal: var(--color-cocoa);
  
  /* Liquid Glass Material Properties */
  --glass-blur-sm: blur(8px);
  --glass-blur-md: blur(20px);
  --glass-blur-lg: blur(40px);
  --glass-blur-xl: blur(60px);  /* Extra ethereal for cosmic sections */
  --glass-opacity-subtle: 0.04;   /* Reduced for maximum transparency */
  --glass-opacity-light: 0.06;    /* Reduced for maximum transparency */
  --glass-opacity-medium: 0.08;   /* Reduced for maximum transparency */
  --glass-opacity-strong: 0.12;   /* Reduced for maximum transparency */
  
  /* Glassmorphism Backgrounds - Desert Daydream Tones (Reverted) */
  --glass-taupe: rgba(132, 115, 101, var(--glass-opacity-medium));
  --glass-greige: rgba(172, 160, 147, var(--glass-opacity-medium));
  --glass-blush: rgba(201, 168, 152, var(--glass-opacity-medium));
  --glass-cream: rgba(251, 251, 250, var(--glass-opacity-strong));
  
  /* Legacy glass aliases */
  --glass-lavender: var(--glass-taupe);
  --glass-sage: var(--glass-greige);
  --glass-rose: var(--glass-blush);
  
  /* Dynamic Shadows - Depth System (Reverted) */
  --shadow-xs: 0 1px 3px rgba(74, 63, 58, 0.04);
  --shadow-sm: 0 2px 8px rgba(74, 63, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(74, 63, 58, 0.08);
  --shadow-lg: 0 8px 32px rgba(74, 63, 58, 0.10);
  --shadow-xl: 0 16px 48px rgba(74, 63, 58, 0.12);
  
  /* Inset Shadows for Glass Depth */
  --shadow-glass-inset: inset 0 1px 2px rgba(255, 255, 255, 0.5),
                         inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  
  /* Border System */
  --border-glass: 1px solid rgba(255, 255, 255, 0.25);
  --border-subtle: 1px solid rgba(74, 63, 58, 0.08);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  
  /* Typography Scale */
  --font-family-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 2rem;     /* 32px */
  --font-size-4xl: 2.5rem;   /* 40px */
  --font-size-5xl: 3rem;     /* 48px */
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Animation Timings - Fluid & Organic */
  --duration-instant: 150ms;
  --duration-fast: 300ms;
  --duration-normal: 450ms;
  --duration-slow: 600ms;
  --easing-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --easing-decelerate: cubic-bezier(0.0, 0.0, 0.2, 1);
  --easing-accelerate: cubic-bezier(0.4, 0.0, 1, 1);
  
  /* Z-Index System */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ===== 2. Glass Card Components ===== */

/* Universal Glass Card */
.glass-card {
  background: var(--glass-cream);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-glass-inset);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--easing-standard);
}

.glass-card:hover {
  background: rgba(251, 251, 250, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Variant: Taupe Glass (primary) */
.glass-card--taupe,
.glass-card--lavender {
  background: var(--glass-taupe);
  border-color: rgba(168, 137, 120, 0.3);
}

/* Variant: Greige Glass (secondary) */
.glass-card--greige,
.glass-card--sage {
  background: var(--glass-greige);
  border-color: rgba(201, 173, 149, 0.3);
}

/* Variant: Blush Glass (tertiary) */
.glass-card--blush,
.glass-card--rose {
  background: var(--glass-blush);
  border-color: rgba(207, 167, 161, 0.3);
}

/* Landing-specific Glass Card */
.glass-card--landing {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

/* ===== 3. Glass Button System ===== */

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--glass-lavender);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--color-charcoal);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing-standard);
  box-shadow: var(--shadow-sm);
}

.glass-btn:hover {
  background: rgba(168, 137, 120, 0.25);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.glass-btn:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-xs);
}

.glass-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Primary CTA Variant */
.glass-btn--primary {
  background: var(--color-lavender);
  color: white;
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.glass-btn--primary:hover {
  background: var(--color-lavender-dark);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* Secondary Variant */
.glass-btn--secondary {
  background: transparent;
  border: 1px solid var(--color-lavender);
  color: var(--color-lavender-dark);
}

.glass-btn--secondary:hover {
  background: var(--glass-lavender);
}

/* Icon Button Variant */
.glass-btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  background: var(--glass-cream);
  border: var(--border-subtle);
}

.glass-btn--icon:hover {
  background: var(--glass-lavender);
  transform: scale(1.05);
}

/* Variant option button */
.glass-btn--variant {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--color-cream-dark);
  font-size: var(--font-size-sm);
}

.glass-btn--variant.is-selected {
  background: var(--glass-lavender);
  border-color: var(--color-lavender);
}

.glass-btn--variant:disabled {
  opacity: 0.4;
  text-decoration: line-through;
}

/* ===== 4. Glass Navigation ===== */

.glass-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(246, 239, 232, 0.85);
  backdrop-filter: var(--glass-blur-lg) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur-lg) saturate(180%);
  border-bottom: 1px solid rgba(94, 74, 66, 0.06);
  box-shadow: 0 4px 24px rgba(94, 74, 66, 0.04);
  transition: all var(--duration-normal) var(--easing-decelerate);
}

/* Scrolled State - More Opaque */
.glass-nav.is-scrolled {
  background: rgba(246, 239, 232, 0.95);
  box-shadow: 0 8px 32px rgba(94, 74, 66, 0.08);
}

/* ===== 5. Product Glass Card ===== */

.product-glass-card {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--easing-standard);
}

.product-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(168, 137, 120, 0.05) 0%,
    rgba(201, 173, 149, 0.05) 50%,
    rgba(207, 167, 161, 0.05) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--easing-standard);
  pointer-events: none;
}

.product-glass-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-glass-card:hover::before {
  opacity: 1;
}

/* Glass Overlay for Product Info */
.product-glass-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border-top: var(--border-glass);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--easing-decelerate);
}

.product-glass-card:hover .product-glass-card__info {
  transform: translateY(0);
}

/* ===== 6. Glass Input System ===== */

.glass-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(168, 137, 120, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  color: var(--color-cocoa);
  transition: all var(--duration-fast) var(--easing-standard);
}

.glass-input:focus {
  outline: none;
  border-color: var(--color-taupe);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 0 0 3px rgba(168, 137, 120, 0.15);
}

.glass-input::placeholder {
  color: rgba(94, 74, 66, 0.5);
}

/* Glass Input Group (for quantity selector) */
.glass-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(168, 137, 120, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.glass-input-group .quantity-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: var(--font-size-lg);
  color: var(--color-charcoal);
  cursor: pointer;
  transition: background var(--duration-fast) var(--easing-standard);
}

.glass-input-group .quantity-btn:hover {
  background: var(--glass-lavender);
}

.glass-input-group .quantity-input {
  width: 60px;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  text-align: center;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  color: var(--color-charcoal);
}

.glass-input-group .quantity-input:focus {
  outline: none;
}

/* ===== 7. Utility Classes ===== */

.text-gradient {
  background: linear-gradient(135deg, var(--color-taupe) 0%, var(--color-blush) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

/* Visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 8. Accordion Component ===== */

.accordion-item {
  margin-bottom: var(--space-md);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-charcoal);
  transition: color var(--duration-fast) var(--easing-standard);
}

.accordion-header:hover {
  color: var(--color-lavender-dark);
}

.accordion-title {
  margin: 0;
  font-size: var(--font-size-lg);
}

.accordion-icon {
  transition: transform var(--duration-fast) var(--easing-standard);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-lg);
  transition: max-height var(--duration-normal) var(--easing-decelerate),
              padding var(--duration-normal) var(--easing-decelerate);
}

.accordion-item.is-open .accordion-content {
  max-height: 1000px;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* ===== 9. Badge Components ===== */

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge--tiktok {
  background: var(--glass-lavender);
  color: var(--color-lavender-dark);
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 10;
}

.product-badge--limited {
  background: var(--glass-rose);
  color: var(--color-rose-dark);
}

.product-badge--sale {
  background: var(--color-sage);
  color: white;
}

/* ===== 10. Sticky ATC Bar (Mobile) ===== */

.sticky-atc-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border-top: var(--border-subtle);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--easing-decelerate);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  /* iOS safe area support */
  padding-bottom: var(--safe-area-bottom, 0px);
  /* Performance optimization */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.sticky-atc-bar.is-visible {
  transform: translateY(0);
}

.sticky-atc-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  padding-left: max(var(--space-lg), var(--safe-area-left, 0px));
  padding-right: max(var(--space-lg), var(--safe-area-right, 0px));
  max-width: 1440px;
  margin: 0 auto;
}

.sticky-atc-bar__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sticky-atc-bar__title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin: 0;
}

.sticky-atc-bar__price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-lavender-dark);
}

.sticky-atc-bar__btn {
  flex-shrink: 0;
  padding: var(--space-md) var(--space-xl);
}

@media (min-width: 990px) {
  .sticky-atc-bar {
    display: none;
  }
}

/* ===== 11. Exit Intent Modal ===== */

.exit-intent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--easing-standard);
}

.exit-intent-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.exit-intent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.exit-intent-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  padding: var(--space-3xl);
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--duration-normal) var(--easing-decelerate);
}

.exit-intent-modal.is-visible .exit-intent-content {
  transform: scale(1);
}

/* 44px minimum for Apple HIG touch targets */
.exit-intent-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-charcoal);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--duration-fast) var(--easing-standard);
}

.exit-intent-close:hover {
  opacity: 1;
}

.exit-intent-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.exit-intent-text {
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.exit-intent-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.exit-intent-form .glass-input {
  padding: var(--space-md);
  text-align: center;
}

.exit-intent-note {
  font-size: var(--font-size-sm);
  color: var(--color-charcoal);
  opacity: 0.6;
  margin: 0;
}

/* Success State */
.exit-intent-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.exit-intent-success .success-icon {
  color: var(--color-sage);
}

.discount-code {
  padding: var(--space-md) var(--space-xl);
  background: var(--glass-lavender);
  border: 2px dashed var(--color-lavender);
  border-radius: var(--radius-md);
  font-size: var(--font-size-2xl);
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-lavender-dark);
}

.discount-note {
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

/* ===== 12. Quick View Modal ===== */

.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--easing-standard);
}

.quick-view-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.quick-view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.quick-view-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform var(--duration-normal) var(--easing-decelerate);
}

.quick-view-modal.is-visible .quick-view-content {
  transform: scale(1);
}

/* 44px minimum for Apple HIG touch targets */
.quick-view-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-charcoal);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--duration-fast) var(--easing-standard);
  z-index: 10;
}

.quick-view-close:hover {
  opacity: 1;
}

/* ===== 13. Free Shipping Bar ===== */

.free-shipping-bar {
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.free-shipping-bar__text {
  text-align: center;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
}

.free-shipping-bar__text--success {
  color: var(--color-sage-dark);
}

.free-shipping-bar__progress {
  height: 8px;
  background: var(--glass-cream);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.free-shipping-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-greige) 0%, var(--color-taupe) 100%);
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--easing-decelerate);
}

/* ===== 14. Cart Count Badge ===== */

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-lavender);
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0 4px;
}

/* ===== 15. Trust Badges ===== */

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.trust-badge__icon {
  font-size: 2rem;
}

.trust-badge__text {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  opacity: 0.7;
}

.product-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: var(--border-subtle);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-charcoal);
  opacity: 0.8;
}

.trust-icon {
  flex-shrink: 0;
  color: var(--color-sage);
}

/* ===== Collection Page Spacing Overrides ===== */

/* Tighter spacing for collection banner */
.collection-banner-enhanced {
  padding: var(--space-lg) 0; /* 24px */
}

/* Reduce gap between collection banner and product grid */
.collection-banner-enhanced + .section,
.collection-banner-enhanced + div[class*="section-"] {
  margin-top: 0;
  padding-top: var(--space-lg); /* 24px */
}

/* Optimize product grid spacing */
.template-collection .section-{{ section.id }}-padding {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

/* Remove excess margins on collection hero title */
.collection-banner-enhanced__title {
  margin-top: 0;
  margin-bottom: 0;
}

/* ===== 16. COSMIC ATMOSPHERE ELEMENTS ===== */

/* Sunset/Twilight Gradient - Warm sunset fading to twilight */
.atmosphere-sunset {
  position: relative;
}

.atmosphere-sunset::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 180, 130, 0.25) 0%,      /* warm sunset orange - INTENSIFIED */
    rgba(200, 140, 180, 0.20) 40%,     /* twilight lavender - INTENSIFIED */
    rgba(100, 120, 160, 0.15) 70%,     /* dusk blue - INTENSIFIED */
    rgba(40, 50, 80, 0.08) 100%        /* deep evening */
  );
  pointer-events: none;
  z-index: 1;
}

.atmosphere-sunset > * {
  position: relative;
  z-index: 2;
}

/* Night Sky Gradient - Deep evening to cosmos with visible stars */
.atmosphere-night {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 40, 0.40) 0%,          /* deep navy sky - VERY VISIBLE */
    rgba(30, 25, 50, 0.35) 30%,         /* purple night - VERY VISIBLE */
    rgba(20, 30, 50, 0.30) 60%,         /* midnight blue - VISIBLE */
    rgba(10, 15, 30, 0.20) 100%         /* deep space fade */
  );
}

.atmosphere-night::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(60, 50, 100, 0.25) 0%,         /* purple cosmos glow */
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.atmosphere-night > * {
  position: relative;
  z-index: 2;
}

/* Twilight Blend - Visible cosmic transition */
.atmosphere-twilight {
  position: relative;
}

.atmosphere-twilight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 200, 160, 0.18) 0%,       /* warm horizon glow - INTENSIFIED */
    rgba(180, 140, 200, 0.22) 40%,      /* lavender twilight mist - INTENSIFIED */
    rgba(120, 140, 180, 0.18) 70%,      /* cool twilight - INTENSIFIED */
    rgba(60, 80, 120, 0.12) 100%        /* night approaches */
  );
  pointer-events: none;
  z-index: 1;
}

.atmosphere-twilight > * {
  position: relative;
  z-index: 2;
}

/* Star/Sparkle Overlay Pattern - Visible celestial starfield */
.stars-overlay {
  position: relative;
}

.stars-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    /* Bright stars - larger and more visible */
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 240, 255, 0.9) 0%, rgba(255, 240, 255, 0.7) 1.5px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 1px, transparent 2px),
    radial-gradient(circle, rgba(240, 255, 255, 0.8) 0%, rgba(240, 255, 255, 0.6) 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 1.5px, transparent 3px),
    /* Medium stars - more spread out */
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 1px),
    /* Small stars - distant twinkling */
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 1px);
  background-size: 
    200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%,
    250% 250%, 250% 250%, 250% 250%, 250% 250%,
    300% 300%, 300% 300%, 300% 300%, 300% 300%, 300% 300%, 300% 300%;
  background-position: 
    20% 15%, 75% 25%, 50% 50%, 85% 70%, 15% 80%, 90% 40%,
    40% 60%, 65% 20%, 30% 85%, 80% 10%,
    10% 30%, 45% 75%, 70% 55%, 25% 40%, 95% 85%, 55% 10%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
  animation: twinkle 6s ease-in-out infinite;
}

.stars-overlay > * {
  position: relative;
  z-index: 2;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

/* ===== SEAMLESS ATMOSPHERIC SECTIONS ===== */

/* Remove margin gaps for sections with atmospheric effects */
.atmosphere-sunset + .section,
.atmosphere-night + .section,
.atmosphere-twilight + .section,
.section + .atmosphere-sunset,
.section + .atmosphere-night,
.section + .atmosphere-twilight,
.atmosphere-sunset + .atmosphere-sunset,
.atmosphere-sunset + .atmosphere-night,
.atmosphere-sunset + .atmosphere-twilight,
.atmosphere-night + .atmosphere-sunset,
.atmosphere-night + .atmosphere-night,
.atmosphere-night + .atmosphere-twilight,
.atmosphere-twilight + .atmosphere-sunset,
.atmosphere-twilight + .atmosphere-night,
.atmosphere-twilight + .atmosphere-twilight,
[class*="atmosphere-"] + .section,
.section + [class*="atmosphere-"],
[class*="atmosphere-"] + [class*="atmosphere-"] {
  margin-top: 0 !important;
}

/* Extend atmospheric overlays to cover any gaps */
[class*="atmosphere-"]::before {
  top: calc(var(--spacing-sections-mobile, 3rem) * -0.5);
  bottom: calc(var(--spacing-sections-mobile, 3rem) * -0.5);
}

@media screen and (min-width: 750px) {
  [class*="atmosphere-"]::before {
    top: calc(var(--spacing-sections-desktop, 5rem) * -0.5);
    bottom: calc(var(--spacing-sections-desktop, 5rem) * -0.5);
  }
}

/* Remove all section gaps globally for seamless design */
.section + .section {
  margin-top: 0 !important;
}

/* Maintain internal spacing using padding instead of margins */
.shopify-section {
  padding-top: calc(var(--spacing-sections-mobile, 3rem) * 0.5);
  padding-bottom: calc(var(--spacing-sections-mobile, 3rem) * 0.5);
}

@media screen and (min-width: 750px) {
  .shopify-section {
    padding-top: calc(var(--spacing-sections-desktop, 5rem) * 0.5);
    padding-bottom: calc(var(--spacing-sections-desktop, 5rem) * 0.5);
  }
}

/* Cosmic Glass - Glass with VISIBLE twilight/dusk tinting */
.glass-cosmic {
  background: linear-gradient(
    135deg,
    rgba(255, 200, 180, 0.15) 0%,       /* warm glow - INTENSIFIED */
    rgba(180, 160, 220, 0.20) 50%,      /* lavender mist - INTENSIFIED */
    rgba(140, 180, 230, 0.15) 100%      /* cool twilight - INTENSIFIED */
  );
  backdrop-filter: var(--glass-blur-lg) saturate(150%);
  -webkit-backdrop-filter: var(--glass-blur-lg) saturate(150%);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glass-inset);
  position: relative;
  overflow: hidden;
}

/* Cosmic Glass Card Variant - Even MORE visible */
.glass-card--cosmic {
  background: linear-gradient(
    135deg,
    rgba(255, 200, 180, 0.18) 0%,       /* INTENSIFIED warm glow */
    rgba(180, 160, 220, 0.25) 50%,      /* INTENSIFIED lavender mist */
    rgba(140, 180, 230, 0.18) 100%      /* INTENSIFIED cool twilight */
  );
  backdrop-filter: var(--glass-blur-xl) saturate(150%);
  -webkit-backdrop-filter: var(--glass-blur-xl) saturate(150%);
  box-shadow: 
    0 8px 32px rgba(100, 80, 150, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(100, 80, 150, 0.08);
}

.glass-card--cosmic:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 200, 180, 0.22) 0%,
    rgba(180, 160, 220, 0.30) 50%,
    rgba(140, 180, 230, 0.22) 100%
  );
  box-shadow: 
    0 12px 48px rgba(100, 80, 150, 0.20),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Ultra Ethereal Glass - Maximum transparency */
.glass-ethereal {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--glass-blur-xl) saturate(150%);
  -webkit-backdrop-filter: var(--glass-blur-xl) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Rose-Gold Shimmer Accent - For hover states */
.rose-gold-shimmer {
  position: relative;
  overflow: hidden;
}

.rose-gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(185, 140, 133, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--easing-standard);
}

.rose-gold-shimmer:hover::after {
  transform: translateX(100%);
}

/* =============================================================================
   Section 17: SCROLL-DRIVEN VIDEO BACKGROUND - Fixed Viewport Layer
   ============================================================================= */

/* Fixed Background Container - Furthest Back */
.scroll-video-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.scroll-video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Video Elements - Fill Viewport */
.scroll-video,
.scroll-video--desktop,
.scroll-video--mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop/Mobile Video Switching */
.scroll-video--desktop {
  display: block;
}

.scroll-video--mobile {
  display: none;
}

@media (max-width: 767px) {
  .scroll-video--desktop {
    display: none;
  }
  
  .scroll-video--mobile {
    display: block;
  }
}

.scroll-video.hidden {
  display: none !important;
}

/* Fallback elements */
.scroll-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
}

.scroll-video-embed iframe,
.scroll-video-poster img,
.scroll-video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scroll-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
}

.scroll-video-poster,
.scroll-video-placeholder {
  display: none;
}

.scroll-video-poster img,
.scroll-video-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Atmosphere Overlay */
.scroll-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* =============================================================================
   AUTO GLASS EFFECT FOR ALL SECTIONS
   ============================================================================= */

/* When video background is active, all main sections get glass effect */
body.has-video-background main .shopify-section {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, calc(var(--video-glass-opacity, 0.6)));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Exclude video section's parent wrapper from glass effect */
/* Using :has() to target the parent .shopify-section that contains the video */
body.has-video-background main .shopify-section:has(.scroll-video-background) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0;
  position: static;
}

/* Content cards within video section (optional blocks) */
.scroll-video-content {
  position: relative;
  z-index: 10;
  padding: var(--spacing-3xl) 0;
  pointer-events: auto;
}

.scroll-video-card {
  max-width: 600px;
  margin: 50vh auto;
  padding: var(--spacing-xl);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 200, 180, 0.18) 0%,
    rgba(180, 160, 220, 0.25) 50%,
    rgba(140, 180, 230, 0.18) 100%
  );
  backdrop-filter: var(--glass-blur-xl) saturate(150%);
  -webkit-backdrop-filter: var(--glass-blur-xl) saturate(150%);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 8px 32px rgba(100, 80, 150, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all var(--duration-slow) var(--easing-smooth);
}

.scroll-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 48px rgba(100, 80, 150, 0.20),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.scroll-video-card__heading {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.scroll-video-card__text {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.scroll-video-card__button {
  display: inline-block;
  margin-top: var(--spacing-md);
}

/* =============================================================================
   HEADER/FOOTER STAY OPAQUE - Exclude from Glass Effect
   ============================================================================= */

body.has-video-background .section-header,
body.has-video-background .shopify-section-header,
body.has-video-background .shopify-section-group-header-group,
body.has-video-background .header-wrapper {
  position: relative;
  z-index: 100;
  background: var(--color-background) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.has-video-background .section-footer,
body.has-video-background .shopify-section-footer,
body.has-video-background .shopify-section-group-footer-group,
body.has-video-background footer {
  position: relative;
  z-index: 100;
  background: var(--color-background) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Mobile optimizations */
@media (max-width: 749px) {
  .scroll-video-card {
    max-width: calc(100% - var(--spacing-lg) * 2);
    margin: 30vh auto;
    padding: var(--spacing-lg);
  }
  
  .scroll-video-content {
    padding: var(--spacing-xl) 0;
  }
}

/* Tablet */
@media (min-width: 750px) and (max-width: 989px) {
  .scroll-video-card {
    max-width: 500px;
    margin: 40vh auto;
  }
}

/* Desktop large */
@media (min-width: 1400px) {
  .scroll-video-card {
    max-width: 700px;
  }
}


