/* ====== menu-alt.css ====== */
/* Модальное окно «Состав» */
#compositionModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Верхняя половина – картинка */
.modal-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Нижняя половина – текст */
.modal-info-block {
    padding: 20px;
    font-family: 'EuclidCircularA', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.modal-info-block h3 {
    margin-left: 10px;
    text-align: left;
}

.modal-strong {
    display: inline-block;
    min-width: 90px;
}

/* Кнопка «Закрыть» */
.checkout-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    font-family: 'TTFirsNeue';
}

.checkout-btn:hover {
    background-color: var(--primary-dark);
}
/* Обернуть контейнер */
.menu-alt-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Корзина справа */
.order-summary-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 100;
    transition: background-color 0.3s;
}

.order-summary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-footer{
    padding:0 20px 20px; 
    text-align:right;
}

.buy-counter        { display: none; }   /* по умолчанию скрыт */
.buy-counter.active { display: flex; }   /* показать, когда нужно */

.buy-text           { display: inline; } /* «+» по умолчанию */
.buy-text.hidden    { display: none; }   /* скрыть, когда нужно */