/** Shopify CDN: Minification failed

Line 730:0 Expected "}" to go with "{"

**/
/* ============================================================================
   sk-header.css — Apple-store-inspired header redesign (AAC, GitHub issue #117)
   Scope: desktop nav section (.section-header-navigation) + mobile header
   (.section-header-mobile). Loaded from header-navigation-basic.liquid (and
   header-mobile.liquid). Namespaces: .sk-hdr / .sk-nav (verified free).
   Brand tokens mirror the sk-* system: ink #0e1116, gold #8f6e1a/#d4af37.
   ============================================================================ */
:root {
  --sk-hdr-ink: #0e1116;
  --sk-hdr-ink-soft: #4a4f57;
  --sk-hdr-gold: #8f6e1a;
  --sk-hdr-underline: #D4AF37; /* matches the page sub-menu (.sk-sn) active underline */
  --sk-hdr-hairline: rgba(14, 17, 22, 0.10);
  --sk-hdr-bg: #ffffff;
  --sk-hdr-pad-x: 22px;
}

/* ---------------------------------------------------------------------------
   1) Desktop single-row layout (Ella renders this section only >= 1025px)
   --------------------------------------------------------------------------- */
@media screen and (min-width: 1025px) {
  .section-header-navigation .header-nav-basic {
    background: var(--sk-hdr-bg);
    border-bottom: 1px solid var(--sk-hdr-hairline);
  }
  .section-header-navigation .header-nav-basic .container {
    min-height: 56px;
    column-gap: 18px;
  }

  /* Balanced 3 zones so the centered menu is truly centered regardless of the
     logo / icon-cluster widths. Beats the section inline <style> via specificity. */
  .section-header-navigation .header-nav-basic .header-logo {
    flex: 1 1 0 !important;
    max-width: none !important;
    justify-content: flex-start !important;
    align-items: center !important;
    align-self: center !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .section-header-navigation .header-nav-basic .header-logo .header__heading,
  .section-header-navigation .header-nav-basic .header-logo .header__heading-link {
    display: flex !important;
    align-items: center !important;
  }
  .section-header-navigation .header-nav-basic .main-menu.header-item--side {
    flex: 0 1 auto !important;
    width: auto !important;
    justify-content: center !important;
  }
  .section-header-navigation .header-nav-basic .header-icons.header-item--side {
    flex: 1 1 0 !important;
    width: auto !important;
    justify-content: flex-end !important;
    align-items: center !important;
    align-self: center !important;
    margin-top: 0 !important;   /* cancel Ella's inline margin-top:-2px that lifts the icons */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Vertically center the nav LINKS with the logo + icons. Ella's menu top/bottom
     spacing makes .main-menu ~56px tall with the links pinned to the top 38px;
     collapse that vertical spacing so the 38px nav centers in the row. */
  .section-header-navigation .header-nav-basic .main-menu,
  .section-header-navigation .header-nav-basic .main-menu > .container,
  .section-header-navigation .header-nav-basic .main-menu--wrapper,
  .section-header-navigation .header-nav-basic .main-menu .header__inline-menu,
  .section-header-navigation .header-nav-basic .main-menu .list-menu--inline {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* the last item (Contact / .menu-lv-1__action) carries menu_bottom_spacing as
     padding-bottom — match it to the other links so the nav row height is uniform */
  .section-header-navigation .header-nav-basic .header__inline-menu .menu-lv-1__action {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  /* Ella's .container is box-sizing:content-box (theme bug): at narrow desktop widths
     width:100% + its 30px side padding overflows the viewport and clips the cart icon.
     Force border-box so the header row always fits within the screen. */
  .section-header-navigation .header-nav-basic .container { box-sizing: border-box !important; }
  /* The inner .container carries min-height:56px with block flow, which pins the
     38px nav to its TOP (9px above the row center). Center its content so the nav
     lines up with the logo + search/cart icons. */
  .section-header-navigation .header-nav-basic .main-menu > .container {
    display: flex !important;
    align-items: center !important;
  }
  /* Flex-center the WHOLE nav chain so the links sit on the exact row center on every
     page. Inline-block line-box space made the wrapper/nav/ul taller than the 38px links
     on some pages (e.g. the cart page), pushing the nav ~5px high; flexing each level
     collapses them to content height and centers deterministically. */
  .section-header-navigation .header-nav-basic .main-menu--wrapper,
  .section-header-navigation .header-nav-basic .header__inline-menu,
  .section-header-navigation .header-nav-basic .header__inline-menu > ul {
    display: flex !important;
    align-items: center !important;
  }
  .section-header-navigation .header-nav-basic .header__inline-menu > ul { flex-wrap: nowrap !important; }

  /* keep search + cart icons on the exact vertical center of the nav text */
  .section-header-navigation .header-nav-basic .header-icons .header__icon,
  .section-header-navigation .header-nav-basic .header-icons .header__search,
  .section-header-navigation .header-nav-basic .header-icons .search_details,
  .section-header-navigation .header-nav-basic .header-icons .header__icon--summary {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
  }
  .section-header-navigation .header-nav-basic .header-icons .sk-hdr__ic { display: block !important; vertical-align: middle !important; }
  .section-header-navigation .header-nav-basic .header__icon--cart .icon { margin-top: 0 !important; }

  /* Icon-only logo */
  .section-header-navigation .sk-hdr__icon-logo {
    width: 46px;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
  }
  .section-header-navigation .header__heading-link:hover .sk-hdr__icon-logo { opacity: 0.7; }

  /* Nav typography — Apple-clean: Title Case (no uppercase), medium weight,
     calm spacing, subtle gold hover underline. */
  .section-header-navigation .header__inline-menu .list-menu--inline { gap: 2px; }
  .section-header-navigation .header__inline-menu a,
  .section-header-navigation .header__inline-menu .header__menu-item,
  .section-header-navigation .header__inline-menu .menu-lv-1__action,
  .section-header-navigation .header__inline-menu .menu-lv-1__action .text {
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    color: var(--sk-hdr-ink) !important;
  }
  .section-header-navigation .header__inline-menu > ul > li > a {
    padding: 8px 16px !important;
    position: relative;
  }
  /* hover/focus underline accent */
  .section-header-navigation .header__inline-menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 3px;
    height: 2px;
    background: var(--sk-hdr-underline);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }
  .section-header-navigation .header__inline-menu > ul > li:hover > a::after,
  .section-header-navigation .header__inline-menu > ul > li:focus-within > a::after {
    transform: scaleX(1);
  }

  /* Neutralize Ella's "CTA button" styling on the last nav item (menu-lv-1__action)
     so every top-level item reads identically (Apple-uniform). */
  .section-header-navigation .header__inline-menu .menu-lv-1__action {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--sk-hdr-ink) !important;
    padding: 8px 14px !important;
  }
  .section-header-navigation .header__inline-menu .menu-lv-1__action .text { color: var(--sk-hdr-ink) !important; }

  /* Right-side action cluster: icon-only search + cart (modern, Apple-clean) */
  .section-header-navigation .header-nav-basic .header-icons { column-gap: 22px !important; }
  .section-header-navigation .header__icon--search .text,
  .section-header-navigation .header__icon--search .text-open {
    display: none !important; /* Apple shows the magnifier only, no "Search" label */
  }
  .section-header-navigation .header-nav-basic .header__icon { color: var(--sk-hdr-ink); }
  .section-header-navigation .header-nav-basic .header__icon .sk-hdr__ic {
    width: 24px; height: 24px;
    stroke: currentColor;
    transition: color 0.18s ease, stroke 0.18s ease;
  }
  /* the bag shape is visually narrower than the magnifier — render it a touch larger so they read the same size */
  .section-header-navigation .header-nav-basic .header__icon--cart .sk-hdr__ic--bag { width: 26px; height: 26px; }
  /* hover icons go bright gold, matching the nav underline accent */
  .section-header-navigation .header-nav-basic .header__icon:hover { color: var(--sk-hdr-underline); }
  .section-header-navigation .header-nav-basic .header__icon:hover .sk-hdr__ic { stroke: var(--sk-hdr-underline); }
  .section-header-navigation .header-nav-basic .header__icon--cart { padding-right: 0 !important; position: relative; }

  /* Subtle cart count: a tiny dot at the top-right of the bag — never covers it.
     left:auto cancels Ella's left:5px that was stretching the badge across the icon. */
  .section-header-navigation .header__icon--cart .cart-count-bubble {
    position: absolute !important;
    top: -3px !important; right: -4px !important; left: auto !important; bottom: auto !important;
    min-width: 14px !important; width: auto !important;
    height: 14px !important; min-height: 14px !important; max-height: 14px !important;
    padding: 0 3px !important;
    box-sizing: border-box;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: var(--sk-hdr-underline);
    color: #fff;
    border-radius: 999px;
    font-size: 9px; font-weight: 700; line-height: 1;
  }
  .section-header-navigation .cart-count-bubble .visually-hidden { display: none !important; }
  .section-header-navigation .cart-count-bubble .text,
  .section-header-navigation .cart-count-bubble [data-cart-count] {
    display: block !important; line-height: 1 !important; height: auto !important;
    min-height: 0 !important; padding: 0 !important; margin: 0 !important; align-self: center !important;
  }
  .section-header-navigation .header__icon--cart .cart-count-bubble.sk-hdr__bubble--empty { display: none !important; }
}

/* ---------------------------------------------------------------------------
   2) Apple-style header search: the panel DROPS DOWN beneath the menu bar
   instead of covering it. Ella's default makes the search a full-screen dark
   overlay (position:fixed; top:0; height:100vh; background rgba(35,35,35,.8)) —
   we re-anchor it under the header (top: --header-height), keep the nav visible,
   add a soft slide-down + a light scrim that dims only the page BELOW the bar.
   --------------------------------------------------------------------------- */
.section-header-navigation.sticky-search-menu-open .header-nav-basic details > .search-modal {
  position: fixed !important;
  top: var(--header-height, 62px) !important;
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100% !important; height: auto !important; margin: 0 !important;
  padding: 0 !important;
  background: rgba(14, 17, 22, 0.32) !important;   /* scrim BELOW the header only */
  z-index: 60 !important;
}
/* the white search panel that slides out of the bar */
.section-header-navigation.sticky-search-menu-open .search-modal__content {
  background: #fff !important;
  border-top: 1px solid var(--sk-hdr-hairline) !important;
  box-shadow: 0 20px 44px rgba(14, 17, 22, 0.16) !important;
  padding: 22px 0 26px !important;
  max-height: calc(100vh - var(--header-height, 62px)) !important;
  overflow-y: auto !important;
  animation: skSearchDrop 0.28s ease both !important;
}
@keyframes skSearchDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
/* slim, subtle search field — a quiet magnifier sits INSIDE on the left (no chunky
   dark button); compact height; light border that lifts gently on focus */
.section-header-navigation.sticky-search-menu-open .search-modal__form { max-width: 100% !important; border-bottom: 0 !important; }
.section-header-navigation.sticky-search-menu-open .search-modal__form .field {
  position: relative !important; display: block !important;
  border: 1px solid var(--sk-hdr-hairline) !important; border-radius: 10px !important;
  background: #fff !important; margin: 0 !important; padding: 0 !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}
.section-header-navigation.sticky-search-menu-open .search-modal__form .field:focus-within {
  border-color: rgba(14, 17, 22, 0.28) !important;
  box-shadow: 0 0 0 3px rgba(14, 17, 22, 0.05) !important;
}
.section-header-navigation.sticky-search-menu-open .search__input {
  width: 100% !important; box-sizing: border-box !important;
  font-size: 15px !important; line-height: 1 !important;
  padding: 11px 16px 13px 44px !important;  /* 1px less top → text glyphs optically centered */
  border: 0 !important; background: transparent !important;
}
/* the submit control becomes a subtle left-aligned magnifier glyph; nudged up ~1.5px
   so the handle-weighted icon reads optically centered (matches the × glyph) */
.section-header-navigation.sticky-search-menu-open .search__button {
  position: absolute !important; left: 15px !important; top: 50% !important;
  transform: translateY(calc(-50% - 1.5px)) !important;
  width: 20px !important; min-width: 0 !important; height: 20px !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: var(--sk-hdr-ink-soft) !important; padding: 0 !important; margin: 0 !important;
}
.section-header-navigation.sticky-search-menu-open .search__button svg { width: 17px !important; height: 17px !important; color: var(--sk-hdr-ink-soft) !important; }

/* × close — parked in the panel's FAR top-right corner (near the header's right edge),
   not at the search bar's right end */
/* the .container holds [close + form(bar + results)], so it grows tall when results
   show — the bar is pinned to the container TOP, so center the × against the bar with
   a small fixed offset (NOT 50%, which would drop into the results). */
.section-header-navigation.sticky-search-menu-open .header-search-close {
  position: absolute !important; top: 8px !important; right: 16px !important; left: auto !important; bottom: auto !important;
  transform: none !important;
  float: none !important; margin: 0 !important; padding: 6px !important; z-index: 3 !important;
  width: auto !important; height: auto !important;
}
.section-header-navigation.sticky-search-menu-open .header-search-close svg { width: 17px !important; height: 17px !important; fill: var(--sk-hdr-ink-soft) !important; }
.section-header-navigation.sticky-search-menu-open .header-search-close:hover svg { fill: var(--sk-hdr-ink) !important; }
/* results flow INSIDE the white panel (not an absolute overlay over the scrim) */
.section-header-navigation.sticky-search-menu-open .quickSearchResultsWrap {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important;
  width: 100% !important;
  margin-top: 16px !important;
  box-shadow: none !important;
  border-top: 1px solid var(--sk-hdr-hairline) !important;
  padding-top: 16px !important;
}
.section-header-navigation.sticky-search-menu-open .header-search-close svg { fill: var(--sk-hdr-ink-soft) !important; }

/* empty-state "Quick search" chips (shown when the box is empty) */
.section-header-navigation .sk-hdr-quicklinks .quickSearchResults { padding: 0 !important; }
.section-header-navigation .sk-search-quicklinks {
  display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 10px !important;
  padding: 6px 0 2px !important;
}
.section-header-navigation .sk-search-quicklinks__label {
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.14em !important;
  text-transform: uppercase !important; color: var(--sk-hdr-ink-soft) !important; margin-right: 4px !important;
}
.section-header-navigation .sk-search-chip {
  display: inline-flex !important; align-items: center !important;
  padding: 8px 16px !important; border-radius: 999px !important;
  background: rgba(14,17,22,0.05) !important; color: var(--sk-hdr-ink) !important;
  font-size: 13px !important; font-weight: 500 !important; line-height: 1 !important;
  border: 1px solid transparent !important; transition: background-color 0.16s ease, border-color 0.16s ease !important;
}
.section-header-navigation .sk-search-chip:hover {
  background: #fff !important; border-color: var(--sk-hdr-ink) !important; color: var(--sk-hdr-ink) !important;
}

/* ---------------------------------------------------------------------------
   3) Account header inside the cart pop-out (Phase 3). Profile lives here now,
   not in the header. Reuses Ella's auth sidebar via [data-open-auth-sidebar].
   --------------------------------------------------------------------------- */
.halo-cart-sidebar .sk-cart-acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 20px;
  border-bottom: 1px solid var(--sk-hdr-hairline);
}
/* signed-out: full-width tappable sign-in row */
.halo-cart-sidebar .sk-cart-acct__signin {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--sk-hdr-ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.halo-cart-sidebar .sk-cart-acct__icon { display: inline-flex; }
.halo-cart-sidebar .sk-cart-acct__icon svg { width: 20px; height: 20px; }
.halo-cart-sidebar .sk-cart-acct__signin-text { flex: 1 1 auto; }
.halo-cart-sidebar .sk-cart-acct__chev { font-size: 20px; line-height: 1; color: var(--sk-hdr-ink-soft); transition: transform 0.18s ease; }
.halo-cart-sidebar .sk-cart-acct__signin:hover { color: var(--sk-hdr-gold); }
.halo-cart-sidebar .sk-cart-acct__signin:hover .sk-cart-acct__chev { transform: translateX(3px); color: var(--sk-hdr-gold); }
/* signed-in: name (left) + quick links (right) on ONE compact row */
.halo-cart-sidebar .sk-cart-acct__name { font-weight: 600; font-size: 14px; color: var(--sk-hdr-ink); white-space: nowrap; }
.halo-cart-sidebar .sk-cart-acct__links { display: flex; gap: 14px; flex-shrink: 0; }
.halo-cart-sidebar .sk-cart-acct__link { font-size: 12px; font-weight: 600; color: var(--sk-hdr-gold); text-decoration: none; white-space: nowrap; }
.halo-cart-sidebar .sk-cart-acct__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   3b) Cart pop-out layout: a proper flex column so the items list SCROLLS and
   the totals + Checkout/View-Cart footer stays PINNED — handles many items.
   Structure: drawer > [close][header][sk-cart-acct][wrapper]
              wrapper > cart-coupon-discount > previewCart-wrapper >
                        [.previewCart (items)] [.previewCartTool] [.previewCartInfo (totals+checkout)]
   --------------------------------------------------------------------------- */
#halo-cart-sidebar.halo-cart-sidebar {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}
#halo-cart-sidebar > .halo-sidebar-close,
#halo-cart-sidebar > .halo-sidebar-header,
#halo-cart-sidebar > .sk-cart-acct { flex: 0 0 auto !important; }

/* items list grows + scrolls; the totals/checkout footer sits at the very bottom */
#halo-cart-sidebar .halo-sidebar-wrapper {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#halo-cart-sidebar .halo-sidebar-wrapper > cart-coupon-discount,
#halo-cart-sidebar .previewCart-wrapper {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
}
#halo-cart-sidebar .previewCart {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
#halo-cart-sidebar .previewCartInfo { flex: 0 0 auto !important; }

/* remove the note + coupon tool boxes entirely (per request) */
#halo-cart-sidebar .previewCartTool,
#halo-cart-sidebar .popup-toolDowns,
#halo-cart-sidebar cart-item-tool { display: none !important; }

/* --- minimal pinned footer (totals + Checkout / View Cart) --- */
#halo-cart-sidebar .previewCartInfo {
  border-top: 1px solid var(--sk-hdr-hairline);
  padding: 14px 20px 16px !important;
  background: var(--sk-hdr-bg);
}
#halo-cart-sidebar .previewCartTotals { margin: 0 0 4px !important; padding: 0 !important; }
#halo-cart-sidebar .previewCartTotalsPrice { margin-bottom: 8px !important; }
/* full-width, centered action buttons — Checkout + View Cart matched in size/shape */
#halo-cart-sidebar .previewCartGroup { display: flex !important; flex-direction: column !important; gap: 9px !important; margin: 0 !important; }
#halo-cart-sidebar .previewCartGroup .button {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; margin: 0 !important; text-align: center !important;
  min-height: 50px !important; box-sizing: border-box !important;
  border-radius: 8px !important; font-weight: 700 !important;
  letter-spacing: 0.04em; text-transform: uppercase;
}
#halo-cart-sidebar .previewCartGroup .button-checkout {
  background: var(--sk-hdr-ink) !important; color: #fff !important;
  border: 1.5px solid var(--sk-hdr-ink) !important;
}
#halo-cart-sidebar .previewCartGroup .button-view-cart {
  background: #fff !important; color: var(--sk-hdr-ink) !important;
  border: 1.5px solid var(--sk-hdr-ink) !important;
}
/* hover feedback */
#halo-cart-sidebar .previewCartGroup .button {
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}
#halo-cart-sidebar .previewCartGroup .button-checkout:hover,
#halo-cart-sidebar .previewCartGroup .button-checkout:focus-visible {
  background: #2c333b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 17, 22, 0.18);
}
#halo-cart-sidebar .previewCartGroup .button-view-cart:hover,
#halo-cart-sidebar .previewCartGroup .button-view-cart:focus-visible {
  background: var(--sk-hdr-ink) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 17, 22, 0.18);
}

/* --- compact, sleek header: title + a spaced count pill --- */
#halo-cart-sidebar .halo-sidebar-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px 8px !important;
}
#halo-cart-sidebar .halo-sidebar-header .title { font-size: 18px !important; line-height: 1.2 !important; margin: 0 !important; }
/* count as a subtle pill, clearly separated from the title */
#halo-cart-sidebar .halo-sidebar-header .wrapper-cartCount {
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  color: var(--sk-hdr-ink) !important;
  background: rgba(14, 17, 22, 0.06) !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

/* --- item row: move the × to the TOP-right (Ella had it at bottom:36px), aligned with the image top --- */
#halo-cart-sidebar .previewCartItem { padding-top: 16px !important; padding-bottom: 16px !important; }
#halo-cart-sidebar .previewCartItem-remove {
  top: 2px !important;
  bottom: auto !important;
  right: 0 !important;
}
#halo-cart-sidebar .previewCartItem-remove svg { width: 15px !important; height: 15px !important; }
/* keep the title clear of the × */
#halo-cart-sidebar .previewCartItem-name { margin-bottom: 6px !important; padding-right: 22px !important; }

/* --- price + quantity on one tidy row: stepper left, price right --- */
#halo-cart-sidebar .previewCartItem-change {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-top: 8px !important;
}
#halo-cart-sidebar .previewCartItem-price { margin: 0 !important; }
#halo-cart-sidebar .previewCartItem-qty { margin: 0 !important; }

/* quantity: a clean bordered stepper — [ − | value | + ], value centered.
   Ella absolutely-positions the - / + over a 94px input; rebuild it as flex cells. */
#halo-cart-sidebar .previewCartItem-qty {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 34px !important;
  margin: 0 !important;
  gap: 0 !important;
  border: 1px solid var(--sk-hdr-hairline) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
#halo-cart-sidebar .previewCartItem-qty .btn-quantity {
  position: relative !important;
  left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
  flex: 0 0 32px !important;
  width: 32px !important; height: 32px !important;
  display: block !important;
}
/* center the minus / plus glyphs in their cells */
#halo-cart-sidebar .previewCartItem-qty .btn-quantity:before {
  left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important;
  width: 11px !important; height: 1.5px !important;
  transform: translate(-50%, -50%) !important;
}
#halo-cart-sidebar .previewCartItem-qty .btn-quantity.plus:after {
  left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important;
  width: 11px !important; height: 1.5px !important;
  transform: translate(-50%, -50%) rotate(90deg) !important;
}
#halo-cart-sidebar .previewCartItem-qty .quantity {
  flex: 0 0 36px !important;
  width: 36px !important; min-width: 36px !important; max-width: 36px !important;
  height: 32px !important;
  padding: 0 !important;
  text-align: center !important;
  border: 0 !important;
  border-left: 1px solid var(--sk-hdr-hairline) !important;
  border-right: 1px solid var(--sk-hdr-hairline) !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-weight: 600 !important;
}
/* price baseline-aligned (centered) with the stepper */
#halo-cart-sidebar .previewCartItem-change { min-height: 34px; }
#halo-cart-sidebar .previewCartItem-price .price { line-height: 34px !important; display: flex !important; align-items: center !important; }

/* ---------------------------------------------------------------------------
   4) Mobile header (Phase 4): logo left · search · cart · hamburger right.
   Account icon removed (lives in the cart pop-out). Apple-mobile parity.
   --------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .section-header-mobile .header-mobile__wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 4px;
  }
  /* logo pinned far-left; search/cart/hamburger cluster on the right */
  .section-header-mobile .header-mobile__item--logo { margin-right: auto; }
  .section-header-mobile .sk-hdr__icon-logo { width: 40px; height: auto; display: block; }
  .section-header-mobile .header-mobile__item { display: flex; align-items: center; }

  .section-header-mobile .header__icon,
  .section-header-mobile .header-mobile--icon,
  .section-header-mobile .header__icon--summary,
  .section-header-mobile .item__mobile--hamburger,
  .section-header-mobile .mobileMenu-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  /* search wrapper (details/summary) can add height — force it to center like the others */
  .section-header-mobile .header__search,
  .section-header-mobile .header__search details,
  .section-header-mobile .header__search summary,
  .section-header-mobile .header__search summary > span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    padding: 0 !important;
  }
  /* search + cart sized to match the hamburger; bag a touch bigger (narrower shape) */
  .section-header-mobile .sk-hdr__ic { width: 26px !important; height: 26px !important; stroke: currentColor; color: var(--sk-hdr-ink); }
  .section-header-mobile .header__icon--cart .sk-hdr__ic--bag { width: 28px !important; height: 28px !important; }
  /* hover -> bright gold, matching the nav underline accent */
  .section-header-mobile .header__icon:hover .sk-hdr__ic,
  .section-header-mobile .header__icon:focus .sk-hdr__ic { stroke: var(--sk-hdr-underline); color: var(--sk-hdr-underline); }

  /* refined cart badge; hidden when empty */
  .section-header-mobile .header__icon--cart { position: relative; }
  .section-header-mobile .header__icon--cart .cart-count-bubble {
    position: absolute !important; top: -3px !important; right: -4px !important; left: auto !important; bottom: auto !important;
    min-width: 14px !important; width: auto !important;
    height: 14px !important; min-height: 14px !important; max-height: 14px !important;
    padding: 0 3px !important; box-sizing: border-box;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: var(--sk-hdr-underline); color: #fff;
    border-radius: 999px; font-size: 9px; font-weight: 700; line-height: 1;
  }
  /* the "N items" a11y text was a stray flex item stretching the row + top-aligning the
     number; hide it and let the count sit dead-centre */
  .section-header-mobile .cart-count-bubble .visually-hidden { display: none !important; }
  .section-header-mobile .cart-count-bubble .text,
  .section-header-mobile .cart-count-bubble [data-cart-count] {
    display: block !important; line-height: 1 !important; height: auto !important;
    min-height: 0 !important; padding: 0 !important; margin: 0 !important; align-self: center !important;
  }
  .section-header-mobile .header__icon--cart .cart-count-bubble.sk-hdr__bubble--empty { display: none !important; }

  /* --- Mobile search: convert Ella's LEFT drawer into a full-width panel that
     DROPS DOWN beneath the header (exactly like the desktop dropdown), with the
     same slim bar, Quick-search chips, auto-fill, and predictive results.
     Opened via body.open_search_mobile (theme.js). --- */
  #search-form-mobile.halo-sidebar_search {
    left: 0 !important; right: 0 !important;
    top: 70px !important; bottom: auto !important;  /* JS sets the exact mobile-header height; --header-height is 0 on mobile */
    width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
    height: auto !important;
    /* CLOSED: collapsed to nothing, pinned just below the header. The panel grows DOWN
       (max-height reveal) so it never enters the header region — can't appear over the
       header on open OR close, with no z-index/stacking/timing games. */
    max-height: 0 !important;
    opacity: 0 !important;  /* fade the whole panel (bar + icon + text) out fast on close so
                               nothing lingers while max-height retracts */
    overflow: hidden !important;
    transform: none !important;
    transition: max-height 0.34s ease, opacity 0.16s ease !important;
    background: #fff !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 20px 44px rgba(14, 17, 22, 0.16) !important;
    padding: 16px 16px 22px !important;
    z-index: 102 !important;  /* ABOVE Ella's .background-overlay (z100) so the input is tappable */
  }
  body.open_search_mobile #search-form-mobile.halo-sidebar_search {
    max-height: calc(100dvh - 70px) !important;
    opacity: 1 !important;
    overflow-y: auto !important;
  }
  /* Ella's shared overlay is a heavy rgba(35,35,35,.8) full-screen scrim that, at z100,
     was covering the search panel (blocking input) and darkening the whole screen. For the
     search state only: make it subtle + drop it BELOW the header (matches desktop). */
  body.open_search_mobile .background-overlay,
  .background-overlay.sk-search-scrim {
    background-color: rgba(14, 17, 22, 0.28) !important;
    top: 70px !important;
    z-index: 100 !important;
  }
  /* neutralise Ella's left-slide stagger on the children + the sidebar chrome */
  #search-form-mobile .halo-sidebar-header,
  #search-form-mobile .header__search-full,
  #search-form-mobile [data-quick-trending-products],
  #search-form-mobile .sk-search-quicklinks { transform: none !important; opacity: 1 !important; }
  #search-form-mobile .halo-sidebar-header,
  #search-form-mobile > .halo-sidebar-close { display: none !important; }
  #search-form-mobile .halo-sidebar-wrapper { padding: 0 !important; overflow: visible !important; }
  #search-form-mobile .header__search-full { position: relative !important; padding: 0 !important; }

  /* drop Ella's grey divider under the form (the stray "bar" below the chips) */
  #search-form-mobile .search-modal__form { border-bottom: 0 !important; }
  /* modern slim bar — magnifier left, × far-right (same as desktop) */
  #search-form-mobile .search-modal__form .field {
    position: relative !important; display: block !important;
    border: 1px solid var(--sk-hdr-hairline) !important; border-radius: 10px !important;
    background: #fff !important; margin: 0 !important; padding: 0 !important;
  }
  #search-form-mobile .search-modal__form .field:focus-within {
    border-color: rgba(14, 17, 22, 0.28) !important; box-shadow: 0 0 0 3px rgba(14, 17, 22, 0.05) !important;
  }
  #search-form-mobile .search__input {
    width: 100% !important; box-sizing: border-box !important;
    font-size: 16px !important; line-height: 1 !important;
    padding: 12px 44px 14px 44px !important;
    border: 0 !important; background: transparent !important;
  }
  #search-form-mobile .search__button {
    position: absolute !important; left: 14px !important; top: 50% !important;
    transform: translateY(calc(-50% - 1.5px)) !important;
    width: 20px !important; min-width: 0 !important; height: 20px !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    color: var(--sk-hdr-ink-soft) !important; padding: 0 !important; margin: 0 !important;
  }
  #search-form-mobile .search__button svg { width: 17px !important; height: 17px !important; color: var(--sk-hdr-ink-soft) !important; }
  /* × parked at the bar's far-right, vertically centred */
  #search-form-mobile .header-search-close {
    display: none !important;  /* hidden when the search is closed (don't linger in the bg) */
    align-items: center !important; justify-content: center !important;
    position: absolute !important; top: 9px !important; right: 12px !important; left: auto !important; bottom: auto !important;
    padding: 6px !important; margin: 0 !important; z-index: 3 !important; background: transparent !important;
    width: auto !important; height: auto !important; float: none !important; opacity: 1 !important; visibility: visible !important;
  }
  body.open_search_mobile #search-form-mobile .header-search-close { display: flex !important; }
  /* While the empty-state chips are showing (no query), hide the empty "Product Results"
     container so its divider line + tall empty area don't appear under the chips. */
  #search-form-mobile [data-quick-trending-products]:not(.hidden) ~ .quickSearchResultsWrap:not([data-quick-trending-products]) {
    display: none !important;
  }
  #search-form-mobile .header-search-close svg { width: 16px !important; height: 16px !important; fill: var(--sk-hdr-ink-soft) !important; }

  /* Quick-search chips (shared styling with desktop) — pulled tight under the bar */
  #search-form-mobile .sk-hdr-quicklinks .quickSearchResults,
  #search-form-mobile .sk-hdr-quicklinks .container { padding: 0 !important; margin: 0 !important; }
  #search-form-mobile .quickSearchResultsWrap[data-quick-trending-products] {
    position: static !important;  /* in-flow so the panel grows to fit the chips */
    margin-top: 6px !important; border-top: 0 !important; padding-top: 0 !important;
  }
  /* when typing, Ella hides the chips widget — force it fully out of flow (it only sets
     opacity/visibility by default, which would leave an empty gap above the results) */
  #search-form-mobile .quickSearchResultsWrap[data-quick-trending-products].hidden { display: none !important; }
  #search-form-mobile .sk-search-quicklinks {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important;
    margin: 0 !important; padding: 2px 0 2px !important;
  }
  #search-form-mobile .sk-search-quicklinks__label {
    width: 100% !important; margin: 0 0 4px !important;
    font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.14em !important;
    text-transform: uppercase !important; color: var(--sk-hdr-ink-soft) !important;
  }
  #search-form-mobile .sk-search-chip {
    display: inline-flex !important; align-items: center !important;
    padding: 8px 15px !important; border-radius: 999px !important;
    background: rgba(14, 17, 22, 0.05) !important; color: var(--sk-hdr-ink) !important;
    font-size: 13px !important; font-weight: 500 !important; line-height: 1 !important;
    border: 1px solid transparent !important;
  }
  /* predictive RESULTS (not the empty-state chips) flow in the panel with a divider */
  #search-form-mobile .quickSearchResultsWrap:not([data-quick-trending-products]) {
    position: static !important; width: 100% !important; box-shadow: none !important;
    margin-top: 14px !important; border-top: 1px solid var(--sk-hdr-hairline) !important; padding-top: 14px !important;
  }

  /* account links removed from the mobile menu drawer — account is handled in the
     cart pop-out now (#117) */
  #navigation-mobile .nav-account { display: none !important; }
