.cs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 25px;
    align-items: center;
}

.cs-tab {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #FFCECE;
    background: #FFF5F0;
    cursor: pointer;
}
.cs-tab:hover {
    background: linear-gradient(90deg, #F5864B 0%, #ED1667 100%);
    color: #fff;
}

.cs-tab.active {
    background: linear-gradient(90deg, #F5864B 0%, #ED1667 100%);
    color: #fff;
}

.cs-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cs-image img {
    border-radius: 12px;
    width: 100%;
}

.cs-badges {
    position: absolute;
    top: 14px;
    left: 15px;
}

.cs-card h4 {
    text-align: left;
    font-size: 26px;
    line-height: 34px;
	font-weight: 700;
}

.badge {
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* Badge Gradients */
.badge.hot { background: linear-gradient(90deg, #F5864B 0%, #ED1667 100%); }
.badge.new { background: linear-gradient(90deg, #27D86C 0%, #2EC7FF 100%); }
.badge.top-rated { background: linear-gradient(90deg, #1913B6 0%, #211D77 100%); }
.badge.best-seller { background: linear-gradient(90deg, #F5864B 0%, #F5C809 100%); }

.product-title a{
    color: #000;
}
.product-title a:hover {
    color: #000;
}
.cs-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    text-align: left;
    flex-wrap: wrap;
}

.cs-rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-rating .cs-rating-stars img {
    width: 80px;
}

.cs-rating .cs-rating-stars span {
    font-size: 11px;
    color: #666;
}

.cs-rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-rating .product_card_tag_line img {
    width: 4px;
    height: 4px;
}

.cs-rating .product_card_tag_line {
    background: #e9f7ef;
    color: #00B67A;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.cs-price {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    margin: 10px 0;
}

.sale {
    font-size: 26px;
    font-weight: bold;
}

.regular {
    font-size: 18px;
    text-decoration: line-through;
    color: #999;
}

.off {
    padding: 5px 15px;
    background: #e9f7ef;
    color: #00B67A;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50px;
}

.cs-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.cs-actions a,
.cs-actions .button {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
}

.cs-actions .button {
    background: linear-gradient(90deg, #F5864B 0%, #ED1667 100%);
    color: #fff;
}

.cs-book {
    background: linear-gradient(90deg, #F2E310 0%, #F3C43F 100%);
    color: #000;
}
.added_to_cart.wc-forward {
    display: none !important;
}
.cs-actions a:hover {
    box-shadow: 0 5px 10px rgba(237, 21, 104, 0.25);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ========== RESPONSIVE STYLES ========== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .cs-tabs {
        gap: 16px;
    }
    .cs-tab {
        padding: 10px 24px;
        font-size: 16px;
    }
    .cs-card h4 {
        font-size: 24px;
        line-height: 32px;
    }
    .cs-actions a,
    .cs-actions .button {
        padding: 12px 28px;
        font-size: 16px;
    }
}

/* Large Screens / Laptops (992px - 1399px) */
@media (max-width: 1399px) {
    .cs-tabs {
        gap: 12px;
    }
    .cs-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    .cs-card h4 {
        font-size: 20px;
        line-height: 28px;
    }
    .cs-rating {
        flex-wrap: wrap;
        gap: 6px;
    }
    .cs-rating .cs-rating-stars img {
        width: 70px;
    }
    .cs-rating .cs-rating-stars span {
        font-size: 10px;
    }
    .cs-rating .product_card_tag_line {
        padding: 5px 10px;
        font-size: 9px;
    }
    .cs-price {
        flex-wrap: wrap;
    }
    .sale {
        font-size: 22px;
    }
    .regular {
        font-size: 16px;
    }
    .cs-actions {
        flex-wrap: wrap;
    }
    .cs-actions a,
    .cs-actions .button {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
}

/* Medium Screens / Tablets (768px - 991px) */
@media (max-width: 991px) {
    .cs-tabs {
        gap: 10px;
        margin-bottom: 20px;
    }
    .cs-tab {
        padding: 7px 14px;
        font-size: 13px;
    }
    .cs-card {
        padding: 12px;
    }
    .cs-card h4 {
        font-size: 18px;
        line-height: 24px;
    }
    .badge {
        padding: 4px 12px;
        font-size: 12px;
    }
    .cs-rating .cs-rating-stars img {
        width: 65px;
    }
    .cs-rating .cs-rating-stars span {
        font-size: 10px;
    }
    .cs-rating .product_card_tag_line {
        padding: 4px 8px;
        font-size: 8px;
    }
    .sale {
        font-size: 20px;
    }
    .regular {
        font-size: 14px;
    }
    .off {
        padding: 4px 10px;
        font-size: 9px;
    }
    .cs-actions a,
    .cs-actions .button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Small Screens / Large Mobile (576px - 767px) */
@media (max-width: 767px) {
    .cs-tabs {
        gap: 8px;
        margin-bottom: 18px;
        justify-content: center;
        scrollbar-width: none;
    }
    .cs-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    .cs-card h4 {
        font-size: 20px;
        line-height: 26px;
    }
    .cs-rating .cs-rating-stars img {
        width: 80px;
    }
    .cs-rating .cs-rating-stars span {
        font-size: 11px;
    }
    .sale {
        font-size: 22px;
    }
    .cs-actions a,
    .cs-actions .button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Extra Small Screens / Mobile (below 576px) */
@media (max-width: 575px) {
    .cs-tabs {
        gap: 6px;
        margin-bottom: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    .cs-tab {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .cs-tabs .cs-tabs-filter-title {
        min-width: 85px;
    }
    .cs-badges {
        top: 11px;
    }
    .cs-card {
        padding: 15px;
    }
    .cs-card h4 {
        font-size: 22px;
        line-height: 28px;
    }
    .cs-rating .cs-rating-stars img {
        width: 85px;
    }
    .cs-rating .cs-rating-stars span {
        font-size: 11px;
    }
    .cs-rating .product_card_tag_line {
        padding: 6px 12px;
        font-size: 10px;
    }
    .sale {
        font-size: 24px;
    }
    .regular {
        font-size: 16px;
    }
    .cs-actions {
        flex-wrap: nowrap;
    }
    .cs-actions a,
    .cs-actions .button {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1;
    }
}