/** Shopify CDN: Minification failed

Line 891:0 Unexpected "}"

**/
/**
 * HEADER SPACING PROPER FIX
 * 
 * Addresses root causes identified:
 * 1. Sticky header loading as primary state
 * 2. CSS specificity problems  
 * 3. Missing CSS variables
 * 4. Responsive breakpoint conflicts
 * 5. Sticky-only content showing immediately (SAMPLE PACK BUTTON ISSUE)
 * 6. Header hide/reveal scroll behavior
 * 7. Conflicting CSS from base.css and header-spacing-fix.css
 * 8. DUAL STICKY HEADER SYSTEMS: Shopify (.shopify-section-header-sticky) + Custom (.header--sticky)
 * 
 * SOLUTION: Fix the initialization order and CSS cascade properly
 * CRITICAL FIX: Target .section-header where JS actually applies classes
 * AGGRESSIVE OVERRIDES: Prevent initial wrong state from conflicting CSS
 * ULTRA-AGGRESSIVE: Maximum specificity to override everything
 * DUAL SYSTEM FIX: Target BOTH sticky header systems
 */

/* === ULTRA-AGGRESSIVE INITIAL STATE OVERRIDES === */
/* These rules have MAXIMUM specificity and MUST come first */

/* ULTRA FORCE: Reset section-header position with maximum specificity */
/* Soften initial reset to avoid overriding sticky state; allow later sticky rule to win */
.section-header {
  position: relative;
  top: unset;
  transform: none;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* ULTRA FORCE: Reset custom sticky header system */
html body .header.header--sticky,
body .header.header--sticky,
.header.header--sticky,
html body .header,
body .header,
.header {
  position: static !important;
  top: unset !important;
  transform: none !important;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* ULTRA FORCE: Header padding with maximum specificity */
html body .shopify-section-group-header-group .section-header .header,
html body .section-header .header,
body .section-header .header,
.section-header .header,
/* Default mobile padding only when not sticky */
html body .section-header:not(.shopify-section-header-sticky) .header,
body .section-header:not(.shopify-section-header-sticky) .header,
.section-header:not(.shopify-section-header-sticky) .header {
  padding: 10px 1.5rem 0 1.5rem !important; /* bottom 0 to remove extra space */
}

@media screen and (min-width: 990px) {
  html body .shopify-section-group-header-group .section-header .header,
  html body .section-header .header,
  body .section-header .header,
  .section-header .header,
  html body .header.header--sticky,
  body .header.header--sticky,
  .header.header--sticky,
  html body .header,
  body .header,
  .header {
    padding: 20px 3rem 0px 3rem !important; /* Desktop default - FORCED */
  }
}

/* ULTRA FORCE: Hide sticky-only elements with maximum specificity */
html body .shopify-section-group-header-group .section-header .header .header__sample-pack-btn.sticky-only,
html body .section-header .header .header__sample-pack-btn.sticky-only,
body .section-header .header .header__sample-pack-btn.sticky-only,
.section-header .header .header__sample-pack-btn.sticky-only,
html body .header.header--sticky .header__sample-pack-btn.sticky-only,
body .header.header--sticky .header__sample-pack-btn.sticky-only,
.header.header--sticky .header__sample-pack-btn.sticky-only,
html body .header .header__sample-pack-btn.sticky-only,
body .header .header__sample-pack-btn.sticky-only,
.header .header__sample-pack-btn.sticky-only,
html body .header__sample-pack-btn.sticky-only,
body .header__sample-pack-btn.sticky-only,
.header__sample-pack-btn.sticky-only {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ULTRA FORCE: Reset wrapper styles */
html body .shopify-section-group-header-group .header-wrapper,
html body .header-wrapper,
body .header-wrapper,
.header-wrapper {
  position: relative !important;
  top: unset !important;
  transform: none !important;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* === DISABLE CUSTOM STICKY HEADER SYSTEM === */
/* Prevent the custom sticky header system from interfering */

.header--sticky,
.header--sticky-animate,
.header--hidden {
  position: static !important;
  top: unset !important;
  transform: none !important;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Hide placeholder created by custom system */
.header-placeholder {
  display: none !important;
  height: 0 !important;
}

/* Hide sentinel created by custom system */
.sticky-header-sentinel {
  display: none !important;
  visibility: hidden !important;
}

/* === AGGRESSIVE INITIAL STATE OVERRIDES === */
/* These rules MUST come first to prevent wrong initial state */

/* FORCE: Reset any sticky behavior on page load */
.shopify-section-header-sticky:not(.section-header) {
  position: relative !important;
  top: unset !important;
  transform: none !important;
}

/* FORCE: Reset header wrapper sticky behavior from old CSS files */
.header-wrapper {
  position: relative !important;
  top: unset !important;
  transform: none !important;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* FORCE: Reset any sticky spacing that might be applied by default */
.header {
  padding: unset !important; /* Reset everything first */
}

/* FORCE: Ensure default spacing loads immediately */
.header {
  /* Mobile default spacing - FORCE */
  padding: 10px 1.5rem 0 1.5rem !important; /* bottom 0 on primary mobile */
}

@media screen and (min-width: 990px) {
  .header {
    /* Desktop default spacing - FORCE */
    padding: 20px 3rem 0px 3rem !important;
  }
}

/* FORCE: Hide sticky-only elements completely on page load */
.header__sample-pack-btn.sticky-only {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* === MISSING CSS VARIABLES DEFINITIONS === */
:root {
  /* Base spacing variables that are missing */
  --an-space-xs: 4px;
  --an-space-sm: 8px;
  --an-space-md: 12px;
  --an-space-lg: 16px;
  --an-space-xl: 20px;
  --an-space-2xl: 24px;
  
  /* Text size variables */
  --an-text-sm: 14px;
  --an-text-base: 16px;
  --an-text-2xl: 24px;
  
  /* Border variables */
  --an-border-light: #d0d5dd;
  --an-border-medium: #e4e7ec;
  
  /* Border radius */
  --an-border-radius-md: 8px;
  
  /* Letter spacing */
  --an-letter-spacing-normal: normal;
  
  /* Header specific variables */
  --header-default-padding-mobile: 10px 1.5rem;
  --header-default-padding-desktop: 20px 3rem 0px 3rem;
  --header-sticky-padding-mobile: 8px 1.5rem;
  --header-sticky-padding-desktop: 12px 3rem;
  
  /* Header height for calculations: do not set here; owned by foundation/runtime */
}

/* === FIX #1: PREVENT STICKY HEADER FROM BEING PRIMARY STATE === */

/* Reset sticky-header custom element to not be sticky by default */
sticky-header {
  display: block;
  position: relative !important; /* FORCE relative position */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  top: unset !important;
  transform: none !important;
}

/* Do not disable sticky globally. Let .section-header control sticky behavior. */

/* Only apply sticky positioning when the proper class is added by JavaScript to .section-header */
.section-header.shopify-section-header-sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 100;
  background: white !important;
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fallback: when only scrolled-past-header is present, ensure sticky engages */
.section-header.scrolled-past-header {
  position: sticky !important;
  top: 0 !important;
}

/* ULTRA-AGGRESSIVE: Force white background on ALL sticky header elements */
html body .section-header.shopify-section-header-sticky,
html body .section-header.shopify-section-header-sticky .header-wrapper,
html body .section-header.shopify-section-header-sticky .header,
html body .section-header.shopify-section-header-sticky sticky-header,
.section-header.shopify-section-header-sticky,
.section-header.shopify-section-header-sticky .header-wrapper,
.section-header.shopify-section-header-sticky .header,
.section-header.shopify-section-header-sticky sticky-header {
  background: white !important;
  background-color: white !important;
  backdrop-filter: none !important;
  background-image: none !important;
}

/* === FIX #2: PROPER HEADER HIDE/REVEAL BEHAVIOR === */

/* Hidden state: translate header up and out of view - TARGET .section-header */
.section-header.shopify-section-header-hidden {
  transform: translateY(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Reveal animation when scrolling up - TARGET .section-header */
.section-header.shopify-section-header-sticky.animate {
  transform: translateY(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure smooth transitions for all header states */
.header-wrapper,
sticky-header,
.section-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === FIX #3: PROPER DEFAULT HEADER SPACING === */

/* Reset any conflicting padding and set default spacing */
.header {
  padding: unset; /* Reset first */
  /* Mobile default spacing */
  padding: var(--header-default-padding-mobile);
  transition: padding 0.3s ease;
}

@media screen and (min-width: 990px) {
  .header {
    /* Desktop default spacing */
    padding: var(--header-default-padding-desktop);
  }
}

/* === FIX #4: STICKY STATE SPACING (Only when sticky class is active) === */

/* Sticky header compressed spacing - Mobile - TARGET .section-header */
.section-header.shopify-section-header-sticky .header {
  padding: var(--header-sticky-padding-mobile) !important;
}

/* Sticky header compressed spacing - Desktop - TARGET .section-header */
@media screen and (min-width: 990px) {
  .section-header.shopify-section-header-sticky .header {
    padding: var(--header-sticky-padding-desktop) !important;
  }
}

/* === FIX #5: GRID LAYOUT CONSISTENCY === */

/* Mobile Grid Layout */
@media screen and (max-width: 989px) {
  /* Keep header interactive on mobile; do not globally block clicks */
  .section-header,
  .section-header .header,
  .section-header .header-wrapper { pointer-events: auto !important; z-index: 700; position: relative; }
  /* Primary header: refine Row X equivalents (top band) */
  .section-header:not(.shopify-section-header-sticky) .header .header__icons {
    padding-right: 0 !important;
    gap: 8px !important;
  }
  /* Primary: utility trigger visuals */
  .section-header:not(.shopify-section-header-sticky) .header .mobile-utility-trigger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0; margin: 0;
    border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #344054;
  }
  .section-header:not(.shopify-section-header-sticky) .header .mobile-utility-trigger:hover { background: #f8fafc; }
  .section-header:not(.shopify-section-header-sticky) .header .mobile-utility-trigger:focus-visible { outline: 2px solid rgba(52,64,84,0.2); outline-offset: 2px; }
  /* Primary: burger parity */
  .section-header:not(.shopify-section-header-sticky) .header header-drawer .header__icon--menu {
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0; margin: 0; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #344054;
  }
  .section-header:not(.shopify-section-header-sticky) .header header-drawer .header__icon--menu:hover { background: #f8fafc; }
  .section-header:not(.shopify-section-header-sticky) .header header-drawer .header__icon--menu:focus-visible { outline: 2px solid rgba(52,64,84,0.2); outline-offset: 2px; }
  /* Primary: phone row subtle spacing */
  .section-header:not(.shopify-section-header-sticky) .header .header__phone { margin-top: 8px; }
  /* ROW X layout for sticky mobile header */
  .scrolled-past-header .row-x,
  .section-header.shopify-section-header-sticky .row-x {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 48px;
  }
  .section-header.shopify-section-header-sticky .row-x__logo { max-width: 216px; justify-self: center; }
  .section-header.shopify-section-header-sticky .row-x__logo-link { display: grid; place-items: center; width: 100%; height: 100%; line-height: 0; }
  .section-header.shopify-section-header-sticky .row-x__logo-img { display: block; width: 100%; max-width: 216px; height: auto; }
  .section-header.shopify-section-header-sticky header-drawer { margin-left: 0 !important; }
  /* Row X hidden by default on mobile; only visible in sticky state */
  .row-x.small-only { display: none; }
  .section-header.shopify-section-header-sticky .row-x.small-only,
  .scrolled-past-header .row-x.small-only { display: grid !important; }
  .row-x__logo { display: grid; place-items: center; }
  .row-x__logo-link { display: grid; place-items: center; line-height: 0; height: 100%; }
  .row-x__logo-img { display: block; width: 100%; max-width: none; height: auto; }
  .row-x__utility { display: flex; justify-content: flex-end; }
  .row-x__burger { display: block; }

  /* Hide any stray original elements in sticky row area */
  /* CRITICAL FIX: Do NOT hide header-drawer in sticky mode - Row X system doesn't exist */
  /* .section-header.shopify-section-header-sticky .header > header-drawer { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; } */
  /* .section-header.shopify-section-header-sticky .row-x header-drawer { display: block !important; position: static !important; width: auto !important; height: auto !important; } */
  .section-header.shopify-section-header-sticky .header .header__heading,
  .section-header.shopify-section-header-sticky .header a.header__heading-link,
  .section-header.shopify-section-header-sticky .header .header__heading-logo-wrapper { display: none !important; }
  /* Do not hide original elements in primary header */

  /* Prevent any images that leak into row 1 from other sources */
  .section-header.shopify-section-header-sticky .header > img { display: none !important; }
  /* Mobile grid owned by header-foundation.css; no duplicate base grid here */
}

/* Desktop Grid Layout */
@media screen and (min-width: 990px) {
  .header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 2rem;
    row-gap: 1rem;
    align-items: center;
  }
  
  .header .header__heading {
    grid-column: 1/2;
    grid-row: 1/2;
    justify-self: start;
  }
  
  .header .an-header-search {
    grid-column: 2/3;
    grid-row: 1/2;
    justify-self: center;
  }
  
  .header .header__icons {
    grid-column: 3/4;
    grid-row: 1/2;
    justify-self: end;
  }
  
  .header nav.header__inline-menu {
    grid-column: 1/4;
    grid-row: 2/3;
    justify-self: start;
  }
}

/* === FIX #6: STICKY-ONLY CONTENT BEHAVIOR === */

/* FORCE HIDE all sticky-only elements by default with maximum specificity */
.header__sample-pack-btn.sticky-only,
.header .header__sample-pack-btn.sticky-only,
sticky-header .header__sample-pack-btn.sticky-only,
.section-header .header__sample-pack-btn.sticky-only {
  display: none !important;
  opacity: 0 !important;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

/* Show sticky-only elements ONLY when .section-header is sticky and visible (not hidden) */
.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) .header__sample-pack-btn.sticky-only {
  display: inline-flex !important;
  opacity: 1 !important;
  transform: scale(1);
  position: static !important;
  left: unset !important;
  top: unset !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
}

/* Desktop styling for sticky sample pack button */
@media screen and (min-width: 990px) {
  .section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) .header__sample-pack-btn.sticky-only {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #591E66, #742886);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-heading-family);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(116, 40, 134, 0.2);
    white-space: nowrap;
  }
  
  .section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) .header__sample-pack-btn.sticky-only:hover {
    background: linear-gradient(135deg, #742886, #591E66);
    transform: translateY(-1px) scale(1);
    box-shadow: 0 6px 20px rgba(116, 40, 134, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* === MOBILE OPTIMIZATIONS === */
@media screen and (max-width: 989px) {
  /* Ensure sticky wrapper does not clamp inner content width */
  .section-header.shopify-section-header-sticky .header-wrapper,
  .section-header.shopify-section-header-sticky {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .section-header.shopify-section-header-sticky .header-wrapper:before { display: none !important; content: none !important; }

  /* Mobile sticky header optimizations */
  .section-header.shopify-section-header-sticky {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* Lighter shadow for mobile */
  }
  
  /* Mobile: Override any gradient backgrounds */
  .section-header.shopify-section-header-sticky .header-wrapper.gradient,
  .section-header.shopify-section-header-sticky .header-wrapper[class*="color-"] {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
  }
  
  /* Optimize mobile scroll performance */
  .section-header {
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
  }
  
  /* MOBILE STICKY: Grid layout keeps burger | logo | icons in one row */
  .section-header.shopify-section-header-sticky .header {
    padding-top: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important; /* Row X handles its own 3-col layout */
    grid-template-rows: auto auto auto auto !important; /* 1: Row X, 2: Sample Pack, 3: Search, 4: Phone */
    row-gap: 10px !important;
    column-gap: 0 !important;
    align-items: center !important;
    min-height: 100px;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: visible;
  }

  /* Prevent grid children from forcing overflow */
  .section-header.shopify-section-header-sticky .header .header__icons,
  .section-header.shopify-section-header-sticky .header .header__sample-pack-btn,
  .section-header.shopify-section-header-sticky .header .an-header-search,
  .section-header.shopify-section-header-sticky .header .header__heading {
    min-width: 0;
  }
  
  /* Avoid blanket hiding of header children during mobile sticky */
  
  /* Remove aggressive hide list for sticky mobile */
  
  /* Row 2: Sample Pack row with standard gutters */
  .section-header.shopify-section-header-sticky .header .header__icons {
    grid-column: 1/4;
    grid-row: 2/3; /* Row 2: Sample Pack only */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    position: relative;
    min-width: 0;
  }
  /* In sticky state, show ONLY the Sample Pack button in row 2 */
  .section-header.shopify-section-header-sticky .header .header__icons > *:not(.header__sample-pack-btn) { display: none !important; }
  .section-header.shopify-section-header-sticky .header .header__sample-pack-btn { display: inline-flex !important; margin-left: auto; margin-right: auto; }

  /* STRONG OVERRIDE: neutralize nuclear utility width/margin when sticky */
  html[class] body[class] div.shopify-section-group-header-group[class] section.section-header.shopify-section-header-sticky[class] header.header[class] .header__icons[class] {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1.5rem !important;
    justify-content: center !important;
  }

  /* Layering safety to prevent overlap between row 1 and 2 */
  .section-header.shopify-section-header-sticky .header .row-x { z-index: 2; }
  .section-header.shopify-section-header-sticky .header .header__icons { z-index: 1; }
  /* Row 1: Row X placement; full-bleed via zero side padding (no 100vw breakout) */
  .section-header.shopify-section-header-sticky .header .row-x {
    grid-column: 1/2; grid-row: 1/2;
    width: 100% !important; max-width: 100% !important;
    padding-left: 0 !important; padding-right: 0 !important;
  }
  .section-header.shopify-section-header-sticky .row-x__burger { justify-self: start; }
  .section-header.shopify-section-header-sticky .row-x__utility { justify-self: end; }
  .section-header.shopify-section-header-sticky .row-x__utility .mobile-utility-trigger { margin: 0 !important; }
  .section-header.shopify-section-header-sticky .row-x__logo { justify-self: center; }

  /* Sticky Row X: burger button visual parity with utility trigger */
  .section-header.shopify-section-header-sticky .row-x header-drawer .header__icon--menu,
  .section-header.shopify-section-header-sticky .row-x__burger .header__icon--menu {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0; margin: 0;
    border-radius: 10px; border: 1px solid #e5e7eb;
    background: #fff; color: #344054; cursor: pointer;
    line-height: 0;
  }
  .section-header.shopify-section-header-sticky .row-x__burger .header__icon--menu .icon,
  .section-header.shopify-section-header-sticky .row-x header-drawer .header__icon--menu .icon { width: 18px; height: 18px; }
  .section-header.shopify-section-header-sticky .row-x__burger .header__icon--menu:hover,
  .section-header.shopify-section-header-sticky .row-x header-drawer .header__icon--menu:hover { background: #f8fafc; }
  .section-header.shopify-section-header-sticky .row-x__burger .header__icon--menu:focus-visible,
  .section-header.shopify-section-header-sticky .row-x header-drawer .header__icon--menu:focus-visible {
    outline: 2px solid rgba(52,64,84,0.2); outline-offset: 2px;
  }
  /* Keep primary header layout unchanged */
  /* Hide duplicate originals in sticky (logo only - keep burger and utility menu) */
  .section-header.shopify-section-header-sticky .header .header__heading,
  .section-header.shopify-section-header-sticky .header a.header__heading-link { display: none !important; }
  /* CRITICAL FIX: Do NOT hide header-drawer - it's needed for main navigation */
  /* CRITICAL FIX: Do NOT hide mobile utility menu (.medium-hide.large-up-hide) in sticky header */
  /* Hide individual utility icons when dropdown is present */
  .section-header.shopify-section-header-sticky .header .header__icon_settings.small-hide,
  .section-header.shopify-section-header-sticky .header .header__icon--cart.small-hide { display: none !important; }
  /* Keep accessibility spacing for menu */
  .mobile-utility-menu { position: relative; }
  .mobile-utility-menu__button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #344054; cursor: pointer; }
  .mobile-utility-menu__button::-webkit-details-marker { display: none; }
  .mobile-utility-menu__button { list-style: none; }
  .mobile-utility-menu__button:hover { background: #f8fafc; }
  .mobile-utility-menu[open] .mobile-utility-menu__list { display: block; }
  .mobile-utility-menu__list { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; min-width: 200px; box-shadow: 0 10px 30px rgba(16,24,40,.12); z-index: 100; overflow: hidden; }
  .mobile-utility-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; color: #344054; font-weight: 600; font-family: var(--font-heading-family); background: transparent; border: 0; text-decoration: none; }
  .mobile-utility-menu__item:hover { background: #f8fafc; }
  .mobile-utility-menu__icon svg, .mobile-utility-menu__icon img { width: 18px; height: 18px; display: inline-block; }
  .mobile-utility-menu__item span { line-height: 18px; }
  .mobile-utility-menu__overlay { position: fixed; inset: 0; background: rgba(16,24,40,0.25); z-index: 90; }
  body.no-scroll { overflow: hidden; }

  /* Utility Drawer (right sheet) */
  .mobile-utility-trigger { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #344054; cursor: pointer; pointer-events: auto !important; z-index: 131; }
  
  /* CRITICAL FIX: Prevent SVG elements from intercepting clicks */
  .mobile-utility-trigger svg,
  .mobile-utility-trigger svg *,
  .mobile-utility-trigger circle,
  .mobile-utility-trigger path {
    pointer-events: none !important;
  }
  
  /* CRITICAL FIX: Also fix hamburger menu SVG click interception */
  .header__icon--menu svg,
  .header__icon--menu svg *,
  .header__icon--menu path,
  .header__icon--menu line {
    pointer-events: none !important;
  }
  
  /* Mobile utility menu should be visible on mobile */
  @media screen and (max-width: 989px) {
    .mobile-utility-trigger { 
      display: inline-flex !important; 
    }
  }
    
    /* CRITICAL FIX: Ensure hamburger menu is visible and clickable */
    header-drawer,
    .header__icon--menu,
    #Details-menu-drawer-container {
      display: block !important;
      pointer-events: auto !important;
    }
    
    .header__icon--menu {
      display: inline-flex !important;
    }
  }
  .row-x header-drawer .header__icon--menu,
  .row-x__burger .header__icon--menu { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 10px; }
  .mobile-utility-trigger:hover { background: #f8fafc; }
  /* Debug outlines when data-debug present */
  [data-debug] { outline: 0; }
  [data-debug="header-root"] { outline: 1px dashed rgba(52,64,84,.25); }
  [data-debug="primary-phone-row"] { outline: 1px dashed rgba(0,122,255,.35); }
  [data-debug="primary-search"] { outline: 1px dashed rgba(233,84,32,.35); }

  /* Primary header (mobile): logo alignment & size; phone centered */
  @media screen and (max-width: 989px) {
    .section-header:not(.shopify-section-header-sticky) .header { align-items: center !important; }
    .section-header:not(.shopify-section-header-sticky) .header .header__heading {
      grid-column: 2/3 !important; grid-row: 1/2 !important; justify-self: center !important; align-self: center !important; transform: translateX(0);
    }
    .section-header:not(.shopify-section-header-sticky) .header .header__heading-link {
      display: flex; align-items: center; justify-content: center; line-height: 0; text-align: center !important; padding: 0 !important; height: 36px;
    }
    /* Ensure the anchor participates in the same grid cell for primary header */
    .section-header:not(.shopify-section-header-sticky) .header a.header__heading-link {
      grid-column: 2/3 !important;
      grid-row: 1/2 !important;
    }
    .section-header:not(.shopify-section-header-sticky) .header .header__heading-logo-wrapper {
      display: flex; align-items: center; justify-content: center;
      width: auto !important;
      position: static !important; top: 0 !important; transform: none !important;
    }
    .section-header:not(.shopify-section-header-sticky) .header .header__heading-logo { max-width: clamp(177px, 34vw, 200px) !important; height: auto !important; position: static !important; top: 0 !important; transform: translateY(10px) !important; }
    .section-header:not(.shopify-section-header-sticky) .header .header__phone {
      grid-column: 1/4; width: 100%; text-align: center; padding: 6px 0;
    }
    .section-header:not(.shopify-section-header-sticky) .header .header__phone .header__phone-link {
      display: inline-block; white-space: nowrap;
    }
  }
  /* Utility drawer styles moved to assets/utility-drawer.css (late-loaded, no !important) */
  body.utility-drawer-open .header-wrapper { border-bottom: 0 !important; box-shadow: none !important; }

  /* Keep the utility UI interactive */
  body.utility-drawer-open .section-header .mobile-utility-drawer,
  body.utility-drawer-open .section-header .mobile-utility-overlay,
  body.utility-drawer-open .section-header .mobile-utility-trigger,
  body.utility-drawer-closing .section-header .mobile-utility-drawer,
  body.utility-drawer-closing .section-header .mobile-utility-overlay,
  body.utility-drawer-closing .section-header .mobile-utility-trigger { pointer-events: auto !important; }
  .mobile-utility-drawer__header { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #eef2f6; }
  .mobile-utility-drawer__title { grid-column: 2/3; justify-self: center; align-self: center; font-family: 'SatoshiVariable', var(--font-heading-family), sans-serif; font-weight: 700; font-size: 16px; line-height: 20px; color: #344054; }
  .mobile-utility-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #344054; transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease; }
  .mobile-utility-drawer__close:hover { background: #f8fafc; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
  .mobile-utility-drawer__close:active { transform: scale(0.96); }
  .mobile-utility-drawer__close-x { transition: transform .18s ease; }
  .mobile-utility-drawer__close:hover .mobile-utility-drawer__close-x { transform: rotate(-90deg) scale(1.05); }
  .mobile-utility-drawer__spacer { width: 36px; height: 36px; }
  .mobile-utility-drawer__content { flex: 1 1 auto; padding: 8px 12px 20px 12px; overflow-y: auto; background: #fff; }
  .mobile-utility-drawer__settings { padding: 8px 4px; }
  .mobile-utility-drawer__actions { display: grid; gap: 6px; padding: 6px 4px 12px 4px; }
  /* Compact items pattern (match desktop) */
  .compact-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid #eef2f6; background: #fff; text-decoration: none; color: #344054; font-family: var(--font-heading-family); }
  .compact-item:hover { background: #f8fafc; }
  .compact-item__icon svg, .compact-item__icon img { width: 20px; height: 20px; display: inline-block; }
  .compact-item__label { font-weight: 600; }
  .compact-item__chevron svg { width: 18px; height: 18px; color: #98A2B3; }
  /* Saved toast */
  .mobile-utility-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; background: #101828; color: #fff; border-radius: 9999px; padding: 8px 14px; font-family: 'SatoshiVariable', var(--font-heading-family), sans-serif; font-size: 12px; line-height: 16px; opacity: 0; pointer-events: none; transition: opacity .18s ease; z-index: 120; }
  .mobile-utility-toast.show { opacity: 0.95; }
  /* Ensure icons inside drawer render currentColor by default */
  .mobile-utility-drawer__icon svg { color: #344054; }

  /* Embedded settings dropdown in utility drawer (native, not modal) */
  .mobile-utility-drawer .header__settings-dropdown { position: static !important; top: auto !important; right: auto !important; left: auto !important; width: 100% !important; max-width: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; background: #fff !important; display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .mobile-utility-drawer .header__settings-dropdown .settings-section { padding: 12px 16px; border-bottom: 1px solid #eef2f6; }
  .mobile-utility-drawer .header__settings-dropdown .settings-actions { display: none !important; }
  .mobile-utility-drawer .header__settings-dropdown .button { width: 100%; }
  /* Settings content uses small-hide / medium-hide in header; force visible inside drawer */
  .mobile-utility-drawer .header__settings-dropdown .small-hide,
  .mobile-utility-drawer .header__settings-dropdown .medium-hide { display: block !important; }
  /* Remove any extra offset on the calculator icon */
  .section-header.shopify-section-header-sticky .header .an-calc-header-icon { margin-left: 0 !important; }
  .section-header.shopify-section-header-sticky .header .header__sample-pack-btn.sticky-only {
    max-width: calc(100% - 3rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .section-header.shopify-section-header-sticky .header .header__icons > * { flex: 0 0 auto; }
  .section-header.shopify-section-header-sticky .header .header__sample-pack-btn.sticky-only {
    position: static;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
  /* Ensure mobile rules in other files do not override sticky row placement */
  .section-header.shopify-section-header-sticky .header .header__icons { grid-column: 1/4 !important; grid-row: 2/3 !important; }

  /* Row 3: search full width */
  .section-header.shopify-section-header-sticky .header .an-header-search {
    grid-column: 1/4;
    grid-row: 3/4;
    justify-self: center;
    width: 100%;
    max-width: 100%;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    position: relative;
    z-index: 1;
    border: none !important;
  }
  /* Row 1: right-justify logo next to burger and slightly increase size */
  .section-header.shopify-section-header-sticky .header .header__heading {
    grid-column: 2/3 !important;
    grid-row: 1/2 !important;
    justify-self: end !important; /* push logo to the right within center column */
  }
  .section-header.shopify-section-header-sticky .header .header__heading-link { text-align: right !important; }
  .section-header.shopify-section-header-sticky .header .header__heading-logo-wrapper { display: flex; align-items: center; justify-content: flex-end !important; }
  .section-header.shopify-section-header-sticky .header .header__heading-logo { max-width: clamp(140px, 32vw, 180px) !important; height: auto !important; }
  
  /* Search bar styling in mobile sticky */
  .section-header.shopify-section-header-sticky .an-header-search .search-modal__content {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 0;
    width: calc(100% - 3rem); /* container width minus horizontal padding */
    max-width: calc(100% - 3rem);
    margin: 0 auto;
    box-shadow: none;
    transition: none;
    order: 1;
  }

  /* Row 4: phone number centered under search */
  .section-header.shopify-section-header-sticky .header .header__phone {
    grid-column: 1/2; /* sticky header uses a single column */
    grid-row: 4/5;
    width: 100%;
    max-width: 100%;
    justify-self: center;
    text-align: center;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .section-header.shopify-section-header-sticky .header .header__phone .header__phone-link {
    display: inline-block;
    white-space: nowrap;
    margin-top: 6px;
  }
  
  /* Clean mobile sticky header - search bar only */
  @media screen and (max-width: 989px) {
    .section-header.shopify-section-header-sticky .an-header-search {
      /* Clean styling without debug borders */
    }
    
    /* Hide any pseudo-elements or counters that might create the "2" */
    .section-header.shopify-section-header-sticky .an-header-search::before,
    .section-header.shopify-section-header-sticky .an-header-search::after,
    .section-header.shopify-section-header-sticky .header::before,
    .section-header.shopify-section-header-sticky .header::after {
      display: none !important;
      content: none !important;
    }
    
    /* Hide any potential grid line numbers or debugging elements */
    .section-header.shopify-section-header-sticky * {
      counter-reset: none !important;
    }
  }
  
  /* Remove embedded mobile announcement bar hooks (not used) */
  .mobile-announcement-bar-embedded { }
  
  /* Removed debug force-visibility rules */
  

  
  .section-header.shopify-section-header-sticky .an-header-search .search-modal__content:focus-within { border: none; box-shadow: none; }
  
  .section-header.shopify-section-header-sticky .an-header-search input {
    background: transparent;
    border: none;
    font-size: 15px;
    width: 100%;
    text-align: center;
    color: #333;
  }
  
  .section-header.shopify-section-header-sticky .an-header-search input::placeholder {
    color: #666;
    font-weight: 400;
  }
  
  /* Do not suppress external mobile announcement bar wrapper */
  
  /* Removed coupling to body.mobile-sticky-active */
  
  /* Removed embedded mobile announcement bar block */
  
  /* Removed embedded mobile menu button */
  

  
  /* Removed embedded hamburger visuals */
  
  /* Removed embedded hover effects */
  
  /* Removed embedded sample pack button */
  
  /* Hide desktop sample pack button on mobile when sticky */
  .section-header.shopify-section-header-sticky .header__sample-pack-btn.sticky-only {
    display: none !important;
  }
  

  
  /* Removed desktop suppression for embedded bar */
  
  /* Ensure smooth transitions on mobile */
  .section-header.shopify-section-header-hidden {
    transform: translateY(-100%) !important;
    transition: transform 0.25s ease-out !important; /* Faster on mobile */
  }
  
  .section-header.shopify-section-header-sticky.animate {
    transform: translateY(0) !important;
    transition: transform 0.25s ease-out !important; /* Faster on mobile */
  }
}

/* === FIX #7: SCROLL BEHAVIOR ENHANCEMENTS === */

/* Ensure header appears above all content when sticky - TARGET .section-header */
.section-header.shopify-section-header-sticky {
  z-index: 1000;
}

/* Add subtle shadow when header is sticky and visible - TARGET .section-header */
.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Smooth logo size transition for reduce-logo-size sticky type */
.scrolled-past-header .header__heading-logo-wrapper {
  transition: width 0.3s ease;
}

@media screen and (max-width: 989px) {
  /* Keep logo size stable on mobile when sticky */
  .scrolled-past-header .header__heading-logo-wrapper { width: auto !important; }
}

/* === FIX #8: ANNOUNCEMENT BAR COORDINATION === */

/* Ensure announcement bar doesn't interfere with header positioning */
body {
  padding-top: 0;
}

/* Account for sticky announcement bar on mobile */
@media screen and (max-width: 989px) {
  .an-announcement-bar.mobile-sticky ~ main,
  .an-announcement-bar.mobile-sticky ~ .main-content {
    padding-top: 60px;
  }
}

/* === FIX #9: INITIALIZATION FLASH PREVENTION === */

/* Prevent flash of wrong content during initialization */
sticky-header:not(.initialized) {
  opacity: 0.99;
}

sticky-header.initialized {
  opacity: 1;
}

/* === DEBUGGING HELPERS === */

/* Add this class to body for debugging: <body class="debug-header"> */
.debug-header .header {
  outline: 2px dashed red;
}

.debug-header .header > * {
  outline: 1px solid blue;
}

.debug-header .section-header::before {
  content: "Default State";
  position: absolute;
  top: 0;
  left: 0;
  background: green;
  color: white;
  padding: 2px 6px;
  font-size: 11px;
  z-index: 1000;
}

.debug-header .section-header.shopify-section-header-sticky::before {
  content: "Sticky State";
  background: orange;
}

.debug-header .section-header.shopify-section-header-hidden::before {
  content: "Hidden State";
  background: red;
}

.debug-header .scrolled-past-header::after {
  content: "Scrolled Past";
  position: absolute;
  top: 20px;
  right: 0;
  background: blue;
  color: white;
  padding: 2px 6px;
  font-size: 11px;
  z-index: 1000;
}

/* === CLEAN UP CONFLICTING RULES === */

/* Remove any conflicting padding that might interfere */
header.header {
  padding: unset;
}

/* Ensure consistent box-sizing */
.header,
.header * {
  box-sizing: border-box;
}

/* Override any conflicting transform rules */
sticky-header {
  transform: none !important;
}

.section-header.shopify-section-header-hidden {
  transform: translateY(-100%) !important;
}

/* === AGGRESSIVE OVERRIDES FOR CONFLICTING CSS FILES === */

/* Override header-spacing-fix.css and base.css conflicting rules */
.shopify-section-header-sticky .header-wrapper {
  position: static !important;
  top: unset !important;
  background: unset !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Only apply wrapper styles when section-header is actually sticky */
.section-header.shopify-section-header-sticky .header-wrapper {
  background: white !important;
  background-color: white !important;
}

/* Override any gradient or color scheme backgrounds when sticky */
.section-header.shopify-section-header-sticky .header-wrapper.gradient,
.section-header.shopify-section-header-sticky .header-wrapper.color-scheme-1,
.section-header.shopify-section-header-sticky .header-wrapper.color-scheme-2,
.section-header.shopify-section-header-sticky .header-wrapper.color-scheme-3,
.section-header.shopify-section-header-sticky .header-wrapper[class*="color-"] {
  background: white !important;
  background-color: white !important;
  background-image: none !important;
}

/**
 * IMPLEMENTATION NOTES:
 * 
 * CRITICAL FIX: JavaScript applies classes to .section-header, not sticky-header
 * AGGRESSIVE OVERRIDES: Prevents conflicting CSS from base.css and header-spacing-fix.css
 * ULTRA-AGGRESSIVE: Maximum specificity overrides for stubborn conflicting rules
 * DUAL SYSTEM FIX: Targets BOTH sticky header systems (Shopify + Custom)
 * 
 * ROOT CAUSE IDENTIFIED: TWO STICKY HEADER SYSTEMS RUNNING SIMULTANEOUSLY!
 * 1. Shopify built-in: .shopify-section-header-sticky (in header.liquid)
 * 2. Custom system: .header--sticky (in sticky-header.js via header-lazy-components.js)
 * 
 * This fix creates the COMPLETE scroll behavior:
 * 
 * 1. PAGE LOAD: Normal header with default spacing, no sticky elements (ULTRA-FORCED)
 * 2. SCROLL DOWN: Header disappears completely (translateY(-100%))
 * 3. SCROLL UP: Sticky header appears with compressed spacing + sample pack button
 * 4. SCROLL TO TOP: Returns to normal header state
 * 
 * BEHAVIOR BREAKDOWN:
 * - Default: .section-header (normal spacing, relative position) - ULTRA-FORCED with !important
 * - Sticky: .section-header.shopify-section-header-sticky (compressed spacing, sticky position, sample pack visible)
 * - Hidden: .section-header.shopify-section-header-hidden (translateY(-100%), completely hidden)
 * - Custom System: .header--sticky (DISABLED with this fix)
 * 
 * The sample pack button only shows when .section-header is sticky AND not hidden.
 * 
 * CONFLICTS RESOLVED:
 * - base.css: Generic .shopify-section-header-sticky rule overridden
 * - header-spacing-fix.css: Old rules with !important overridden
 * - Initial state forced with ultra-aggressive !important rules
 * - Maximum specificity selectors to override everything
 * - Custom sticky header system completely disabled
 * 
 * TO TEST:
 * 1. Page load: Normal header, no sample pack button - ULTRA-FORCED CORRECT STATE
 * 2. Scroll down: Header disappears completely
 * 3. Scroll up: Sticky header with sample pack button appears
 * 4. Scroll to top: Back to normal header
 * 
 * Expected Initial State:
 * - POSITIONS: wrapper=relative, section=relative
 * - PADDING: 20px 48px 0px 48px (desktop)
 * - SAMPLE BTN: display=none, visibility=hidden
 * 
 * TO DEBUG:
 * Add class="debug-header" to <body> tag for visual state indicators
 */ 

/* === FINAL OVERRIDES: Ensure header background is never transparent === */
html body .section-header,
html body .section-header .header-wrapper,
html body .section-header .header,
.section-header,
.section-header .header-wrapper,
.section-header .header {
	background: rgb(var(--color-background)) !important;
	background-color: rgb(var(--color-background)) !important;
	backdrop-filter: none !important;
}

/* When any mega menu is open, keep the header solid and above content */
.mega-menu[open] ~ .header-wrapper,
.mega-menu[open] ~ .header {
	background: rgb(var(--color-background)) !important;
	background-color: rgb(var(--color-background)) !important;
}

/* When native header drawer is open, keep header solid */
#menu-drawer[open] ~ .header-wrapper,
#menu-drawer[open] ~ .header,
header-drawer[open] ~ .header-wrapper,
header-drawer[open] ~ .header {
	background: rgb(var(--color-background)) !important;
	background-color: rgb(var(--color-background)) !important;
}

/* === PRODUCTION READY === */

/* NUCLEAR OPTION: Force utility alignment with maximum specificity */
@media screen and (max-width: 989px) {
  /* Remove nuclear behavior. Keep this as a no-op block for future scoped fixes */
}

/* === ULTIMATE GRID OVERRIDE - P0 FIX === */
/* 
 * CRITICAL: Solves the 5-column vs 3-column grid conflict identified in snagging list
 * Target: css-bundle-sections.css lines 1043 & 17831 that force 5-column layout
 * Strategy: Maximum specificity without inline styles - loads before problematic bundle
 * Acceptance: burger | centered logo | right utility trigger with no drift at 360-414px
 */

/* ULTIMATE OVERRIDE: Maximum specificity for mobile 3-column grid */
@media screen and (max-width: 989px) {
  /* Primary grid now defined in header-foundation.css; keep this file sticky-focused */
}

/* ULTIMATE OVERRIDE: Sticky header maintains same 3-column grid (REMOVED in favor of Row X control) */

/* === ABSOLUTE NUCLEAR OVERRIDE === (REMOVED after consolidation to foundation + sticky rules) */