/*
 * Restaurant list, footer and the area & language dialog: the layout of longwang.vn in the GMaster colours (soft black #0A0A0A,
 * brown #1E0F0B, gold #F2BE83, brand red #A31F1C). Fonts: --font-primary (SVN-Helves) for text, --font-secondary (helvetic) for titles.
 */

/* ------------------------------------------------------------------ Restaurant list */
.gmaster-stores {
    background: #1e0f0b;
    color: #ece4da;
    padding: 72px 0 80px;
    overflow: hidden;
}
.gmaster-stores__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: start;
}
.gmaster-stores__kicker {
    margin: 0 0 10px;
    color: var(--gmaster-gold, #f2be83);
    font-family: var(--font-primary, 'SVN-Helves', Arial, sans-serif);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}
@media (max-width: 767px) { .gmaster-stores__kicker { font-size: 16px; } }
.gmaster-stores__title {
    margin: 0 0 32px;
    color: #fff;
    font-family: var(--font-secondary, helvetic, sans-serif);
    font-size: 48px;
    line-height: 1.15;
    text-transform: uppercase;
}

.gmaster-stores__tabs-row { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.gmaster-stores__tabs {
    display: flex;
    flex: 1;
    gap: 22px;
    min-width: 0;
    overflow-x: auto;
    border-bottom: 1px solid rgba(242, 190, 131, 0.28);
    scrollbar-width: none;
}
.gmaster-stores__tabs::-webkit-scrollbar { display: none; }
.gmaster-stores__tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 2px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    color: rgba(236, 228, 218, 0.62);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.gmaster-stores__tab-name { font-size: 16px; line-height: 1.3; }
.gmaster-stores__tab-count { font-family: var(--font-text); font-size: 15px; font-weight: 400; opacity: 0.75; }
.gmaster-stores__tab:hover { color: #fff; }
.gmaster-stores__tab.is-active { color: var(--gmaster-gold, #f2be83); border-bottom-color: var(--gmaster-gold, #f2be83); }
.gmaster-stores__tabs-next,
.gmaster-stores__arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.35);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gmaster-stores__tabs-next:hover,
.gmaster-stores__arrow:hover { background: var(--gmaster-red, #a31f1c); border-color: var(--gmaster-red, #a31f1c); }
.gmaster-stores__tabs-next[hidden],
.gmaster-stores__arrow[hidden] { display: none; }

/* Dropdown of the restaurants (as on longwang.vn: trigger, search, options with address and status); hidden when the area has one restaurant. */
.gmaster-stores__select { position: relative; margin-bottom: 4px; }
.gmaster-stores__select[hidden] { display: none; }
.gmaster-stores__select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(242, 190, 131, 0.5);
    background: rgba(242, 190, 131, 0.07);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease;
}
.gmaster-stores__select-trigger:hover { border-color: rgba(242, 190, 131, 0.85); background: rgba(242, 190, 131, 0.12); }
.gmaster-stores__select-trigger[aria-expanded="true"] { border-color: var(--gmaster-gold, #f2be83); background: rgba(242, 190, 131, 0.16); }
.gmaster-stores__select-trigger:focus-visible { outline: 2px solid var(--gmaster-gold, #f2be83); outline-offset: 2px; }
.gmaster-stores__select-text { min-width: 0; flex: 1; }
.gmaster-stores__select-label { display: block; margin: 0 0 4px; font-size: 15px; line-height: 1.2; color: rgba(236, 228, 218, 0.72); }
.gmaster-stores__select-value { display: block; font-size: 16px; line-height: 1.35; color: #fff; text-transform: uppercase; }
.gmaster-stores__select-icon { flex: 0 0 auto; color: var(--gmaster-gold, #f2be83); font-size: 15px; transition: transform 180ms ease; }
.gmaster-stores__select-trigger[aria-expanded="true"] .gmaster-stores__select-icon { transform: rotate(180deg); }

.gmaster-stores__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 12px;
    border: 1px solid rgba(242, 190, 131, 0.3);
    background: rgba(20, 14, 12, 0.98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}
.gmaster-stores__panel[hidden] { display: none; }
.gmaster-stores__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 190, 131, 0.3);
    background: rgba(242, 190, 131, 0.07);
}
.gmaster-stores__search i { flex: 0 0 16px; color: rgba(242, 190, 131, 0.85); font-size: 15px; }
.gmaster-stores__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}
.gmaster-stores__search input::placeholder { color: rgba(236, 228, 218, 0.55); }
.gmaster-stores__options { margin-top: 10px; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(242, 190, 131, 0.35) transparent; }
.gmaster-stores__option {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(242, 190, 131, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease;
}
.gmaster-stores__option[hidden] { display: none; }
.gmaster-stores__option:hover { border-color: rgba(242, 190, 131, 0.55); background: rgba(242, 190, 131, 0.1); }
.gmaster-stores__option.is-selected { border-color: var(--gmaster-gold, #f2be83); background: rgba(242, 190, 131, 0.15); }
.gmaster-stores__option.is-disabled { cursor: not-allowed; opacity: 0.6; }
.gmaster-stores__option-row { display: flex; align-items: center; gap: 8px; }
.gmaster-stores__option-title { display: block; font-size: 16px; line-height: 1.35; color: #fff; text-transform: uppercase; }
.gmaster-stores__option-address,
.gmaster-stores__option-status { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; column-gap: 8px; padding-left: 24px; line-height: 1.35; }
.gmaster-stores__option-address { margin-top: 8px; overflow: hidden; color: rgba(236, 228, 218, 0.82); font-family: var(--font-text); font-size: 15px; }
.gmaster-stores__option-address i { margin-top: 2px; color: rgba(242, 190, 131, 0.85); font-size: 12px; text-align: center; }
.gmaster-stores__option-address span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gmaster-stores__option-status { margin-top: 7px; color: rgba(236, 228, 218, 0.82); font-size: 15px; }
.gmaster-stores__option-status::before { content: ''; width: 8px; height: 8px; align-self: center; justify-self: center; border-radius: 999px; background: #35d17f; box-shadow: 0 0 0 4px rgba(53, 209, 127, 0.14); }
.gmaster-stores__option-status--coming-soon::before { background: #f3a11b; box-shadow: 0 0 0 4px rgba(243, 161, 27, 0.14); }
.gmaster-stores__option-status--paused::before { background: #a6adb6; box-shadow: 0 0 0 4px rgba(166, 173, 182, 0.12); }
/* the brand mark slides in before the name of the hovered / chosen restaurant */
.gmaster-stores__option-icon {
    width: 0;
    height: 16px;
    flex: 0 0 0;
    opacity: 0;
    overflow: hidden;
    background: center / contain no-repeat;
    transform: translateX(-2px);
    transition: width 180ms ease, flex-basis 180ms ease, opacity 180ms ease, transform 180ms ease;
}
.gmaster-stores__option:hover .gmaster-stores__option-icon,
.gmaster-stores__option.is-selected .gmaster-stores__option-icon { width: 16px; flex-basis: 16px; opacity: 1; transform: none; }
.gmaster-stores__no-result { margin: 0; padding: 10px 2px 4px; font-size: 15px; line-height: 1.4; color: rgba(236, 228, 218, 0.75); }
.gmaster-stores__no-result[hidden] { display: none; }

.gmaster-stores__details { border-left: 2px solid rgba(242, 190, 131, 0.5); background: rgba(242, 190, 131, 0.06); margin-top: 0; }
.gmaster-stores__branch { padding: 22px 24px 26px; }
.gmaster-stores__branch[hidden] { display: none; }
.gmaster-stores__branch-name { margin: 0 0 14px; color: var(--gmaster-gold, #f2be83); font-size: 18px; line-height: 1.35; text-transform: uppercase; }
.gmaster-stores__list { margin: 0 0 20px; padding: 0; list-style: none; }
.gmaster-stores__list li { display: flex; gap: 14px; align-items: flex-start; padding: 7px 0; font-family: var(--font-text); font-size: 16px; font-weight: 400; line-height: 1.6; color: #d8d1c7; }
.gmaster-stores__list a { font-weight: 600; }
.gmaster-stores__list i { flex: 0 0 18px; margin-top: 4px; color: var(--gmaster-gold, #f2be83); text-align: center; }
.gmaster-stores__list a { color: inherit; text-decoration: none; }
.gmaster-stores__list a:hover { color: var(--gmaster-gold, #f2be83); }
.gmaster-stores__map {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gmaster-stores__map:hover { background: var(--gmaster-red, #a31f1c); border-color: var(--gmaster-red, #a31f1c); color: #fff; }
.gmaster-stores__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.gmaster-stores__book { background: var(--gmaster-red, #a31f1c); border: 1px solid var(--gmaster-red, #a31f1c); color: #fff; text-decoration: none; }
.gmaster-stores__book:hover { background: transparent; border-color: var(--gmaster-gold, #f2be83); color: var(--gmaster-gold, #f2be83); }
.gmaster-stores__empty { margin: 0; padding: 24px; }

.gmaster-stores__frame {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(242, 190, 131, 0.08);
}
.gmaster-stores__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gmaster-stores__arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.gmaster-stores__arrow--prev { left: 18px; }
.gmaster-stores__arrow--next { right: 18px; }
.gmaster-stores__dots { display: flex; justify-content: center; gap: 12px; min-height: 12px; margin-top: 22px; }
.gmaster-stores__dots button {
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1.5px solid var(--gmaster-gold, #f2be83);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.gmaster-stores__dots button.is-active { background: var(--gmaster-gold, #f2be83); }

@media (max-width: 991px) {
    .gmaster-stores { padding: 48px 0 56px; }
    .gmaster-stores__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .gmaster-stores__title { font-size: 32px; margin-bottom: 24px; }
    /* The pictures come after the restaurant block (details and booking button), not before it. */
    .gmaster-stores__media { order: 0; }
}

/* ------------------------------------------------------------------ Footer */
/* Measures of the footer of longwang.vn (columns 25% | 40% | 25%, 16px titles and texts, dashed line above the links); GMaster colours. */
.gmaster-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 52px 0 0;
    background: var(--gmaster-black, #0a0a0a);
    color: var(--gmaster-gold, #f2be83);
    font-family: var(--font-primary, 'SVN-Helves', Arial, sans-serif);
}
.gmaster-footer__container { width: min(100%, 1320px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.gmaster-footer__grid {
    display: grid;
    grid-template-columns: 25% 40% 25%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 164px;
}
.gmaster-footer__col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--gmaster-gold, #f2be83);
    text-align: center;
}
.gmaster-footer__col--social,
.gmaster-footer__col--company { width: 100%; min-height: 100px; }
.gmaster-footer__col--app { width: 294px; min-height: 100px; }

.gmaster-footer__follow { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gmaster-footer__title {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--gmaster-gold, #f2be83);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}
.gmaster-footer__socials { display: flex; align-items: center; justify-content: center; gap: 14px; width: 210px; min-height: 40px; }
/* Each icon is as big as its link: no padding and no background; gold, white on hover. */
.gmaster-footer__socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    color: var(--gmaster-gold, #f2be83);
    transition: transform 180ms ease, color 180ms ease;
}
.gmaster-footer__socials a:hover,
.gmaster-footer__socials a:focus-visible { color: #fff; transform: translateY(-1px); outline: none; }
.gmaster-footer__social-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: var(--gmaster-social-icon) center / contain no-repeat;
    mask: var(--gmaster-social-icon) center / contain no-repeat;
}
.gmaster-footer__socials svg { width: 100%; height: 100%; }
.gmaster-footer__socials svg path { fill: currentColor; }

.gmaster-footer__hotline { margin: 10px 0 0; font-family: var(--font-text); font-size: 16px; line-height: 24px; font-weight: 400; color: var(--gmaster-text, #d8d1c7); text-align: center; }
.gmaster-footer__hotline a { color: inherit; font: inherit; text-decoration: none; }
.gmaster-footer__hotline a:hover { color: var(--gmaster-gold, #f2be83); }

.gmaster-footer__col--company { gap: 10px; }
.gmaster-footer__company-top,
.gmaster-footer__company-bottom { display: flex; flex-direction: column; align-items: center; width: 100%; }
.gmaster-footer__divider { width: 100%; height: 1px; margin: 13px 0 0; border-top: 1px solid rgba(242, 190, 131, 0.3); }
.gmaster-footer__col--company p { margin: 0; font-family: var(--font-text); font-size: 15px; line-height: 24px; font-weight: 400; color: var(--gmaster-text, #d8d1c7); text-align: center; }
.gmaster-footer__offices { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.gmaster-footer__col--company .gmaster-footer__address { display: block; width: min(100%, 510px); }
.gmaster-footer__col--company .gmaster-footer__code { display: block; margin-top: 12px; color: var(--gmaster-gold, #f2be83); }

.gmaster-footer__col--app { align-items: center; gap: 14px; }
.gmaster-footer__app-heading { display: flex; flex-direction: column; align-items: center; width: 100%; }
.gmaster-footer__col--app p { width: auto; max-width: 100%; margin: 0; font-family: var(--font-text); font-size: 15px; line-height: 24px; font-weight: 400; color: var(--gmaster-text, #d8d1c7); text-align: center; white-space: nowrap; }
.gmaster-footer__col--app p strong { color: var(--gmaster-gold, #f2be83); font-family: var(--font-primary); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.gmaster-footer__badges { display: flex; align-items: flex-start; justify-content: center; gap: 10px; width: 294px; }
/* Both badges sit in the same box with the same grey border: the artwork is enlarged a little so the border drawn inside the Google Play file is clipped and only this one shows. */
.gmaster-footer__badge-link {
    display: block;
    flex: 0 0 auto;
    width: min(142px, calc((100% - 10px) / 2));
    aspect-ratio: 134.87 / 40;
    overflow: hidden;
    border: 1px solid #a6a6a6;
    border-radius: 7px;
    background: #000;
}
.gmaster-footer__badge { display: block; width: calc(100% + 6px); max-width: none; height: calc(100% + 6px); margin: -3px; object-fit: cover; }

.gmaster-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    padding: 24px 0 32px;
    border-top: 1px dashed rgba(242, 190, 131, 0.55);
}
.gmaster-footer__nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 26px; }
.gmaster-footer__nav a { color: var(--gmaster-gold, #f2be83); font-family: var(--font-text); font-size: 15px; line-height: 24px; text-align: center; text-decoration: none; white-space: nowrap; transition: color 180ms ease; }
.gmaster-footer__nav a:hover,
.gmaster-footer__nav a:focus-visible { color: #fff; outline: none; }

@media (max-width: 1359px) {
    .gmaster-footer__container { width: calc(100% - 40px); }
    .gmaster-footer__grid { grid-template-columns: minmax(210px, 246px) minmax(360px, 526px) minmax(240px, 294px); gap: clamp(28px, 5vw, 96px); }
}
@media (max-width: 1024px) {
    .gmaster-footer { padding: 36px 0 0; }
    .gmaster-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .gmaster-footer__col--social,
    .gmaster-footer__col--company,
    .gmaster-footer__col--app { width: 100%; min-height: auto; }
    .gmaster-footer__divider { width: min(100%, 526px); }
}
@media (max-width: 767px) {
    .gmaster-footer__container { width: calc(100% - 32px); }
    /* as on longwang.vn, the app badges are not shown on phones */
    .gmaster-footer__col--app { display: none; }
    .gmaster-footer__grid { gap: 24px; }
    .gmaster-footer__bottom { margin-top: 28px; padding: 18px 0 24px; }
    .gmaster-footer__nav { flex-wrap: wrap; gap: 6px 14px; width: min(100%, 317px); }
    .gmaster-footer__col--company p { font-size: 15px; text-wrap: balance; }
    .gmaster-footer__nav { gap: 6px 18px; }
}

/* ------------------------------------------------------------------ Area & language dialog */
html.gmaster-locale-open { overflow: hidden; }
.gmaster-locale-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.18s ease;
    font-family: var(--font-primary, 'SVN-Helves', Arial, sans-serif);
}
.gmaster-locale-modal[hidden] { display: none; }
.gmaster-locale-modal.is-open { opacity: 1; }
.gmaster-locale-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(6px); }
.gmaster-locale-modal__panel {
    position: relative;
    width: min(650px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 28px 30px 26px;
    border: 1px solid rgba(242, 190, 131, 0.3);
    border-radius: 16px;
    background: #141010;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
    color: #ece4da;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}
.gmaster-locale-modal.is-open .gmaster-locale-modal__panel { transform: none; }
.gmaster-locale-modal__panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--gmaster-red, #a31f1c), var(--gmaster-gold, #f2be83), var(--gmaster-red, #a31f1c));
}
.gmaster-locale-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(242, 190, 131, 0.22); }
.gmaster-locale-modal__title { margin: 0; color: #fff; font-size: 24px; font-weight: 400; line-height: 1.3; }
.gmaster-locale-modal__close {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(242, 190, 131, 0.45);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.gmaster-locale-modal__close:hover { background: var(--gmaster-red, #a31f1c); border-color: var(--gmaster-red, #a31f1c); }
.gmaster-locale-modal__close span::before,
.gmaster-locale-modal__close span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}
.gmaster-locale-modal__close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.gmaster-locale-modal__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.gmaster-locale-modal__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}
.gmaster-locale-modal__heading::before { content: ''; width: 16px; height: 2px; background: var(--gmaster-gold, #f2be83); }
.gmaster-locale-modal__grid { display: grid; gap: 10px; }
.gmaster-locale-modal__grid--areas { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.gmaster-locale-modal__grid--languages { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gmaster-locale-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 30px 10px 14px;
    border: 1px solid rgba(242, 190, 131, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #ece4da;
    font: inherit;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.gmaster-locale-option:hover { border-color: var(--gmaster-gold, #f2be83); }
.gmaster-locale-option:focus-visible { outline: 2px solid var(--gmaster-gold, #f2be83); outline-offset: 2px; }
.gmaster-locale-option.is-selected { border-color: var(--gmaster-gold, #f2be83); background: rgba(242, 190, 131, 0.12); color: #fff; }
.gmaster-locale-option.is-disabled { opacity: 0.5; cursor: not-allowed; }
.gmaster-locale-option__check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gmaster-red, #a31f1c);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.gmaster-locale-option__check::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.gmaster-locale-option.is-selected .gmaster-locale-option__check { opacity: 1; transform: none; }
.gmaster-locale-option__badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(242, 190, 131, 0.18);
    color: var(--gmaster-gold, #f2be83);
    font-size: 15px;
    white-space: nowrap;
}
.gmaster-locale-option--language { padding: 12px 16px; }
.gmaster-locale-option__flag { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; flex: 0 0 24px; }
.gmaster-locale-option__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.gmaster-locale-option__code { color: #fff; font-size: 16px; }
.gmaster-locale-option__label { color: rgba(236, 228, 218, 0.7); font-family: var(--font-text); font-size: 15px; font-weight: 400; }

.gmaster-locale-modal__actions { display: flex; justify-content: flex-end; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(242, 190, 131, 0.22); }
.gmaster-locale-modal__apply {
    min-width: 120px;
    padding: 12px 26px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--gmaster-red, #a31f1c) 0%, #7d1815 100%);
    color: #fff;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(163, 31, 28, 0.32);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.gmaster-locale-modal__apply:hover { filter: brightness(1.1); transform: translateY(-1px); }

@media (max-width: 575px) {
    /* In the middle of the screen (not a sheet glued to the bottom edge). */
    .gmaster-locale-modal { padding: 16px; align-items: center; justify-content: center; }
    .gmaster-locale-modal__panel { width: 100%; max-height: calc(100dvh - 32px); padding: 22px 18px 20px; border-radius: 16px; }
    .gmaster-locale-modal__title { font-size: 20px; }
    .gmaster-locale-modal__grid--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Two columns for VI and EN on phones too. */
    .gmaster-locale-modal__grid--languages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gmaster-locale-option--language { padding: 10px 12px; gap: 8px; }
    .gmaster-locale-option__flag { width: 22px; height: 22px; flex-basis: 22px; }
    .gmaster-locale-modal__apply { width: 100%; }
}

/* ------------------------------------------------------------------ Câu chuyện: the golden divider pictures stay small */
.gmaster-site-page--story .pattern-group img { max-width: 180px; width: 100%; height: auto; }

/*
 * Promotion detail (Long Wang promotion page in the G.Master colours): the cover picture and the table of contents stick
 * at the left, the article card (short text, content, period / conditions / restaurants) at the right, then the other
 * promotions. Black #0A0A0A, gold #F2BE83; SVN-Helves and helvetic only.
 */
.gmaster-promo-single { background: var(--gmaster-black, #0a0a0a); color: var(--gmaster-text, #d8d1c7); padding-bottom: 72px; }
.gmaster-promo-single__container { width: min(100%, 1320px); margin: 0 auto; padding: 32px 20px 0; }
.gmaster-promo-single__main { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); gap: 28px; align-items: start; }
.gmaster-promo-single__main--article-only { grid-template-columns: minmax(0, 1fr); }
.gmaster-promo-single__side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gmaster-promo-single__cover { margin: 0; border: 1px solid rgba(242, 190, 131, 0.35); border-radius: 8px; overflow: hidden; background: #111; }
.gmaster-promo-single__cover img { display: block; width: 100%; height: auto; }
.gmaster-promo-single__toc { border: 1px solid rgba(242, 190, 131, 0.25); border-radius: 8px; background: rgba(255, 255, 255, 0.03); padding: 18px 20px; }
.gmaster-promo-single__toc-title { margin: 0 0 10px; color: var(--gmaster-gold, #f2be83); font-family: var(--font-secondary); font-size: 18px; line-height: 1.4; text-transform: uppercase; }
.gmaster-promo-single__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gmaster-promo-single__toc li.level-3 { padding-left: 14px; }
.gmaster-promo-single__toc li.level-4 { padding-left: 28px; }
.gmaster-promo-single__toc a { color: var(--gmaster-text, #d8d1c7); font-family: var(--font-text); font-size: 15px; line-height: 1.55; text-decoration: none; }
.gmaster-promo-single__toc a:hover { color: var(--gmaster-gold, #f2be83); }
.gmaster-promo-single__article { min-width: 0; border: 1px solid rgba(242, 190, 131, 0.25); border-radius: 8px; background: rgba(255, 255, 255, 0.03); padding: 30px; }
.gmaster-promo-single__description { margin: 0 0 22px; padding-left: 14px; border-left: 3px solid var(--gmaster-gold, #f2be83); color: #fff; font-family: var(--font-text); font-size: 16px; line-height: 1.8; }
.gmaster-promo-single__description a { color: var(--gmaster-gold, #f2be83); }
.gmaster-promo-single__content { color: var(--gmaster-text, #d8d1c7); font-family: var(--font-text); font-size: 16px; line-height: 1.8; }
.gmaster-promo-single__content > :first-child { margin-top: 0; }
.gmaster-promo-single__content > :last-child { margin-bottom: 0; }
.gmaster-promo-single__content h2, .gmaster-promo-single__content h3, .gmaster-promo-single__content h4 { margin: 1.4em 0 0.55em; color: var(--gmaster-gold, #f2be83); font-family: var(--font-secondary); line-height: 1.3; text-transform: uppercase; scroll-margin-top: 110px; }
.gmaster-promo-single__content p, .gmaster-promo-single__content ul, .gmaster-promo-single__content ol { margin: 0 0 1em; }
.gmaster-promo-single__content ul { padding-left: 1.3em; list-style: disc; }
.gmaster-promo-single__content ol { padding-left: 1.3em; list-style: decimal; }
.gmaster-promo-single__content img { max-width: 100%; height: auto; border-radius: 8px; }
.gmaster-promo-single__content a { color: var(--gmaster-gold, #f2be83); text-decoration: underline; }
.gmaster-promo-single__content a:hover { color: #fff; }

/* Period, conditions and restaurants. */
.gmaster-promo-meta { display: grid; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(242, 190, 131, 0.25); }
.gmaster-promo-meta--first { margin-top: 0; padding-top: 0; border-top: 0; }
.gmaster-promo-meta__block { border: 1px solid rgba(242, 190, 131, 0.32); border-radius: 8px; background: rgba(242, 190, 131, 0.07); padding: 18px 20px; }
.gmaster-promo-meta__title { margin: 0 0 10px; color: var(--gmaster-gold, #f2be83); font-family: var(--font-secondary); font-size: 18px; line-height: 1.45; font-weight: 400; text-transform: uppercase; }
.gmaster-promo-meta__time { display: inline-flex; align-items: center; min-height: 36px; margin: 0; padding: 6px 14px; border-radius: 4px; background: var(--gmaster-gold, #f2be83); color: var(--gmaster-black, #0a0a0a); font-family: var(--font-primary); font-size: 15px; line-height: 1.45; }
.gmaster-promo-meta__terms { color: #fff; font-family: var(--font-text); font-size: 15px; line-height: 1.65; }
.gmaster-promo-meta__terms > * { margin: 0; }
.gmaster-promo-meta__terms ul, .gmaster-promo-meta__terms ol { display: grid; gap: 8px; padding-left: 1.3em; }
.gmaster-promo-meta__terms ul { list-style: disc; }
.gmaster-promo-meta__terms ol { list-style: decimal; }
.gmaster-promo-meta__terms li::marker { color: var(--gmaster-gold, #f2be83); }
.gmaster-promo-meta__branches { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gmaster-promo-meta__branches li { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.gmaster-promo-meta__branch-name { color: #fff; font-family: var(--font-primary); font-size: 16px; line-height: 1.4; }
.gmaster-promo-meta__branch-address { position: relative; padding-left: 16px; color: var(--gmaster-text, #d8d1c7); font-family: var(--font-text); font-size: 15px; line-height: 1.55; text-decoration: none; }
.gmaster-promo-meta__branch-address::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gmaster-gold, #f2be83); }
a.gmaster-promo-meta__branch-address:hover { color: var(--gmaster-gold, #f2be83); }

/* Other promotions. */
.gmaster-promo-single__related { margin-top: 56px; }
.gmaster-promo-single__related-title { margin: 0 0 24px; color: #fff; font-family: var(--font-secondary); font-size: 32px; line-height: 1.3; font-weight: 400; text-transform: uppercase; }
.gmaster-promo-single__related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gmaster-promo-single__related .news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(242, 190, 131, 0.2); border-radius: 8px; background: #111; }
.gmaster-promo-single__related .news-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.gmaster-promo-single__related .news-card-img-container { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.gmaster-promo-single__related .news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gmaster-promo-single__related .news-card:hover .news-card-img { transform: scale(1.06); }
.gmaster-promo-single__related .news-card-content { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.gmaster-promo-single__related .news-card-title { margin: 0; color: #fff; font-family: var(--font-secondary); font-size: 24px; line-height: 1.35; font-weight: 400; text-transform: uppercase; }
.gmaster-promo-single__related .news-card:hover .news-card-title { color: var(--gmaster-gold, #f2be83); }
.gmaster-promo-single__related .news-card-excerpt { margin: 0; color: var(--gmaster-text, #d8d1c7); font-family: var(--font-text); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

@media (max-width: 991px) {
    .gmaster-promo-single__main { grid-template-columns: minmax(0, 1fr); }
    .gmaster-promo-single__side { position: static; }
    .gmaster-promo-single__cover { max-width: 520px; }
    .gmaster-promo-single__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .gmaster-promo-single__container { padding: 24px 16px 0; }
    .gmaster-promo-single__article { padding: 20px 16px; }
    .gmaster-promo-single__related-grid { grid-template-columns: minmax(0, 1fr); }
    .gmaster-promo-single__related-title { font-size: 28px; }
}


/* Titles and labels written in normal case: every word with a capital letter (Chọn Khu Vực Và Ngôn Ngữ). */
.gmaster-locale-modal__title,
.gmaster-locale-modal__heading,
.gmaster-cookie-consent__title,
.gmaster-stores__select-label,
.gmaster-stores__option-label { text-transform: capitalize; }

/*
 * Mobile menu: it opens downwards under the header (no side panel over the whole screen). gmaster-site.js writes
 * --gmaster-menu-top (the bottom edge of the header) when the menu opens and while the page moves.
 */
@media (max-width: 1140px) {
    .megamenu_mb {
        top: var(--gmaster-menu-top, 72px);
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - var(--gmaster-menu-top, 72px));
        max-height: calc(100dvh - var(--gmaster-menu-top, 72px));
        overflow-y: auto;
        z-index: 998;
        border-bottom: 1px solid rgba(242, 190, 131, 0.35);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    .megamenu_mb.megamenu_mb_show {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition-delay: 0s;
    }
    .megamenu_mb .close_all { display: none; }
    .megamenu_mb ul.menu { height: auto; margin: 0; padding: 8px 0 22px; overflow: visible; list-style: none; }
    .megamenu_mb li:first-child { margin-top: 0; }
    .megamenu_mb li.group_class_menu { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .megamenu_mb li.group_class_menu a { padding: 16px 20px; font-size: 16px; letter-spacing: 0; text-transform: uppercase; }
    .megamenu_mb li.group_class_menu.activated a { color: var(--gmaster-gold, #f2be83); }
    .megamenu_mb .mobile-booking-item { margin-top: 18px !important; padding: 0 20px !important; }
    .megamenu_mb .mobile_navigation_wrapper { padding: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .megamenu_mb .mobile_navigation_inner { margin: 0; padding: 12px 20px; }
}

/* ------------------------------------------------------------------ Area and language button (header, mobile menu) */
/* Long Wang: "Hồ Chí Minh | flag VI". SVN-Helves only; the theme's dark background and padding of .selector are removed. */
.gmaster-lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    background: none;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.25;
    cursor: pointer;
    user-select: none;
    transition: color 0.18s ease;
}
.gmaster-lang-selector:hover .gmaster-lang-selector__area,
.gmaster-lang-selector:focus-visible .gmaster-lang-selector__area { color: var(--gmaster-gold, #f2be83); }
.gmaster-lang-selector:focus-visible { outline: 1px solid var(--gmaster-gold, #f2be83); outline-offset: 3px; }
.gmaster-lang-selector__area { color: #fff; white-space: nowrap; transition: color 0.18s ease; }
.gmaster-lang-selector__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.45); }
.gmaster-lang-selector__lang { display: inline-flex; align-items: center; gap: 8px; color: var(--gmaster-gold, #f2be83); }
.gmaster-lang-selector .flag-icon { display: block; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: 0 0 18px; }
.gmaster-lang-selector__lang { line-height: 1; }
.gmaster-lang-selector__lang > span { display: block; line-height: 1; }

/* Mobile menu: the last row is the area / language button (50%) and Đặt bàn (50%, white). */
.megamenu_mb .gmaster-mobile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 18px !important;
    padding: 0 20px !important;
}
.megamenu_mb .gmaster-mobile-actions .btn-booking-mobile { width: 100% !important; min-width: 0; }
.megamenu_mb .gmaster-lang-selector--mobile {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 4px 0;
    border: 0;
    text-align: left;
    font-size: 15px;
}
.megamenu_mb .gmaster-lang-selector--mobile .gmaster-lang-selector__area { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.megamenu_mb .gmaster-lang-selector--mobile .flag-icon { width: 18px; height: 18px; flex-basis: 18px; }
/* The theme styles every span of the mobile menu as a menu link (padding, 20px): not the ones of the button. */
.megamenu_mb .gmaster-lang-selector span { padding: 0; margin: 0; font-size: inherit; line-height: 1.25; }
.megamenu_mb .gmaster-lang-selector .gmaster-lang-selector__lang { display: inline-flex; }
.megamenu_mb .gmaster-lang-selector .gmaster-lang-selector__area { display: block; }
.megamenu_mb .gmaster-lang-selector .gmaster-lang-selector__lang span { color: var(--gmaster-gold, #f2be83); }
.megamenu_mb .gmaster-lang-selector--mobile .gmaster-lang-selector__lang { gap: 6px; }
.megamenu_mb .gmaster-lang-selector--mobile .gmaster-lang-selector__lang > span { transform: translateY(0.05em); }
/* Đặt bàn of the mobile menu: white fill, black text (hover: gold). */
.megamenu_mb ul li.mobile-booking-item.gmaster-mobile-actions a.btn-booking-mobile {
    background: #fff !important;
    border: 1px solid #fff !important;
    color: var(--gmaster-black, #0a0a0a) !important;
}
.megamenu_mb ul li.mobile-booking-item.gmaster-mobile-actions a.btn-booking-mobile:hover,
.megamenu_mb ul li.mobile-booking-item.gmaster-mobile-actions a.btn-booking-mobile:focus-visible {
    background: var(--gmaster-gold, #f2be83) !important;
    border-color: var(--gmaster-gold, #f2be83) !important;
    color: var(--gmaster-black, #0a0a0a) !important;
}

/* ------------------------------------------------------------------ Thực đơn: category tabs as one row with arrows (phones, tablets) */
.menu-page-tabs-nav { display: none; }
@media (max-width: 1024px) {
    .menu-page-tabs-wrapper { position: sticky; align-items: center; border-top: 1px solid #333; border-bottom: 1px solid #333; }
    /* The row ends where the arrows begin: the tabs are cut at the arrows, they never run under them. */
    .menu-page-tabs-wrapper .menu-page-tabs.menu-page-tabs {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 52px;
        border-top: 0;
        border-bottom: 0;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 22px;
        overflow-x: auto;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    .menu-page-tabs-wrapper .menu-page-tabs::-webkit-scrollbar { display: none; }
    .menu-page-tabs-wrapper .menu-page-tab { flex: 0 0 auto; white-space: nowrap; font-size: 16px; padding: 11.7px 0 12.3px; }  /* SVN-Helves capitals sit 0.3px low in their box: this padding puts them in the middle of the arrows */
    .menu-page-tabs-nav {
        position: absolute;
        top: 50%;
        z-index: 4;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.95);
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.5);
        color: var(--gmaster-red, #a31f1c);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
        transform: translateY(-50%);
        cursor: pointer;
        transition: background-color 180ms ease, opacity 180ms ease;
    }
    .menu-page-tabs-nav:hover { background: rgba(255, 255, 255, 0.72); }
    .menu-page-tabs-nav:disabled { opacity: 0.45; cursor: default; }
    .menu-page-tabs-prev { left: 10px; }
    .menu-page-tabs-next { right: 10px; }

    /* Same for the menu tabs of the homepage. */
    .gmaster-home-s4-tabs { padding: 0 !important; margin-left: 52px; margin-right: 52px; }
}

/*
 * Membership on phones (up to 699px): only the card in the middle (Kim cương first) is seen, as wide as the slider; the cards at
 * both sides are outside it (no strip of them at the edges) and come in while the visitor swipes. The active card is above the
 * others (z-index) and the cards never overlap. The tier tabs (Vàng / Kim cương / Bạc) pick a card.
 */
@media (max-width: 699px) {
    #membership-clone .membership-nav-tabs { display: block !important; width: calc(100% - 40px) !important; margin: 0 20px 28px !important; }
    #membership-clone .wrapper { padding-bottom: 36px; }
    .membership-nav-tabs .membership-tab,
    .membership-nav-tabs .membership-tab span { font-size: 16px !important; letter-spacing: 0 !important; }
    .membership-nav-tabs .membership-tabs-container { gap: 40px; justify-content: center; }
    #membership-clone .center-slider .slick-slide { margin: 0 6px !important; height: 500px !important; transition: transform 0.3s ease, opacity 0.3s ease !important; }
    #membership-clone .center-slider .slick-slide:not(.slick-center) { transform: scale(0.9) !important; opacity: 0.6; z-index: 1; }
    #membership-clone .center-slider .slick-slide.slick-center { transform: scale(1) !important; opacity: 1; z-index: 3; }
}

/*
 * Membership on tablets (700–1024px, iPad mini portrait to iPad Air and the landscape iPad): one wide card in the middle (Kim
 * cương first, a bit more than half of the slider) and half a card of each of its neighbours at the sides, smaller and faded (0.5 | 2 | 0.5);
 * the visitor swipes (the loop is endless, no autoplay), the sides always show.
 */
@media (min-width: 700px) and (max-width: 1024px) {
    #membership-clone > .container { max-width: none !important; width: 100%; padding-right: 0 !important; padding-left: 0 !important; }
    #membership-clone .wrapper { width: 100%; max-width: none; padding-bottom: 36px; overflow: hidden; }
    #membership-clone .membership-nav-tabs { display: none !important; }
    #membership-clone .center-slider .slick-list { padding-top: 24px !important; padding-bottom: 24px !important; }
    #membership-clone .center-slider .slick-slide { margin: 0 !important; height: 500px !important; padding: 36px 24px !important; transition: transform 0.3s ease, opacity 0.3s ease !important; }
    #membership-clone .center-slider .slick-slide:not(.slick-center) { transform: scale(0.9) !important; opacity: 0.5; z-index: 1; }
    #membership-clone .center-slider .slick-slide.slick-center { transform: scale(1) !important; opacity: 1; z-index: 3; }
}

/* ------------------------------------------------------------------ Homepage menu: 1 page / 2 pages (phones, tablets) */
.gmaster-home-s4-view-mode { display: none; }
@media (max-width: 1024px) {
    /* Tablet: next to the eye (top right) of the picture. */
    .gmaster-home-s4-view-mode {
        position: absolute;
        top: 14px;
        right: 64px;
        z-index: 5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        background: rgba(10, 10, 10, 0.55);
        color: #fff;
        cursor: pointer;
        transition: background-color 180ms ease;
    }
    .gmaster-home-s4-view-mode:hover { background: rgba(10, 10, 10, 0.8); }
    /* The icon shows the mode the button switches to. */
    .gmaster-home-s4-view-mode .gmaster-home-s4-view-mode-icon--single { display: block; }
    .gmaster-home-s4-view-mode .gmaster-home-s4-view-mode-icon--spread { display: none; }
    .gmaster-home-s4-view-mode.is-single .gmaster-home-s4-view-mode-icon--single { display: none; }
    .gmaster-home-s4-view-mode.is-single .gmaster-home-s4-view-mode-icon--spread { display: block; }

    /* One page: the frame is one page wide (page ratio), the cover is not pushed to one side, no corner hint. */
    .gmaster-home-s4.is-single-page-view .gmaster-home-s4-carousel {
        aspect-ratio: 1 / var(--gmaster-menu-page-ratio, 1.4145);
        width: min(100%, 560px);
        margin-right: auto;
        margin-left: auto;
    }
    .gmaster-home-s4.is-single-page-view .gmaster-home-s4-carousel-wrap.is-single-cover .gmaster-home-s4-carousel .stf__block,
    .gmaster-home-s4.is-single-page-view .gmaster-home-s4-carousel-wrap.is-single-back-cover .gmaster-home-s4-carousel .stf__block { transform: none; }
    .gmaster-home-s4.is-single-page-view .gmaster-home-s4-carousel-wrap::after { display: none; }
}

/* Phones: the two round buttons (1 page / 2 pages and the eye) are on the same row under the pictures. */
@media (max-width: 767px) {
    .gmaster-home-s4-open-lightbox { left: calc(50% - 24px) !important; }
    .gmaster-home-s4-view-mode { top: auto; right: auto; left: calc(50% + 24px); bottom: -45px; width: 36px; height: 36px; transform: translateX(-50%); }
    .gmaster-home-s4-view-mode:hover { transform: translateX(-50%); }
}

/* Thực đơn page: the pages in the shape of the menu ("Tỷ lệ trang" of the CMS). */
.menu-grid-item .menu-page-image { aspect-ratio: 1 / var(--gmaster-menu-page-ratio, 1.4145); object-fit: contain; }
.gmaster-menu-lightbox-thumb img { object-fit: cover; }

/*
 * Header on a tablet in landscape (991–1140px, iPad 1024px): the six entries and the logo do not fit at 16px with 56px of room
 * next to the logo (the logo covered "Thực đơn" and the Đặt bàn button ran past the screen). Smaller text and room, and each
 * half of the menu takes a bit more of the width.
 */
@media (min-width: 991px) and (max-width: 1140px) {
    .navigation_main .top_menu_left,
    .navigation_main .top_menu_right { width: 38% !important; min-width: 0; }
    .navigation_main .top_menu_left .dcjq-mega-menu > ul { padding-right: 14px !important; }
    .navigation_main .top_menu_right .dcjq-mega-menu > ul { padding-left: 14px !important; }
    .navigation_main .dcjq-mega-menu > ul > li > a { font-size: 15px !important; }
    .navigation_main .top_menu_right .dcjq-mega-menu > ul > li.gmaster-nav-booking > a { padding-right: 14px !important; padding-left: 14px !important; height: 36px !important; }
    .navigation_main .top_menu_right .dcjq-mega-menu > ul > li.gmaster-nav-booking { padding-right: 0 !important; padding-left: 0 !important; }
    .navigation_main .logo_pc { flex: 0 0 24%; min-width: 0; }
    .navigation_main .logo_pc img { max-width: 100%; height: auto; }
}

/*
 * Titles and headings are all in Helvetica Compressed (the client's feedback: font "helvetic", --font-secondary). The theme left
 * some of them in the text font (SVN-Helves): the menu categories, the story headings, the restaurant list headings, the footer
 * titles, the dialog and cookie titles, the legal articles, the 404 page.
 */
.menu-category-title,
.special-text h3,
.gmaster-stores__branch-name,
.gmaster-locale-modal__title,
.gmaster-locale-modal__heading,
.gmaster-cookie-consent__title,
.gmaster-legal__content h2,
.gmaster-legal__toc-title,
.gmaster-404-title,
.gmaster-promo-meta__title,
.gmaster-promo-single__toc-title { font-family: var(--font-secondary) !important; letter-spacing: 0 !important; font-weight: 400; }

/* Membership on a desktop: fixed cards, equal room at both sides of every card so that Kim cương is exactly in the middle of the page. */
@media (min-width: 1025px) {
    #membership-clone .center-slider .slick-slide { margin: 0 12px !important; }
    #membership-clone .center-slider .slick-list { padding: 0 !important; }
}

/* Helvetica Compressed is a narrow face: its small titles are a size bigger than the wide text font they replaced. */
.gmaster-stores__branch-name { font-size: 24px; }
.gmaster-locale-modal__heading { font-size: 18px; }
.gmaster-cookie-consent__title { font-size: 16px; }

/* Typography standard (client feedback): font-weight only 400 / 500 / 600 and letter-spacing always 0.
   Browser defaults for bold elements are 700, so they are pinned to 600 here. */
b, strong, th, dt, legend, h1, h2, h3, h4, h5, h6 { font-weight: 600; }

/* ------------------------------------------------------------------ Font-size standard
   Text is 15px (secondary: labels, counts, meta, excerpts, footer details) or 16px (primary: paragraphs, links, buttons, menu).
   Headings keep their own display scale. The theme's small sizes (9-13px) are raised to 15px and its in-between sizes (15, 17, 18px)
   are pulled to 15 / 16px, so every component that reads these tokens follows the standard. */
:root {
    --font-size-tiny: 15px;
    --font-size-mini: 15px;
    --font-size-small: 15px;
    --font-size-normal: 15px;
    --font-size-extra-small: 15px;
    --font-size-small-medium: 15px;
    --font-size-test-very-very-very-small: 15px;
    --font-size-test-very-very-small: 15px;
    --font-size-test-very-small: 15px;
    --font-size-large-text: 16px;
    --font-size-big-text: 16px;
    --font-size-test-medium: 16px;
    /* Heading scale: 18 / 20 / 24 / 28 / 32 / 40 / 48 (the home hero and the percentages of the membership cards are display sizes). */
    --font-size-title-special: 28px;
    --font-size-title-huge: 28px;
    --font-size-title-giant: 32px;
    --font-size-title-ultra: 40px;
    --font-size-title-enormous: 48px;
    --font-size-big: 40px;
    --font-size-card-title: 24px;
    --font-size-title-extra: 24px;
    --font-size-icon-text: 24px;
    --font-size-large-medium: 20px;
}
.navigation_main .dcjq-mega-menu > ul > li > a { font-size: 16px; }
.menu-tab { font-size: 16px; }
.news-card-excerpt { font-size: 15px; }
.gmaster-legal__toc-title, .gmaster-legal__toc > p { font-size: 16px; }
.gmaster-promo-single__content *, .gmaster-promo-single__description a { font-size: inherit; }
@media (min-width: 700px) and (max-width: 1024px) { .card .card-subtitle { font-size: 16px !important; } }
