/* Compact homepage rows only. Category, search and member reward galleries keep their layouts. */
.rf-home-shelf-section .rf-heading{margin-bottom:12px}
.rf-products.rf-home-shelf{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 84px)/8);gap:12px;align-items:start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#f7a8c8 transparent;padding:2px 0 10px}
.rf-home-shelf:focus-visible{outline:2px solid #ed176d;outline-offset:3px;border-radius:16px}
.rf-home-shelf>.rf-product{min-width:0;width:100%;border-radius:16px;scroll-snap-align:start}
.rf-home-shelf .rf-product>a{display:block;height:auto}
.rf-home-shelf .rf-product-image{height:170px;min-height:0;aspect-ratio:auto;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.rf-home-shelf .rf-product-image img{display:block;position:static;width:100%;height:100%;object-fit:contain;transform:none}
.rf-home-shelf .rf-product-info{height:100px;box-sizing:border-box;padding:9px;gap:4px}
.rf-home-shelf .rf-product-info h3{font-size:12px;line-height:1.45;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:2.9em}
.rf-home-shelf .rf-product-info small{font-size:10px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rf-home-shelf .rf-product-info strong{font-size:16px;line-height:1.4;padding-right:32px}
.rf-home-shelf .rf-product-info i{width:28px;height:28px;right:8px;bottom:9px;border-radius:10px}
.rf-home-shelf .rf-favorite{width:30px;height:30px;top:6px;right:6px}
.rf-home-shelf>.skel{height:270px;border-radius:16px}
.rf-home-shelf>p{grid-column:1/-1;width:100%;font-size:14px}
@media(max-width:1199px){.rf-products.rf-home-shelf{grid-auto-columns:calc((100% - 60px)/6)}}
@media(max-width:899px){.rf-products.rf-home-shelf{grid-auto-columns:calc((100% - 36px)/4)}}
@media(max-width:599px){.rf-products.rf-home-shelf{grid-auto-columns:clamp(132px,42vw,170px);gap:10px}.rf-home-shelf .rf-product-image{height:150px}.rf-home-shelf .rf-product-info{height:100px}.rf-home-shelf>.skel{height:250px}.rf-home-shelf-section .rf-heading h2{font-size:20px}.rf-home-shelf-section .rf-heading>a{font-size:12px}}
