#menu_content {
    --item-gap: 10px;
}

#content {
    background: #e8e8e8;
    min-height: 75vh;
}

#menu_ribbon {
    position: relative;
    display: table;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
}
#menu_ribbon_title {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 82px;
    color: #FFF;
    font-weight: 300;
    text-shadow: 0 0 10px #000;
}
#menu_ribbon_subtitle {
    position: absolute;
    display: block;
    text-align: right;
    bottom: 0;
    right: 0;
    padding: 10px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
    font-size: 16px;
}

#menu_container_0 {
    padding: 30px 40px;
    margin: 0 auto;
    max-width: 1600px;
}

#menu_container_1 {
    background: #FFFFFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.18);
}
#menu_nav {
    display: flex;
}
.menu_nav_item {
    padding: 10px 0;
    border: 2px solid var(--brand-color);
    border-left: none;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.1s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
a.menu_nav_item {
    color: #000000;
}
.menu_nav_item:first-child {
    border-left: 2px solid var(--brand-color);
}
#menu_container_1[data-selection="0"] .menu_nav_item[data-menu="0"],
#menu_container_1[data-selection="1"] .menu_nav_item[data-menu="1"],
#menu_container_1[data-selection="2"] .menu_nav_item[data-menu="2"],
#menu_container_1[data-selection="3"] .menu_nav_item[data-menu="3"] {
    background: var(--brand-color);
    color: #fff;
}
body[data-lang="1"] .menu_nav_item {
    font-size: 18px;
}
#menu_content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 43px);
    min-height: 40vh;
    border: 2px solid var(--brand-color);
    border-top: none;
    background: #FFFFFF;
    padding: 10px;
}

#menu_container_1:not([data-selection="0"]) #menu_takeout,
#menu_container_1:not([data-selection="1"]) #menu_combo,
#menu_container_1:not([data-selection="2"]) #menu_set,
#menu_container_1:not([data-selection="3"]) #menu_latenight {
    display: none;
}

.newMenu_category {
    padding: 10px;
    width: 100%;
}
.newMenu_categoryTitle {
    font-size: 30px;
    font-weight: 300;
    color: var(--brand-text-color);
    white-space: nowrap;
    margin-bottom: 1px;
}
body[data-lang="1"] .newMenu_categoryTitle {
    font-family: 微軟正黑體;
}
.newMenu_categorySubtitle {
    color: var(--brand-text-color);
    filter: brightness(.8);
    margin: -2px 0 8px;
    font-size: 16px;
}
.newMenu_categorySubtext {
    font-size: 16px;
    padding-bottom: 4px;
}

.newMenu_itemsContainer {
    display: flex;
    width: 100%;
    gap: var(--item-gap);
}
.newMenu_itemsContainer > * {
    flex-grow: 1;
}

.newMenu_items {
    columns: 3;
    column-gap: var(--item-gap);
    column-fill: balance;
    break-inside: avoid;
}
.newMenu_items.hidden:not(.override) {
    display: none;
}

.newMenu_item {
    display: flex;
    flex-direction: row;
    font-size: 14px;
}

.newMenu_item > * {
    transition: background .1s;
    padding: 2px 5px;
}
.newMenu_item > :first-child {
    transition: background .1s;
}
.newMenu_item > :last-child {
    transition: background .1s;
}
.newMenu_item.newMenu_itemBreak {
    break-before: column;
}
.newMenu_items:not(.override) .newMenu_item.hidden {
    display: none;
}
.newMenu_item:nth-child(odd) > * {
    background: rgba(0,0,0,.025);
}
.newMenu_item:nth-child(even) > * {
    background: rgba(0,0,0,.07);
}
.newMenu_item:hover > * {
    background: rgba(100,0,0,.1);
}

.newMenu_item .newMenu_name {
    flex-grow: 1;
}
.newMenu_item .newMenu_price_1,
.newMenu_item .newMenu_price_2 {
    text-align: right;
}
.newMenu_item .newMenu_price_1.span {
    grid-column: span 2;
}
.newMenu_item .newMenu_price_1.span + .newMenu_price_2 {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .newMenu_item:nth-child(odd) > * {
        background: rgba(255,255,255,.03);
    }
    .newMenu_item:nth-child(even) > * {
        background: rgba(255,255,255,.07);
    }
    .newMenu_item:hover > * {
        background: rgba(255,93,93,.15);
    }
}

@media screen and (max-width: 800px) {
    .newMenu_categoryTitle {
        font-size: 24px;
    }
    .newMenu_item {
        font-size: 12px;
    }
}


#menu_latenight.newMenu_category {
    display: block;
}
#menu_latenight .newMenu_items.appetizers {
    columns: 1;
}
#menu_latenight .newMenu_items.items {
    columns: 2;
    column-fill: balance;
}
@media screen and (max-width: 950px) {
    #menu_latenight .newMenu_items.items {
        columns: 1;
    }
}
@media screen and (max-width: 800px) {
    #menu_latenight .newMenu_itemsContainer {
        flex-direction: column;
    }
}


#menu_takeout .newMenu_itemsContainer {
    display: block;
    columns: 3;
}
#menu_takeout .newMenu_items:not(.hidden),
#menu_takeout .newMenu_items.override {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding-top: 10px;
}
#menu_takeout .newMenu_items .newMenu_categoryTitle {
    grid-column: span 2;
}
#menu_takeout .newMenu_items.multi {
    grid-template-columns: 1fr auto auto;
}
#menu_takeout .newMenu_items.multi .newMenu_categoryTitle {
    grid-column: span 3;
}
#menu_takeout .newMenu_items:not(.override) .newMenu_item:not(.hidden),
#menu_takeout .newMenu_items.override .newMenu_item {
    display: contents;
}
#menu_takeout .newMenu_item.header > * {
    background: none;
    margin-top: -22px;
}
@media screen and (max-width: 1200px) {
    #menu_takeout .newMenu_itemsContainer {
        columns: 2;
    }
}
@media screen and (max-width: 750px) {
    #menu_takeout .newMenu_itemsContainer {
        columns: 1;
    }
}

#menu_combo_header {
    display: table;
    margin: 0 auto;
}
.menu_combo_headerRow {
    display: table-row;
}
.menu_combo_headerRow:nth-child(2) {
    border-top-width: 1px;
    border-top-style: solid;
}
.menu_combo_headerRow:last-child {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
#menu_combo_headerTitle {
    display: table-caption;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
    color: var(--brand-text-color);
    margin: 5px 0;
}
.menu_combo_headerCell {
    display: table-cell;
    text-align: left;
    font-size: 18px;
    font-weight: 300;
    white-space: nowrap;
}
.menu_combo_headerCell:not(:first-child) {
    padding-left: 20px;
}
.menu_combo_headerCell:nth-child(1) {
    font-weight: 400;
    text-align: right;
}
#menu_combo_separator {
    width: 100%;
}
#menu_search {
    margin: 5px 10px 0;
}
#menu_container_1[data-selection="2"] #menu_search {
    display: none;
}
#menu_search input {
    padding: 5px 2px;
    width: 100%;
    text-align: center;
    border-radius: 2px;
    border: 1px solid #b7b7b7;
    outline: none;
}
#menu_search input:focus {
    border-color: #921717;
}

.menu_combo_set {
    width: calc(50% - 10px);
    box-sizing: border-box;
    border: 6px double var(--brand-color);
    padding: 10px 15px 10px;
    margin: 5px;
}
.menu_combo_set:before {
    content: "酬賓席";
    display: block;
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-family: serif;
}

#menu_set {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}
.menu_combo_set_ch {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: serif;
}
.menu_combo_set_itemCh {
    flex-grow: 1;
    padding: 0 10px;
}
.menu_combo_set_itemCh span {
    display: block;
    width: 38px;
    font-size: 28px;
    word-wrap: break-word;
    margin: 0 auto;
    background: #f7f7f7;
    padding: 5px;
    font-weight: bold;
}
.menu_combo_set_en {
    display: flex;
    white-space: nowrap;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 120px;
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}
.menu_combo_set_price {
    margin-top: 15px;
    color: var(--brand-text-color);
    text-align: center;
    font-size: 26px;
}

#menu_empty_state {
    display: flex;
    width: 100%;
    height: 40vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--menu-empty-state-color);
    font-size: 25px;
    font-weight: 300;
    --menu-empty-state-color: rgba(185, 6, 6, 0.60);
}

#menu_empty_state > svg {
    width: 100px;
    height: 100px;
    fill: var(--menu-empty-state-color);
}

#menu_empty_state > span {
    margin-top: 10px;
}
#menu_change_notice {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-grow: 1;
    font-size: 12px;
    color: #505050;
    text-align: center;
    padding-top: 5px;
}

@media screen and (max-width: 1550px) {
    .menu_combo_set_itemCh span {
        font-size: 24px;
        width: 24px;
    }
    .menu_combo_set_en {
        font-size: 14px;
    }
    .menu_combo_set_en {
        max-height: 110px;
    }
}
@media screen and (max-width: 1450px) {
    .menu_combo_set_itemCh span {
        font-size: 20px;
        width: 20px;
    }
    .menu_combo_set_en {
        font-size: 13px;
    }
    .menu_combo_set_en {
        max-height: 90px;
    }
}
@media screen and (max-width: 1350px) {
    .menu_combo_set:before {
        font-size: 38px;
    }
    .menu_combo_set_itemCh {
        padding: 0 5px;
    }
    .menu_combo_set_itemCh span {
        font-size: 18px;
        width: 18px;
        padding: 2px;
    }
    .menu_combo_set_en {
        font-size: 13px;
    }
    .menu_combo_set_en {
        max-height: none;
    }
    .menu_combo_set_price {
        font-size: 24px;
    }
}
@media screen and (max-width: 1130px) {
    .menu_combo_headerRow {
        display: block;
        padding: 10px;
        border-top-width: 1px;
        border-top-style: solid;
        border-color: #000000;
        margin: 0 -10px;
    }
    .menu_combo_headerRow .menu_combo_headerCell {
        display: inline;
        white-space: normal;
        padding-left: 0;
        width: 70px;
    }
    .menu_combo_headerCell:nth-child(1) {
        display: inline-block;
        text-align: left;
    }
    .menu_nav_item {
        font-size: 13px;
    }
}
@media screen and (max-width: 900px) {
    .menu_combo_set {
        width: calc(100% - 10px);
    }
    .menu_combo_set_itemCh span {
        font-size: 24px;
        width: 24px;
    }
    .menu_combo_set_en {
        font-size: 15px;
    }
}
@media screen and (max-width: 800px) {
    #menu_ribbon {
        height: 50vh;
    }
    #menu_ribbon_title {
        font-size: 72px;
    }
    #menu_ribbon_subtitle {
        font-size: 14px;
    }
    #menu_container_0 {
        padding: 20px 10px;
    }
    .menu_nav_item {
        font-size: 12px;
        padding: 10px 5px;
    }
    .menu_combo_headerRow .menu_combo_headerCell {
        padding-left: 0;
        font-size: 16px;
    }
}
@media screen and (max-width: 650px) {
    #menu_ribbon_title {
        font-size: 64px;
    }
    .menu_combo_set_itemCh span {
        font-size: 22px;
        width: 22px;
    }
    .menu_combo_set_en {
        font-size: 14px;
    }
    .menu_combo_set_price {
        font-size: 23px;
    }
    .menu_combo_headerRow .menu_combo_headerCell {
        font-size: 13px;
    }
    .menu_combo_headerCell:nth-child(1) {
        width: 50px;
    }
    .menu_combo_headerRow {
        padding: 5px 10px;
    }
}
@media screen and (max-width: 500px) {
    .menu_combo_set:before {
        font-size: 34px;
    }
    .menu_combo_set_itemCh {
        padding: 0;
    }

    .menu_combo_set_itemCh span {
        font-size: 17px;
        width: 17px;
    }

    .menu_combo_set_itemEn {
        display: block;
        font-size: 12px;
        white-space: normal;
        padding: 4px 0;
    }

    #menu_content {
        padding: 10px 0px;
    }
    .menu_combo_headerRow {
        margin: 0;
    }
}
@media screen and (max-width: 500px) {
    #menu_ribbon_title {
        font-size: 56px;
    }
}

@media (prefers-color-scheme: dark) {
    #content {
        background: #0e0e0e;
    }

    #menu_container_1 {
        background: #1f1f1f;
    }

    .menu_combo_headerRow {
        border-color: #a0a0a0;
    }

    a.menu_nav_item {
        color: #ffffff;
    }

    #menu_search input {
        border-color: #565656;
        background: #292929;
        color: #ffffff;
    }

    #menu_content {
        background-color: #1f1f1f;
        color: #ffffff;
    }

    .menu_combo_set_itemCh span {
        background: rgba(247, 247, 247, 0.08);
    }
}
