/* OmniPep global header and products mega menu. */
:root {
  --op-header-shadow: 0 18px 38px rgba(17, 17, 17, .09);
  --op-header-panel-shadow: 0 24px 45px rgba(17, 17, 17, .12);
  --op-announcement-divider: rgba(255, 255, 255, .35);
}

.op-announcement { height: 42px; overflow: hidden; background: var(--op-gold); color: var(--op-white); }
.op-announcement__track { display: flex; width: 100%; max-width: calc(var(--op-container) + 2 * var(--op-gutter)); height: 100%; align-items: center; margin: 0 auto; }
.op-announcement__item { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; color: var(--op-white); font-family: var(--op-font-heading); font-size: 10px; font-weight: 700; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.op-announcement__item:hover { color: var(--op-white); opacity: .8; }
.op-announcement__item + .op-announcement__item::before { position: absolute; left: 0; width: 1px; height: 15px; background: var(--op-announcement-divider); content: ''; }
.op-announcement__item .op-icon { width: 15px; height: 15px; }

.op-site-header { position: sticky; top: 0; z-index: 900; background: var(--op-white); border-bottom: 1px solid var(--op-line); transition: box-shadow var(--op-dur) var(--op-ease); }
.admin-bar .op-site-header { top: 32px; }
.op-site-header.is-compact { box-shadow: var(--op-header-shadow); }
.op-site-header__inner { display: flex; min-height: 104px; align-items: center; gap: 26px; transition: min-height var(--op-dur) var(--op-ease); }
.op-site-header.is-compact .op-site-header__inner { min-height: 76px; }
.op-site-header__brand { display: block; flex: 0 0 190px; width: 190px; margin-left: 0; line-height: 0; transition: flex-basis var(--op-dur) var(--op-ease), width var(--op-dur) var(--op-ease); }
.op-site-header__brand img { display: block; width: 190px; height: auto; object-fit: contain; transition: width var(--op-dur) var(--op-ease); }
.op-site-header.is-compact .op-site-header__brand { flex-basis: 158px; width: 158px; }
.op-site-header.is-compact .op-site-header__brand img { width: 158px; }
.op-site-header__nav { flex: 1; min-width: 0; }
.op-nav-list { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 18px); margin: 0; padding: 0; list-style: none; }
.op-nav-list__item { position: static; }
.op-nav-list__item > a, .op-nav-list__trigger { position: relative; display: inline-flex; min-height: 48px; align-items: center; gap: 5px; padding: 12px 5px; border: 0; border-radius: 0; background: transparent; color: var(--op-ink); font-family: var(--op-font-heading); font-size: 12px; font-weight: 600; letter-spacing: .055em; line-height: 1.2; text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.op-nav-list__item > a::after, .op-nav-list__trigger::after { position: absolute; right: 5px; bottom: 4px; left: 5px; height: 1px; background: var(--op-gold); content: ''; opacity: 0; transform: scaleX(.4); transition: opacity var(--op-dur) var(--op-ease), transform var(--op-dur) var(--op-ease); }
.op-nav-list__item > a:hover, .op-nav-list__item > a:focus-visible, .op-nav-list__trigger:hover, .op-nav-list__trigger:focus-visible, .op-nav-list__item.is-current > a, .op-nav-list__item.is-current > .op-nav-list__trigger { color: var(--op-black); }
.op-nav-list__item > a:hover::after, .op-nav-list__item > a:focus-visible::after, .op-nav-list__trigger:hover::after, .op-nav-list__trigger:focus-visible::after, .op-nav-list__item.is-current > a::after, .op-nav-list__item.is-current > .op-nav-list__trigger::after { opacity: 1; transform: scaleX(1); }
.op-nav-list__trigger .op-icon { width: 13px; height: 13px; color: var(--op-gold); transition: transform var(--op-dur) var(--op-ease); }
.op-nav-list__item--products.is-open .op-nav-list__trigger .op-icon, .op-nav-list__item--products:not(.is-enhanced):is(:hover, :focus-within) .op-nav-list__trigger .op-icon { transform: rotate(180deg); }
/* Invisible bridge from the trigger down to the panel so the gap is still part of the hover zone. */
.op-nav-list__trigger::before { position: absolute; top: 100%; right: -24px; left: -24px; height: 0; content: ''; }
.op-nav-list__item--products.is-open .op-nav-list__trigger::before { height: 44px; }
.op-site-header__actions { display: flex; flex: none; align-items: center; gap: 4px; }
.op-site-header .op-icon-button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--op-black); padding: 8px; transition: color var(--op-dur) var(--op-ease), background var(--op-dur) var(--op-ease); }
.op-site-header .op-icon-button:hover { color: var(--op-gold); background: var(--op-cream); }
.op-site-header__cart { position: relative; }
.op-site-header__cart .op-cart-count { position: absolute; top: 0; right: 0; display: grid; min-width: 15px; height: 15px; place-items: center; padding: 2px; border-radius: 50%; background: var(--op-gold); color: var(--op-white); font-size: 9px; line-height: 1; }
.op-site-header__cart .op-cart-count.is-empty, .op-site-header__cart .op-cart-count:empty { display: none; }
.op-site-header__menu-button { display: none !important; }

.op-mega { position: absolute; top: calc(100% + 1px); right: 0; left: 0; z-index: 3; visibility: hidden; border-top: 1px solid var(--op-line); border-bottom: 1px solid var(--op-gold-light); background: var(--op-white); box-shadow: var(--op-header-panel-shadow); opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity 200ms var(--op-ease), transform 200ms var(--op-ease), visibility 0s linear 200ms; }
/* JS adds .is-enhanced and drives .is-open with hover intent; plain :hover is the no-JS fallback only. */
.op-nav-list__item--products.is-open .op-mega, .op-nav-list__item--products:not(.is-enhanced):is(:hover, :focus-within) .op-mega { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); transition: opacity 200ms var(--op-ease), transform 200ms var(--op-ease), visibility 0s; }
.op-mega__inner { display: grid; grid-template-columns: minmax(185px, 235px) minmax(0, 1fr) minmax(0, 1fr) minmax(225px, 275px); gap: 32px; width: 100%; max-width: calc(var(--op-container) + 2 * var(--op-gutter)); margin: 0 auto; padding: 32px var(--op-gutter) 36px; }
.op-mega__categories { grid-column: 1; }
.op-mega__featured { grid-column: 2 / span 2; min-width: 0; }
.op-mega__eyebrow { margin: 0 0 18px; color: var(--op-gold); font-family: var(--op-font-heading); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.op-mega__category-list { margin: 0; padding: 0; list-style: none; }
.op-mega__category-list li + li { border-top: 1px solid var(--op-line); }
.op-mega__category-list a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; color: var(--op-black); font-family: var(--op-font-heading); font-size: 12px; font-weight: 600; letter-spacing: .015em; text-decoration: none; transition: color var(--op-dur) var(--op-ease), padding-left var(--op-dur) var(--op-ease); }
.op-mega__category-list a:hover { padding-left: 4px; color: var(--op-gold); }
.op-mega__category-count { display: inline-flex; min-width: 25px; height: 25px; align-items: center; justify-content: center; border: 1px solid var(--op-line); border-radius: 50%; color: var(--op-muted); font-family: var(--op-font-body); font-size: 10px; font-weight: 500; }
.op-mega__all { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--op-gold); font-family: var(--op-font-heading); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.op-mega__all .op-icon { width: 15px; height: 15px; transition: transform var(--op-dur) var(--op-ease); }
.op-mega__all:hover .op-icon { transform: translateX(3px); }
.op-mega__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.op-mega__product { display: flex; min-width: 0; flex-direction: column; color: var(--op-black); text-decoration: none; }
.op-mega__product-image { display: flex; height: 172px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--op-line); background: var(--op-cream); }
.op-mega__product-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 350ms var(--op-ease); }
.op-mega__product:hover .op-mega__product-image img { transform: scale(1.045); }
.op-mega__product-name { margin-top: 11px; overflow: hidden; color: var(--op-black); font-family: var(--op-font-heading); font-size: 11px; font-weight: 700; letter-spacing: .035em; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.op-mega__product-price { margin-top: 5px; color: var(--op-muted); font-family: var(--op-font-heading); font-size: 11px; line-height: 1.4; }
.op-mega__product-price .woocommerce-Price-amount { color: var(--op-black); font-weight: 700; }
.op-mega__promo { position: relative; display: flex; min-height: 284px; grid-column: 4; align-items: end; overflow: hidden; background: var(--op-black); color: var(--op-white); text-decoration: none; }
.op-mega__promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .23; transition: transform 450ms var(--op-ease); }
.op-mega__promo:hover > img { transform: scale(1.04); }
.op-mega__promo-body { position: relative; display: flex; flex-direction: column; align-items: start; padding: 26px; }
.op-mega__promo-eyebrow { margin-bottom: 12px; color: var(--op-gold-light); font-family: var(--op-font-heading); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.op-mega__promo strong { color: var(--op-white); font-family: var(--op-font-heading); font-size: 20px; font-weight: 600; letter-spacing: .015em; line-height: 1.25; }
.op-mega__promo-text { margin-top: 10px; color: var(--op-white); font-family: var(--op-font-body); font-size: 11px; line-height: 1.55; opacity: .88; }
.op-mega__promo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 19px; border-bottom: 1px solid var(--op-gold-light); color: var(--op-gold-light); font-family: var(--op-font-heading); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.op-mega__promo-link .op-icon { width: 14px; height: 14px; }

.op-mobile-menu { width: min(420px, calc(100vw - 24px)); margin-right: auto; }
.op-mobile-menu .op-drawer__head { min-height: 82px; flex: none; border-bottom: 1px solid var(--op-line); padding: 17px 24px; }
.op-mobile-menu .op-drawer__head h2 { color: var(--op-black); font-family: var(--op-font-heading); font-size: 21px; font-weight: 600; letter-spacing: .045em; line-height: 1.2; text-transform: none; }
.op-mobile-menu .op-drawer__head .op-icon-button { width: 36px; height: 36px; }
.op-mobile-menu__nav { flex: 1; }
.op-mobile-nav { display: block; margin: 0; padding: 13px 24px 24px; list-style: none; }
.op-mobile-nav__item { border-bottom: 1px solid var(--op-line); }
.op-mobile-nav__item > a, .op-mobile-products > summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; color: var(--op-black); font-family: var(--op-font-heading); font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 1.35; text-decoration: none; cursor: pointer; }
.op-mobile-nav__item > a:hover, .op-mobile-products > summary:hover, .op-mobile-nav__item.is-current > a, .op-mobile-nav__item.is-current > .op-mobile-products > summary { color: var(--op-gold); }
.op-mobile-products > summary { list-style: none; }
.op-mobile-products > summary::-webkit-details-marker { display: none; }
.op-mobile-products > summary .op-icon { width: 17px; height: 17px; color: var(--op-gold); transition: transform var(--op-dur) var(--op-ease); }
.op-mobile-products[open] > summary .op-icon { transform: rotate(180deg); }
.op-mobile-products__body { padding: 6px 0 18px; }
.op-mega__inner--mobile { display: block; padding: 0; }
.op-mega__inner--mobile .op-mega__eyebrow { margin-bottom: 10px; font-size: 9px; }
.op-mega__inner--mobile .op-mega__category-list a { min-height: 42px; font-size: 11px; }
.op-mega__inner--mobile .op-mega__category-count { width: 22px; min-width: 22px; height: 22px; font-size: 9px; }
.op-mega__inner--mobile .op-mega__all { margin-top: 12px; }
.op-mega__inner--mobile .op-mega__featured { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--op-line); }
.op-mega__inner--mobile .op-mega__products { display: block; }
.op-mega__inner--mobile .op-mega__product { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; align-items: center; min-height: 62px; }
.op-mega__inner--mobile .op-mega__product + .op-mega__product { margin-top: 7px; }
.op-mega__inner--mobile .op-mega__product-image { width: 52px; height: 52px; grid-row: span 2; }
.op-mega__inner--mobile .op-mega__product-name { align-self: end; margin: 0; font-size: 10px; }
.op-mega__inner--mobile .op-mega__product-price { align-self: start; margin-top: 3px; font-size: 10px; }
.op-mega__inner--mobile .op-mega__promo { min-height: 150px; margin-top: 24px; }
.op-mega__inner--mobile .op-mega__promo-body { padding: 19px; }
.op-mega__inner--mobile .op-mega__promo strong { font-size: 17px; }
.op-mega__inner--mobile .op-mega__promo-text { font-size: 10px; }
.op-mega__inner--mobile .op-mega__promo-link { margin-top: 11px; }
.op-mobile-menu__account { display: flex; flex: none; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid var(--op-line); padding: 21px 26px; color: var(--op-ink); font-family: var(--op-font-heading); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.op-mobile-menu__account .op-icon { width: 18px; height: 18px; color: var(--op-gold); }

@media (max-width: 1179px) {
  .op-site-header__inner { min-height: 88px; justify-content: space-between; }
  .op-site-header.is-compact .op-site-header__inner { min-height: 72px; }
  .op-site-header__menu-button { display: inline-flex !important; }
  .op-site-header__nav { display: none; }
  .op-site-header__brand { position: absolute; left: 50%; width: 170px; margin: 0; transform: translateX(-50%); }
  .op-site-header__brand img { width: 170px; }
  .op-site-header.is-compact .op-site-header__brand { width: 150px; }
  .op-site-header.is-compact .op-site-header__brand img { width: 150px; }
  .op-site-header__actions { margin-left: auto; }
  .op-site-header__account { display: none !important; }
  .op-site-header .op-icon-button { width: 40px; height: 40px; }
}

@media (max-width: 749px) {
  .op-announcement { height: 38px; }
  .op-announcement__track { justify-content: center; padding: 0; }
  .op-announcement__item { display: none; flex: none; padding: 0 8px; font-size: 10px; }
  .op-announcement__item.is-current, .op-announcement__item:first-child { display: flex; }
  .op-announcement--ready .op-announcement__item:first-child:not(.is-current) { display: none; }
  .op-announcement__item::before { display: none; }
  .op-site-header__inner { min-height: 78px; padding-inline: 16px; }
  .op-site-header.is-compact .op-site-header__inner { min-height: 66px; }
  .op-site-header__brand, .op-site-header__brand img { width: 154px; }
  .op-site-header.is-compact .op-site-header__brand, .op-site-header.is-compact .op-site-header__brand img { width: 138px; }
  .op-site-header__menu-button { margin-left: -7px; }
  .op-site-header__actions { gap: 0; }
  .op-site-header .op-icon-button { width: 36px; height: 36px; padding: 7px; }
  .op-mobile-menu { width: min(390px, calc(100vw - 24px)); }
}

@media (max-width: 420px) {
  .op-site-header__brand, .op-site-header__brand img { width: 148px; }
  .op-site-header.is-compact .op-site-header__brand, .op-site-header.is-compact .op-site-header__brand img { width: 132px; }
}

@media (max-width: 782px) { .admin-bar .op-site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .op-site-header, .op-site-header *, .op-mega { scroll-behavior: auto; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .op-mega, .op-nav-list__item--products.is-open .op-mega { transform: none; transition-delay: 0s !important; }
}
