.bh-card{--bh-badge-bg:#f3f0eb;--bh-badge-fg:#333;--bh-sale-color:#a10000;--bh-title-size:16px;color:#333;font-family:Lato,Arial,sans-serif;min-width:0}
.bh-card__media{position:relative;overflow:hidden;background:#f4f4f2}
.bh-card__image-link{display:block;aspect-ratio:4/5;position:relative;overflow:hidden}
.bh-card__media img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0;transition:opacity .2s ease}
.bh-card__secondary{opacity:0}.bh-card__media:hover .bh-card__secondary,.bh-card__media:focus-within .bh-card__secondary{opacity:1}
.bh-card__badge,.bh-card__stock{position:absolute;left:8px;bottom:8px;z-index:2;display:inline-block;width:auto;height:auto;padding:7px 9px;background:var(--bh-badge-bg);color:var(--bh-badge-fg);font:700 12px/1.15 Lato,Arial,sans-serif;letter-spacing:.04em;white-space:normal}
.bh-card__stock{top:8px;bottom:auto}.bh-card__quick{position:absolute;right:8px;bottom:8px;z-index:3;background:#fff;color:#333;border:1px solid #777;padding:8px 10px;font-size:14px;line-height:1.2;opacity:0;transition:opacity .15s ease}
.bh-card__media:hover .bh-card__quick,.bh-card__media:focus-within .bh-card__quick{opacity:1}.bh-card__quick:hover,.bh-card__quick:focus-visible{background:#333;color:#fff}
.bh-card__details{padding:18px 0 12px}.bh-card__title{font-size:var(--bh-title-size);line-height:1.3;font-weight:700;margin:0 0 5px}.bh-card__title a{color:#333;text-decoration:none}.bh-card__title a:hover{text-decoration:underline}
.bh-card__rating,.bh-card__options{font-size:14px;line-height:1.4;margin:0 0 6px}.bh-card__rating .star-rating{display:inline-block;vertical-align:middle;float:none}.bh-card__price{font-size:16px;line-height:1.4;color:var(--bh-sale-color);font-weight:700}.bh-card__price del{font-size:14px;color:#777;font-weight:400;margin-right:7px}.bh-card__price ins{text-decoration:none}
/* Scope the duplicate native sale flash to the selected provider, leaving all hooks intact. */
.product-small .col-inner:has(>.bh-card)>.badge-container{display:none}
@media(max-width:767px){.bh-card{display:flex;gap:14px;align-items:flex-start}.bh-card__media{flex:0 0 52%;min-width:0}.bh-card__details{flex:1;min-width:0;padding:0}.bh-card__image-link{aspect-ratio:4/5}.bh-card__badge{font-size:11px;padding:5px 6px;left:5px;bottom:5px}.bh-card__quick{position:static;display:inline-block;opacity:1;font-size:13px;padding:7px}}
@media(prefers-reduced-motion:reduce){.bh-card__media img,.bh-card__quick{transition:none}}

/* The source uses one horizontal product card per row on narrow screens. */
@media (max-width: 767px) {
  .products:has(.bh-card) > .product-small.col {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }
}

/* Keep both controls inside the image and prevent the badge covering Quick View. */
@media (max-width: 767px) {
  .bh-card .bh-card__quick {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 3;
    max-width: calc(100% - 110px);
    font-size: 12px;
    line-height: 1.15;
    padding: 5px 4px;
    white-space: nowrap;
  }
}
