/* ==============================================
   BLOCK: menu
   Product-by-category menu page
   ============================================== */

/* Layout */
.menu__layout {
    gap: 20px 0;
    margin-top: 30px;
}

/* Sidebar */
.menu__sidebar {

    background: #fff;

}

.menu__sticky {
    position: sticky;
    top: 80px;
    overflow-y: auto;
    max-height: 100%;
}

.menu__sidebar::-webkit-scrollbar {
    width: 0;
}

.menu__sidebar-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
    color: #333;
    text-decoration: none;
    transition: background 0.12s;
}

.menu__sidebar-link:hover {
    background: #f5f5f5;
}

.menu__sidebar-link--active {
    color: #333;
    font-weight: 600;
}

/* Content */
.menu__content {
    overflow-x: hidden;
}

.menu__content::-webkit-scrollbar {
    width: 6px;
}

.menu__content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Category section */
.menu__category {
    padding: 0 0 32px 0;
    scroll-margin-top: 0;

    @media (max-width: 992px) {
        padding-bottom: 10px;
    }
}

.menu__category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-2);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
    font-family: "EB Garamond", sans-serif;
}

.menu__category-img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    margin-bottom: 0;
    background: #eee;
}

/* Product grid */
.menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    width: 100%;
}

.menu__product {
    padding: 18px 0;
    /* border-bottom: 1px solid #e8e8e8; */
}

/* Product header: name · dots · price */
.menu__product-header {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.menu__product-name {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #111;
    font-family: "EB Garamond", sans-serif;
    /* white-space: nowrap; */
}

.menu__product-dots {
    flex: 1;
    border-bottom: 1px dashed #aaa;
    margin: 0 6px 3px 6px;
    min-width: 10px;
}

.menu__product-price {
    font-weight: 400;
    color: #111;
    white-space: nowrap;
}

/* Product detail row */
.menu__product-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3px;
}

.menu__product-desc {
    font-size: 13px;
    color: #555;
}

.menu__product-unit {
    font-size: 12px;
    color: #777;
    text-align: right;
    white-space: nowrap;
    line-height: 1.5;
}

/* Multi-option product layout */
.menu__product--multi {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.menu__product-main {
    flex: 1;
}

.menu__product--multi .menu__product-name {
    font-size: 20px;
    margin-bottom: 4px;
}

.menu__product--multi .menu__product-desc {
    font-style: italic;
    /* font-family: "EB Garamond", serif; */
    font-size: 16px;
    color: #666;
}

.menu__product-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    min-width: 100px;
}

.menu__product-option {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 1px;
}

.menu__product--multi .menu__product-price {
    font-size: 20px;
    font-weight: 400;
    /* color: #111; */
}

.menu__product-currency {
    font-size: 12px;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
    text-transform: lowercase;
}

.menu__product--multi .menu__product-unit {
    font-style: italic;
    font-family: "EB Garamond", serif;
    font-size: 14px;
    color: #666;
    margin-top: 0;
}

/* Divider */
.menu__divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0;
}

/* Spacer */
.menu__spacer {
    height: 80px;
}

/* ==============================================
   STANDALONE: btn-datban
   Fixed reservation button
   ============================================== */
.btn-datban {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #1a6abf;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(26, 106, 191, 0.3);
    z-index: 999;
}

.btn-datban:hover {
    background: #1558a3;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 991px) {
    .menu__layout {
        margin-top: 20px;
    }

    .menu__sidebar {
        position: sticky;
        top: 0;
        z-index: 80;
        background: #fff;
        margin-top: 0;
        border-bottom: 1px solid #e8e8e8;
        width: 100% !important;
    }

    .menu__sticky {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        background: #fff;
        padding: 0 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        position: static;
    }

    .menu__sticky::-webkit-scrollbar {
        display: none;
    }

    .menu__sidebar-link {
        display: inline-block;
        padding: 12px 15px;
        border-bottom: none;
        flex-shrink: 0;
        font-size: 14px;
    }

    .menu__sidebar-link--active {
        color: #1a6abf;
    }

    .menu__sidebar-link--active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        height: 2px;
        background: #1a6abf;
    }

    .menu__category-title {
        padding: 10px 0 0;
        font-size: 19px;
    }

    .menu__grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .menu__product {
        padding: 10px 0;
    }

    .menu__product:nth-child(even) {
        padding-left: 0;
    }

    .menu__divider {
        margin: 0;
    }
}