/* Restore original 1200px PC sizing while retaining unified menu styling. */
@media(min-width:1024px){
.wrapper_1200,.user-wrapper,.goods_count .wrapper_1200,.goods_count .user-wrapper,.goodsSearch.wrapper_1200,.goods_cate>.title,.index>.wrapper,.index>.slider-banner,.user-menu.user-wrapper{width:1200px!important;max-width:calc(100% - 48px)!important}
.wrapper_1200 .user-wrapper,.wrapper_1200 .wrapper_1200{width:100%!important;max-width:100%!important}
}
.categoryMain>.categoryCount,.catalog-platform-menu{width:1200px!important;max-width:calc(100% - 48px)!important}/* One visual style for native and added catalog navigation. */
.categoryMain{background:transparent!important;box-shadow:none!important;padding:0!important}
.categoryMain>.categoryCount,.catalog-platform-menu{width:min(1440px,calc(100% - 48px))!important;max-width:1440px!important;margin:16px auto!important;box-sizing:border-box!important;background:#e93323!important;border-radius:8px!important;padding:8px!important}
.categoryMain>.categoryCount>.list,.catalog-platform-menu{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;height:auto!important;min-height:48px!important}
.categoryMain>.categoryCount>.list{width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
.categoryMain .categoryCount>.list>.item-link,.categoryMain .categoryCount>.list>.categoryBtn,.catalog-platform-menu>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:auto!important;width:auto!important;margin:0!important;padding:8px 16px!important;box-sizing:border-box!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:24px!important;text-decoration:none!important;cursor:pointer}
.categoryMain .categoryCount>.list>.item-link:hover,.categoryMain .categoryCount>.list>.item-link.font-color,.categoryMain .categoryCount>.list>.categoryBtn:hover,.catalog-platform-menu>a:hover,.catalog-platform-menu>a[aria-current=page]{background:#bd2418!important;color:#fff!important}
.categoryMain .categoryCount>.list>.categoryBtn{flex-shrink:0!important}
@media(max-width:760px){.categoryMain>.categoryCount,.catalog-platform-menu{width:calc(100% - 24px)!important}.categoryMain .categoryCount>.list>.item-link,.categoryMain .categoryCount>.list>.categoryBtn,.catalog-platform-menu>a{font-size:14px!important;padding:7px 10px!important}}.categoryMain>.categoryCount,.catalog-platform-menu{width:1200px!important;max-width:calc(100% - 48px)!important}

/* Shared homepage navigation style across storefront pages. */
.categoryMain{background:#fff!important;box-shadow:none!important;padding:0!important}
.categoryMain>.categoryCount,.categoryMain>.wrapper_1200,.catalog-platform-menu,.user-menu>.elharir-site-menu{width:1200px!important;max-width:100%!important;box-sizing:border-box!important;background:#fff!important;border-radius:0!important;padding:0!important;margin:0 auto!important}
.categoryMain .categoryCount>.list,.categoryMain>.wrapper_1200>.list,.catalog-platform-menu,.user-menu>.elharir-site-menu{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:0!important;min-height:50px!important;height:auto!important}
.categoryMain .categoryCount>.list{width:100%!important;margin:0!important;padding:0!important}
.categoryMain .categoryCount>.list>.item-link,.categoryMain>.wrapper_1200>.list>.item,.catalog-platform-menu>a,.user-menu>.elharir-site-menu>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:50px!important;height:auto!important;padding:12px 22px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#000!important;font-size:16px!important;font-weight:500!important;line-height:26px!important;text-decoration:none!important;cursor:pointer}
.categoryMain .categoryCount>.list>.categoryBtn,.categoryMain>.wrapper_1200>.list>.categoryBtn,.catalog-platform-menu>a[data-href='/goods_cate']{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:190px!important;min-height:50px!important;height:auto!important;margin:0!important;padding:12px 22px!important;border:0!important;border-radius:0!important;background:#e93323!important;color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:26px!important;box-sizing:border-box!important}
.categoryMain .categoryCount>.list>.item-link:hover,.categoryMain .categoryCount>.list>.item-link.font-color,.categoryMain>.wrapper_1200>.list>.item:hover,.catalog-platform-menu>a:hover,.catalog-platform-menu>a[aria-current=page],.user-menu>.elharir-site-menu>a:hover,.user-menu>.elharir-site-menu>a[aria-current=page]{background:#fff!important;color:#e93323!important}
.catalog-platform-menu>a[data-href='/goods_cate']:hover,.catalog-platform-menu>a[data-href='/goods_cate'][aria-current=page]{background:#bd2418!important;color:#fff!important}
.user-menu.user-wrapper{background:#fff!important}
@media(max-width:760px){.categoryMain .categoryCount>.list>.item-link,.categoryMain>.wrapper_1200>.list>.item,.catalog-platform-menu>a,.user-menu>.elharir-site-menu>a{padding:8px 12px!important;font-size:14px!important}.categoryMain .categoryBtn,.catalog-platform-menu>a[data-href='/goods_cate']{min-width:150px!important}}
/* Original homepage category-button dimensions on every catalog menu. */
.categoryMain .categoryCount>.list>.categoryBtn,.categoryMain>.wrapper_1200>.list>.categoryBtn,.catalog-platform-menu .categoryBtn{flex:0 0 208px!important;width:208px!important;min-width:208px!important;max-width:208px!important;height:44px!important;min-height:44px!important;line-height:44px!important;padding:0!important;box-sizing:border-box!important;font-size:16px!important}
.categoryMain .categoryCount>.list,.categoryMain>.wrapper_1200>.list{min-height:44px!important}
/* Remove the category-page breadcrumb row; advertising remains below navigation. */
.goods_cate>.title.wrapper_1200{display:none!important}
/* Store pages have one native menu, with search on the same row. */
.user-menu>.elharir-site-menu,.user-menu .elharir-store-nav{display:none!important}
.user-menu.user-wrapper>.menu-main:has(>.menu-item:not([hidden])){flex:1 1 auto!important;order:0!important;background:#fff!important;border:0!important;padding:0!important;justify-content:flex-start!important}
.user-menu.user-wrapper>.menu-main>.menu-item{border-radius:0!important;padding:11px 18px!important;color:#000!important;font-size:16px!important;font-weight:500!important}
.user-menu.user-wrapper>.menu-main>.menu-item:hover{color:#e93323!important;background:#fff!important}
.user-menu.user-wrapper>.menu-search{flex:0 1 300px!important;order:0!important}

/* Store category control comes first and opens a compact hover submenu. */
.user-menu .menu-main>.menu-item:nth-child(2){order:-1!important}
.user-menu.user-wrapper>.category{position:absolute!important;top:100%!important;inset-inline-start:0!important;width:260px!important;max-width:calc(100vw - 32px)!important;height:auto!important;margin:0!important;padding:10px!important;border:1px solid #e5e9ef!important;border-radius:0 0 8px 8px!important;background:#fff!important;box-shadow:0 8px 20px #0002!important;z-index:40!important}
.user-menu>.category>.sort{width:100%!important}
.user-menu>.category .sort>.item{padding:8px 10px!important;height:auto!important;color:#000!important}
.user-menu>.category .sortCon{background:#fff!important;border:1px solid #eee;border-radius:6px;box-shadow:0 6px 18px #0001}
.user-menu>.category .sub-item{color:#000!important}
.user-menu>.category .name:hover,.user-menu>.category .sub-item:hover{color:#e93323!important}
/* Readable category trigger matching the homepage and its compact submenu. */
.user-menu.user-wrapper>.menu-main>.menu-item:nth-child(2){order:-1!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:12px;flex:0 0 208px!important;width:208px!important;height:44px!important;min-height:44px!important;padding:0!important;line-height:44px!important;background:#e93323!important;color:#fff!important;font-weight:700!important;font-size:16px!important;border-radius:0!important}
.user-menu.user-wrapper>.menu-main>.menu-item:nth-child(2):hover{background:#bd2418!important;color:#fff!important}
.user-menu .menu-main>.menu-item:nth-child(2):after{content:'⌄';font-size:18px;color:#fff}
.user-menu.user-wrapper>.category{width:280px!important;padding:12px!important;border-color:#dedede!important;background:#fff!important;direction:inherit}
.user-menu>.category .name{font-size:16px!important;font-weight:700!important;line-height:1.6!important;white-space:normal!important;overflow:visible!important;color:#000!important}
.user-menu>.category .sub-item{font-size:15px!important;line-height:1.6!important;padding:10px 14px!important;color:#000!important;white-space:normal!important}
.user-menu>.category .moreBtn{display:block!important;background:#e93323!important;color:#fff!important;padding:10px 14px!important;text-align:center!important;font-size:14px!important;font-weight:700!important}