/* PDP-08: a stable, three-item storefront navigation. */
.ref33-header .rw8-main-nav > a { text-decoration:none; }
.ref33-header .rw8-main-nav > .rw8-categories { position:relative; display:block; flex:0 0 auto; min-width:0; align-self:center; }
.ref33-header .rw8-categories > summary { display:inline-flex; align-items:center; gap:6px; list-style:none; cursor:pointer; padding:8px 12px; border-radius:9px; color:#2d496a; font-size:12px; font-weight:750; white-space:nowrap; }
.ref33-header .rw8-categories > summary::-webkit-details-marker { display:none; }
.ref33-header .rw8-categories > summary:hover, .ref33-header .rw8-categories[open] > summary { background:#eaf5fb; color:#0f587a; }
.ref33-header .rw8-categories > summary svg { width:14px; height:14px; transition:transform .16s; }
.ref33-header .rw8-categories[open] > summary svg { transform:rotate(180deg); }
.ref33-header .rw8-category-popover { position:absolute; z-index:125; top:calc(100% + 12px); right:0; width:min(620px,calc(100vw - 30px)); max-height:min(70vh,600px); overflow:auto; background:#fff; border:1px solid #dbe6f0; border-radius:15px; box-shadow:0 20px 48px rgba(13,33,60,.18); padding:15px; color:#1c3959; }
.ref33-header .rw8-category-intro { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:4px 4px 13px; margin-bottom:12px; border-bottom:1px solid #edf0f4; }
.ref33-header .rw8-category-intro strong { font-size:13px; }
.ref33-header .rw8-category-intro a { display:inline-flex; align-items:center; gap:5px; color:#136388; font-weight:750; font-size:12px; }
.ref33-header .rw8-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.ref33-header .rw8-category-group { border:1px solid #e6edf5; border-radius:12px; padding:9px; min-width:0; }
.ref33-header .rw8-category-root { display:flex; align-items:center; gap:7px; padding:8px 7px; font-size:12px; font-weight:750; color:#1c4165; white-space:normal; }
.ref33-header .rw8-category-root > svg:last-child { margin-inline-start:auto; }
.ref33-header .rw8-category-root:hover { color:#086f92; background:#f5fbff; border-radius:6px; }
.ref33-header .rw8-category-children { display:flex; flex-wrap:wrap; gap:4px 7px; padding:6px 7px; }
.ref33-header .rw8-category-children a { display:inline-block; border:1px solid #e0e9f2; background:#f7fafc; color:#46637c; padding:5px 8px; font-size:11px; border-radius:7px; white-space:normal; }
.ref33-header .rw8-category-children a:hover { border-color:#8dc8dd; color:#146084; }
.ref33-header .rw8-main-nav > .rw3-more > summary { width:auto; min-width:36px; padding-inline:8px; gap:5px; }
.ref33-header .rw8-more-text { font-size:11px; }
@media (min-width:1101px) and (max-width:1350px) {
 .ref33-header .rw8-categories > summary { padding-inline:6px; font-size:11px; }
 .ref33-header .rw8-more-text { display:none; }
}
@media (max-width:1100px) {
 .ref33-header .rw8-main-nav > .rw8-categories { display:none; }
 .ref33-mobile-menu .rw8-mobile-categories .rw8-mobile-group { padding:5px 0; border-bottom:1px solid #edf1f5; }
 .ref33-mobile-menu .rw8-mobile-categories .rw8-mobile-group:last-child { border-bottom:0; }
 .ref33-mobile-menu .rw8-mobile-categories .rw8-mobile-group > a { color:#1d4e72; font-weight:750; }
 .ref33-mobile-menu .rw8-mobile-categories .rw8-mobile-group .rw8-mobile-child { font-weight:500; padding-inline-start:28px; font-size:11.5px; color:#5b7894; }
}
@media(max-width:600px) {
 .ref33-header .rw8-category-grid { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce){.ref33-header .rw8-categories > summary svg { transition:none; }}

.ref33-header .rw8-main-nav > a.rw8-nav-current,
.ref33-header .rw8-main-nav > .rw8-categories.rw8-nav-current > summary { color:#0e5d80; background:#eaf5fb; border-radius:8px; }
