/* Commerce Hub Presentation V3 — global storefront shell.
   Owns header, navigation, footer, mobile navigation, drawers, mini-cart,
   popup utilities and shell-only responsive behavior. */

:root{--store-header-h:122px;--store-mobile-nav-h:62px}
.market-header{position:sticky;top:0;z-index:200;border-bottom:1px solid var(--store-line);background:var(--store-surface);backdrop-filter:blur(14px)}
.app-header__bar{
  position:relative;display:grid;grid-template-columns:auto minmax(320px,560px) auto;grid-template-areas:"brand search actions" "nav nav nav";
  align-items:center;gap:0 28px;min-height:122px;padding-block:0
}
.app-header__brand{grid-area:brand;display:inline-flex;align-items:center;gap:10px;width:max-content;min-height:64px}
.app-header__logo{position:relative;display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;overflow:hidden;border-radius:8px;background:#111;color:#fff}
.app-header__logo b{font-size:12px;letter-spacing:-.03em}.app-header__logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.app-header__brand-name{font-size:16px;font-weight:780;letter-spacing:-.03em;white-space:nowrap}
.app-header__desktop-search{grid-area:search;display:flex;align-items:center;gap:9px;height:44px;padding:0 13px;border:1px solid var(--store-line-strong);border-radius:8px;background:var(--store-surface)}
.app-header__desktop-search svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:var(--store-muted);stroke-width:1.8}
.app-header__desktop-search input{width:100%;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;font-size:13px;outline:0}
.app-header__actions{grid-area:actions;justify-self:end}.app-header__utility{display:flex;align-items:center;gap:6px}.app-header__action-cluster{display:flex;align-items:center;gap:6px}.app-header__utility-divider{width:1px;height:24px;margin:0 2px;background:var(--store-line)}
.app-header__utility-action,.header-icon-button{position:relative;display:grid;width:42px;height:42px;place-items:center;padding:0;border:1px solid var(--store-line);border-radius:8px;background:var(--store-surface);color:var(--store-ink);cursor:pointer}
.app-header__utility-action:hover,.header-icon-button:hover{border-color:var(--store-line-strong);background:var(--store-surface-2)}
.app-header__utility-action svg,.header-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-header__utility-action b{position:absolute;top:-4px;right:-4px;display:grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border:2px solid var(--store-surface);border-radius:99px;background:var(--store-sale);color:#fff;font-size:8px}
.store-theme-toggle__moon{display:none}html[data-theme="dark"] .store-theme-toggle__sun,html[data-store-theme="dark"] .store-theme-toggle__sun{display:none}html[data-theme="dark"] .store-theme-toggle__moon,html[data-store-theme="dark"] .store-theme-toggle__moon{display:block}
.app-header__mobile-contact,.app-header__mobile-theme{display:none}

.app-header__nav{grid-area:nav;display:flex;align-items:center;justify-content:center;gap:30px;min-height:54px;border-top:1px solid var(--store-line);font-size:12px;font-weight:700}
.app-header__nav>a,.app-header__mega-trigger,.app-header__priority-link{position:relative;display:inline-flex;min-height:44px;align-items:center;gap:6px;color:var(--store-muted);white-space:nowrap}
.app-header__nav>a:hover,.app-header__nav>a[aria-current="page"],.app-header__mega-trigger:hover,.app-header__mega-trigger.is-current,.app-header__priority-link:hover,.app-header__priority-link.is-current{color:var(--store-ink)}
.app-header__nav>a[aria-current="page"]::after,.app-header__mega-trigger.is-current::after,.app-header__priority-link.is-current::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--store-ink)}
.app-header__mega{position:static}.app-header__mega-trigger{border:0;background:transparent;font:inherit;cursor:pointer}.app-header__mega-trigger svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.store-opportunity-icon{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#e9fbef;color:#157347}.store-opportunity-icon svg{width:14px;height:14px;fill:currentColor;stroke:none}

.store-mega-menu{position:absolute;top:100%;left:50%;z-index:220;width:min(1120px,calc(100vw - 40px));transform:translateX(-50%);border:1px solid var(--store-line);background:var(--store-surface);box-shadow:0 24px 60px rgba(0,0,0,.12)}
.store-mega-menu__layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:28px}.store-mega-menu__intro{padding-right:24px;border-right:1px solid var(--store-line)}.store-mega-menu__intro h2{margin:0;font-size:25px}.store-mega-menu__columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}.store-mega-menu__column{display:grid;align-content:start;gap:2px}.store-mega-menu__item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:44px;padding:4px 6px;color:var(--store-ink)}.store-mega-menu__item:hover{background:var(--store-surface-2)}.store-mega-menu__item-icon{display:grid;width:28px;height:28px;place-items:center;color:var(--store-muted)}.store-mega-menu__item-icon svg{width:18px;height:18px}.store-mega-menu__item-copy strong{font-size:12px;font-weight:650}.store-mega-menu__item i{color:var(--store-muted);font-style:normal}.store-mega-menu__empty{padding:18px}

.store-header-search{position:fixed;inset:0;z-index:260;padding:calc(18px + env(safe-area-inset-top)) 18px 110px;background:var(--store-surface)}
.store-header-search__form{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;max-width:760px;margin:0 auto}.store-header-search__form input{height:50px;padding-inline:14px;border:1px solid var(--store-line-strong);border-radius:8px}.store-header-search__form button{display:grid;width:48px;height:50px;place-items:center;border:0;border-radius:8px;background:var(--store-ink);color:var(--store-surface)}.store-header-search__form button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}

.store-contact-menu{position:absolute;right:0;top:70px;z-index:230;width:min(440px,calc(100vw - 32px));overflow:hidden;border:1px solid var(--store-line);background:var(--store-surface);box-shadow:0 20px 55px rgba(0,0,0,.12)}
.store-contact-menu__head{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--store-line)}.store-contact-menu__head small{display:block;color:var(--store-muted);font-size:11px}.store-contact-menu__head strong{font-size:17px}.store-contact-menu__head button{width:38px;height:38px;border:0;background:transparent;font-size:22px}.store-contact-menu__tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--store-line)}.store-contact-menu__tab{display:grid;place-items:center;gap:4px;min-height:68px;border:0;border-right:1px solid var(--store-line);background:transparent;color:var(--store-muted);font-size:11px}.store-contact-menu__tab[aria-selected="true"]{background:var(--store-surface-2);color:var(--store-ink)}.store-contact-menu__tab span svg{width:18px;height:18px}.store-contact-menu__panel{padding:18px}.store-contact-menu__panel-intro{margin-bottom:12px}.store-contact-menu__panel-intro strong{display:block}.store-contact-menu__panel-intro small{color:var(--store-muted)}.store-contact-menu__links{display:grid}.store-contact-menu__links a{display:flex;min-height:44px;align-items:center;justify-content:space-between;border-top:1px solid var(--store-line);font-size:13px}.store-contact-menu__links svg{width:16px;height:16px;fill:none;stroke:currentColor}

.store-discovery-rail{display:none}

.store-flash-stack{position:fixed;top:calc(var(--store-header-h) + 12px);right:16px;z-index:400;display:grid;gap:8px;width:min(420px,calc(100vw - 32px))}.store-flash{display:grid;grid-template-columns:8px minmax(0,1fr) 32px;align-items:center;gap:10px;padding:12px;border:1px solid var(--store-line);background:var(--store-surface);box-shadow:var(--store-shadow)}.store-flash__indicator{width:8px;height:8px;border-radius:50%;background:var(--store-accent)}.store-flash--success .store-flash__indicator{background:var(--store-success)}.store-flash--error .store-flash__indicator{background:var(--store-danger)}.store-flash__message{font-size:13px}.store-flash__close{width:30px;height:30px;border:0;background:transparent;font-size:20px}

/* Footer */
.market-footer{margin-top:clamp(64px,8vw,112px);border-top:1px solid var(--store-line);background:var(--store-surface)}
.market-footer .store-container{padding-block:clamp(40px,5vw,72px)}
.market-footer__grid,.store-footer__grid{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(150px,.7fr));gap:40px}.market-footer h2,.market-footer h3{margin:0 0 12px}.market-footer p,.market-footer a{color:var(--store-muted);font-size:13px;line-height:1.7}.market-footer a:hover{color:var(--store-ink)}

/* Mobile app navigation */
.store-mobile-nav{display:none}
.store-discover-sheet{position:fixed;inset:0;z-index:350}.store-discover-sheet__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.44)}.store-discover-sheet__panel{position:absolute;left:0;right:0;bottom:0;max-height:min(78dvh,700px);overflow:auto;padding:8px 16px calc(24px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:var(--store-surface);box-shadow:0 -20px 60px rgba(0,0,0,.18)}.store-discover-sheet__handle{width:42px;height:4px;margin:4px auto 16px;border-radius:99px;background:var(--store-line-strong)}.store-discover-sheet__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.store-discover-sheet__header h2{margin:0;font-size:28px}.store-discover-sheet__header p{margin:5px 0 0;color:var(--store-muted);font-size:12px}.store-discover-sheet__header button{width:40px;height:40px;border:0;background:transparent;font-size:24px}.store-discover-sheet__grid{display:grid}.store-discover-sheet__grid a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;border-top:1px solid var(--store-line)}.store-discover-sheet__icon{display:grid;width:42px;height:42px;place-items:center;background:var(--store-surface-2)}.store-discover-sheet__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}.store-discover-sheet__grid strong{display:block;font-size:14px}.store-discover-sheet__grid small{color:var(--store-muted);font-size:11px}

.store-mini-cart{position:fixed;top:0;right:0;bottom:0;z-index:360;display:grid;grid-template-rows:auto 1fr auto;width:min(420px,100%);border-left:1px solid var(--store-line);background:var(--store-surface);box-shadow:-20px 0 60px rgba(0,0,0,.15)}.store-mini-cart__head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--store-line)}.store-mini-cart__head small{display:block;color:var(--store-muted)}.store-mini-cart__head button{width:40px;height:40px;border:0;background:transparent;font-size:24px}.store-mini-cart__items{overflow:auto;padding:16px}.store-mini-cart__footer{display:grid;gap:14px;padding:18px;border-top:1px solid var(--store-line)}.store-mini-cart__footer>div{display:flex;align-items:center;justify-content:space-between}.store-mini-cart__footer span{color:var(--store-muted);font-size:12px}
.store-toast{position:fixed;left:50%;bottom:96px;z-index:500;transform:translateX(-50%);max-width:min(420px,calc(100vw - 32px));padding:11px 15px;background:#111;color:#fff;font-size:12px;box-shadow:0 12px 34px rgba(0,0,0,.2)}

.store-campaign-popup{position:fixed;right:18px;bottom:18px;z-index:340;display:grid;width:min(390px,calc(100vw - 36px));overflow:hidden;border:1px solid var(--store-line);background:var(--store-surface);box-shadow:0 20px 60px rgba(0,0,0,.16)}.store-campaign-popup__close{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:22px}.store-campaign-popup__media{aspect-ratio:16/9;background:var(--store-surface-2)}.store-campaign-popup__media img{width:100%;height:100%;object-fit:cover}.store-campaign-popup__copy{display:grid;gap:10px;padding:20px}.store-campaign-popup__copy>span{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--store-muted)}.store-campaign-popup__copy h2{margin:0;font-size:26px}.store-campaign-popup__copy p{margin:0;color:var(--store-muted);font-size:13px}.store-campaign-popup__coupon{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:8px 12px;border:1px dashed var(--store-line-strong);background:transparent}.store-campaign-popup__coupon small,.store-campaign-popup__coupon i{color:var(--store-muted);font-style:normal;font-size:10px}.store-campaign-popup__action{display:inline-flex;min-height:44px;align-items:center;justify-content:center;background:var(--store-ink);color:var(--store-surface);font-size:13px;font-weight:700}.store-popup-launcher{position:fixed;right:18px;bottom:18px;z-index:330;min-height:44px;padding:0 14px;border:1px solid var(--store-line);background:var(--store-surface);box-shadow:var(--store-shadow-sm)}

@media(max-width:1100px){
  .app-header__bar{grid-template-columns:auto minmax(240px,1fr) auto;gap:0 18px}.app-header__nav{gap:20px}.app-header__brand-name{display:none}
}
@media(max-width:759px){
  :root{--store-header-h:62px;--store-mobile-nav-h:62px}
  body.store-page{padding-bottom:calc(var(--store-mobile-nav-rendered-h) + env(safe-area-inset-bottom))}
  .market-header{position:sticky;background:var(--store-surface)}
  .app-header__bar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions";gap:10px;min-height:62px;padding-block:0}
  .app-header__brand{min-height:62px}.app-header__logo{width:34px;height:34px;flex-basis:34px;border-radius:7px}.app-header__brand-name{display:block;max-width:150px;overflow:hidden;font-size:15px;text-overflow:ellipsis}
  .app-header__desktop-search,.app-header__nav,.app-header__utility-divider,.app-header__desktop-contact{display:none}
  .app-header__actions{display:block}.app-header__utility{gap:4px}.app-header__action-cluster{gap:2px}.app-header__utility-action,.header-icon-button{width:40px;height:40px;border-color:transparent;background:transparent}
  .app-header__desktop-theme{display:grid}.app-header__utility-action:hover,.header-icon-button:hover{border-color:transparent;background:var(--store-surface-2)}
  .store-header-search{padding-top:calc(14px + env(safe-area-inset-top))}.store-header-search__form{grid-template-columns:minmax(0,1fr) 48px}
  .store-contact-menu{position:fixed;left:12px;right:12px;top:72px;width:auto}
  .store-flash-stack{top:72px;right:12px;width:calc(100vw - 24px)}
  .store-mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:300;display:grid;grid-template-columns:repeat(var(--mobile-nav-count,5),1fr);min-height:calc(var(--store-mobile-nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--store-line);background:var(--store-surface);backdrop-filter:blur(16px)}
  .store-mobile-nav>a,.store-mobile-nav>button{position:relative;display:grid;min-width:0;min-height:var(--store-mobile-nav-h);place-items:center;padding:6px 2px;border:0;background:transparent;color:var(--store-muted);cursor:pointer}
  .store-mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.store-mobile-nav [aria-current="page"]{color:var(--store-ink)}.store-mobile-nav [aria-current="page"]::after{content:"";position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:currentColor}.store-mobile-nav__label{display:none}.store-mobile-nav__cart-icon{position:relative}.store-mobile-nav__cart-icon b{position:absolute;right:-9px;top:-8px;display:grid;min-width:16px;height:16px;place-items:center;padding:0 4px;border:2px solid var(--store-surface);border-radius:99px;background:var(--store-sale);color:#fff;font-size:8px}
  .store-mini-cart{width:100%}.store-toast{bottom:calc(var(--store-mobile-nav-h) + 16px + env(safe-area-inset-bottom))}
  .store-campaign-popup{right:0;bottom:calc(var(--store-mobile-nav-h) + env(safe-area-inset-bottom));left:0;width:auto;border-right:0;border-left:0}.store-campaign-popup--mobile-notification_bar{grid-template-columns:minmax(0,1fr) auto}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__media{display:none}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__copy{padding:11px 48px 11px 14px}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__copy h2{font-size:13px}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__copy p{font-size:11px}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__copy>span,.store-campaign-popup--mobile-notification_bar .store-campaign-popup__coupon{display:none}.store-campaign-popup--mobile-notification_bar .store-campaign-popup__action{min-height:34px;width:max-content;padding:0 10px;font-size:11px}
  .store-popup-launcher{right:12px;bottom:calc(var(--store-mobile-nav-h) + 12px + env(safe-area-inset-bottom))}
  .market-footer{margin-bottom:0}.market-footer__grid,.store-footer__grid{grid-template-columns:1fr 1fr;gap:26px 20px}
}
@media(max-width:420px){.app-header__brand-name{max-width:116px}.market-footer__grid,.store-footer__grid{grid-template-columns:1fr}.store-mega-menu__columns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.market-header,.store-mobile-nav{backdrop-filter:none}}

/* Presentation V3 search experience */
@media(min-width:760px){.app-header__search-wrap{display:none}}
.store-header-search__shell{width:min(920px,100%);margin:0 auto}.store-header-search__head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.store-header-search__head span{display:block;color:var(--store-muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.store-header-search__head h2{margin:4px 0 0;font-size:34px}.store-header-search__head>button{display:grid;width:42px;height:42px;place-items:center;border:0;background:transparent;font-size:26px}.store-header-search__content{display:grid;grid-template-columns:.7fr 1.3fr;gap:40px;margin-top:34px}.store-header-search__content h3{margin:0 0 14px;font-size:22px}.store-header-search__trends{display:flex;flex-wrap:wrap;gap:8px}.store-header-search__trends a{display:inline-flex;min-height:38px;align-items:center;padding:0 11px;border:1px solid var(--store-line);background:var(--store-surface);font-size:12px}.store-header-search__categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--store-line)}.store-header-search__categories a{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:68px;padding:10px 12px;background:var(--store-surface)}.store-header-search__categories a:hover{background:var(--store-surface-2)}.store-header-search__categories a>span{display:grid;width:38px;height:38px;place-items:center;background:var(--store-surface-2);color:var(--store-muted)}.store-header-search__categories svg{width:19px;height:19px}.store-header-search__categories strong{font-size:13px}.store-header-search__categories i{color:var(--store-muted);font-style:normal}
@media(max-width:759px){.store-header-search__content{grid-template-columns:1fr;gap:28px;margin-top:28px}.store-header-search__categories{grid-template-columns:1fr}.store-header-search__head h2{font-size:28px}}
body.is-search-open{overflow:hidden}

/* Route-local mobile top bar primitive */
.app-page-topbar{display:none}
@media(max-width:900px){
  .app-page-topbar{position:sticky;top:var(--store-header-h);z-index:75;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;min-height:54px;padding:6px var(--store-page-gutter);border-bottom:1px solid var(--store-line);background:color-mix(in srgb,var(--store-surface) 98%,transparent);backdrop-filter:blur(12px)}
  .app-page-topbar>strong{overflow:hidden;font-size:14px;font-weight:700;text-align:center;text-overflow:ellipsis;white-space:nowrap}.app-page-topbar__button{position:relative;display:grid;width:40px;height:40px;place-items:center;border:0;background:transparent;color:var(--store-ink)}.app-page-topbar__button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-page-topbar__button b{position:absolute;right:0;top:0;display:grid;min-width:15px;height:15px;place-items:center;border-radius:99px;background:var(--store-sale);color:#fff;font-size:8px}.app-page-topbar__actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}.app-page-topbar__spacer,.app-page-topbar__title-spacer{display:block;width:40px}.app-page-topbar__brand{justify-self:center}.app-page-topbar__brand>span{position:relative;display:grid;width:34px;height:34px;place-items:center;overflow:hidden;border-radius:7px;background:#111;color:#fff}.app-page-topbar__brand b{font-size:10px}.app-page-topbar__brand img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
}

/* ──────────────────────────────────────────────────────────────
   Presentation V3.2 — Overlay and global surface repair
   Search behaves as a real modal layer; page/docks cannot paint through it.
   ────────────────────────────────────────────────────────────── */
body.store-page:not(.is-search-open) .market-header{background:var(--store-surface)}
.store-header-search{
  width:100vw;
  height:100dvh;
  min-height:100dvh;
  overflow-y:auto;
  overscroll-behavior:contain;
  isolation:isolate;
  background:var(--store-surface);
}
.store-header-search__shell{min-height:100%;padding-bottom:calc(32px + env(safe-area-inset-bottom))}
body.is-search-open{
  overflow:hidden;
  overscroll-behavior:none;
}
body.is-search-open .market-header{
  z-index:1000;
  background:var(--store-surface);
  backdrop-filter:none;
}
body.is-search-open .store-header-search{z-index:1010}
body.is-search-open :where(.store-mobile-nav,.mobile-sticky-purchase,.cart-mobile-dock,.checkout-mobile-dock,.store-campaign-popup,.store-popup-launcher){
  visibility:hidden!important;
  pointer-events:none!important;
}

@media(max-width:759px){
  .market-header,.store-mobile-nav{background:var(--store-surface)}
  .store-header-search{padding:calc(14px + env(safe-area-inset-top)) var(--store-page-gutter) calc(24px + env(safe-area-inset-bottom))}
  .store-header-search__shell{width:100%;max-width:none}
  .store-header-search__head{position:sticky;top:0;z-index:2;align-items:center;margin:0 -2px 16px;padding:0 2px 10px;background:var(--store-surface)}
  .store-header-search__head h2{font-size:27px}
  .store-header-search__form{position:sticky;top:52px;z-index:2;margin:0;background:var(--store-surface)}
  .store-header-search__content{margin-top:30px;padding-bottom:20px}
  .store-header-search__content h3{font-size:21px}
  .store-header-search__categories{background:transparent}
  .store-header-search__categories a{min-height:66px;border-bottom:1px solid var(--store-line)}
}
body.is-search-open #store-main,
body.is-search-open .market-footer{visibility:hidden}

/* Presentation V3.3 — mini-cart drawer / mobile sheet */
.store-mini-cart-backdrop{
  position:fixed;inset:0;z-index:355;background:rgba(17,19,21,.28);
  opacity:0;transition:opacity var(--store-motion-fast);
}
.store-mini-cart-backdrop.is-open{opacity:1}
.store-mini-cart{
  z-index:360;width:min(440px,100%);background:#fff;
  transform:translateX(18px);opacity:0;
  transition:transform var(--store-motion-fast),opacity var(--store-motion-fast);
}
.store-mini-cart.is-open{transform:translateX(0);opacity:1}
.store-mini-cart__handle{display:none}
.store-mini-cart__head{padding:20px 20px 16px;background:#fff}
.store-mini-cart__head>div{display:grid;gap:3px}
.store-mini-cart__head small{font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.store-mini-cart__head strong{font-size:20px;line-height:1.1}
.store-mini-cart__head button{display:grid;place-items:center;border-radius:50%;cursor:pointer}
.store-mini-cart__items{display:grid;align-content:start;gap:0;padding:0 20px;background:#fff}
.store-mini-cart__item{
  display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:center;
  padding:16px 0;border-bottom:1px solid var(--store-line);background:#fff;
}
.store-mini-cart__item img,.store-mini-cart__item>span{
  display:grid;width:88px;height:88px;place-items:center;overflow:hidden;background:#fff;
  object-fit:contain;
}
.store-mini-cart__item>div{display:grid;gap:6px}
.store-mini-cart__item strong{font-size:13px;line-height:1.35}
.store-mini-cart__item small{color:var(--store-muted);font-size:11px;line-height:1.45}
.store-mini-cart__footer{gap:12px;padding:16px 20px 20px;background:#fff}
.store-mini-cart__footer>div strong{font-size:18px}
body.store-mini-cart-open{overflow:hidden}

@media(max-width:900px){
  .store-mini-cart-backdrop{background:rgba(17,19,21,.32)}
  .store-mini-cart{
    top:auto;right:0;bottom:calc(var(--store-mobile-nav-rendered-h) + env(safe-area-inset-bottom));left:0;
    width:100%;max-height:min(74dvh,620px);border:1px solid var(--store-line);border-bottom:0;border-radius:18px 18px 0 0;
    box-shadow:0 -18px 48px rgba(17,19,21,.16);
    transform:translateY(20px);opacity:0;
  }
  .store-mini-cart.is-open{transform:translateY(0);opacity:1}
  .store-mini-cart__handle{display:block;width:42px;height:4px;margin:8px auto 0;border-radius:99px;background:var(--store-line-strong)}
  .store-mini-cart__head{padding:12px 16px}
  .store-mini-cart__items{padding:0 16px}
  .store-mini-cart__item{grid-template-columns:78px minmax(0,1fr);gap:12px;padding:14px 0}
  .store-mini-cart__item img,.store-mini-cart__item>span{width:78px;height:78px}
  .store-mini-cart__footer{padding:14px 16px max(14px,env(safe-area-inset-bottom))}
}
.store-mini-cart__media-fallback{
  width:88px;height:88px;place-items:center;border:1px solid var(--store-line);background:#fff;color:var(--store-muted);font-size:12px;font-weight:800;
}
.store-mini-cart__media-fallback:not([hidden]){display:grid}
@media(max-width:900px){.store-mini-cart__media-fallback{width:78px;height:78px}}

/* V3.4 — route-aware mobile header utility ownership */
@media(max-width:900px){
  body.store-page:not(.store-page--search):not(.store-view--detail) .app-header__search-wrap,
  body.store-page:not(.store-page--search):not(.store-view--detail) .app-header__utility .utility-cart{display:none}
  body.store-page:not(.store-page--search):not(.store-view--detail) .app-header__action-cluster{gap:2px}
}

/* V3.4 — Search overlay mirrors the image-led category browser on every viewport. */
.store-header-search{background:#fff;color:var(--store-ink)}
.store-header-search__shell{width:min(900px,100%)}
.store-header-search__head{margin-bottom:8px;align-items:center}
.store-header-search__head>div{display:none}
.store-header-search__form{grid-template-columns:minmax(0,1fr) 44px;max-width:820px;margin:0 auto;border-bottom:1px solid var(--store-line-strong)}
.store-header-search__form input{height:54px;padding:0 8px;border:0;border-radius:0;background:#fff;font-size:17px;font-weight:600}
.store-header-search__form button{width:44px;height:44px;border-radius:9px}
.store-header-search__content{display:block;max-width:820px;margin:20px auto 0}
.store-header-search__category-section h3{margin:0 0 16px;font-size:30px;line-height:1;font-weight:850;letter-spacing:-.045em}
.store-header-search__categories{display:grid;grid-template-columns:1fr;gap:12px;background:transparent}
.store-header-search__categories a{display:grid;grid-template-columns:minmax(0,1fr) 42%;min-height:104px;overflow:hidden;padding:0;border:0;border-radius:18px;background:#f6f6f4;color:var(--store-ink)}
.store-header-search__categories a:hover{background:#f2f2ef}
.store-header-search__categories a>strong{display:flex;align-items:center;padding:18px;font-size:16px;font-weight:850;letter-spacing:-.025em}
.store-header-search__categories a>span{display:block;min-width:0;overflow:hidden;background:#ececea}
.store-header-search__categories a>span img{width:100%;height:100%;min-height:104px;object-fit:cover}
.store-header-search__categories a>span b{display:grid;min-height:104px;place-items:center;color:var(--store-muted);font-size:28px}
@media(max-width:900px){
  .store-header-search{padding:calc(14px + env(safe-area-inset-top)) var(--store-page-gutter) calc(var(--store-mobile-nav-rendered-h) + 28px)}
  .store-header-search__head{position:absolute;right:var(--store-page-gutter);top:calc(15px + env(safe-area-inset-top));z-index:2;margin:0}
  .store-header-search__head>button{width:40px;height:40px;color:var(--store-muted)}
  .store-header-search__form{padding-right:44px}
  .store-header-search__form button{display:none}
  .store-header-search__category-section h3{font-size:27px}
  .store-header-search__categories a{min-height:100px;border-radius:17px}
  .store-header-search__categories a>span img,.store-header-search__categories a>span b{min-height:100px}
  .store-header-search__categories a>strong{font-size:15px}
}
/* V3.4 alignment correction: overlay close belongs to the search field row. */
.store-header-search__shell{position:relative}
.store-header-search__head{position:absolute;right:0;top:0;z-index:2;margin:0}
.store-header-search__form{padding-right:44px}


/* ──────────────────────────────────────────────────────────────
   Presentation V3.6 — cleaner search modal layout.
   ────────────────────────────────────────────────────────────── */
.store-header-search{background:#fff;color:#111315}
.store-header-search__shell{width:min(860px,100%);margin:0 auto;padding-bottom:calc(44px + env(safe-area-inset-bottom))}
.store-header-search__head{position:static;top:auto;right:auto;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;max-width:860px;margin:0 auto 20px;padding:0;background:transparent}
.store-header-search__head>div{display:block}
.store-header-search__head span{display:block;color:#7a7f85;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.store-header-search__head h2{margin:6px 0 0;font-size:clamp(32px,4vw,48px);line-height:.98;letter-spacing:-.05em}
.store-header-search__head>button{display:grid;width:42px;height:42px;place-items:center;border:0;border-radius:12px;background:#f3f4f6;color:#4d535c;font-size:26px}
.store-header-search__form{position:static;display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:12px;max-width:860px;margin:0 auto;padding-right:0;border:0;background:transparent}
.store-header-search__form input{height:58px;padding:0 18px;border:1px solid #d8dde3;border-radius:18px;background:#fff;color:#111315;font-size:16px;font-weight:600;box-shadow:none}
.store-header-search__form button{display:grid;width:52px;height:52px;place-items:center;align-self:center;border-radius:16px;background:#111315;color:#fff}
.store-header-search__form button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.store-header-search__content{display:block;max-width:860px;margin:24px auto 0;padding-bottom:18px}
.store-header-search__category-section h3{margin:0 0 16px;font-size:24px;line-height:1.05;letter-spacing:-.04em}
.store-header-search__categories{display:grid;grid-template-columns:1fr;gap:14px;background:transparent}
.store-header-search__categories a{display:grid;grid-template-columns:minmax(0,1fr) 39%;align-items:stretch;min-height:112px;overflow:hidden;border-radius:22px;background:#f6f6f4;color:#111315}
.store-header-search__categories a:hover{background:#f1f1ee}
.store-header-search__categories a>strong{display:flex;align-items:center;padding:18px 20px;font-size:17px;font-weight:820;letter-spacing:-.025em}
.store-header-search__categories a>span{display:block;min-width:0;overflow:hidden;background:#ececea}
.store-header-search__categories a>span img{width:100%;height:100%;min-height:112px;object-fit:cover}
.store-header-search__categories a>span b{display:grid;min-height:112px;place-items:center;color:#7a7f85;font-size:28px}
@media(max-width:759px){
  .store-header-search{padding:calc(16px + env(safe-area-inset-top)) var(--store-page-gutter) calc(var(--store-mobile-nav-rendered-h) + 28px)}
  .store-header-search__shell{width:100%;max-width:none}
  .store-header-search__head{margin-bottom:16px}
  .store-header-search__head h2{font-size:28px}
  .store-header-search__head>button{width:40px;height:40px;font-size:24px}
  .store-header-search__form{grid-template-columns:minmax(0,1fr) 48px;gap:10px}
  .store-header-search__form input{height:56px;padding:0 16px;border-radius:16px;font-size:15px}
  .store-header-search__form button{display:grid;width:48px;height:48px;border-radius:14px}
  .store-header-search__content{margin-top:20px}
  .store-header-search__category-section h3{font-size:22px}
  .store-header-search__categories a{grid-template-columns:minmax(0,1fr) 42%;min-height:100px;border-radius:18px}
  .store-header-search__categories a>strong{padding:16px;font-size:15px}
  .store-header-search__categories a>span img,
  .store-header-search__categories a>span b{min-height:100px}
}

/* CH UNIFIED PRODUCT DISCOVERY V4 START */
/*
 * Ürünler ve global search aynı discovery surface'i kullanır.
 * Desktop = geniş katalog browser.
 * Mobile  = mevcut image-led category browser.
 */

.app-header__search-wrap.is-open{
  display:block !important;
}


/* Overlay can contain 50+ categories safely. */

.store-header-search{
  overflow-y:auto;
}


/* ----------------------------------------------------------
   Collections / shortcuts
   ---------------------------------------------------------- */

.store-header-search__quick-links{
  display:flex;

  gap:8px;

  width:min(860px,100%);

  margin:18px auto 0;

  overflow-x:auto;
  overflow-y:hidden;

  scrollbar-width:none;
}

.store-header-search__quick-links::-webkit-scrollbar{
  display:none;
}

.store-header-search__quick-links a{
  display:inline-flex;

  min-height:40px;

  align-items:center;

  flex:0 0 auto;

  padding:0 13px;

  border:1px solid var(--store-line);
  border-radius:999px;

  background:var(--store-surface);
  color:var(--store-ink);

  font-size:12px;
  font-weight:720;

  transition:
    border-color .16s ease,
    background-color .16s ease;
}

.store-header-search__quick-links a:hover{
  border-color:var(--store-line-strong);
  background:var(--store-surface-2);
}


/* ==========================================================
   DESKTOP
   Full-screen catalog browser.
   ========================================================== */

@media(min-width:981px){

  .store-header-search{
    padding:
      28px
      30px
      56px;
  }


  .store-header-search__shell{
    width:min(1320px,100%);
    max-width:none;

    margin-inline:auto;
  }


  .store-header-search__head{
    max-width:1320px;

    margin-bottom:20px;
  }


  .store-header-search__head h2{
    font-size:46px;
  }


  /*
   * Desktopta kategori araması soldan başlar.
   * Böylece modal gibi değil gerçek katalog katmanı gibi görünür.
   */

  .store-header-search__form{
    max-width:760px;

    margin-left:0;
    margin-right:0;
  }


  .store-header-search__quick-links{
    width:100%;
    max-width:1320px;

    margin:
      20px
      0
      0;

    padding-bottom:20px;

    border-bottom:1px solid var(--store-line);
  }


  .store-header-search__content{
    max-width:1320px;

    margin:
      28px
      0
      0;
  }


  /*
   * Sol taraf section başlığı,
   * sağ taraf scalable category browser.
   */

  .store-header-search__category-section{
    display:grid;

    grid-template-columns:
      190px
      minmax(0,1fr);

    gap:28px;

    align-items:start;
  }


  .store-header-search__category-section h3{
    position:sticky;

    top:0;

    margin:0;

    padding-top:4px;

    font-size:22px;
  }


  /*
   * 50 kategori olduğunda tek dev kolon yerine
   * iki kontrollü discovery kolonu.
   */

  .store-header-search__categories{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:
      12px
      14px;
  }


  .store-header-search__categories a{
    grid-template-columns:
      minmax(0,1fr)
      38%;

    min-height:112px;

    border-radius:14px;
  }


  .store-header-search__categories a>strong{
    font-size:15px;
  }
}


/* ==========================================================
   MOBILE
   Existing category-browser behavior preserved.
   ========================================================== */

@media(max-width:759px){

  .store-header-search__quick-links{
    width:100%;

    margin-top:14px;

    padding-bottom:2px;
  }


  .store-header-search__quick-links a{
    min-height:38px;

    padding-inline:12px;

    font-size:11px;
  }
}
/* CH UNIFIED PRODUCT DISCOVERY V4 END */

/* CH DISCOVERY UI V4.1 START */
/* ==========================================================
   BASE
   One discovery surface / two intentional responsive layouts.
   ========================================================== */

.store-header-search{
  background:#fff;
  color:#111315;
}

.store-header-search__shell{
  position:relative;
}

.store-header-search__categories a{
  color:#111315;
  text-decoration:none;
}

.store-header-search__categories a>span{
  /* Critical reset:
     removes legacy 38x38 image container. */
  width:auto;
  height:auto;
  min-width:0;
}

.store-header-search__categories a>span img{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  object-fit:cover;
}


/* ==========================================================
   DESKTOP
   Searchable visual catalog browser
   ========================================================== */

@media(min-width:981px){

  .store-header-search{
    padding:
      28px
      max(28px,var(--store-page-gutter))
      64px;
  }

  .store-header-search__shell{
    width:min(1240px,100%);
    max-width:1240px;
    margin-inline:auto;
  }


  /* Header ---------------------------------------------- */

  .store-header-search__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    width:100%;
    max-width:none;

    margin:0 0 18px;
    padding:0;
  }

  .store-header-search__head>div{
    display:block;
  }

  .store-header-search__head span{
    font-size:10px;
    font-weight:750;
    letter-spacing:.12em;
  }

  .store-header-search__head h2{
    margin-top:6px;

    font-size:clamp(34px,3vw,46px);
    line-height:.95;
    font-weight:760;
    letter-spacing:-.055em;
  }

  .store-header-search__head>button{
    width:42px;
    height:42px;

    border-radius:50%;

    background:#f5f5f3;

    color:#555b62;

    transition:
      background-color .16s ease,
      color .16s ease,
      transform .16s ease;
  }

  .store-header-search__head>button:hover{
    background:#111315;
    color:#fff;
    transform:rotate(3deg);
  }


  /* Search ---------------------------------------------- */

  .store-header-search__form{
    display:grid;
    grid-template-columns:minmax(0,1fr) 52px;

    width:min(720px,100%);
    max-width:720px;

    margin:0;

    gap:8px;
  }

  .store-header-search__form input{
    height:52px;

    padding-inline:16px;

    border:1px solid #cfd3d7;
    border-radius:12px;

    background:#fff;

    font-size:14px;
    font-weight:540;

    transition:
      border-color .16s ease,
      box-shadow .16s ease;
  }

  .store-header-search__form input:focus{
    border-color:#111315;

    box-shadow:
      0 0 0 3px
      rgba(17,19,21,.07);
  }

  .store-header-search__form button{
    width:52px;
    height:52px;

    border-radius:12px;

    background:#111315;
  }


  /* Shortcut rail --------------------------------------- */

  .store-header-search__quick-links{
    width:100%;
    max-width:none;

    margin:16px 0 0;
    padding:0 0 20px;

    gap:8px;

    border-bottom:1px solid #e7e8e9;
  }

  .store-header-search__quick-links a{
    min-height:38px;

    padding-inline:13px;

    border-radius:999px;

    font-size:11px;
    font-weight:720;
  }


  /* Category section ------------------------------------ */

  .store-header-search__content{
    width:100%;
    max-width:none;

    margin:22px 0 0;
    padding:0;
  }

  .store-header-search__category-section{
    display:grid;
    grid-template-columns:1fr;

    gap:14px;
  }

  .store-header-search__category-section h3{
    position:static;

    margin:0;
    padding:0;

    font-size:20px;
    line-height:1.1;
    font-weight:780;
    letter-spacing:-.035em;
  }


  /* 3-column scalable category browser */

  .store-header-search__categories{
    display:grid;

    grid-template-columns:
      repeat(3,minmax(0,1fr));

    gap:10px;

    background:transparent;
  }

  .store-header-search__categories a{
    display:grid;

    grid-template-columns:
      minmax(0,1fr)
      minmax(96px,36%);

    min-height:92px;

    overflow:hidden;

    padding:0;

    border:1px solid transparent;
    border-radius:14px;

    background:#f6f6f4;

    transition:
      background-color .18s ease,
      border-color .18s ease,
      transform .18s ease;
  }

  .store-header-search__categories a:hover{
    border-color:#e1e2e2;

    background:#f1f1ee;

    transform:translateY(-1px);
  }

  .store-header-search__categories a>strong{
    display:flex;

    min-width:0;

    align-items:center;

    padding:15px 16px;

    font-size:13px;
    line-height:1.2;
    font-weight:780;

    letter-spacing:-.018em;

    overflow-wrap:anywhere;
  }

  .store-header-search__categories a>span{
    display:block;

    width:auto;
    height:100%;
    min-height:90px;

    overflow:hidden;

    background:#ececea;
  }

  .store-header-search__categories a>span img{
    min-height:90px;

    object-fit:cover;

    transition:transform .28s ease;
  }

  .store-header-search__categories a:hover>span img{
    transform:scale(1.025);
  }

  .store-header-search__categories a>span b{
    display:grid;

    min-height:90px;

    place-items:center;

    color:#74797f;

    font-size:22px;
  }
}


/* Four columns only when there is genuinely enough room. */

@media(min-width:1500px){

  .store-header-search__shell{
    width:min(1380px,100%);
    max-width:1380px;
  }

  .store-header-search__categories{
    grid-template-columns:
      repeat(4,minmax(0,1fr));
  }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media(min-width:760px) and (max-width:980px){

  .store-header-search__categories{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:10px;
  }

  .store-header-search__categories a{
    grid-template-columns:
      minmax(0,1fr)
      38%;

    min-height:92px;

    border-radius:14px;
  }

  .store-header-search__categories a>span{
    width:auto;
    height:100%;
  }
}


/* ==========================================================
   MOBILE
   Dense image-led navigation for 10–50 categories
   ========================================================== */

@media(max-width:759px){

  .store-header-search{
    padding:
      14px
      var(--store-page-gutter)
      calc(24px + env(safe-area-inset-bottom));
  }

  .store-header-search__shell{
    width:100%;
    max-width:520px;

    margin-inline:auto;
  }


  /* We already have the global mobile header.
     Avoid competing oversized modal title treatment. */

  .store-header-search__head{
    position:static;

    display:block;

    margin:0;
    padding:0;

    background:transparent;
  }

  .store-header-search__head>div{
    display:none;
  }

  .store-header-search__head>button{
    position:absolute;

    top:3px;
    right:0;

    z-index:5;

    width:40px;
    height:40px;

    background:transparent;
  }


  /* Search field */

  .store-header-search__form{
    position:sticky;

    top:0;

    z-index:4;

    display:grid;

    grid-template-columns:
      minmax(0,1fr);

    width:100%;

    margin:0;

    padding:
      0
      44px
      12px
      0;

    background:#fff;
  }

  .store-header-search__form input{
    height:50px;

    padding:0 16px;

    border:1px solid #bfc3c7;
    border-radius:12px;

    background:#fff;

    font-size:14px;
    font-weight:500;
  }

  .store-header-search__form button{
    display:none;
  }


  /* Hide merchandising shortcuts on the constrained view.
     Categories are the primary task on mobile. */

  .store-header-search__quick-links{
    display:none;
  }


  /* Categories heading */

  .store-header-search__content{
    margin:4px 0 0;
    padding-bottom:16px;
  }

  .store-header-search__category-section{
    display:grid;

    grid-template-columns:1fr;

    gap:12px;
  }

  .store-header-search__category-section h3{
    position:static;

    margin:0 0 2px;

    text-align:center;

    font-size:21px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:-.035em;
  }


  /* Compact rows */

  .store-header-search__categories{
    display:grid;

    grid-template-columns:1fr;

    gap:8px;

    background:transparent;
  }

  .store-header-search__categories a{
    display:grid;

    grid-template-columns:
      minmax(0,1fr)
      108px;

    min-height:88px;
    height:88px;

    overflow:hidden;

    padding:0;

    border:1px solid transparent;
    border-radius:13px;

    background:#f6f6f4;
  }

  .store-header-search__categories a:active{
    background:#eeeeeb;

    transform:scale(.995);
  }

  .store-header-search__categories a>strong{
    display:flex;

    min-width:0;

    align-items:center;

    padding:14px 16px;

    color:#111315;

    font-size:13px;
    line-height:1.15;
    font-weight:780;

    letter-spacing:-.015em;

    overflow-wrap:anywhere;
  }

  .store-header-search__categories a>span{
    display:block;

    width:108px;
    height:86px;
    min-height:86px;

    margin:0;

    overflow:hidden;

    background:#efefed;
  }

  .store-header-search__categories a>span img{
    width:100%;
    height:86px;
    min-height:86px;

    object-fit:cover;
  }

  .store-header-search__categories a>span b{
    display:grid;

    width:100%;
    min-height:86px;

    place-items:center;

    color:#777c82;

    font-size:20px;
  }
}


/* Narrow mobile */

@media(max-width:360px){

  .store-header-search__categories a{
    grid-template-columns:
      minmax(0,1fr)
      92px;
  }

  .store-header-search__categories a>span{
    width:92px;
  }
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.store-header-search__categories a:focus-visible,
.store-header-search__quick-links a:focus-visible,
.store-header-search__head>button:focus-visible{

  outline:3px solid #111315;
  outline-offset:2px;
}


@media(prefers-reduced-motion:reduce){

  .store-header-search__categories a,
  .store-header-search__categories a>span img,
  .store-header-search__head>button{

    transition:none !important;
    transform:none !important;
  }
}
/* CH DISCOVERY UI V4.1 END */

/* CH CATEGORY MEGA MENU V4.2 ---------------------------------------------
 * Admin-driven hierarchy + desktop mega menu + mobile drill-down.
 * Typography family is inherited from the existing storefront system.
 */
.store-header-search{
  overflow-y:auto;
  padding:18px 24px calc(36px + env(safe-area-inset-bottom));
  background:var(--store-surface);
  color:var(--store-ink);
}
.store-header-search__shell{
  width:min(1680px,100%);
  min-height:0;
  margin-inline:auto;
  padding:0;
}
.store-category-mega__topbar{
  position:sticky;
  top:-18px;
  z-index:12;
  display:grid;
  grid-template-columns:220px minmax(320px,620px) 42px;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:74px;
  padding:12px 0;
  border-bottom:1px solid var(--store-line);
  background:var(--store-surface);
  background:color-mix(in srgb,var(--store-surface) 96%,transparent);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.store-category-mega__brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:var(--store-ink);
  text-decoration:none;
}
.store-category-mega__brand>span{
  display:grid;
  width:30px;
  height:30px;
  flex:0 0 auto;
  place-items:center;
  border-radius:7px;
  background:var(--store-ink);
  color:var(--store-surface);
  font-size:10px;
  font-weight:900;
  letter-spacing:-.03em;
}
.store-category-mega__brand>strong{
  min-width:0;
  overflow:hidden;
  font-size:15px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.store-header-search .store-header-search__form{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  align-items:center;
  gap:9px;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 14px;
  border:1px solid var(--store-line-strong);
  border-radius:10px;
  background:var(--store-surface);
}
.store-header-search .store-header-search__form>svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:var(--store-muted);
  stroke-width:1.7;
}
.store-header-search .store-header-search__form input{
  width:100%;
  height:44px;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  color:var(--store-ink);
  font-size:13px;
  font-weight:500;
  box-shadow:none;
}
.store-category-mega__close{
  display:grid;
  width:40px;
  height:40px;
  place-items:center;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--store-ink);
  cursor:pointer;
}
.store-category-mega__close:hover{background:var(--store-surface-2)}
.store-category-mega__close svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
}
.store-header-search__quick-links{display:none!important}

.store-category-mega{
  display:grid;
  grid-template-columns:minmax(220px,270px) minmax(500px,1fr) minmax(420px,560px);
  align-items:start;
  gap:clamp(34px,3.8vw,64px);
  padding:28px 0 38px;
}
.store-category-mega__nav{min-width:0}
.store-category-mega__label{
  display:block;
  margin-bottom:12px;
  color:var(--store-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.store-category-mega__root-list{display:grid;gap:1px}
.store-category-mega__root{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 20px;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:46px;
  padding:0 10px 0 0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--store-ink);
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.store-category-mega__root span{
  min-width:0;
  overflow:hidden;
  font-size:16px;
  line-height:1.25;
  font-weight:760;
  letter-spacing:-.015em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.store-category-mega__root svg{
  width:17px;
  height:17px;
  justify-self:end;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  opacity:0;
  transition:opacity .15s ease,transform .15s ease;
}
.store-category-mega__root::before{
  content:"";
  position:absolute;
  left:-12px;
  width:3px;
  height:19px;
  border-radius:99px;
  background:var(--store-ink);
  opacity:0;
}
.store-category-mega__root:hover,
.store-category-mega__root:focus-visible,
.store-category-mega__root.is-active{padding-left:10px;background:var(--store-surface-2)}
.store-category-mega__root:hover svg,
.store-category-mega__root.is-active svg{opacity:1}
.store-category-mega__root.is-active::before{opacity:1}
.store-category-mega__root.is-active span{font-weight:850}
.store-category-mega__root:focus-visible,
.store-category-mega__close:focus-visible,
.store-category-mobile button:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}
.store-category-mega__shortcuts{
  display:grid;
  gap:9px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--store-line);
}
.store-category-mega__shortcuts a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:26px;
  color:var(--store-ink);
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}
.store-category-mega__shortcuts small{
  color:#d71920;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.store-category-mega__content{min-width:0}
.store-category-mega__panel{min-width:0}
.store-category-mega__panel-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
  padding-bottom:17px;
  border-bottom:1px solid var(--store-line);
}
.store-category-mega__panel-head h2{
  margin:0;
  min-width:0;
  font-size:clamp(30px,2.1vw,36px);
  line-height:1;
  font-weight:820;
  letter-spacing:-.045em;
}
.store-category-mega__panel-head>a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:0 15px;
  border:1px solid var(--store-line-strong);
  border-radius:999px;
  background:var(--store-surface);
  color:var(--store-ink);
  font-size:13px;
  font-weight:820;
  text-decoration:none;
  white-space:nowrap;
}
.store-category-mega__groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px 44px;
}
.store-category-mega__group{min-width:0}
.store-category-mega__group h3{
  margin:0 0 8px;
  font-size:13.5px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.store-category-mega__group h3 a{display:inline-flex;align-items:center;gap:7px;color:inherit;text-decoration:none}
.store-category-mega__group h3 a>span:last-child{font-size:12px}
.store-category-mega__group>div{display:grid;gap:0}
.store-category-mega__group>div>a{
  position:relative;
  width:max-content;
  max-width:100%;
  padding:6px 0 6px 15px;
  color:var(--store-muted);
  font-size:15.5px;
  line-height:1.35;
  text-decoration:none;
  transition:color .15s ease,transform .15s ease;
}
.store-category-mega__group>div>a::before{content:"";position:absolute;left:1px;top:50%;width:4px;height:4px;transform:translateY(-50%);border-radius:50%;background:color-mix(in srgb,var(--store-muted) 45%,transparent)}
.store-category-mega__group>div>a:hover{color:var(--store-ink);transform:translateX(2px)}
.store-category-mega__promo{position:sticky;top:88px;min-width:0}
.store-category-mega__promo-card{
  position:relative;
  display:block;
  overflow:hidden;
  min-height:600px;
  aspect-ratio:4/5;
  background:var(--store-surface-2);
  color:#fff;
  text-decoration:none;
  isolation:isolate;
}
.store-category-mega__promo-media{position:absolute;inset:0;display:block}
.store-category-mega__promo-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.store-category-mega__promo-card:hover .store-category-mega__promo-media img{transform:scale(1.025)}
.store-category-mega__promo-media.is-placeholder{display:grid;place-items:center;background:var(--store-surface-2);color:var(--store-muted)}
.store-category-mega__promo-media b{font-size:58px;font-weight:900}
.store-category-mega__promo-card::after{
  content:"";
  position:absolute;
  inset:34% 0 0;
  z-index:1;
  background:linear-gradient(to bottom,transparent,rgba(0,0,0,.78));
}
.store-category-mega__promo-copy{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:2;
  display:grid;
  padding:28px;
}
.store-category-mega__promo-copy small{
  margin-bottom:7px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  opacity:.88;
}
.store-category-mega__promo-copy strong{
  font-size:27px;
  line-height:1.02;
  font-weight:850;
  letter-spacing:-.035em;
}
.store-category-mega__promo-copy em{
  display:-webkit-box;
  overflow:hidden;
  margin-top:9px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  font-size:14.5px;
  line-height:1.5;
  font-style:normal;
  opacity:.92;
}
.store-category-mega__promo-copy i{
  margin-top:15px;
  font-size:12px;
  font-weight:800;
  font-style:normal;
}
.store-category-mega__empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid var(--store-line);
  border-bottom:1px solid var(--store-line);
}
.store-category-mobile{display:none}

@media(min-width:1450px){
  .store-header-search__shell{width:min(1680px,100%)}
  .store-category-mega{grid-template-columns:minmax(230px,280px) minmax(560px,1fr) minmax(480px,600px);gap:56px}
  .store-category-mega__promo-card{min-height:660px}
  .store-category-mega__panel-head h2{font-size:48px}
}
@media(min-width:1800px){
  .store-header-search__shell{width:min(1740px,100%)}
  .store-category-mega{grid-template-columns:280px minmax(620px,1fr) 620px;gap:64px}
  .store-category-mega__promo-card{min-height:700px}
}
@media(min-width:981px) and (max-width:1180px){
  .store-header-search__shell{width:min(1140px,100%)}
  .store-category-mega__topbar{grid-template-columns:190px minmax(280px,520px) 40px;gap:22px}
  .store-category-mega{grid-template-columns:190px minmax(360px,1fr) minmax(300px,360px);gap:26px}
  .store-category-mega__groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
  .store-category-mega__promo-card{min-height:500px}
  .store-category-mega__promo-copy{padding:22px 20px}
  .store-category-mega__promo-copy strong{font-size:24px}
}

@media(max-width:980px){
  .store-header-search{
    padding:calc(10px + env(safe-area-inset-top)) var(--store-page-gutter) calc(24px + env(safe-area-inset-bottom));
  }
  .store-header-search__shell{width:100%;max-width:680px;margin-inline:auto}
  .store-category-mega__topbar{
    top:calc(-10px - env(safe-area-inset-top));
    grid-template-columns:minmax(0,1fr) 40px;
    gap:8px;
    min-height:66px;
    padding:10px 0 11px;
  }
  .store-category-mega__brand{display:none}
  .store-header-search .store-header-search__form{grid-template-columns:18px minmax(0,1fr);padding-inline:12px}
  .store-header-search .store-header-search__form input{height:44px;font-size:13px}
  .store-category-mega{display:none}
  .store-category-mobile{display:block;padding:10px 0 18px}
  .store-category-mobile__root h2{display:none}
  .store-category-mobile__panel-head h2{
    margin:0;
    text-align:center;
    font-size:20px;
    line-height:1.15;
    font-weight:850;
    letter-spacing:-.025em;
  }
  .store-category-mobile__list{display:grid;margin-top:7px}
  .store-category-mobile__list>button{
    display:grid;
    grid-template-columns:minmax(0,1fr) 22px;
    align-items:center;
    gap:12px;
    width:100%;
    min-height:56px;
    padding:0 4px;
    border:0;
    border-bottom:1px solid var(--store-line);
    background:transparent;
    color:var(--store-ink);
    text-align:left;
    cursor:pointer;
  }
  .store-category-mobile__list>button span{font-size:16px;line-height:1.25;font-weight:850}
  .store-category-mobile__list svg,
  .store-category-mobile__panel-head button svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
  }
  .store-category-mobile__panel-head{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 40px;
    align-items:center;
    gap:8px;
    min-height:44px;
  }
  .store-category-mobile__panel-head::after{content:"";width:40px;height:1px}
  .store-category-mobile__panel-head button{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:var(--store-ink);
    cursor:pointer;
  }
  .store-category-mobile__promo{
    position:relative;
    display:block;
    overflow:hidden;
    margin:10px 0 12px;
    aspect-ratio:16/10;
    border-radius:12px;
    background:var(--store-surface-2);
    color:#fff;
    text-decoration:none;
  }
  .store-category-mobile__promo-media{position:absolute;inset:0;display:block}
  .store-category-mobile__promo-media img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
  .store-category-mobile__promo-media.is-placeholder{display:grid;place-items:center;color:var(--store-muted)}
  .store-category-mobile__promo-media b{font-size:44px}
  .store-category-mobile__promo::after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.68))}
  .store-category-mobile__promo-copy{position:absolute;right:15px;bottom:14px;left:15px;z-index:2;display:grid;gap:4px}
  .store-category-mobile__promo-copy small{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;opacity:.92}
  .store-category-mobile__promo strong{font-size:22px;line-height:1.05}
  .store-category-mobile__all{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:36px;
    margin-bottom:10px;
    color:var(--store-muted);
    font-size:15px;
    font-weight:500;
    letter-spacing:.035em;
    text-align:center;
    text-decoration:none;
    text-transform:uppercase;
  }
  .store-category-mobile__groups{display:grid;gap:0;margin-top:0}
  .store-category-mobile__groups section{display:grid;padding:7px 0 9px;border-top:1px solid var(--store-line)}
  .store-category-mobile__groups h3{margin:0;color:var(--store-ink);font-size:14px;line-height:1.25;font-weight:900;letter-spacing:.04em;text-align:center;text-transform:uppercase}
  .store-category-mobile__groups h3 a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:34px;color:inherit;text-decoration:none}
  .store-category-mobile__groups section>a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:2px 8px;
    color:var(--store-muted);
    font-size:15px;
    line-height:1.25;
    text-align:center;
    text-decoration:none;
  }
}

@media(max-width:420px){
  .store-category-mobile__promo{aspect-ratio:4/3}
  .store-category-mobile__panel-head h2{font-size:18px}
  .store-category-mobile__promo strong{font-size:23px}
  .store-category-mobile__groups h3{font-size:13.5px}
  .store-category-mobile__groups section>a{min-height:32px;font-size:14.5px}
}

@media(prefers-reduced-motion:reduce){
  .store-category-mega__root svg,
  .store-category-mega__group>div>a,
  .store-category-mega__promo-media img{transition:none}
}

/* CH MOBILE NAV SEARCH V4.1 START
   Search in the bottom app navigation opens the canonical search + category
   discovery surface instead of performing a full navigation first. */
@media(max-width:759px){
  .store-mobile-nav__primary{
    color:var(--store-muted);
  }
  .store-mobile-nav__primary-icon{
    display:grid;
    width:24px;
    height:24px;
    place-items:center;
  }
  .store-mobile-nav__primary-icon svg{
    width:22px;
    height:22px;
  }
}
/* CH MOBILE NAV SEARCH V4.1 END */

/* Commerce Hub Store V4.3 — compact, interactive mini-cart drawer */
.store-mini-cart{
  top:max(14px,calc(var(--store-header-h) + 10px));
  right:14px;
  bottom:14px;
  width:min(430px,calc(100vw - 28px));
  max-height:calc(100dvh - max(28px,calc(var(--store-header-h) + 24px)));
  border:1px solid var(--store-line);
  border-radius:20px;
  opacity:0;
  overflow:hidden;
}
.store-mini-cart__head{
  padding:18px 20px 14px;
  border-bottom:1px solid var(--store-line);
}
.store-mini-cart__head strong{font-size:28px;line-height:1.05;letter-spacing:-.04em}
.store-mini-cart__head small{font-size:11px;letter-spacing:.14em}
.store-mini-cart__items{
  display:grid;
  align-content:start;
  gap:0;
  overflow:auto;
  padding:0 20px 10px;
}
.store-mini-cart__item{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:14px;
  align-items:start;
  padding:16px 0;
  border-top:1px solid var(--store-line);
}
.store-mini-cart__item:first-child{border-top:0}
.store-mini-cart__media,
.store-mini-cart__item > .store-mini-cart__media{
  display:grid;
  width:92px;
  min-width:92px;
  height:92px;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--store-line);
  background:#fff;
}
.store-mini-cart__media img,
.store-mini-cart__item img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.store-mini-cart__content{display:grid;gap:10px;min-width:0}
.store-mini-cart__copy{display:grid;gap:4px}
.store-mini-cart__copy strong{font-size:15px;line-height:1.35}
.store-mini-cart__copy small{color:var(--store-muted);font-size:12px;line-height:1.5}
.store-mini-cart__actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.store-mini-cart__line-total{font-size:16px;line-height:1.1;letter-spacing:-.02em}
.store-mini-cart__qty{
  display:grid;
  grid-template-columns:36px 28px 36px;
  align-items:center;
  min-height:40px;
  border:1px solid var(--store-line);
  border-radius:999px;
  background:#fff;
}
.store-mini-cart__qty button{
  display:grid;
  width:36px;
  height:40px;
  place-items:center;
  border:0;
  background:transparent;
  color:var(--store-ink);
  font-size:20px;
  cursor:pointer;
}
.store-mini-cart__qty output{
  display:grid;
  min-width:28px;
  place-items:center;
  font-size:13px;
  font-weight:700;
}
.store-mini-cart__remove{
  width:max-content;
  padding:0;
  border:0;
  background:transparent;
  color:var(--store-muted);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.store-mini-cart__remove:hover{color:var(--store-ink)}
.store-mini-cart__empty{display:grid;gap:8px;padding:22px 0 8px}
.store-mini-cart__empty strong{font-size:16px}
.store-mini-cart__empty p{margin:0;color:var(--store-muted);font-size:13px;line-height:1.55}
.store-mini-cart__media-fallback{
  width:100%;
  height:100%;
  border:0;
  background:var(--store-surface-2);
  color:var(--store-muted);
  font-size:24px;
  font-weight:800;
}
.store-mini-cart__footer{gap:14px;padding:16px 20px 20px;border-top:1px solid var(--store-line)}
.store-mini-cart__footer span{font-size:13px}
.store-mini-cart__footer strong{font-size:16px}
.store-mini-cart__footer > div strong,
.store-mini-cart__footer [data-mini-cart-total]{font-size:28px;letter-spacing:-.04em}
@media(max-width:900px){
  .store-mini-cart{
    top:auto;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    max-height:min(78dvh,720px);
    border-width:1px 0 0;
    border-radius:24px 24px 0 0;
  }
  .store-mini-cart__head{padding:14px 16px 12px}
  .store-mini-cart__head strong{font-size:22px}
  .store-mini-cart__items{padding:0 16px 8px}
  .store-mini-cart__item{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:14px 0}
  .store-mini-cart__media,.store-mini-cart__item > .store-mini-cart__media{width:82px;min-width:82px;height:82px}
  .store-mini-cart__copy strong{font-size:14px}
  .store-mini-cart__copy small{font-size:12px}
  .store-mini-cart__actions{align-items:flex-end;gap:10px}
  .store-mini-cart__qty{grid-template-columns:34px 24px 34px;min-height:38px}
  .store-mini-cart__qty button{width:34px;height:38px;font-size:18px}
  .store-mini-cart__line-total{font-size:15px}
  .store-mini-cart__footer{padding:14px 16px max(16px,env(safe-area-inset-bottom))}
  .store-mini-cart__footer > div strong,
  .store-mini-cart__footer [data-mini-cart-total]{font-size:22px}
}


/* Store UI coherence pass V4.4 — shared overlays respect light/dark theme */
.store-mini-cart,
.store-mini-cart__head,
.store-mini-cart__items,
.store-mini-cart__item,
.store-mini-cart__footer{background:var(--store-surface);color:var(--store-ink)}
.store-mini-cart__qty{background:var(--store-surface-2);color:var(--store-ink);border-color:var(--store-line-strong)}
.store-mini-cart__qty button{color:var(--store-ink)}
.store-mini-cart__media,
.store-mini-cart__item img,
.store-mini-cart__media-fallback{background:var(--store-product-media);border-color:var(--store-product-media-line)}
.store-mini-cart__media-fallback{color:var(--store-product-media-ink)}
.store-mini-cart__item small,
.store-mini-cart__remove{color:var(--store-muted)}

html[data-theme="dark"] .store-header-search,
html[data-store-theme="dark"] .store-header-search{background:var(--store-canvas);color:var(--store-ink)}
html[data-theme="dark"] .store-header-search__head span,
html[data-store-theme="dark"] .store-header-search__head span{color:var(--store-muted)}
html[data-theme="dark"] .store-header-search__head>button,
html[data-store-theme="dark"] .store-header-search__head>button{background:var(--store-surface-2);color:var(--store-ink)}
html[data-theme="dark"] .store-header-search__form,
html[data-store-theme="dark"] .store-header-search__form{background:transparent}
html[data-theme="dark"] .store-header-search__form input,
html[data-store-theme="dark"] .store-header-search__form input{background:var(--store-surface);color:var(--store-ink);border-color:var(--store-line-strong)}
html[data-theme="dark"] .store-header-search__form input::placeholder,
html[data-store-theme="dark"] .store-header-search__form input::placeholder{color:var(--store-muted)}
html[data-theme="dark"] .store-header-search__form button,
html[data-store-theme="dark"] .store-header-search__form button{background:var(--store-ink);color:var(--store-canvas)}
html[data-theme="dark"] .store-header-search__categories a,
html[data-store-theme="dark"] .store-header-search__categories a{background:var(--store-surface);color:var(--store-ink)}
html[data-theme="dark"] .store-header-search__categories a:hover,
html[data-store-theme="dark"] .store-header-search__categories a:hover{background:var(--store-surface-2)}
html[data-theme="dark"] .store-header-search__categories a>span,
html[data-store-theme="dark"] .store-header-search__categories a>span{background:var(--store-surface-3)}
html[data-theme="dark"] .store-header-search__categories a>span b,
html[data-store-theme="dark"] .store-header-search__categories a>span b{color:var(--store-muted)}
