.discount-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #e50000;
    color: white;
    padding: 4px 18px;
    border-radius: 10px 4px 4px 4px;
    font-weight: bold;
    font-size: 13px;
    z-index: 2;
}

.price.hasoffer {
    text-decoration: line-through;
    color: #e53935;
}

.offer-price {
    color: rgb(35, 148, 0);
    font-weight: bold;
}

.price-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
    gap: 5px;
}

.card-product {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 10px;
    padding: 10px 11px;
    margin-bottom: 20px;
}

.out-of-stock-label1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    justify-content: center;
    text-align: center;
    width: 80%;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

/* Category image styling */
.category-img, .subcategory-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cus-col-img.img-style {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.collection-item-circle:hover .category-img,
.collection-item-circle:hover .subcategory-img {
    transform: scale(1.05);
}

/* For larger screens */
@media (min-width: 768px) {
    .category-img, .subcategory-img {
        width: 100px;
        height: 100px;
    }
    
    .cus-col-img.img-style {
        width: 100px;
        height: 100px;
    }
}

/* Subcategories container styling */
.sub-categories-container {
    margin-top: 30px;
    padding: 10px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.flat-title .title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0px !important;
    display: block;
}

/* Mobile responsive pagination */
@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
        margin: 0 3px !important;
        opacity: 0.5;
    }
    
    .swiper-pagination-bullet-active {
        opacity: 1;
    }
    
    .sw-dots {
        text-align: center !important;
        margin: 15px 0 !important;
    }
    
    .wrap-pagination .sw-dots {
        justify-content: center !important;
    }
    
    .swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        margin-top: 15px !important;
    }
    
    /* Numbered pagination responsive */
    .tf-pagination-wrap,
    .view-more-button {
        padding: 15px 10px !important;
        text-align: center !important;
    }
    
    .tf-btn-loading {
        font-size: 14px !important;
        padding: 10px 20px !important;
        min-width: auto !important;
    }
    
    .btn-loadmore {
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }
}