/* Shop products in classified listing — same shell as .features-single-box + commerce actions */

.shop-product-listing-card.features-single-box {
    height: 100%;
}

.shop-product-listing-card .features-single-box-over.shop-product-listing-card__over {
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding-top: 0;
}

.shop-product-listing-card .shop-product-listing-card__over .text,
.shop-product-listing-card .shop-product-listing-card__over .icon,
.shop-product-listing-card .shop-product-listing-card__cart {
    pointer-events: auto;
}

.shop-product-listing-card .shop-product-listing-card__over .text.shop-product-listing-card__offer {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.shop-product-listing-card__promoted {
    position: absolute;
    top: auto;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 10px;
    border-radius: 4px;
    background: var(--primary-color, #fd4917);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.shop-product-listing-card .shop-product-listing-card__cart {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--headline-color, #28303f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 12;
}

.shop-product-listing-card .shop-product-listing-card__cart:hover {
    background: var(--primary-color, #fd4917);
    transform: scale(1.05);
}

.shop-product-listing-card .features-single-box-inner .rating.shop-product-listing-card__rating {
    display: flex;
    gap: 2px;
    padding: 0 0 8px;
    margin: 0;
    list-style: none;
}

.shop-product-listing-card .features-single-box-inner .rating.shop-product-listing-card__rating li {
    color: #f59e0b;
    font-size: 13px;
}

.shop-product-listing-card .features-single-box-inner-txt .listing-card-price__type del {
    color: var(--paragraph-color, #6b7280);
    text-decoration: line-through;
    font-size: 13px;
    font-weight: 500;
}

.shop-product-listing-card .features-single-box-inner a h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.shop-product-listing-card .features-single-box-inner .features-single-box-inner-txt > p:empty {
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Prevent global product-detail price spans from breaking layout here */
.shop-product-listing-card .product-detail-price-amount,
.shop-product-listing-card .product-detail-price-old,
.shop-product-listing-card .deception-medium {
    display: none !important;
}
