.eb-card{--eb-ink:#181f32;position:relative;color:var(--eb-ink);font:400 15px/1.6 Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.eb-card__media{position:relative;overflow:hidden;background:#f5f3f0;aspect-ratio:4/5}.eb-card__product-link{display:block;width:100%;height:100%}.eb-card__media img{display:block;width:100%;height:100%;object-fit:cover}.eb-card__badge{position:absolute;z-index:2;top:12px;left:12px;background:#e60023;color:#fff;border-radius:30px;padding:4px 12px;font:700 12px/1.4 Avenir,sans-serif}.eb-card__quick{position:absolute;inset:auto 10px 10px;display:block;background:#fff;color:#181f32;text-align:center;text-transform:uppercase;font-size:12px;font-weight:700;line-height:40px;opacity:0;transition:opacity .2s}.eb-card:hover .eb-card__quick,.eb-card:focus-within .eb-card__quick{opacity:1}.eb-card__meta{display:flex;gap:12px;justify-content:space-between;align-items:baseline;padding-top:10px}.eb-card__title{color:#181f32;font-size:15px;font-weight:600;line-height:1.35}.eb-card__price{white-space:nowrap;color:#181f32;font-size:14px}.eb-card__price ins,.eb-card__price ins .amount{color:#e60023;text-decoration:none}.eb-card__price del{opacity:.65}.eb-card__rating{font-size:12px;margin-top:3px}.eb-card .eb-card__add{display:inline-block;margin:8px 0 0;background:#181f32;color:#fff;border:0;font-size:11px;line-height:34px;min-height:34px;padding:0 12px}.eb-card a:focus-visible{outline:2px solid #181f32;outline-offset:3px}.product-small .badge.sale,.product .onsale{background:#e60023;color:#fff;border-radius:30px}.price ins,.price ins .amount{color:#e60023}@media(max-width:767px){.eb-card__meta{display:block}.eb-card__price{margin-top:2px}.eb-card__quick{opacity:1;font-size:10px;line-height:30px}.eb-card__title{font-size:14px}}

/* Hide only the native sale badge immediately followed by this provider’s sale badge. */
.product-small > .col-inner > .badge-container:has(+ .eb-card .eb-card__badge) .onsale{display:none!important}
/* Keep the actual WooCommerce detail-gallery sale label legible and rounded. */
.single-product .sf-pdp__gallery .product-images > .badge-container .onsale{background:#e60023!important;color:#fff!important;border-radius:30px!important}

/* Keep sale and quick-view controls outside the product photograph. */
.eb-card .eb-card__badge{position:static;display:table;margin:10px 0 0;z-index:auto}
.eb-card .eb-card__quick{position:static;inset:auto;display:block;opacity:1;transition:none;margin:10px 0 0;border:1px solid #181f32;background:#fff;color:#181f32;line-height:38px}
.eb-card .eb-card__quick:hover,.eb-card .eb-card__quick:focus-visible{background:#181f32;color:#fff}

#gmc-evelyn-best .eb-card__title,#gmc-evelyn-best .eb-card__price,#gmc-evelyn-best .eb-card__price del,#gmc-evelyn-best .eb-card__price del .amount{color:#fff}

/* Unified product cards: the image and controls occupy separate areas. */
.eb-card{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-width:0;padding:12px;background:#fff;border-radius:16px;box-shadow:inset 0 0 0 1px #e7e8ec;overflow:hidden;text-align:center}
.eb-card .eb-card__media{width:100%;aspect-ratio:1 / 1;background:#fff;flex:none}
.eb-card .eb-card__product-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.eb-card .eb-card__media img,#gmc-evelyn-best .eb-card .eb-card__media img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.eb-card .eb-card__badge{align-self:center;margin:10px auto 0;background:#e60023;color:#fff;border-radius:30px}
.eb-card .eb-card__meta{display:flex;flex:1 0 auto;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;padding-top:10px;text-align:center}
.eb-card .eb-card__title,#gmc-evelyn-best .eb-card .eb-card__title{color:#181f32;text-align:center}
.eb-card .eb-card__price,#gmc-evelyn-best .eb-card .eb-card__price{color:#181f32;white-space:normal;text-align:center}
.eb-card .eb-card__price del,#gmc-evelyn-best .eb-card .eb-card__price del,#gmc-evelyn-best .eb-card .eb-card__price del .amount{color:#6f7279;opacity:1;text-decoration:line-through;font-weight:400}
.eb-card .eb-card__price ins,.eb-card .eb-card__price ins .amount,#gmc-evelyn-best .eb-card .eb-card__price ins,#gmc-evelyn-best .eb-card .eb-card__price ins .amount{color:#e60023;font-weight:700;text-decoration:none}
.eb-card .eb-card__quick{width:100%;margin:12px 0 0;box-sizing:border-box}
.eb-card .eb-card__rating{align-self:center}.eb-card .eb-card__add{align-self:stretch;text-align:center}
.eb-card a:focus-visible{outline-offset:-2px}
#gmc-evelyn-best .gmc-best__track{align-items:stretch}#gmc-evelyn-best .gmc-best__item{display:flex}#gmc-evelyn-best .gmc-best__item>.eb-card{width:100%}
.products .product-small>.col-inner:has(>.eb-card){height:100%;display:flex;flex-direction:column}.products .product-small>.col-inner>.eb-card{flex:1;width:100%}
@media(max-width:767px){.eb-card{padding:8px;border-radius:12px}.eb-card .eb-card__badge{font-size:10px;padding:4px 8px}.eb-card .eb-card__title{font-size:12px}.eb-card .eb-card__price{font-size:12px}.eb-card .eb-card__quick{font-size:10px;line-height:30px}}

/* Allow full product names and keep the price in a shared row. */
.eb-card .eb-card__title{display:block;width:100%;overflow-wrap:anywhere;white-space:normal;hyphens:auto}
.eb-card .eb-card__price{overflow-wrap:anywhere}
.eb-card .eb-card__meta{min-width:0}
.eb-card .eb-card__quick,.eb-card .eb-card__add{white-space:normal;height:auto;min-height:34px}
