/* =====================================
   PRODUCTS PAGE - FINAL CLEAN VERSION
===================================== */

*{
    box-sizing:border-box;
}

body{
    overflow-x:hidden;
    background:#fff;
    color:#222;
}


/* =====================================
   COLLECTION HERO
===================================== */

.collection-hero{
    min-height:520px;
    padding:70px 8%;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    align-items:center;
    gap:45px;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(212,175,55,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fff9ef,
            #f8fbfc
        );
}

.collection-hero-content{
    position:relative;
    z-index:2;
}

.collection-label{
    display:inline-block;
    margin-bottom:15px;
    padding:8px 18px;
    border-radius:30px;
    background:#f5e8b8;
    color:#7a5d00;
    font-size:13px;
    font-weight:700;
    letter-spacing:1.5px;
}

.collection-hero h1{
    max-width:700px;
    margin-bottom:18px;
    color:#0F4C5C;
    font-size:58px;
    line-height:1.12;
}

.collection-hero-content > p:not(.collection-breadcrumb){
    max-width:650px;
    margin-bottom:28px;
    color:#666;
    font-size:17px;
    line-height:1.8;
}

.hero-highlights{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.hero-highlights span{
    padding:10px 15px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius:30px;
    background:#fff;
    color:#0F4C5C;
    font-size:13px;
    font-weight:600;
    box-shadow:0 6px 18px rgba(0,0,0,.07);
}

.hero-highlights i{
    color:#D4AF37;
}

.collection-shop-btn{
    padding:15px 28px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    border-radius:40px;
    background:#0F4C5C;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.collection-shop-btn:hover{
    background:#D4AF37;
    transform:translateY(-3px);
}

.collection-hero-image{
    position:relative;
    min-height:390px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.collection-image-circle{
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #f3ddb1,
        #fff5d6
    );
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.collection-hero-image img{
    position:relative;
    z-index:2;
    width:390px;
    height:390px;
    display:block;
    border-radius:50%;
    object-fit:cover;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
    transition:.4s;
}

.collection-hero-image img:hover{
    transform:scale(1.035);
}


/* =====================================
   PRODUCTS SECTION
===================================== */

.products-section{
    padding:65px 6% 90px;
    background:#f7f9fa;
}

.products-page-layout{
    max-width:1500px;
    margin:auto;
    display:grid;
    grid-template-columns:270px minmax(0,1fr);
    gap:35px;
}


/* =====================================
   MOBILE CONTROLS - DESKTOP HIDDEN
===================================== */

.mobile-product-controls,
.mobile-search-panel{
    display:none;
}


/* =====================================
   SIDEBAR
===================================== */

.products-sidebar{
    position:sticky;
    top:110px;
    align-self:start;
    padding:25px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 28px rgba(0,0,0,.08);
}

.sidebar-mobile-header{
    display:none;
}

.sidebar-section h3{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    color:#0F4C5C;
    font-size:18px;
}

.sidebar-section h3 i{
    color:#D4AF37;
}

.category-btn{
    width:100%;
    margin-bottom:10px;
    padding:13px 15px;
    border:1px solid #e7e7e7;
    border-radius:10px;
    background:#f8f8f8;
    color:#444;
    text-align:left;
    font-family:inherit;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.category-btn:hover{
    border-color:#0F4C5C;
    background:#edf6f7;
    color:#0F4C5C;
}

.category-btn.active{
    border-color:#D4AF37;
    background:#D4AF37;
    color:#fff;
}

.sidebar-help{
    margin-top:24px;
    padding:22px 18px;
    border-radius:14px;
    background:linear-gradient(
        135deg,
        #0F4C5C,
        #0b3945
    );
    color:#fff;
    text-align:center;
}

.sidebar-help > i{
    margin-bottom:10px;
    color:#25D366;
    font-size:34px;
}

.sidebar-help h3{
    margin-bottom:7px;
}

.sidebar-help p{
    margin-bottom:15px;
    color:#d8e4e7;
    font-size:13px;
    line-height:1.6;
}

.sidebar-help a{
    padding:10px 16px;
    display:inline-block;
    border-radius:8px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}


/* =====================================
   PRODUCTS AREA
===================================== */

.products-area{
    min-width:0;
}

.products-heading-row{
    margin-bottom:25px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:25px;
}

.products-small-title{
    margin-bottom:5px;
    color:#D4AF37;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.products-heading-row h2{
    margin-bottom:5px;
    color:#0F4C5C;
    font-size:33px;
    line-height:1.2;
}

#productCount{
    color:#777;
    font-size:14px;
}

.view-icons{
    display:flex;
    gap:8px;
}

.view-btn{
    width:42px;
    height:42px;
    border:1px solid #ddd;
    border-radius:9px;
    background:#fff;
    color:#777;
    cursor:pointer;
}

.view-btn.active,
.view-btn:hover{
    border-color:#0F4C5C;
    background:#0F4C5C;
    color:#fff;
}


/* =====================================
   DESKTOP TOOLBAR
===================================== */

.products-toolbar{
    margin-bottom:30px;
    display:grid;
    grid-template-columns:minmax(230px,1fr) auto;
    gap:15px;
}

.product-search-wrapper{
    position:relative;
}

.product-search-wrapper i{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);
    color:#888;
}

.product-search-wrapper input{
    width:100%;
    min-height:50px;
    padding:14px 15px 14px 43px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    font-family:inherit;
    outline:none;
}

.product-search-wrapper input:focus{
    border-color:#0F4C5C;
    box-shadow:0 0 0 3px rgba(15,76,92,.1);
}

.products-toolbar select{
    min-width:190px;
    min-height:50px;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    font-family:inherit;
    outline:none;
}

#mobileCategory{
    display:none;
}


/* =====================================
   PRODUCTS GRID
===================================== */

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:25px;
}

.products-grid.two-column-view{
    grid-template-columns:repeat(2,minmax(0,1fr));
}


/* =====================================
   PRODUCT CARD
===================================== */

.product-card{
    position:relative;
    overflow:hidden;
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-7px);
    box-shadow:0 15px 35px rgba(0,0,0,.14);
}

.product-image-box{
    position:relative;
    height:300px;
    overflow:hidden;
    background:#f4f4f4;
}

.product-image-box > a{
    width:100%;
    height:100%;
    display:block;
}

.product-image-box img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:.5s;
}

.product-card:hover .product-image-box img{
    transform:scale(1.07);
}

.product-image-box .wishlist{
    position:absolute;
    top:14px;
    right:14px;
    z-index:3;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#d63384;
    font-size:18px;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.product-category-badge{
    position:absolute;
    left:14px;
    bottom:14px;
    padding:7px 12px;
    border-radius:20px;
    background:#0F4C5C;
    color:#fff;
    font-size:11px;
    font-weight:700;
}

.product-content{
    padding:19px;
}

.product-content h3{
    margin-bottom:9px;
    font-size:17px;
    line-height:1.4;
}

.product-content h3 a{
    color:#222;
    text-decoration:none;
}

.product-content h3 a:hover{
    color:#0F4C5C;
}

.product-content .rating{
    margin-bottom:8px;
    font-size:13px;
}

.product-content .price{
    margin-bottom:16px;
    color:#D4AF37;
    font-size:22px;
    font-weight:700;
}

.product-content .buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.product-content .cart-btn,
.product-content .buy-btn{
    min-width:0;
    min-height:43px;
    padding:10px 6px;
    border:none;
    border-radius:8px;
    color:#fff;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    cursor:pointer;
    transition:.3s;
}

.product-content .cart-btn{
    background:#0F4C5C;
}

.product-content .buy-btn{
    background:#D4AF37;
}

.product-content .cart-btn:hover{
    background:#0b3945;
}

.product-content .buy-btn:hover{
    background:#b89220;
}


/* =====================================
   EMPTY PRODUCTS
===================================== */

.no-products{
    grid-column:1/-1;
    padding:70px 20px;
    border-radius:17px;
    background:#fff;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.07);
}

.no-products i{
    display:block;
    margin-bottom:18px;
    color:#D4AF37;
    font-size:62px;
}

.no-products h2{
    margin-bottom:9px;
    color:#0F4C5C;
}

.no-products p{
    margin-bottom:20px;
    color:#777;
}

.no-products button{
    padding:12px 24px;
    border:none;
    border-radius:8px;
    background:#0F4C5C;
    color:#fff;
    font-family:inherit;
    font-weight:600;
    cursor:pointer;
}


/* =====================================
   MOBILE FILTER
===================================== */

.mobile-filter-btn{
    display:none;
}

#sidebarOverlay{
    display:none;
}


/* =====================================
   LARGE TABLET
===================================== */

@media(max-width:1250px){

    .collection-hero h1{
        font-size:50px;
    }

    .products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* =====================================
   TABLET
===================================== */

@media(max-width:992px){

    .collection-hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .collection-hero-content > p:not(.collection-breadcrumb){
        margin-left:auto;
        margin-right:auto;
    }

    .collection-breadcrumb,
    .hero-highlights{
        justify-content:center;
    }

    .collection-hero-image{
        min-height:340px;
    }

    .collection-image-circle{
        width:340px;
        height:340px;
    }

    .collection-hero-image img{
        width:315px;
        height:315px;
    }

    .products-page-layout{
        grid-template-columns:1fr;
    }

    .products-sidebar{
        position:fixed;
        top:0;
        bottom:0;
        left:-320px;
        z-index:10002;
        width:300px;
        max-height:100vh;
        overflow-y:auto;
        border-radius:0 18px 18px 0;
        transition:.35s;
    }

    .products-sidebar.show{
        left:0;
    }

    .sidebar-mobile-header{
        display:flex;
        align-items:center;
        justify-content:space-between;
        margin-bottom:20px;
    }

    .sidebar-mobile-header button{
        width:38px;
        height:38px;
        border:none;
        border-radius:50%;
        background:#eee;
        cursor:pointer;
    }

    #sidebarOverlay{
        position:fixed;
        inset:0;
        z-index:10001;
        background:rgba(0,0,0,.48);
    }

    #sidebarOverlay.show{
        display:block;
    }

}


/* =====================================
   MOBILE
===================================== */

@media(max-width:700px){

    /* ===============================
       COLLECTION HERO
    =============================== */

    .collection-hero{
        min-height:auto;
        padding:42px 16px 48px;
        gap:20px;
    }

    .collection-label{
        margin-bottom:12px;
        padding:7px 14px;
        font-size:11px;
    }

    .collection-hero h1{
        margin-bottom:14px;
        font-size:34px;
    }

    .collection-hero-content > p:not(.collection-breadcrumb){
        margin-bottom:20px;
        font-size:14px;
        line-height:1.7;
    }

    .hero-highlights{
        width:100%;
        margin-bottom:24px;
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:7px;
    }

    .hero-highlights span{
        min-width:0;
        padding:9px 5px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:5px;
        border-radius:22px;
        font-size:10px;
        line-height:1.2;
        text-align:center;
        white-space:nowrap;
    }

    .hero-highlights i{
        flex-shrink:0;
        font-size:11px;
    }

    .collection-shop-btn{
        padding:12px 21px;
        font-size:14px;
    }

    .collection-hero-image{
        min-height:255px;
    }

    .collection-image-circle{
        width:245px;
        height:245px;
    }

    .collection-hero-image img{
        width:225px;
        height:225px;
    }


    /* ===============================
       PRODUCTS SECTION ORDER
    =============================== */

    .products-section{
        padding:38px 9px 70px;
        display:flex;
        flex-direction:column;
    }

    /*
       Layout wrappers ko mobile par remove jaisa
       behave karaya gaya hai, taaki heading controls
       ke upar aa sake.
    */

    .products-page-layout,
    .products-area{
        display:contents;
    }

    /*
       Mobile order:

       1. Heading
       2. Filter/Search/Sort controls
       3. Search panel
       4. Product grid
    */

    .products-heading-row{
        order:1;
        width:100%;
        margin-bottom:20px;
        display:block;
    }

    .mobile-product-controls{
        order:2;
    }

    .mobile-search-panel{
        order:3;
    }

    .products-grid{
        order:4;
    }


    /* ===============================
       PRODUCTS HEADING
    =============================== */

    .products-heading-row > div:first-child{
        width:100%;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        align-items:end;
        gap:8px 12px;
    }

    .products-small-title{
        grid-column:1 / -1;
        margin:0;
        color:#D4AF37;
        font-size:11px;
        font-weight:700;
        letter-spacing:1.5px;
        line-height:1.4;
        text-transform:uppercase;
    }

    .products-heading-row h2{
        margin:0;
        color:#0F4C5C;
        font-size:30px;
        line-height:1.2;
    }

    #productCount{
        margin:0 0 3px;
        color:#777;
        font-size:13px;
        line-height:1.3;
        text-align:right;
        white-space:nowrap;
    }

    .view-icons{
        display:none;
    }


    /* ===============================
       MOBILE CONTROLS ROW
    =============================== */

    .mobile-product-controls{
        width:100%;
        margin-bottom:14px;
        display:grid;
        grid-template-columns:auto 48px minmax(0,1fr);
        align-items:center;
        gap:9px;
    }

    .mobile-filter-btn{
        min-height:48px;
        margin:0;
        padding:10px 14px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:7px;
        border:none;
        border-radius:9px;
        background:#0F4C5C;
        color:#fff;
        font-family:inherit;
        font-size:13px;
        font-weight:700;
        white-space:nowrap;
        cursor:pointer;
    }

    .mobile-search-toggle{
        width:48px;
        height:48px;
        padding:0;
        display:flex;
        align-items:center;
        justify-content:center;
        border:1px solid #d8d8d8;
        border-radius:9px;
        background:#fff;
        color:#0F4C5C;
        font-size:18px;
        cursor:pointer;
    }

    .mobile-search-toggle.active{
        border-color:#0F4C5C;
        background:#0F4C5C;
        color:#fff;
    }

    #mobileSortProducts{
        width:100%;
        min-width:0;
        height:48px;
        padding:9px 28px 9px 10px;
        border:1px solid #d8d8d8;
        border-radius:9px;
        background:#fff;
        color:#333;
        font-family:inherit;
        font-size:12px;
        outline:none;
    }


    /* ===============================
       MOBILE SEARCH PANEL
    =============================== */

    .mobile-search-panel{
        width:100%;
        max-height:0;
        margin-bottom:0;
        display:block;
        overflow:hidden;
        opacity:0;
        visibility:hidden;
        transition:
            max-height .3s ease,
            margin-bottom .3s ease,
            opacity .25s ease,
            visibility .25s ease;
    }

    .mobile-search-panel.active{
        max-height:75px;
        margin-bottom:20px;
        opacity:1;
        visibility:visible;
    }

    .mobile-search-panel .product-search-wrapper{
        position:relative;
    }

    .mobile-search-panel .product-search-wrapper i{
        position:absolute;
        top:50%;
        left:15px;
        transform:translateY(-50%);
        color:#888;
    }

    #mobileProductSearch{
        width:100%;
        height:50px;
        padding:11px 14px 11px 43px;
        border:1px solid #d8d8d8;
        border-radius:9px;
        background:#fff;
        font-family:inherit;
        font-size:14px;
        outline:none;
    }

    #mobileProductSearch:focus{
        border-color:#0F4C5C;
        box-shadow:0 0 0 3px rgba(15,76,92,.08);
    }


    /* Desktop toolbar mobile par hide */

    .products-toolbar{
        display:none;
    }

    #mobileCategory{
        display:none !important;
    }


    /* ===============================
       PRODUCT GRID
    =============================== */

    .products-grid,
    .products-grid.two-column-view{
        width:100%;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px;
    }

    .product-card{
        min-width:0;
        overflow:hidden;
        border:1px solid #e7e7e7;
        border-radius:10px;
        background:#fff;
        box-shadow:none;
    }

    .product-card:hover{
        transform:none;
        box-shadow:none;
    }

    .product-image-box{
        height:245px;
    }

    .product-card:hover .product-image-box img{
        transform:none;
    }

    .product-image-box .wishlist{
        top:12px;
        right:12px;
        width:44px;
        height:44px;
        font-size:19px;
    }

    .product-category-badge{
        display:none;
    }

    .product-content{
        padding:14px;
    }

    .product-content h3{
        min-height:44px;
        max-height:45px;
        margin-bottom:9px;
        overflow:hidden;
        font-size:16px;
        line-height:1.4;
    }

    .product-content h3 a{
        display:block;
    }

    .product-content .rating{
        display:none;
    }

    .product-content .price{
        margin-bottom:14px;
        color:#0F4C5C;
        font-size:23px;
        font-weight:700;
    }

    .product-content .buttons{
        display:block;
    }

    .product-content .cart-btn{
        display:none;
    }

    .product-content .buy-btn{
        width:100%;
        min-height:44px;
        padding:10px 6px;
        display:flex;
        align-items:center;
        justify-content:center;
        border:none;
        border-radius:6px;
        background:#0F4C5C;
        color:#fff;
        font-family:inherit;
        font-size:13px;
        font-weight:700;
        white-space:nowrap;
    }

    .product-content .buy-btn:hover{
        background:#0b3945;
        transform:none;
    }


    /* ===============================
       FLOATING BUTTONS
    =============================== */

    .whatsapp-float{
        right:13px;
        bottom:76px;
        width:49px;
        height:49px;
        font-size:25px;
    }

    #topBtn{
        right:13px !important;
        bottom:18px !important;
        width:47px !important;
        height:47px !important;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media(max-width:430px){

    .collection-hero{
        padding:36px 13px 42px;
    }

    .collection-hero h1{
        font-size:30px;
    }

    .hero-highlights{
        width:100%;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:5px;
    }

    .hero-highlights span{
        min-width:0;
        padding:8px 2px;
        gap:3px;
        font-size:8.5px;
        white-space:nowrap;
    }

    .hero-highlights i{
        font-size:9px;
    }

    .collection-hero-image{
        min-height:225px;
    }

    .collection-image-circle{
        width:215px;
        height:215px;
    }

    .collection-hero-image img{
        width:198px;
        height:198px;
    }

    .products-section{
        padding-left:8px;
        padding-right:8px;
    }


    /* Products heading */

    .products-heading-row > div:first-child{
        gap:7px 8px;
    }

    .products-small-title{
        font-size:10px;
        letter-spacing:1.2px;
    }

    .products-heading-row h2{
        font-size:27px;
    }

    #productCount{
        margin-bottom:2px;
        font-size:11px;
    }


    /* Mobile controls */

    .mobile-product-controls{
        grid-template-columns:44px 44px minmax(0,1fr);
        gap:7px;
    }

    .mobile-filter-btn{
        width:44px;
        min-height:44px;
        padding:0;
    }

    .mobile-filter-btn span{
        display:none;
    }

    .mobile-search-toggle{
        width:44px;
        height:44px;
    }

    #mobileSortProducts{
        height:44px;
        padding-left:8px;
        font-size:11px;
    }


    /* Product cards */

    .products-grid,
    .products-grid.two-column-view{
        gap:10px;
    }

    .product-image-box{
        height:215px;
    }

    .product-image-box .wishlist{
        top:9px;
        right:9px;
        width:40px;
        height:40px;
        font-size:17px;
    }

    .product-content{
        padding:12px 10px;
    }

    .product-content h3{
        min-height:42px;
        max-height:42px;
        font-size:14px;
    }

    .product-content .price{
        margin-bottom:12px;
        font-size:21px;
    }

    .product-content .buy-btn{
        min-height:42px;
        padding:8px 4px;
        font-size:12px;
    }

}


/* =====================================
   VERY SMALL MOBILE
===================================== */

@media(max-width:360px){

    .products-heading-row h2{
        font-size:24px;
    }

    #productCount{
        font-size:10px;
    }

    .products-grid,
    .products-grid.two-column-view{
        grid-template-columns:1fr;
        gap:18px;
    }

    .product-image-box{
        height:300px;
    }

    .product-content{
        padding:15px;
    }

    .product-content h3{
        min-height:auto;
        max-height:none;
        font-size:17px;
    }

    .product-content .price{
        font-size:23px;
    }

    .product-content .buy-btn{
        font-size:14px;
    }

}


/* =========================================================
   PREMIUM THEME UPDATE
   Existing products page rules refined below.
========================================================= */


/* =========================================================
   SHRI GOPAL VASTRA - PREMIUM PRODUCTS PAGE OVERRIDE
   Is file ko products.css ke BAAD link karein.
========================================================= */

:root{
    --pp-primary:#5A321E;
    --pp-primary-dark:#321A10;
    --pp-gold:#C99B3C;
    --pp-gold-dark:#A97922;
    --pp-gold-light:#F3D995;
    --pp-cream:#FFF9F0;
    --pp-soft:#FBF6EF;
    --pp-dark:#251B16;
    --pp-text:#62544D;
    --pp-muted:#8A7B73;
    --pp-border:#E9DDCF;
    --pp-shadow-sm:0 9px 26px rgba(70,42,25,.08);
    --pp-shadow-md:0 18px 45px rgba(70,42,25,.15);
}

body{
    background:var(--pp-cream);
    color:var(--pp-dark);
}

/* HERO */

.collection-hero{
    position:relative;
    min-height:610px;
    padding:85px 8%;
    gap:70px;
    overflow:hidden;
    background:
        radial-gradient(circle at 88% 18%,rgba(201,155,60,.25),transparent 27%),
        radial-gradient(circle at 12% 95%,rgba(90,50,30,.12),transparent 26%),
        linear-gradient(135deg,#FFFDF8 0%,#FAF0E3 48%,#F4E4D1 100%);
}

.collection-hero::before{
    content:"";
    position:absolute;
    top:-135px;
    left:-110px;
    width:360px;
    height:360px;
    border:1px solid rgba(201,155,60,.22);
    border-radius:50%;
}

.collection-hero::after{
    content:"";
    position:absolute;
    right:-150px;
    bottom:-200px;
    width:480px;
    height:480px;
    border-radius:50%;
    background:rgba(255,255,255,.25);
}

.collection-hero-content{
    position:relative;
    z-index:3;
}

.collection-label{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:20px;
    padding:9px 19px;
    border:1px solid rgba(201,155,60,.38);
    border-radius:30px;
    background:rgba(255,255,255,.6);
    color:var(--pp-gold-dark);
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    box-shadow:0 9px 24px rgba(77,45,27,.08);
}

.collection-label::before{
    content:"✦";
    color:var(--pp-gold);
}

.collection-hero h1{
    margin-bottom:22px;
    color:var(--pp-primary);
    font-size:clamp(44px,5.5vw,68px);
    line-height:1.12;
    letter-spacing:-1.4px;
}

.collection-hero-content > p:not(.collection-breadcrumb){
    color:var(--pp-text);
    font-size:16px;
    line-height:1.9;
}

.hero-highlights span{
    min-height:43px;
    padding:10px 16px;
    border:1px solid rgba(222,201,180,.72);
    background:rgba(255,255,255,.8);
    color:var(--pp-primary);
    box-shadow:0 8px 22px rgba(70,42,25,.08);
    backdrop-filter:blur(8px);
}

.hero-highlights i{
    color:var(--pp-gold);
}

.collection-shop-btn{
    min-height:54px;
    padding:14px 29px;
    border-radius:35px;
    background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
    box-shadow:0 14px 30px rgba(76,39,22,.24);
}

.collection-shop-btn:hover{
    background:linear-gradient(135deg,var(--pp-gold),var(--pp-gold-dark));
    transform:translateY(-4px);
    box-shadow:0 19px 38px rgba(76,39,22,.3);
}

.collection-image-circle{
    width:455px;
    height:455px;
    border:1px solid rgba(255,255,255,.82);
    background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,213,173,.68));
    box-shadow:inset 0 0 0 18px rgba(255,255,255,.34),0 28px 70px rgba(70,42,25,.18);
}

.collection-image-circle::before{
    content:"";
    position:absolute;
    inset:-21px;
    border:1px dashed rgba(201,155,60,.48);
    border-radius:50%;
    animation:ppRotate 28s linear infinite;
}

@keyframes ppRotate{
    to{transform:rotate(360deg);}
}

.collection-hero-image img{
    width:414px;
    height:414px;
    border:10px solid rgba(255,255,255,.92);
    box-shadow:0 26px 65px rgba(64,36,21,.22);
}

/* PRODUCTS AREA */

.products-section{
    padding:90px 6% 110px;
    background:
        radial-gradient(circle at 8% 10%,rgba(201,155,60,.09),transparent 20%),
        linear-gradient(180deg,#FBF6EF,#FFFDF9);
}

.products-page-layout{
    grid-template-columns:285px minmax(0,1fr);
    gap:38px;
}

/* SIDEBAR */

.products-sidebar{
    top:112px;
    padding:27px;
    border:1px solid rgba(220,200,180,.78);
    border-radius:22px;
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(252,246,238,.96));
    box-shadow:0 16px 42px rgba(70,42,25,.11);
}

.sidebar-section h3{
    padding-bottom:14px;
    border-bottom:1px solid rgba(222,201,180,.75);
    color:var(--pp-primary);
}

.sidebar-section h3 i{
    color:var(--pp-gold);
}

.category-btn{
    min-height:46px;
    border-color:rgba(224,207,190,.82);
    border-radius:12px;
    background:rgba(255,255,255,.8);
    color:var(--pp-text);
}

.category-btn:hover{
    padding-left:20px;
    border-color:rgba(201,155,60,.55);
    background:#FFF9EF;
    color:var(--pp-primary);
    transform:translateX(3px);
}

.category-btn.active{
    padding-left:20px;
    border-color:transparent;
    background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
    color:#fff;
    box-shadow:0 10px 24px rgba(76,39,22,.2);
}

.sidebar-help{
    border-radius:17px;
    background:
        radial-gradient(circle at 90% 10%,rgba(243,217,149,.22),transparent 30%),
        linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
    box-shadow:0 15px 32px rgba(63,31,17,.18);
}

/* HEADING & TOOLBAR */

.products-small-title{
    color:var(--pp-gold-dark);
    letter-spacing:2px;
}

.products-heading-row h2{
    color:var(--pp-primary);
    font-size:38px;
}

#productCount{
    color:var(--pp-muted);
}

.view-btn{
    border-color:var(--pp-border);
    border-radius:11px;
    color:var(--pp-muted);
    box-shadow:0 7px 18px rgba(70,42,25,.07);
}

.view-btn.active,
.view-btn:hover{
    border-color:var(--pp-primary);
    background:var(--pp-primary);
}

.products-toolbar{
    padding:12px;
    border:1px solid rgba(220,200,180,.75);
    border-radius:16px;
    background:rgba(255,255,255,.82);
    box-shadow:0 10px 28px rgba(70,42,25,.07);
}

.product-search-wrapper i{
    color:var(--pp-gold-dark);
}

.product-search-wrapper input,
.products-toolbar select{
    min-height:52px;
    border-color:var(--pp-border);
    border-radius:12px;
}

.product-search-wrapper input:focus,
.products-toolbar select:focus{
    border-color:var(--pp-gold);
    box-shadow:0 0 0 4px rgba(201,155,60,.11);
}

/* PRODUCT CARDS */

.products-grid{
    gap:27px;
}

.product-card{
    border:1px solid rgba(220,200,180,.78);
    border-radius:22px;
    background:rgba(255,255,255,.98);
    box-shadow:var(--pp-shadow-sm);
}

.product-card:hover{
    border-color:rgba(201,155,60,.68);
    transform:translateY(-10px);
    box-shadow:var(--pp-shadow-md);
}

.product-image-box{
    height:315px;
    background:linear-gradient(145deg,#F8EFE4,#FFF9F2);
}

.product-image-box::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(to top,rgba(49,27,16,.22),transparent 46%);
    opacity:.35;
    transition:.4s ease;
}

.product-card:hover .product-image-box::after{
    opacity:.68;
}

.product-image-box .wishlist{
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.76);
    background:rgba(255,255,255,.92);
    box-shadow:0 7px 20px rgba(38,21,12,.15);
    backdrop-filter:blur(8px);
    transition:.35s ease;
}

.product-image-box .wishlist:hover{
    background:#D64C72;
    color:#fff;
    transform:scale(1.08);
}

.product-category-badge{
    z-index:3;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(74,36,18,.88);
    letter-spacing:.6px;
    text-transform:uppercase;
    backdrop-filter:blur(8px);
}

.product-content{
    padding:21px 20px 22px;
}

.product-content h3 a{
    color:var(--pp-dark);
}

.product-content h3 a:hover{
    color:var(--pp-primary);
}

.product-content .price{
    color:var(--pp-primary);
    font-size:23px;
}

.product-content .cart-btn{
    border-radius:10px;
    background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
    box-shadow:0 9px 20px rgba(76,39,22,.18);
}

.product-content .buy-btn{
    border-radius:10px;
    background:linear-gradient(135deg,var(--pp-gold),var(--pp-gold-dark));
    box-shadow:0 9px 20px rgba(169,121,34,.18);
}

.product-content .cart-btn:hover,
.product-content .buy-btn:hover{
    transform:translateY(-3px);
}

/* EMPTY STATE */

.no-products{
    border:1px solid var(--pp-border);
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 36px rgba(70,42,25,.08);
}

.no-products i{
    color:var(--pp-gold);
}

.no-products h2{
    color:var(--pp-primary);
}

.no-products button{
    border-radius:28px;
    background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
}

/* TABLET */

@media(max-width:992px){
    .collection-hero{
        padding:75px 7% 90px;
        gap:50px;
    }

    .collection-image-circle{
        width:390px;
        height:390px;
    }

    .collection-hero-image img{
        width:355px;
        height:355px;
    }

    .products-sidebar{
        width:310px;
        border-radius:0 20px 20px 0;
    }
}

/* MOBILE */

@media(max-width:700px){
    .collection-hero{
        padding:48px 16px 57px;
        gap:27px;
    }

    .collection-hero h1{
        font-size:37px;
    }

    .collection-hero-content > p:not(.collection-breadcrumb){
        font-size:14px;
    }

    .collection-image-circle{
        width:270px;
        height:270px;
    }

    .collection-hero-image img{
        width:246px;
        height:246px;
        border-width:7px;
    }

    .products-section{
        padding:54px 10px 78px;
    }

    .products-heading-row h2{
        color:var(--pp-primary);
    }

    .mobile-filter-btn{
        border-radius:11px;
        background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
        box-shadow:0 9px 20px rgba(76,39,22,.18);
    }

    .mobile-search-toggle,
    #mobileSortProducts,
    #mobileProductSearch{
        border-color:var(--pp-border);
        border-radius:11px;
    }

    .mobile-search-toggle{
        color:var(--pp-primary);
    }

    .mobile-search-toggle.active{
        border-color:var(--pp-primary);
        background:var(--pp-primary);
    }

    .products-grid,
    .products-grid.two-column-view{
        gap:12px;
    }

    .product-card{
        border-radius:15px;
    }

    .product-image-box{
        height:238px;
    }

    .product-content{
        padding:13px 11px 14px;
    }

    .product-content .price{
        color:var(--pp-primary);
        font-size:20px;
    }

    .product-content .buy-btn{
        border-radius:8px;
        background:linear-gradient(135deg,var(--pp-primary),var(--pp-primary-dark));
    }
}

@media(max-width:430px){
    .collection-hero h1{
        font-size:32px;
    }

    .collection-image-circle{
        width:230px;
        height:230px;
    }

    .collection-hero-image img{
        width:210px;
        height:210px;
    }

    .product-image-box{
        height:205px;
    }
}

@media(max-width:360px){
    .products-grid,
    .products-grid.two-column-view{
        grid-template-columns:1fr;
    }

    .product-image-box{
        height:300px;
    }
}

/* =====================================
   NEW PRODUCT BADGE FIX
===================================== */

.product-image-box {
    position: relative;
    overflow: hidden;
}

.new-product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;

    min-width: 58px;
    padding: 7px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #c99b3c,
            #9f6b14
        );

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1;
    text-transform: uppercase;

    box-shadow:
        0 8px 20px rgba(90, 50, 30, 0.2);
}

@media (max-width: 600px) {

    .new-product-badge {
        top: 10px;
        left: 10px;

        min-width: 48px;
        padding: 6px 10px;

        font-size: 9px;
    }

}

/* =========================================================
   PREMIUM COLLECTION HERO — ABOUT HERO DESIGN LANGUAGE
========================================================= */
.collection-hero{
    position:relative;
    min-height:620px;
    padding:72px max(5%, calc((100% - 1180px)/2));
    display:grid;
    grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
    align-items:center;
    gap:78px;
    background:
        radial-gradient(circle at 10% 18%,rgba(196,135,47,.14),transparent 28%),
        radial-gradient(circle at 88% 84%,rgba(138,66,31,.10),transparent 30%),
        linear-gradient(135deg,#fffaf1 0%,#fff4df 52%,#f8e8cd 100%);
    overflow:hidden;
}
.collection-hero::before{
    content:"";position:absolute;inset:0;pointer-events:none;
    background-image:linear-gradient(rgba(196,135,47,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(196,135,47,.035) 1px,transparent 1px);
    background-size:34px 34px;
    -webkit-mask-image:linear-gradient(to right,#000,transparent 72%);
    mask-image:linear-gradient(to right,#000,transparent 72%);
}
.collection-hero::after{
    content:"";position:absolute;width:430px;height:430px;top:-230px;right:-90px;border:1px solid rgba(138,66,31,.16);border-radius:50%;box-shadow:0 0 0 54px rgba(196,135,47,.04);pointer-events:none;
}
.collection-hero-content{position:relative;z-index:3;max-width:690px;padding:0;background:none;box-shadow:none;}
.collection-label{display:inline-flex!important;align-items:center;gap:10px;margin-bottom:20px;padding:9px 15px!important;color:#8a421f!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(196,135,47,.28)!important;border-radius:50px!important;box-shadow:0 8px 25px rgba(80,42,20,.07);font-size:12px!important;font-weight:700;letter-spacing:1.35px!important;text-transform:uppercase;}
.collection-label::before{content:"\f06c";font-family:"Font Awesome 6 Free";font-weight:900;color:#c4872f;}
.collection-hero h1{max-width:680px;margin:0;color:#2b1b14!important;font-family:"Playfair Display",serif;font-size:clamp(46px,5.5vw,72px)!important;line-height:1.08!important;letter-spacing:-.9px;}
.collection-hero-content>p:not(.collection-breadcrumb){max-width:640px;margin-top:22px!important;color:#5f514a!important;font-size:16px!important;line-height:1.85!important;}
.hero-highlights{margin-top:24px!important;display:flex!important;flex-wrap:wrap;gap:10px!important;}
.hero-highlights span{padding:9px 13px!important;color:#8a421f!important;background:rgba(255,255,255,.68)!important;border:1px solid rgba(138,66,31,.18)!important;border-radius:50px!important;font-size:12px!important;box-shadow:0 8px 20px rgba(80,42,20,.05);}
.hero-highlights i{color:#c4872f!important;}
.collection-shop-btn{min-height:52px;margin-top:28px!important;padding:0 25px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;color:#fff!important;background:linear-gradient(135deg,#8a421f,#60260f)!important;border-radius:50px!important;box-shadow:0 13px 28px rgba(96,38,15,.23)!important;font-size:14px;font-weight:700;}
.collection-shop-btn:hover{transform:translateY(-3px)!important;box-shadow:0 17px 34px rgba(96,38,15,.28)!important;}
.collection-hero-image{position:relative;z-index:2;min-height:475px;width:100%;display:grid;place-items:center;padding:0!important;background:none!important;}
.collection-hero-image::before{content:"";position:absolute;width:min(455px,100%);height:455px;border:1px solid rgba(196,135,47,.25);border-radius:48% 48% 32px 32px;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.95),rgba(255,250,241,.64) 50%,rgba(246,223,180,.58));box-shadow:0 28px 65px rgba(80,42,20,.17);}
.collection-image-circle{position:absolute!important;z-index:1!important;width:290px!important;height:290px!important;top:62px!important;left:50%!important;transform:translateX(-50%)!important;border-radius:50%!important;background:rgba(246,223,180,.86)!important;filter:blur(18px);}
.collection-hero-image img{position:relative!important;z-index:2!important;width:min(455px,100%)!important;height:455px!important;object-fit:cover!important;object-position:center!important;border-radius:48% 48% 32px 32px!important;filter:none!important;drop-shadow:none!important;box-shadow:none!important;}
@media(max-width:992px){.collection-hero{min-height:auto;grid-template-columns:1fr;gap:55px;padding:68px 20px 78px;text-align:center}.collection-hero-content{max-width:760px;margin:auto}.hero-highlights{justify-content:center}.collection-hero-image{width:min(560px,100%);margin:auto}.collection-shop-btn{margin-left:auto;margin-right:auto}}
@media(max-width:600px){.collection-hero{padding:48px 14px 62px;gap:38px}.collection-hero h1{font-size:clamp(37px,12vw,50px)!important}.collection-hero-content>p:not(.collection-breadcrumb){font-size:14px!important}.hero-highlights{gap:8px!important}.hero-highlights span{font-size:10px!important;padding:8px 10px!important}.collection-hero-image{min-height:370px}.collection-hero-image::before,.collection-hero-image img{width:min(355px,94vw)!important;height:355px!important;border-radius:46% 46% 25px 25px!important}}

/* =========================================================
   MOBILE PRODUCT GRID - WIDER / DIVINE COLLECTION FEEL
========================================================= */
@media (max-width:700px){
    .products-section{
        padding-left:8px;
        padding-right:8px;
    }

    .products-grid,
    .products-grid.two-column-view{
        width:100%;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .product-card{
        min-width:0;
        border-radius:16px;
    }

    .product-image-box{
        height:220px;
    }

    .product-content{
        padding:13px 10px 14px;
    }
}

@media (max-width:430px){
    .products-section{
        padding-left:7px;
        padding-right:7px;
    }

    .products-grid,
    .products-grid.two-column-view{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }

    .product-image-box{
        height:195px;
    }

    .product-content h3{
        min-height:40px;
        max-height:40px;
        font-size:13px;
    }

    .product-content .price{
        font-size:19px;
    }
}

@media (max-width:360px){
    .products-grid,
    .products-grid.two-column-view{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .product-image-box{
        height:180px;
    }

    .product-content{
        padding:11px 8px 12px;
    }

    .product-content h3{
        min-height:38px;
        max-height:38px;
        font-size:12px;
        line-height:1.45;
    }

    .product-content .price{
        font-size:18px;
    }

    .product-content .buy-btn{
        min-height:38px;
        font-size:11px;
    }
}
