.rv-product-category-swiper .rv-swiper-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.tinv-wishlist a:not(.button):not(.social) {
    color: #cb2122;
    text-decoration: underline;
    font-family: inherit;
}

.rv-product-category-swiper .rv-swiper-title {
    margin: 0;
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 700;
    color: #1B1B3A;
}

.rv-product-category-swiper .rv-swiper-controls {
    display: flex;
    gap: 8px;
}

.rv-product-category-swiper .rv-swiper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.rv-product-category-swiper .rv-swiper-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-1px);
}

.rv-product-category-swiper .swiper {
    overflow: clip;
}

.rv-product-category-swiper .swiper-slide {
    height: auto;
}

.rv-product-category-swiper .rv-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    transition: box-shadow .2s ease, border-color .2s ease;
    justify-content: space-between;
}

.rv-product-category-swiper .rv-product-card:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
    border-color: #e5e5e5;
}

.rv-product-category-swiper .rv-media {
    position: relative;
}

.rv-product-category-swiper .rv-product-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #fafafa;
}

.rv-product-category-swiper .rv-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}

.rv-product-category-swiper .onsale {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff3b30;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 3;
}

.rv-product-category-swiper .custom-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e8bc9;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 3;
    text-transform: uppercase;
    max-width: 85%;
    line-height: 1.2;
}

.rv-product-category-swiper .rv-wishlist {
    position: absolute;
    top: -6px;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-product-category-swiper .rv-wishlist .tinvwl_add_to_wishlist_button {
    color: #0089cf;
    font-size: 16px;
    margin: 10px;
}

.rv-product-category-swiper .rv-product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0 6px;
    line-height: 1.3;
}

.rv-product-title a {
    color: #1B1B3A;
}

.rv-media:has(.onsale) .cdr-discount-label {
    top: 38px;
    position: relative;
    left: 9px;
}

.rv-product-category-swiper .rv-product-price {
    font-size: 14px;
    color: #0069b8;
    font-weight: 600;
    margin-bottom: 8px;
}

.rv-product-category-swiper .rv-product-price del {
    font-size: 14px;
    color: #9a9a9a;
    font-weight: 600;
}

.rv-black-friday-badge {
    position: absolute;
    top: 60px;
    right: 5px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
}

.rv-product-category-swiper .rv-bestseller-badge {
    position: absolute;
    top: 50px;
    right: 5px;
    background: #cc338b;
    color: #fff;
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 50px;
    z-index: 99;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .rv-product-category-swiper .rv-swiper-title {
        font-size: 18px;
    }
}
