.product-card--horizontal {
    width: 100%;
    height: 170px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    transition: border 0.25s ease;
}

.product-card--horizontal:hover {
    border-color: #ef3a4f;
}

.product-card-horizontal {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 32px;
    gap: 20px;
}

.product-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card-horizontal>.product-card-info>a.product-card-link {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.product-card-subtitle {
    font-size: 12px;
    color: #9b9b9b;
    margin-top: 4px;
}

.product-card-horizental-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 0;
    bottom: 10px;
}

.product-card-horizental-footer>a>.product-card-price {
    text-align: left;
}

.product-card-price {
    font-weight: bold;
    transition: color 0.25s ease;
}

.price del {
    color: red;
    font-size: 12px;
}

.product-card--horizontal:hover .product-card-price {
    color: #ef3a4f;
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f3f3;
    color: #555;
    padding: 8px 14px;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 180px;
    max-width: 130px;
}

.product-card--horizontal:hover .product-card-btn {
    background: #ef3a4f;
    color: #fff;
}

.product-card-horizontal-image img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: #ef3a4f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1;
    direction: rtl;
}

/* Hide WooCommerce "added to cart" link */
.product-card-btn+.added_to_cart {
    display: none !important;
}

/* Prevent button style change after add to cart */
.product-card-btn.added {
    background: inherit;
    color: inherit;
}

.product-card-btn.is-loading {
    pointer-events: none;
}

.product-card-btn.is-loading svg,
.product-card-btn.is-loading span,
.product-card-btn.is-loading {
    color: transparent;
}

.product-card-btn.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    position: absolute;
    animation: navid-spin 0.7s linear infinite;
}

@keyframes navid-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .product-card--horizontal {
        min-width: 94vw;
        scroll-snap-align: start;
    }

    .product-card-horizontal {
        padding: 16px;
    }

    .product-card-badge {
        left: unset;
        right: 12px;
    }
}