/*
Theme Name: DP Theme
Author: Charbel Kh
Description: theme for daily Press website.
Version: 1.0
*/


@font-face {
    font-family: 'FiraSans-Bold';
    src: url('fonts/FiraSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'FiraSans-BoldItalic';
    src: url('fonts/FiraSans-BoldItalic.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-Book';
    src: url('fonts/FiraSans-Book.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-ExtraLight';
    src: url('fonts/FiraSans-ExtraLight.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-HeavyItalic';
    src: url('fonts/FiraSans-HeavyItalic.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-Light';
    src: url('fonts/FiraSans-Light.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-Medium';
    src: url('fonts/FiraSans-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'FiraSans-Regular';
    src: url('fonts/FiraSans-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Lato-Black';
    src: url('fonts/Lato-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




h1 {
    margin: 15px 0;
    font-size: 20pt;
    font-family: 'FiraSans-Bold';
}

body {
    /* font-family: Arial, sans-serif; */
    font-family: FiraSans-Regular;
    background-color: #f0f0f0;
    font-size: 12pt;
}


.site-container,
.header-inner,
.footer-inner,
.slide-inner {
 /*   max-width: 1400px;*/
    margin: 0 auto;
    padding: 0 10px;
}

.site-container {
    display: flex;
	position: relative;
    z-index: 0; /* Ensure it does not overlap the slider */
}


.site-content {
    flex: 1;
}

.sidebar {
    width: 0px;
    /* 350px */
    background-color: #f0f0f0;
    /* padding: 20px; */
    box-sizing: border-box;
    /* margin-top: 40px; */
}

.site-content li {
    margin-left: 30px;
}

.bg-blue {
    background-color: #50accd;
    padding: 40px;
    border-radius: 20px;
}

.bg-yellow {
    background-color: #ffc700;
    padding: 40px;
    border-radius: 20px;
}

.bg-pink {
    background-color: #e82e6b;
    padding: 40px;
    border-radius: 20px;
}

.bg-grey {
    background-color: #666263;
    padding: 40px;
    border-radius: 20px;
}

.bg-red {
    background-color: #ff0012;
    padding: 40px;
    border-radius: 20px;
}

.font-white {
    color: #fff;
}

.white {
    color: #fff;
}

.white a {
    color: #fff;
}




/* .page-id-37 .site-content ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.page-id-37 .site-content ul li {
    display: inline-block;
    margin: 0 40px 30px 0;
    padding-top: 25px;
    background-color: #00c8dc;
    color: #fff;
    border-radius: 20px;
    width: 30%;
    height: 200px;
    text-align: center;
}
.page-id-37 .site-content ul li a{    color: #fff;
} */

.school-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0;
    list-style: none;
}

.school-list li {
    flex-basis: calc(25% - 20px);
    text-align: center;
    margin: 0 0 15px 0;
}

.school-list li a {
    display: block;
    padding: 20px 10px 0 10px;
    border: 2px solid #69cdf5;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    height: 150px;
    background: #fff;
    transition: all 0.3s ease;
}

.school-list li a:hover {
    background-color: #f8f9fa;
    border-color: #5bb3e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 205, 245, 0.2);
}

.school-image {
    margin-bottom: 10px;
}

.school-image img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}



.school-logo img {
     width: 85px;
    height: 85px;
    margin: 0 auto;
    object-fit: contain;
}

.school-title {
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 1024px) {
    .school-list li {
        flex-basis: calc(33.333% - 17px);
    }
}

@media (max-width: 768px) {
    .school-list {
        gap: 20px;
    }
    
    .school-list li {
        flex-basis: calc(50% - 10px);
        margin: 0 0 10px 0;
    }
    
    .school-list li a {
        padding: 15px 8px 0 8px;
        height: 130px;
    }
    
    .school-image img {
       width: 65px;
    height: 65px;
    }
    
    .school-logo {
        width: 50px;
        height: 50px;
    }
    
    .school-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .school-list {
        gap: 15px;
    }
    
    .school-list li {
       flex-basis: calc(50% - 10px);
    
    }
    
    .school-list li a {
        padding: 15px 10px 0 10px;
        height: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;

       
    }
    
 
    
    .school-image img {
    width: 65px;
    height: 65px;
    }
    
    .school-logo {
        width: 45px;
        height: 45px;
		        margin-bottom: 30px;
    }
    
    .school-title {
        font-size: 14px;
        margin-top: 0;
        flex: 1;
    }
}





/* Wrapper container */
.wrapper {
    max-width: 100%;
    padding: 15px;
    margin: 0 auto;
}

/* Files container */
.files {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Common heading styles */
.file-item-original-list h2,
.file-item-price-list h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Original list container */
.file-item-original-list {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

/* Price list container */
.file-item-price-list {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

/* PDF viewer containers */
.pdfemb-viewer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}

/* PDF pages container */
.pdfemb-pagescontainer {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1.4; /* Maintain PDF aspect ratio */
}

/* PDF canvas */
.pdfemb-the-canvas {
    width: 100% !important;
    height: auto !important;
}

/* PDF toolbar */
.pdfemb-toolbar {
    width: 100% !important;
}

/* Mobile styles */
@media (max-width: 767px) {
    .wrapper {
        padding: 10px;
    }

    .files {
        flex-direction: column;
        gap: 15px;
    }

    .file-item-original-list,
    .file-item-price-list {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Adjust PDF viewer for mobile */
    .pdfemb-viewer {
        width: 100% !important;
    }

    /* Adjust heading size for mobile */
    .file-item-original-list h2,
    .file-item-price-list h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
}







/* WooCommerce Container */
.woocommerce {
    font-family: 'FiraSans-Regular', Arial, sans-serif;
}

/* Create separate containers for categories and products */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px !important;
}

/* Categories Container */
.woocommerce ul.products .categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

/* Force Categories to Top */
.woocommerce ul.products li.product-category {
    width: calc(25% - 15px) !important;
    margin: 0 !important;
    float: none !important;
    transition: transform 0.3s ease;
}

/* Products Wrapper */
.woocommerce ul.products .products-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Standardized Category Image Size */
.woocommerce ul.products li.product-category img {
    width: 200px !important;
    height: 200px !important;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(80, 172, 205, 0.2);
    margin: 0 auto 15px;
    display: block;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product-category:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 1.1em;
    color: #333333;
    font-family: 'FiraSans-Medium', Arial, sans-serif;
    margin: 10px 0 5px;
    padding: 0;
}

.woocommerce ul.products li.product-category mark {
    background: #50accd;
    color: #ffffff;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    display: inline-block;
    margin-top: 5px;
}

/* Products Styling */
.woocommerce ul.products li.product:not(.product-category) {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 23.9% !important;
    margin: 0 !important;
    float: none !important;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Standardized Product Image Size */
.woocommerce ul.products li.product:not(.product-category) img {
    width: 100% !important;
    height: 290px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.woocommerce ul.products li.product:not(.product-category):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product:not(.product-category):hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
    padding: 20px 20px 10px;
    font-size: 1.1em;
    font-weight: 600;
    color: #333333;
    margin: 0;
    font-family: 'FiraSans-Bold', Arial, sans-serif;
}

.woocommerce ul.products li.product:not(.product-category) .price {
    padding: 0 20px 15px;
    color: #50accd;
    font-weight: bold;
    font-size: 1.3em;
    margin: 0;
}

.woocommerce ul.products li.product:not(.product-category) .button {
    margin: 0 20px 20px;
    background: linear-gradient(135deg, #50accd 0%, #4298b7 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: center;
}

.woocommerce ul.products li.product:not(.product-category) .button:hover {
    background: linear-gradient(135deg, #4298b7 0%, #3787a6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(80, 172, 205, 0.3);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce #respond input#submit.alt,:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce a.button.alt,:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce button.button.alt,:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce input.button.alt {
    background-color: #3b82f6;
    color: #fff;
    -webkit-font-smoothing: antialiased
}

/* Responsive Design */
@media (max-width: 992px) {
    .woocommerce ul.products li.product:not(.product-category) {
        width: calc(50% - 10px) !important;
    }
    
    .woocommerce ul.products li.product-category {
        width: calc(25% - 15px) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products .categories-wrapper {
        gap: 15px;
        padding: 0 15px;
        margin: 0 -15px 20px -15px;
        width: calc(100% + 30px);
    }
    
    .woocommerce ul.products li.product-category {
        width: calc(50% - 8px) !important;
        margin: 0 0 15px 0 !important;
    }
    
    .woocommerce ul.products li.product-category img {
        width: calc((100vw - 45px) / 2) !important;
        height: calc((100vw - 45px) / 2) !important;
    }
    
    .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
        text-align: center;
        font-size: 1em;
    }
}

/* product sale */ 
.woocommerce ul.products li.product .onsale {
    background: url('https://dailypresslb.com/wp-content/uploads/DP-sale-icon.png') no-repeat center center;
    background-size: contain; /* Ensure the image scales properly */
    width: 100px; /* Set the width of the image */
    height: 100px; /* Set the height of the image */
    text-indent: -9999px; /* Hide the default text */
    overflow: hidden; /* Ensure no extra content shows */
}

 

/* Fix for WooCommerce default styles */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
	margin-top:40px;
}
/* Add this to your theme's CSS file */
body  .woocommerce-breadcrumb {
    padding: 15px 20px !important;
    background-color: #f4f4f4 !important;
    border-radius: 5px !important;
    margin-bottom: 30px !important;
    font-size: 15px !important;
    color: #666 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
	margin-top: 30px !important;
}

body  .woocommerce-breadcrumb a {
    color: #2196F3 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

body  .woocommerce-breadcrumb a:hover {
    color: #0d8aee !important;
    text-decoration: underline !important;
}

        .product-category-types-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .category-type-section {
            margin-bottom: 40px;
            background-color: #f8f9fa;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .category-type-title {
            text-align: center;
            color: #333;
            margin-bottom: 25px;
            font-size: 28px;
            position: relative;
            padding-bottom: 15px;
        }

        .category-type-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: #2196F3;
        }

        .category-type-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            list-style-type: none;
            padding: 0;
        }

        .category-type-item a {
            display: block;
            padding: 15px;
            background-color: white;
            color: #333;
            text-decoration: none;
            border-radius: 5px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .category-type-item a:hover {
            background-color: #2196F3;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        @media (max-width: 768px) {
            .category-type-list {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }

        /* Existing styles */
        .product-subcategories {
            margin: 40px 0;
            padding: 20px;
          
        }

        .product-subcategories h2 {
            font-size: 24px;
            text-align: center;
            margin-bottom: 30px;
            color: #333;
            font-weight: 600;
            position: relative;
        }

        .product-subcategories h2:after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: #2196F3;
            margin: 15px auto;
        }

        .subcategories-list {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin: 0;
        }

        .product-subcategory {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            padding: 15px;
            text-align: center;
        }

        .product-subcategory:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .product-subcategory img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
        }

        .product-subcategory:hover img {
            transform: scale(1.05);
        }

        .product-subcategory a {
            color: #333;
            font-size: 16px;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s ease;
            display: block;
            padding: 5px 0;
        }

        .product-subcategory a:hover {
            color: #2196F3;
        }

        .shop-initial-message {
            text-align: center;
            padding: 40px 20px;
            background-color: #f8f9fa;
            margin-bottom: 30px;
        }

        .shop-initial-message h2 {
            color: #333;
            margin-bottom: 15px;
        }

        .shop-initial-message p {
            color: #666;
        }

        @media (max-width: 768px) {
            .subcategories-list {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 15px;
            }

            .product-subcategory img {
                width: 80px;
                height: 80px;
            }
			.woocommerce ul.products li.product:not(.product-category) img {
 
    height: 240px !important;
    
}
        }
		/* Prevent layout breaks */
.product-subcategories {
    position: relative;
    z-index: 10;
}

.wc-before-content-wrapper {
    position: relative;
    z-index: 1;
}

/* Hide any unwanted elements that might be output */
.woocommerce-breadcrumb + .page-title,
.woocommerce-breadcrumb + .term-description {
    display: none;
}
.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    padding: 8px;
}

.subcategory-search-container {
    margin-bottom: 20px;
    text-align: left;
}
#subcategory-search {
    padding: 10px;
    width: 100%;
    max-width: 400px;
    font-size: 16px;
}
/* Main Filter Container - Minimal padding and margins */
.wpfMainWrapper {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0 1px 4px rgba(33, 150, 243, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    margin-bottom: 4px;
}

/* Modern Compact Filter Styling */
.wpfFilterWrapper {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wpfFilterWrapper:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

/* Filter Title - Compact header */
.wpfFilterTitle {
    padding: 6px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.wpfFilterTitle:hover {
    background: #f1f5f9;
}

.wfpTitle {
    color: #374151;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpfTitleToggle {
    color: #6b7280;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.wpfTitleToggle:hover {
    color: #3b82f6;
}

/* Filter Content - Minimal padding */
.wpfFilterContent {
    padding: 8px;
    background: #fff;
}

/* Price Range Slider - Sleek design */
.wpfPriceFilterRange.ui-slider {
    background: #f1f5f9;
    border: none;
    border-radius: 4px;
    height: 4px;
    margin: 6px 0 10px 0;
    position: relative;
}

.wpfPriceFilterRange .ui-slider-range {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    height: 100%;
}

.wpfPriceFilterRange .ui-slider-handle {
    background: #fff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    top: -5px;
    cursor: grab;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

.wpfPriceFilterRange .ui-slider-handle:hover,
.wpfPriceFilterRange .ui-slider-handle:focus {
    border-color: #1d4ed8;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Price Inputs - Clean layout */
.wpfPriceInputs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.wpfCurrencySymbol {
    color: #6b7280;
    font-weight: 500;
    font-size: 11px;
}

.wpfPriceRangeField {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 11px;
    color: #374151;
    background: #fff;
    transition: all 0.2s ease;
    min-width: 50px;
    text-align: center;
}

.wpfPriceRangeField:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpfFilterDelimeter {
    color: #9ca3af;
    font-weight: 400;
    font-size: 11px;
}

/* Dropdown Styling - Modern select */
.wpfFilterContent select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 6px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 28px;
}

.wpfFilterContent select:focus,
.wpfFilterContent select:hover {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Checkbox Lists - Compact and clean */
.wpfCheckboxHier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 120px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f9fafb;
}

.wpfCheckboxHier li {
    margin-bottom: 2px;
    transition: background 0.2s ease;
    border-radius: 3px;
}

.wpfCheckboxHier li:hover {
    background: #f8fafc;
}

.wpfLiLabel {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.wpfLiLabel:hover {
    color: #3b82f6;
}

/* Custom Checkbox - Modern design */
.wpfCheckbox {
    position: relative;
    margin-right: 6px;
}

.wpfCheckbox input[type="checkbox"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.wpfCheckbox input[type="checkbox"]:checked {
    background: #3b82f6;
    border-color: #3b82f6;
}

.wpfCheckbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 3px;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.wpfCheckbox input[type="checkbox"]:hover {
    border-color: #3b82f6;
}

/* Filter Value Text - Clean typography */
.wpfFilterTaxNameWrapper {
    color: #374151;
    font-size: 11px;
    font-weight: 400;
    flex: 1;
}

.wpfCount {
    color: #9ca3af;
    font-size: 10px;
    margin-left: 4px;
    background: #f3f4f6;
    padding: 1px 4px;
    border-radius: 8px;
    font-weight: 500;
}

/* Filter Button - Modern CTA */
.wpfFilterButtons {
    padding: 8px 8px 4px;
    text-align: center;
}

.wpfFilterButton {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.wpfFilterButton:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.wpfFilterButton:active {
    transform: translateY(0);
}

/* Currency Filter Group - Consistent styling */
.filter-group {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.filter-group select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-group select:focus,
.filter-group select:hover {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading Animation - Subtle spinner */
.wpfLoaderLayout {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
}

.wpfLoaderLayout .fa-spinner {
    color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar Styling - Clean scrollbar */
.wpfFilterVerScroll::-webkit-scrollbar {
    width: 4px;
}

.wpfFilterVerScroll::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 2px;
}

.wpfFilterVerScroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}


 .filter-products-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .shop-filters-toggle-container { 
        margin-bottom: 0; /* Remove bottom margin since container handles spacing */
    }
    
    .shop-filters-toggle-btn {
        background: #007cba;
        color: #fff;
        border: none;
        padding: 8px 18px;
        border-radius: 4px;
        cursor: pointer;
        margin-bottom: 10px;
        font-size: 15px;
    }
    
    .shop-filters-inner.hidden { 
        display: none; 
    }
    
    .shop-filters-toggle-btn .hide-text { 
        display: none; 
    }
    
    .shop-filters-toggle-btn .filter-icon {
        margin-right: 7px;
        font-size: 1.1em;
        vertical-align: middle;
    }
    
    .products-section {
        min-height: 200px; /* Ensure some height even when empty */
    }
    
    /* Responsive design */
    @media (min-width: 768px) {
        .filter-products-container {
            flex-direction: row;
            align-items: flex-start;
            gap: 30px;
        }
        
        .shop-filters-toggle-container {
            flex: 0 0 300px; /* Fixed width for filters */
            max-width: 300px;
        }
        
        .products-section {
            flex: 1; /* Take remaining space */
        }
    }
 

.wpfFilterVerScroll::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Responsive Design - Mobile optimized */
@media (max-width: 768px) {
    .wpfMainWrapper {
        padding: 4px;
        border-radius: 4px;
    }
    
    .wpfFilterTitle {
        padding: 4px 8px;
    }
    
    .wpfFilterContent {
        padding: 6px;
    }
    
    .wfpTitle {
        font-size: 10px;
    }
    
    .wpfFilterButton {
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .wpfCheckboxHier ul {
        max-height: 100px;
    }
    
    .wpfPriceRangeField {
        min-width: 40px;
        padding: 3px 4px;
    }
}

/* Focus states for accessibility */
.wpfFilterWrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Animation for collapsible filters */
.wpfFilterContent {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.wpfFilterContent.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0 8px;
    overflow: hidden;
}

.wc-block-grid__products{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
    width: 100%;
	gap:21px;
	margin-top:55px !important;
}
.wc-block-grid__product{
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: calc(33.333% - 14px) !important;
    margin: 0 !important;
    float: none !important;
    display: flex;
	max-width:23% !important;
;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wc-block-grid__product-image  img{
    width: 100% !important;
    height: 290px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}


.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link{    margin: 0 20px 20px;
    background: linear-gradient(135deg, #50accd 0%, #4298b7 100%);
    color: white;
    border: none;
    padding: 0px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block !important;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: center;
}

.woocommerce-Price-amount amount{
    padding: 0 20px 15px;
    color: #50accd;
    font-weight: bold;
    font-size: 1.3em;
    margin: 0;
}
.wc-block-grid__product-onsale {
  background: url(https://dailypresslb.com/wp-content/uploads/DP-sale-icon.png) no-repeat center center !important;
  background-size: contain !important;
  width: 100px !important;
  height: 100px !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
	border:none !important;
}
.wc-block-grid__product .wc-block-grid__product-image, .wc-block-grid__product .wc-block-grid__product-link{
	display:block !important;
}

@media (max-width: 768px) {
  .wc-block-grid__product {
    width: calc(50% - 10.5px) !important; /* Half width minus half the gap */
    max-width: 100% !important;
	  flex:none !important;
  }

  .wc-block-grid__products {
    gap: 21px !important;
    margin-top: 30px !important;
  }

  .wc-block-grid__product-image img {
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover;
  }

  .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    font-size: 13px !important;
    padding: 8px 14px !important;
    margin: 10px auto !important;
    width: 90% !important;
  }

  .wc-block-grid__product-onsale {
    width: 60px !important;
    height: 60px !important;
    background-size: 50px 50px !important;
    top: 10px !important;
    left: 10px !important;
  }

  .woocommerce-Price-amount.amount {
    padding: 0 10px 10px !important;
    font-size: 1.1em !important;
    text-align: center;
  }
}
.wc-block-components-product-badge {
			display:none !important;
		}

