/* Store System / adaptive store header (all colors through StoreCore tokens). */
/* Layer contract: floating contact < header/mega < mobile nav < backdrop < dialogs < product search. */
:root{--st-z-contact-float:90;--st-z-header:105;--st-z-mega:150;--st-z-mobile-nav:9900;--st-z-overlay:9996;--st-z-drawer:9997;--st-z-product-search:10050;}
.st-shop-header{--st-panel-time:var(--sc-st-panel-duration,320ms);z-index:var(--st-z-header);overflow:visible;background:var(--st-header-bg,var(--sc-surface))}
.st-shop-desktop-row{position:relative;display:flex;align-items:center;gap:clamp(10px,1.4vw,26px);min-height:var(--st-header-height,78px);padding-block:12px}
.st-shop-header--double .st-shop-desktop-row--2{min-height:64px;padding:8px 14px;border-radius:var(--sc-radius-md,12px);background:var(--sc-heading,#17263b);color:var(--sc-on-primary,#fff);margin-bottom:12px}
.st-shop-slot{display:flex;align-items:center;min-width:0;flex-shrink:0}
.st-shop-slot--search{flex:1 1 280px;max-width:550px;margin-inline:auto}
.st-shop-slot--nav{flex:1 1 auto;min-width:0}
.st-shop-slot--nav .st-nav{margin:0;min-width:0}
.st-shop-slot--nav .st-menu{gap:clamp(10px,2vw,26px)}
.st-shop-header--double .st-shop-desktop-row--2 .st-menu{color:inherit}
.st-shop-desktop-row--2 .st-menu>li>a{padding:14px 0;color:inherit}
.st-shop-desktop-row--2 .st-menu>li>a:hover{color:var(--sc-secondary,#14b8a6)}
.st-shop-header .st-shop-logo{flex-shrink:0;min-width:90px}.st-shop-header .st-logo{max-height:60px;max-width:200px;object-fit:contain}
.st-shop-search-slot,.st-shop-mobile-search{width:100%}.st-shop-header .sc-search{--scs-bg:var(--sc-surface-alt,#f5f6f8);--scs-border:var(--sc-border,#e0e3e7);--scs-text:var(--sc-heading,#172333);--scs-muted:var(--sc-muted,#7a8390)}
.st-shop-header .sc-search__trigger{height:48px}
.st-shop-action,.st-shop-contact{color:inherit;display:inline-flex;align-items:center;gap:10px;border:0;background:none;text-decoration:none;font-size:13px;line-height:1.5}
.st-shop-action:hover,.st-shop-contact:hover{color:var(--sc-primary)}
.st-shop-account>svg{display:block;flex-shrink:0;padding:10px;width:46px!important;height:46px!important;background:var(--sc-surface-alt);border-radius:var(--sc-radius-md)}
.st-shop-cart{padding:0}.st-shop-cart-icon{position:relative;display:grid;place-items:center;width:46px;height:46px;color:var(--sc-on-primary,#fff);background:var(--sc-primary);border-radius:var(--sc-radius-md)}
.st-shop-cart-badge{position:absolute;inset-inline-end:-6px;bottom:-6px;display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:var(--sc-heading);color:var(--sc-on-primary);font-size:10px;padding:0 4px}
.st-shop-cart-meta{display:grid;text-align:start;gap:4px;white-space:nowrap}.st-shop-cart-meta strong{font-size:13px;color:var(--sc-heading)}.st-shop-cart-meta small{font-size:11px;color:var(--sc-muted)}
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-cart-meta strong{color:inherit}
.st-shop-contact{gap:12px;white-space:nowrap}.st-shop-contact-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--sc-radius-md);background: var(--sc-primary);color: var(--sc-on-primary);}
.st-shop-contact-copy{display:grid;gap:4px;line-height:1.4;text-align:start}.st-shop-contact-copy small{font-size:11px;opacity:.85}.st-shop-contact-copy strong{font-size:15px;direction:ltr;text-align:start}
.st-shop-contact--button{padding:9px 14px;border-radius:var(--sc-radius-btn);background:var(--sc-primary);color:var(--sc-on-primary)}.st-shop-contact--button:hover{color:var(--sc-on-primary)}
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-contact-icon{color:inherit;background:#ffffff24}
.st-shop-mega-host{position:static;flex-shrink:0}
.st-shop-mega-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:0;background:var(--sc-primary);border-radius:var(--sc-radius-btn);padding:9px 20px;color:var(--sc-on-primary);font-size:13px;font-weight:700;white-space:nowrap}
.st-shop-mega-trigger:hover,.st-shop-mega-trigger:focus-visible{filter:brightness(1.06)}
.st-shop-mega-dropdown{position:absolute;top:100%;inset-inline:0;background:var(--sc-surface);border:1px solid var(--sc-border);border-radius:var(--sc-radius-md);z-index:var(--st-z-mega);box-shadow:var(--sc-shadow-float);visibility:hidden;opacity:0;transform:translateY(8px);pointer-events:none;transition:transform .22s ease,opacity .22s ease,visibility .22s;overflow:hidden;color:var(--sc-text)}
.st-shop-mega-host.is-open .st-shop-mega-dropdown,.st-shop-mega-hover:hover .st-shop-mega-dropdown,.st-shop-mega-host:focus-within .st-shop-mega-dropdown{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
.st-shop-mega-dropdown .sc-mega{--sc-mega-height:var(--st-shop-mega-height,480px)}
.st-shop-top-banner{display:block;width:100%}.st-shop-top-banner img{display:block;width:100%;height:auto;max-height:100px;object-fit:cover}
.st-shop-top-message{width:100%;margin:6px 0;text-align:center;font-size:13px}
.st-shop-header .st-shop-mobile-header,.st-shop-header .st-shop-mobile-search{display:none}
.st-shop-panel{--st-panel-time:var(--sc-st-panel-duration,320ms);transition:transform var(--st-panel-time) cubic-bezier(.22,1,.36,1),opacity var(--st-panel-time)}
.st-shop-sheet{top:auto;left:0;right:0;bottom:0;width:100%;max-height:min(88vh,88dvh);border-radius:var(--sc-radius-lg) var(--sc-radius-lg) 0 0;padding:0px;transform:translateY(110%);overscroll-behavior:contain}
.st-shop-sheet.st-drawer-open{transform:translateY(0)}
.st-shop-sheet-content{min-height:0;overflow:auto}.st-shop-sheet .st-drawer-head{margin-bottom:6px;padding:18px}
.st-shop-cart-panel{max-width:570px;left:auto;right:0;top:0;bottom:0;max-height:none;border-radius:0;transform:translateX(110%);padding:24px;display:flex;flex-direction:column}
.st-shop-cart-panel.st-drawer-open{transform:translateX(0)}
.st-shop-cart-body{overflow:auto;min-height:0;flex:1;padding: 18px}.st-shop-cart-empty{text-align:center;padding:30px 0;color:var(--sc-muted)}
.st-shop-cart-items{list-style:none;padding:0;margin:0;display:grid;gap:14px}.st-shop-cart-items li{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--sc-border)}
.st-shop-cart-thumb{width:65px;height:65px;flex-shrink:0}.st-shop-cart-thumb img{width:100%;height:100%;object-fit:cover;border-radius:var(--sc-radius-sm)}.st-shop-cart-line{display:grid;align-content:center;gap:8px;font-size:14px}.st-shop-cart-line small{color:var(--sc-muted)}
.st-shop-cart-subtotal{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.st-shop-cart-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px}.st-shop-cart-footer .st-btn{font-size:13px;padding:10px}.st-shop-checkout{background: #fff !important;border: solid 1px var(--sc-primary);color: var(--sc-primary) !important}
.st-shop-bottom-nav{display:none}
.st-shop-placeholder{font-size:12px;color:var(--sc-muted)}.st-shop-fallback-search{display:flex;align-items:center;width:100%;background:var(--sc-surface-alt);padding:0 12px;border-radius:var(--sc-radius-md)}.st-shop-fallback-search input{border:0;outline:0;background:none;flex:1;min-width:0;height:46px}.st-shop-fallback-search button{border:0;background:none;color:var(--sc-muted)}
@media (min-width:768px) and (max-width:1100px){.st-shop-slot--search{flex-basis:180px}.st-shop-slot--contact .st-shop-contact-copy small{display:none}.st-shop-header .st-menu{gap:10px;font-size:12px}.st-shop-desktop-row{gap:12px}}
@media (max-width:960px){
 .st-shop-header .st-shop-desktop-row{display:none}
 .st-shop-header .st-shop-mobile-header{min-height:64px;padding-block:9px;display:flex;justify-content:space-between;align-items:center;gap:10px}
 .st-shop-header .st-shop-mobile-search{display:block;padding-bottom:10px}
 .st-shop-header .st-shop-logo{display:flex;min-width:0;justify-content:center;flex:1}.st-shop-header .st-logo{max-width:158px;max-height:52px}
 .st-shop-mobile-actions{display:flex;gap:6px;align-items:center;flex:0 0 auto}.st-shop-mobile-actions--start{justify-content:flex-start}.st-shop-mobile-actions--end{justify-content:flex-end}
 .st-shop-mobile-menu{display:inline-grid!important;place-items:center;width:44px;height:44px;background:var(--sc-heading)!important;color:var(--sc-on-primary)!important}
 .st-shop-mobile-header .st-shop-cart-meta,.st-shop-mobile-header .st-shop-action-label,.st-shop-mobile-header .st-shop-contact-copy{display:none}
 .st-shop-mobile-header .st-shop-cart-icon{width:44px;height:44px}.st-shop-mobile-header .st-shop-account>svg{width:44px!important;height:44px!important}
 .st-shop-mobile-icon{border:0;background:var(--sc-surface-alt);border-radius:var(--sc-radius-md);height:44px;width:44px;display:grid;place-items:center;color:var(--sc-heading)}.st-shop-mobile-icon span{display:none}
 .st-shop-header .sc-search__trigger{height:46px}
 .st-shop-bottom-nav{display:flex;position:fixed;z-index:var(--st-z-mobile-nav);bottom:0;left:0;right:0;align-items:stretch;justify-content:space-around;padding:6px 8px max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--sc-border);background:var(--sc-surface);box-shadow:0 -3px 20px #00000008}
 .st-shop-bottom-item{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;gap:3px;flex-direction:column;border:0;background:transparent;color:var(--sc-muted);font-size:10px;padding:5px 0;text-align:center}
 .st-shop-bottom-item.is-current,.st-shop-bottom-item:hover,.st-shop-bottom-item:focus-visible{color:var(--sc-primary)}
 body.st-has-bottom-nav{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
 .st-shop-cart-panel{max-width:100%;top:auto;left:0;bottom:0;max-height:88dvh;border-radius:var(--sc-radius-lg) var(--sc-radius-lg) 0 0;transform:translateY(110%);padding:0px}
 .st-shop-cart-panel.st-drawer-open{transform:translateY(0)}
 .st-shop-sheet-content .sc-mega{--sc-mega-mobile-height:min(72dvh,650px);--sc-mega-mobile-nav-width:96px}
 .st-shop-sheet .st-drawer-head strong{font-size:16px}
 .st-shop-top-banner img{max-height:65px}
}
@media (prefers-reduced-motion:reduce){.st-shop-panel,.st-shop-mega-dropdown{transition-duration:0.01ms!important}}

/* Search overlay remains above fixed mobile navigation. */
body.st-product-search-open .st-shop-header{z-index:10005}
.st-shop-mega-dropdown{transition-duration:var(--sc-st-panel-duration,320ms)}
.st-shop-header .sc-search__panel{animation-duration:var(--sc-st-panel-duration,320ms)}
@media(min-width:768px) and (max-width:960px){.st-shop-bottom-nav{display:none}body.st-has-bottom-nav{padding-bottom:0}.st-shop-header .st-shop-mobile-header{min-height:70px}}

.st-shop-results{padding-block:32px 64px}.st-shop-results>h1{font-size:var(--sc-type-h2,30px);margin:0 0 26px}.st-shop-results ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sc-gap,24px);padding:0;margin:0;list-style:none}.st-shop-results ul.products::before,.st-shop-results ul.products::after{content:none}.st-shop-results ul.products>li.product{width:auto!important;float:none!important;margin:0!important;padding:var(--sc-card-padding,16px);background:var(--sc-surface);border:var(--sc-card-border);box-shadow:var(--sc-card-shadow);border-radius:var(--sc-radius-md)}
@media(max-width:960px){.st-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.st-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

.st-overlay{transition-duration:var(--sc-st-panel-duration,320ms)}

/* 0.1.4: independently sticky desktop rows; the top notice remains outside. */
@media (min-width:961px) {
  .st-shop-header--double.st-shop-sticky--row1,
  .st-shop-header--double.st-shop-sticky--row2 { display:contents; }
  .st-shop-sticky--row1 .st-shop-desktop-row--1,
  .st-shop-sticky--row2 .st-shop-desktop-row--2 {
    position:sticky;top:0;z-index:105;
    box-shadow:0 4px 22px rgba(16,35,54,.07);
  }
  .st-shop-sticky--row1 .st-shop-desktop-row--1 {background:var(--st-header-bg,var(--sc-surface));}
  .st-shop-sticky--row1.st-header-glass-desktop .st-shop-desktop-row--1 {
    background:color-mix(in srgb,var(--st-header-bg,#fff) 74%,transparent);
    backdrop-filter:blur(22px) saturate(145%);
  }
  .st-shop-header--single.st-shop-sticky--row1 {position:sticky;top:0;}
  .admin-bar .st-shop-sticky--row1 .st-shop-desktop-row--1,
  .admin-bar .st-shop-sticky--row2 .st-shop-desktop-row--2,
  .admin-bar .st-shop-header--single.st-shop-sticky--row1 {top:32px;}
}
@media (max-width:960px) {
  /* Mobile uses one compact header; any chosen sticky row keeps that header visible. */
  .st-shop-sticky--row1,.st-shop-sticky--row2 {position:sticky;top:0;}
  .admin-bar .st-shop-sticky--row1,.admin-bar .st-shop-sticky--row2 {top:32px;}
}
@media (max-width:782px) {
  .admin-bar .st-shop-sticky--row1,.admin-bar .st-shop-sticky--row2 {top:46px;}
}

/* The product search is portaled to <body> only while open. It retains the
   existing shortcode/JS, but neither sticky rows nor glass blur can clip it. */
.sc-search--portaled.is-open {z-index:var(--st-z-product-search);}
.sc-search--portaled .sc-search__backdrop {
  position:fixed;inset:0;z-index:-1;
  background:rgba(9,18,31,.26);
  cursor:default;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.sc-search--portaled .sc-search__panel {z-index:1;}
@media (max-width:960px) {
  .sc-search--portaled .sc-search__backdrop {display:none!important;}
  .sc-search--portaled .sc-search__panel {
    position:fixed;inset:0;width:100%;min-width:0;max-width:none;
    height:100vh;height:100dvh;max-height:none;
    border:0;border-radius:0;box-shadow:none;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background:var(--sc-surface,#fff);
  }
  .sc-search--portaled .sc-search__back {display:inline-flex;}
  .sc-search--portaled .sc-search__body {padding:18px 4px 8px;}
  .sc-search--portaled .sc-search__input {font-size:16px;}
}

/* 0.1.5 — independent header row colors, sticky offset and drawer contact. */
.st-shop-header--double .st-shop-desktop-row--2 {
  background:var(--sc-st-header-row2-bg,#17263b);
  color:var(--sc-st-header-row2-text,#ffffff);
}
.st-shop-header--double .st-shop-desktop-row--2 .st-menu,
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-action,
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-contact {
  color:inherit;
}
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-account>svg,
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-contact-icon {
  color:inherit;
  background:color-mix(in srgb,currentColor 12%,transparent);
}
.st-shop-header--double .st-shop-desktop-row--2 .st-shop-cart-meta small {
  color:inherit;opacity:.8;
}
/* Active and hovered main menu entries always use the primary brand color. */
.st-shop-header .st-shop-nav .st-menu > li:hover > a,
.st-shop-header .st-shop-nav .st-menu > li:focus-within > a,
.st-shop-header .st-shop-nav .st-menu > li.current-menu-item > a,
.st-shop-header .st-shop-nav .st-menu > li.current-menu-ancestor > a,
.st-shop-header .st-shop-nav .st-menu > li.current_page_item > a,
.st-shop-header .st-shop-nav .st-menu > li > a:hover,
.st-shop-header .st-shop-nav .st-menu > li > a:focus-visible {
  color:var(--sc-primary,#2162de);
}
/* The gap applies only while sticky. Admin toolbar height is added, never replaced. */
.st-shop-header.st-header-sticky,
.st-shop-header.st-shop-sticky--row1,
.st-shop-header.st-shop-sticky--row2 {
  top:var(--sc-st-header-sticky-gap,0px);
}
.admin-bar .st-shop-header.st-header-sticky,
.admin-bar .st-shop-header.st-shop-sticky--row1,
.admin-bar .st-shop-header.st-shop-sticky--row2 {
  top:calc(32px + var(--sc-st-header-sticky-gap,0px));
}
@media(min-width:961px){
  /* For a two-row header with only one sticky row, apply the gap to that row. */
  .st-shop-header.st-shop-sticky--row1 .st-shop-desktop-row--1,
  .st-shop-header.st-shop-sticky--row2 .st-shop-desktop-row--2 {
    top:var(--sc-st-header-sticky-gap,0px);
  }
  .admin-bar .st-shop-header.st-shop-sticky--row1 .st-shop-desktop-row--1,
  .admin-bar .st-shop-header.st-shop-sticky--row2 .st-shop-desktop-row--2 {
    top:calc(32px + var(--sc-st-header-sticky-gap,0px));
  }
}
@media(max-width:782px){
  .admin-bar .st-shop-header.st-header-sticky,
  .admin-bar .st-shop-header.st-shop-sticky--row1,
  .admin-bar .st-shop-header.st-shop-sticky--row2 {
    top:calc(46px + var(--sc-st-header-sticky-gap,0px));
  }
}
@media(max-width:960px){
/* Mobile drawer: the independent footer stays at the bottom as long menu items scroll. */
#st-mobile-dialog.st-mobile-drawer {display:flex;flex-direction:column;overflow:hidden;}
#st-mobile-dialog .st-drawer-head {flex:0 0 auto;}
#st-mobile-dialog .st-drawer-nav {flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
#st-mobile-dialog .st-shop-mobile-drawer-contact {
  flex:0 0 auto;margin-top:auto;padding-top:16px;border-top:1px solid var(--sc-border);
}
#st-mobile-dialog .st-shop-mobile-drawer-contact .st-shop-contact--box {
  width:100%;display:flex;justify-content: space-between;flex-direction: row-reverse;align-items:center;gap:12px;padding:12px;
  color:var(--sc-heading);background:var(--sc-surface-alt);border:1px solid var(--sc-border);
  border-radius:var(--sc-radius-md);text-decoration:none;
}
#st-mobile-dialog .st-shop-mobile-drawer-contact .st-shop-contact--box:hover {
  color:var(--sc-primary);border-color:var(--sc-primary);
}
#st-mobile-dialog .st-shop-mobile-drawer-contact .st-shop-contact-copy {display:grid;}
#st-mobile-dialog .st-shop-mobile-drawer-contact .st-shop-contact-icon {flex:0 0 44px;}

}

/* Dialog layers share the same stacking contract as the floating contact. */
.st-overlay{z-index:var(--st-z-overlay)}
.st-drawer{z-index:var(--st-z-drawer)}

/* 0.1.6 - desktop & mobile sticky modes are independent. */
@media (min-width:961px){
 .st-shop-header.st-header-glass-desktop{background:color-mix(in srgb,var(--st-header-bg,#fff) 74%,transparent)!important;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);border-bottom:1px solid rgba(255,255,255,.5);box-shadow:0 8px 32px rgba(11,29,53,.09)}
 @supports not (backdrop-filter:blur(2px)){.st-shop-header.st-header-glass-desktop{background:var(--st-header-bg,#fff)!important}}
}
@media (max-width:960px){
 /* Reset the desktop-only sticky classes before enabling mobile sticky. */
 .st-shop-header.st-shop-sticky--both,.st-shop-header.st-shop-sticky--row1,.st-shop-header.st-shop-sticky--row2,
 .st-shop-header.st-shop-mobile--static{position:relative!important;top:auto!important}
 .st-shop-header.st-shop-mobile--sticky{position:sticky!important;top:var(--sc-st-header-sticky-gap-mobile,0px)!important}
 .admin-bar .st-shop-header.st-shop-mobile--sticky{top:calc(32px + var(--sc-st-header-sticky-gap-mobile,0px))!important}
 .st-shop-header.st-header-glass-mobile{background:color-mix(in srgb,var(--st-header-bg,#fff) 74%,transparent)!important;backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);border-bottom:1px solid rgba(255,255,255,.5);box-shadow:0 8px 32px rgba(11,29,53,.09)}
 @supports not (backdrop-filter:blur(2px)){.st-shop-header.st-header-glass-mobile{background:var(--st-header-bg,#fff)!important}}
}
@media (max-width:782px){.admin-bar .st-shop-header.st-shop-mobile--sticky{top:calc(46px + var(--sc-st-header-sticky-gap-mobile,0px))!important}}

/* Cart has its own fixed checkout bar. Never let the mobile Store nav cover it. */
@media (max-width:767px){body.woocommerce-cart .st-shop-bottom-nav{display:none!important;}body.woocommerce-cart.st-has-bottom-nav{padding-bottom:0;}}

/* Optional collection shortcuts: use header action styling and Store design tokens. */
.st-shop-collection-link{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;text-decoration:none!important;color:inherit}
.st-shop-collection-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;background:var(--sc-surface-alt);color:var(--sc-heading);border:1px solid var(--sc-border);border-radius:var(--sc-radius-md)}
.st-shop-collection-icon svg{display:block;width:23px;height:23px}
.st-shop-collection-link:hover .st-shop-collection-icon{color:var(--sc-primary);border-color:var(--sc-primary)}
.st-shop-collection-link:focus-visible{outline:2px solid var(--sc-focus,var(--sc-primary));outline-offset:3px;border-radius:var(--sc-radius-md)}
@media(max-width:960px){
 .st-shop-mobile-header .st-shop-collection-link{gap:0}
 .st-shop-mobile-header .st-shop-collection-icon{width:44px;height:44px;flex-basis:44px}
}
@media(max-width:400px){
 .st-shop-mobile-header .st-shop-collection-icon{width:38px;height:38px;flex-basis:38px}
 .st-shop-mobile-header .st-shop-collection-icon svg{width:20px;height:20px}
 .st-shop-mobile-actions{gap:3px}
}
