/*==================================================
    KURUNJI MASALA
    PRODUCTS PAGE
==================================================*/


/*==================================================
    PRODUCTS HERO
==================================================*/

.products-hero{

    position:relative;

    padding:110px 0;

    background:
        linear-gradient(
            90deg,
            rgba(18,53,36,.68),
            rgba(18,53,36,.34)
        ),
        url("../images/products/products-banner.png")
        center/cover no-repeat;

    color:#fff;

}


.products-hero-content{

    max-width:800px;

}


.products-hero-content > span{

    display:inline-block;

    margin-bottom:18px;

    padding:8px 18px;

    border:1px solid rgba(255,255,255,.45);

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    letter-spacing:1px;

}


.products-hero h1{

    margin:0 0 22px;

    font-size:56px;

    line-height:1.15;

    font-weight:700;

    color:#fff;

}


.products-hero h1 strong{

    display:block;

    color:#f0c75e;

    font-weight:700;

}


.products-hero p{

    max-width:650px;

    margin-bottom:30px;

    font-size:18px;

    line-height:1.8;

    color:#fff;

    text-shadow:0 1px 3px rgba(0,0,0,.25);

}


/*==================================================
    BREADCRUMB
==================================================*/

.products-hero .breadcrumb{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:15px;

}


.products-hero .breadcrumb a{

    color:#fff;

    transition:.3s;

}


.products-hero .breadcrumb a:hover{

    color:#f0c75e;

}


.products-hero .breadcrumb i{

    font-size:12px;

    opacity:.7;

}


.products-hero .breadcrumb span{

    color:#f0c75e;

}


/*==================================================
    PRODUCT INTRO
==================================================*/

.products-intro{

    padding:100px 0 50px;

    background:#fff;

}


.products-intro .section-header{

    max-width:760px;

    margin:0 auto;

    text-align:center;

}


.products-intro .section-header > span{

    display:inline-block;

    margin-bottom:15px;

    padding:8px 18px;

    border-radius:30px;

    background:#f5ead0;

    color:#8a6500;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

}


.products-intro .section-header h2{

    margin:0 0 18px;

    font-size:44px;

    line-height:1.2;

    color:#222;

}


.products-intro .section-header p{

    margin:0 auto;

    max-width:680px;

    font-size:16px;

    line-height:1.8;

    color:#666;

}


/*==================================================
    HERO ANIMATION
==================================================*/

.products-hero-content{

    opacity:0;

    transform:translateY(30px);

    transition:1s ease;

}


.products-hero.show .products-hero-content{

    opacity:1;

    transform:translateY(0);

}


/*==================================================
    TABLET
==================================================*/

@media(max-width:992px){

    .products-hero{

        padding:90px 0;

    }


    .products-hero h1{

        font-size:46px;

    }


    .products-intro{

        padding:80px 0 40px;

    }


    .products-intro .section-header h2{

        font-size:38px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:768px){

    .products-hero{

        padding:70px 0;

    }


    .products-hero-content{

        text-align:center;

        margin:auto;

    }


    .products-hero h1{

        font-size:36px;

    }


    .products-hero p{

        font-size:16px;

    }


    .products-hero .breadcrumb{

        justify-content:center;

    }


    .products-intro{

        padding:70px 0 35px;

    }


    .products-intro .section-header h2{

        font-size:32px;

    }


    .products-intro .section-header p{

        font-size:15px;

    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media(max-width:480px){

    .products-hero h1{

        font-size:30px;

    }


    .products-hero-content > span{

        font-size:12px;

    }


    .products-intro .section-header h2{

        font-size:29px;

    }

}
/*==================================================
    PRODUCT COLLECTION
==================================================*/

.products-collection{
    padding:50px 0 100px;
    background:#fff;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
    align-items:stretch;
}


/*==================================================
    PRODUCT CARD
==================================================*/

.product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    background:#fff;
    border:1px solid #e8eee9;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
    transition:transform .35s ease,
               box-shadow .35s ease,
               border-color .35s ease;
}

.product-card:hover{
    transform:translateY(-10px);
    border-color:rgba(31,107,45,.20);
    box-shadow:0 25px 50px rgba(0,0,0,.11);
}


/*==================================================
    PRODUCT IMAGE
==================================================*/

.product-card-image{
    position:relative;
    height:280px;
    padding:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8faf7;
    overflow:hidden;
}

.product-card-image img{
    width:auto;
    max-width:85%;
    height:230px;
    object-fit:contain;
    display:block;
    transition:transform .45s ease;
}

.product-card:hover .product-card-image img{
    transform:scale(1.06);
}


/*==================================================
    STATUS BADGE
==================================================*/

.product-status{
    position:absolute;
    top:18px;
    right:18px;
    z-index:2;
    padding:7px 14px;
    border-radius:30px;
    background:#1f6b2d;
    color:#fff;
    font-size:12px;
    font-weight:600;
    letter-spacing:.3px;
}

.product-status.coming-soon{
    background:#d89b20;
}


/*==================================================
    PRODUCT CONTENT
==================================================*/

.product-card-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:28px;
}

.product-category{
    display:inline-block;
    margin-bottom:10px;
    color:#8a6500;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.2px;
}

.product-card-content h3{
    margin:0 0 12px;
    color:#222;
    font-size:23px;
    line-height:1.3;
}

.product-card-content p{
    margin:0 0 22px;
    color:#666;
    font-size:15px;
    line-height:1.75;
}


/*==================================================
    PRODUCT LINK
==================================================*/

.product-link{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    color:var(--primary);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    transition:.3s ease;
}

.product-link i{
    transition:.3s ease;
}

.product-link:hover{
    color:#174f23;
}

.product-link:hover i{
    transform:translateX(5px);
}

.product-link.disabled{
    color:#999;
    cursor:default;
}

.product-link.disabled:hover{
    color:#999;
}


/*==================================================
    TABLET
==================================================*/

@media(max-width:1100px){

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:768px){

    .products-collection{
        padding:40px 0 70px;
    }

    .products-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .product-card-image{
        height:260px;
    }

    .product-card-image img{
        height:215px;
        max-width:80%;
    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media(max-width:480px){

    .product-card-image{
        height:240px;
    }

    .product-card-image img{
        height:200px;
    }

    .product-card-content{
        padding:24px 20px;
    }

    .product-card-content h3{
        font-size:21px;
    }

}
/*==================================================
    PRODUCT FILTER
==================================================*/

.product-filter{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin:0 auto 45px;

}

.filter-btn{

    border:1px solid #dfe7e1;

    background:#fff;

    color:#555;

    padding:11px 24px;

    border-radius:30px;

    font-family:inherit;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.3s ease;

}

.filter-btn:hover{

    border-color:var(--primary);

    color:var(--primary);

}

.filter-btn.active{

    background:var(--primary);

    border-color:var(--primary);

    color:#fff;

}


/* FILTER ANIMATION */

.product-card.filter-hide{

    display:none;

}

.product-card.filter-show{

    animation:productFilterShow .45s ease;

}

@keyframes productFilterShow{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* MOBILE */

@media(max-width:480px){

    .product-filter{

        gap:8px;

        margin-bottom:35px;

    }

    .filter-btn{

        padding:9px 17px;

        font-size:13px;

    }

}