.menu-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: visible;
    padding: 40px 20px;
    box-sizing: border-box;
}

.menu-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 500px;
    margin-top: -250px;
    margin-left: -500px;
    background: rgb(15, 15, 15);
    border-radius: 12px;
    overflow: visible;
    box-sizing: border-box;
    display: table;
    table-layout: fixed;
    text-align: left;
}

/* Botão de fechar no menu-detail (usa estilos do modal.css, posicionado abaixo do content) */
.menu-detail-modal .modal-close-wrapper {
    position: absolute;
    top: calc(50% + 250px + 20px);
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1001;
}

.menu-detail-left {
    display: table-cell;
    vertical-align: top;
    width: 50%;
    padding: 60px 50px;
    padding-bottom: 100px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
    /* Ocultar scrollbars - ES5 Compatible */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE e Edge */
}

.menu-detail-left::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.menu-detail-right {
    display: table-cell;
    vertical-align: top;
    width: 50%;
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 500px;
    height: 100%;
}

.menu-detail-image {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 500px;
}

.menu-detail-title {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 58px;
    color: #FFFFFF;
    margin: 0 0 24px 0;
    padding: 0;
}

.menu-detail-description {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    padding: 0;
    white-space: normal;
    word-wrap: break-word;
}

.menu-detail-price {
    margin: 0 0 32px 0;
    padding: 0;
    display: block;
}

.menu-detail-currency {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    margin-right: 8px;
}

.menu-detail-value {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
}

/* Botão de fechar usa estilos do modal.css (.modal-close-wrapper, .modal-close-btn, .modal-close-label) */

.menu-detail-order-btn {
    position: absolute;
    bottom: 40px;
    left: 50px;
    width: auto;
    min-width: 200px;
    max-width: 300px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid rgba(232, 54, 87, 0.9);
    border-radius: 90px;
    color: #FFFFFF;
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.menu-detail-order-btn:hover {
    background: rgba(232, 54, 87, 0.1);
    border-color: rgba(232, 54, 87, 1);
}

.menu-detail-order-btn:focus {
    outline: 2px solid rgba(232, 54, 87, 0.5);
}

.menu-detail-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.menu-detail-quantity {
    position: absolute;
    bottom: 100px;
    left: 50px;
    margin: 0;
    padding: 0;
    display: block;
}

.menu-detail-quantity-label {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    padding: 0;
    display: block;
}

.menu-detail-quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-detail-quantity-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 2px solid rgba(232, 54, 87, 0.9);
    border-radius: 90px;
    color: #FFFFFF;
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-detail-quantity-btn:hover {
    background: rgba(232, 54, 87, 0.1);
    border-color: rgba(232, 54, 87, 1);
}

.menu-detail-quantity-btn:focus {
    outline: 2px solid rgba(232, 54, 87, 0.5);
}

.menu-detail-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.menu-detail-quantity-value {
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

/* Estado selecionado: colorir o botão inteiro */
.menu-detail-quantity-btn.selected,
.menu-detail-order-btn.selected {
    background: rgba(232, 54, 87, 0.9);
    border-color: rgba(232, 54, 87, 1);
    opacity: 1;
}

/* Responsive: Monitores médios (1366px - 1919px) */
@media screen and (min-width: 1366px) and (max-width: 1919px) {
    .menu-detail-content {
        width: 950px;
        height: 600px;
        margin-top: -300px;
        margin-left: -450px;
    }

    .menu-detail-left {
        padding: 50px 40px;
    }

    .menu-detail-title {
        font-size: 42px;
        line-height: 50px;
    }

    .menu-detail-description {
        font-size: 16px;
        line-height: 24px;
    }

    .menu-detail-currency,
    .menu-detail-value {
        font-size: 28px;
        line-height: 34px;
    }

    .menu-detail-modal .modal-close-wrapper {
        top: calc(50% + 300px + 25px);
    }

    /* Botão */
    .menu-detail-order-btn {
        bottom: 50px;
        left: 50px;
        font-size: 18px;
        padding: 14px 28px;
    }

    /* Quantidade */
    .menu-detail-quantity {
        bottom: 110px;
        left: 50px;
    }
}

/* Responsive: TVs e monitores grandes (1920px+) */
@media screen and (min-width: 1920px) {
    .menu-detail-content {
        width: 1050px;
        height: 700px;
        margin-top: -350px;
        margin-left: -500px;
    }

    .menu-detail-left {
        padding: 80px 60px;
    }

    .menu-detail-title {
        font-size: 56px;
        line-height: 68px;
    }

    .menu-detail-description {
        font-size: 20px;
        line-height: 32px;
    }

    .menu-detail-currency,
    .menu-detail-value {
        font-size: 36px;
        line-height: 44px;
    }

    .menu-detail-modal .modal-close-wrapper {
        top: calc(50% + 350px + 30px);
    }

    /* Botão */
    .menu-detail-order-btn {
        bottom: 60px;
        left: 60px;
        font-size: 20px;
        padding: 18px 36px;
        min-width: 250px;
        max-width: 350px;
    }

    /* Quantidade */
    .menu-detail-quantity {
        bottom: 135px;
        left: 60px;
    }
}

