/* Floating, persistent header on Home only. Existing menu/search JS is preserved. */
body.ss-floating-header .ss-header {
  position:sticky; top:12px; z-index:1000;
  width:calc(100% - 24px); margin:12px auto 0;
  background:rgba(5,5,5,.80); border:1px solid #292929; border-radius:16px;
  -webkit-backdrop-filter:blur(20px) saturate(125%);
  backdrop-filter:blur(20px) saturate(125%);
  box-shadow:0 10px 30px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
}
body.ss-floating-header.admin-bar .ss-header { top:44px; }
body.ss-floating-header .ss-header__inner { width:100%; padding:12px 24px; min-height:82px; gap:24px; }
body.ss-floating-header .ss-nav-list { gap:30px; }
body.ss-floating-header .ss-nav-list a { font-size:14px; font-weight:600; }
body.ss-floating-header .ss-mobile-nav-list a { font-size:15px; }
body.ss-floating-header .ss-header :focus-visible { outline:2px solid #a7374b; outline-offset:4px; }
body.ss-floating-header .ss-header :is(.ss-search-panel,.ss-mobile-menu) { border-radius:0 0 16px 16px; }
body.ss-floating-header .ss-mobile-menu { max-height:calc(100dvh - 150px); overflow-y:auto; }
@media(max-width:1100px) {
  body.ss-floating-header .ss-header__inner { gap:18px; padding-inline:18px; }
  body.ss-floating-header .ss-nav-list { gap:16px; }
  body.ss-floating-header .ss-nav-list a { font-size:13px; }
  body.ss-floating-header .ss-logo { width:112px; }
}
@media(max-width:800px) {
  body.ss-floating-header .ss-header { top:8px; width:calc(100% - 16px); margin-top:8px; border-radius:12px; }
  body.ss-floating-header .ss-header__inner { min-height:68px; padding:10px 16px; }
  body.ss-floating-header .ss-logo { width:108px; }
}
@media(max-width:782px) { body.ss-floating-header.admin-bar .ss-header { top:54px; } }

/* Benefit icons scoped to the Home. */
body.ss-floating-header .ss-icon--pix { background-image:url('../images/pix-oficial-reducao.svg'); }
body.ss-floating-header .ss-icon--shipping { background-image:url('../images/shipping.svg'); }

@media(min-width:1001px) and (max-width:1200px) { body.ss-floating-header .ss-nav-list { gap:14px; } body.ss-floating-header .ss-nav-list a { font-size:12px; } }

/* Keep contrast when backdrop blur is unavailable or transparency is reduced. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 body.ss-floating-header .ss-header { background:rgba(5,5,5,.96); }
}
@media(prefers-reduced-transparency:reduce) {
 body.ss-floating-header .ss-header { background:#080808; -webkit-backdrop-filter:none; backdrop-filter:none; }
}
/* v9 — checkout uses the current header design, but remains in normal document flow. */
body.ss-modern-header-static .ss-header {
  position:relative;
  top:auto;
  z-index:1000;
  width:calc(100% - 24px);
  margin:12px auto 0;
  background:rgba(5,5,5,.94);
  border:1px solid #292929;
  border-radius:16px;
  -webkit-backdrop-filter:blur(20px) saturate(125%);
  backdrop-filter:blur(20px) saturate(125%);
  box-shadow:0 10px 30px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
}
body.ss-modern-header-static .ss-header__inner { width:100%; padding:12px 24px; min-height:82px; gap:24px; }
body.ss-modern-header-static .ss-nav-list { gap:30px; }
body.ss-modern-header-static .ss-nav-list a { font-size:14px; font-weight:600; }
body.ss-modern-header-static .ss-mobile-nav-list a { font-size:15px; }
body.ss-modern-header-static .ss-header :focus-visible { outline:2px solid #a7374b; outline-offset:4px; }
body.ss-modern-header-static .ss-header :is(.ss-search-panel,.ss-mobile-menu) { border-radius:0 0 16px 16px; }
@media(max-width:1100px) {
  body.ss-modern-header-static .ss-header__inner { gap:18px; padding-inline:18px; }
  body.ss-modern-header-static .ss-nav-list { gap:16px; }
  body.ss-modern-header-static .ss-nav-list a { font-size:13px; }
  body.ss-modern-header-static .ss-logo { width:112px; }
}
@media(max-width:800px) {
  body.ss-modern-header-static .ss-header { width:calc(100% - 16px); margin-top:8px; border-radius:12px; }
  body.ss-modern-header-static .ss-header__inner { min-height:68px; padding:10px 16px; }
  body.ss-modern-header-static .ss-logo { width:108px; }
}

/* v15 — approved Checkout header sizing, now native to the theme. */
body.woocommerce-checkout.ss-modern-header-static .ss-actions { gap:14px; }
body.woocommerce-checkout.ss-modern-header-static .ss-action { width:32px; height:36px; }
body.woocommerce-checkout.ss-modern-header-static .ss-action svg { width:24px; height:24px; }
body.woocommerce-checkout.ss-modern-header-static .ss-logo { width:130px; }
body.woocommerce-checkout.ss-modern-header-static .ss-nav-list { gap:30px; }
body.woocommerce-checkout.ss-modern-header-static .ss-nav-list a { font-size:14px; font-weight:600; }
body.woocommerce-checkout.ss-modern-header-static .ss-header { position:relative !important; top:auto !important; }


/* v15 — refined search: rounded surface, no wine focus rectangle around the field. */
body.ss-theme .ss-search-panel .ss-search-form {
  height:60px;
  margin:10px 0 12px;
  padding:0 16px;
  gap:14px;
  border:0;
  border-radius:14px;
  background:#111;
  box-shadow:0 10px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}
body.ss-theme .ss-search-panel .ss-search-form input[type="search"],
body.ss-theme .ss-search-panel .ss-search-form input[type="search"]:focus,
body.ss-theme .ss-search-panel .ss-search-form input[type="search"]:focus-visible {
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-radius:0;
}
body.ss-theme .ss-search-panel .ss-search-form > svg { color:#aaa; stroke:currentColor; }
body.ss-theme .ss-search-panel .ss-search-form button {
  flex:0 0 36px;
  border-radius:50%;
  transition:background-color .18s ease,color .18s ease;
}
body.ss-theme .ss-search-panel .ss-search-form button:hover,
body.ss-theme .ss-search-panel .ss-search-form button:focus-visible {
  outline:0;
  background:#1c1c1c;
  color:#fff;
}

/* v3.4.44 — seven-item configurable navigation, including Prazer Anal. */
@media(min-width:1201px) {
  body.ss-floating-header .ss-nav-list,
  body.ss-modern-header-static .ss-nav-list,
  body.woocommerce-checkout.ss-modern-header-static .ss-nav-list { gap:22px; }
}
body.ss-theme .ss-nav-list a { white-space:nowrap; }
