/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    --orange: #03C988;
    --dark-blue: #0A4D68;
    --light-gray: #05BFDB;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    --border: .2rem solid rgba(0,0,0,.1);
    --outline: .1rem solid rgba(0,0,0,.1);
    --outline-hover: .2rem solid var(--dark-blue);
}

/*=============== BASE ===============*/
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    background-color: #eee;
}

section {
    padding: 2rem 9%;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    border: .2rem solid var(--dark-blue);
    color: var(--dark-blue);
    cursor: pointer;
    background: none;
}

.btn:hover {
    background-color: var(--orange);
    color: #fff;
}

.heading {
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--dark-blue);
}

.heading span {
    background: var(--orange);
    color: #fff;
    display: inline-block;
    padding: .5rem 3rem;
    clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

/*============== HEADER ================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background: #fff;
    box-shadow: var(--box-shadow);
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--dark-blue);
}

.header .logo i {
    color: var(--orange);
}

.header .navbar a {
    font-size: 1.7rem;
    margin: 0 1rem;
    color: var(--dark-blue);
}

.header .navbar a:hover {
    color: var(--orange);
}

.header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: .5rem;
    background: #eee;
    color: var(--dark-blue);
    font-size: 2rem;
    margin-right: .3rem;
    text-align: center;
}

.header .icons div:hover {
    background-color: var(--orange);
    color: #fff;
}

#menu-btn {
    display: none;
}

/*===== Search Form =====*/
.header .search_form {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 50rem;
    height: 5rem;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

/* Show search */
.header .search_form.active {
    right: 1rem;
    transition: .4s linear;
}

.header .search_form input {
    height: 100%;
    width: 100%;
    background: none;
    text-transform: none;
    font-size: 1.6rem;
    color: var(--dark-blue);
    padding: 0 1.5rem;
}

.header .search_form label {
    font-size: 2.2rem;
    padding-right: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

.header .search_form label:hover {
    color: var(--orange);
}

/*===== Cart =====*/
.header .shopping_cart {
    position: absolute;
    top: 110%;
    right: -110%;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    width: 30rem;
    background: #fff;
}

/* Show Cart */
.header .shopping_cart.active {
    right: 1rem;
    transition: .4s linear;
}

.header .shopping_cart .box {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;
}

.header .shopping_cart .box img {
    height: 10rem;
}

.header .shopping_cart .box .bx-trash {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    right: 2rem;
    cursor: pointer;
    color: var(--light-gray);
    transform: translateY(-50%);
}

.header .shopping_cart .box .bx-trash:hover {
    color: var(--orange);
}

.header .shopping_cart .box .content h3 {
    color: var(--dark-blue);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}

.header .shopping_cart .box .content span {
    color: var(--light-gray);
    font-size: 1.6rem;
}

.header .shopping_cart .box .content .quantity {
    padding-left: 1rem;
}

.header .shopping_cart .total {
    font-size: 2.5rem;
    padding: 1rem 0;
    text-align: center;
    color: var(--dark-blue);
}

.header .shopping_cart .btn {
    display: block;
    text-align: center;
    margin: 1rem;
}

/*===== Login =====*/
/* .header .login_form {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);  
    background: #fff;
    text-align: center;
}

/* Show Login Form */
/*.header .login_form.active {
    right: 1rem;
    transition: .4s linear;
}

.header .login_form h3 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.header .login_form .box {
    width: 100%;
    margin: .7rem 0;
    background: #eee;
    border-radius: .5rem;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--dark-blue);
    text-transform: none;
}

.header .login_form p {
    font-size: 1.4rem;
    padding: .5rem 0;
    color: var(--light-gray);
}

.header .login_form p a {
    color: var(--orange);
    text-decoration: underline;
} */

/*============= HOME ==============*/
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(https://img.freepik.com/free-photo/colorful-veggies-frame-with-copy-space_23-2148290738.jpg?w=1800&t=st=1683393618~exp=1683394218~hmac=046c631463236b3041bedc3ff04d326f1aecea3d70243999f68bd7b54f88044e);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 17rem;
    padding-bottom: 10rem;
}

.home .content {
    text-align: center;
    width: 60rem;
}

.home .content h3 {
    color: var(--dark-blue);
    font-size: 3rem;
}

.home .content h3 span{
    color: var(--orange);
}

.home .content p {
    color: var(--dark-blue);
    font-size: 1.7rem;
    padding: 1rem 0;
    line-height: 1.8;
}

/*============== FEATURES ================*/
.features .box_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.features .box_container .box {
    padding: 3rem 2rem;
    background: #fff;
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.features .box_container .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.features .box_container .box img {
    margin: 1rem 0;
    height: 15rem;
}

.features .box_container .box h3 {
    font-size: 2.5rem;
    line-height: 1.8;
    color: var(--dark-blue);
}

.features .box_container .box p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--light-gray);
    padding: 1rem 0;
}

/*============= PRODUCTS ===============*/
.products .product_slider {
    padding: 1rem;
}

.products .product_slider:first-child {
    margin-bottom: 2rem;
}

.products .product_slider .box {
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding: 3rem 2rem;
    outline: var(--outline);
    outline-offset: -1rem;
    box-shadow: var(--box-shadow);
    transition: .2s linear;
}

.products .product_slider .box:hover {
    outline-offset: 0rem;
    outline: var(--outline-hover);
}

.products .product_slider .box img {
    width: 20rem;
    height: 20rem;
}

.products .product_slider .box h3 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.products .product_slider .box .price {
    font-size: 2rem;
    color: var(--light-gray);
    padding: .5rem 0;
}

.products .product_slider .box .stars i {
    font-size: 1.7rem;
    color: var(--orange);
    padding: .5rem 0;
}

/*============ CATEGORIES ==============*/
.categories .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 1.5rem;
}

.categories .box_container .box{
    padding: 3rem 2rem;
    border-radius: .5rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    outline: var(--outline);
    outline-offset: -1rem;
    text-align: center;
}

.categories .box_container .box:hover{
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.categories .box_container .box img{
    margin: 1rem 0;
    height: 15rem;
}

.categories .box_container .box h3{
    font-size: 2rem;
    color: var(--dark-blue);
    line-height: 1.8;
}

.categories .box_container .box p{
    font-size: 1.7rem;
    color: var(--light-gray);
    line-height: 1.8;
    padding: 1rem 0;
}

/*============ REVIEW  ===========*/
.review .review_slider{
    padding: 1rem;
}

.review .review_slider .box{
    background: #fff;
    border-radius: 5rem;
    text-align: center;
    padding: 3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;
    width: calc(100%/3);
}

.review .review_slider .box:hover{
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.review .review_slider .box img{
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}

.review .review_slider .box p{
    padding: 1rem 0;
    line-height: 1.8;
    color: var(--light-gray);
    font-size: 1.5rem;    
}

.review .review_slider .box h3{
    padding-bottom: .5rem;
    color: var(--dark-blue);
    font-size: 2.2rem;    
}

.review .review_slider .box .stars i{
    color: var(--orange);
    font-size: 1.7rem;    
}

/*============ BLOG ===========*/
.blogs .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.blogs .box_container .box{
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    background: #fff;
}

.blogs .box_container .box img{
    height: 25rem;
    width: 100%;
    object-fit: cover;
}

.blogs .box_container .box .content{
    padding: 2rem;
}

.blogs .box_container .box .content .icons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: var(--border);
}

.blogs .box_container .box .content .icons a{
    color: var(--light-gray);
    font-size: 1.5rem;
}

.blogs .box_container .box .content .icons a:hover{
    color: var(--dark-blue);
}

.blogs .box_container .box .content .icons a i{
    color: var(--orange);
    padding-right: -5rem;
}

.blogs .box_container .box .content h3{
    line-height: 1.8;
    color: var(--dark-blue);
    font-size: 2.2rem;
    padding: .5rem 0;
}

.blogs .box_container .box .content p{
    line-height: 1.8;
    color: var(--light-gray);
    font-size: 1.5rem;
    padding: .5rem 0;
}

/*=========== FOOTER ==============*/
.footer{
    padding: 2rem 9%;
    background: #fff;
}

.footer .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
}

.footer .box_container .box h3{
    font-size: 2.5rem;
    color: var(--dark-blue);
    padding: 1rem 0;
}

footer .box_container .box h3 i{
    color: var(--orange);
}

.footer .box_container .box .links{
    display: block;
    font-size: 1.5rem;
    color: var(--light-gray);
    padding: 1rem 0;
}

.footer .box_container .box .links i{
    color: var(--orange);
    padding-right: .5rem;
}

.footer .box_container .box .links:hover i{
    padding-right: 2rem;
}


.footer .box_container .box p{
    line-height: 1.8;
    font-size: 1.5rem;
    color: var(--light-gray);
    padding: 1rem 0;
}

.footer .box_container .box .share a{
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: .5rem;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-left: .2rem;
    background: #eee;
    text-align: center;

}

.footer .box_container .box .share a:hover{
    background: var(--orange);
    color: #fff;
}

.footer .box_container .box .email{
    width: 100%;
    margin: .7rem 0;
    padding: 1rem;
    border-radius: .5rem;
    background: #eee;
    font-size: 1.6rem;
    color: var(--dark-blue);
    text-transform: none;
}

.footer .box_container .box .payment_img{
    display: block;
    margin-top: 2rem;
    height: 4.5rem;
}

.footer .credit {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    padding-top: 1.5rem;
    font-size: 2rem;
    color: var(--dark-blue);
}

.footer .credit span {
    color: var(--orange);
}








/* Media Queries */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }
    
    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: var(--box-shadow);
        background: #fff;
        opacity: 0;
        transition: opacity 20ms;
    }

    .header .search_form {
        width: 97%;
    }

    /* Show Menu */
    .header .navbar.active {
        opacity: 1;
        
    }

    .header .navbar a {
        font-size: 2rem;
        margin: 2rem 2.5rem;
        display: block;
    }

}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .header .search_form {
        width: 97%;
    }

    .heading {
        font-size: 2.5rem;
    }

    .payment_img {
        margin: 0 auto;
    }
    
    .footer {
        text-align: center;
    }
}