/* Equalize product slides within their own track, without measuring or clipping titles. */
:is(.shelf-grid,.rail,.swiper-wrapper,.owl-stage,.slick-track,.wd-carousel-wrap):has(.zr450-actions){align-items:stretch}
:is(.owl-stage,.slick-track):has(.zr450-actions){display:flex}
:is(.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item):has(.zr450-actions):not([hidden]),
:is(.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item) :not(a):has(> * .zr450-actions):not([hidden]),
:is(.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item) :has(> .zr450-actions):not([hidden]),
.zr-action-card:not([hidden]){display:flex;flex-direction:column;height:auto;min-width:0;align-self:stretch}
:is(.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item) :has(.zr450-actions):not(a){flex-grow:1}
:is(.zr-action-card,.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item,.carousel-item,.product-feature .copy) .zr450-actions{margin-block:auto 0;padding-block-start:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(44px,auto);align-items:stretch}
:is(.zr-action-card,.swiper-slide,.owl-item,.slick-slide,.wd-carousel-item,.carousel-item,.product-feature .copy) .zr450-actions>a:first-child{grid-column:1/-1}
.zr450-actions>:is(a,button){min-width:0;text-align:center;overflow-wrap:anywhere}
.zr-action-card>a:first-child{flex:1 0 auto}.product-feature .copy:has(.zr450-actions){display:flex;flex-direction:column}.shelf-grid>.zr-action-card{scroll-snap-align:start}
/* Six tracks allow both pairs and trios to fill the same shelf width. */
.part.shelf .shelf-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;overflow:visible;align-items:stretch}
.part.shelf .shelf-grid>*{grid-column:span 2;min-width:0;overflow-wrap:anywhere}
.part.shelf .shelf-grid:has(>:nth-child(4):last-child)>*,.part.shelf .shelf-grid:has(>:nth-child(5):last-child)>:nth-last-child(-n+2),.part.shelf .shelf-grid:has(>:nth-child(2):last-child)>*{grid-column:span 3}
@media(max-width:720px){.part.shelf .shelf-grid>*{grid-column:span 3}.part.shelf .shelf-grid:has(>:nth-child(3):last-child)>*,.part.shelf .shelf-grid:has(>:nth-child(5):last-child)>:nth-child(-n+3){grid-column:span 2}.part.shelf .zr450-actions{grid-template-columns:minmax(0,1fr)}.part.shelf .shelf-grid img{max-width:100%}}
.part.shelf .shelf-grid>:only-child{grid-column:1/-1}.part.shelf:has(.shelf-grid:empty){display:none}
