/* Shared floating navigation, including product and article templates. */
/* The seasonal script normally aligns to the solid header's bottom. */
body:has(.ri-floating-header) .autumn-canopy{top:0!important;inset-block-start:0!important}
html body .ri-floating-header {
 position:sticky; top:18px; z-index:100; height:76px!important; min-height:0!important;
 width:min(1160px,calc(100% - 48px)); margin:18px auto 0; padding:0!important;
 border:0!important; border-radius:999px; isolation:isolate;
 background:linear-gradient(115deg,rgba(40,43,48,.97),rgba(34,34,35,.96) 50%,rgba(45,39,31,.97))!important;
 box-shadow:0 12px 40px -14px #000b,0 2px 9px #0004;
 transition:box-shadow 240ms ease,background 240ms ease;
}
.ri-floating-header::before{
 content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
 background:linear-gradient(108deg,transparent 30%,#ffffff0b 45%,#ffffff13 49%,transparent 63%) -160% 0/240% 100% no-repeat;
 animation:ri-header-glimmer 8s ease-in-out infinite;
}
@keyframes ri-header-glimmer{0%,72%{background-position:160% 0;opacity:0}76%{opacity:1}96%,100%{background-position:-160% 0;opacity:0}}
html body .ri-floating-header .r-nav-row{
 display:grid!important;grid-template-columns:1fr auto 1fr!important;width:100%!important;max-width:none!important;
 height:100%;min-height:0;gap:20px;padding:0 26px!important;box-sizing:border-box;align-items:center;
}
.ri-floating-header .ri-header-brand{gap:10px!important;min-width:0}
.ri-floating-header .ri-header-brand img{width:35px!important;height:35px!important;object-fit:contain;flex:none}
html body .ri-floating-header .ri-header-brand .navlink{font-size:16px!important;font-weight:900!important;white-space:nowrap;color:#f7f7f7}
.ri-floating-header .ri-header-brand .navlink span{color:#ffa400}
html body .ri-floating-header .ri-header-links{gap:4px!important;flex-wrap:nowrap;order:initial;flex-basis:auto;justify-content:center}
.ri-floating-header .ri-header-links>.navlink,.ri-floating-header .ri-header-links>.navdrop>.navlink{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:0 18px;box-sizing:border-box;
 border-radius:999px;font-size:14px;font-weight:800;color:#ededed;white-space:nowrap;
 transition:background 200ms ease,color 200ms ease,box-shadow 200ms ease;
}
.ri-floating-header .ri-header-links>.navlink:hover,.ri-floating-header .ri-header-links>.navdrop:is(:hover,[data-open='1'])>.navlink{background:#ffffff0c;color:#ffc162}
.ri-floating-header .ri-header-links a[aria-current='page']{background:#ffa400!important;color:#181818!important;box-shadow:0 3px 16px #ffa4001c}
.ri-floating-header .navdrop-caret{width:11px;height:11px;flex-basis:11px;translate:0 0}
html body .ri-floating-header .ri-header-actions{justify-self:end;gap:6px!important}
.ri-floating-header .ri-header-actions>[data-cart-link],html body .ri-floating-header [data-acct-nav] [data-navdrop-toggle]{min-width:42px;min-height:42px;padding:10px;margin:0;border-radius:50%;box-sizing:border-box;justify-content:center;transition:background 180ms ease,color 180ms ease}
.ri-floating-header .ri-header-actions>[data-cart-link]:hover,.ri-floating-header [data-acct-nav] [data-navdrop-toggle]:hover{background:#ffffff0b}
html body .ri-floating-header [data-cart-link]{color:#ededed!important}
html body .ri-floating-header [data-cart-link]:has([data-cart-count]:not([hidden])){color:#ffa400!important}
html body .ri-floating-header .navdrop-menu{top:calc(100% + 18px);border:0;border-radius:22px;background:#252526;box-shadow:0 18px 50px #0009;padding:12px;min-width:310px;animation:ri-nav-reveal 180ms ease both}
.ri-floating-header .navdrop-menu::before{content:'';position:absolute;left:0;right:0;top:-22px;height:22px}
html body .ri-floating-header [data-acct-nav] .navdrop-menu{right:-4px!important;left:auto!important;min-width:218px}
html body .ri-floating-header .navdrop-item{min-height:44px;border-radius:12px;padding:10px 14px;font-weight:700;font-size:14px}
html body .ri-floating-header .navdrop-item:hover{background:#ffa40012!important;color:#ffbe63!important}
html body .ri-floating-header [data-acct-out] .navdrop-item{color:#ededed!important;background:transparent!important}
html body .ri-floating-header [data-acct-out] .navdrop-item:hover{color:#ffa400!important;background:#ffa4000c!important}
.ri-floating-header .navdrop-item span:last-child:not(:first-child){font-size:12px}
.ri-floating-header [data-acct-out] [aria-hidden]{display:none}
.ri-floating-header :is(a,button):focus-visible{outline:2px solid #ffbe63;outline-offset:3px}
@keyframes ri-nav-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.ri-mobile-nav-toggle{display:none;border:0;background:transparent;color:#eee;cursor:pointer;padding:10px;border-radius:50%;width:42px;height:42px}
@media(max-width:1100px) and (min-width:1041px){
 html body .ri-floating-header .r-nav-row{padding:0 20px!important;gap:12px;grid-template-columns:auto 1fr auto!important}
 .ri-floating-header .ri-header-links>.navlink,.ri-floating-header .ri-header-links>.navdrop>.navlink{padding:0 12px}
 html body .ri-floating-header .ri-header-brand .navlink{font-size:14px!important}
}
@media(max-width:1040px){
 html body .ri-floating-header{top:10px;height:64px!important;width:calc(100% - 24px);margin:10px auto 0;border-radius:32px}
 html body .ri-floating-header .r-nav-row{grid-template-columns:1fr auto!important;padding:0 15px!important;gap:8px;flex-wrap:nowrap}
 html body .ri-floating-header .ri-header-brand{grid-column:1}
 html body .ri-floating-header .ri-header-brand .navlink{font-size:14px!important}
 .ri-floating-header .ri-header-brand img{width:29px!important;height:29px!important}
 html body .ri-floating-header .ri-header-actions{grid-column:2;grid-row:1;gap:0!important}
 .ri-mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center}
 html body .ri-floating-header .ri-header-links{display:none!important;position:absolute;top:calc(100% + 10px);left:0;right:0;flex-direction:column;align-items:stretch!important;gap:5px!important;background:#242425;border-radius:24px;padding:14px;box-shadow:0 16px 40px #0009;max-height:calc(100dvh - 110px);overflow:auto}
 html body .ri-floating-header[data-mobile-open] .ri-header-links{display:flex!important;animation:ri-nav-reveal 180ms ease}
 .ri-floating-header .ri-header-links>.navlink,.ri-floating-header .ri-header-links>.navdrop>.navlink{justify-content:flex-start;width:100%;padding:0 18px;min-height:46px}
 .ri-floating-header .ri-header-links>.navdrop{display:block}
 .ri-floating-header .ri-header-links .navdrop-menu{position:static;margin-top:4px;box-shadow:none;background:#1d1d1e;min-width:0}
 .ri-floating-header .ri-header-links .navdrop-menu::before{display:none}
 .ri-floating-header .ri-header-links .navdrop-item{white-space:normal}
 .ri-floating-header .ri-header-links .navdrop-item>span:first-child{flex:1;min-width:0;white-space:normal}
 .ri-floating-header .ri-header-links .navdrop-item>[data-nav-count]{flex:none;white-space:nowrap}
 html body .ri-floating-header [data-acct-nav] .navdrop-menu{right:-84px!important}
 .ri-floating-header .navdrop-item{gap:12px}
}
@media(max-width:370px){html body .ri-floating-header .ri-header-brand{gap:6px!important}html body .ri-floating-header .ri-header-brand .navlink{font-size:12px!important}.ri-floating-header .ri-header-brand img{width:25px!important;height:25px!important}html body .ri-floating-header .r-nav-row{padding:0 10px!important}}
@media(prefers-reduced-motion:reduce){.ri-floating-header::before{animation:none!important}.ri-floating-header *{animation:none!important;transition:none!important}}
