/* ==========================================================================
   ELOVA — ELEVATING EVERYDAY NOURISHMENT
   Core Design System & Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors (Extracted from official ELOVA logo) */
  --elova-green: #13572d;
  --elova-green-dark: #0e3f21;
  --elova-green-deeper: #082413;
  --elova-green-light: #1c723c;
  --elova-green-tint: rgba(19, 87, 45, 0.07);
  --elova-green-tint-strong: rgba(19, 87, 45, 0.14);
  --elova-green-border: rgba(19, 87, 45, 0.18);

  /* Luxury Warm Neutrals */
  --off-white: #faf8f5;
  --cream: #f4f0e8;
  --cream-light: #fcfbf9;
  --beige: #ebe5da;
  --stone: #d8d2c4;
  --sage: #e0e6de;
  --muted-olive: #6b745d;

  /* Typography Colors */
  --text-primary: #1a221d;
  --text-secondary: #535e57;
  --text-muted: #88938b;
  --text-inverse: #faf8f5;
  --text-inverse-muted: #c4cdc7;

  /* System / Status */
  --color-border: rgba(26, 34, 29, 0.1);
  --color-border-subtle: rgba(26, 34, 29, 0.06);
  --color-gold: #c59b27;

  /* Typography Fonts */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Spacing */
  --container-max: 1440px;
  --container-padding: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 84px;
  --section-spacing: clamp(5rem, 9vw, 9.5rem);
  --section-spacing-sm: clamp(3rem, 5vw, 5.5rem);

  /* Transitions & Curves */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.25s var(--ease-editorial);
  --transition-normal: 0.45s var(--ease-editorial);
  --transition-slow: 0.8s var(--ease-editorial);

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;

  /* Depth Shadows */
  --shadow-subtle: 0 4px 20px rgba(19, 87, 45, 0.04);
  --shadow-card: 0 12px 36px rgba(19, 87, 45, 0.07);
  --shadow-hover: 0 24px 48px rgba(19, 87, 45, 0.12);
  --shadow-drawer: -10px 0 40px rgba(8, 36, 19, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: initial;
  /* Managed by Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--off-white);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  background-color: var(--off-white);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography Utilities
   -------------------------------------------------------------------------- */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.heading-display {
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.heading-hero {
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.heading-section {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-sub {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--elova-green);
  display: inline-block;
  margin-bottom: 1rem;
}

.eyebrow-light {
  color: var(--text-inverse-muted);
}

.body-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-muted {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.text-editorial-italic {
  font-style: italic;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   4. Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 1080px;
}

.container-editorial {
  max-width: 860px;
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section-sm {
  padding-top: var(--section-spacing-sm);
  padding-bottom: var(--section-spacing-sm);
}

.bg-cream {
  background-color: var(--cream);
}

.bg-off-white {
  background-color: var(--off-white);
}

.bg-beige {
  background-color: var(--beige);
}

.bg-dark {
  background-color: var(--elova-green-deeper);
  color: var(--text-inverse);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--text-inverse);
}

.bg-dark .body-lead,
.bg-dark p {
  color: var(--text-inverse-muted);
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--elova-green);
  color: var(--off-white);
  border: 1px solid var(--elova-green);
}

.btn-primary:hover {
  background-color: var(--elova-green-dark);
  border-color: var(--elova-green-dark);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary {
  background-color: transparent;
  color: var(--elova-green);
  border: 1px solid var(--elova-green-border);
}

.btn-secondary:hover {
  border-color: var(--elova-green);
  background-color: var(--elova-green-tint);
}

.btn-light {
  background-color: var(--off-white);
  color: var(--elova-green-deeper);
  border: 1px solid var(--off-white);
}

.btn-light:hover {
  background-color: var(--cream);
  border-color: var(--cream);
}

.btn-link {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--elova-green);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.btn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--header-height, 78px) !important;
  z-index: 1000 !important;
  background-color: rgba(250, 248, 245, 0.96) !important;
  background: rgba(250, 248, 245, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(19, 87, 45, 0.12) !important;
  box-shadow: 0 4px 20px rgba(19, 87, 45, 0.04) !important;
  transition: background-color 0.4s var(--ease-editorial),
    border-color 0.4s var(--ease-editorial),
    box-shadow 0.4s var(--ease-editorial),
    height 0.4s var(--ease-editorial) !important;
  display: flex !important;
  align-items: center !important;
}

.site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.98) !important;
  background: rgba(250, 248, 245, 0.98) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(19, 87, 45, 0.14) !important;
  box-shadow: 0 4px 24px rgba(19, 87, 45, 0.08) !important;
  height: 74px !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Nav Left Cluster (Desktop) */
.header-left-cluster {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex: 1;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--elova-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Animated Snack Jar Nav Icon (Shop) */
.nav-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  cursor: pointer;
}

.nav-shop-link::after {
  display: none;
}

.nav-jar-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  position: relative;
}

.nav-jar-svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  transition: transform 0.3s var(--ease-editorial);
}

.jar-cap {
  transform-origin: 18px 7.5px;
  transform: rotate(0deg) translate(0, 0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover: Cap opens with animated pop & tilt */
.nav-shop-link:hover .jar-cap {
  transform: rotate(-30deg) translate(-2.5px, -4.5px);
}

.nav-shop-text {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-shop-link:hover {
  color: var(--elova-green);
}

.nav-shop-link:hover .nav-shop-text {
  color: var(--elova-green);
}

.site-header.is-transparent .nav-shop-link:hover .nav-shop-text {
  color: #ffffff;
}

/* Nav Center (Official Logo) */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.brand-logo-link {
  display: inline-block;
  line-height: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, height 0.25s ease, transform var(--transition-fast);
}

.site-header.scrolled .brand-logo-img {
  height: 38px;
}

/* Nav Right (Actions) */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex: 1;
}

.nav-action-btn,
button.nav-action-btn,
a.nav-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  padding: 0.45rem 0.65rem !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: var(--radius-xs) !important;
  outline: none !important;
  box-shadow: none !important;
  line-height: normal !important;
  transition: all var(--transition-fast) !important;
  position: relative !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.nav-action-svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  transition: transform 0.25s ease, stroke 0.2s ease !important;
}

.nav-action-text {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: inherit !important;
  transition: color 0.2s ease !important;
}

.nav-action-btn:hover,
.nav-action-btn:focus,
button.nav-action-btn:hover,
button.nav-action-btn:focus,
a.nav-action-btn:hover,
a.nav-action-btn:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--elova-green, #13572d) !important;
}

.nav-action-btn:hover .nav-action-text,
button.nav-action-btn:hover .nav-action-text {
  color: var(--elova-green, #13572d) !important;
}

.nav-action-btn:hover .nav-action-svg,
button.nav-action-btn:hover .nav-action-svg {
  stroke: var(--elova-green, #13572d) !important;
  color: var(--elova-green, #13572d) !important;
  transform: translateY(-1px) scale(1.08) !important;
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--elova-green);
  color: var(--off-white);
  font-size: 0.6875rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  padding: 0 4px;
  margin-left: 2px;
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  opacity: 1;
  visibility: visible;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .mobile-toggle-btn {
    display: flex !important;
  }
}

.hamburger-bar {
  display: block !important;
  width: 22px !important;
  height: 2.4px !important;
  min-height: 2.4px !important;
  background-color: var(--elova-green, #13572d) !important;
  border-radius: 2px !important;
  margin: 2.2px 0 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-toggle-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg) !important;
}

.mobile-toggle-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

.mobile-toggle-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg) !important;
}

/* --------------------------------------------------------------------------
   7. Fullscreen Mobile Navigation
   -------------------------------------------------------------------------- */
.mobile-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  background-color: #faf8f5 !important;
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 1.25rem var(--container-padding) 2.5rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.35s var(--ease-editorial), visibility 0.35s !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.mobile-menu-overlay:not(.is-open),
.mobile-menu-overlay:not(.is-open) * {
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-menu-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile Menu Header Top Bar with Brand Logo and Dedicated Close Button */
.mobile-menu-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(19, 87, 45, 0.12) !important;
  margin-bottom: 2rem !important;
  flex-shrink: 0 !important;
  position: sticky !important;
  top: 0 !important;
  background-color: #faf8f5 !important;
  z-index: 10 !important;
}

.mobile-menu-brand {
  display: inline-flex !important;
  align-items: center !important;
}

.mobile-menu-logo-img {
  height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}

.mobile-menu-close-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1.15rem !important;
  min-height: 40px !important;
  background: #13572d !important;
  background-color: #13572d !important;
  border: 1.5px solid #13572d !important;
  border-radius: var(--radius-pill) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(19, 87, 45, 0.28) !important;
  transition: all var(--transition-fast) !important;
  flex-shrink: 0 !important;
}

.mobile-menu-close-btn:hover,
.mobile-menu-close-btn:focus {
  background: #0e3f21 !important;
  background-color: #0e3f21 !important;
  color: #ffffff !important;
  border-color: #0e3f21 !important;
  transform: scale(1.04) !important;
  box-shadow: 0 6px 18px rgba(14, 63, 33, 0.38) !important;
}

.mobile-menu-close-btn .mobile-menu-close-svg {
  stroke: #ffffff !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.mobile-menu-close-btn:hover .mobile-menu-close-svg,
.mobile-menu-close-btn:focus .mobile-menu-close-svg {
  stroke: #ffffff !important;
  transform: rotate(90deg) !important;
}

.mobile-menu-close-btn .mobile-menu-close-text {
  color: #ffffff !important;
}

.mobile-menu-close-text {
  font-family: var(--font-sans) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: inherit !important;
}

.mobile-menu-close-svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.mobile-nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.mobile-nav-links .mobile-nav-item,
.mobile-nav-item {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #1a221d !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  opacity: 1 !important;
  visibility: inherit !important;
  text-decoration: none !important;
  transition: transform 0.3s var(--ease-editorial), color 0.3s !important;
}

.mobile-nav-links .mobile-nav-item svg,
.mobile-nav-item svg {
  stroke: #1a221d !important;
  color: #1a221d !important;
  transition: stroke 0.3s ease !important;
}

.mobile-nav-links .mobile-nav-item:hover,
.mobile-nav-links .mobile-nav-item:focus,
.mobile-nav-item:hover,
.mobile-nav-item:focus {
  color: var(--elova-green, #13572d) !important;
  transform: translateX(8px) !important;
}

.mobile-nav-links .mobile-nav-item:hover svg,
.mobile-nav-links .mobile-nav-item:focus svg,
.mobile-nav-item:hover svg,
.mobile-nav-item:focus svg {
  stroke: var(--elova-green, #13572d) !important;
  color: var(--elova-green, #13572d) !important;
}

.mobile-nav-item.nav-shop-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.mobile-nav-item.nav-shop-link .nav-jar-wrapper {
  width: clamp(28px, 6vw, 38px) !important;
  height: clamp(28px, 6vw, 38px) !important;
}

.mobile-nav-item.nav-shop-link .nav-jar-svg {
  width: clamp(28px, 6vw, 38px) !important;
  height: clamp(28px, 6vw, 38px) !important;
}

.mobile-nav-item.nav-shop-link:hover .jar-cap {
  transform: rotate(-30deg) translate(-3px, -5px) !important;
}

.mobile-nav-item.mobile-nav-account {
  display: inline-flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.mobile-nav-account-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(24px, 5vw, 32px) !important;
  height: clamp(24px, 5vw, 32px) !important;
  color: inherit !important;
}

.mobile-nav-account-svg {
  width: 100% !important;
  height: 100% !important;
}

.mobile-menu-footer {
  border-top: 1px solid rgba(19, 87, 45, 0.12) !important;
  padding-top: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}

.mobile-menu-tagline {
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  color: var(--elova-green, #13572d) !important;
}

.mobile-social-links {
  display: flex !important;
  gap: 1.5rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.mobile-social-links a {
  color: var(--text-secondary, #535e57) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.mobile-social-links a:hover,
.mobile-social-links a:focus {
  color: var(--elova-green, #13572d) !important;
}

/* --------------------------------------------------------------------------
   8. Search Overlay Modal
   -------------------------------------------------------------------------- */
html.search-modal-locked,
body.search-modal-locked {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
}

.search-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(10, 35, 20, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(1rem, 3.5vh, 2.5rem) 1.25rem !important;
  box-sizing: border-box !important;
  overscroll-behavior: contain !important;
}

.search-modal-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.search-modal-content {
  background-color: var(--off-white, #faf8f5) !important;
  width: 100% !important;
  max-width: 780px !important;
  border-radius: 18px !important;
  padding: 2.25rem 2.25rem 2rem 2.25rem !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-16px) scale(0.98) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  position: relative !important;
  max-height: 86vh !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(197, 160, 89, 0.3) !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

.search-modal-backdrop.is-open .search-modal-content {
  transform: translateY(0) scale(1) !important;
}

.search-close-btn {
  position: absolute !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  background: #13572d !important;
  background-color: #13572d !important;
  border: 1.5px solid #13572d !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(19, 87, 45, 0.3) !important;
  transition: all var(--transition-fast) !important;
  z-index: 100 !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.search-close-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
  transition: transform 0.25s ease !important;
}

.search-close-btn svg line {
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
}

.search-close-btn:hover,
.search-close-btn:focus {
  background: #0e3f21 !important;
  background-color: #0e3f21 !important;
  color: #ffffff !important;
  border-color: #0e3f21 !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(14, 63, 33, 0.4) !important;
}

.search-close-btn:hover svg,
.search-close-btn:focus svg,
.search-close-btn:hover svg line,
.search-close-btn:focus svg line {
  stroke: #ffffff !important;
}

.search-close-btn *,
.mobile-menu-close-btn *,
.cart-drawer-close-btn * {
  pointer-events: none !important;
}

.search-modal-header {
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.search-modal-header .eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c5a059;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.search-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  margin: 0;
  line-height: 1.2;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(19, 87, 45, 0.25);
  border-radius: 12px;
  padding: 0.45rem 0.85rem 0.45rem 1rem;
  box-shadow: 0 4px 16px rgba(19, 87, 45, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1.2rem;
}

.search-input-wrapper:focus-within {
  border-color: var(--elova-green, #13572d);
  box-shadow: 0 6px 22px rgba(19, 87, 45, 0.12);
}

.search-input-icon {
  display: flex;
  align-items: center;
  color: var(--elova-green, #13572d);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Comprehensive reset to eradicate any Astra/browser input border or box */
.search-input-wrapper input[type="text"],
.search-input-wrapper input,
.search-modal-content input[type="text"],
.search-modal-content input,
input[type="text"].search-input-field,
input.search-input-field {
  width: 100% !important;
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem) !important;
  color: var(--text-primary, #1a221d) !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  line-height: normal !important;
}

.search-input-wrapper input[type="text"]:focus,
.search-input-wrapper input:focus,
.search-modal-content input[type="text"]:focus,
.search-modal-content input:focus,
input[type="text"].search-input-field:focus,
input.search-input-field:focus {
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.search-input-field::placeholder {
  color: var(--text-muted, #8a968f) !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
}

.search-clear-btn {
  border: none;
  background: rgba(0, 0, 0, 0.07);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #535e57);
  cursor: pointer;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-clear-btn:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #1a221d;
}

/* Suggestion Chips Box */
.search-suggestions-box {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.search-suggestions-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-secondary, #535e57);
  margin-bottom: 0.55rem;
}

.search-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: rgba(19, 87, 45, 0.07);
  color: var(--elova-green, #13572d);
  border: 1px solid rgba(19, 87, 45, 0.15);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1.3;
}

.search-chip:hover {
  background: var(--elova-green, #13572d);
  color: #ffffff;
  border-color: var(--elova-green, #13572d);
  transform: translateY(-1px);
}

/* Results Container */
.search-results-container {
  overflow-y: visible !important;
  max-height: none !important;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overscroll-behavior: contain;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary, #535e57);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.25rem 0.25rem 0.25rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-result-item:hover {
  border-color: rgba(19, 87, 45, 0.35);
  box-shadow: 0 4px 18px rgba(19, 87, 45, 0.09);
  transform: translateX(3px);
}

.search-result-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.search-result-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: contain;
  background-color: #faf8f5;
  padding: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary, #535e57);
}

.search-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(19, 87, 45, 0.08);
  color: var(--elova-green, #13572d);
}

.search-badge-ingredient {
  background: rgba(197, 160, 89, 0.15);
  color: #7d5918;
}

.search-ingredient-hint {
  display: block;
  font-size: 0.75rem;
  color: #7d5918;
  margin-top: 0.2rem;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.search-result-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--elova-green, #13572d);
  white-space: nowrap;
}

.search-quick-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  background: var(--elova-green, #13572d);
  color: #ffffff !important;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.search-quick-add-btn:hover {
  background: var(--elova-dark-green, #0e3f21);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .search-modal-content {
    padding: 1.5rem 1.25rem !important;
    max-height: 92vh !important;
  }

  .search-result-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }

  .search-quick-add-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   9. Cart Drawer
   -------------------------------------------------------------------------- */
.cart-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(8, 36, 19, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

.cart-drawer-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-drawer-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 440px !important;
  background-color: var(--off-white, #faf8f5) !important;
  z-index: 100000 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.22) !important;
  transform: translateX(100%) !important;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
}

.cart-drawer-backdrop.is-open .cart-drawer-panel {
  transform: translateX(0) !important;
}

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

.cart-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.cart-drawer-count {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-drawer-header [data-action="close-cart"],
.cart-drawer-close-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  background: #13572d !important;
  background-color: #13572d !important;
  border: 1.5px solid #13572d !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(19, 87, 45, 0.3) !important;
  transition: all var(--transition-fast) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.cart-drawer-header [data-action="close-cart"] svg,
.cart-drawer-close-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
  transition: transform 0.25s ease !important;
}

.cart-drawer-header [data-action="close-cart"] svg line,
.cart-drawer-close-btn svg line {
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
}

.cart-drawer-header [data-action="close-cart"]:hover,
.cart-drawer-header [data-action="close-cart"]:focus,
.cart-drawer-close-btn:hover,
.cart-drawer-close-btn:focus {
  background: #0e3f21 !important;
  background-color: #0e3f21 !important;
  border-color: #0e3f21 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(14, 63, 33, 0.4) !important;
}

.cart-drawer-header [data-action="close-cart"]:hover svg,
.cart-drawer-header [data-action="close-cart"]:focus svg,
.cart-drawer-header [data-action="close-cart"]:hover svg line,
.cart-drawer-header [data-action="close-cart"]:focus svg line,
.cart-drawer-close-btn:hover svg,
.cart-drawer-close-btn:focus svg,
.cart-drawer-close-btn:hover svg line,
.cart-drawer-close-btn:focus svg line {
  stroke: #ffffff !important;
}

.cart-shipping-notice {
  background-color: var(--cream);
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.shipping-progress-bar {
  width: 100%;
  height: 3px;
  background-color: var(--beige);
  margin-top: 0.5rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background-color: var(--elova-green);
  transition: width 0.3s ease;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item-row {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

.cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background-color: var(--beige);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--elova-green);
}

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

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--cream);
  color: var(--text-primary);
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.cart-item-remove-btn {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cart-item-remove-btn:hover {
  color: #ba2828;
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 1.25rem;
  padding: 2rem;
}

.cart-drawer-footer {
  padding: 1.75rem 2rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--cream-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.cart-subtotal-val {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--elova-green);
}

/* --------------------------------------------------------------------------
   10. Product Cards
   -------------------------------------------------------------------------- */
.product-card {
  position: relative;
  background-color: var(--off-white);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--cream);
  overflow: hidden;
  border-radius: var(--radius-xs);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-editorial);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--off-white);
  color: var(--elova-green);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  z-index: 2;
}

.product-wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  z-index: 2;
}

.product-wishlist-btn:hover {
  background-color: var(--off-white);
  color: #b83535;
  transform: scale(1.08);
}

.product-wishlist-btn.is-active {
  color: #b83535;
}

.product-quick-add-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--off-white);
  color: var(--elova-green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s var(--ease-editorial);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.product-card:hover .product-quick-add-btn {
  transform: translateY(0);
  opacity: 1;
}

.product-quick-add-btn:hover {
  background-color: var(--elova-green);
  color: var(--off-white);
}

.product-info-wrap {
  padding: 1.25rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-category-label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.product-title a:hover {
  color: var(--elova-green);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-rating svg {
  fill: var(--color-gold);
  color: var(--color-gold);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.product-price {
  font-weight: 600;
  color: var(--elova-green-dark);
  font-size: 1.05rem;
}

.product-compare-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   11. Editorial Category Tiles
   -------------------------------------------------------------------------- */
.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  aspect-ratio: 4 / 5;
  background-color: var(--cream);
  display: block;
}

.category-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-editorial);
}

.category-tile:hover .category-tile-image {
  transform: scale(1.06);
}

.category-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 19, 0.05) 0%, rgba(8, 36, 19, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 2rem;
  color: var(--off-white);
  transition: background 0.4s ease;
}

.category-tile:hover .category-tile-overlay {
  background: linear-gradient(180deg, rgba(8, 36, 19, 0.1) 0%, rgba(8, 36, 19, 0.78) 100%);
}

.category-tile-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 0.4rem;
}

.category-tile-desc {
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-tile-arrow {
  transition: transform var(--transition-fast);
}

.category-tile:hover .category-tile-arrow {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   12. Preloader Loading Screen
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--off-white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.7s var(--ease-editorial), visibility 0.7s;
}

.preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 52px;
  width: auto;
  opacity: 0;
  transform: translateY(16px);
  animation: preloaderReveal 0.9s var(--ease-editorial) 0.2s forwards;
}

.preloader-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--elova-green);
  opacity: 0;
  transform: translateY(12px);
  animation: preloaderReveal 0.9s var(--ease-editorial) 0.4s forwards;
}

@keyframes preloaderReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--elova-green-deeper);
  color: var(--off-white);
  padding: clamp(2.75rem, 4.5vw, 3.5rem) 0 1.5rem;
  border-top: 1px solid rgba(250, 248, 245, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer img.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  /* Crisp pure white on deep green */
  align-self: flex-start;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-inverse-muted);
}

.footer-address {
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-inverse-muted);
}

.footer-contacts {
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contacts a:hover {
  color: var(--off-white);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-link {
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--off-white);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.35rem;
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--off-white);
}

/* ==========================================================================
   16. ELOVA EDITORIAL CATEGORY & SUBCATEGORY EXPERIENCE
   ========================================================================== */

/* Subtle Tonal Category Backgrounds */
.tonal-vegetable {
  background: linear-gradient(180deg, rgba(19, 87, 45, 0.05) 0%, var(--off-white) 100%);
}

.tonal-fruit {
  background: linear-gradient(180deg, rgba(224, 182, 140, 0.12) 0%, var(--off-white) 100%);
}

.tonal-protein {
  background: linear-gradient(180deg, rgba(82, 120, 95, 0.09) 0%, var(--off-white) 100%);
}

.tonal-mixes {
  background: linear-gradient(180deg, rgba(178, 160, 143, 0.12) 0%, var(--off-white) 100%);
}

.tonal-millet {
  background: linear-gradient(180deg, rgba(209, 191, 163, 0.14) 0%, var(--off-white) 100%);
}

.tonal-corn {
  background: linear-gradient(180deg, rgba(228, 205, 145, 0.12) 0%, var(--off-white) 100%);
}

.tonal-wellness {
  background: linear-gradient(180deg, rgba(215, 185, 155, 0.12) 0%, var(--off-white) 100%);
}

/* Minimal Horizontal Category Navigation Bar */
.category-nav-bar-wrapper {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--off-white);
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  transition: all var(--transition-normal);
}

.category-nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: 1.1rem 0;
  position: relative;
}

.category-nav-bar::-webkit-scrollbar {
  display: none;
}

.category-nav-bar .category-nav-item,
button.category-nav-item {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: #4a5568 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1.15rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  position: relative !important;
  box-shadow: none !important;
  outline: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-nav-bar .category-nav-item:hover,
button.category-nav-item:hover {
  background: rgba(19, 87, 45, 0.09) !important;
  background-color: rgba(19, 87, 45, 0.09) !important;
  color: #13572d !important;
  border-color: rgba(19, 87, 45, 0.16) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.category-nav-bar .category-nav-item.active,
button.category-nav-item.active {
  background: #13572d !important;
  background-color: #13572d !important;
  color: #ffffff !important;
  border-color: #13572d !important;
  box-shadow: 0 4px 14px rgba(19, 87, 45, 0.25) !important;
  transform: none;
}

.category-nav-bar .category-nav-item.active:hover,
button.category-nav-item.active:hover {
  background: #0f4825 !important;
  background-color: #0f4825 !important;
  color: #ffffff !important;
  border-color: #0f4825 !important;
}

.category-nav-item::after {
  display: none !important;
}

/* Editorial Category Hero Section */
.category-hero-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--transition-slow);
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.category-hero-text {
  display: flex;
  flex-direction: column;
}

.category-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--elova-green);
  margin-bottom: 1rem;
}

.category-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 1.05;
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.category-hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  color: var(--elova-green-dark);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.category-hero-desc {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}

.category-hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
}

.category-meta-subcat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--elova-green);
}

.category-meta-count {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.category-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  background-color: var(--cream);
}

.category-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-editorial);
}

.category-hero-section:hover .category-hero-image {
  transform: scale(1.03);
}

/* ==========================================================================
   SCALABLE EDITORIAL CHAPTERS SHOWCASE
   (Inspired by Fine Art Dual-Split Aesthetic with Infinite Scalability)
   ========================================================================== */
.chapters-showcase-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 8.5vw, 7.5rem);
  position: relative;
  overflow: hidden;
  background-color: var(--off-white);
  border-top: 1px solid var(--color-border-subtle);
}

.chapters-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.chapters-header-left {
  max-width: 680px;
}

.chapters-header-controls {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

/* Luxury Editorial Counter (01 / 07) */
.chapters-counter-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-serif);
  line-height: 1;
}

.chapters-current-num {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  color: var(--elova-green);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 2ch;
  display: inline-block;
  text-align: right;
}

.chapters-counter-divider {
  font-size: 1.25rem;
  color: var(--color-border);
  font-weight: 300;
  margin: 0 0.15rem;
}

.chapters-total-num {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Round Navigation Arrows */
.chapters-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chapters-arrow-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  color: var(--elova-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(14, 63, 33, 0.06);
  padding: 0;
  outline: none;
}

.chapters-arrow-btn:hover:not(:disabled) {
  background: var(--elova-green);
  color: #ffffff;
  border-color: var(--elova-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 63, 33, 0.22);
}

.chapters-arrow-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.chapters-arrow-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  border-color: var(--color-border);
  background: #f7f6f0;
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
}

.chapters-arrow-btn svg,
.chapters-arrow-btn i {
  stroke-width: 2.2px;
  transition: transform 0.25s ease;
}

.chapters-prev-btn:hover:not(:disabled) svg,
.chapters-prev-btn:hover:not(:disabled) i {
  transform: translateX(-2px);
}

.chapters-next-btn:hover:not(:disabled) svg,
.chapters-next-btn:hover:not(:disabled) i {
  transform: translateX(2px);
}

/* Chapters Carousel Container & Track */
.chapters-carousel-container {
  position: relative;
  width: 100%;
}

.chapters-track {
  display: flex;
  gap: clamp(1.5rem, 2.4vw, 2.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-top: 1rem;
  padding-bottom: 2.25rem;
  padding-left: calc((100vw - min(100vw, var(--container-max))) / 2 + var(--container-padding));
  padding-right: calc((100vw - min(100vw, var(--container-max))) / 2 + var(--container-padding));
  margin: 0;
  user-select: none;
  cursor: grab;
}

.chapters-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.chapters-track::-webkit-scrollbar {
  display: none;
}

/* Chapter Card — Grand Editorial Luxury Fine Art Card */
.chapter-card {
  flex: 0 0 clamp(330px, 31vw, 430px);
  height: clamp(560px, 58vh, 640px);
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.25rem, 3.5vw, 3rem) clamp(2rem, 2.8vw, 2.5rem);
  scroll-snap-align: start;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(14, 63, 33, 0.12);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #0d3b1f;
  /* ELOVA Signature Prestige Forest Green */
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chapter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 68px rgba(14, 63, 33, 0.28);
}

/* Idle State: Botanical Art & Watermark on Solid Green */
.chapter-card-idle-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(35, 96, 56, 0.5) 0%, rgba(13, 59, 31, 0.98) 75%);
}

.chapter-card-num-watermark {
  position: absolute;
  right: -0.15ch;
  bottom: 0.08ch;
  font-family: var(--font-serif);
  font-size: clamp(10rem, 16vw, 15rem);
  font-weight: 300;
  line-height: 0.8;
  color: #f7eed2;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
  font-style: italic;
}

.chapter-card-botanical-svg {
  position: absolute;
  right: 1.5rem;
  top: 4.5rem;
  width: clamp(130px, 15vw, 180px);
  height: auto;
  color: #f7eed2;
  opacity: 0.2;
  stroke: currentColor;
  transform: rotate(-5deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.chapter-card:hover .chapter-card-botanical-svg,
.chapter-card:focus-within .chapter-card-botanical-svg,
.chapter-card.is-revealed .chapter-card-botanical-svg,
.chapter-card.is-active .chapter-card-botanical-svg {
  transform: rotate(0deg) scale(1.05);
  opacity: 0.1;
}

/* Slide-in Photography Media Layer on Hover (Desktop) & Front Active Card (Mobile/Tablet) */
.chapter-card-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    visibility 0.45s ease;
  will-change: transform, opacity;
}

.chapter-card:hover .chapter-card-media-layer,
.chapter-card:focus-within .chapter-card-media-layer,
.chapter-card.is-revealed .chapter-card-media-layer,
.chapter-card.is-active .chapter-card-media-layer {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.chapter-card-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transform: scale(1.1);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.chapter-card:hover .chapter-card-bg,
.chapter-card:focus-within .chapter-card-bg,
.chapter-card.is-revealed .chapter-card-bg,
.chapter-card.is-active .chapter-card-bg {
  transform: scale(1.04) !important;
}

.chapter-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 30, 16, 0.45) 0%, rgba(8, 30, 16, 0.1) 34%, rgba(4, 20, 10, 0.88) 100%);
}

/* Card Top Bar */
.chapter-card-top {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chapter-card-num-badge {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.chapter-card-count-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7eed2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Card Bottom Content */
.chapter-card-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.chapter-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f7eed2;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.chapter-card-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.1vw, 2.85rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fffaf0;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.01em;
}

.chapter-card-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.88);
  margin-bottom: 1.85rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  font-weight: 300;
  max-width: 92%;
}

/* Signature Pill CTA Button (Matches .split-card-pill-btn) */
.chapter-card-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #1a2e24;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid #ffffff;
}

.chapter-card:hover .chapter-card-pill-btn,
.chapter-card:focus-within .chapter-card-pill-btn,
.chapter-card.is-revealed .chapter-card-pill-btn,
.chapter-card.is-active .chapter-card-pill-btn {
  background-color: #f5f6ea;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.38);
}

.chapter-pill-arrow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter-card:hover .chapter-pill-arrow,
.chapter-card:focus-within .chapter-pill-arrow,
.chapter-card.is-revealed .chapter-pill-arrow,
.chapter-card.is-active .chapter-pill-arrow {
  transform: translateX(5px);
}

/* Progress Tracker */
.chapters-track-progress {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.chapters-progress-line {
  flex: 1;
  height: 3px;
  background: rgba(14, 63, 33, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.chapters-progress-fill {
  height: 100%;
  background: var(--elova-green);
  border-radius: 999px;
  transition: width 0.25s ease-out;
  min-width: 14%;
}

.chapters-drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 868px) {
  .chapters-showcase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .chapters-header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .chapter-card {
    flex: 0 0 clamp(290px, 65vw, 340px);
    height: 500px;
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 560px) {
  .chapter-card {
    flex: 0 0 calc(100vw - 3rem);
    height: 480px;
    padding: 1.75rem 1.5rem;
  }

  .chapter-card-title {
    font-size: 1.85rem;
  }

  .chapters-drag-hint {
    display: none;
  }
}

/* Minimal Subcategory Header & Toolbar */
.subcategory-editorial-header {
  padding: 2.5rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.subcat-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.subcat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--elova-green);
}

.subcat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Refined Minimal Filter & Sort Toolbar */
.editorial-toolbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.editorial-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.editorial-filter-btn:hover {
  color: var(--elova-green);
  border-bottom-color: var(--elova-green);
}

.editorial-sort-select {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.8rem 0.45rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--off-white);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2313572d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  transition: border-color var(--transition-fast);
}

.editorial-sort-select:hover {
  border-color: var(--elova-green);
}

/* Minimal Luxury Product Cards */
.minimal-product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  transition: transform 0.45s var(--ease-editorial);
}

.minimal-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #f7f4ee;
  background: radial-gradient(circle at center, #ffffff 35%, #f2ede4 100%);
  overflow: hidden;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minimal-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
  transition: transform 0.5s var(--ease-editorial), filter 0.5s ease;
}

.minimal-product-card:hover .minimal-card-media img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.minimal-card-quick-add,
button.minimal-card-quick-add,
.minimal-product-card .minimal-card-quick-add {
  position: absolute !important;
  bottom: 0.85rem !important;
  right: 0.85rem !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(19, 87, 45, 0.18) !important;
  background: rgba(250, 248, 245, 0.96) !important;
  background-color: rgba(250, 248, 245, 0.96) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #13572d !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  z-index: 3 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  outline: none !important;
}

.minimal-card-quick-add:hover,
.minimal-card-quick-add:focus,
button.minimal-card-quick-add:hover,
button.minimal-card-quick-add:focus,
.minimal-product-card .minimal-card-quick-add:hover,
.minimal-product-card .minimal-card-quick-add:focus {
  background: #13572d !important;
  background-color: #13572d !important;
  border-color: #13572d !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 18px rgba(19, 87, 45, 0.35) !important;
}

.minimal-card-quick-add svg,
.minimal-card-quick-add [data-lucide],
.minimal-card-quick-add i,
button.minimal-card-quick-add svg,
button.minimal-card-quick-add [data-lucide],
button.minimal-card-quick-add i {
  width: 18px !important;
  height: 18px !important;
  stroke: #13572d !important;
  color: #13572d !important;
  fill: none !important;
  display: block !important;
  margin: auto !important;
  pointer-events: none !important;
  transition: transform 0.25s ease, stroke 0.2s ease !important;
}

.minimal-card-quick-add:hover svg,
.minimal-card-quick-add:hover [data-lucide],
.minimal-card-quick-add:hover i,
.minimal-card-quick-add:focus svg,
.minimal-card-quick-add:focus [data-lucide],
.minimal-card-quick-add:focus i,
button.minimal-card-quick-add:hover svg,
button.minimal-card-quick-add:hover [data-lucide],
button.minimal-card-quick-add:hover i,
button.minimal-card-quick-add:focus svg,
button.minimal-card-quick-add:focus [data-lucide],
button.minimal-card-quick-add:focus i {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.minimal-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.minimal-card-subcat {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.minimal-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.minimal-card-title a:hover {
  color: var(--elova-green);
}

.minimal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
}

.minimal-card-price {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--elova-green);
}

.minimal-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.minimal-card-link svg {
  transition: transform 0.3s var(--ease-editorial);
}

.minimal-product-card:hover .minimal-card-link {
  color: var(--elova-green);
}

.minimal-product-card:hover .minimal-card-link svg {
  transform: translateX(4px);
}

/* Minimal Filter Drawer / Slide-Over */
.filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 36, 19, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.filter-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background-color: var(--off-white);
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}

.filter-drawer-backdrop.is-open .filter-drawer-panel {
  transform: translateX(0);
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.filter-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--elova-green);
  margin-bottom: 1rem;
}

.filter-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip-btn {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background-color: var(--cream);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip-btn:hover,
.filter-chip-btn.is-active {
  background-color: var(--elova-green);
  border-color: var(--elova-green);
  color: var(--off-white);
}

/* ==========================================
   Floating Cursor Category Preview (Desktop)
   ========================================== */
.floating-category-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  will-change: transform, opacity;
}

.floating-category-preview.is-visible {
  opacity: 1;
  transform: scale(1);
}

.floating-category-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Accordion Category Experience */
.mobile-category-accordion-wrap {
  display: none;
}

@media (max-width: 900px) {
  .floating-category-preview {
    display: none !important;
  }

  .category-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-hero-media {
    aspect-ratio: 16 / 9;
    order: -1;
  }

}

@media (max-width: 640px) {
  .mobile-category-accordion-wrap {
    display: block;
    margin-bottom: 2.5rem;
  }

  .category-accordion-item {
    border-bottom: 1px solid var(--color-border);
  }

  .category-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
  }

  .category-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-editorial), padding 0.3s ease;
  }

  .category-accordion-item.is-open .category-accordion-body {
    max-height: 1200px;
    padding-bottom: 1.5rem;
  }
}

/* ==========================================================================
   17. CINEMATIC FULL-SCREEN WATERFALL HERO SECTION
   ========================================================================== */
.cinematic-hero-section {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--elova-green-deeper);
}

.cinematic-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}

/* Subtle localized vignette: keeps video natural, vivid & 90%+ visible */
.cinematic-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.16) 75%,
      rgba(0, 0, 0, 0.32) 100%);
  box-shadow: inset 0 70px 90px -30px rgba(0, 0, 0, 0.28),
    inset 0 -70px 90px -30px rgba(0, 0, 0, 0.32);
}

.cinematic-hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--header-height) + 1.25rem) var(--container-padding) clamp(1.5rem, 3.2vh, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.cinematic-hero-container a,
.cinematic-hero-container button {
  pointer-events: auto;
}

/* Top Row: Left Editorial & Right Icons */
.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

/* Left Editorial Typography */
.hero-editorial-left {
  max-width: 340px;
}

.hero-editorial-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.4rem;
}

.hero-editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.hero-editorial-divider {
  width: 32px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

/* Minimal 3-Icon Group (Top Right) - Transparent BG & Reduced Gap */
.hero-icon-group {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.25vw, 1.25rem);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.hero-icon-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-icon-svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6px;
}

.hero-icon-label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* Bottom Area Layout: 3-column balanced grid */
.hero-bottom-area {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  width: 100%;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.hero-bottom-left {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-bottom-statement {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.hero-bottom-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 1.8vh, 1.25rem);
}

.hero-ghost-cta-wrap {
  display: flex;
  justify-content: center;
}

/* Transparent ELOVA Shop Button */
.hero-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.35s var(--ease-editorial);
  text-decoration: none;
}

.hero-ghost-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-editorial);
}

.hero-ghost-btn:hover {
  background-color: #ffffff;
  color: var(--elova-green-deeper);
  border-color: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-ghost-btn:hover .hero-ghost-arrow {
  transform: translateX(4px);
}

/* Animated Scroll to Explore */
.hero-scroll-explore {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
  padding: 0.25rem;
}

.hero-scroll-explore:hover {
  transform: translateY(2px);
}

.scroll-explore-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transition: color 0.3s ease;
}

.hero-scroll-explore:hover .scroll-explore-text {
  color: #ffffff;
}

.scroll-explore-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease;
}

.hero-scroll-explore:hover .scroll-explore-mouse {
  border-color: #ffffff;
}

.scroll-explore-wheel {
  width: 2.5px;
  height: 5px;
  background-color: #ffffff;
  border-radius: 2px;
  animation: scrollWheelPulse 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheelPulse {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.scroll-explore-arrow {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.85);
  animation: scrollChevronBounce 2s ease-in-out infinite;
  margin-top: -2px;
  transition: color 0.3s ease;
}

.hero-scroll-explore:hover .scroll-explore-arrow {
  color: #ffffff;
}

@keyframes scrollChevronBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

/* Right Editorial Script Message in Bottom Right Corner */
.hero-bottom-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-editorial-script-box {
  text-align: right;
  max-width: 320px;
}

.hero-editorial-script {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.35rem;
}

.hero-script-underline {
  width: 42px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
}

/* Transparent Header Styling Over Hero (Preserves Brand Forest Green on Light Hero Rotator) */
.site-header.is-transparent {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.site-header.is-transparent .brand-logo-img {
  filter: none !important;
  opacity: 1 !important;
}

.site-header.is-transparent .nav-link,
.site-header.is-transparent .nav-shop-text {
  color: var(--text-primary, #1a221d) !important;
  text-shadow: none !important;
}

.site-header.is-transparent .nav-jar-svg {
  stroke: var(--text-primary, #1a221d) !important;
}

.site-header.is-transparent .nav-link::after {
  background-color: var(--elova-green, #13572d) !important;
}

.site-header.is-transparent .nav-action-btn,
.site-header.is-transparent .nav-action-text {
  color: var(--text-primary, #1a221d) !important;
  text-shadow: none !important;
}

.site-header.is-transparent .nav-action-svg {
  stroke: var(--text-primary, #1a221d) !important;
}

.site-header.is-transparent .hamburger-bar {
  background-color: var(--text-primary, #1a221d) !important;
}

/* Dark Hero / Video overlay fallback if dark background is present */
.site-header.is-transparent.is-dark-hero .brand-logo-img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.96 !important;
}

.site-header.is-transparent.is-dark-hero .nav-link,
.site-header.is-transparent.is-dark-hero .nav-shop-text,
.site-header.is-transparent.is-dark-hero .nav-action-btn,
.site-header.is-transparent.is-dark-hero .nav-action-text {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.site-header.is-transparent.is-dark-hero .nav-jar-svg,
.site-header.is-transparent.is-dark-hero .nav-action-svg {
  stroke: #ffffff !important;
}

.site-header.is-transparent.is-dark-hero .hamburger-bar {
  background-color: #ffffff !important;
}

/* Translucent / Scrolled Header (Background solidifies, Logo & Links turn Green) */
.site-header.scrolling-translucent,
.site-header.scrolled,
.site-header:not(.is-transparent) {
  background-color: #faf8f5 !important;
  background: rgba(250, 248, 245, 0.98) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(19, 87, 45, 0.12) !important;
  box-shadow: 0 4px 22px rgba(19, 87, 45, 0.08) !important;
  height: 74px !important;
}

.site-header.scrolling-translucent .brand-logo-img,
.site-header.scrolled .brand-logo-img,
.site-header:not(.is-transparent) .brand-logo-img {
  filter: none !important;
  opacity: 1 !important;
  height: 38px;
  transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, height 0.25s ease, transform var(--transition-fast);
}

.site-header.scrolling-translucent .nav-link,
.site-header.scrolled .nav-link,
.site-header.scrolling-translucent .nav-shop-link,
.site-header.scrolled .nav-shop-link,
.site-header.scrolling-translucent .nav-shop-text,
.site-header.scrolled .nav-shop-text,
.site-header:not(.is-transparent) .nav-link,
.site-header:not(.is-transparent) .nav-shop-link,
.site-header:not(.is-transparent) .nav-shop-text {
  color: var(--elova-green) !important;
  text-shadow: none !important;
}

.site-header.scrolling-translucent .nav-jar-svg,
.site-header.scrolled .nav-jar-svg,
.site-header:not(.is-transparent) .nav-jar-svg {
  stroke: var(--elova-green) !important;
}

.site-header.scrolling-translucent .nav-link:hover,
.site-header.scrolled .nav-link:hover,
.site-header.scrolling-translucent .nav-shop-link:hover,
.site-header.scrolled .nav-shop-link:hover,
.site-header.scrolling-translucent .nav-shop-link:hover .nav-shop-text,
.site-header.scrolled .nav-shop-link:hover .nav-shop-text,
.site-header:not(.is-transparent) .nav-link:hover,
.site-header:not(.is-transparent) .nav-shop-link:hover,
.site-header:not(.is-transparent) .nav-shop-link:hover .nav-shop-text {
  color: var(--elova-green-dark) !important;
}

.site-header.scrolling-translucent .nav-shop-link:hover .nav-jar-svg,
.site-header.scrolled .nav-shop-link:hover .nav-jar-svg,
.site-header:not(.is-transparent) .nav-shop-link:hover .nav-jar-svg {
  stroke: var(--elova-green-dark) !important;
}

.site-header.scrolling-translucent .nav-link::after,
.site-header.scrolled .nav-link::after,
.site-header:not(.is-transparent) .nav-link::after {
  background-color: var(--elova-green) !important;
}

.site-header.scrolling-translucent .nav-action-btn,
.site-header.scrolled .nav-action-btn,
.site-header.scrolling-translucent .nav-action-text,
.site-header.scrolled .nav-action-text,
.site-header:not(.is-transparent) .nav-action-btn,
.site-header:not(.is-transparent) .nav-action-text {
  color: var(--elova-green) !important;
  text-shadow: none !important;
}

.site-header.scrolling-translucent .nav-action-svg,
.site-header.scrolled .nav-action-svg,
.site-header:not(.is-transparent) .nav-action-svg {
  stroke: var(--elova-green) !important;
}

.site-header.scrolling-translucent .nav-action-btn:hover,
.site-header.scrolled .nav-action-btn:hover,
.site-header.scrolling-translucent .nav-action-btn:hover .nav-action-text,
.site-header.scrolled .nav-action-btn:hover .nav-action-text,
.site-header:not(.is-transparent) .nav-action-btn:hover,
.site-header:not(.is-transparent) .nav-action-btn:hover .nav-action-text {
  color: var(--elova-green-dark) !important;
}

.site-header.scrolling-translucent .nav-action-btn:hover .nav-action-svg,
.site-header.scrolled .nav-action-btn:hover .nav-action-svg,
.site-header:not(.is-transparent) .nav-action-btn:hover .nav-action-svg {
  stroke: var(--elova-green-dark) !important;
}

.site-header.scrolling-translucent .hamburger-bar,
.site-header.scrolled .hamburger-bar,
.site-header:not(.is-transparent) .hamburger-bar {
  background-color: var(--elova-green) !important;
}

/* ==========================================================================
   CINEMATIC SCROLL-DRIVEN CRAFT STORY (FRAME-BY-FRAME CANVAS SEQUENCE)
   ========================================================================== */
.story-scroll-section {
  position: relative;
  width: 100%;
  background-color: #0b110e;
  z-index: 10;
}

.story-scroll-sticky {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* Vignette Contrast Shields */
.story-canvas-vignette {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.story-vignette-top {
  top: 0;
  height: 25%;
  background: linear-gradient(to bottom, rgba(11, 17, 14, 0.55) 0%, rgba(11, 17, 14, 0) 100%);
}

.story-vignette-bottom {
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 17, 14, 0.75) 0%, rgba(11, 17, 14, 0.3) 50%, rgba(11, 17, 14, 0) 100%);
}

/* Story Cards Overlay Container */
.story-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
}

/* Story Step Cards */
.story-step-card {
  position: absolute;
  bottom: clamp(2rem, 7vh, 4.5rem);
  left: clamp(1.5rem, 5vw, 4.5rem);
  max-width: 460px;
  width: calc(100% - 3rem);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.story-card-glass {
  pointer-events: auto;
  background: rgba(14, 20, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color var(--transition-fast);
}

.story-card-glass:hover {
  border-color: rgba(163, 217, 165, 0.3);
}

.story-card-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8be19f;
  margin-bottom: 0.75rem;
}

.story-card-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.story-card-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.82);
  margin-bottom: 1.25rem;
}

.story-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #f1f7f2;
  letter-spacing: 0.02em;
}

.story-badge-icon {
  width: 14px;
  height: 14px;
  color: #8be19f;
}

.story-card-cta {
  margin-top: 0.75rem;
}

.story-cta-btn {
  background-color: var(--off-white);
  color: var(--elova-green-deeper);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.story-cta-btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  color: var(--elova-green-dark);
}

/* Floating Chapter Tracker */
.story-tracker {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3.5rem);
  bottom: clamp(2rem, 7vh, 4.5rem);
  z-index: 6;
  background: rgba(14, 20, 16, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.story-tracker-header {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.story-current-chapter {
  color: #8be19f;
  font-weight: 700;
}

.story-tracker-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

.story-total-chapters {
  opacity: 0.6;
}

.story-scroll-progress-track {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.story-scroll-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #8be19f;
  transition: width 0.1s linear;
}

.story-indicator-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.story-indicator-item {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.story-indicator-item.is-active {
  background: #8be19f;
  transform: scale(1.3);
}

/* Initial Buffering Bar */
.story-loader {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.story-loader.is-hidden {
  opacity: 0;
}

.story-loader-bar {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.story-loader-fill {
  height: 100%;
  width: 5%;
  background: #8be19f;
  transition: width 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .story-step-card {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    max-width: none;
    width: auto;
  }

  .story-card-glass {
    padding: 1.25rem 1.35rem;
  }

  .story-card-heading {
    font-size: 1.5rem;
  }

  .story-card-desc {
    font-size: 0.8125rem;
    margin-bottom: 0.85rem;
  }

  .story-tracker {
    right: 1rem;
    bottom: 1.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }

  .story-scroll-progress-track {
    width: 36px;
  }
}

/* ==========================================================================
   LUXURY SPLIT BOTANICAL HERO & EDITORIAL SHOWCASE (EDITORIAL FINE ART)
   Inspired by high-end botanical fine jewelry & lifestyle aesthetics
   ========================================================================== */

/* 1. Split Botanical Hero Section (50/50 Split) */
.luxury-split-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height, 80px));
  margin-top: var(--header-height, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background-color: #f3f2dc;
}

/* Left Hero Column: Heritage Forest Green with Botanical Watermark */
.luxury-hero-left {
  background-color: #1e392c;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(2.5rem, 5vw, 5.5rem);
  color: #ffffff;
  overflow: hidden;
}

/* Subtle botanical line-drawing watermark in background */
.luxury-hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(139, 225, 159, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(164, 196, 181, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.luxury-hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M80 15 C60 40 30 60 10 80 C30 100 60 120 80 145 C100 120 130 100 150 80 C130 60 100 40 80 15 Z M80 35 C95 60 115 75 130 80 C115 85 95 100 80 125 C65 100 45 85 30 80 C45 75 65 60 80 35 Z' stroke='%2388b19a' stroke-width='0.8' fill='none' opacity='0.14'/%3E%3Ccircle cx='80' cy='80' r='6' stroke='%2388b19a' stroke-width='0.6' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.65;
  pointer-events: none;
}

.luxury-hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.luxury-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a8cfbd;
  margin-bottom: 2.25rem;
  display: inline-block;
}

.luxury-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: #f5f6ea;
  margin-bottom: 1.85rem;
  letter-spacing: -0.015em;
}

.luxury-hero-title em,
.luxury-hero-title .title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: #ffffff;
}

.luxury-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.025rem;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(245, 246, 234, 0.84);
  margin-bottom: 2.75rem;
  max-width: 420px;
}

.luxury-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #1a382b;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid #ffffff;
}

.luxury-pill-btn:hover {
  background-color: #f5f6ea;
  color: #11261d;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Right Hero Column: Soft Antique Chartreuse / Warm Cream Fine Art Canvas */
.luxury-hero-right {
  background-color: #f2f1dc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.luxury-hero-art-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.luxury-hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.02);
}

.luxury-hero-right:hover .luxury-hero-art-img {
  transform: scale(1.035);
}

/* Product Spotlight Floating Badges in Hero Art */
.product-spotlight-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(30, 57, 44, 0.12);
  font-family: var(--font-sans);
  font-size: 0.735rem;
  font-weight: 600;
  color: #1e392c;
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  pointer-events: auto;
}

.product-spotlight-tag:hover {
  transform: translateY(-3px) scale(1.03);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border-color: #1e392c;
}

.spotlight-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2b7a4b;
  box-shadow: 0 0 0 3px rgba(43, 122, 75, 0.25);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(43, 122, 75, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(43, 122, 75, 0);
  }
}

.tag-jar {
  top: 15%;
  left: 3%;
}

.tag-almonds {
  bottom: 10%;
  left: 5%;
}

.tag-veggies {
  bottom: 14%;
  right: 4%;
}

@media (max-width: 640px) {
  .product-spotlight-tag {
    display: none;
  }
}

/* Hero Specs Strip (Left Column) */
.hero-specs-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.hero-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: #cde4d8;
  letter-spacing: 0.03em;
}

.hero-spec-item svg {
  color: #8be19f;
}

/* Responsive Split Hero */
@media (max-width: 992px) {
  .luxury-split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .luxury-hero-left {
    padding: 4.5rem 1.75rem 3.5rem;
  }

  .luxury-hero-right {
    min-height: 480px;
    padding: 2.5rem 1.5rem;
  }
}

/* 3. Dual-Split Curated Editorial Showcase (Middle Section - Image 2 Style) */
.luxury-dual-split-section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  overflow: hidden;
  margin: 0;
  position: relative;
}

.split-card {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(3.5rem, 5vw, 5.5rem) clamp(2rem, 4vw, 3.5rem);
  text-decoration: none;
  overflow: hidden;
}

.split-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.split-card:hover .split-card-bg {
  transform: scale(1.055);
}

.split-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: background-color 0.4s ease;
}

/* Card 1: Dusty Rose / Terracotta */
.split-card-artisan .split-card-overlay {
  background: linear-gradient(180deg, rgba(82, 28, 40, 0.45) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(52, 16, 24, 0.76) 100%);
}

.split-card-artisan:hover .split-card-overlay {
  background: linear-gradient(180deg, rgba(82, 28, 40, 0.35) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(52, 16, 24, 0.68) 100%);
}

/* Card 2: Lush Tropical / Botanical */
.split-card-botanical .split-card-overlay {
  background: linear-gradient(180deg, rgba(18, 42, 28, 0.5) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(10, 26, 16, 0.78) 100%);
}

.split-card-botanical:hover .split-card-overlay {
  background: linear-gradient(180deg, rgba(18, 42, 28, 0.4) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(10, 26, 16, 0.7) 100%);
}

.split-card-top {
  position: relative;
  z-index: 3;
}

.split-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f7eed2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.split-card-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.split-card-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fffaf0;
  margin-bottom: 2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}

.split-card-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: #ffffff;
  color: #1a2e24;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid #ffffff;
}

.split-card:hover .split-card-pill-btn {
  background-color: #f5f6ea;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 868px) {
  .luxury-dual-split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-card {
    min-height: 520px;
    padding: 3.5rem 1.75rem;
  }
}

/* Accessibility Screen-Reader Only utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   ELOVA DIWALI FESTIVE HERO SECTION (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */

.diwali-hero-section,
.veggie-crisps-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #240530;
}

.diwali-hero-picture,
.veggie-hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.diwali-hero-bg-img,
.veggie-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Festive Luxury Ambient Vignette: Protects Header & Text, Highlights Artwork */
.diwali-hero-vignette,
.veggie-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 2, 28, 0.72) 0%, rgba(22, 2, 28, 0.28) 22%, transparent 45%, rgba(18, 2, 24, 0.42) 78%, rgba(14, 1, 19, 0.78) 100%),
    radial-gradient(circle at 18% 28%, rgba(245, 190, 56, 0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   DYNAMIC DIWALI FESTIVE LIGHTS & CANDLELIGHT GLOW
   ========================================================================== */
.diwali-lights-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.diwali-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow-center {
  width: clamp(280px, 45vw, 620px);
  height: clamp(220px, 35vh, 420px);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 191, 0, 0.32) 0%, rgba(255, 120, 0, 0.16) 45%, transparent 75%);
  animation: diwaliPulseGlow 4s infinite ease-in-out alternate;
}

.glow-left {
  width: 320px;
  height: 320px;
  top: 5%;
  left: -40px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.28) 0%, rgba(225, 29, 72, 0.14) 50%, transparent 80%);
  animation: diwaliFlicker 3.2s infinite ease-in-out alternate;
}

.glow-right {
  width: 340px;
  height: 340px;
  top: 5%;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.26) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 80%);
  animation: diwaliFlicker 3.8s infinite ease-in-out alternate 0.5s;
}

@keyframes diwaliPulseGlow {
  0% {
    transform: translateX(-50%) scale(0.95);
    opacity: 0.75;
  }

  100% {
    transform: translateX(-50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes diwaliFlicker {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  30% {
    opacity: 0.65;
    transform: scale(0.96);
  }

  60% {
    opacity: 0.95;
    transform: scale(1.04);
  }

  85% {
    opacity: 0.72;
    transform: scale(0.98);
  }
}

.diwali-light-ray {
  position: absolute;
  top: 0;
  width: 140px;
  height: 60vh;
  background: linear-gradient(180deg, rgba(255, 220, 100, 0.18) 0%, rgba(255, 180, 0, 0.05) 50%, transparent 100%);
  filter: blur(28px);
  transform-origin: top center;
  mix-blend-mode: screen;
}

.ray-1 {
  left: 6%;
  transform: rotate(8deg);
  animation: raySweep 6s infinite ease-in-out alternate;
}

.ray-2 {
  right: 8%;
  transform: rotate(-10deg);
  animation: raySweep 7s infinite ease-in-out alternate 1s;
}

@keyframes raySweep {
  0% {
    opacity: 0.5;
    transform: rotate(5deg) scaleY(0.9);
  }

  100% {
    opacity: 0.95;
    transform: rotate(14deg) scaleY(1.08);
  }
}

/* Floating Diya Light Spark Particles */
.diwali-spark-light {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.9), 0 0 20px 4px rgba(255, 140, 0, 0.7);
  animation: floatSpark 4.5s infinite ease-in-out;
}

.spark-1 {
  bottom: 22%;
  left: 18%;
  animation-duration: 4.8s;
  animation-delay: 0.2s;
}

.spark-2 {
  bottom: 28%;
  left: 34%;
  animation-duration: 5.4s;
  animation-delay: 1.1s;
}

.spark-3 {
  bottom: 25%;
  left: 52%;
  animation-duration: 4.2s;
  animation-delay: 0.7s;
}

.spark-4 {
  bottom: 30%;
  right: 28%;
  animation-duration: 5.8s;
  animation-delay: 1.8s;
}

.spark-5 {
  bottom: 20%;
  right: 14%;
  animation-duration: 4.6s;
  animation-delay: 0.4s;
}

.spark-6 {
  top: 24%;
  left: 45%;
  animation-duration: 6.2s;
  animation-delay: 2.2s;
}

@keyframes floatSpark {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }

  25% {
    opacity: 1;
    transform: translateY(-22px) scale(1.2);
  }

  50% {
    opacity: 0.8;
    transform: translateY(-48px) translateX(6px) scale(0.9);
  }

  75% {
    opacity: 1;
    transform: translateY(-75px) translateX(-4px) scale(1.1);
  }

  100% {
    transform: translateY(-105px) scale(0.4);
    opacity: 0;
  }
}

/* ==========================================================================
   COLORFUL BRAND & FESTIVE EDITORIAL PRESENTATION
   ========================================================================== */
.diwali-hero-editorial {
  position: absolute;
  top: clamp(6.25rem, 13.5vh, 9rem);
  left: clamp(2rem, 5.5vw, 6.5rem);
  max-width: 540px;
  z-index: 10;
  color: #fff;
}

.diwali-festive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  background: rgba(245, 190, 56, 0.16);
  border: 1px solid rgba(250, 218, 122, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fce075;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.colorful-badge {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.25) 0%, rgba(225, 29, 72, 0.2) 50%, rgba(16, 185, 129, 0.2) 100%) !important;
  border: 1.5px solid rgba(253, 224, 71, 0.65) !important;
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.4) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.diwali-diya-flame {
  font-size: 0.95rem;
  display: inline-block;
  animation: flameFlicker 1.8s infinite ease-in-out;
}

@keyframes flameFlicker {

  0%,
  100% {
    transform: scale(1) rotate(-2deg);
  }

  50% {
    transform: scale(1.18) rotate(3deg);
  }
}

.badge-text-gradient {
  background: linear-gradient(90deg, #fff275 0%, #ffb703 35%, #fb8500 70%, #ff6b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.diwali-sparkle {
  font-size: 0.8rem;
  display: inline-block;
  animation: sparklePulse 2.4s infinite ease-in-out;
}

@keyframes sparklePulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.22) rotate(12deg);
    opacity: 1;
  }
}

.diwali-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 0.85rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.text-gold-shimmer {
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 30%, #eab308 60%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(234, 179, 8, 0.5));
  font-weight: 600;
  font-style: italic;
}

.text-emerald-glow {
  background: linear-gradient(135deg, #ecfdf5 0%, #6ee7b7 35%, #10b981 70%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.5));
  font-weight: 500;
}

.diwali-hero-subline {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.1vw, 0.985rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem 0;
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.diwali-sleek-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.diwali-sleek-subline {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1vw, 0.925rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.15rem 0;
  max-width: 420px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.text-gold-accent {
  color: #fde047;
  font-weight: 600;
}

/* ==========================================================================
   FESTIVE AVATAR SOCIAL PROOF CARD (RIGHT SIDE)
   ========================================================================== */
.diwali-hero-right-card {
  position: absolute;
  top: clamp(6.25rem, 14vh, 9.5rem);
  right: clamp(2rem, 5.5vw, 6.5rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.diwali-hero-avatar-card {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.55rem 1.15rem;
  background: rgba(24, 3, 33, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(253, 224, 71, 0.4);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.2);
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.diwali-hero-avatar-card:hover {
  background: rgba(30, 4, 40, 0.8);
  border-color: rgba(253, 224, 71, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 26px rgba(245, 158, 11, 0.3);
}

.diwali-avatar-group {
  display: flex;
  align-items: center;
}

.diwali-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-left: -9px;
  transition: transform 0.25s ease;
}

.diwali-avatar-img:first-child {
  margin-left: 0;
}

.diwali-avatar-img:hover {
  transform: scale(1.18) translateY(-2px);
  z-index: 5;
}

.diwali-avatar-extra-sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a0224;
  font-size: 0.75rem;
  margin-left: -6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: diwaliSparkleRotate 3s infinite linear;
}

@keyframes diwaliSparkleRotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.diwali-avatar-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.diwali-stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.diwali-star {
  color: #ffd700;
  font-size: 0.75rem;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.diwali-rating-score {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.35rem;
}

.diwali-avatar-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.diwali-avatar-label strong {
  color: #ffd700;
  font-weight: 600;
}

/* Product Button in Editorial Area */
.diwali-hero-product-action {
  display: flex;
  align-items: center;
}

.diwali-btn-product {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(253, 224, 71, 0.45);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.diwali-btn-product:hover {
  background: rgba(250, 218, 122, 0.25);
  border-color: #fce075;
  color: #fce075;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 190, 56, 0.4);
}

.diwali-btn-product:hover .cta-arrow-icon {
  transform: translateX(4px);
}

/* Dedicated Diwali Gift Button in Bottom Area */
.diwali-hero-bottom-action {
  position: absolute;
  bottom: clamp(2rem, 5vh, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: auto;
}

.diwali-btn-gift,
.veggie-hero-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.6rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #240530;
  background: linear-gradient(135deg, #ffe082 0%, #f5be38 50%, #e09819 100%);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(245, 190, 56, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.diwali-btn-gift::before,
.veggie-hero-shop-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: diwaliShimmer 3.2s infinite ease-in-out;
}

@keyframes diwaliShimmer {
  0% {
    left: -100%;
  }

  35%,
  100% {
    left: 140%;
  }
}

.diwali-btn-gift:hover,
.veggie-hero-shop-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.65), 0 6px 28px rgba(245, 190, 56, 0.7);
  color: #12011a;
}

.gift-icon-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: giftWiggle 3s infinite ease-in-out;
}

@keyframes giftWiggle {

  0%,
  80%,
  100% {
    transform: rotate(0deg);
  }

  85% {
    transform: rotate(-8deg);
  }

  90% {
    transform: rotate(8deg);
  }

  95% {
    transform: rotate(-4deg);
  }
}

.gift-sparkle-icon {
  opacity: 0.85;
  transition: transform 0.25s ease;
}

.diwali-btn-gift:hover .gift-sparkle-icon {
  transform: rotate(25deg) scale(1.15);
  opacity: 1;
}

/* Subtle Scroll Explorer Button at bottom right on Desktop */
.diwali-hero-scroll-btn,
.veggie-hero-scroll-btn {
  position: absolute;
  bottom: clamp(1.75rem, 4.5vh, 3rem);
  right: clamp(2rem, 5vw, 5rem);
  left: auto;
  transform: none;
  z-index: 10;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.diwali-hero-scroll-btn:hover,
.veggie-hero-scroll-btn:hover {
  color: #fce075;
}

.scroll-mouse-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel-dot {
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background-color: currentColor;
  animation: scrollWheel 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(8px);
    opacity: 0;
  }

  61% {
    transform: translateY(0);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments for Mobile & Tablets */
@media (max-width: 767px) {

  .diwali-hero-section,
  .veggie-crisps-hero-section {
    min-height: 100svh;
  }

  .diwali-hero-bg-img,
  .veggie-hero-bg-img {
    object-position: center 20%;
  }

  .diwali-hero-editorial {
    top: calc(var(--header-height, 65px) + 1.25rem);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 380px;
    text-align: center;
  }

  .diwali-festive-badge {
    margin-bottom: 0.5rem;
    font-size: 0.625rem;
    padding: 0.3rem 0.8rem;
  }

  .diwali-hero-heading {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    margin-bottom: 0.4rem;
    line-height: 1.12;
  }

  .diwali-hero-subline {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.95rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    opacity: 0.9;
  }

  .diwali-hero-product-action {
    justify-content: center;
  }

  .diwali-hero-right-card {
    position: absolute;
    top: auto;
    bottom: calc(2rem + 54px + 0.85rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  .diwali-hero-avatar-card {
    padding: 0.38rem 0.85rem;
    margin-bottom: 0;
    gap: 0.65rem;
    display: inline-flex;
    max-width: 100%;
  }

  .diwali-avatar-img {
    width: 26px;
    height: 26px;
    margin-left: -7px;
  }

  .diwali-avatar-extra-sparkle {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  .diwali-avatar-label {
    font-size: 0.65rem;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
  }

  .diwali-btn-product {
    padding: 0.65rem 1.4rem;
    font-size: 0.78rem;
    background: rgba(24, 2, 30, 0.5);
    border-color: rgba(250, 218, 122, 0.5);
  }

  .diwali-hero-bottom-action {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 340px;
  }

  .diwali-btn-gift,
  .veggie-hero-shop-btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    font-size: 0.875rem;
  }

  .diwali-hero-scroll-btn,
  .veggie-hero-scroll-btn {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .diwali-hero-editorial {
    top: 7rem;
    left: 3rem;
    max-width: 440px;
  }

  .diwali-hero-heading {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   DIWALI GIFT BOX MODAL
   ========================================================================== */
.diwali-gift-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 24, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.diwali-gift-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.diwali-gift-modal-content {
  background: linear-gradient(145deg, #1f0426 0%, #15021a 100%);
  border: 1px solid rgba(250, 218, 122, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 190, 56, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  color: #fff;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.diwali-gift-modal-backdrop.is-open .diwali-gift-modal-content {
  transform: translateY(0) scale(1);
}

.diwali-gift-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
}

.diwali-gift-close-btn:hover {
  background: rgba(250, 218, 122, 0.25);
  border-color: #fce075;
  color: #fce075;
  transform: rotate(90deg);
}

.diwali-modal-header {
  margin-bottom: 1.5rem;
}

.diwali-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0.5rem 0;
}

.diwali-modal-lead {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto;
}

.diwali-modal-body-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.diwali-modal-box-img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(250, 218, 122, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.diwali-box-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.diwali-box-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #fce075;
}

.diwali-box-mrp {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.diwali-box-save {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3e635;
  background: rgba(163, 230, 53, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.diwali-includes-heading {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.65rem;
}

.diwali-includes-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.diwali-includes-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

.diwali-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.diwali-modal-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, #ffe082 0%, #f5be38 50%, #e09819 100%);
  color: #240530;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 190, 56, 0.4);
  transition: all 0.3s ease;
}

.diwali-modal-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 190, 56, 0.6);
  color: #12011a;
}

.diwali-modal-shop-link {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}

.diwali-modal-shop-link:hover {
  color: #fce075;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .diwali-modal-body-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .diwali-modal-box-img {
    max-height: 200px;
  }

  .diwali-gift-modal-content {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   BESPOKE CHECKOUT & ORDER CONFIRMATION MODAL
   ========================================================================== */
.checkout-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(8, 30, 16, 0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 999990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

.checkout-modal-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.checkout-modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(26, 34, 29, 0.08) !important;
  box-shadow: 0 25px 70px rgba(10, 45, 23, 0.32), 0 4px 24px rgba(0, 0, 0, 0.08) !important;
  border-radius: 24px !important;
  width: 100% !important;
  max-width: 540px !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem) !important;
  position: relative !important;
  text-align: center !important;
  transform: translateY(24px) scale(0.96) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.checkout-modal-backdrop.is-open .checkout-modal-card {
  transform: translateY(0) scale(1) !important;
}

.checkout-modal-close-btn {
  position: absolute !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(26, 34, 29, 0.1) !important;
  background: rgba(26, 34, 29, 0.04) !important;
  color: var(--text-primary, #1a221d) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  outline: none !important;
  z-index: 5 !important;
}

.checkout-modal-close-btn:hover {
  background: rgba(186, 40, 40, 0.08) !important;
  color: #ba2828 !important;
  border-color: rgba(186, 40, 40, 0.2) !important;
  transform: rotate(90deg) !important;
}

.checkout-modal-icon-wrap {
  width: 76px !important;
  height: 76px !important;
  background: linear-gradient(135deg, #13572d 0%, #092c15 100%) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 12px 28px rgba(19, 87, 45, 0.35) !important;
  position: relative !important;
}

.checkout-modal-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(19, 87, 45, 0.35);
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.checkout-modal-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--elova-green, #13572d) !important;
  background: var(--cream, #f4f0e8) !important;
  border: 1px solid rgba(19, 87, 45, 0.15) !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px !important;
  margin-bottom: 0.75rem !important;
}

.checkout-modal-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-size: clamp(2rem, 3.5vw, 2.5rem) !important;
  font-weight: 600 !important;
  color: var(--text-primary, #1a221d) !important;
  line-height: 1.15 !important;
  margin: 0 0 0.85rem 0 !important;
}

.checkout-modal-ref {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary, #535e57) !important;
  background: var(--cream, #f4f0e8) !important;
  border: 1px solid rgba(26, 34, 29, 0.08) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.75rem !important;
  margin-bottom: 1.25rem !important;
}

.checkout-modal-ref strong {
  color: var(--elova-green, #13572d) !important;
  font-family: monospace !important;
  font-size: 0.875rem !important;
}

.checkout-modal-desc {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: var(--text-secondary, #535e57) !important;
  max-width: 440px !important;
  margin: 0 auto 1.75rem auto !important;
}

.checkout-modal-features {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.75rem !important;
  margin-bottom: 2rem !important;
  padding: 1rem 0.5rem !important;
  background: rgba(244, 240, 232, 0.55) !important;
  border: 1px solid rgba(26, 34, 29, 0.06) !important;
  border-radius: 12px !important;
}

@media (max-width: 540px) {
  .checkout-modal-features {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }
}

.checkout-modal-feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.75rem !important;
  color: var(--text-primary, #1a221d) !important;
}

@media (max-width: 540px) {
  .checkout-modal-feature-item {
    flex-direction: row !important;
    gap: 0.65rem !important;
  }
}

.checkout-modal-feature-item svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--elova-green, #13572d) !important;
  stroke: var(--elova-green, #13572d) !important;
  flex-shrink: 0 !important;
}

.checkout-modal-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.checkout-modal-btn-primary {
  width: 100% !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  background: var(--elova-green, #13572d) !important;
  color: #ffffff !important;
  border: 1px solid var(--elova-green, #13572d) !important;
  border-radius: var(--radius-xs, 4px) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(19, 87, 45, 0.25) !important;
}

.checkout-modal-btn-primary:hover {
  background: var(--elova-green-dark, #0e3f21) !important;
  border-color: var(--elova-green-dark, #0e3f21) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(19, 87, 45, 0.35) !important;
  color: #ffffff !important;
}

.checkout-modal-btn-secondary {
  width: 100% !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: transparent !important;
  color: var(--elova-green, #13572d) !important;
  border: 1.5px solid rgba(19, 87, 45, 0.25) !important;
  border-radius: var(--radius-xs, 4px) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.checkout-modal-btn-secondary:hover {
  border-color: var(--elova-green, #13572d) !important;
  background: rgba(19, 87, 45, 0.06) !important;
  color: var(--elova-green, #13572d) !important;
}




/* ==========================================================================
   ELOVA AUTO-ROTATING PRODUCT HERO
   ========================================================================== */

.elova-hero-rotator {
  --hero-accent: var(--elova-green);
  --hero-accent-shadow: rgba(19, 87, 45, 0.25);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--header-height, 72px);
}

/* Animated background color layer */
.hero-rot-bg {
  position: absolute;
  inset: 0;
  background-color: #f4f0e8;
  transition: background-color 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Main 2-col wrapper */
.hero-rot-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  flex: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 5vw, 5rem) 0;
  gap: 2.5rem;
}

/* LEFT TEXT COLUMN */
.hero-rot-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
  cursor: default;
}

.hero-rot-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-accent);
  transition: color 0.6s ease;
  cursor: default;
}

.hero-rot-heading {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
  cursor: default;
}

.hero-rot-heading-script {
  display: block;
  font-family: 'Kaushan Script', 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  color: var(--hero-accent);
  line-height: 1.2;
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: color 0.6s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
  cursor: default;
}

.hero-rot-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0;
  transition: opacity 0.4s ease;
  cursor: default;
}

/* CTA Buttons */
.hero-rot-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.hero-rot-btn-primary,
.hero-rot-btn-primary:link,
.hero-rot-btn-primary:visited,
.hero-rot-btn-primary:hover,
.hero-rot-btn-primary:focus,
.hero-rot-btn-primary:active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--hero-accent);
  color: #ffffff !important;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.6s ease, transform 0.2s ease, box-shadow 0.6s ease, color 0.2s ease;
  box-shadow: 0 6px 22px var(--hero-accent-shadow);
  -webkit-tap-highlight-color: transparent;
}

.hero-rot-btn-primary span,
.hero-rot-btn-primary:visited span,
.hero-rot-btn-primary:hover span,
.hero-rot-btn-primary:focus span,
.hero-rot-btn-primary:active span {
  color: #ffffff !important;
}

.hero-rot-btn-primary svg,
.hero-rot-btn-primary:visited svg,
.hero-rot-btn-primary:hover svg,
.hero-rot-btn-primary:focus svg,
.hero-rot-btn-primary:active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.hero-rot-btn-primary:hover,
.hero-rot-btn-primary:focus {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--hero-accent-shadow);
  color: #ffffff !important;
}

.hero-rot-btn-ghost,
.hero-rot-btn-ghost:link,
.hero-rot-btn-ghost:visited {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d) !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-rot-btn-ghost:hover,
.hero-rot-btn-ghost:focus,
.hero-rot-btn-ghost:active {
  color: var(--hero-accent, #13572d) !important;
  text-decoration: none !important;
}

/* Progress dots */
.hero-rot-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-rot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.4s ease, width 0.3s ease, border-radius 0.3s ease;
}

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

/* RIGHT IMAGE COLUMN - PROPORTIONATELY SIZED PACKET WITH TOP BREATHING SPACE */
.hero-rot-img-col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(480px, 66vh, 670px);
  margin-bottom: -46px;
  /* Pulls bottom part of packet down behind bottom bar */
  z-index: 2;
}

.hero-rot-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  cursor: default;
}

.hero-rot-packet {
  height: 102%;
  max-height: 590px;
  width: auto;
  max-width: 460px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.26)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
  transform: rotate(-5deg);
  transform-origin: center bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  pointer-events: none;
  cursor: default;
  -webkit-user-drag: none;
  user-select: none;
}

/* Packet slide-in animation */
@keyframes packetSlideIn {
  0% {
    opacity: 0;
    transform: translateX(130px) rotate(8deg) scale(0.92);
  }

  65% {
    opacity: 1;
    transform: translateX(-10px) rotate(-8deg) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotate(-5deg) scale(1);
  }
}

@keyframes packetSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0) rotate(-5deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-90px) rotate(-12deg) scale(0.92);
  }
}

.hero-rot-packet.animating-in {
  animation: packetSlideIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-rot-packet.animating-out {
  animation: packetSlideOut 0.4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

/* Text fade animations */
@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rot-text-col.text-changing .hero-rot-eyebrow,
.hero-rot-text-col.text-changing .hero-rot-heading,
.hero-rot-text-col.text-changing .hero-rot-desc {
  animation: textFadeUp 0.55s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* BOTTOM FEATURE BAR - SITS IN FRONT OF PACKET (Z-INDEX: 10) */
.hero-rot-feature-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.1);
}

.hero-rot-feature-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: var(--hero-accent, var(--elova-green));
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
  transition: background-color 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-rot-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-rot-feat-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.hero-rot-feat-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
}

.hero-rot-feat-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.hero-rot-feature-divider {
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Scroll cue */
.hero-rot-scroll-cue {
  position: absolute;
  bottom: 5.5rem;
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.hero-rot-scroll-cue:hover {
  color: var(--elova-green);
}

/* Reuse scroll mouse icon from existing styles */
.hero-rot-scroll-cue .scroll-mouse-icon {
  width: 22px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-rot-scroll-cue .scroll-wheel-dot {
  width: 3px;
  height: 6px;
  background-color: currentColor;
  border-radius: 2px;
  animation: scrollWheelBounce 1.5s ease infinite;
}

@keyframes scrollWheelBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(5px);
    opacity: 0.5;
  }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-rot-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  .hero-rot-text-col {
    align-items: center;
    order: 1;
    padding-bottom: 0;
  }

  .hero-rot-heading {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .hero-rot-heading-script {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .hero-rot-img-col {
    order: 0;
    height: clamp(340px, 50vw, 440px);
    margin-bottom: 0;
  }

  .hero-rot-img-wrap {
    justify-content: center;
  }

  .hero-rot-ctas {
    justify-content: center;
  }

  .hero-rot-dots {
    justify-content: center;
  }

  .hero-rot-desc {
    max-width: 520px;
    text-align: center;
  }

  .hero-rot-scroll-cue {
    display: none;
  }

  .hero-rot-feature-bar-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.65rem clamp(0.75rem, 3vw, 1.5rem) !important;
  }

  .hero-rot-feature-divider {
    width: 1px !important;
    height: 24px !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    flex-shrink: 0 !important;
  }

  .hero-rot-feature {
    flex: 1 !important;
    padding: 0 0.25rem !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.15rem !important;
    min-width: 0 !important;
  }

  .hero-rot-feat-icon {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .hero-rot-feat-title {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    color: #ffffff !important;
  }

  .hero-rot-feat-sub {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-rot-heading {
    font-size: 2rem;
  }

  .hero-rot-packet {
    max-height: 300px;
  }
}

/* ==========================================================================
   19. ELOVA ABSOLUTE BLUE SHIELD & BRAND HARMONIZATION
   Purges all browser and theme blue defaults across buttons, links,
   crosses, accordions/questions, inputs, and widgets.
   ========================================================================== */

/* 1. Global Color Variables & Text Selection */
:root,
html,
body {
  --ast-global-color-0: #13572d !important;
  --ast-global-color-1: #0e3f21 !important;
  --ast-global-color-2: #1a221d !important;
  --ast-global-color-3: #535e57 !important;
  --ast-global-color-4: #f4f0e8 !important;
  --ast-global-color-5: #ffffff !important;
  --wp--preset--color--primary: #13572d !important;
  --wp--preset--color--vivid-cyan-blue: #13572d !important;
}

::selection {
  background: var(--elova-green, #13572d) !important;
  color: #ffffff !important;
}

::-moz-selection {
  background: var(--elova-green, #13572d) !important;
  color: #ffffff !important;
}

/* 2. Global Links: Hover turns ELOVA dark green, NEVER blue */
a {
  transition: color 0.2s ease;
}

a:hover,
a:focus,
a:active,
.main-header-menu a:hover,
.ast-builder-menu a:hover,
.footer-nav-link:hover,
.nav-link:hover,
.nav-action-btn:hover,
.editorial-breadcrumbs a:hover,
.cart-item-title a:hover,
.cart-page-title a:hover,
.product-card-title a:hover,
.bestseller-title a:hover,
.btn-link:hover {
  color: var(--elova-green, #13572d) !important;
}

/* 3. Global Questions / Accordions: Hover stays luxury dark green, NEVER blue */
.accordion-header,
.accordion-header:hover,
.accordion-header:focus,
.accordion-header:active,
.category-accordion-header,
.category-accordion-header:hover,
.category-accordion-header:focus,
.category-accordion-header:active,
.faq-header:hover,
.faq-question:hover,
.faq-btn:hover,
.accordion-button:hover,
.accordion-button:focus,
.accordion-title:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--elova-green, #13572d) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.accordion-header:hover .accordion-icon,
.accordion-header:hover svg,
.category-accordion-header:hover .accordion-icon,
.category-accordion-header:hover svg {
  color: var(--elova-green, #13572d) !important;
  stroke: var(--elova-green, #13572d) !important;
}

/* 4. Global Cross / Close / Dismiss / Remove Buttons: NEVER turn blue! */
#close-filter-drawer-btn,
.cart-item-remove-btn,
.cart-remove-icon-btn,
.elova-chat-close-btn,
.diwali-gift-close-btn,
button[aria-label*="Remove" i],
button[aria-label*="remove" i],
.btn-close,
.close-btn {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* On hover, cross turns to elegant wine red / rust or brand dark, NEVER blue! */
#close-filter-drawer-btn:hover,
#close-filter-drawer-btn:focus,
.cart-item-remove-btn:hover,
.cart-item-remove-btn:focus,
.cart-remove-icon-btn:hover,
.cart-remove-icon-btn:focus,
.elova-chat-close-btn:hover,
.elova-chat-close-btn:focus,
.diwali-gift-close-btn:hover,
.diwali-gift-close-btn:focus,
button[aria-label*="Remove" i]:hover,
button[aria-label*="remove" i]:hover,
.btn-close:hover,
.close-btn:hover {
  background: rgba(186, 40, 40, 0.08) !important;
  color: #ba2828 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.cart-remove-icon-btn:hover svg,
.elova-chat-close-btn:hover svg,
.diwali-gift-close-btn:hover svg {
  stroke: #ba2828 !important;
  color: #ba2828 !important;
}

/* 5. Buttons: Hover turns ELOVA dark green, NEVER blue */
.btn:hover,
.btn-primary:hover,
.btn-primary:focus,
.ast-button:hover,
.ast-button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.woocommerce-page #respond input#submit:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
  background-color: var(--elova-green-dark, #0e3f21) !important;
  border-color: var(--elova-green-dark, #0e3f21) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 63, 33, 0.28) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #13572d !important;
  border-color: #13572d !important;
  color: #ffffff !important;
}

.qty-btn:hover,
.qty-btn:focus {
  background-color: rgba(19, 87, 45, 0.1) !important;
  color: #13572d !important;
  border-color: transparent !important;
}

/* 5b. Comprehensive Protection: Prevent Astra Theme Button Styles from Corrupting ELOVA Minimal & Icon Buttons */
.nav-action-btn,
button.nav-action-btn,
.minimal-card-quick-add,
button.minimal-card-quick-add,
.cart-stepper-btn,
button.cart-stepper-btn,
.qty-btn,
button.qty-btn,
.chapters-arrow-btn,
button.chapters-arrow-btn,
.hero-rot-dot,
button.hero-rot-dot,
.mobile-toggle-btn,
button.mobile-toggle-btn,
.elova-chat-chip,
button.elova-chat-chip,
.elova-chat-send-btn,
button.elova-chat-send-btn {
  text-transform: none !important;
  letter-spacing: normal !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-rot-dot,
button.hero-rot-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  max-width: 28px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(0, 0, 0, 0.18) !important;
}

.hero-rot-dot.active,
button.hero-rot-dot.active {
  width: 28px !important;
  border-radius: 4px !important;
  background-color: var(--hero-accent, #13572d) !important;
}

.chapters-arrow-btn,
button.chapters-arrow-btn {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--color-border) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--elova-green) !important;
  box-shadow: 0 4px 14px rgba(14, 63, 33, 0.06) !important;
}

.chapters-arrow-btn:hover:not(:disabled),
button.chapters-arrow-btn:hover:not(:disabled) {
  background: var(--elova-green) !important;
  background-color: var(--elova-green) !important;
  color: #ffffff !important;
  border-color: var(--elova-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(14, 63, 33, 0.22) !important;
}

/* 6. Form Focus Rings & Outlines: NEVER blue */
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
  border-color: var(--elova-green, #13572d) !important;
  box-shadow: 0 0 0 3px rgba(19, 87, 45, 0.16) !important;
  outline: none !important;
}

:focus-visible {
  outline: 2px solid var(--elova-green, #13572d) !important;
  outline-offset: 2px;
}

/* 7. Purge Astra Scroll to Top */
#ast-scroll-top,
.ast-scroll-top-icon,
.ast-scroll-to-top-right,
.ast-scroll-to-top-left {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ==========================================================================
   20. ELOVA FLOATING CHAT BOT / SNACK CONCIERGE (Refined Compact Luxury)
   ========================================================================== */
.elova-chat-widget {
  position: fixed !important;
  bottom: 50px !important;
  right: 24px !important;
  z-index: 99999 !important;
  font-family: var(--font-sans, -apple-system, sans-serif) !important;
  pointer-events: none !important;
}

.elova-chat-launcher {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  background: linear-gradient(135deg, #13572d 0%, #0a3118 100%) !important;
  color: #ffffff !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(197, 155, 39, 0.5) !important;
  box-shadow: 0 8px 24px rgba(19, 87, 45, 0.32), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  outline: none !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (hover: hover) and (pointer: fine) {
  .elova-chat-launcher:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(19, 87, 45, 0.45), 0 4px 12px rgba(0, 0, 0, 0.16) !important;
    border-color: rgba(197, 155, 39, 0.85) !important;
  }
}

.elova-chat-launcher-icon-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.elova-chat-launcher-icon-wrap svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 0.25s ease !important;
}

.elova-chat-badge-dot {
  position: absolute !important;
  top: 9px !important;
  right: 9px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #2ed573 !important;
  border: 1.5px solid #13572d !important;
  box-shadow: 0 0 6px #2ed573 !important;
  animation: elovaPulse 2s infinite !important;
}

@keyframes elovaPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(46, 213, 115, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}

.elova-chat-launcher-text {
  display: none !important;
}

.elova-chat-launcher[aria-expanded="true"] .elova-chat-icon-chat {
  display: none !important;
}

.elova-chat-launcher[aria-expanded="true"] .elova-chat-icon-close {
  display: block !important;
}

.elova-chat-launcher[aria-expanded="true"] .elova-chat-badge-dot {
  display: none !important;
}

/* Chat Popup Window (Sleek, Compact & Shifted Up) */
.elova-chat-window {
  position: fixed !important;
  bottom: 110px !important;
  right: 24px !important;
  width: 340px !important;
  max-width: calc(100vw - 32px) !important;
  height: 430px !important;
  max-height: calc(100vh - 125px) !important;
  background: var(--off-white, #faf8f5) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(19, 87, 45, 0.16) !important;
  box-shadow: 0 16px 42px rgba(8, 36, 19, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(14px) scale(0.96) !important;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 1, 0.3, 1), visibility 0.25s ease !important;
  z-index: 100000 !important;
}

.elova-chat-window.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.elova-chat-header {
  background: linear-gradient(135deg, #13572d 0%, #0a2d17 100%) !important;
  padding: 0.6rem 0.85rem !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.elova-chat-header-info {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
}

.elova-chat-avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(197, 155, 39, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f4f0e8 !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
}

.elova-chat-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #faf8f5 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.elova-chat-status {
  font-size: 0.65rem !important;
  color: #c4cdc7 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.elova-chat-status-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: #2ed573 !important;
}

.elova-chat-close-btn {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.75) !important;
  cursor: pointer !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.elova-chat-close-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.elova-chat-messages {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  padding: 0.75rem !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior: contain !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  background-color: #faf8f5 !important;
}

.elova-msg-bubble {
  max-width: 88% !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 9px !important;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  word-break: break-word !important;
}

.elova-msg-bot {
  align-self: flex-start !important;
  background: #ffffff !important;
  color: #1a221d !important;
  border: 1px solid rgba(19, 87, 45, 0.1) !important;
  border-bottom-left-radius: 2px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.elova-msg-user {
  align-self: flex-end !important;
  background: #13572d !important;
  color: #ffffff !important;
  border-bottom-right-radius: 2px !important;
  box-shadow: 0 2px 8px rgba(19, 87, 45, 0.18) !important;
}

.elova-msg-prod-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-top: 0.4rem !important;
  padding: 0.4rem !important;
  background: var(--cream, #f4f0e8) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  color: #1a221d !important;
  border: 1px solid rgba(19, 87, 45, 0.1) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.elova-msg-prod-card:hover {
  transform: translateY(-2px) !important;
  border-color: #13572d !important;
}

.elova-msg-prod-thumb {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 4px !important;
  padding: 2px !important;
}

.elova-chat-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.3rem !important;
  margin-top: 0.4rem !important;
}

.elova-chat-chip {
  background: #ffffff !important;
  border: 1px solid rgba(19, 87, 45, 0.2) !important;
  color: #13572d !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  padding: 0.25rem 0.55rem !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.elova-chat-chip:hover {
  background: #13572d !important;
  color: #ffffff !important;
  border-color: #13572d !important;
}

.elova-chat-input-area {
  padding: 0.5rem 0.65rem !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(19, 87, 45, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.elova-chat-input {
  flex: 1 !important;
  height: 34px !important;
  background: #faf8f5 !important;
  border: 1px solid rgba(19, 87, 45, 0.15) !important;
  border-radius: 50px !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.78rem !important;
  color: #1a221d !important;
  transition: border-color 0.2s ease !important;
}

.elova-chat-input:focus {
  border-color: #13572d !important;
  box-shadow: 0 0 0 2px rgba(19, 87, 45, 0.12) !important;
  outline: none !important;
}

.elova-chat-send-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  border-radius: 50% !important;
  background: #13572d !important;
  color: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.elova-chat-send-btn:hover {
  background: #0e3f21 !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   21. ELOVA BESPOKE CHECKOUT STYLES
   ========================================================================== */
.elova-checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 991px) {
  .elova-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-section-card {
  background: #ffffff;
  border: 1px solid rgba(26, 34, 29, 0.08);
  border-radius: var(--radius-sm, 4px);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-subtle, 0 4px 20px rgba(19, 87, 45, 0.04));
}

.checkout-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 34, 29, 0.08);
}

.checkout-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--elova-green, #13572d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout-section-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  margin: 0;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.checkout-form-row.triple {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {

  .checkout-form-row,
  .checkout-form-row.triple {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checkout-section-card {
    padding: 1.5rem 1.25rem;
  }
}

.checkout-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary, #535e57);
}

.checkout-label .required {
  color: #b83535;
}

.checkout-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--off-white, #faf8f5);
  border: 1px solid rgba(26, 34, 29, 0.15);
  border-radius: var(--radius-xs, 2px);
  font-size: 0.875rem;
  color: var(--text-primary, #1a221d);
  transition: all 0.2s ease;
}

.checkout-input:focus {
  background: #ffffff;
  border-color: var(--elova-green, #13572d) !important;
  box-shadow: 0 0 0 3px rgba(19, 87, 45, 0.12) !important;
  outline: none !important;
}

/* Payment option selector cards */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.payment-method-card {
  border: 1.5px solid rgba(26, 34, 29, 0.12);
  border-radius: var(--radius-xs, 2px);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
}

.payment-method-card:hover {
  border-color: var(--elova-green, #13572d);
  background: rgba(19, 87, 45, 0.02);
}

.payment-method-card.is-selected {
  border-color: var(--elova-green, #13572d);
  background: rgba(19, 87, 45, 0.04);
}

.payment-method-radio {
  accent-color: var(--elova-green, #13572d);
  width: 18px;
  height: 18px;
}

.payment-method-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
}

.payment-method-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary, #535e57);
  margin-top: 0.15rem;
}

/* ==========================================================================
   22. ELOVA BESPOKE NOURISHMENT BAG / CART PAGE
   ========================================================================== */
.cart-page-main {
  padding-top: calc(var(--header-height, 70px) + 2.5rem);
  padding-bottom: 7rem;
  background-color: var(--off-white, #faf8f5);
  min-height: 80vh;
}

.cart-page-header-wrap {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cart-page-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--cream, #f4f0e8);
  border: 1px solid rgba(19, 87, 45, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--elova-green, #13572d);
}

.cart-page-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 991px) {
  .cart-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.cart-shipping-banner {
  background: #ffffff;
  border: 1px solid rgba(26, 34, 29, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 12px rgba(19, 87, 45, 0.04);
}

.cart-shipping-text-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-primary, #1a221d);
  margin-bottom: 0.75rem;
}

.cart-shipping-icon {
  width: 20px;
  height: 20px;
  color: var(--elova-green, #13572d);
  flex-shrink: 0;
}

.shipping-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(26, 34, 29, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.shipping-progress-fill-bar {
  height: 100%;
  background: linear-gradient(90deg, #13572d 0%, #2ed573 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.cart-table-card {
  background: #ffffff;
  border: 1px solid rgba(26, 34, 29, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(19, 87, 45, 0.03);
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2.8fr 1fr 1fr 48px;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--cream, #f4f0e8);
  border-bottom: 1px solid rgba(26, 34, 29, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary, #535e57);
}

.cart-col-prod {
  text-align: left;
}

.cart-col-qty {
  text-align: center;
}

.cart-col-tot {
  text-align: right;
}

.cart-col-act {
  text-align: center;
}

.cart-page-item-row {
  display: grid;
  grid-template-columns: 2.8fr 1fr 1fr 48px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(26, 34, 29, 0.06);
  background: #ffffff;
  transition: background 0.2s ease;
}

.cart-page-item-row:last-child {
  border-bottom: none;
}

.cart-page-item-row:hover {
  background: rgba(244, 240, 232, 0.35);
}

.cart-page-prod-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-page-thumb-link {
  width: 86px;
  height: 86px;
  border-radius: 10px;
  background: radial-gradient(circle at center, #ffffff 40%, #f4f0e6 100%);
  border: 1px solid rgba(26, 34, 29, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cart-page-thumb-link:hover {
  transform: scale(1.04);
  border-color: var(--elova-green, #13572d);
}

.cart-page-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.cart-page-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cart-page-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--elova-green, #13572d);
}

.cart-page-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  margin: 0;
  line-height: 1.25;
}

.cart-page-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-page-title a:hover {
  color: var(--elova-green, #13572d) !important;
}

.cart-page-unit-price {
  font-size: 0.8125rem;
  color: var(--text-secondary, #535e57);
}

.cart-page-qty-col {
  display: flex;
  justify-content: center;
}

.cart-stepper {
  display: inline-flex !important;
  align-items: center !important;
  background: #faf8f5 !important;
  border: 1.5px solid rgba(26, 34, 29, 0.16) !important;
  border-radius: 999px !important;
  padding: 3px !important;
  height: 36px !important;
  box-sizing: border-box !important;
  gap: 2px !important;
}

button.cart-stepper-btn,
.cart-stepper button.cart-stepper-btn,
.cart-stepper-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  color: var(--text-primary, #1a221d) !important;
  cursor: pointer !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  outline: none !important;
}

button.cart-stepper-btn:hover,
.cart-stepper button.cart-stepper-btn:hover {
  background: rgba(19, 87, 45, 0.12) !important;
  background-color: rgba(19, 87, 45, 0.12) !important;
  color: var(--elova-green, #13572d) !important;
  transform: scale(1.08) !important;
  box-shadow: none !important;
}

button.cart-stepper-btn:active,
.cart-stepper button.cart-stepper-btn:active {
  background: rgba(19, 87, 45, 0.22) !important;
  background-color: rgba(19, 87, 45, 0.22) !important;
  color: var(--elova-green, #13572d) !important;
  transform: scale(0.92) !important;
  box-shadow: none !important;
}

button.cart-stepper-btn:focus,
button.cart-stepper-btn:focus-visible,
.cart-stepper button.cart-stepper-btn:focus,
.cart-stepper button.cart-stepper-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text-primary, #1a221d) !important;
}

button.cart-stepper-btn:hover:focus,
.cart-stepper button.cart-stepper-btn:hover:focus {
  background: rgba(19, 87, 45, 0.12) !important;
  background-color: rgba(19, 87, 45, 0.12) !important;
  color: var(--elova-green, #13572d) !important;
}

button.cart-stepper-btn:disabled,
button.cart-stepper-btn[disabled],
.cart-stepper button.cart-stepper-btn:disabled {
  opacity: 0.28 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
  background-color: transparent !important;
  transform: none !important;
}

.cart-stepper-val {
  min-width: 32px !important;
  text-align: center !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: var(--text-primary, #1a221d) !important;
  line-height: 1 !important;
  user-select: none !important;
  font-family: var(--font-sans, -apple-system, sans-serif) !important;
  transition: transform 0.15s ease !important;
}

.cart-page-total-col {
  text-align: right;
}

.cart-page-row-total {
  font-family: var(--font-sans, -apple-system, sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--elova-green, #13572d) !important;
  letter-spacing: -0.01em !important;
  display: inline-block !important;
  transition: transform 0.15s ease !important;
}

.cart-page-action-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

button.cart-remove-icon-btn,
.cart-remove-icon-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--text-muted, #86928a) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

button.cart-remove-icon-btn:hover,
.cart-remove-icon-btn:hover {
  background: rgba(186, 40, 40, 0.08) !important;
  background-color: rgba(186, 40, 40, 0.08) !important;
  color: #ba2828 !important;
  transform: scale(1.1) !important;
}

button.cart-remove-icon-btn:focus,
button.cart-remove-icon-btn:focus-visible,
button.cart-remove-icon-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #ba2828 !important;
}

button.cart-remove-icon-btn svg {
  width: 17px !important;
  height: 17px !important;
  stroke: currentColor !important;
  transition: stroke 0.2s ease !important;
}

button.cart-remove-icon-btn:hover svg {
  stroke: #ba2828 !important;
}

.cart-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-continue-btn:hover {
  color: var(--elova-green, #13572d) !important;
}

.order-summary-box {
  background: #ffffff;
  border: 1px solid rgba(26, 34, 29, 0.08);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  position: sticky;
  top: calc(var(--header-height, 70px) + 2rem);
  box-shadow: 0 4px 24px rgba(19, 87, 45, 0.04);
}

.order-summary-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary, #1a221d);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 34, 29, 0.08);
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary, #535e57);
}

.summary-line strong {
  color: var(--text-primary, #1a221d);
}

.summary-line .complimentary-badge {
  color: var(--elova-green, #13572d);
  font-weight: 700;
}

.summary-voucher-wrap {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(26, 34, 29, 0.08);
  border-bottom: 1px solid rgba(26, 34, 29, 0.08);
}

.summary-voucher-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.summary-voucher-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(26, 34, 29, 0.12);
  border-radius: 6px;
  font-size: 0.8125rem;
  background: var(--off-white, #faf8f5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.summary-voucher-input:focus {
  border-color: var(--elova-green, #13572d) !important;
  box-shadow: 0 0 0 3px rgba(19, 87, 45, 0.12) !important;
  outline: none !important;
}

.summary-voucher-btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--elova-green, #13572d);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.summary-voucher-btn:hover {
  background: var(--elova-green-dark, #0e3f21) !important;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 34, 29, 0.08);
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.55rem;
  color: var(--text-primary, #1a221d);
}

.summary-total-val {
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--elova-green, #13572d);
}

.cart-checkout-btn {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #13572d 0%, #0a3118 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(19, 87, 45, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  margin-top: 1.5rem;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(19, 87, 45, 0.38);
  background: linear-gradient(135deg, #0e3f21 0%, #06200f 100%) !important;
  color: #ffffff !important;
}

.cart-checkout-btn svg {
  transition: transform 0.2s ease;
}

.cart-checkout-btn:hover svg {
  transform: translateX(4px);
}

.cart-trust-badges {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 34, 29, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  color: var(--text-secondary, #535e57);
}

.cart-trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--elova-green, #13572d);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cart-table-header {
    display: none;
  }

  .cart-page-item-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem;
    position: relative;
  }

  .cart-page-prod-col {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 2.5rem;
  }

  .cart-mobile-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(26, 34, 29, 0.08);
  }

  .cart-page-qty-col {
    justify-content: flex-start;
  }

  .cart-page-total-col {
    text-align: right;
  }

  .cart-page-action-col {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
  }
}

/* ==========================================================================
   21. ELOVA BESPOKE LUXURY MY ACCOUNT & AUTHENTICATION PORTAL
   ========================================================================== */

/* Notice Messages */
.woocommerce-notices-wrapper {
  margin-bottom: 2rem !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px !important;
  padding: 1.15rem 1.5rem !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 1.5rem !important;
  list-style: none !important;
}

.woocommerce-message {
  background: #f0f7f2 !important;
  border-color: rgba(19, 87, 45, 0.25) !important;
  color: #13572d !important;
}

.woocommerce-message .button,
.woocommerce-message a.button {
  float: right !important;
  margin-top: -0.25rem !important;
  background: #13572d !important;
  color: #ffffff !important;
  padding: 0.45rem 1.15rem !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.2s ease !important;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover {
  background: #0e3f21 !important;
  color: #ffffff !important;
}

.woocommerce-info {
  background: #fbf9f4 !important;
  border-color: rgba(197, 160, 89, 0.35) !important;
  color: #8c6a23 !important;
}

.woocommerce-error {
  background: #fdf2f2 !important;
  border-color: rgba(161, 43, 43, 0.25) !important;
  color: #a12b2b !important;
}

.woocommerce-error li {
  margin-bottom: 0.25rem !important;
}

/* Auth Cards & Form Controls */
.elova-custom-input:focus,
.woocommerce-form input.input-text:focus,
.woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-ResetPassword input.input-text:focus {
  border-color: #13572d !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(19, 87, 45, 0.12) !important;
}

.elova-dash-action-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--elova-green, #13572d) !important;
  box-shadow: 0 8px 24px rgba(19, 87, 45, 0.08) !important;
}

.elova-account-nav-link:not(.is-active):hover {
  background: rgba(19, 87, 45, 0.06) !important;
  color: var(--elova-green, #13572d) !important;
  transform: translateX(3px) !important;
}

/* Orders Table */
.elova-luxury-table tr:hover {
  background: rgba(250, 248, 245, 0.6) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .elova-table-responsive table {
    min-width: 600px;
  }

  .elova-member-hero-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Site-Wide Accordion System (PDP, FAQ, Legal) */
.accordion-list {
  border-top: 1px solid var(--color-border, #d8d2c4);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border, #d8d2c4);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.2rem;
  color: var(--text-primary, #1a221d);
  text-align: left;
  background: none !important;
  border: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-header:hover,
.accordion-header:focus {
  background: none !important;
  color: var(--elova-green, #13572d) !important;
  outline: none !important;
}

.accordion-header:hover .accordion-icon,
.accordion-header:focus .accordion-icon {
  color: var(--elova-green, #13572d) !important;
  stroke: var(--elova-green, #13572d) !important;
}

.accordion-icon {
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 1, 0.3, 1), padding 0.3s ease;
}

.accordion-item.is-open .accordion-body {
  max-height: 800px;
  padding-bottom: 1.5rem;
}

/* Keep section destinations clear of the fixed header. */
main [id],
#contact {
  scroll-margin-top: 100px;
}