/* Menu book look (setting menu_book_skin, body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu): the menu page reads like the
   restaurant's printed menu book. Dish lines start with number + Chinese name in a Ming face, the
   Dutch name under it in a narrow letter, section characters in the book's brick red with the book's
   brush stroke, white page, and the book's page footer after the last dish. Images are cut from the
   printed menu (images/menu-book). Fonts and line order apply in both themes; colours, the stroke
   and the footer only in light (the footer image has a white ground). Owner picked this 2026-11-20. */

html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu {
    --book-red: #A13929;
    --book-ink: #1D1D1B;
    --book-grey: #6F6B66;
    --book-cd: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
    --book-ming: "Noto Serif TC", "PMingLiU", "Songti TC", serif;
}

/* The book's two voices */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-row,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-tabs,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart *:not([lang="zh"]),
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body *:not([lang="zh"]),
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-pickup-band--menu,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-pickup-band--menu *,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-tile-caption,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-tile-caption *,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-menu-info,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-menu-info *,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-r1-notice,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-r1-notice p,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-name,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-other {
    font-family: var(--book-cd) !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-zh,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-card-number {
    font-family: var(--book-ming) !important;
    font-weight: 400 !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-zh {
    font-family: var(--book-ming) !important;
    font-weight: 900 !important;
}

/* Dish lines like the book: "015 水餃湯麵" first, the Dutch name under it */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    column-gap: 7px !important;
    row-gap: 1px !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-card-number {
    order: 1 !important;
    font-size: 15px !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-card-zh {
    order: 2 !important;
    font-size: 15px !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-form-row-name {
    order: 3 !important;
    flex-basis: 100%;
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-description {
    font-size: 15px !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-price {
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-name {
    font-weight: 600 !important;
}

/* Light theme: the book's colours, white page, brush stroke and page footer */
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu {
    --saigon-product-surface-background: #FFFFFF;
    --saigon-surface-background: #FFFFFF;
    --saigon-surface-muted-background: #FFFFFF;
    --so-bg-fafafa: #FFFFFF;
    --so-c-card: #FFFFFF;
    --mc-paper: #FFFFFF;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu.saigon-menu-list .menu-form-row,
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu.saigon-menu-list .menu-form-list,
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu.saigon-menu-list .menu-card-category,
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu.saigon-menu-list main.menu-content {
    background: #FFFFFF !important;
    box-shadow: none !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-card-number,
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-card-zh,
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-heading .menu-form-row-name {
    color: var(--book-ink) !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-form-row-description {
    color: var(--book-grey) !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-zh {
    color: var(--book-red) !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-label {
    border-color: var(--book-red) !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-head {
    position: relative;
    padding-bottom: 14px !important;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 130px;
    height: 6px;
    background: url("../images/menu-book/stroke.png") no-repeat left center / 100% 100%;
}
:root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu main.menu-content::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 998 / 118;
    margin: 24px 0 48px;
    background: url("../images/menu-book/footer.png") no-repeat left top / 100% auto;
}
@media (max-width: 1023px) {
    :root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu main.menu-content::after {
        width: calc(100% - 32px);
        margin: 28px 16px 0;
    }
}

/* Empty cart: what to do and when to pick up, in the book's letter; no picture */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart.saigon-empty-cart--book {
    display: grid !important;
    gap: 4px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 0 4px !important;
    text-align: left !important;
    align-items: start !important;
    justify-items: start !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: none !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart.saigon-empty-cart--book > p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart--book .saigon-empty-cart-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--so-c-ink);
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart--book .saigon-empty-cart-desc {
    margin: 0;
    font-size: 15px;
    color: var(--so-c-muted);
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart--book .saigon-empty-cart-today {
    margin: 12px 0 0 !important;
    padding-top: 10px;
    border-top: 1px solid var(--so-c-line);
    align-self: stretch;
    font-size: 15px;
    color: var(--so-c-ink);
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .saigon-empty-cart--book .saigon-empty-cart-today strong {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* The restaurant info block above the book footer keeps a normal gap; the footer takes the cart-bar space. */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu.saigon-menu-list .menu-r1-notice + .so-menu-info {
    margin-bottom: 0 !important;
}
@media (max-width: 1023px) {
    :root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu main.menu-content::after {
        margin-bottom: 120px;
    }
}

/* From the restaurant's Instagram (namkee.amsterdam): their headline serif for section names, the
   cart title and the pickup name, and butter yellow on red for the "Meest besteld" label. */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu {
    --ig-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --ig-butter: #F5DD7A;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-name,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .cart-modal-title,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-title,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-title,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-pickup-card-name,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-menu-info-name {
    font-family: var(--ig-serif) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-book-other {
    font-family: var(--ig-serif) !important;
    font-style: italic !important;
    font-weight: 400 !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .menu-card-strip-title {
    font-family: var(--ig-serif) !important;
    font-weight: 700 !important;
    color: var(--ig-butter) !important;
}

/* Ordering switched off: the pickup card's label turns into the closed notice, in red and bold. */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu .so-pickup-band--closed .so-pickup-card-label {
    color: var(--mc-red, #c41e3a) !important;
    font-weight: 700 !important;
}
/* Closed sheet in the book letter; the phone row reuses the address row. */
html body.saigon-menu-book .so-closed-sheet-panel,
html body.saigon-menu-book .so-closed-sheet-panel * {
    font-family: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif !important;
}
html body.saigon-menu-book .so-closed-sheet-msg {
    font-weight: 600 !important;
}
.so-closed-sheet-addr + .so-closed-sheet-phone {
    margin-top: -18px;
    border-top: 0;
}

/* Desktop cart panel as a column of the menu book (owner 2026-11-20: the empty cart was "still ugly"):
   no card, shadow or rounded box; the title gets the section brush stroke; one left edge for
   everything; one small size for the fine print; square-cornered controls. */
@media (min-width: 1024px) {
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body > div {
        background: transparent !important;
        padding: 0 !important;
        align-items: stretch !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-title {
        margin: 0 0 18px !important;
        padding: 0 0 14px !important;
        border: 0 !important;
        font-size: 26px !important;
        line-height: 1.15 !important;
        text-align: left !important;
    }
    /* The section brush stroke under the title, as a background: the title's ::after is the item-count badge. */
    :root:not([data-saigon-theme="dark"]) body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-title {
        background: url("../images/menu-book/stroke.png") no-repeat left bottom / 130px 6px !important;
    }
    /* Empty */
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-empty-cart.saigon-empty-cart--book {
        padding: 0 !important;
        gap: 2px !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-empty-cart--book .saigon-empty-cart-title {
        font-size: 17px !important;
        font-weight: 500 !important;
        color: var(--so-c-ink) !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-empty-cart--book .saigon-empty-cart-desc {
        font-size: 15px !important;
        color: var(--so-c-muted) !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-empty-cart--book .saigon-empty-cart-today {
        margin: 22px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 14px !important;
        color: var(--so-c-muted) !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-empty-cart--book .saigon-empty-cart-today strong {
        font-weight: 500 !important;
        color: var(--so-c-ink) !important;
    }
    /* Fine print under the cart: same edge, same size, no centring */
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-desktop-cart-pickup,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-desktop-cart-allergy {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: var(--so-c-muted) !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .saigon-desktop-cart-pickup {
        margin-top: 2px !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart:has(.saigon-empty-cart) .saigon-desktop-cart-pickup {
        margin-top: 0 !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart:not(:has(.saigon-empty-cart)) .saigon-desktop-cart-pickup {
        margin-top: 14px !important;
    }
    /* Filled: lines and total on one right edge, quiet controls */
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-item-list,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-category-section,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-totals-section,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-item,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body .cart-modal-item {
        padding: 12px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--so-c-line) !important;
        box-shadow: none !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body .cart-category-section {
        border: 0 !important;
        box-shadow: none !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-item-quantity {
        border-radius: 4px !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-totals-section {
        border-top: 0 !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-checkout-btn,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body .cart-modal-checkout-btn,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body .cart-modal-actions a.cart-modal-checkout-btn {
        border-radius: 6px !important;
        clip-path: none !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-bar-badge,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart .cart-modal-count {
        font-family: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif !important;
    }
}

/* Cart notices (ordering closed, sold out, table) in the panel's own voice: red text on the page,
   no pink box and no round icon. */
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-error,
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-error-inner {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-error {
    margin: 0 0 18px !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-error-icon {
    display: none !important;
}
html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #cart-modal-body .cart-modal-error-text {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--mc-red, #c41e3a) !important;
}
@media (min-width: 1024px) {
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body {
        flex-direction: column !important;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body > .cart-modal-title {
        order: -1;
    }
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body > .cart-modal-error + .saigon-empty-cart--book .saigon-empty-cart-today,
    html body.saigon-menu-book.saigon-menu-card.saigon-desktop-menu #saigon-desktop-cart-slot #cart-modal-body > .cart-modal-error ~ .saigon-empty-cart--book .saigon-empty-cart-today {
        margin-top: 0 !important;
    }
}
