/* ------------------------------------------------------ BANNER ------------------------------------------------------ */

.banner {
    position: relative;
    background-color: var(--green);
    /* background: radial-gradient(circle, rgba(16, 60, 35, 1) 52%, rgba(28, 102, 51, 1) 95%); */
    color: var(--foreground-green);
    padding: 0px 32px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    padding-top: 8px;
}

.banner .title {
    color: var(--foreground-green);
    margin: 0px;
    text-align: left;
}

.banner .content {
    font-size: 14px;
    color: inherit;
}

.banner .img-container {
    max-height: 500px;
    aspect-ratio: 2/3;
    border-radius: 60px 60px 0px 0px;
    overflow: hidden;

    & img {
        height: 100%;
        width: 100%;
        aspect-ratio: 2/3;
    }
}

.banner .cta {
    padding: 4px 16px;
    border-radius: 16px;
    background-color: var(--orange);
    color: var(--orange-foreground);
    text-decoration: none;
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .banner .content {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 1024px) {
    .banner {
        padding-inline: 10%;
    }

    .banner .content {
        font-size: 1.5rem;
    }

    .banner .title {
        font-size: 2rem;
    }
}

/* ------------------------------------------------------ BENEFICIOS ------------------------------------------------------ */

.beneficios {
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--dark-green);

}

.beneficios>*:not(:last-child) {
    border-right: 1px solid var(--foreground-green);
}

.beneficio {
    color: var(--foreground-green);
    text-align: center\;
}

.beneficio .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    margin-top: 8px;
}

.content .title {
    display: block;
    text-align: center;
    font-size: .9rem;
}

.content .description {
    display: none;
    visibility: hidden;
}


/* ------------------------------------------------------ CATEGORÍAS PRINCIPALES ------------------------------------------------------ */


.featured-categories {
    margin-top: 32px;
    display: flex;
    gap: 8px;
}

.featured-categories .category {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: row;
    transition: box-shadow 0.2s ease-in-out;
}

.featured-categories .category:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    & .img-container img {
        scale: 1.05;
        rotate: 2deg;
    }
}

.featured-categories .category .content {
    margin: 0;
    padding: 8%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.featured-categories .category .title {
    display: block;
    text-align: left;
    font-weight: 500;
    color: var(--green);
    text-wrap: balance;
    margin: 0;
    padding: 0;
}

.featured-categories .category a {
    color: var(--orange);
}


.featured-categories .category .img-container {
    float: right;
    width: 100px;
    height: 100px;
    overflow: hidden;
    aspect-ratio: 1/1;

    & img {
        transition: scale 0.2s ease-in-out, rotate 0.2s ease-in-out;
        height: 100%;
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }
}

@media screen and (min-width: 768px) {
    .featured-categories {
        padding-inline: 32px;
        justify-content: center;
        gap: 16px;
    }

    .featured-categories .category {
        max-width: 400px;
    }

    .featured-categories .category .title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .featured-categories .category a {
        font-weight: 600;
    }

    .featured-categories .category .img-container {
        width: 200px;
        height: 200px;
    }
}


/* ------------------------------------------------------ PRODUCTOS ------------------------------------------------------ */

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
    padding: 4px;
    gap: 16px;
    list-style: none;
}

.products>li>a {
    text-decoration: none;
    display: block;
}

.products .product {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease-in-out;
}

.products .product:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    & .image-container img {
        scale: 1.05;
    }
}

.products .product .image-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    border-radius: 16px;
    display: block;

    & img {
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        transition: scale 0.2s ease-in-out;
    }
}

.products .product .content {
    padding: 16px;
}

.products .product .content .name {
    font-weight: 700;
    margin: 0 0 8px 0;
    text-wrap: balance;
    text-align: left;
    text-transform: capitalize;
}

.products .product .content .price {
    color: var(--orange);
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* @media screen and (min-width: 1024px) {
    .products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-template-columns: repeat(4, 1fr);
    }
} */

/* ------------------------------------------------------ BANNER2 ------------------------------------------------------ */

.banner2 {
    position: relative;
    background-color: var(--green);
    color: var(--foreground-green);
    padding: 32px;
}

.banner2 .title {
    color: var(--foreground-green);
    margin: 0px;
    text-align: left;
}

.banner2 .img-container {
    aspect-ratio: 1;
    border-radius: 100%;
    overflow: hidden;
    min-height: 100px;
    min-width: 100px;
    max-height: 200px;
    float: right;
    margin: 8PX;

    & img {
        width: 100%;
        height: 100%;
    }
}

.banner2 .cta {
    padding: 4px 8px;
    border-radius: 16px;
    background-color: var(--orange);
    color: var(--orange-foreground);
    text-decoration: none;
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .banner2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .banner2 .img-container {
        max-height: 300px;
        max-width: 300px;
    }

    .banner2 .cta {
        margin-left: auto;
    }

}

/* ------------------------------------------------------ TIPS DE CUIDADO ------------------------------------------------------ */


.care-plants {
    list-style: none;
    padding: 0px 16px;
}

.care-plants .care {
    display: flex;
    align-items: center;
}

.care-plants .care .icon {
    width: 64px;
    aspect-ratio: 1/1;
    padding: 8px;
    margin-right: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    overflow: hidden;
    background-color: var(--dark-green);
    color: var(--foreground-green);
}

.care-plants .care .summary {
    flex: 1;
}

.care-plants .care .title {
    text-align: left;
    margin: 16px 0px 8px
}

.care-plants .care .description {
    margin: 8px 0px;
    font-size: 0.9rem;
}

@media screen and (min-width: 768px) {
    .care-plants {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .care-plants .care {
        padding: 16px;
        border-radius: var(--radius-xl);
        background-color: var(--bg-card);
        display: block;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    }

    .care-plants .care .icon {
        margin-inline: auto;
    }

    .care-plants .care .description {
        font-size: 1rem;
    }
}