body.enhanced-theme {
  --nav-ink: #101113;
  --nav-muted: #696d73;
  --nav-line: #e3e4e6;
  --nav-red: #d90c18;
  --nav-utility-height: 28px;
  --nav-main-height: 76px;
}

body.enhanced-theme .site-announcement.site-utility {
  position: sticky;
  top: 0;
  z-index: 1001;
  min-height: var(--nav-utility-height);
  height: var(--nav-utility-height);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #0b0c0e;
  color: #fff;
  /* Was .62rem (~9.9px) - below any readable minimum. */
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body.enhanced-theme .site-utility__inner {
  width: min(100%, 1480px);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* stretch (not center) so the account/support links below can fill the
     bar's full height instead of only being as tall as their text line. */
  align-items: stretch;
}

body.enhanced-theme .site-utility a { color: rgba(255,255,255,.78); text-decoration: none; transition: color 150ms ease; }
body.enhanced-theme .site-utility a:hover { color: #fff; }
body.enhanced-theme .site-utility__official { display: flex; align-items: center; color: rgba(255,255,255,.58); text-align: center; }
body.enhanced-theme .site-utility__official i { margin-inline: .25rem; color: var(--nav-red); font-style: normal; }
body.enhanced-theme .site-utility__right { display: flex; align-items: stretch; gap: 1.1rem; justify-self: end; }

/* Account/Support links only had a ~10px-tall clickable rect (their text
   line-height) even though the bar itself is 26-28px tall. Stretching them
   to the bar's full height is a real, if still imperfect, tap-target win
   without growing the bar's visible height sitewide. */
body.enhanced-theme .site-utility__account,
body.enhanced-theme .site-utility__support { display: inline-flex; align-items: center; height: 100%; }

body.enhanced-theme .site-utility__shipping { position: relative; display: flex; }
body.enhanced-theme .site-utility__shipping-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255,255,255,.78);
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 150ms ease;
}
body.enhanced-theme .site-utility__shipping-toggle:hover,
body.enhanced-theme .site-utility__shipping-toggle[aria-expanded="true"] { color: #fff; }
body.enhanced-theme .site-utility__shipping-icon { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.enhanced-theme .site-utility__shipping-info {
  display: inline-grid;
  width: 12px;
  height: 12px;
  flex: none;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

body.enhanced-theme .site-utility__shipping-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(6,6,8,.6);
}
body.enhanced-theme .site-utility__shipping-backdrop[hidden] { display: none; }

body.enhanced-theme .site-utility__shipping-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 920px;
  min-height: 460px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(10,10,12,.1);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(6,6,8,.35);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
  white-space: normal;
}
body.enhanced-theme .site-utility__shipping-panel[hidden] { display: none; }
body.enhanced-theme .site-utility__shipping-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(10,10,12,.12);
  border-radius: 50%;
  background: #fff;
  color: var(--nav-ink);
  cursor: pointer;
}
body.enhanced-theme .site-utility__shipping-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
body.enhanced-theme .site-utility__shipping-close:hover { background: var(--nav-off, #f6f5f2); }
body.enhanced-theme .site-utility__shipping-panel-media { flex: 0 0 480px; width: 480px; align-self: stretch; overflow: hidden; background: var(--nav-line); }
body.enhanced-theme .site-utility__shipping-panel-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 22% 42%; }
body.enhanced-theme .site-utility__shipping-panel-body { flex: 1 1 auto; min-width: 0; padding: 44px 48px; }
body.enhanced-theme .site-utility__shipping-panel-eyebrow { display: block; margin-bottom: 12px; color: var(--nav-red); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
body.enhanced-theme .site-utility__shipping-panel-body h3 { margin: 0 0 16px; color: var(--nav-ink); font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; text-transform: none; }
body.enhanced-theme .site-utility__shipping-panel-body p { margin: 0 0 14px; color: var(--nav-muted); font-size: .92rem; }
body.enhanced-theme a.site-utility__shipping-panel-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--nav-red);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.enhanced-theme .site-utility__shipping-panel-link:hover { text-decoration: underline; }
body.shipping-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  body.enhanced-theme .site-utility__shipping-panel { width: min(92vw, 420px); min-height: 0; flex-direction: column; overflow-y: auto; }
  body.enhanced-theme .site-utility__shipping-panel-media { flex: 0 0 200px; width: 100%; height: 200px; align-self: auto; }
  body.enhanced-theme .site-utility__shipping-panel-body { padding: 28px; }
  body.enhanced-theme .site-utility__shipping-panel-body h3 { font-size: 1.4rem; }
}

body.enhanced-theme .site-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(6,6,8,.6);
}
body.enhanced-theme .site-search-backdrop[hidden] { display: none; }

body.enhanced-theme .site-search-panel {
  position: fixed;
  top: calc(var(--nav-utility-height) + var(--nav-main-height) + 14px);
  left: 50%;
  z-index: 1200;
  width: min(92vw, 640px);
  max-height: calc(100vh - var(--nav-utility-height) - var(--nav-main-height) - 40px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10,10,12,.1);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(6,6,8,.35);
}
body.enhanced-theme .site-search-panel[hidden] { display: none; }

body.enhanced-theme .site-search-panel__form {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: none;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--nav-line);
}
body.enhanced-theme .site-search-panel__icon { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--nav-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.enhanced-theme .site-search-panel__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--nav-ink);
  font-size: 1rem;
  font-weight: 600;
}
body.enhanced-theme .site-search-panel__input::placeholder { color: var(--nav-muted); font-weight: 500; }
body.enhanced-theme .site-search-panel__close {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--nav-muted);
  cursor: pointer;
}
body.enhanced-theme .site-search-panel__close:hover { background: #f6f5f2; color: var(--nav-ink); }
body.enhanced-theme .site-search-panel__close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

body.enhanced-theme .site-search-panel__results { flex: 1 1 auto; overflow-y: auto; padding: .5rem; }
body.enhanced-theme .site-search-panel__hint { margin: 0; padding: 1.5rem 1rem; color: var(--nav-muted); font-size: .85rem; text-align: center; }
body.enhanced-theme .site-search-panel__list { display: flex; flex-direction: column; gap: .15rem; }
body.enhanced-theme a.site-search-panel__result {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 120ms ease;
}
body.enhanced-theme a.site-search-panel__result:hover,
body.enhanced-theme a.site-search-panel__result:focus-visible { background: #f6f5f2; }
body.enhanced-theme .site-search-panel__result-media {
  display: block;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--nav-line);
}
body.enhanced-theme .site-search-panel__result-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.enhanced-theme .site-search-panel__result-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
body.enhanced-theme .site-search-panel__result-name { color: var(--nav-ink); font-size: .88rem; font-weight: 700; }
body.enhanced-theme .site-search-panel__result-desc {
  color: var(--nav-muted);
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.enhanced-theme .site-search-panel__result-price { flex: none; color: var(--nav-ink); font-size: .85rem; font-weight: 800; }
body.enhanced-theme a.site-search-panel__see-all {
  display: block;
  margin-top: .25rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--nav-line);
  color: var(--nav-red);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
}
body.enhanced-theme a.site-search-panel__see-all:hover { text-decoration: underline; }
body.search-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  body.enhanced-theme .site-search-panel { top: calc(var(--nav-utility-height) + var(--nav-main-height) + 8px); width: min(94vw, 640px); max-height: calc(100vh - var(--nav-utility-height) - var(--nav-main-height) - 24px); }
}

body.enhanced-theme .site-shell-header {
  top: var(--nav-utility-height);
  z-index: 1000;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--nav-line);
  box-shadow: none;
}

body.enhanced-theme.storefront-context .site-shell-header {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}

body.enhanced-theme .site-shell-nav.site-shell-nav--editorial {
  width: min(100%, 1480px);
  min-height: var(--nav-main-height);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

body.enhanced-theme .site-shell-left,
body.enhanced-theme .site-shell-actions--editorial { display: flex; align-items: center; min-width: 0; }
body.enhanced-theme .site-shell-left { gap: clamp(1rem, 2.5vw, 2.5rem); }
body.enhanced-theme .site-shell-brand img { width: auto; height: 48px; object-fit: contain; }

body.enhanced-theme .site-shell-menu-trigger {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border: 0;
  background: transparent;
  color: var(--nav-ink);
  font: inherit;
  cursor: pointer;
}
body.enhanced-theme .site-shell-menu-trigger__icon { width: 22px; display: grid; gap: 4px; }
body.enhanced-theme .site-shell-menu-trigger__icon i { display: block; height: 1.5px; background: currentColor; transition: transform 180ms ease, width 180ms ease; }
body.enhanced-theme .site-shell-menu-trigger__icon i:nth-child(2) { width: 15px; }
body.enhanced-theme .site-shell-menu-trigger:hover .site-shell-menu-trigger__icon i:nth-child(2) { width: 22px; }
body.enhanced-theme .site-shell-menu-trigger__label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

body.enhanced-theme .site-shell-product-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 1.3vw, 1.25rem);
  min-width: 0;
  margin-inline: auto;
}
body.enhanced-theme .site-shell-product-nav a {
  color: var(--nav-ink);
  font-size: clamp(.59rem, .67vw, .7rem);
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
body.enhanced-theme .site-shell-product-nav a:hover { color: var(--nav-red); }

body.enhanced-theme .site-shell-actions--editorial { justify-content: flex-end; gap: clamp(.65rem, 1.7vw, 1.55rem); }
body.enhanced-theme .site-shell-activate,
body.enhanced-theme .site-shell-session-link { min-height: 42px; display: inline-flex; align-items: center; color: var(--nav-ink); font-size: .7rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
body.enhanced-theme .site-shell-activate { padding: 0 1.05rem; border-radius: 3px; background: var(--nav-red); color: #fff; }
body.enhanced-theme .site-shell-activate:hover { background: #b80913; color: #fff; }
body.enhanced-theme .site-shell-session-link--admin { color: var(--nav-red); }

body.enhanced-theme .site-shell-actions--editorial .site-shell-icon-link,
body.enhanced-theme .site-shell-actions--editorial .site-shell-cart {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  color: var(--nav-ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
body.enhanced-theme .site-shell-actions--editorial svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.enhanced-theme .site-shell-actions--editorial a:hover { color: var(--nav-red); }
body.enhanced-theme .site-shell-actions--editorial .site-shell-activate:hover { color: #fff; }
body.enhanced-theme .site-shell-cart__count { background: var(--nav-red); }

body.enhanced-theme.menu-open { overflow: hidden; }
body.enhanced-theme .site-mobile-backdrop { position: fixed; inset: 0; z-index: 1080; background: rgba(6,7,9,.56); opacity: 0; transition: opacity 240ms ease; }
body.enhanced-theme .site-mobile-backdrop[hidden] { display: none; }
body.enhanced-theme .site-mobile-backdrop.is-open { display: block; opacity: 1; }
body.enhanced-theme .site-mobile-menu.site-menu-drawer {
  top: 0;
  right: auto;
  left: 0;
  bottom: 0;
  z-index: 1090;
  width: min(92vw, 470px);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  color: var(--nav-ink);
  opacity: 0;
  overflow-y: auto;
  transform: translate3d(-100%,0,0);
  transition: transform 300ms cubic-bezier(.16,1,.3,1), opacity 220ms ease;
}
body.enhanced-theme .site-mobile-menu.site-menu-drawer.is-open { opacity: 1; transform: translate3d(0,0,0); }
body.enhanced-theme .site-mobile-menu__header { padding-bottom: 1.15rem; border-bottom: 1px solid var(--nav-line); }
body.enhanced-theme .site-mobile-menu__header > div { display: grid; gap: .22rem; }
body.enhanced-theme .site-menu-drawer__eyebrow { color: var(--nav-red); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
body.enhanced-theme .site-mobile-menu__header strong { color: var(--nav-ink); font-size: clamp(2rem, 7vw, 3rem); line-height: 1; letter-spacing: -.055em; text-transform: none; }
body.enhanced-theme .site-mobile-menu__close { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--nav-line); border-radius: 50%; }
body.enhanced-theme .site-mobile-menu__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
body.enhanced-theme .site-mobile-menu__links { display: grid; gap: 1.15rem; }
body.enhanced-theme .site-menu-drawer__group { display: grid; }
body.enhanced-theme .site-menu-drawer__group-label {
  margin-bottom: .18rem;
  color: var(--nav-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.enhanced-theme .site-mobile-menu__links a { min-height: 48px; padding: .85rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--nav-line); color: var(--nav-ink); font-size: clamp(.9rem, 2.6vw, 1.05rem); font-weight: 750; letter-spacing: -.015em; text-decoration: none; text-transform: none; }
body.enhanced-theme .site-mobile-menu__links a:hover { color: var(--nav-red); }
body.enhanced-theme .site-mobile-menu__links i { color: #a1a4a9; font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .08em; }
body.enhanced-theme .site-menu-drawer__session { display: flex; flex-wrap: wrap; gap: .55rem; }
body.enhanced-theme .site-menu-drawer__session a { min-height: 42px; padding: .7rem .9rem; display: inline-flex; align-items: center; border: 1px solid var(--nav-line); border-radius: 3px; color: var(--nav-ink); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
body.enhanced-theme .site-menu-drawer__session a:first-child { border-color: var(--nav-red); color: var(--nav-red); }
body.enhanced-theme .site-menu-drawer__footer { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--nav-line); color: var(--nav-muted); font-size: .68rem; font-weight: 700; }
body.enhanced-theme .site-menu-drawer__footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--nav-ink); }

body.enhanced-theme .site-shell-menu-trigger:focus-visible,
body.enhanced-theme .site-shell-actions--editorial a:focus-visible,
body.enhanced-theme .site-utility a:focus-visible,
body.enhanced-theme .site-mobile-menu a:focus-visible,
body.enhanced-theme .site-mobile-menu button:focus-visible { outline: 3px solid #1677ff; outline-offset: 3px; }

@media (max-width: 1240px) {
  body.enhanced-theme .site-shell-product-nav { display: none; }
}

@media (max-width: 980px) {
  body.enhanced-theme .site-shell-session-link { display: none; }
  body.enhanced-theme .site-shell-actions--editorial .site-shell-action-label { display: none; }
  body.enhanced-theme .site-shell-actions--editorial { gap: .55rem; }
  body.enhanced-theme .site-shell-actions--editorial .site-shell-icon-link,
  body.enhanced-theme .site-shell-actions--editorial .site-shell-cart { width: 42px; height: 42px; min-height: 42px; justify-content: center; }

  /* Move the hamburger trigger to the far right, past the search/account/cart
     icons, so every tappable control sits within the same thumb reach. */
  body.enhanced-theme .site-shell-nav.site-shell-nav--editorial { justify-content: flex-start; gap: .55rem; }
  body.enhanced-theme .site-shell-left { display: contents; }
  body.enhanced-theme .site-shell-brand { order: 1; }
  body.enhanced-theme .site-shell-actions--editorial { order: 2; margin-left: auto; }
  body.enhanced-theme .site-shell-menu-trigger { order: 3; }
}

@media (max-width: 600px) {
  body.enhanced-theme { --nav-utility-height: 26px; --nav-main-height: 68px; }
  body.enhanced-theme .site-utility__inner { grid-template-columns: 1fr auto; padding-inline: .8rem; }
  body.enhanced-theme .site-utility__official { display: none; }
  body.enhanced-theme .site-shell-nav.site-shell-nav--editorial { min-height: var(--nav-main-height); padding-inline: .6rem; gap: .35rem; }
  body.enhanced-theme .site-shell-left { gap: .3rem; }
  body.enhanced-theme .site-shell-brand img { height: 27px; max-width: 90px; }
  body.enhanced-theme .site-shell-menu-trigger { justify-content: center; }
  body.enhanced-theme .site-shell-menu-trigger__label { display: none; }
  body.enhanced-theme .site-shell-actions--editorial { gap: 0; }
  body.enhanced-theme .site-shell-activate { min-height: 44px; padding-inline: .5rem; font-size: .62rem; }
  body.enhanced-theme .site-shell-actions--editorial .site-shell-icon-link,
  body.enhanced-theme .site-shell-actions--editorial .site-shell-cart { width: 40px; height: 40px; min-height: 40px; justify-content: center; }
  body.enhanced-theme .site-shell-actions--editorial svg { width: 18px; height: 18px; }
  body.enhanced-theme .site-shell-menu-trigger { width: 40px; }
  body.enhanced-theme .site-shell-brand { min-height: 44px; }
  body.enhanced-theme .site-mobile-menu.site-menu-drawer { width: min(94vw, 420px); }
}

/* Below ~400px there isn't room for 44px/40px targets alongside the logo
   and Activate button without overflowing the nav row (verified at 360px
   and 375px) - this narrower tier accepts a smaller compromise size rather
   than silently clipping the hamburger button off-screen. */
@media (max-width: 385px) {
  body.enhanced-theme .site-shell-brand img { height: 24px; max-width: 81px; }
  body.enhanced-theme .site-shell-activate { padding-inline: .45rem; font-size: .58rem; }
  body.enhanced-theme .site-shell-actions--editorial .site-shell-icon-link,
  body.enhanced-theme .site-shell-actions--editorial .site-shell-cart { width: 37px; height: 37px; min-height: 37px; justify-content: center; }
  body.enhanced-theme .site-shell-menu-trigger { width: 37px; }
}

/* Below ~345px even the 400px tier's sizes don't leave room for the
   hamburger button without it clipping off-screen entirely (verified at
   320px). Dropping the search toggle here is a smaller loss than an
   unreachable menu button - search is still available via the products
   page and site search engines. */
@media (max-width: 345px) {
  body.enhanced-theme #siteSearchToggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.enhanced-theme .site-mobile-backdrop,
  body.enhanced-theme .site-mobile-menu.site-menu-drawer,
  body.enhanced-theme .site-shell-menu-trigger__icon i { transition-duration: .01ms !important; }
}
