/* =====================================
   VEDAPULSE - CONCERN PRODUCTS
   PREMIUM PRODUCT CARDS
===================================== */

.vp-products-section{
    width:100%;
    background:#fff;
    padding:30px 0 34px;
    box-sizing:border-box;
}

.vp-products-container{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 18px;
    box-sizing:border-box;
}

.vp-products-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.vp-products-header h2{
    margin:0;
    color:#111827;
    font-size:31px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:-.4px;
}

.vp-products-view-all{
    color:#d47a54;
    font-size:14px;
    text-decoration:none;
    font-weight:500;
}

.vp-products-view-all:hover{
    color:#a95738;
    text-decoration:underline;
}

.vp-products-carousel-wrap{
    position:relative;
    width:100%;
}

.vp-products-track{
    width:100%;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 36px) / 4);
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    padding:2px 0 5px;
    box-sizing:border-box;
}

.vp-products-track::-webkit-scrollbar{
    display:none;
}

.vp-product-card{
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:6px;
    display:flex;
    flex-direction:column;
    scroll-snap-align:start;
    box-sizing:border-box;
}

.vp-product-rating-row{
    min-height:31px;
    padding:6px 7px 4px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:5px;
    box-sizing:border-box;
}

.vp-product-rating{
    color:#202020;
    font-size:12px;
    line-height:1;
    white-space:nowrap;
}

.vp-star{
    color:#88aa35;
    font-size:15px;
    vertical-align:-1px;
}

.vp-review-count{
    color:#333;
}

.vp-discount-badge{
    background:#dcebc1;
    color:#111;
    border-radius:2px;
    padding:3px 5px;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
}

.vp-product-image-link{
    display:block;
    text-decoration:none;
}

.vp-product-image{
    width:100%;
    aspect-ratio:1 / .93;
    background:#f2f2f2;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.vp-product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    transition:transform .25s ease;
}

.vp-product-card:hover .vp-product-image img{
    transform:scale(1.025);
}

.vp-product-content{
    padding:9px 7px 7px;
    flex:1 1 auto;
}

.vp-product-title{
    margin:0 0 10px;
    min-height:38px;
    font-size:14px;
    line-height:1.35;
    font-weight:500;
}

.vp-product-title a{
    color:#202020;
    text-decoration:none;
}

.vp-product-title a:hover{
    color:#4f7f20;
}

.vp-product-price{
    min-height:28px;
    display:flex;
    align-items:center;
    gap:7px;
    color:#111;
    font-size:19px;
    font-weight:700;
}

.vp-product-price del{
    color:#999;
    font-size:13px;
    font-weight:400;
}

.vp-product-price ins{
    text-decoration:none;
    color:#111;
}

.vp-product-coins{
    min-height:27px;
    margin-top:5px;
    display:flex;
    align-items:center;
    gap:4px;
    width:max-content;
    max-width:100%;
    padding:4px 6px;
    border-radius:5px;
    background:#f0f4e5;
    color:#55622e;
    font-size:10px;
    white-space:nowrap;
    box-sizing:border-box;
}

.vp-coin-icon{
    color:#e4b500;
    font-size:12px;
}

.vp-product-delivery{
    margin-top:7px;
    min-height:24px;
    padding:5px 7px;
    display:flex;
    align-items:center;
    gap:4px;
    border-radius:3px;
    background:#f2f2f2;
    color:#777;
    font-size:9px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.vp-delivery-icon{
    color:#777;
}

.vp-product-buy-row{
    display:flex;
    height:40px;
    margin-top:auto;
}

.vp-product-cart{
    width:37%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#333;
    color:#fff;
    text-decoration:none;
}

.vp-product-cart:hover{
    background:#242424;
    color:#fff;
}

.vp-product-cart svg{
    width:28px;
    height:28px;
}

.vp-product-buy{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#80a832;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:700;
    letter-spacing:.6px;
}

.vp-product-buy:hover{
    background:#6d9229;
    color:#fff;
}

.vp-products-arrow{
    position:absolute;
    top:50%;
    width:34px;
    height:34px;
    margin-top:-17px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#777;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:5;
    box-shadow:0 1px 5px rgba(0,0,0,.08);
}

.vp-products-arrow:hover{
    color:#4f7f20;
    box-shadow:0 2px 8px rgba(0,0,0,.14);
}

.vp-products-arrow svg{
    width:22px;
    height:22px;
}

.vp-products-prev{
    left:-32px;
}

.vp-products-next{
    right:-32px;
}

.vp-products-bottom-link{
    padding-top:28px;
    text-align:center;
}

.vp-products-bottom-link a{
    color:#d47a54;
    font-size:14px;
    text-decoration:underline;
    text-underline-offset:2px;
}

.vp-products-bottom-link a:hover{
    color:#a95738;
}

/* TABLET */
@media (max-width:1100px){

    .vp-products-container{
        max-width:1100px;
    }

    .vp-products-track{
        grid-auto-columns:calc((100% - 24px) / 3);
    }

    .vp-products-prev{
        left:-16px;
    }

    .vp-products-next{
        right:-16px;
    }
}

/* MOBILE */
@media (max-width:767px){

    .vp-products-section{
        padding:24px 0 28px;
    }

    .vp-products-container{
        padding:0 14px;
    }

    .vp-products-header{
        margin-bottom:16px;
    }

    .vp-products-header h2{
        font-size:23px;
    }

    .vp-products-track{
        grid-auto-columns:calc((100% - 10px) / 2);
        gap:10px;
    }

    .vp-product-title{
        font-size:13px;
    }

    .vp-product-price{
        font-size:17px;
    }

    .vp-product-coins{
        font-size:9px;
    }

    .vp-product-buy-row{
        height:38px;
    }

    .vp-product-buy{
        font-size:13px;
    }

    .vp-products-arrow{
        width:30px;
        height:30px;
        margin-top:-15px;
    }

    .vp-products-prev{
        left:-5px;
    }

    .vp-products-next{
        right:-5px;
    }
}

@media (max-width:480px){

    .vp-products-track{
        grid-auto-columns:82%;
    }

    .vp-products-arrow{
        display:none;
    }
}
