/* Keep the photograph and text lines in the same place on every Picks card. */
.homepage-choice {
 --pick-media-height:194px;
}
.homepage-choice #products {
 grid-template-columns:repeat(4,minmax(0,1fr));
 grid-auto-rows:1fr;
 align-items:stretch;
}
.homepage-choice .product {
 display:flex;
 flex-direction:column;
 min-width:0;
 min-height:0;
 padding:10px;
}
.homepage-choice .product-media {
 display:block;
 height:var(--pick-media-height);
 margin-inline:0;
 padding:6px 8px;
}
.homepage-choice .product-media>img {
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
}
.homepage-choice .product .heart {
 top:4px;
 right:4px;
 width:44px;
 height:44px;
}
.homepage-choice .product>h3 {
 height:2.8em;
 min-height:2.8em;
 margin:6px 0 3px;
 line-height:1.4;
 -webkit-line-clamp:2;
}
.homepage-choice .card-pack {
 display:block;
 height:1.4em;
 min-height:1.4em;
 margin:0;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
.homepage-choice .product .product-footer {
 display:grid;
 grid-template-columns:minmax(0,1fr) 44px;
 align-items:start;
 align-self:stretch;
 gap:6px;
 margin-top:2px;
 padding-top:0;
}
.homepage-choice .product-footer>.price {
 min-width:0;
 padding-top:12px;
 font-size:clamp(13px,1.35vw,17px);
 line-height:20px;
 white-space:normal;
}
.homepage-choice .product-footer .cart {
 width:44px;
 height:44px;
}
.homepage-choice .homepage-card-title-link{color:inherit;text-decoration:none}.homepage-choice .homepage-card-title-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(min-width:761px){.homepage-choice[data-count="1"] #products{grid-template-columns:minmax(0,270px)}.homepage-choice[data-count="2"] #products{grid-template-columns:repeat(2,minmax(0,270px))}.homepage-choice[data-count="3"] #products{grid-template-columns:repeat(3,minmax(0,270px))}}
@media(max-width:760px){
 .homepage-choice{--pick-media-height:160px}
 .homepage-choice #products{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(180px,52%);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 12px;scroll-padding-inline:2px;touch-action:pan-x pan-y}
 /* Photo links retain gallery swipe; title/body permit native row scrolling. */
 .homepage-choice .product-card-link{inset:10px 10px auto;height:var(--pick-media-height)}
 .homepage-choice .homepage-card-title-link{position:relative;z-index:2;touch-action:pan-x pan-y}
 .homepage-choice .product{scroll-snap-align:start}
 .homepage-choice .section-title h2{font-size:24px}
 .homepage-choice .product-media{padding-inline:4px}
 .homepage-choice .product-footer>.price{font-size:14px}
}

.homepage-choice #homepage-choice-status{color:var(--text);margin:12px 0}

.homepage-choice #products[hidden],.homepage-choice [role="status"][hidden]{display:none!important}
