/* Scoped to the registered provider and existing WooCommerce sale displays. */
.product-small .col-inner:has(.sr-card) { position: relative; }
.product-small .col-inner:has(.sr-card) > .badge-container .badge:has(.on-sale) { display: none !important; }
.product-small .sr-card {
    position: relative;
    background: var(--sr-card-background, #fff);
    color: var(--sr-card-text, #171717);
    font-family: inherit;
    font-weight: 400;
    text-align: center;
}
.product-small .sr-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f6f2f0;
}
.product-small .sr-card__image-link { display: block; width: 100%; height: 100%; }
.product-small .sr-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-small .sr-card__sale {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    border-radius: 30px;
    background: #e60023;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}
.product-small .sr-card__stock {
    position: absolute;
    z-index: 2;
    bottom: 8px;
    left: 8px;
    background: #fff;
    color: #111;
    padding: 4px 8px;
    font-size: 12px;
}
.product-small .sr-card__information { padding: 14px 4px 8px; }
.product-small .sr-card__title {
    margin: 0 0 7px;
    font-size: var(--sr-card-text-size, 14px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}
.product-small .sr-card__title a { color: inherit; text-decoration: none; }
.product-small .sr-card__title a:hover,
.product-small .sr-card__title a:focus-visible { text-decoration: underline; }
.product-small .sr-card__price {
    font-size: var(--sr-card-text-size, 14px);
    line-height: 1.4;
}
.product-small .sr-card--on-sale .sr-card__price,
.product-small .sr-card--on-sale .sr-card__price .amount { color: #e60023 !important; }
.product-small .sr-card__price del,
.product-small .sr-card--on-sale .sr-card__price del .amount { color: #777 !important; opacity: 1; }
.product-small .sr-card__price ins { color: #e60023; text-decoration: none; }
.product-small .sr-card__actions {
    position: absolute;
    z-index: 3;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity .15s ease;
}
.product-small .sr-card__actions a,
.product-small .sr-card__actions button {
    min-height: 36px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 20px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-decoration: none;
}
.product-small .sr-card:hover .sr-card__actions,
.product-small .sr-card:focus-within .sr-card__actions { opacity: 1; }
.product-small .sr-card__actions a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px), (hover: none) {
    .product-small .sr-card__actions { position: static; opacity: 1; padding: 6px; background: #fff; }
    .product-small .sr-card__media { height: auto; aspect-ratio: auto; }
    .product-small .sr-card__image-link { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
    .product-small .sr-card__actions { transition: none; }
}
