body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    background-color: #2F1B0C;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    gap: 20px;
}
@media (min-width: 1024px) {
    .container {
        flex-direction: row;
    }
}
.menu-section, .order-section {
    background-color: #FAD6A5;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.menu-section {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.order-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-item {
    background-color: white;
    border-radius: 0.75rem;
    border: 4px solid #D35400;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}
.menu-item:hover {
    transform: translateY(-5px);
}
.menu-item img {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-bottom: 0.75rem;
}
.item-name-kor {
    font-size: 1.1rem;
    font-weight: bold;
    color: #6E260E;
    margin-bottom: 0.25rem;
}
.item-name-eng {
    font-size: 0.9rem;
    color: #D35400;
    margin-bottom: 0.5rem;
}
.item-price {
    font-size: 1rem;
    font-weight: bold;
    color: #2F1B0C;
    margin-bottom: 0.75rem;
}
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
}
.quantity-btn {
    background-color: #F5CBA7;
    color: black;
    border: none;
    border-radius: 0.375rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.quantity-btn:hover:not(:disabled) {
    background-color: #E6B08E;
}
.quantity-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.quantity-display {
    font-size: 1rem;
    font-weight: bold;
    color: #2F1B0C;
    min-width: 25px;
    text-align: center;
}
.order-summary {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}
.order-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #D35400;
}
.order-item:last-child {
    border-bottom: none;
}
.order-item-name {
    font-size: 1.1rem;
    color: #6E260E;
    font-weight: bold;
}
.order-item-price {
    font-size: 1rem;
    color: #D35400;
    margin-top: 0.2rem;
}
.total-section {
    background-color: #FAD6A5;
    padding: 1rem;
    border-radius: 0.75rem;
    border-top: 2px solid #D35400;
}
.total-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6E260E;
    text-align: center;
}
.order-button {
    width: 100%;
    padding: 1rem;
    background-color: #D35400;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}
.order-button:hover {
    background-color: #B84C00;
    transform: translateY(-2px);
}
.order-button:active {
    transform: translateY(0);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: #FAD6A5;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}
.modal-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #6E260E;
    margin-bottom: 1.5rem;
}
.modal-message {
    font-size: 1.2rem;
    color: #2F1B0C;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.modal-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.modal-btn.confirm {
    background-color: #D35400;
    color: white;
}
.modal-btn.confirm:hover {
    background-color: #B84C00;
}
.modal-btn.cancel {
    background-color: #E0E0E0;
    color: #333;
}
.modal-btn.cancel:hover {
    background-color: #C0C0C0;
}
