/* ShopMarket24 category megamenu — responsive, searchable, ranked by stocked catalog size. */
.sm24-navwrap .sm24-mega-categories{display:none;width:min(790px,calc(100vw - 42px));max-width:calc(100vw - 42px);padding:0;grid-template-columns:1fr;gap:0;overflow:hidden;border-radius:0 0 17px 17px;border:1px solid #e4e9f0;background:#fff;box-shadow:0 30px 65px #18263835;z-index:150}
.sm24-catalog-wrap.is-open .sm24-mega-categories,.sm24-catalog-wrap:focus-within .sm24-mega-categories{display:block}
.sm24-mega-categories .sm24-mega-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 25px 12px;background:linear-gradient(110deg,#f8fafc,#fff)}
.sm24-mega-categories .sm24-mega-eyebrow{font-size:10px;font-weight:850;letter-spacing:1.2px;text-transform:uppercase;color:#de641f}
.sm24-mega-categories .sm24-mega-title{font-size:20px;letter-spacing:-.5px;color:#1d3045;margin:5px 0}
.sm24-mega-categories .sm24-mega-top p{font-size:12px;color:#64748b;margin:0;line-height:1.45}
.sm24-mega-categories .sm24-mega-view-all{color:#c65110;font-weight:800;white-space:nowrap;border:1px solid #fad0b8;border-radius:9px;padding:10px 13px;font-size:12px}
.sm24-mega-categories .sm24-mega-view-all:hover{background:#fff0e7}
.sm24-mega-categories .sm24-mega-search-label{display:flex;align-items:center;gap:9px;border:1px solid #dce3ec;margin:14px 25px;border-radius:10px;background:#fff;padding:0 12px;color:#78869b;min-height:42px}
.sm24-mega-categories .sm24-mega-search{width:100%;min-width:0;border:0;outline:0;padding:10px 0;font-size:13px;background:transparent;color:#223347}
.sm24-mega-categories .sm24-mega-search-label:focus-within{border-color:#ec7130;box-shadow:0 0 0 3px #f5853d1d}
.sm24-mega-categories .sm24-mega-scroll{padding:0 24px 6px;overflow-y:auto;overscroll-behavior:contain;max-height:min(58vh,570px);scrollbar-width:thin;scrollbar-color:#d4dce5 transparent}
.sm24-mega-categories .sm24-mega-group{padding:5px 0 16px}
.sm24-mega-categories .sm24-mega-group h3{font-size:11px;letter-spacing:1.25px;text-transform:uppercase;color:#617185;border-bottom:1px solid #edf1f5;margin:5px 0 7px;padding:7px 2px 10px;font-weight:850}
.sm24-mega-categories .sm24-mega-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px}
.sm24-mega-categories .sm24-mega-category{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 10px!important;border:1px solid transparent;border-radius:9px;font-size:13px;color:#243345!important;min-width:0;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.sm24-mega-categories .sm24-mega-category:hover,.sm24-mega-categories .sm24-mega-category:focus-visible{color:#c65110!important;background:#fff6ef;border-color:#ffe0cd;transform:translateX(2px)}
.sm24-mega-categories .sm24-mega-category-name{flex:1;line-height:1.4;min-width:0}
.sm24-mega-categories .sm24-mega-category-count{background:#f0f3f7;color:#64748b;padding:4px 7px;border-radius:20px;font-size:10px;font-weight:700;flex:0 0 auto}
.sm24-mega-categories .sm24-mega-category[hidden],.sm24-mega-categories .sm24-mega-group[hidden]{display:none!important}
.sm24-mega-categories .sm24-mega-no-results{color:#607084;font-size:13px;text-align:center;padding:22px 10px}
.sm24-mega-categories .sm24-mega-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f8fafc;border-top:1px solid #e8edf2;padding:15px 25px;font-size:11px;color:#64748b}
.sm24-mega-categories .sm24-mega-footer a{color:#cf5817;font-weight:800;font-size:12px}
@media(max-width:800px){.sm24-navwrap .sm24-mega-categories{left:0;right:auto;width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px)}}
@media(max-width:560px){.sm24-navwrap .sm24-mega-categories{width:calc(100vw - 24px);left:0}.sm24-mega-categories .sm24-mega-top{padding:17px 15px 8px}.sm24-mega-categories .sm24-mega-top p{display:none}.sm24-mega-categories .sm24-mega-title{font-size:17px}.sm24-mega-categories .sm24-mega-search-label{margin:10px 15px}.sm24-mega-categories .sm24-mega-scroll{padding:0 13px;max-height:55vh}.sm24-mega-categories .sm24-mega-grid{grid-template-columns:1fr;gap:1px}.sm24-mega-categories .sm24-mega-category{padding:9px 8px!important}.sm24-mega-categories .sm24-mega-footer{padding:12px 15px}.sm24-mega-categories .sm24-mega-footer span{display:none}}
@media(prefers-reduced-motion:reduce){.sm24-mega-categories .sm24-mega-category{transition:none;transform:none!important}}
