/* Desktop directory: retain the shared category controls and scroll state. */
@media (min-width:1000px){
 html:not(.meiai-native) body.mp-platform-desktop #categories{--dc-page-width:1280px;--dc-page-gutter:40px;background:#fff}
 html:not(.meiai-native) body.mp-platform-desktop #categories>.app-header{display:flex!important;justify-content:flex-start;gap:0;height:112px;min-height:112px;width:min(var(--dc-page-width),calc(100% - var(--dc-page-gutter)*2));margin:0 auto;padding:26px 0 18px;border:0;background:#fff;box-shadow:none;box-sizing:border-box}
 html:not(.meiai-native) body.mp-platform-desktop #categories>.app-header>.icon{display:none}
 html:not(.meiai-native) body.mp-platform-desktop #categories .bh-title-stack{align-items:flex-start;text-align:left}
 html:not(.meiai-native) body.mp-platform-desktop #categories .header-title{margin:0;color:#46404a;font-size:26px;font-weight:500;line-height:1.5;letter-spacing:.06em}
 html:not(.meiai-native) body.mp-platform-desktop #categories .header-title::before{content:"CATEGORY";display:block;margin-bottom:4px;color:#6b8583;font:500 10px/1.6 Arial,sans-serif;letter-spacing:.18em}
 html:not(.meiai-native) body.mp-platform-desktop #categories>.screen-main{width:min(var(--dc-page-width),calc(100% - var(--dc-page-gutter)*2));margin:0 auto;background:#fff;min-height:0}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-page{height:100%;min-height:0;background:#fff}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-top{display:flex;flex-direction:row;align-items:center;gap:24px;padding:0 0 26px;border-bottom:1px solid #eee9ed;background:#fff;flex:none}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-intro{display:contents}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-intro>span{display:none}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-search{order:0;width:440px;max-width:60%;height:46px;border-radius:8px;background:#faf9fb;flex:none}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-search>input{font-size:13px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-refine{order:1;margin-left:auto;padding:0 14px;font-size:12px;gap:9px;border:1px solid #e7e4e9;border-radius:8px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-layout{gap:36px;padding-top:26px;min-height:0}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail{flex:0 0 190px;padding:0 18px 28px 0;border-right:1px solid #eee9ed;background:#fff;scrollbar-width:thin;scrollbar-color:#e4dde4 transparent}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail>button{justify-content:flex-start;min-height:46px;margin-bottom:4px;padding:11px 16px;border-radius:5px;font-size:13px;line-height:22px;text-align:left;color:#79717b;overflow-wrap:normal}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail>button:hover{background:#faf7f9;color:#9e687f}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail>button[aria-pressed=true]{background:#f6f0f4;color:#9e687f;font-weight:500}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail>button[aria-pressed=true]::before{top:12px;bottom:12px;height:auto;width:2px;border-radius:0;background:#9ab9bd}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-content{padding:0 18px 40px 0;scrollbar-width:thin;scrollbar-color:#e4dde4 transparent;scroll-padding-top:0}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-section{padding:0 0 30px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-section+.cb-section{padding-top:26px;border-top:1px solid #eee9ed}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-section-head{min-height:44px;margin-bottom:20px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-section-head>div>span{font-size:10px;line-height:15px;color:#8c8791}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-section-head h2{font-size:19px;line-height:28px;font-weight:500;color:#46404a}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-all{font-size:12px;color:#83757e;gap:7px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-category{min-height:0;padding:0 0 6px;border-radius:0;gap:0}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-illustration{width:100%;max-width:144px;aspect-ratio:4/5;border-radius:7px;overflow:hidden;background:#f7f5f7}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-illustration>svg{width:55%;height:55%;max-width:66px;max-height:66px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-illustration .cb-product-photo{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-label{margin-top:11px;font-size:12px;line-height:20px;color:#665e69}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-category:hover .cb-illustration{border-color:#c6b3c1}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-category:hover .cb-label{color:#a16780}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-category[aria-pressed=true] .cb-label{color:#518b95}
}
@media(min-width:1000px) and (max-width:1199px){
 html:not(.meiai-native) body.mp-platform-desktop #categories{--dc-page-gutter:28px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-layout{gap:26px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-rail{flex-basis:170px;padding-right:14px}
 html:not(.meiai-native) body.mp-platform-desktop #categories .cb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
