:root{
    --main-color: #f3842f;
}
body{
    font-family: Poppins;
    background: url(../img/backgroundWhite.png) top / cover no-repeat;
    background-attachment: fixed;
}
a{
    text-decoration: none;
}
section{
    margin-top: 20vh;
    padding: 0 20px;
}
h1{
    display: none;
}
h2{
    font-size: 2rem;
    font-weight: 600;
}
h3{
    font-size: 1.6rem;
    font-weight: 600;
}
/*/ NAVBAR /*/
.main-header{
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 20vh;
    padding: 12px 40px;
    margin-top: -20vh;
    position:fixed;
    background: rgb(234,233,234);
    background: linear-gradient(0deg, rgba(234,233,234,0.6643032212885154) 0%, rgba(0,0,0,1) 100%);
}
.nav-logo{
    width: 100px;
}
.nav-main-container{
    display: none;
    width: auto;
}
.nav-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 48px;
}
.nav-link{
    font-size: 18px;
    font-weight: 600;
    text-transform:uppercase;
    color: var(--main-color);
}


/*/NAV MOBILE/*/
.nav-mobile-off{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: wheat;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    right: calc(-100%);
    text-align: center;
    font-size: 1.6rem;
    transition: .3s ease;
}
.nav-mobile-off.active{
    right: 0;
}
.nav-mobile{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 60vh;
    
}
.mobile-link{
    color: var(--main-color);
    font-weight: 600;
}
.mobile-menu{
    position: relative;
    display: block;
    width: 50px;
    cursor: pointer;
}



/*/ HOME , ABOUT-US, CONTACT/*/
.home-section, .about-us-section, .contact-section{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    place-items: center;
    gap: 28px;
}
.home-info, .about-us-info, .contact-info, .contact-form{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.primary-button{
    place-self: start;
    max-width: 180px;
    margin: 0 auto;
    padding: 12px 32px;
    background-color: var(--main-color);
    color: #000;
    font-weight: 600;
    font-size: 16px;
    border-radius: 20px;
    transition: all 0.6s;
    border: none;
    cursor: pointer;
}
.primary-button:hover{
    background-color: #ca6602;
    color: wheat;
}
.home-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    gap: 12px;
}
.grid-card{
    text-align: center;
    width: 8rem;
    height: 8rem;
    background-color: #1c9211;
    border-radius: 20px;
}
.card-large{
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    background: url(../img/card-3.jpeg) center / cover no-repeat;
}
.grid-card h3{
    width: 100%;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    background-color: #eaeaeaa9;
    border-radius: 20px;
    text-transform: uppercase;
}
.card-1{
    background: url(../img/card-1.jpeg) top / cover no-repeat;
}
.card-2{
    background: url(../img/card-2.jpeg) top / cover no-repeat;
}

/* ABOUT US */

.about-us-img{
    width: 25rem;
    border-radius: 100%;
}

/*CONTACT*/
.links-contact-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.links-contact-container li{
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-contact{
    width: 32px;
}
.link-contact{
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}
.contact-section div{
    display: flex;
    gap: 12px;
}
.input{
    width: 100%;
    padding: 16px 12px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
}

/* PRODUCTS */
.products-container{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.categories-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #cfbdbd9a;
    padding: 20px;
    gap: 4px;
}
.category{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    background-color: white;
    color: #60c470;
    cursor: pointer;
    transition: all 0.6s;
}
.category.active{
    background-color: #60c470;
    color: white;
}
.category:hover{
    background-color: #60c470;
    color: white;
}
.category h4{
    font-size: 16px;
    font-weight: 600;
}
.category p{
    font-size: 12px;
    font-weight: 400;
}

.grid-products{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    place-items: center;
    gap: 16px;
    margin: 20px 0;
}
.product{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    height: auto;
    background-color: #cfbdbde7;
    border-radius: 12px;
    padding: 12px;
    gap: 12px;
}

.product img{
    border-radius: 12px;
    width: 100%;
    max-height: 196px;
    filter: contrast(120%);
}
.product-info-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    
}

.product-info-container h3{
    font-size: 20px;
    color: #412305;
}
.product-info-container p{
    font-size: 16px;
    font-weight: 500;
    color: #412305;
}
.product-info-container .primary-button{
    width: 100%;
    text-align: center;
    font-weight: 500;
}
.product-info-container .primary-button:nth-child(even){
    font-size: 14px;
}



/* PRODUCT SINGLE*/
.product-single-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.product-single-container img{
    width: 400px;
    max-height: 600px;
}
.single-info{
    padding: 36px;
    background-color: #cfbdbd9a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    color: rgb(15, 26, 24)
}
.single-info .wp{
    text-align: center;
    background: #1ab22e;
    font-weight: 600;
    color: wheat;
}
/*CARRITO COMPRAS*/
.carrito-compras-icon{
    width: 64px;
    position: fixed;
    bottom: 24px;
    right: 24px;
    cursor: pointer;
}
.cart-container{
    display: block;
    position: fixed;
    right: -100%;
    height: auto;
    padding: 12px;
    background-color: var(--main-color);
    color: #252c26;
    border-radius: 12px;
    font-weight: 500;
    border: 4px solid #252c26;
    transition: all 0.6s;
}
.cart-container.mostrar{
    bottom: 20px;
    right: 92px;
}
.items-cart-container{
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: auto;
}
.items-cart-container li{
    width: 100%;
}
.delete-item{
    border: none;
    width: auto;
    cursor: pointer;
    border-radius: 100%;
    padding: 0;
    background-color: transparent;
}
.clean-cart{
    border: none;
    width: auto;
    cursor: pointer;
    border-radius: 20px;
    padding: 0 8px;
    background: #e84033;
    color: white;
}
.clean-cart:hover{
    background: #ca382d;
    color: rgb(206, 196, 183);
    transition: all 0.4s;
}
.clean-cart{
    padding: 8px 24px;
}
.product-item-cart{
    display: flex;
    gap: 8px;
    justify-content: space-between;
}
.button-wp{
    background: #1ab22e;
    max-width: 100%;
    width: 100%;
    color: wheat;
    border: none;
    padding: 12px 24px;
}
.button-wp:hover{
    background: #1a942b;
}
.total-cart{
    font-weight: 600;
}
/*FOOTER*/
.footer{
    margin-top: 4rem;
    width: 100%;
    background: #0a141d;;
}
.footer .group-1{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin:0 auto;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 1200px;
}
.footer .group-1 .box figure{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.box-1{
    display: none;
}
.footer .group-1 .box figure img{
    width: 8rem;
}
.footer .group-1 .box h2{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}
.footer .group-1 .box p{
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #efefef;
}
.social-networks{
    display: flex;
    flex-direction: column;
}
.social-networks a{
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.8rem;
    text-align: center;
    line-height: 4.5rem;
    color: #fff;
    background: #0d2033;
}
.footer .group-1 .social-networks{
    display: flex;
}
.footer .group-1 .social-networks a:hover{
    color:aqua;
    background-color: none;
}

.footer .group-2{
    padding: 15px 10px;
    text-align: center;
    color: #fff;
    background: #0a1a2a;
}
.footer .group-2 small{
    font-size: 1.1rem;
}

/*/ TABLET /*/
@media screen and (min-width: 450px){
    section{
        padding: 0 2rem;
        height: auto;
    }
    
    /*/ HOME  /*/
    .home-info, .about-us-info, .contact-info{
        padding: 0 2rem;
    }
    .grid-card{
        width: 12rem;
        height: 12rem;
    }
    .card-large{
        width: 100%;
    }
    .grid-card h3{
        font-size: 16px;
    }

    /* PRODUCTS */
    .categories-container{
        gap: 20px;
    }
    .category{
        gap: 12px;
        width: 200px;
    }
    .grid-products{
        grid-template-columns: 1fr 1fr;
    }
    /* SINGLE PRODUCT*/
    .product-single-container{
        display: flex;
        flex-direction: row;
    }
    /*FOOTER*/
    .footer .group-1{
        grid-template-columns: repeat(3, 1fr);
    }
    .footer .group-1{
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
        padding: 3.5rem 0;
        width: 90%;
    }
    .box-1{
        display: block;
    }
    .social-networks{
        display: flex;
        flex-direction: row;
    }
}

/*/DESKTOP/*/
@media screen and (min-width: 780px){
    section{
        height: 80vh;
    }
    /*/ NAV  /*/
    .mobile-menu{
        display: none;
    }
    /*/NAV MOBILE/*/
    .nav-mobile-off{
        display: none;
    }
    /*/ HOME  /*/

    .home-info, .about-us-info , .contact-info{
        text-align:start;
        padding-right: 2rem;
        align-items: baseline;
    }
    .primary-button{
        margin: 0;  
    }
    .nav-main-container{
        display: block;
    }
    .home-section{
        grid-template-columns: 1fr 1.3fr;       
    }
    .about-us-section, .contact-section{
        grid-template-columns: 1fr 1fr;  
    }
    .grid-products{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (min-width: 980px){
    h2{
        font-size: 3rem;
        text-align: start;
    }
    /*/ HOME  /*/
    .grid-card{
        width: 14rem;
        height: 14rem;
    }
    .card-large{
        width: 100%;
    }
    .grid-products{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}