/* Shared WooCommerce card, scoped to the selected provider. */
.hershey-card{--card-text:var(--hershey-card-text,#40000b);display:flex;flex-direction:column;height:100%;min-width:0;background:#fff;color:var(--card-text);text-align:center;font-family:Arial,sans-serif}
.product-small.col:has(.hershey-card)>.col-inner{height:100%;display:flex;flex-direction:column}
.hershey-card__image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-width:0}
.hershey-card__image-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.hershey-card__image img{display:block;width:100%;height:100%;object-fit:contain}
.hershey-card .hershey-sale-badge,.woocommerce span.onsale.hershey-sale-badge{position:absolute;top:8px;left:8px;right:auto;z-index:2;min-height:0;min-width:0;padding:5px 10px;border-radius:30px;background:#e60023;color:#fff;font-size:12px;line-height:1.2;font-weight:700;white-space:nowrap}
.hershey-card__stock{position:absolute;bottom:8px;left:8px;padding:4px 8px;background:#40000b;color:#fff;font-size:12px}
.hershey-card__content{display:flex;flex-direction:column;flex:1;padding:10px 12px 16px;min-width:0}.hershey-card__rating{min-height:20px;color:var(--hershey-card-accent,#009f98);display:flex;justify-content:center}.hershey-card__rating .star-rating{color:var(--hershey-card-accent,#009f98)}
.hershey-card__title{font-size:16px;line-height:1.35;font-weight:700;margin:8px 0;flex:1;min-height:3.9em;overflow-wrap:anywhere}.hershey-card__title a{color:var(--card-text);text-decoration:none}.hershey-card__title a:hover,.hershey-card__title a:focus{text-decoration:underline}
.hershey-card__price{margin-top:auto;font-size:16px;line-height:1.4;font-weight:700;color:var(--card-text)}.hershey-card__price del{font-size:14px;color:#666;font-weight:400}.hershey-card__price ins,.woocommerce .price ins,.woocommerce-page .price ins,.woocommerce-Price-amount.hershey-sale-price{color:#d0001d;text-decoration:none}.hershey-price-range{display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap}.hershey-price-range del,.hershey-price-range ins{white-space:nowrap}
.hershey-card__actions{margin-top:12px;min-height:0}.hershey-card__actions .button,.hershey-card__image-actions .button{background:#0077ad;color:#fff;border-color:#0077ad}.hershey-card__actions .button:hover,.hershey-card__actions .button:focus,.hershey-card__image-actions .button:hover,.hershey-card__image-actions .button:focus{background:#00587f;color:#fff}.hershey-card a:focus-visible,.hershey-card button:focus-visible{outline:2px solid #0077ad;outline-offset:3px}
@media(max-width:767px){.hershey-price-range{display:inline-flex;flex-direction:column;align-items:flex-start;gap:0}.hershey-card__price .hershey-price-range{align-items:center}.hershey-card__content{padding-left:8px;padding-right:8px}}
