html, body {
    height: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    overscroll-behavior: none; /* Prevents bounce on scroll */
}

a:hover{
    color: #FF8F00 !important;
}
/* Core Layout Styles - Simplified */
.product-view-ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    overscroll-behavior: none;
}

.pro-item-li {
    margin-bottom: 20px;
    width: 100%;
}

.single-product-wrap {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    width: 100%;
    background: #fff;
}

/* Grid Layout - Simplified */
.grid-1 .single-product-wrap {
    display: flex;
    height: 250px;
}

.grid-1 .product-image {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    height: 250px;
}

.grid-1 .product-caption {
    flex: 1;
    min-height: 250px;
}

.grid-1 .product-content {
    padding: 20px;
}

.grid-3 .single-product-wrap {
    display: block;
}

/* Image Styles - Simplified */
.pro-img {
    display: block;
    height: 100%;
}

.pro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Content */
.product-title h6 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 10px;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.pro-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-price {
    font-weight: 600;
    color: #0056b3;
    font-size: 18px;
}

.old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

/* Product Action */
.product-action {
    display: flex;
    gap: 10px;
    /* padding: 10px; */
    padding-top: 4px;
}

.product-action a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pagination */
.paginatoin-area {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination-page-box {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 5px;
}

.pagination-page-box a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

.pagination-page-box .active a {
    background-color: #0056b3;
    color: #fff;
}

/* Mobile Sidebar */
@media (max-width: 991px) {
    .product-sidebar {
        display: none;
    }

    body.sidebar-open .product-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100%;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .grid-1 .product-image {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        height: 120px;
    }

    .grid-1 .product-caption {
        flex: 1;
    }
}

/* Utility Classes */
.img-product {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    aspect-ratio: 1/1;
}

/* Sale Tag - Minimal Design */
.sale-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #FFC107; /* Yellow */
    color: #212121;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: inline-block;
    transform: none;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* For list view (grid-1) specifics */
.grid-1 .sale-tag {
    top: 12px;
    right: auto;
    left: 12px;
}

/* Remove the old sale label */
.pro-label-retting {
    display: none;
}

/* Category and Subcategory tags in product cards */
.product-sub-title {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.subcategory-tag{
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-block;
    font-size: 12px;
}


.category-tag, .subcategory-tag {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.category-tag, .subcategory-tag:hover {
    background-color: #fff !important;
}

/* .category-tag {
    background-color: #FFF8E1;
    color: #FFA000;
} */

.subcategory-tag {
    background-color: #FFECB3;
    color: #FF8F00;
}

/* Improved No Products Found message */
.no-products-message {
    width: 100%;
    padding: 40px 0;
}

.no-products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.no-products-content {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 40px;
    border: 1px solid #FFC107;
}

.no-products-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #FFF9E5;
    border-radius: 50%;
    color: #FFC107;
}

.no-products-content h3 {
    color: #212121;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-products-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.no-products-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-reset-filters, .btn-continue-shopping {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reset-filters {
    background-color: #FFC107;
    color: #212121;
    border: 1px solid #FFC107;
}

.btn-reset-filters:hover {
    background-color: #FFA000;
    color: #212121;
}

.btn-continue-shopping {
    background-color: #fff;
    color: #212121;
    border: 1px solid #e0e0e0;
}

.btn-continue-shopping:hover {
    background-color: #FF8F00 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .no-products-content {
        padding: 25px;
    }
    
    .no-products-content h3 {
        font-size: 20px;
    }
    
    .no-products-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-reset-filters, .btn-continue-shopping {
        width: 100%;
        text-align: center;
    }
}