/*==================================================
    KURUNJI MASALA
    SHOP / E-COMMERCE PAGE
==================================================*/


/*==================================================
    SHOP HERO
==================================================*/

.shop-hero{
    position:relative;
    padding:105px 0;
    background:
        linear-gradient(
            90deg,
            rgba(18,53,36,.72),
            rgba(18,53,36,.42)
        ),
        url("../images/shop/shop-banner.png")
        center/cover no-repeat;
    color:#fff;
}

.shop-hero-content{
    max-width:820px;
}

.shop-hero-content > span{
    display:inline-block;
    margin-bottom:18px;
    padding:8px 18px;
    border:1px solid rgba(255,255,255,.4);
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.shop-hero h1{
    margin:0 0 20px;
    font-size:56px;
    line-height:1.15;
    color:#fff;
}

.shop-hero h1 strong{
    display:block;
    color:#f0c75e;
}

.shop-hero p{
    max-width:680px;
    margin:0 0 28px;
    color:#fff;
    font-size:17px;
    line-height:1.8;
    text-shadow:0 1px 3px rgba(0,0,0,.25);
}


/*==================================================
    BREADCRUMB
==================================================*/

.shop-breadcrumb{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:14px;
}

.shop-breadcrumb a{
    color:#fff;
    text-decoration:none;
}

.shop-breadcrumb a:hover{
    color:#f0c75e;
}

.shop-breadcrumb i{
    font-size:11px;
    opacity:.7;
}

.shop-breadcrumb span{
    color:#f0c75e;
}


/*==================================================
    SHOP SECTION
==================================================*/

.shop-section{
    padding:75px 0 90px;
    background:#fff;
}


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

.shop-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:25px;
    padding-bottom:20px;
    border-bottom:1px solid #e9eee9;
}

.shop-results{
    color:#777;
    font-size:14px;
}

.shop-results strong{
    color:#222;
    font-size:16px;
}

.shop-sort{
    display:flex;
    align-items:center;
    gap:10px;
}

.shop-sort label{
    color:#666;
    font-size:13px;
}

.shop-sort select{
    min-width:180px;
    padding:10px 14px;
    border:1px solid #dfe6e1;
    border-radius:8px;
    outline:none;
    background:#fff;
    color:#444;
    font-family:inherit;
    font-size:13px;
    cursor:pointer;
}

.shop-sort select:focus{
    border-color:var(--primary);
}


/*==================================================
    CATEGORY FILTER
==================================================*/

.shop-filters{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.shop-filter{
    padding:10px 20px;
    border:1px solid #dfe7e1;
    border-radius:30px;
    background:#fff;
    color:#555;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.3s ease;
}

.shop-filter:hover{
    border-color:var(--primary);
    color:var(--primary);
}

.shop-filter.active{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}


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

.shop-product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}


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

.shop-product-card{
    overflow:hidden;
    border:1px solid #e3eae4;
    border-radius:22px;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.04);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.shop-product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 22px 45px rgba(0,0,0,.10);
}


/*==================================================
    PRODUCT IMAGE
==================================================*/

.shop-product-image{
    position:relative;
    height:300px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    background:#f8faf7;
    overflow:hidden;
}

.shop-product-image img{
    width:auto;
    max-width:82%;
    height:240px;
    object-fit:contain;
    display:block;
    transition:transform .4s ease;
}

.shop-product-card:hover
.shop-product-image img{
    transform:scale(1.05);
}


/*==================================================
    PRODUCT BADGE
==================================================*/

.product-badge{
    position:absolute;
    top:18px;
    left:18px;
    z-index:2;
    padding:7px 12px;
    border-radius:20px;
    background:#f5ead0;
    color:#8a6500;
    font-size:10px;
    font-weight:700;
    letter-spacing:.7px;
}


/*==================================================
    WISHLIST
==================================================*/

.wishlist-btn{
    position:absolute;
    top:15px;
    right:15px;
    z-index:2;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e1e8e2;
    border-radius:50%;
    background:#fff;
    color:#666;
    font-size:16px;
    cursor:pointer;
    transition:.3s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active{
    background:#fff;
    color:#c43d3d;
    border-color:#f0caca;
}


/*==================================================
    PRODUCT CONTENT
==================================================*/

.shop-product-content{
    padding:25px;
}

.shop-product-category{
    color:#8a6500;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
}

.shop-product-content h2{
    margin:7px 0 3px;
    color:#222;
    font-size:21px;
    line-height:1.35;
}

.product-size{
    margin:0 0 12px;
    color:#777;
    font-size:13px;
}


/*==================================================
    RATING
==================================================*/

.shop-rating{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:15px;
}

.shop-rating span{
    color:#e5a72b;
    font-size:13px;
    letter-spacing:1px;
}

.shop-rating small{
    color:#999;
    font-size:10px;
}


/*==================================================
    PRICE
==================================================*/

.shop-price{
    display:flex;
    align-items:baseline;
    gap:8px;
    margin-bottom:20px;
}

.shop-price strong{
    color:#222;
    font-size:25px;
    font-weight:700;
}

.shop-price span{
    color:#888;
    font-size:11px;
}


/*==================================================
    CARD ACTIONS
==================================================*/

.shop-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.add-cart-btn,
.buy-now-btn{
    min-height:44px;
    padding:10px 12px;
    border-radius:8px;
    font-family:inherit;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:.3s ease;
}

.add-cart-btn{
    border:1px solid var(--primary);
    background:#fff;
    color:var(--primary);
}

.add-cart-btn:hover{
    background:var(--primary);
    color:#fff;
}

.buy-now-btn{
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
}

.buy-now-btn:hover{
    opacity:.9;
    transform:translateY(-1px);
}


/*==================================================
    NO RESULTS
==================================================*/

.shop-no-results{
    display:none;
    padding:70px 20px;
    text-align:center;
}

.shop-no-results.show{
    display:block;
}

.shop-no-results > i{
    margin-bottom:15px;
    color:#aaa;
    font-size:45px;
}

.shop-no-results h3{
    margin:0 0 8px;
    color:#333;
    font-size:22px;
}

.shop-no-results p{
    margin:0;
    color:#777;
    font-size:14px;
}


/*==================================================
    BENEFITS
==================================================*/

.shop-benefits{
    padding:55px 0;
    background:#f8faf7;
}

.shop-benefits-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.shop-benefit{
    display:flex;
    align-items:center;
    gap:14px;
    padding:22px 18px;
    border:1px solid #e1e8e2;
    border-radius:17px;
    background:#fff;
}

.shop-benefit > i{
    width:45px;
    height:45px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:#eef8ef;
    color:var(--primary);
    font-size:18px;
}

.shop-benefit h3{
    margin:0 0 4px;
    color:#222;
    font-size:15px;
}

.shop-benefit p{
    margin:0;
    color:#888;
    font-size:11px;
    line-height:1.5;
}


/*==================================================
    CART COUNT
==================================================*/

.cart-action{
    position:relative;
}

.cart-count{
    position:absolute;
    top:-7px;
    right:-8px;
    min-width:19px;
    height:19px;
    padding:0 5px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#d84a3a;
    color:#fff;
    font-size:10px;
    font-weight:700;
}


/*==================================================
    ANIMATION
==================================================*/

.shop-product-card{
    animation:shopCardIn .5s ease both;
}

@keyframes shopCardIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


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

@media(max-width:1100px){

    .shop-product-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .shop-benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:992px){

    .shop-hero{
        padding:90px 0;
    }

    .shop-hero h1{
        font-size:46px;
    }

}


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

@media(max-width:768px){

    .shop-hero{
        padding:70px 0;
    }

    .shop-hero-content{
        text-align:center;
        margin:0 auto;
    }

    .shop-hero h1{
        font-size:36px;
    }

    .shop-hero p{
        font-size:15px;
    }

    .shop-breadcrumb{
        justify-content:center;
    }

    .shop-section{
        padding:60px 0 70px;
    }

    .shop-toolbar{
        align-items:flex-start;
        flex-direction:column;
    }

    .shop-sort{
        width:100%;
    }

    .shop-sort select{
        flex:1;
    }

    .shop-product-grid{
        grid-template-columns:1fr;
        max-width:600px;
        margin:0 auto;
    }

    .shop-product-image{
        height:280px;
    }

    .shop-benefits-grid{
        grid-template-columns:1fr;
    }

}


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

@media(max-width:480px){

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

    .shop-hero-content > span{
        font-size:11px;
    }

    .shop-filters{
        justify-content:flex-start;
    }

    .shop-filter{
        padding:9px 14px;
        font-size:12px;
    }

    .shop-product-content{
        padding:20px;
    }

    .shop-product-image{
        height:240px;
    }

    .shop-product-image img{
        height:195px;
    }

    .shop-card-actions{
        grid-template-columns:1fr;
    }

}
/* Added to cart state */

.add-cart-btn.added{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}