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

.featured-products{
    padding:80px 0;
}

.products-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

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

.product-card{

    position:relative;

    background:#fff;

    border:none;

    overflow:hidden;

    transition:.35s ease;

}

.product-card:hover{

    transform:translateY(-6px);

}

.product-image{

    position:relative;

    display:block;

    width:100%;

    aspect-ratio:1/1.2;

    overflow:hidden;

    background:#f7f7f7;

}

.product-image img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s ease;

}

.secondary-image{

    opacity:0;

}

.product-card:hover .primary-image{

    opacity:0;

}

.product-card:hover .secondary-image{

    opacity:1;

}

.product-card:hover img{

    transform:scale(1.04);

}

/* Badge */

.discount-badge{

    position:absolute;

    top:15px;

    left:15px;

    background:#111;

    color:#fff;

    padding:6px 10px;

    font-size:11px;

    font-weight:600;

    letter-spacing:.8px;

    z-index:5;

}

/* Quick View */

.product-actions{

    position:absolute;

    bottom:18px;

    left:50%;

    transform:translateX(-50%) translateY(20px);

    opacity:0;

    transition:.35s ease;

    z-index:5;

}

.product-card:hover .product-actions{

    opacity:1;

    transform:translateX(-50%) translateY(0);

}

.quick-view-btn{

    border:none;

    background:#fff;

    padding:12px 28px;

    font-size:12px;

    letter-spacing:1px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.quick-view-btn:hover{

    background:#111;

    color:#fff;

}

/* Info */

.product-info{

    text-align:center;

    padding:22px 10px 8px;

}

.product-brand{

    display:block;

    color:#999;

    font-size:11px;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.product-name{

    margin:0;

    font-size:17px;

    font-weight:600;

    line-height:1.45;

}

.product-name a{

    text-decoration:none;

    color:#222;

}

.product-name a:hover{

    color:#000;

}

.price-box{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin:14px 0 18px;

}

.selling-price{

    font-size:22px;

    font-weight:700;

}

.mrp{

    color:#999;

    text-decoration:line-through;

    font-size:14px;

}

/* Button */

.cart-btn{

    width:100%;

    height:48px;

    border:1px solid #111;

    background:#111;

    color:#fff;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    cursor:pointer;

    transition:.3s;

}

.cart-btn:hover{

    background:#fff;

    color:#111;

}
.cart-btn:focus {
    outline: none;
}

.cart-btn:focus:not(:focus-visible) {
    background: white;
    color: black;
}

.out-of-stock-btn{

    background:#ddd;

    border-color:#ddd;

    color:#777;

}

.out-of-stock-btn:hover{

    background:#ddd;

    color:#777;

}
/* =================================
   PRODUCT DETAILS PAGE
================================= */

.product-details-page {
    padding: 70px 0;
    background: #fff;
}

.product-details-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
}


/* GALLERY */

.product-gallery {
    display: flex;
    gap: 20px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-thumbnail {
    width: 80px;
    height: 100px;
    object-fit: contain;
    background: #f7f7f7;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #111;
}

.product-main-image {
    flex: 1;
    height: 600px;
    background: #f7f7f7;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* PRODUCT INFO */

.product-details-info {
    padding-top: 10px;
}

.product-details-category {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.product-details-title {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 15px;
}

.product-details-brand {
    color: #666;
    margin-bottom: 25px;
}


/* PRICE */

.product-details-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.details-selling-price {
    font-size: 25px;
    font-weight: 700;
}

.details-mrp {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
}

.details-discount {
    background: #111;
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
}


/* DESCRIPTION */

.product-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* STOCK */

.stock-status {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
}

.in-stock {
    color: #168a35;
}

.out-of-stock {
    color: #c62828;
}


/* PURCHASE */

.product-purchase {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.quantity-selector{
    display:flex;
    align-items:center;
    width:130px;
    height:52px;
}

.quantity-selector button{
    width:40px;
    height:52px;
    font-size:22px;
}

.quantity-selector input{
    width:50px;
    height:52px;
    text-align:center;
    border:none;
    font-size:18px;
}


/* BUTTONS */

.details-cart-btn {
    flex: 1;
    border: none;
    background: #111;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
}

.buy-now-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #111;
    color: #111;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
}

.buy-now-btn:hover {
    background: #111;
    color: #fff;
}

.details-cart-btn:disabled,
.buy-now-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* META */

.product-meta {
    border-top: 1px solid #eee;
    margin-top: 30px;
    padding-top: 20px;
    color: #777;
    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .product-details-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-main-image {
        height: 500px;
    }

}


@media (max-width: 600px) {

    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }

    .product-main-image {
        height: 420px;
    }

    .product-details-title {
        font-size: 28px;
    }

}

/* =================================
   RELATED PRODUCTS
================================= */

.related-products {
    padding: 70px 0 90px;
    border-top: 1px solid #eee;
    background: #fff;
}

.related-products .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.related-products .section-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-products .section-title {
    font-size: 32px;
    margin: 0;
}
.whatsapp-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    width:100%;

    margin-top:15px;

    padding:16px;

    border-radius:10px;

    background:#25D366;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.whatsapp-btn:hover{

    background:#1ebe5d;

}

.whatsapp-btn i{

    font-size:20px;

}
.out-of-stock-box{

    margin-top:25px;

}

.out-of-stock-box p{

    color:#dc2626;

    font-weight:600;

    margin-bottom:15px;

}
/* ===================================================
   SHOP PAGE
=================================================== */

.shop-page{
    padding:60px 0;
    background:#fafafa;
}

.shop-breadcrumb{
    font-size:14px;
    color:#777;
    margin-bottom:12px;
}

.shop-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:40px;
    gap:20px;
}

.shop-title{
    font-size:48px;
    margin:0;
    font-weight:700;
}

.shop-count{
    margin-top:8px;
    color:#777;
    font-size:15px;
}

.shop-sort select{
    padding:12px 18px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    min-width:220px;
    font-size:14px;
}

.shop-layout{
    display:grid;
    grid-template-columns:270px 1fr;
    gap:50px;
    align-items:start;
}
.sidebar-box{
    background:#fff;
    border-radius:14px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.sidebar-box h3{
    font-size:20px;
    margin-bottom:18px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.sidebar-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-box li{
    border-bottom:1px solid #eee;
}

.sidebar-box li:last-child{
    border:none;
}

.sidebar-box a{
    display:block;
    padding:12px 0;
    color:#333;
    text-decoration:none;
    transition:.25s;
}

.sidebar-box a:hover{
    color:#000;
    padding-left:10px;
    font-weight:600;
}

.sidebar-divider{
    margin:25px 0;
    border:none;
    border-top:1px solid #eee;
}

.shop-products .products-grid{
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
}

.no-products{
    background:#fff;
    padding:80px;
    text-align:center;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.no-products h3{
    font-size:28px;
    margin-bottom:10px;
}

.no-products p{
    color:#666;
}

.pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 50px 0;

}

.page-btn {

    text-decoration: none;

    color: #222;

    border: 1px solid #ddd;

    padding: 10px 16px;

    border-radius: 6px;

    transition: 0.3s;

}

.page-btn:hover {

    background:#222;

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 6px 15px rgba(0,0,0,.12);

}

.active-page {

    background: #222;

    color: #fff;

    border-color: #222;

    border-radius: 10px;

    font-weight: 600;

    box-shadow: 0 6px 15px rgba(0,0,0,.12);

}
.disabled-page{

    opacity:.45;

    cursor:not-allowed;

    pointer-events:none;

}

.page-dots{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0 6px;

    color:#777;

    font-weight:600;

}

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

@media(max-width:1000px){

    .shop-layout{

        grid-template-columns:1fr;

    }

    .shop-sidebar{

        position:static;

    }

}

@media(max-width:700px){

    .shop-header{

        flex-direction:column;
        align-items:flex-start;

    }

    .shop-title{

        font-size:38px;

    }

    .shop-sort{

        flex:1;
    
        height:48px;
    
        border:1px solid #ddd;
    
        border-radius:8px;
    
        padding:0 15px;
    
        background:#fff;
    
        font-size:14px;
    
        cursor:pointer;
    
        outline:none;
    
    }

    .shop-sort select{

        width:100%;

    }

}


@media (max-width: 768px){

    .product-purchase{
        display:flex;
        flex-direction:column;
        gap:16px;
    }

    .purchase-top{
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:12px;
    }

    .quantity-selector{
        width:120px;
        flex-shrink:0;
    }

    .add-to-cart-btn{
        flex:1;
        height:52px;
    }

    .buy-now-btn,
    .whatsapp-btn{
        width:100%;
    }

}


/* ==========================================
   SHOP SIDEBAR DROPDOWN
========================================== */

.category-group details{

    border-bottom:1px solid #f1f1f1;

    padding:4px 0;

}

.category-group summary{

    list-style:none;

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:500;

    padding:12px 0;

}

.category-group summary::-webkit-details-marker{

    display:none;

}

.category-group summary::before{

    content:"▸";

    font-size:12px;

    color:#777;

    transition:.25s;

}

.category-group details[open] summary::before{

    transform:rotate(90deg);

}

.category-group summary a{

    color:#222;

    text-decoration:none;

    flex:1;

}

.category-group summary:hover a{

    color:#000;

}

.brand-list{

    margin:8px 0 10px 18px;

    padding-left:12px;

    border-left:2px solid #f0f0f0;

}

.brand-list li{

    list-style:none;

}

.brand-list a{

    display:block;

    padding:9px 0;

    color:#666;

    text-decoration:none;

    font-size:15px;

    transition:.25s;

}

.brand-list a:hover{

    color:#000;

    padding-left:8px;

}

.active-category{

    color:#000 !important;

    font-weight:700;

}

.sidebar-box>ul>li>a{

    display:block;

    padding:12px 0;

    text-decoration:none;

    color:#333;

    border-bottom:1px solid #f1f1f1;

    transition:.25s;

}

.sidebar-box>ul>li>a:hover{

    color:#000;

    padding-left:8px;

}
/* ===========================
   MOBILE SHOP FILTER
=========================== */

.mobile-filter-btn,
.mobile-sidebar-header{
    display:none;
}

.shop-sidebar-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:1299;

}

.shop-sidebar-overlay.active{

    opacity:1;

    visibility:visible;

}

.shop-sidebar-overlay.active{
    opacity:1;
    visibility:visible;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:25px;

}

.mobile-sidebar-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:26px;

    border-bottom:1px solid #eee;

}

.browse-label{

    font-size:12px;

    letter-spacing:2px;

    color:#777;

    margin-bottom:6px;

}

.mobile-sidebar-header h2{

    font-size:30px;

    font-weight:700;

    margin:0;

}

.close-sidebar{

    width:42px;

    height:42px;

    border:none;

    background:#f6f6f6;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.25s;

}

.close-sidebar:hover{

    background:#111;

    color:#fff;

}
.all-products-link{

    display:flex;

    align-items:center;

    gap:14px;

    padding:16px 0;

    font-weight:600;

    text-decoration:none;

    color:#111;

    border-bottom:1px solid #eee;

}
.sidebar-box details{

    border-bottom:1px solid #eee;

    padding:8px 0;

}

.sidebar-box summary{

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    padding:18px 0;

    font-weight:600;

    font-size:17px;

}

.summary-icon{

    transition:.3s;

}

details[open] .summary-icon{

    transform:rotate(180deg);

}
.brand-list{

    padding-left:18px;

    margin-bottom:14px;

}

.brand-list a{

    display:block;

    padding:11px 0;

    color:#555;

    text-decoration:none;

    transition:.25s;

}

.brand-list a:hover{

    color:#111;

    padding-left:10px;

}

@media(max-width:768px){

    .shop-layout{
        display:block;
    }
    
    .shop-sort{

        flex:1;
    
    }

    .shop-actions{

        display:flex;
    
        align-items:center;
    
        gap:12px;
    
        margin:20px 0;
    
    }
    

    .mobile-filter-btn{

        display:flex;
    
        align-items:center;
    
        justify-content:center;
    
        gap:10px;
    
        height:48px;
    
        min-width:115px;
    
        padding:0 18px;
    
        border:none;
    
        border-radius:8px;
    
        background:#111;
    
        color:#fff;
    
        font-size:14px;
    
        font-weight:600;
    
        letter-spacing:.5px;
    
        cursor:pointer;
    
        transition:.25s;
    }
    

    .shop-sidebar{

        position:fixed;
    
        top:0;
    
        left:-100%;
    
        width:320px;
    
        max-width:85vw;
    
        height:100vh;
    
        background:#fff;
    
        overflow-y:auto;
    
        transition:.35s ease;
    
        z-index:1300;
    
        padding:0;
    
        box-shadow:18px 0 45px rgba(0,0,0,.15);
    
    }
    
    .shop-sidebar.active{
    
        left:0;
    
    }

    .mobile-sidebar-header{

        display:flex;

        justify-content:space-between;

        align-items:center;

        margin-bottom:20px;
    }

    .mobile-sidebar-header h3{

        margin:0;

        font-size:22px;
    }

    .mobile-sidebar-header button{

        background:none;

        border:none;

        font-size:28px;

        cursor:pointer;
    }
    .mobile-filter-btn:hover{

        background:#222;
    
    }
    
    .mobile-filter-btn i{
    
        font-size:15px;
    
    }

}
.shop-results{

    margin-bottom:25px;

    color:#666;

    font-size:15px;

}
.disabled-page{

    opacity:.45;

    cursor:not-allowed;

    pointer-events:none;

}

.page-dots{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0 6px;

    color:#777;

    font-weight:600;

}
/* ===========================
   SHOP SEARCH
=========================== */

.shop-search{

    margin-bottom:25px;

}

.search-box{

    position:relative;

}

.search-box input{

    width:100%;

    height:52px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 48px 0 45px;

    font-size:15px;

    transition:.3s;

}

.search-box input:focus{

    outline:none;

    border-color:#222;

    box-shadow:0 0 0 3px rgba(0,0,0,.08);

}

.search-icon{

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

.clear-search{

    position:absolute;

    right:14px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    cursor:pointer;

    font-size:18px;

    color:#777;

}
summary{
    list-style:none;
}

summary::-webkit-details-marker{
    display:none;
}
.mobile-sidebar-header{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    padding:28px 24px;

    border-bottom:1px solid #ececec;

    background:#fff;

}

.sidebar-label{

    margin:0;

    font-size:11px;

    letter-spacing:2px;

    color:#888;

    text-transform:uppercase;

}

.mobile-sidebar-header h2{

    margin-top:6px;

    font-size:18px;

    font-weight:700;

}

.close-sidebar{

    width:40px;

    height:40px;

    border:none;

    background:none;

    cursor:pointer;

    font-size:24px;

}
.sidebar-box{

    padding:22px;

}

.sidebar-box ul{

    list-style:none;

    margin:0;

    padding:0;

}

.sidebar-box li{

    border-bottom:1px solid #f2f2f2;

}

.sidebar-box a{

    display:flex;

    align-items:center;

    gap:10px;

    padding:16px 0;

    text-decoration:none;

    color:#222;

    font-size:15px;

    transition:.25s;

}

.sidebar-box a:hover{

    color:#000;

    padding-left:8px;

}

.active-category{

    font-weight:700;

}
.category-group{

    border-bottom:1px solid #f1f1f1;

}

.category-group details{

    width:100%;

}

.category-group summary{

    list-style:none;

    cursor:pointer;

    padding:18px 0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    font-size:15px;

    font-weight:600;

    color:#222;

    transition:.25s;

}

.category-group summary::-webkit-details-marker{

    display:none;

}

.category-group summary:hover{

    color:#000;

}
.category-group summary::after{

    content:"›";

    font-size:22px;

    color:#888;

    transition:.3s;

}

.category-group details[open] summary::after{

    transform:rotate(90deg);

}
.brand-list{

    list-style:none;

    margin:0 0 15px;

    padding-left:18px;

    border-left:2px solid #efefef;

}
.brand-list li{

    border:none;

}

.brand-list a{

    display:block;

    padding:10px 0;

    font-size:14px;

    color:#666;

    text-decoration:none;

    transition:.25s;

}

.brand-list a:hover{

    color:#000;

    padding-left:8px;

}
.active-category{

    color:#000 !important;

    font-weight:700;

}

.active-brand{

    color:#000 !important;

    font-weight:600;

}
.sidebar-box ul{

    margin:0;

    padding:0;

}

.sidebar-box li{

    list-style:none;

}
.category-title{

    font-weight:600;

    font-size:15px;

    color:#222;

}

.brand-list{

    margin-top:8px;

    margin-bottom:18px;

    padding-left:18px;

    border-left:2px solid #efefef;

}

.brand-list a{

    display:block;

    padding:10px 0;

    color:#666;

    font-size:14px;

}

.brand-list a:hover{

    color:#111;

    padding-left:6px;

}

.active-brand{

    color:#000;

    font-weight:600;

}
.size-selector{

    margin:25px 0;

}

.size-selector label{

    display:block;

    font-weight:600;

    margin-bottom:12px;

}

.size-options{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.size-option input{

    display:none;

}

.size-option span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:46px;

    height:46px;

    border:1px solid #ddd;

    cursor:pointer;

    transition:.25s;

    border-radius:8px;

    font-weight:600;

}

.size-option input:checked + span{

    background:#111;

    color:#fff;

    border-color:#111;

}

.size-option span:hover{

    border-color:#111;

}