body {
    font-family: 'Pretendard', sans-serif;
    background-color: #fff;
    color: #333;
}

.font-myeongjo {
    font-family: 'Nanum Myeongjo', serif;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    z-index: 1000;
}

.navbar-brand {
    color: #333 !important;
}

.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/static/images/bg_restaurant.png') center/cover no-repeat;
    height: 45vh;
    position: relative;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.menu-header-section {
    margin-top: 50px;
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.menu-title {
    font-size: 2.5rem;
    color: #2c2520;
    letter-spacing: -1px;
}

.toolbar-box {
    background: #faf9f7;
    border: 1px solid #f1ede7;
    border-radius: 22px;
    padding: 18px;
}

.filter-btn {
    transition: 0.3s;
    font-weight: 700;
    font-size: 0.95rem;
}

.search-wrap {
    max-width: 300px;
    width: 100%;
}

.search-input {
    border: 2px solid #2c2520;
    padding-left: 20px;
    font-weight: 500;
}

.search-input:focus {
    box-shadow: none;
    border-color: #846a50;
}

.search-input-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: 1rem;
    color: #212529;
    font-weight: 700;
}

.sort-select {
    max-width: 180px;
}

.toolbar-meta {
    font-size: 0.92rem;
    color: #777;
    font-weight: 700;
}

.menu-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f1f1f1;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.menu-card.menu-soldout {
    opacity: 0.85;
}

.menu-card.menu-soldout:hover {
    transform: translateY(-4px);
}

.menu-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.menu-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.soldout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.soldout-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid white;
    padding: 10px 30px;
    transform: rotate(-15deg);
}

.menu-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.menu-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    word-break: keep-all;
}

.menu-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #cc2a2a;
}

.btn-order {
    background-color: #2c2520;
    color: white;
    border-radius: 12px;
    padding: 10px 0;
    font-weight: bold;
    transition: 0.3s;
}

.btn-order:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
}

.order-summary-box {
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #ececec;
    padding: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

.summary-line:last-child {
    margin-bottom: 0;
}

.summary-line.final-line {
    color: #222;
    font-size: 1.05rem;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.page-guide {
    background: #fff8e7;
    border: 1px dashed #f0cd73;
    border-radius: 16px;
    padding: 14px 16px;
    color: #7a5b16;
    font-size: 0.92rem;
    font-weight: 700;
}

.empty-box {
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 22px;
    padding: 42px 20px;
}

.no-result-hidden {
    display: none;
}

.toast-container-custom {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 3000;
}

.custom-toast {
    border-radius: 16px;
    min-width: 280px;
}

.restaurant-modal-content {
    border-radius: 20px;
    border: none;
}

.qty-group {
    width: 120px;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 38vh;
    }

    .menu-title {
        font-size: 2rem;
    }

    .toolbar-box {
        padding: 14px;
    }

    .toast-container-custom {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .custom-toast {
        min-width: auto;
        width: 100%;
    }
}