.storefront .storeheader{position:relative}.storefront .categorynav{font:inherit;cursor:pointer;text-align:left}.storefront .catalog-mega[hidden],.catalog-mega [data-mega-panel][hidden]{display:none!important}.storefront .catalog-mega{position:absolute;left:50%;top:100%;transform:translateX(-50%);z-index:50;display:grid;grid-template-columns:272px minmax(0,1fr);background:#fff;border:1px solid #e5e6e9;border-top:3px solid #ce252b;box-shadow:0 18px 45px #151e2b29;border-radius:0 0 10px 10px;max-height:min(640px,calc(100dvh - 220px));overflow:hidden;text-align:left}.mega-rail{padding:10px 8px;background:#fafafb;border-right:1px solid #e4e6ea;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.mega-rail-title{display:flex;align-items:center;justify-content:space-between;padding:5px 13px 13px;font-size:10px;color:#969da7}.mega-rail-title>button{font-size:24px;background:transparent;color:#727984;width:30px;height:30px;line-height:1}.mega-rail>[data-mega-category]{width:100%;display:flex;align-items:center;gap:12px;border-radius:5px;background:transparent;min-height:46px;text-align:left;padding:10px 12px;color:#383d47;font:inherit;font-size:12px;cursor:pointer}.mega-rail>[data-mega-category].selected{background:#f9e9ea;color:#c51f27;font-weight:600}.mega-rail .machine-svg{width:24px;height:24px}.mega-rail .chevron{width:11px;height:11px}.mega-content{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:28px 30px 20px;min-width:0;min-height:400px;background:linear-gradient(120deg,#fff,#fcfcfd)}.mega-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eceef1;padding-bottom:20px;margin-bottom:24px;gap:15px}.mega-heading span{font-family:Google,sans-serif;font-size:8px;letter-spacing:1.8px;color:#a0a5af}.mega-heading h2{font-size:24px;font-weight:600;margin:7px 0 0}.mega-heading>a{font-size:11px;color:#cb2930;white-space:nowrap}.mega-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;min-height:245px}.mega-group h3{font-size:14px;border-left:3px solid #d62a31;padding-left:11px;margin-bottom:20px}.mega-family{margin-bottom:22px}.mega-family>a{display:block}.mega-brand-name{font-size:10px;font-weight:600;letter-spacing:.3px;color:#9b6367;margin-bottom:9px}.mega-series{font-size:12px;font-weight:600;color:#444b56;margin:12px 0 4px}.mega-series>span{font-size:10px;color:#a3a8b1}.mega-family .mega-model{padding:6px 0;font-size:12px;line-height:1.5;color:#707885}.mega-model>small{display:block;font-size:9px;color:#a4a9b2}.mega-family .mega-model:hover,.mega-series:hover{color:#cf242c}.mega-more{font-size:10px;color:#cf242c;margin:8px 0}.mega-bottom{border-top:1px solid #eceef1;padding-top:17px;margin-top:18px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9a9fab}.mega-bottom a{color:#c32b32}.mega-bottom span a{color:#5a6370;margin-left:10px}.mega-empty{grid-column:1/-1;align-self:center;text-align:center;padding:25px}.mega-empty>.machine-svg{width:45px;height:45px;color:#c9cdd4;margin-bottom:13px}.mega-empty h3{font-size:17px}.mega-empty p{font-size:12px}.mega-empty a{font-size:12px;color:#cd252c}.mega-brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mega-brands>a{min-height:125px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:1px solid #e5e8ed;border-radius:7px;background:white}.mega-brands img{height:43px;max-width:145px;object-fit:contain}.mega-brands strong{font-family:Google,sans-serif;font-size:16px;text-align:center}.mega-brands a>span{font-size:9px;color:#979ea8}.mega-brands>a:hover{border-color:#dfa1a6;box-shadow:0 4px 14px #00000005}.storefront.storeheader-fixed .catalog-mega{max-height:calc(100dvh - 125px)}.catalog-brand-logo{display:block;width:auto;max-width:180px;height:55px;object-fit:contain;margin-bottom:15px}.storefront .brands .partner-logos{display:flex;flex-wrap:wrap;gap:35px;justify-content:center}.partner-logos img{height:45px;max-width:180px;object-fit:contain}.partner-logos b{font-size:21px}.product-specs{margin:25px 0;border-block:1px solid #e9ecf0}.product-specs>div{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;padding:10px 0;border-bottom:1px solid #f0f1f3;font-size:12px}.product-specs dt{color:#939ba6}.product-specs dd{margin:0;color:#4d5662}.admin-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.brand-logo-box{min-height:115px;display:flex;align-items:center;justify-content:center;background:#fafbfc;border:1px solid #e9ecf0;border-radius:7px;margin-bottom:16px;padding:20px;text-align:center}.brand-logo-box img{max-width:180px;max-height:65px;object-fit:contain}.brand-editor summary{cursor:pointer;font-size:13px;font-weight:600}.brand-editor summary span{float:right;font-size:10px;color:#c62b32}.brand-editor form{margin-top:20px}.catalog-mega button:focus-visible,.catalog-mega a:focus-visible{outline:2px solid #cf242c;outline-offset:2px}@media(max-width:1200px){.storefront .catalog-mega{grid-template-columns:230px minmax(0,1fr)}.mega-content{padding:23px}.mega-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.mega-brands{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.storefront .nav .categorynav{display:flex;min-width:0;width:auto;flex-shrink:0;padding:0 12px;font-size:11px;gap:8px}.storefront .nav .categorynav .icon{width:17px;height:17px}.storefront .catalog-mega{width:calc(100vw - 20px);grid-template-columns:145px minmax(0,1fr);max-height:calc(100dvh - 205px)}.mega-rail{padding:7px 4px}.mega-rail-title{padding:3px 7px 8px;font-size:9px}.mega-rail>[data-mega-category]{padding:10px 7px;gap:7px;font-size:10px;min-height:49px;line-height:1.5}.mega-rail .machine-svg{width:20px;height:20px}.mega-rail .chevron{display:none}.mega-content{padding:16px 13px;min-height:340px}.mega-heading{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:20px;padding-bottom:14px}.mega-heading h2{font-size:18px}.mega-heading span{font-size:7px;letter-spacing:.9px}.mega-heading>a{font-size:10px}.mega-columns{grid-template-columns:1fr;gap:20px}.mega-group h3{font-size:13px}.mega-model>small{font-size:9px}.mega-bottom{flex-direction:column;font-size:9px;gap:8px}.mega-bottom span a{display:block;margin:5px 0}.mega-brands{grid-template-columns:1fr;gap:10px}.mega-brands>a{padding:15px 8px;min-height:100px}.mega-brands img{max-width:110px;height:35px}.mega-brands strong{font-size:13px}.mega-empty{padding:15px 0}.mega-empty h3{font-size:14px}.mega-empty p{font-size:11px}.storefront.storeheader-fixed .catalog-mega{max-height:calc(100dvh - 113px)}.admin-brand-grid{grid-template-columns:1fr}.product-specs>div{font-size:11px}.mega-rail-title>button{width:27px;height:27px}}
.mega-category-logo{max-width:125px;height:30px;object-fit:contain;margin:0 0 10px;display:block}.storefront .categorynav[aria-expanded="true"]{background:#ad1e24}.catalog-mega [data-mega-panel]{animation:mega-reveal .15s ease-out}@keyframes mega-reveal{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.catalog-mega [data-mega-panel]{animation:none}}

.mega-model-children{margin:5px 0 15px}.mega-model-children .mega-model,.mega-model-children .mega-more{display:block}.mega-model-children.has-series{margin-left:5px}.mega-model-children.has-series>a{position:relative;margin:0;padding:7px 8px 7px 19px;line-height:1.5}.mega-model-children.has-series>a:before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid #dce0e6}.mega-model-children.has-series>a:after{content:'';position:absolute;left:0;top:50%;width:11px;border-top:1px solid #dce0e6}.mega-model-children.has-series>a:last-child:before{bottom:50%}.mega-model-children.has-series>a:hover{background:#fff5f5;border-radius:0 5px 5px 0;color:#c9232a}

/* Progressive catalog: category → machine type → brand/series → model. */
.catalog-mega [hidden]{display:none!important}
.storefront .catalog-mega{grid-template-columns:235px minmax(0,1fr);max-height:min(720px,calc(100dvh - 190px))}
.catalog-mega .mega-content{padding:0;min-height:0;background:#fff}
.mega-drill{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);min-height:420px}
.mega-drill>.mega-drill{grid-template-columns:repeat(2,minmax(0,1fr))}
.mega-step{min-width:0;padding:24px 18px;border-right:1px solid #e4e6ea}
.mega-step h2{font-size:20px;line-height:1.4;margin:10px 0 24px;color:#202735}
.mega-step h3{font-size:22px;margin:22px 12px 12px}
.mega-crumb{font-size:12px;line-height:1.6;color:#7c8390;margin:0;overflow-wrap:anywhere}
.mega-choice{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:14px 12px;min-height:48px;border:0;border-radius:6px;background:transparent;text-align:left;font:inherit;font-size:14px;line-height:1.5;color:#293140;cursor:pointer;overflow-wrap:anywhere}
.mega-choice>span{flex-shrink:0;font-size:23px;line-height:1}
.mega-choice.selected,.mega-choice:hover{background:#fde9eb;color:#e21c2a}
.mega-preview{display:block;width:100%;height:165px;object-fit:contain;margin:0 0 12px}
.mega-step .mega-category-logo{max-width:100%;height:45px;margin:22px 12px 18px}
.mega-all{display:block;font-size:13px;line-height:1.6;color:#dc202a;padding:16px 12px}
.catalog-mega .mega-bottom{margin:0;padding:18px 24px;background:#f7f7f9;font-size:13px}
.mega-back{display:none}
.catalog-mega #mega-panel-brands{padding:24px}
.catalog-mega .mega-rail{min-height:0;overflow:auto}
.catalog-mega .mega-rail>[data-mega-category]{font-size:13px;min-height:52px}
@media(min-width:1400px){.storefront .catalog-mega{grid-template-columns:280px minmax(0,1fr)}.mega-step{padding:26px 24px}.mega-choice{font-size:16px}.mega-preview{height:200px}}
@media(max-width:1000px){
 .storefront .catalog-mega{grid-template-columns:210px minmax(0,1fr);max-height:calc(100dvh - 190px)}
 .mega-drill,.mega-drill>.mega-drill{display:block;min-height:0}
 .mega-step{padding:18px;border:0}
 .mega-drill.has-selection>.mega-step:not([data-branch-panel]){display:none}
 .mega-back{display:block;border:0;background:#f6f6f8;color:#c51f27;font:inherit;font-size:13px;min-height:44px;padding:10px 12px;border-radius:5px;margin-bottom:16px;cursor:pointer}
 .mega-preview{height:190px}.mega-step h2{margin-bottom:15px}
}
@media(max-width:600px){
 .storefront .catalog-mega{width:calc(100vw - 16px);grid-template-columns:1fr;max-height:calc(100dvh - 180px);overflow:auto}
 .catalog-mega .mega-rail{max-height:none;padding:8px;border-right:0;border-bottom:1px solid #e4e6ea}
 .catalog-mega .mega-rail-title{font-size:12px;padding:0 8px 5px}
 .catalog-mega .mega-rail-title>button{width:44px;height:44px}
 .catalog-mega .mega-rail>[data-mega-category]{min-height:44px;padding:10px;font-size:14px}
 .catalog-mega .mega-rail>[data-mega-category][aria-expanded="false"]{display:none}
 .catalog-mega .mega-rail.show-categories>[data-mega-category]{display:flex}
 .catalog-mega .mega-rail .chevron{display:block;margin-left:auto}
 .catalog-mega .mega-content{overflow:visible}
 .mega-step{padding:16px}.mega-choice{font-size:15px;min-height:48px}
 .catalog-mega .mega-bottom{padding:16px;font-size:12px}
}
.catalog-mega .mega-rail-title>.mega-category-picker{width:auto;height:auto;min-height:44px;font:inherit;font-size:12px;text-align:left;cursor:pointer}

/* Dense catalog browsing keeps long lists inside their own column. */
.storefront .catalog-mega,.storefront.storeheader-fixed .catalog-mega{height:min(570px,var(--mega-height,65dvh));max-height:var(--mega-height,65dvh)}
.catalog-mega .mega-content{height:100%;overflow:hidden}
.catalog-mega [data-mega-panel]{height:100%;display:flex;flex-direction:column;min-height:0}
.catalog-mega .mega-drill{min-height:0;min-width:0;height:100%;overflow:hidden;flex:1}
.catalog-mega .mega-step{padding:18px 16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;min-height:0}
.catalog-mega .mega-step h2{font-size:18px;margin:8px 0 16px}
.catalog-mega .mega-choice{font-size:14px;min-height:40px;padding:9px 10px;line-height:1.5}
.catalog-mega .mega-rail>[data-mega-category]{min-height:44px;font-size:12px;padding:9px 10px}
.catalog-mega .mega-preview{height:105px;margin:8px 0;object-fit:contain}
.catalog-mega .mega-step .mega-category-logo{height:28px;max-width:155px;margin:14px 8px 10px}
.catalog-mega .mega-step h3{font-size:16px;margin:14px 8px 10px}
.mega-field{display:grid;gap:6px;font-size:12px;color:#697382;margin-bottom:10px}
.catalog-mega .mega-field select,.catalog-mega .mega-search{box-sizing:border-box;width:100%;min-width:0;min-height:40px;border:1px solid #dfe3e9;background:#fafbfc;border-radius:7px;padding:9px 10px;font:inherit;font-size:13px;color:#293140}
.catalog-mega .mega-search{margin-bottom:10px}
.catalog-mega :is(input,select):focus-visible{outline:2px solid #cf242c;outline-offset:2px}
.mega-no-results,.mega-count{font-size:12px;color:#858d99;margin:8px 0 12px}
.catalog-mega .mega-bottom{flex-shrink:0;padding:12px 18px;font-size:12px}
.catalog-mega #mega-panel-brands{overflow-y:auto}
@media(max-width:1000px){.catalog-mega .mega-step{height:100%;box-sizing:border-box}.catalog-mega .mega-choice{min-height:44px}.catalog-mega .mega-preview{height:90px}}
@media(max-width:600px){
 .storefront .catalog-mega{display:flex;flex-direction:column;height:min(620px,var(--mega-height,65dvh));overflow:hidden}
 .catalog-mega .mega-rail{flex-shrink:0;max-height:45%;overflow-y:auto}
 .catalog-mega .mega-content{flex:1;min-height:0}
 .catalog-mega .mega-choice{font-size:14px;min-height:46px}
 .catalog-mega .mega-field select,.catalog-mega .mega-search{font-size:16px;min-height:44px}
 .catalog-mega .mega-bottom{padding:10px 16px;gap:5px}
}
/* Browse all brand families in the independently scrolling series column. */
.catalog-mega [data-brand-group]+[data-brand-group]{border-top:1px solid #e9ecf1;margin-top:14px;padding-top:8px}
.catalog-mega .mega-search{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 3px 8px #18213208}


.catalog-mega .mega-model-gallery{min-width:0;margin:8px 0 12px}.catalog-mega .mega-model-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin}.catalog-mega .mega-model-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;text-align:center;color:inherit;font-size:13px;padding-bottom:6px}.catalog-mega .mega-model-slide .mega-preview{width:100%}.catalog-mega .mega-gallery-controls{display:flex;align-items:center;justify-content:center;gap:15px;font-size:12px;color:#737b89}.catalog-mega .mega-gallery-controls button{width:32px;height:30px;border-radius:4px;background:#f5f5f7;color:#c51f27;font-size:24px;cursor:pointer}
