/* Native disclosures remain usable when JavaScript is unavailable. */
.bam-categories{position:relative;flex:0 0 270px;text-align:start;color:var(--bam-primary)}
.bam-categories a{display:block;padding:0;border:0;white-space:normal}
.bam-categories summary{cursor:pointer;list-style:none}
.bam-categories summary::-webkit-details-marker{display:none}
.bam-categories>.bam-categories-trigger{display:flex;align-items:center;gap:12px;padding:17px 18px;background:var(--bam-primary);color:white;font-weight:700;min-height:56px}
.bam-categories-trigger>.bam-icon{width:20px;height:20px}
.bam-category-caret{margin-inline-start:auto}
.bam-category-rail{position:absolute;inset-inline-start:0;top:100%;width:270px;margin:0;padding:7px 0;list-style:none;background:white;border:1px solid color-mix(in srgb,var(--bam-primary) 10%,var(--bam-card-background));box-shadow:0 8px 20px color-mix(in srgb,var(--bam-primary) 7.06%,transparent);z-index:60}
.bam-category-item{position:relative;border-block-end:1px solid color-mix(in srgb,var(--bam-primary) 5%,var(--bam-card-background))}
.bam-category-item:last-child{border:0}
.bam-categories a.bam-category-link{display:flex;align-items:center;gap:10px;min-height:43px;padding:10px 42px 10px 16px;padding-inline:16px 42px;color:inherit;text-decoration:none;line-height:1.4;font-size:14px}
.bam-category-link>.bam-icon,.bam-category-link>img{flex-shrink:0;width:20px;height:20px;object-fit:contain}
.bam-category-link:hover,.bam-category-link[aria-current],.bam-category-item:focus-within{background:color-mix(in srgb,var(--bam-primary) 4%,var(--bam-card-background))}
.bam-category-badge{border-radius:3px;padding:2px 5px;background:var(--bam-primary);color:white;font-size:10px}
.bam-category-count{margin-inline-start:auto;color:var(--bam-muted-text)}
.bam-category-disclosure>summary{position:absolute;inset-inline-end:0;top:0;display:grid;place-items:center;width:42px;min-height:43px;font-size:25px}
[dir=rtl] .bam-category-disclosure>summary>span{transform:rotate(180deg)}
.bam-category-panel{position:absolute;inset-inline-start:100%;top:0;width:min(825px,calc(100vw - 310px));background:white;color:var(--bam-primary);border:1px solid color-mix(in srgb,var(--bam-primary) 10%,var(--bam-card-background));box-shadow:0 12px 32px color-mix(in srgb,var(--bam-primary) 13.33%,transparent);z-index:70;isolation:isolate;text-align:start;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.bam-category-content{position:relative;display:flex;gap:26px;padding:26px;min-height:300px}
.bam-category-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px;flex:1;min-width:0}
.bam-category-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.bam-category-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.bam-category-group h3{font-size:14px;margin:10px 0 12px;font-weight:750}
.bam-category-group ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.bam-categories .bam-category-group a{color:inherit;text-decoration:none;font-size:13px;line-height:1.5}
.bam-category-group a:hover{text-decoration:underline;color:var(--bam-primary)}
.bam-category-group-image{display:block;margin-block-end:15px}
.bam-category-group-image img{object-fit:contain;max-width:100%;height:100px}
.bam-categories .bam-category-banner{flex:0 0 30%;min-width:0;display:flex;flex-direction:column;gap:12px;background:color-mix(in srgb,var(--bam-primary) 5%,var(--bam-card-background));padding:18px;color:var(--bam-primary);text-decoration:none}
.bam-category-banner img{width:100%;height:180px;object-fit:cover}
.bam-category-banner strong{font-size:19px}
.bam-category-banner span{font-size:13px}
.bam-category-banner b{font-size:12px;text-decoration:underline}
.bam-category-products{flex:0 0 30%;min-width:0;display:grid;align-content:start;gap:16px}
.bam-category-products a{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:13px}
.bam-category-products img{width:60px;height:74px;object-fit:cover;border-radius:4px}
.bam-category-products strong,.bam-category-products small{display:block}
.bam-category-products small{margin-top:7px;opacity:.7}
.bam-category-products-featured a{flex-direction:column;align-items:start}
.bam-category-products-featured img{width:100%;height:160px}
.bam-category-brands,.bam-category-services{position:relative;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-around;padding:18px 26px;background:color-mix(in srgb,var(--bam-primary) 3%,var(--bam-card-background));border-top:1px solid color-mix(in srgb,var(--bam-primary) 8%,var(--bam-card-background))}
.bam-category-brands img{width:110px;height:55px;object-fit:contain}
.bam-category-services a{display:flex;align-items:center;gap:8px;flex:1;min-width:130px;color:inherit;text-decoration:none}
.bam-category-services strong,.bam-category-services small{display:block;font-size:12px}
.bam-category-services small{margin-top:5px;font-weight:400}
.bam-categories .bam-category-view-all{position:relative;display:block;padding:12px 26px;color:inherit;font-size:12px;border-top:1px solid color-mix(in srgb,var(--bam-primary) 8%,var(--bam-card-background))}
.bam-category-background{position:absolute;inset:0;z-index:-2;pointer-events:none}
.bam-category-background img{width:100%;height:100%;object-fit:cover}
.bam-category-panel:has(.bam-category-background)::before{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--bam-card-background) 92.16%,transparent);z-index:-1}
.bam-category-overlay-dark:has(.bam-category-background){color:white;background:var(--bam-primary)}
.bam-category-overlay-dark:has(.bam-category-background)::before{background:color-mix(in srgb,var(--bam-primary) 87.45%,transparent)}
.bam-category-overlay-dark .bam-category-brands,.bam-category-overlay-dark .bam-category-services{color:var(--bam-primary)}
.bam-categories :focus-visible{outline:2px solid var(--bam-muted-text);outline-offset:-3px}
@media(min-width:1200px){
 .bam-has-category-rail .bam-dropdown{inset-inline-start:290px}
 .bam-categories[data-home-open=true]>.bam-categories-trigger{cursor:default}
 .bam-categories[data-home-open=true]>.bam-categories-trigger .bam-category-caret{visibility:hidden}
 .bam-nav-links:has(.bam-categories){justify-content:space-between;gap:0}
 .bam-categories[data-enhanced] .bam-category-rail{max-height:380px;overflow-y:auto;overscroll-behavior:contain}
 .bam-categories[data-enhanced] .bam-category-panel{position:fixed;inset:auto}
 .bam-has-category-rail .bam-hero{width:calc(min(1280px,100% - 64px) - 290px);margin-inline-start:calc(max(32px,(100% - 1280px)/2) + 290px);margin-inline-end:max(32px,(100% - 1280px)/2);min-height:380px}
}
@media(min-width:901px) and (max-width:1199px){
 .bam-categories{position:static;flex-basis:190px}
 .bam-nav-links:has(.bam-categories){gap:0}
 .bam-nav-links:has(.bam-categories)>.bam-nav-link,.bam-nav-links:has(.bam-categories)>.bam-nav-group>summary{padding-inline:8px;font-size:12px}
 .bam-categories>.bam-categories-trigger{padding-inline:12px;font-size:12px}
 .bam-category-rail{inset-inline:0;top:100%;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .bam-category-item{position:static}
 .bam-category-disclosure>summary{position:static;min-height:44px}
 .bam-category-item{display:flex}
 .bam-categories a.bam-category-link{flex:1;padding-inline:16px 4px}
 .bam-category-panel{inset-inline-start:0;top:100%;width:100%}
}
@media(max-width:900px){
 .bam-nav-links:has(.bam-categories){justify-content:flex-start}
 .bam-categories{width:100%;flex-basis:auto}
 .bam-categories>.bam-categories-trigger{border-radius:6px}
 .bam-category-rail{position:static;width:100%;box-shadow:none;padding:0}
 .bam-categories a.bam-category-link{min-height:48px}
 .bam-category-disclosure>summary{min-height:48px}
 .bam-category-panel{position:static;width:100%;max-height:none;border:0;border-top:1px solid color-mix(in srgb,var(--bam-primary) 7%,var(--bam-card-background));box-shadow:none;background:color-mix(in srgb,var(--bam-primary) 2%,var(--bam-card-background))}
 .bam-category-content{display:block;min-height:0;padding:18px}
 .bam-category-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .bam-category-group h3{margin-top:0}
 .bam-category-background,.bam-category-group-image,.bam-category-brands,.bam-category-products,.bam-category-services,.bam-categories .bam-category-banner{display:none}
 .bam-category-banner-mobile{display:flex;margin-top:18px}
 .bam-category-banner picture{display:none}
}
@media(prefers-reduced-motion:reduce){.bam-categories *{scroll-behavior:auto}}


.bam-category-link>span{min-width:0;overflow-wrap:anywhere}

.bam-nav details.bam-categories,.bam-categories details{padding:0;border:0;margin:0;font-size:inherit}
