/* Product card OOS overlay — extracted from template-parts/product-card.php */

.product-card__image {
    position: relative;
    overflow: hidden;
}

.product-card__stock-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.product-card__stock-overlay img {
    width: 78%;
    max-width: 330px;
    height: auto;
    display: block;
    transform: rotate(-1deg);
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .22));
}

.product-card--out-of-stock .product-card__image > img {
    opacity: .98;
}

.product-card--out-of-stock .product-card__btn-cart--out-of-stock {
    background: #1298d5 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    text-decoration: none !important;
}

.product-card--out-of-stock .product-card__btn-cart--out-of-stock:hover {
    background: #0f87bd !important;
    color: #ffffff !important;
}

.product-card__select option:disabled,
.product-card__select option[disabled] {
    color: #111111;
    background: #ffffff;
}
