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

.anv_container{
      display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    padding:10px;

    background:#fff;
}

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

.anv_card{
  width:100%;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:18px;
    overflow:hidden;
    position:relative;
    transition:.35s ease;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
    
}

.anv_card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.16);
}

/*=============================
       DISCOUNT BADGE
=============================*/

.anv_discount{
    position:absolute;
    top:0;
    left:0;
    width:40px;
    height:54px;
    background:#215b4d;
    color:#fff;
    border-radius:0 0 18px 0;
    z-index:20;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.anv_discount span{
    font-size:12px;
    font-weight:700;
    line-height:15px;
}

.anv_discount small{
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
}

/*=============================
      BEST SELLER
=============================*/

.anv_bestSeller{
    position:absolute;
    top:8px;
    right:0;
    background:#d89b16;
    color:#fff;
    padding:4px 8px;
    border-radius:16px 0 0 16px;
    font-size:10px;
    font-weight:700;
    z-index:20;
    display:flex;
    gap:6px;
    align-items:center;
}

/*=============================
        IMAGE AREA
=============================*/

.anv_imageBox{
    width:100%;
    height:260px;          /* Card-এর প্রায় 70% */
    padding:0;             /* কোনো padding থাকবে না */
    margin:0;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#fff;

}

/* Image পুরো area জুড়ে থাকবে */
.anv_image{
    width:100%;
    height:100%;
    object-fit:contain;    /* পুরো image দেখা যাবে */
    object-position:center;
    display:block;
    transition:.35s ease;
      filter:none !important;
    box-shadow:none !important;
}

.anv_card:hover .anv_image{
    transform:scale(1.05);
}

/*=============================
      SELLING FAST
=============================*/

.anv_fast{
    position:absolute;
    left:12px;
    top:258px;
    background:#cfefff;
    color:#0f4963;
    padding:7px 14px;
    border-radius:9px;
    font-size:14px;
    font-weight:700;
    display:flex;
    gap:7px;
    align-items:center;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
    z-index:25;
}

 .anv_fast i{
    color:#003f8a;
    display:inline-block;
    animation:boltShake .45s infinite;
    transform-origin:center;
}

@keyframes boltShake{

    0%,100%{
        transform:rotate(0deg);
    }

    25%{
        transform:rotate(-12deg);
    }

    50%{
        transform:rotate(12deg);
    }

    75%{
        transform:rotate(-8deg);
    }

}


/*=============================
          BODY
=============================*/

.anv_body{
    position:relative;
    padding:18px;
    padding-top:60px;
    background:#fff;
}

/*=============================
     FLOATING ADD BUTTON
=============================*/

.anv_addWrap{
   position:absolute;
    right:14px;
    top:15px;   /* আগে -28px ছিল */
    z-index:20;
}

.anv_addBtn{
    width:95px;
    height:35px;
    border:none;
    border-radius:14px;
    background:#215b4d;
    color:#fff;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    font-size:15px;
    font-weight:500;
    transition:.3s;
    box-shadow:0 8px 16px rgba(0,0,0,.16);
}

.anv_addBtn:hover{
    background:#18463a;
    transform:translateY(-2px);
}

.anv_addBtn i{
    font-size:16px;
}

/*=============================
      PRODUCT NAME
=============================*/

.anv_name{
    margin:0 0 2px 0;
    color:#222;
    font-size:18px;
    line-height:28px;
    font-weight:600;
min-height:auto;   

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

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

    .anv_container{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

}

/*==========================
    MOBILE HORIZONTAL SCROLL
==========================*/
@media (max-width:768px){

    .anv_container{
        display:flex;
        flex-wrap:nowrap;
        gap:12px;
        padding:10px;

        overflow-x:auto;
        overflow-y:hidden;

        scroll-behavior:smooth;
        -webkit-overflow-scrolling:touch;

        scrollbar-width:thin;                 /* Firefox */
        scrollbar-color:#999 #ececec;
    }

    /* Chrome, Edge */
    .anv_container::-webkit-scrollbar{
        height:6px;
    }

    .anv_container::-webkit-scrollbar-track{
        background:#ececec;
        border-radius:20px;
    }

    .anv_container::-webkit-scrollbar-thumb{
        background:#888;
        border-radius:20px;
    }

    .anv_container::-webkit-scrollbar-thumb:hover{
        background:#555;
    }

    .anv_card{
        flex:0 0 calc(50% - 6px);   /* এক স্ক্রিনে ২টা Card */
        max-width:calc(50% - 6px);
    }

    .anv_imageBox{
        height:170px;
    }

    .anv_image{
        width:100%;
        height:100%;
        object-fit:contain;
    }

    .anv_fast{
        top:168px;
        left:8px;
        font-size:11px;
        padding:4px 8px;
    }


  .anv_fast i{
    color:#003f8a;
    display:inline-block;
    animation:boltShake .45s infinite;
    transform-origin:center;
}

@keyframes boltShake{

    0%,100%{
        transform:rotate(0deg);
    }

    25%{
        transform:rotate(-12deg);
    }

    50%{
        transform:rotate(12deg);
    }

    75%{
        transform:rotate(-8deg);
    }

}

    .anv_body{
        padding:10px;
        padding-top:45px;
    }

    .anv_addBtn{
        width:78px;
        height:34px;
        font-size:13px;
    }

    .anv_name{
        font-size:14px;
        line-height:19px;
    }
}



/*=====================================
        RATING SECTION
======================================*/

.anv_rating{
    display:flex;
    align-items:center;
    gap:5px;
    margin-top:10px;
    margin-bottom:14px;
    font-size:15px;
}

.anv_rating i{
    color:#ffb400;
    font-size:15px;
}

.anv_rate{
    color:#222;
    font-weight:700;
}

.anv_review{
    color:#666;
    font-size:14px;
}

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

.anv_priceRow{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin-top:8px;
    gap:8px;
}

.anv_price{
    font-size:25px;
    font-weight:800;
    color:#111;
    line-height:1;
}

.anv_oldPrice{
    color:#8b8b8b;
    text-decoration:line-through;
    font-size:18px;
    margin-right:auto;
    align-self:flex-start;
    padding-top:10px;
}

/*=====================================
        FIRE BADGE
======================================*/

.anv_order{
    background:#d79b10;
    color:#fff;
    padding:5px 14px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    box-shadow:0 3px 10px rgba(215,155,16,.35);
}

/*=====================================
        OFFER STRIP
======================================*/

.anv_offer{
    margin-top:10px;
    background:#eef8ef;
    border:1px solid #d9ecd8;
    border-radius:8px;

    display:flex;
    align-items:center;
    gap:5px;

    padding:4px 8px;      /* Height কম */
    min-height:28px;      /* চিকন লাইন */

    white-space:nowrap;   /* এক লাইনে থাকবে */
    overflow:hidden;
}

.anv_offer i{
    color:#0b7c3a;
    font-size:12px;
}

.anv_offer strong{
    font-size:12px;
    font-weight:700;
    color:#0b7c3a;
}

.anv_offer span{
    font-size:11px;
    color:#5d5d5d;
    overflow:hidden;
    text-overflow:ellipsis;
}

/*=====================================
        HOVER EFFECT
======================================*/

.anv_card:hover .anv_price{
    color:#0d6b4d;
}

.anv_card:hover .anv_offer{
    background:#e4f7e7;
}

.anv_card:hover .anv_discount{
    background:#095843;
}

.anv_card:hover .anv_bestSeller{
    background:#c98b07;
}

/*=====================================
        IMAGE EFFECT
======================================*/

.anv_image{
    filter:drop-shadow(0 8px 14px rgba(0,0,0,.12));
}

.anv_card:hover .anv_image{
    transform:scale(1.05);
}

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

@media(max-width:768px){

.anv_price{
    font-size:25px;
}

.anv_oldPrice{
    font-size:16px;
}

.anv_order{
    font-size:13px;
    padding:4px 12px;
}

.anv_offer{
    font-size:13px;
}

.anv_review{
    font-size:13px;
}

}


/*=============================
    WHY CHOOSE SECTION
==============================*/

.whySection{
    width:100%;
    padding:40px 10px;
    background:#fff;
}

.whySection .container{
    max-width:1250px;
    margin:auto;
}

.whyTitle{
    text-align:center;
    font-size:30px;
    font-weight:600;
    color:#214f3b;
    margin-bottom:70px;
    font-family:Georgia,serif;
}

.whyGrid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.whyCard{
    text-align:center;
    padding:10px 15px;
}

.whyIcon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:25px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.whyIcon i{
    font-size:72px;
    color:#245b46;
}

.whyCard h3{
    margin:0 0 12px;
    font-size:18px;
    color:#214f3b;
    font-weight:700;
    font-family:Georgia,serif;
    line-height:32px;
}

.whyCard p{
    margin:0;
    font-size:16px;
    color:#5d5d5d;
    line-height:34px;
    font-family:'Segoe UI',sans-serif;
}

/*==============================
      Tablet
==============================*/

@media(max-width:992px){

.whyGrid{
grid-template-columns:repeat(2,1fr);
gap:45px;
}

.whyTitle{
font-size:38px;
}

}

/*==============================
      Mobile
==============================*/

@media(max-width:576px){

.whySection{
padding:50px 15px;
}

.whyGrid{
grid-template-columns:1fr;
gap:45px;
}

.whyTitle{
font-size:32px;
margin-bottom:45px;
}

.whyIcon{
width:75px;
height:75px;
}

.whyIcon i{
font-size:58px;
}

.whyCard h3{
font-size:24px;
}

.whyCard p{
font-size:18px;
line-height:30px;
}

}



/*==============================
customer feedback
==============================*/



/*=====================================================
            TESTIMONIAL SECTION
======================================================*/

.ts_section{
    width:100%;
    padding:70px 0 90px;
    background:#fff;
    overflow:hidden;
}

.ts_title{
    text-align:center;
    font-family:Georgia,serif;
    font-size:48px;
    font-weight:700;
    color:#233b5e;
    margin:0 0 55px;
}

.testimonialSwiper{
    width:96%;
    margin:auto;
    padding-bottom:85px !important;
}

.swiper-wrapper{
    align-items:stretch;
}

.swiper-slide{
    display:flex;
    height:auto;
}

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

.ts_card{

    width:100%;
    height:265px;

    background:#fff;

    border:1px solid #dce7f2;

    border-radius:22px;

    padding:22px 22px 18px;

    position:relative;

    overflow:hidden;

    box-sizing:border-box;

    transition:.35s;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.ts_card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

/*=====================================================
                  REVIEW
======================================================*/

.ts_review{

    margin:0;

    color:#555;

    font-size:16px;

    line-height:32px;

    height:118px;

    overflow:hidden;

}

/*=====================================================
                PROFILE
======================================================*/

.ts_bottom{

    position:absolute;

    left:22px;

    right:22px;

    bottom:18px;

    display:flex;

    align-items:center;

    gap:14px;

}

.ts_bottom img{

    width:56px;

    height:56px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #e3e3e3;

    background:#fff;

    flex-shrink:0;

}

.ts_bottom div{

    display:flex;

    flex-direction:column;

}

.ts_bottom h4{

    margin:0;

    font-size:17px;

    color:#233b5e;

    font-family:Georgia,serif;

    font-weight:700;

    line-height:22px;

}

.stars{

    color:#f6b000;

    font-size:15px;

    letter-spacing:2px;

    margin-top:5px;

}

/*=====================================================
                PAGINATION
======================================================*/

.swiper-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:8px;

    bottom:8px !important;

}

.swiper-pagination-bullet{

    width:9px;

    height:9px;

    background:#d5d5d5;

    opacity:1;

    margin:0 !important;

}

.swiper-pagination-bullet-active{

    background:#2f8a74;

    transform:scale(1.15);

}

/*=====================================================
                  ARROWS
======================================================*/

.swiper-button-prev,
.swiper-button-next{

    width:44px !important;

    height:44px !important;

    border:2px solid #2f8a74;

    border-radius:50%;

    background:#fff;

    color:#2f8a74 !important;

    top:auto !important;

    bottom:0 !important;

    margin-top:0;

    transition:.3s;

}

.swiper-button-prev{

    left:calc(50% - 95px) !important;

}

.swiper-button-next{

    right:calc(50% - 95px) !important;

}

.swiper-button-prev:after,
.swiper-button-next:after{

    font-size:16px !important;

    font-weight:bold;

}

.swiper-button-prev:hover,
.swiper-button-next:hover{

    background:#2f8a74;

    color:#fff !important;

}

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

@media(max-width:991px){

.ts_title{

font-size:36px;

}

.ts_card{

height:280px;

}

.ts_review{

font-size:15px;

line-height:30px;

height:122px;

}

}

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

@media(max-width:767px){

.ts_section{

padding:50px 0 80px;

}

.ts_title{

font-size:28px;

margin-bottom:30px;

}

.testimonialSwiper{

width:94%;

}

.ts_card{

height:auto;

padding:18px;

}

.ts_review{

height:auto;

font-size:15px;

line-height:28px;

margin-bottom:20px;

}

.ts_bottom{

position:static;

margin-top:10px;

}

.ts_bottom img{

width:52px;

height:52px;

}

.ts_bottom h4{

font-size:16px;

}

.stars{

font-size:14px;

}

.swiper-button-prev,
.swiper-button-next{

display:none;

}

}



/*=============================
    CERTIFICATION SECTION
=============================*/

.certificationSection{
    width:100%;
    overflow:hidden;
    background:#fff;
    padding:25px 0;
}

.certificationWrap{
    display:flex;
    align-items:center;
    gap:40px;
}

.certificationItem{
    flex:0 0 auto;
}

.certificationItem img{
    width:110px;
    height:auto;
    display:block;
}

/*=============================
      DESKTOP
=============================*/

@media (min-width:769px){

.certificationWrap{
    justify-content:space-evenly;
    animation:none;
}

}

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

@media (max-width:768px){

.certificationWrap{

    width:max-content;

    animation:logoScroll 18s linear infinite;

}

.certificationItem{

    width:110px;

}

.certificationItem img{

    width:90px;

}

}

@keyframes logoScroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}




