/* Customer category redesign; isolated review copy of B008. */
@media(max-width:800px){
 dialog[data-screen="categories"] .dialog-top{min-height:66px!important;padding:12px 16px!important;border-bottom:1px solid #f0e7ec!important}
 dialog[data-screen="categories"] .dialog-top h2{font-size:23px!important;letter-spacing:-.6px;color:#30262c}
 dialog[data-screen="categories"] .dialog-scroll{padding:12px 14px 28px!important}
 .category-browser-tools{padding-bottom:14px;background:#fff}
 .category-search{border-radius:14px;background:#faf6f8;border-color:#efe4ea;padding-inline:11px}
 .category-search input{font-size:14px;min-height:45px}
 .category-browser-meta{font-size:11px;padding-top:5px;color:#8a7480}
 .category-browser-meta .btn{font-size:11px!important;color:#9b486b!important}
 .mobile-category-sheet{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important;align-items:stretch}
 .mobile-category-tile{padding:7px 5px 9px!important;gap:6px!important;min-height:158px!important;border:1px solid #f0e6eb!important;border-radius:17px!important;background:#fff!important;transition:border-color .15s,background .15s}
 .mobile-category-tile img{width:100%!important;max-width:96px!important;height:auto!important;aspect-ratio:1!important;object-fit:contain!important;border-radius:13px!important;background:#fcf8fa!important}
 .mobile-category-tile strong{font-size:12px!important;line-height:1.35!important;font-weight:600!important;color:#3a2c34!important;max-width:100%;overflow-wrap:break-word!important;hyphens:auto}
 .mobile-category-tile small{font-size:10px!important;line-height:1.4!important;color:#967686!important;padding-top:0}
 .mobile-category-tile:active{background:#fff4f8!important;border-color:#cc8eaa!important}
 .mobile-category-tile:focus-visible{outline:2px solid #a44d73;outline-offset:2px}
 .store #customer-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important;overflow:visible!important;padding:0!important}
 .store #customer-categories .cat-btn{padding:7px 5px 10px!important;gap:8px!important;min-width:0!important;min-height:136px!important;border:1px solid #f0e6eb!important;border-radius:17px!important;background:#fff!important}
 .store #customer-categories .cat-btn img{width:84px!important;max-width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:contain!important;border:0!important;border-radius:13px!important;background:#fcf8fa!important;box-shadow:none!important}
 .store #customer-categories .cat-btn span{font-size:12px!important;line-height:1.35!important;font-weight:600!important;color:#3a2c34!important;white-space:normal!important}
 .store #customer-categories .cat-btn.active{border-color:#c888a5!important;background:#fff7fa!important}
 .store .category-intro{padding:20px 0 14px!important}.store .category-intro h1{font-size:24px!important}.store .category-intro>p{display:none}
}
@media(max-width:350px){.mobile-category-tile{padding:6px 4px 8px!important;min-height:144px!important}.mobile-category-tile strong,.store #customer-categories .cat-btn span{font-size:11px!important}.mobile-category-sheet{gap:10px 6px!important}}
/* Round category presentation: three calm, consistent portraits per row. */
@media(max-width:800px){
 .mobile-category-sheet{gap:20px 8px!important}
 .mobile-category-tile{padding:4px 3px 0!important;min-height:152px!important;border:0!important;border-radius:0!important;background:transparent!important;gap:8px!important}
 .mobile-category-tile img{width:96px!important;height:96px!important;max-width:100%!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:50%!important;background:#faf4f6!important;border:4px solid #fff!important;box-shadow:0 0 0 1px #eadde3,0 6px 17px #6745560b!important}
 .mobile-category-tile strong{font-size:12px!important;line-height:1.4!important;font-weight:600!important}
 .mobile-category-tile small{margin-top:0!important;font-size:10px!important;color:#947886!important}
 .mobile-category-tile:active{background:transparent!important}.mobile-category-tile:active img{box-shadow:0 0 0 2px #b76b8d!important}
 .store #customer-categories .cat-btn{border:0!important;border-radius:0!important;background:transparent!important;padding:4px 3px!important;gap:10px!important;min-height:143px!important}
 .store #customer-categories .cat-btn img{width:96px!important;height:96px!important;max-width:100%!important;object-fit:cover!important;border:4px solid #fff!important;border-radius:50%!important;background:#faf4f6!important;box-shadow:0 0 0 1px #eadde3,0 6px 17px #6745560b!important}
 .store #customer-categories .cat-btn.active img{box-shadow:0 0 0 2px #b76b8d!important}
}
@media(max-width:350px){.mobile-category-tile{min-height:142px!important}.mobile-category-tile img,.store #customer-categories .cat-btn img{width:80px!important;height:80px!important}}
.category-quick-filters{display:flex;gap:5px;justify-content:space-between;padding:12px 0 4px}
.category-quick-filters button{flex:1;min-width:0;border:1px solid #eadbe3;border-radius:999px;background:#fff;color:#725363;padding:7px 5px;font-family:inherit;font-size:11px;font-weight:500;line-height:1.3;cursor:pointer}
.category-quick-filters button[aria-pressed="true"]{background:#a44970;border-color:#a44970;color:#fff}
.mobile-category-tile[hidden]{display:none!important}
@media(max-width:800px){.category-browser-tools{position:sticky;top:-12px;z-index:2;padding-top:2px}.mobile-category-tile strong{min-height:34px;display:flex;align-items:center;justify-content:center}.mobile-category-tile img{object-position:50% 50%}.mobile-category-tile[data-id="tb-cat-20613709"] img{object-position:50% 90%}.mobile-category-sheet{padding-top:5px!important}}
@media(max-width:350px){.category-quick-filters{gap:3px}.category-quick-filters button{font-size:10px;padding:7px 3px}}

/* B011: fitted category photos; mobile home is a swipe row; the full category browser stays a grid. */
@media(min-width:801px){#customer-categories .category-mobile-extra{display:none!important}}
@media(max-width:800px){
 .store #customer-categories{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:5px 2px 10px!important;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x pan-y;cursor:grab}
 .store #customer-categories::-webkit-scrollbar{display:none}
 .store #customer-categories .cat-btn{flex:0 0 calc((100% - 22px)/3.2)!important;min-height:128px!important;scroll-snap-align:start;scroll-snap-stop:normal;user-select:none;-webkit-user-select:none}
 .store #customer-categories .cat-btn img{width:100%!important;max-width:110px!important;height:auto!important;aspect-ratio:1!important;object-fit:cover!important;object-position:50% 50%!important;border-width:2px!important;flex-shrink:0;-webkit-user-drag:none}
 .store #customer-categories .cat-btn span{width:100%;overflow-wrap:anywhere!important}
 .mobile-category-tile img{height:auto!important;aspect-ratio:1!important;flex-shrink:0}
 .store #customer-categories.is-swiping{scroll-snap-type:none;cursor:grabbing}
}
