/* Opt-in sections only; legacy storefront styling is untouched. */
.cat-flex.home-categories{grid-auto-flow:column;grid-template-rows:repeat(var(--home-rows),auto)!important;overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-y:auto;align-items:start}
.home-categories.rows-1{--home-rows:1}.home-categories.rows-2{--home-rows:2}.home-categories.rows-3{--home-rows:3}
.home-categories.shape-vertical .cat-box{height:auto;aspect-ratio:3/4}
.home-categories.shape-horizontal .cat-box{height:auto;aspect-ratio:4/3}
.home-categories.shape-circle .cat-box{height:auto;aspect-ratio:1;border-radius:50%;overflow:visible;margin-bottom:44px}
.home-categories.shape-circle .cat-box-overlay{border-radius:50%}
.home-categories.shape-circle .cat-box-name{position:absolute;top:100%;bottom:auto;left:0;right:0;color:var(--bs-body-color,#26334a);text-shadow:none;padding:8px 0 0;font-size:12px;line-height:1.4;min-height:38px}
.home-block{margin:24px 0}.home-block>h5{margin-bottom:14px}.home-banner-image{display:block;width:100%;height:auto;border-radius:16px}
.home-sub-rail,.home-products-rail{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain;overscroll-behavior-y:auto;padding:4px 0 12px;cursor:grab}
.home-sub-rail::-webkit-scrollbar,.home-products-rail::-webkit-scrollbar{display:none}
.home-sub-link{flex:0 0 110px;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;color:inherit;text-decoration:none;scroll-snap-align:start;font-size:13px}
.home-sub-link img,.home-sub-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;background:#edf1f6}.home-sub-placeholder{display:grid;place-items:center;font-size:28px}
.home-products-rail>.home-product{flex:0 0 250px;min-width:0;scroll-snap-align:start}
.home-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-product{min-width:0}.home-product .card{overflow:hidden}
.home-block img{-webkit-user-drag:none}
@media(max-width:767px){.home-sub-link{flex-basis:82px}.home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-products-rail>.home-product{flex-basis:72%}}
