@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root{
    --mainColor:#20bcaf;
    --white:#fff;
    --productTitle: #565765;
    --btnHoverBackgound: #d8d400;
    --btnHoverColor: #000000;
    --cartMain: #dddddd;
}
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

h1,h2{
    font-family: "Hind Siliguri", serif;
    font-weight: 500;
    font-style: normal;
}
ul{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
a{
    text-decoration: none;
}
body{
    position: relative;
    background-color: #f5f6f7;
}
header{
    padding: 10px 0;
    display: grid;
    grid-template-columns: 170px auto 150px;
    grid-template-areas:
    "logo search cart"
    "menu menu menu";
    align-items: center;
}
.search-middle{
    margin: 0px 30px;
}
main{
    margin-bottom: 10px;
}
.menu-head{
    display: none;
}
.logo a{
    grid-area: logo;
    font-family: "lato"  sans-serif;
}

/* Search Input Css Code Start */

.search-middle{
    grid-area: search !important;
    position: relative;
    margin-top: 10px;
}
.search{
    border-radius: 10px;
    padding: 0 10px;
    border: 1px solid gray;
    width: 100%;
    line-height: 35px;
    background-color: transparent;
    outline: none;

}


#search:focus{
    border: 2px solid #20bcaf !important;
}

.search-btn{
background-color: transparent;
position: absolute;
height: 33px;
width: 33px;
top: 3px;
right: 10px;
border: 0px;

}

.logo img{
    max-width: 150px !important;
}
/* search input css code end */

.cart{
    margin-left: 10px;
    grid-area: cart;
    font-size: 25px;
}
.cart a{
    font-size: 30px;
    color: black;
    text-decoration: none;
    position: relative;
    display: flex;
}
.cart i{
    width: 38px;
    height: 38px;
    line-height: 38px;
    color: #555;
    background-color: #f5f5f5;
    font-size: 15px;
    text-align: center;
    border-radius: 50%;
    transition: all .3s ease;
    background-color: var(--cartMain);
}
.cart i:hover{
    background-color: var(--mainColor);
    transition: all .3s ease
}
.cart sup{
    font-family: "Hind Siliguri", serif;
    font-weight: 600;
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 20px;
    border-radius: 50%;
    background: var(--mainColor);
    border: 2px solid white;
}

.cart a .cartPrice{
    margin-top: 12px;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
    margin-left: 12px;
}
.cart a .cartPrice p{
font-family: "Hind Siliguri", serif;
font-weight: 500;
padding: 0px;
margin: 0px;
}


.sidebar{
    box-shadow: 0 1rem 3rem rgba(0,0,0, .175) !important;
}


.togglebtn{
    display: none;
    grid-area: togglebtn;
}
.togglebtn i{
    width: 40px;
    height: 40px;
    color: #555;
    background-color: #f5f5f5;
    transition: all .5s ease;
}
.togglebtn i:hover{
    background-color: var(--mainColor);
    transition: all .5s ease;
}


.logo img{
    max-height: 50px;
}

nav{
    background-color: var(--mainColor);
}
.nav{
    display: flex;
    justify-content: center;
}
.nav li a{
    font-size: 18px;
    line-height: 40px;
    padding: 0 10px;
    text-decoration: none;
    color: aliceblue;
    font-weight: 500;
}

.menu-head img{
    width: auto;
    height: 40px;
}
.contant-cart{
    width: 100%;
}
.contant-cart p{
    margin: 0px;
    padding: 0px;
}

.close{
    background-color: var(--mainColor);
    color: var(--white);
    text-align: center;
    align-content: center;
    height: 30px;
    width: 30px;
    background-color: var(--mainColor);
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: 20px;
}
.close i{
    color: black;
}

.card{
    border-radius: 8px;
    padding: 5px;
    overflow: hidden;
    box-shadow:2px .3rem .3rem   rgba(112, 112, 112, 0.175);
}
.card:hover{
    border: 1px solid var(--mainColor);
    box-shadow:2px .5rem .5rem   rgba(88, 88, 88, 0.175);
}
.card .card-body{
    padding:0;
    z-index: 100;
}
.card .card-body .card-title{
    text-decoration: none;
    color: var(--productTitle);
    transition: all .5s ease;
}
.card .card-body:hover  .card-title{
    color: var(--mainColor);
    transition: all .5s ease;
}
.pricing{
    display: flex;
    justify-content: center;
    gap: 8px;
}
.card-text{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    color: var(--mainColor);
}
.card img{
    transition: all .5s ease;
    z-index: 99;
}
a[rel="products"]:hover + .card-body .card-title{
    color: var(--mainColor);
}

.card-title{
    padding: 0;
    margin: 0;
    text-align: center;
    font-family: "Rubik", sans-serif;
    line-height: 22px;
    font-size:14px;
}
.addToCart{
    line-height: 35px;
    background-color: var(--mainColor);
    border-radius: 8px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 600;
    color: white;
}
.addToCart:hover{
    background-color: var(--btnHoverBackgound);
    color: var(--btnHoverColor);
}
.card img:hover{
    transform: scale(1.2);
}
.htitle{
    text-align: center;
    text-transform: uppercase;
}
.img-product{
    width: 100%;
    overflow: hidden;
}
.slider{
    margin-top: 10px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  display: none;
}


.swiper-slide {
    text-align: center;
    display: grid;
    place-items:center;
  }

.mySwiper {
    width: 100%;
    height: 100%;
    padding-bottom: 40px;
}
.mySwiper3{
    border-radius: 5px;
    overflow: hidden;
}
.mySwiper3 img{
    height: 100%;
    width: 100%;
}
i{
    color:rgb(29, 156, 160);
}
.swiper-button-prev {
    left: 40px !important;
}

.swiper-button-next {
    right: 40px !important;
}
.intro-part{
    padding: 20px 0px;
    background-color: white;
}
.intro-wrap{
    display: flex;
}
.intro-wrap .intro-icon{
    margin-right: 20px;
}
.intro-icon i{
    border: 3px double var(--mainColor);
    width: 50px;
    height: 50px;
    font-size: 25px;
    line-height: 43px;
    border-radius: 50%;
    text-align: center;
    color: var(--mainColor);
    background: var(--white);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
}

.intro-wrap .intro-contant h5{
font-size: 18px;
margin-bottom: 8px;
text-transform: capitalize;
}
.intro-icon>i:hover{
    background-color: var(--mainColor);
    color: white;
}
.footer-part{
    padding: 20px 0px;
}
.footer-widget img{
    height: 50px;
    width: auto;
}
.footer-contact{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
.footer-contact li{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.footer-contact li p{
    margin-bottom: 0px;
}
.footer-contact li i{
    font-size: 18px;
    margin-right: 8px;
    color: var(--mainColor);
}
.footer-social{
    display: flex;
    gap: 15px;
}
.footer-social li a{
    font-size: 25px;
    text-align: center;
    line-height: 40px;
    color: var(--mainColor);
}
@media screen and (max-width:766px) {
    .cart{
        display: flex;
        justify-content: right;
    }
    .search-middle{
        margin: 10px 10px;
    }
    .cartDiv{
        margin-right: 10px;
    }
    .cartPrice{
        display: none;
    }
    .mySwiper3 img{
        height: 220px;
        background-size:cover
    }
    .togglebtn{
        display:inherit;
    }
    .togglebtn i{
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    header{
        grid-template-columns: 100px auto 100px;
        grid-template-areas:
        "togglebtn logo cart"
        "search search search";
    }
    .swiper-button-prev {
        left: 20px !important;
    }

    .swiper-button-next {
        right: 20px !important;
    }
    .menu{
        position: absolute;
        top: 50px;
        left: 0px;
    }

    .logo{
        margin: 0;
        text-align: center;
    }
    nav{
        /* display: none; */
        position: absolute;
        top: 0;
        left: -280px;
        width: 250px;
        z-index: 999;
        height: 100%;
        transition: all 1s ease;
    }
    nav.open{
        left: 0;
        transition: all 1s ease;
    }
    .nav{
        display: block;
    }
    .menu-head{
        display: flex;
        justify-content:center;
        align-items: center;
        border-bottom: 1px solid rgb(61, 60, 60, .2);
    }
    .menu-head i{
        font-size: 20px;
    }
    .card-title{
        font-size: small;
    }
    .logo img{
        height: 35px;
    }
}
@media screen and (max-width:991px) {
    .card-title{
        font-size: small;
    }

}
