/* ===============================
   JanelKart Home Products v1.2.1
================================ */

.jk-home-section{
    max-width:1500px;
    margin:48px auto;
    padding:0 18px;
}

.jk-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:22px;
}

.jk-section-head h2{
    color:#08783d;
    font-size:34px;
    line-height:1.12;
    margin:0;
    font-weight:900;
    letter-spacing:-.4px;
}

.jk-section-head p{
    color:#617168;
    margin:7px 0 0;
    font-size:16px;
    line-height:1.5;
}

.jk-show-more{
    background:#08783d;
    color:#fff !important;
    padding:12px 24px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
    white-space:nowrap;
    box-shadow:0 8px 18px rgba(8,120,61,.18);
    transition:.25s ease;
}

.jk-show-more:hover{
    background:#066b36;
    transform:translateY(-2px);
}

.jk-product-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.jk-home-product-card{
    position:relative;
    background:#fff;
    border:1px solid #dceee4;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.25s ease;
}

.jk-home-product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 34px rgba(8,120,61,.13);
}

.jk-home-product-img{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fbf9;
    text-align:center;
    padding:22px;
    height:245px;
}

.jk-home-product-img img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.25s ease;
}

.jk-home-product-card:hover .jk-home-product-img img{
    transform:scale(1.04);
}

.jk-home-product-content{
    padding:20px;
}

.jk-home-product-content h3{
    margin:0 0 13px;
    min-height:52px;
    font-size:18px;
    line-height:1.35;
}

.jk-home-product-content h3 a{
    text-decoration:none;
    color:#111;
    font-weight:900;
}

.jk-home-price{
    font-size:19px;
    font-weight:900;
    margin-bottom:8px;
    color:#111;
}

.jk-home-stock{
    color:#08783d;
    font-weight:900;
    margin-bottom:17px;
}

.jk-home-btn{
    display:block;
    text-align:center;
    background:#0a9a47;
    color:#fff !important;
    padding:13px 14px;
    border-radius:14px;
    text-decoration:none;
    font-weight:900;
    transition:.25s ease;
}

.jk-home-btn:hover{
    background:#067737;
    transform:translateY(-1px);
}

/* Premium Sale Ribbon */

.jk-sale-ribbon{
    position:absolute;
    top:18px;
    left:-46px;
    z-index:20;
    width:170px;
    min-height:36px;
    background:linear-gradient(135deg,#ed1c24,#b60000);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:rotate(-45deg);
    box-shadow:0 8px 18px rgba(237,28,36,.30);
    border-top:1px solid rgba(255,255,255,.25);
    border-bottom:1px solid rgba(0,0,0,.14);
    text-align:center;
}

.jk-sale-ribbon span{
    color:#fff;
    font-size:12px;
    font-weight:900;
    letter-spacing:.25px;
    line-height:1.05;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.jk-sale-ribbon small{
    color:#fff;
    font-size:9px;
    font-weight:900;
    line-height:1;
    letter-spacing:.4px;
}

/* Best Seller Badge */

.jk-best-badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:15;
    background:linear-gradient(135deg,#08783d,#12a85a);
    color:#fff;
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(8,120,61,.28);
}

.jk-empty-products{
    color:#67766d;
    font-weight:700;
}

/* Responsive */

@media(max-width:1100px){
    .jk-product-row{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){

    .jk-home-section{
        padding:0 12px;
        margin:38px auto;
    }

    .jk-section-head{
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        margin-bottom:18px;
    }

    .jk-section-head h2{
        font-size:25px;
        line-height:1.15;
    }

    .jk-section-head p{
        display:none;
    }

    .jk-show-more{
        padding:9px 15px;
        font-size:13px;
        box-shadow:none;
    }

    .jk-product-row{
        grid-template-columns:1fr;
    }

    .jk-home-product-img{
        height:220px;
    }
}
