.main-product-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3em 0;
}

.product__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    padding: 1em;
}

.product__img-wrapper {
    width: 18em;
    height: 18em;
}

.product__img {
    display: block;
    width: 18em;
    height: 18em;
}

.product__info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3em 0.3em 1em 0.3em;
    width: 100%;
}

.product__name {
    text-align: center;
    font-size: 1.2em;
    color:var(--secondary-text-color);
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.product__price {
    text-align: center;
    font-weight: 100;
    padding-top: 1em;
}

.add-to-cart-btn {
    width: 12em;
    height: 2.2em;
    font-size: 1.1em;
    font-weight: 700;
    background-color: var(--secondary-text-color);
    border: 1px solid var(--main-color);
    border-radius: 0.3em;
    color: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

.add-to-cart-btn-added {
    background-color: var(--main-color);
    border: 1px solid var(--secondary-text-color);
    color: var(--secondary-text-color);
}

.info-product-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3em 0;
    min-height: 50vh;
    width: 100%;
}

.info-product__title {
    font-size: 1.8em;
    color:var(--secondary-text-color);
    text-align: center;
}

.info-product__nav {
    display: flex;
    padding: 2em 0;
}

.info-product__item {
    height: 2.3em;
    padding: 0 0.5em;
    background-color:rgba(223, 247, 255, 0.709);
    border: none;
    transition: 0.8s;
    cursor: pointer;
    outline: none;
}

.info-product__item:not(:last-child) {
    border-right: 1px solid var(--secondary-text-color);
}

.info-product__selected {
    background-color: var(--secondary-text-color);
    color:var(--main-color);
}

.info-product__text {
    padding: 1em 0.5em;
    display: none;
}

.text-selected {
    display: block;
}

.info-product__descr, .benefits__item, .benefits, .info-product__directions, .info-product__ingredients {
    font-weight: 100;
    line-height: 1.5em;
}

.benefits {
    padding: 1em 0;
}

.info-product__benefits {
    list-style: disc;   
    padding: 0 1em;
    font-weight: 100;
    padding-left: 2em;
}

.info-product__benefits-item {
    padding: 0.3em;
    line-height: 1.4em;
}

.info-product__ingredients {
    display: inline-block;
    text-align: left;

}
.recomendations__title {
    text-align: center;
    font-size: 1.5em;
    font-family: var(--font-family-secondary);
    color: var(--secondary-text-color);
}

.recomendations__cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 2em 0 5em 0;
}

.featured-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 0 0.7em 0;
    width: 45%;
}

.card-decoration {
    width: 80%;
    height: 1.5px;
    background-color: var(--secondary-text-color);
}

.featured-card__img {
    display: block;
    height: 8em;
    width: 8em;
}

.featured-card__descr {
    font-size: 1.2em;
    color: var(--secondary-text-color);
    text-align: center;
    padding-top: 0.8em;
}

.featured-card__prise {
    font-size: 1em;
    font-weight: 100;
    color: var(--secondary-text-color);
    padding: 0.5em 0 0.8em 0;
}


@media (min-width: 576px) {
    .container {
        --container-width: var(--mq-size-sm);
    }

    .product__info-wrapper {
        width: 70%;
    }
}

@media (min-width: 768px) {
    .container {
        --container-width: var(--mq-size-md);
    }

    .weight-wrapper {
        justify-content: center;
    }

    .product__weight {
        padding-right: 1em;
    }

    .quantity-wrapper {
        justify-content: center;
    }
    
    .product__quantity {
        padding-right: 1em;
    }

    .product__img-wrapper {
        width: 20em;
        height: 20em;
    }
    
    .product__img {
        width: 20em;
        height: 20em;
    }
}

@media (min-width: 992px) {
    .container {
        --container-width: var(--mq-size-lg);
    }

    .main-product-wrapper {
        padding: 0;
    }

    .add-to-cart-btn:hover:not(.add-to-cart-btn-added) {
        background-color: var(--main-color);
        color: var(--secondary-text-color);
    }

    .main-product-wrapper {
        flex-direction: row;
        align-items: start;
    }

    .product__menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40%;
    }

    .info-product__item:not(.info-product__selected):hover {
        background-color: rgb(194, 236, 255);
        transition: 0.8s;
    }

    .info-product-wrapper {
        width: 60%;
        min-height: 80vh;
        align-items: start;
    }

    .info-product__nav {
        padding: 2em 0;
    }

    .recomendations {
        padding-top: 3em;
    }

    .featured-card {
        width: 22%;
    }

    .featured-card:hover {
        cursor: pointer;
        background-color: rgb(247, 247, 247);
        opacity: 0.7;
        transition: 0.8s;
    }
}

@media (min-width: 1200px) {
    .container {
        --container-width: var(--mq-size-xl);
    }

    .product__img-wrapper {
        width: 28em;
        height: 28em;
    }
    
    .product__img {
        width: 28em;
        height: 28em;
    }
}