.client-shell .rs-page{isolation:isolate}


/* ===== SOURCE: chapresto-restaurant-site.css ===== */

:root {
    --rs-bg: #f7f4ef;
    --rs-card: #ffffff;
    --rs-text: #191716;
    --rs-muted: #625c57;
    --rs-border: rgba(42, 32, 24, .08);
    --rs-orange: #d94a1e;
    --rs-orange-soft: #fff0e8;
    --rs-gold: #e9a722;
    --rs-shadow: 0 12px 32px rgba(50, 38, 28, .10);
    --rs-soft-shadow: 0 8px 22px rgba(50, 38, 28, .07);
    --rs-radius: 16px;
    --rs-radius-lg: 22px;
    --rs-header-space: 30px;
    --rs-mobile-bottom: 72px;
}

body:has(.rs-page) {
    background: var(--rs-bg);
}

body:has(.rs-page) .cr-bottom-nav,
body:has(.rs-page) .app-bottom-nav,
body:has(.rs-page) .bottom-nav,
body:has(.rs-page) .mobile-bottom-nav {
    display: none !important;
}

body:has(.rs-page) .cr-public-nav,
body:has(.rs-page) .cr-main-nav,
body:has(.rs-page) .public-nav-links,
body:has(.rs-page) .top-nav-links {
    display: none !important;
}

.rs-page {
    min-height: 100vh;
    color: var(--rs-text);
    background: linear-gradient(180deg, #fbf8f3 0%, #f3eee6 100%);
    padding: calc(var(--rs-header-space) + 12px) 12px 44px;
}

.rs-shell {
    width: min(760px, 100%);
    margin: 0 auto;
}

/* Keep the restaurant menu provided by the previous step. */
.rs-top-sticky {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    width: min(760px, calc(100vw - 260px));
    pointer-events: none;
}

.rs-top-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    pointer-events: auto;
}

.rs-back-top,
.rs-site-nav {
    background: rgba(255,255,255,.94);
    border: 1px solid var(--rs-border);
    box-shadow: 0 8px 24px rgba(42, 33, 26, .08);
    backdrop-filter: blur(14px);
}

.rs-back-top {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    color: var(--rs-text);
    font-weight: 900;
    white-space: nowrap;
}

.rs-site-nav {
    height: 44px;
    padding: 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
}

.rs-site-nav button {
    border: 0;
    background: transparent;
    color: #635e5a;
    height: 36px;
    min-width: 74px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.rs-site-nav button.active,
.rs-site-nav button:hover {
    background: #171413;
    color: #fff;
}

/* Premium restaurant page content - aligned with the reference image */
.rs-hero-card-premium {
    border-radius: 0 0 var(--rs-radius-lg) var(--rs-radius-lg);
    overflow: visible;
    margin-bottom: 24px;
    position: relative;
}

.rs-cover {
    position: relative;
    height: 185px;
    border-radius: 0 0 0 0;
    overflow: hidden;
    background-color: #e9dfd2;
    background-size: cover;
    background-position: center;
    box-shadow: var(--rs-soft-shadow);
}

.rs-cover:not([style*="background-image"]) {
    background-image:
        linear-gradient(0deg, rgba(0,0,0,.10), rgba(0,0,0,.10)),
        radial-gradient(circle at 18% 28%, rgba(216,74,30,.22), transparent 17rem),
        linear-gradient(135deg, #d8c4aa, #f1e8dc);
}

.rs-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.06));
    pointer-events: none;
}

.rs-cover-actions {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.rs-action-pill {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.78);
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 18px rgba(32,24,18,.12);
    color: var(--rs-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.rs-action-pill:hover {
    background: #fff;
    transform: translateY(-1px);
}

.rs-action-pill i {
    font-size: .8rem;
}

.rs-identity-card {
    position: relative;
    z-index: 3;
    margin-top: -36px;
    min-height: 132px;
    background: var(--rs-card);
    border-radius: 0 0 var(--rs-radius-lg) var(--rs-radius-lg);
    box-shadow: var(--rs-shadow);
    border: 1px solid rgba(255,255,255,.9);
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px 22px 20px;
}

.rs-logo-box {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    background: #fbf1e7;
    border: 1px solid var(--rs-border);
    overflow: hidden;
    display: grid;
    place-items: center;
    align-self: center;
}

.rs-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-logo-box span {
    color: #0d7738;
    font-size: 1.65rem;
    font-weight: 950;
}

.rs-identity-main {
    min-width: 0;
}

.rs-badges,
.rs-meta-line,
.rs-row-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-badges {
    margin-bottom: 8px;
}

.rs-badges span,
.rs-meta-line span,
.rs-row-tags span {
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--rs-orange-soft);
    color: #5d3322;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    font-weight: 900;
}

.rs-badges i,
.rs-meta-line i,
.rs-row-tags i {
    color: var(--rs-orange);
}

.rs-identity-card h1 {
    margin: 0 0 6px;
    color: var(--rs-text);
    font-size: clamp(1.75rem, 5.8vw, 2.35rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.04em;
}

.rs-identity-card p {
    margin: 0 0 10px;
    color: var(--rs-muted);
    line-height: 1.45;
    font-size: .91rem;
}

.rs-meta-line span {
    background: rgba(255,245,233,.98);
    color: #312925;
}

.rs-meta-line i.fa-star {
    color: var(--rs-gold);
}

.rs-mobile-action-bar {
    display: none;
}

.rs-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 16px;
    margin-bottom: 12px;
}

.rs-panel,
.rs-info-card,
.rs-dish-card,
.rs-menu-row,
.rs-post-card,
.rs-empty-panel,
.rs-state-card {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    box-shadow: var(--rs-soft-shadow);
}

.rs-panel {
    min-height: 176px;
    padding: 22px;
}

.rs-panel-kicker,
.rs-section-head span,
.rs-post-body span {
    display: block;
    color: var(--rs-orange);
    font-size: .7rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 7px;
}

.rs-panel h2,
.rs-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--rs-text);
}

.rs-panel p {
    margin: 0;
    color: #4f4945;
    line-height: 1.72;
    font-size: .95rem;
}

.rs-today-panel .rs-highlight-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42,32,24,.08);
}

.rs-today-panel .rs-highlight-item:last-child {
    border-bottom: 0;
}

.rs-highlight-item strong {
    font-size: .92rem;
    color: #1d1917;
}

.rs-highlight-item span {
    color: var(--rs-orange);
    font-size: .91rem;
    font-weight: 950;
    white-space: nowrap;
}

.rs-info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 18px;
}

.rs-info-card {
    min-height: 64px;
    padding: 14px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
}

.rs-info-card > i {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--rs-orange-soft);
    color: var(--rs-orange);
    display: grid;
    place-items: center;
    font-size: .82rem;
}

.rs-info-card strong {
    display: block;
    color: #251f1c;
    font-size: .81rem;
    font-weight: 950;
    margin-bottom: 3px;
}

.rs-info-card span,
.rs-info-card small {
    display: block;
    color: var(--rs-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.rs-section {
    margin-top: 12px;
}

.rs-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.rs-section-head h2 {
    margin-bottom: 0;
}

.rs-link-button {
    border: 0;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--rs-soft-shadow);
    color: var(--rs-text);
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.rs-dish-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rs-dish-card {
    overflow: hidden;
    border-radius: 12px;
}

.rs-dish-img {
    height: 82px;
    background-color: #efe4d5;
    background-position: center;
    background-size: cover;
}

.rs-dish-img:not([style*="background-image"]) {
    background-image: linear-gradient(135deg, #f5e8d8, #efe1cc);
}

.rs-dish-body {
    padding: 9px 11px 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.rs-dish-body h3 {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .83rem;
    font-weight: 950;
}

.rs-dish-body strong {
    color: var(--rs-orange);
    font-size: .72rem;
    font-weight: 950;
    white-space: nowrap;
}

/* Other tabs keep the same simple professional foundation. */
.rs-search-box {
    min-height: 44px;
    min-width: min(360px, 100%);
    padding: 0 12px;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--rs-soft-shadow);
}

.rs-search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    font: inherit;
}

.rs-search-box button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.rs-menu-list,
.rs-post-grid,
.rs-gallery-grid {
    display: grid;
    gap: 12px;
}

.rs-menu-group {
    margin: 14px 0 0;
    font-size: 1rem;
}

.rs-menu-row {
    padding: 12px;
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 12px;
    align-items: center;
}

.rs-row-img,
.rs-post-img,
.rs-gallery-item {
    background-color: #efe4d5;
    background-position: center;
    background-size: cover;
}

.rs-row-img {
    width: 82px;
    height: 72px;
    border-radius: 12px;
}

.rs-row-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.rs-row-title h4,
.rs-row-title strong {
    margin: 0;
    font-size: .92rem;
}

.rs-row-title strong {
    color: var(--rs-orange);
    white-space: nowrap;
}

.rs-row-main p {
    margin: 5px 0 8px;
    color: var(--rs-muted);
    font-size: .85rem;
}

.rs-add-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: var(--rs-orange);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
}

.rs-add-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.rs-login-add {
    background: #1d1917;
}

.rs-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-post-card {
    overflow: hidden;
}

.rs-post-img {
    height: 130px;
}

.rs-post-body {
    padding: 16px;
}

.rs-post-body h3 {
    margin: 0 0 8px;
}

.rs-post-body p {
    color: var(--rs-muted);
    line-height: 1.55;
}

.rs-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs-gallery-item {
    min-height: 150px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 12px;
    color: #fff;
    font-weight: 950;
    box-shadow: inset 0 -70px 60px rgba(0,0,0,.35);
}

.rs-empty-panel,
.rs-state-card {
    padding: 28px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    color: var(--rs-muted);
}

.rs-empty-panel i,
.rs-state-card i {
    color: var(--rs-orange);
    font-size: 1.7rem;
}

.rs-evolution-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(216,74,30,.08);
    color: #6b3a26;
    display: flex;
    gap: 10px;
    align-items: start;
}

.rs-socials {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.rs-socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--rs-orange-soft);
    color: var(--rs-orange);
    text-decoration: none;
}

.rs-floating-cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #171413;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(0,0,0,.18);
}

.rs-mobile-tabs {
    display: none;
}

.rs-skeleton-cover,
.rs-skeleton-card,
.rs-skeleton-line,
.rs-skeleton-avatar {
    background: linear-gradient(90deg, #eee4d8, #f8f2ea, #eee4d8);
    background-size: 200% 100%;
    animation: rs-pulse 1.25s infinite linear;
}

.rs-skeleton-cover { height: 185px; border-radius: 0; }
.rs-skeleton-card { height: 132px; border-radius: 0 0 var(--rs-radius-lg) var(--rs-radius-lg); margin-top: -36px; }
.rs-skeleton-line { width: 100%; height: 14px; border-radius: 999px; margin-bottom: 12px; }
.rs-skeleton-line.title { width: 60%; height: 24px; }
.rs-skeleton-line.short { width: 38%; }

@keyframes rs-pulse {
    to { background-position: -200% 0; }
}

@media (min-width: 980px) {
    .rs-shell {
        width: min(760px, calc(100vw - 48px));
    }
}

@media (max-width: 980px) {
    .rs-page {
        padding-top: calc(var(--rs-header-space) + 10px);
    }

    .rs-top-sticky {
        width: min(740px, calc(100vw - 22px));
    }

    .rs-top-inner {
        grid-template-columns: auto 1fr;
    }

    .rs-site-nav button {
        min-width: auto;
        padding: 0 12px;
    }
}

@media (max-width: 720px) {
    :root {
        --rs-header-space: 30px;
    }

    .rs-page {
        padding: calc(var(--rs-header-space) + 4px) 0 calc(var(--rs-mobile-bottom) + 18px);
    }

    .rs-shell {
        width: 100%;
    }

    .rs-top-sticky {
        display: none;
    }

    .rs-cover {
        height: 150px;
        border-radius: 0;
    }

    .rs-cover-actions {
        display: none;
    }

    .rs-identity-card {
        margin-top: -28px;
        border-radius: 14px;
        width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 82px 1fr;
        gap: 12px;
        padding: 18px 14px 16px;
        min-height: 108px;
    }

    .rs-logo-box {
        width: 74px;
        height: 74px;
        border-radius: 14px;
    }

    .rs-identity-card h1 {
        font-size: 1.55rem;
        letter-spacing: -.035em;
    }

    .rs-identity-card p {
        font-size: .82rem;
        margin-bottom: 7px;
    }

    .rs-badges,
    .rs-meta-line {
        gap: 5px;
    }

    .rs-badges span,
    .rs-meta-line span {
        min-height: 24px;
        padding: 0 7px;
        font-size: .68rem;
    }

    .rs-mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: calc(100% - 18px);
        margin: 10px auto 14px;
    }

    .rs-mobile-action-bar .rs-action-pill {
        min-height: 42px;
        padding: 0 7px;
        font-size: .72rem;
        box-shadow: var(--rs-soft-shadow);
    }

    .rs-home-layout,
    .rs-info-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto;
    }

    .rs-panel {
        min-height: auto;
        padding: 18px;
        border-radius: 14px;
    }

    .rs-info-card {
        border-radius: 14px;
    }

    .rs-section {
        width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto;
    }

    .rs-dish-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .rs-dish-card {
        min-width: 145px;
    }

    .rs-dish-img {
        height: 74px;
    }

    .rs-dish-body {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 8px;
    }

    .rs-dish-body strong {
        font-size: .68rem;
    }

    .rs-menu-row {
        grid-template-columns: 72px 1fr auto;
        padding: 10px;
    }

    .rs-row-img {
        width: 72px;
        height: 64px;
    }

    .rs-post-grid,
    .rs-gallery-grid {
        grid-template-columns: 1fr;
    }

    .rs-section-head.compact {
        display: grid;
        align-items: stretch;
    }

    .rs-search-box {
        min-width: 0;
        width: 100%;
    }

    .rs-mobile-tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 130;
        height: var(--rs-mobile-bottom);
        background: rgba(255,255,255,.96);
        border-top: 1px solid rgba(42,32,24,.08);
        box-shadow: 0 -10px 24px rgba(0,0,0,.08);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        backdrop-filter: blur(14px);
    }

    .rs-mobile-tabs button {
        border: 0;
        background: transparent;
        color: #6b6560;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 3px;
        font-size: .68rem;
        font-weight: 900;
    }

    .rs-mobile-tabs button i {
        font-size: 1rem;
    }

    .rs-mobile-tabs button.active {
        color: #111;
    }

    .rs-floating-cart {
        left: 12px;
        right: 12px;
        bottom: calc(var(--rs-mobile-bottom) + 10px);
        justify-content: space-between;
    }
}

@media (max-width: 430px) {
    .rs-cover {
        height: 142px;
    }

    .rs-identity-card {
        grid-template-columns: 74px 1fr;
        padding: 16px 12px 14px;
    }

    .rs-logo-box {
        width: 68px;
        height: 68px;
    }

    .rs-identity-card h1 {
        font-size: 1.42rem;
    }

    .rs-panel-kicker,
    .rs-section-head span {
        font-size: .62rem;
    }
}

/* =======================================================
   V10 HOME LAYOUT REVIEW
   - Keep the restaurant top/menu exactly as provided.
   - Group contact/opening hours in one card.
   - Group delivery/order/payment in one card.
   - Make recommended dishes more attractive and responsive.
======================================================= */
.rs-info-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 22px;
}

.rs-info-panel {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    box-shadow: var(--rs-soft-shadow);
    padding: 18px 18px 14px;
    min-height: 236px;
}

.rs-info-panel h2 {
    margin: 0 0 14px;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--rs-text);
}

.rs-info-list {
    display: grid;
    gap: 12px;
}

.rs-info-line {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.rs-info-line > i {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--rs-orange-soft);
    color: var(--rs-orange);
    display: grid;
    place-items: center;
    font-size: .82rem;
    margin-top: 1px;
}

.rs-info-line strong {
    display: block;
    color: #211c19;
    font-size: .84rem;
    font-weight: 950;
    margin-bottom: 3px;
}

.rs-info-line span,
.rs-info-line small {
    display: block;
    color: var(--rs-muted);
    font-size: .8rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

.rs-recommended-section {
    margin-top: 2px;
}

.rs-recommended-section .rs-section-head {
    margin-bottom: 12px;
}

.rs-dish-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.rs-dish-card {
    border-radius: 16px !important;
    overflow: hidden;
    min-width: 0 !important;
    background: #fff;
    box-shadow: 0 12px 28px rgba(50, 38, 28, .09);
    transition: transform .18s ease, box-shadow .18s ease;
}

.rs-dish-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(50, 38, 28, .13);
}

.rs-dish-img {
    height: 132px !important;
    background-color: #efe4d5;
    background-position: center;
    background-size: cover;
}

.rs-dish-body {
    min-height: 58px;
    padding: 12px 13px 13px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    align-items: start !important;
}

.rs-dish-body h3 {
    font-size: .92rem !important;
    line-height: 1.15;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rs-dish-body strong {
    justify-self: start;
    font-size: .78rem !important;
    letter-spacing: .01em;
}

@media (max-width: 1080px) {
    .rs-dish-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .rs-info-cluster {
        grid-template-columns: 1fr;
        width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }

    .rs-info-panel {
        min-height: auto;
        border-radius: 16px;
        padding: 18px 16px 14px;
    }

    .rs-info-list {
        gap: 13px;
    }

    .rs-info-line {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 11px;
    }

    .rs-info-line > i {
        width: 28px;
        height: 28px;
        font-size: .78rem;
    }

    .rs-dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        width: 100%;
    }

    .rs-dish-card {
        min-width: 0 !important;
        border-radius: 14px !important;
    }

    .rs-dish-img {
        height: 104px !important;
    }

    .rs-dish-body {
        min-height: 58px;
        padding: 10px 10px 11px !important;
    }

    .rs-dish-body h3 {
        font-size: .84rem !important;
    }

    .rs-dish-body strong {
        font-size: .72rem !important;
    }
}

@media (max-width: 390px) {
    .rs-dish-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .rs-dish-img {
        height: 92px !important;
    }
}

/* =====================================================
   V11 FINAL OVERRIDES - Restaurant page only
   Goal: keep the main ChapResto header fixed, hide only the
   global public menu links on /r/{slug}, and place the
   restaurant mini-site menu in that same header zone.
   ===================================================== */

body:has(.rs-page) {
    overflow-x: hidden;
}

body:has(.rs-page) .cr-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    min-height: 68px !important;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(42, 32, 24, .08) !important;
    box-shadow: 0 8px 24px rgba(42, 33, 26, .06) !important;
    backdrop-filter: blur(14px) !important;
}

/* Hide the global marketplace links only on restaurant public pages.
   Keep account/login/register/language/menu actions available. */
body:has(.rs-page) .cr-topbar .cr-nav > a[href="/"],
body:has(.rs-page) .cr-topbar .cr-nav > a[href="/restaurants"],
body:has(.rs-page) .cr-topbar .cr-nav > a[href="/menu"],
body:has(.rs-page) .cr-topbar .cr-nav > a[href="/menus"],
body:has(.rs-page) .cr-topbar .cr-nav > a[href="/cart"],
body:has(.rs-page) .cr-topbar .cr-nav > .cr-cart-link {
    display: none !important;
}

body:has(.rs-page) .cr-bottom-nav,
body:has(.rs-page) .app-bottom-nav,
body:has(.rs-page) .bottom-nav,
body:has(.rs-page) .mobile-bottom-nav {
    display: none !important;
}

body:has(.rs-page) .rs-page {
    padding-top:70px !important;
}

body:has(.rs-page) .rs-shell {
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Put the restaurant navigation in the fixed header row. */
body:has(.rs-page) .rs-top-sticky {
    position: fixed !important;
    top: 13px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1200 !important;
    width: min(680px, calc(100vw - 520px)) !important;
    min-width: 560px !important;
    pointer-events: none !important;
}

body:has(.rs-page) .rs-top-inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    pointer-events: auto !important;
}

body:has(.rs-page) .rs-back-top,
body:has(.rs-page) .rs-site-nav {
    height: 42px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(42, 32, 24, .08) !important;
    box-shadow: 0 8px 20px rgba(42, 33, 26, .08) !important;
    backdrop-filter: blur(14px) !important;
}

body:has(.rs-page) .rs-back-top {
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: .88rem !important;
}

body:has(.rs-page) .rs-site-nav {
    padding: 4px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body:has(.rs-page) .rs-site-nav button {
    height: 34px !important;
    min-width: 74px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: .82rem !important;
    font-weight: 950 !important;
}

/* Clean premium content width and align all four cards. */
.rs-home-layout,
.rs-info-cluster {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rs-home-layout {
    margin-bottom: 18px !important;
}

.rs-info-cluster {
    margin-bottom: 26px !important;
}

.rs-panel,
.rs-info-panel {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.rs-welcome-panel,
.rs-today-panel {
    min-height: 270px !important;
}

.rs-info-panel {
    min-height: 250px !important;
    padding: 26px 28px !important;
}

.rs-info-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
}

.rs-info-line {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: start !important;
}

.rs-info-line > i {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 auto !important;
}

/* Recommended dishes: attractive fixed row, not broken or too flat. */
.rs-recommended-section {
    margin-top: 0 !important;
    width: 100% !important;
}

.rs-dish-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
}

.rs-dish-card {
    min-width: 0 !important;
    height: 206px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(50, 38, 28, .10) !important;
}

.rs-dish-img {
    height: 138px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}

.rs-dish-body {
    min-height: 68px !important;
    padding: 12px 14px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    align-items: center !important;
}

.rs-dish-body h3 {
    font-size: .92rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.rs-dish-body strong {
    font-size: .78rem !important;
    white-space: nowrap !important;
    align-self: center !important;
}

@media (max-width: 1180px) {
    body:has(.rs-page) .rs-top-sticky {
        width: min(620px, calc(100vw - 420px)) !important;
        min-width: 500px !important;
    }

    body:has(.rs-page) .rs-shell {
        width: min(1000px, calc(100vw - 36px)) !important;
    }

    .rs-dish-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 920px) {
    body:has(.rs-page) .rs-top-sticky {
        display: none !important;
    }

    body:has(.rs-page) .rs-page {
        padding-top: 70px !important;
        padding-bottom: 92px !important;
    }

    body:has(.rs-page) .rs-shell {
        width: min(100%, calc(100vw - 20px)) !important;
    }

    .rs-home-layout,
    .rs-info-cluster {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .rs-welcome-panel,
    .rs-today-panel,
    .rs-info-panel {
        min-height: auto !important;
    }

    .rs-info-panel {
        padding: 20px 18px !important;
    }

    .rs-dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .rs-dish-card {
        height: 190px !important;
    }

    .rs-dish-img {
        height: 122px !important;
    }
}

@media (max-width: 540px) {
    body:has(.rs-page) .rs-page {
        padding-top: 70px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .rs-home-layout,
    .rs-info-cluster {
        gap: 12px !important;
    }

    .rs-panel,
    .rs-info-panel {
        border-radius: 18px !important;
        padding: 18px 16px !important;
    }

    .rs-dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .rs-dish-card {
        height: 168px !important;
        border-radius: 15px !important;
    }

    .rs-dish-img {
        height: 104px !important;
    }

    .rs-dish-body {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        padding: 9px 10px !important;
    }

    .rs-dish-body h3 {
        font-size: .84rem !important;
        -webkit-line-clamp: 1 !important;
    }

    .rs-dish-body strong {
        font-size: .72rem !important;
    }
}

/* =====================================================
   V12 FINAL MENU EMBEDDED LIKE MAIN MENU
   - Do not change page content.
   - Hide marketplace links on restaurant pages.
   - Put restaurant menu in the main header visual flow.
   - Make it look like the normal ChapResto top menu, not a separate floating widget.
   ===================================================== */

body:has(.rs-page) .cr-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    min-height: 68px !important;
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid rgba(42, 32, 24, .08) !important;
    box-shadow: 0 8px 24px rgba(42, 33, 26, .06) !important;
    backdrop-filter: blur(14px) !important;
}

body:has(.rs-page) .cr-brand {
    position: relative !important;
    z-index: 1300 !important;
    flex: 0 0 auto !important;
}

/* Hide only global marketplace links on restaurant page; keep login/account/owner/register/language visible. */
body:has(.rs-page) .cr-nav > a[href="/"],
body:has(.rs-page) .cr-nav > a[href="/restaurants"],
body:has(.rs-page) .cr-nav > a[href="/restaurant"],
body:has(.rs-page) .cr-nav > a[href="/menu"],
body:has(.rs-page) .cr-nav > a[href="/menus"],
body:has(.rs-page) .cr-nav > a[href="/cart"],
body:has(.rs-page) .cr-nav > .cr-cart-link,
body:has(.rs-page) .cr-nav > .cr-public-link,
body:has(.rs-page) .cr-public-nav,
body:has(.rs-page) .cr-main-nav,
body:has(.rs-page) .public-nav-links,
body:has(.rs-page) .top-nav-links {
    display: none !important;
}

body:has(.rs-page) .cr-nav {
    position: relative !important;
    z-index: 1300 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

/* Restaurant menu placed visually inside the same header row. */
body:has(.rs-page) .rs-top-sticky {
    position: fixed !important;
    top: 0 !important;
    left: clamp(210px, 22vw, 360px) !important;
    right: clamp(260px, 25vw, 430px) !important;
    height: 68px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
    z-index: 1200 !important;
    display: flex !important;
    align-items: center !important;
    pointer-events: none !important;
}

body:has(.rs-page) .rs-top-inner {
    width: 100% !important;
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    pointer-events: auto !important;
}

body:has(.rs-page) .rs-back-top,
body:has(.rs-page) .rs-site-nav {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body:has(.rs-page) .rs-back-top {
    height: 42px !important;
    padding: 0 8px !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #221d1a !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body:has(.rs-page) .rs-back-top:hover {
    color: var(--rs-orange) !important;
}

body:has(.rs-page) .rs-site-nav {
    height: 68px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(14px, 2.2vw, 32px) !important;
    min-width: 0 !important;
    overflow: visible !important;
}

body:has(.rs-page) .rs-site-nav button {
    height: 42px !important;
    min-width: auto !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #514b46 !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

body:has(.rs-page) .rs-site-nav button:hover {
    color: var(--rs-orange) !important;
}

body:has(.rs-page) .rs-site-nav button.active {
/*    min-width: 0 !important;*/
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #171413 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(23, 20, 19, .18) !important;
}

/* Give the page natural space under the real fixed header. */
body:has(.rs-page) .rs-page {
    padding-top: 70px !important;
}

/* Keep content centered and stable. */
body:has(.rs-page) .rs-shell {
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 1280px) {
    body:has(.rs-page) .rs-top-sticky {
        left: 230px !important;
        right: 330px !important;
    }

    body:has(.rs-page) .rs-top-inner {
        gap: 12px !important;
    }

    body:has(.rs-page) .rs-site-nav {
        gap: 16px !important;
    }

    body:has(.rs-page) .rs-back-top,
    body:has(.rs-page) .rs-site-nav button {
        font-size: .92rem !important;
    }
}

@media (max-width: 1080px) {
    body:has(.rs-page) .rs-top-sticky {
        left: 190px !important;
        right: 240px !important;
    }

    body:has(.rs-page) .rs-site-nav {
        gap: 10px !important;
    }

    body:has(.rs-page) .rs-site-nav button.active {
        padding: 0 14px !important;
    }
}

/* Tablet/mobile: restaurant menu moves to bottom tabs, header keeps brand/account only. */
@media (max-width: 920px) {
    body:has(.rs-page) .rs-top-sticky {
        display: none !important;
    }

    body:has(.rs-page) .cr-nav > a[href="/"],
    body:has(.rs-page) .cr-nav > a[href="/restaurants"],
    body:has(.rs-page) .cr-nav > a[href="/restaurant"],
    body:has(.rs-page) .cr-nav > a[href="/menu"],
    body:has(.rs-page) .cr-nav > a[href="/menus"],
    body:has(.rs-page) .cr-nav > a[href="/cart"],
    body:has(.rs-page) .cr-nav > .cr-cart-link {
        display: none !important;
    }

    body:has(.rs-page) .rs-page {
        padding-top: 70px !important;
    }
}


/* =========================================================
   v15 - Restaurant menu gallery layout
   Only changes the restaurant Menu tab presentation.
   Header, top restaurant navigation and home layout stay unchanged.
   ========================================================= */
.rs-menu-gallery-list {
    display: grid !important;
    gap: 18px !important;
    width: 100% !important;
}

.rs-menu-gallery-list .rs-menu-group {
    margin: 8px 0 0 !important;
    font-size: 1.02rem !important;
    font-weight: 950 !important;
    color: var(--rs-text) !important;
}

.rs-menu-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

.rs-menu-gallery-card {
    position: relative !important;
    overflow: hidden !important;
    min-width: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    border: 1px solid var(--rs-border) !important;
    box-shadow: 0 14px 30px rgba(50, 38, 28, .10) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}

.rs-menu-gallery-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 38px rgba(50, 38, 28, .14) !important;
}

.rs-menu-gallery-image {
    position: relative !important;
    height: 152px !important;
    background-color: #f2ebe2 !important;
    background-size: cover !important;
    background-position: center !important;
}

.rs-menu-gallery-image:empty::before,
.rs-menu-gallery-image:not([style*="background-image"])::before {
    content: "\f2e7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(217, 74, 30, .35);
    font-size: 2rem;
}

.rs-menu-discount {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    height: 30px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    color: var(--rs-orange) !important;
    font-size: .82rem !important;
    font-weight: 950 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.10) !important;
}

.rs-menu-card-action {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--rs-orange) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 950 !important;
    box-shadow: 0 10px 22px rgba(217, 74, 30, .28) !important;
    cursor: pointer !important;
}

.rs-menu-card-action.rs-login-add {
    background: #1f1c1b !important;
    color: #fff !important;
}

.rs-menu-card-action:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

.rs-menu-gallery-body {
    padding: 14px 14px 15px !important;
    display: grid !important;
    gap: 8px !important;
}

.rs-menu-gallery-title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.rs-menu-gallery-title h4 {
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    color: var(--rs-text) !important;
}

.rs-menu-gallery-title strong {
    flex: 0 0 auto !important;
    color: var(--rs-orange) !important;
    font-size: .9rem !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
}

.rs-menu-gallery-body p {
    margin: 0 !important;
    min-height: 36px !important;
    color: var(--rs-muted) !important;
    font-size: .88rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.rs-menu-gallery-tags {
    margin-top: 2px !important;
}

/* Avoid old row styles affecting the new gallery menu. */
.rs-menu-gallery-list .rs-menu-row,
.rs-menu-gallery-list .rs-menu-list {
    display: none !important;
}

@media (max-width: 1180px) {
    .rs-menu-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .rs-menu-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .rs-menu-gallery-image {
        height: 118px !important;
    }

    .rs-menu-gallery-body {
        padding: 11px 10px 12px !important;
        gap: 6px !important;
    }

    .rs-menu-gallery-title {
        display: grid !important;
        gap: 4px !important;
    }

    .rs-menu-gallery-title h4 {
        font-size: .92rem !important;
    }

    .rs-menu-gallery-title strong {
        font-size: .82rem !important;
    }

    .rs-menu-gallery-body p {
        min-height: 0 !important;
        font-size: .8rem !important;
        -webkit-line-clamp: 1 !important;
    }

    .rs-menu-card-action {
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 390px) {
    .rs-menu-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .rs-menu-gallery-image {
        height: 145px !important;
    }
}




/* ===== SOURCE: chapresto-restaurant-stable-final.css ===== */

/* =========================================================
   ChapResto Stable Final Header + Restaurant Mobile Fix
   Load this file LAST.
   ========================================================= */

/* ---------- Main header ---------- */

.cr-topbar-balanced {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;
    min-height: 72px !important;
    height: 72px !important;
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid rgba(60, 42, 25, .08) !important;
    box-shadow: 0 8px 22px rgba(42, 33, 26, .04) !important;
    backdrop-filter: blur(16px) !important;
}

    .cr-topbar-balanced .cr-topbar-inner {
        width: min(1760px, calc(100% - 96px)) !important;
        height: 72px !important;
        margin: 0 auto !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: clamp(1.2rem, 2.4vw, 2.2rem) !important;
    }

    .cr-topbar-balanced .cr-brand {
        display: inline-flex !important;
        align-items: center !important;
        gap: .75rem !important;
        color: #221d1a !important;
        text-decoration: none !important;
        font-weight: 1000 !important;
        white-space: nowrap !important;
        min-width: max-content !important;
    }

    .cr-topbar-balanced .cr-brand-icon {
        width: 42px !important;
        height: 42px !important;
        display: inline-grid !important;
        place-items: center !important;
        border-radius: 999px !important;
        background: #fff1df !important;
        color: #201a16 !important;
        flex: 0 0 auto !important;
    }

    .cr-topbar-balanced .cr-brand strong {
        font-size: 1.35rem !important;
        line-height: 1 !important;
    }

    /* ---------- Header navigation ---------- */

    .cr-topbar-balanced .cr-nav-left {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(.85rem, 1.6vw, 1.35rem) !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

        .cr-topbar-balanced .cr-nav-left a,
        .cr-topbar-balanced .cr-nav-left button,
        .cr-topbar-balanced .cr-login-link {
            position: relative !important;
            min-height: 42px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: .42rem !important;
            color: #241e1a !important;
            text-decoration: none !important;
            font-weight: 950 !important;
            white-space: nowrap !important;
            border: 0 !important;
            background: transparent !important;
            cursor: pointer !important;
        }

            .cr-topbar-balanced .cr-nav-left a:hover,
            .cr-topbar-balanced .cr-nav-left button:hover,
            .cr-topbar-balanced .cr-login-link:hover,
            .cr-topbar-balanced .cr-nav-left a.active {
                color: #df6424 !important;
            }

                .cr-topbar-balanced .cr-nav-left a.active::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: 1px;
                    height: 3px;
                    border-radius: 999px;
                    background: #df6424;
                }

    /* Restaurant tabs in the main header */
    .cr-topbar-balanced .cr-restaurant-header-nav a {
        padding: 0 .25rem !important;
    }

        .cr-topbar-balanced .cr-restaurant-header-nav a.active {
            min-height: 54px !important;
            padding: 0 1.2rem !important;
            border-radius: 999px !important;
            background: #211b17 !important;
            color: #fff !important;
            box-shadow: 0 12px 28px rgba(24, 18, 14, .16) !important;
        }

            .cr-topbar-balanced .cr-restaurant-header-nav a.active::after {
                display: none !important;
            }

    /* ---------- Header actions: cart / bell / language / login ---------- */

    .cr-topbar-balanced .cr-topbar-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: .85rem !important;
        min-width: max-content !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

.cr-header-icon-btn,
.cr-header-cart-btn {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #211b17 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(45, 30, 18, .08) !important;
    border: 1px solid rgba(60, 42, 25, .08) !important;
    flex: 0 0 auto !important;
}

    .cr-header-icon-btn:hover,
    .cr-header-cart-btn:hover {
        color: #df6424 !important;
        background: #fff4ed !important;
    }

    .cr-header-icon-btn em,
    .cr-header-cart-btn em {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 20px !important;
        height: 20px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 5px !important;
        border-radius: 999px !important;
        background: #e36425 !important;
        color: #fff !important;
        font-size: .7rem !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 1000 !important;
    }

.cr-mobile-language-slot,
.cr-mobile-actions-slot {
    display: none !important;
}

/* ---------- Restaurant page cleanup ---------- */

body:has(.rs-page) .cr-bottom-nav {
    display: none !important;
}

body:has(.rs-page) .rs-top-sticky {
    display: none !important;
}

body:has(.rs-page) .rs-floating-cart {
    display: none !important;
}

.rs-page {
    min-height: calc(100dvh - 72px) !important;
}

/* ---------- Embedded cart tab ---------- */

.rs-cart-tab-section {
    padding-top: 0 !important;
}

.rs-cart-tab .rs-section-head {
    margin-bottom: 1rem !important;
}

.rs-cart-layout {
    align-items: start !important;
}

.rs-cart-empty {
    margin-top: 1rem !important;
}

/* ---------- Mobile restaurant tabs ---------- */

.rs-mobile-tabs {
    display: none !important;
}

@media (max-width: 840px) {
    .cr-topbar-balanced {
        min-height: 64px !important;
        height: 64px !important;
    }

        .cr-topbar-balanced .cr-topbar-inner {
            width: calc(100% - 20px) !important;
            height: 64px !important;
            grid-template-columns: auto minmax(0, 1fr) auto !important;
            gap: .65rem !important;
        }

        .cr-topbar-balanced .cr-brand {
            min-width: 0 !important;
            gap: .55rem !important;
        }

        .cr-topbar-balanced .cr-brand-icon {
            width: 38px !important;
            height: 38px !important;
        }

        .cr-topbar-balanced .cr-brand strong {
            max-width: 126px !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            font-size: 1.05rem !important;
        }

        .cr-topbar-balanced .cr-nav-left {
            display: none !important;
        }

        .cr-topbar-balanced .cr-topbar-actions {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: .45rem !important;
            min-width: 0 !important;
        }

    .cr-header-icon-btn,
    .cr-header-cart-btn {
        width: 40px !important;
        height: 40px !important;
        box-shadow: none !important;
    }

        .cr-header-icon-btn em,
        .cr-header-cart-btn em {
            top: -3px !important;
            right: -3px !important;
            min-width: 18px !important;
            height: 18px !important;
            font-size: .66rem !important;
        }

    .cr-topbar-balanced .cr-login-link {
        width: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        justify-content: center !important;
    }

        .cr-topbar-balanced .cr-login-link span {
            display: none !important;
        }

    .cr-topbar-balanced .cr-topbar-actions .cr-public-language {
        flex: 0 0 auto !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-public-language-btn {
        min-width: 58px !important;
        height: 40px !important;
        padding: 0 .7rem !important;
        border-radius: 999px !important;
        font-size: .9rem !important;
    }

    .rs-mobile-tabs {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1200 !important;
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: .45rem .45rem calc(.45rem + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, .98) !important;
        border-top: 1px solid rgba(60, 42, 25, .10) !important;
        box-shadow: 0 -10px 24px rgba(35, 25, 18, .08) !important;
        backdrop-filter: blur(14px) !important;
    }

        .rs-mobile-tabs button,
        .rs-mobile-tabs a {
            min-width: 0 !important;
            min-height: 56px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: .25rem !important;
            border: 0 !important;
            border-radius: 16px !important;
            background: transparent !important;
            color: #2a211c !important;
            font-size: .7rem !important;
            font-weight: 950 !important;
            text-decoration: none !important;
            cursor: pointer !important;
            white-space: nowrap !important;
        }

            .rs-mobile-tabs button i,
            .rs-mobile-tabs a i {
                font-size: 1rem !important;
            }

            .rs-mobile-tabs button.active,
            .rs-mobile-tabs a.active {
                background: #fff1e8 !important;
                color: #df6424 !important;
            }

    .rs-page {
        padding-bottom: 84px !important;
    }
}

@media (min-width: 841px) {
    .rs-mobile-tabs {
        display: none !important;
    }
}


/* =========================================================
   FINAL RESTAURANT HEADER FIX
   Do not touch main portal menu.
   Only fixes restaurant environment.
   Load this file LAST.
   ========================================================= */


/* DESKTOP RESTAURANT HEADER:
   Logo left, restaurant tabs immediately after logo, actions right */
@media (min-width: 841px) {
    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-inner {
        display: grid !important;
        grid-template-columns: auto auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: clamp(1.6rem, 3vw, 2.6rem) !important;
    }

    body:has(.rs-page) .cr-topbar-balanced .cr-brand {
        grid-column: 1 !important;
        justify-self: start !important;
        min-width: max-content !important;
    }

    body:has(.rs-page) .cr-topbar-balanced .cr-nav-left {
        grid-column: 2 !important;
        justify-self: start !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(1rem, 2vw, 1.65rem) !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }

        body:has(.rs-page) .cr-topbar-balanced .cr-nav-left a,
        body:has(.rs-page) .cr-topbar-balanced .cr-nav-left button {
            position: relative !important;
            min-height: 46px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: .45rem !important;
            padding: 0 .2rem !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: #241e1a !important;
            text-decoration: none !important;
            font-weight: 950 !important;
            white-space: nowrap !important;
            box-shadow: none !important;
        }

            body:has(.rs-page) .cr-topbar-balanced .cr-nav-left a:hover,
            body:has(.rs-page) .cr-topbar-balanced .cr-nav-left button:hover,
            body:has(.rs-page) .cr-topbar-balanced .cr-nav-left a.active,
            body:has(.rs-page) .cr-topbar-balanced .cr-nav-left button.active {
                color: #df6424 !important;
                background: transparent !important;
            }

                body:has(.rs-page) .cr-topbar-balanced .cr-nav-left a.active::after,
                body:has(.rs-page) .cr-topbar-balanced .cr-nav-left button.active::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: 2px;
                    height: 3px;
                    border-radius: 999px;
                    background: #df6424;
                }

    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-actions {
        grid-column: 3 !important;
        justify-self: end !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: .9rem !important;
        margin-left: auto !important;
        min-width: max-content !important;
    }
}


/* CART ICON LIKE NOTIFICATION BELL */
body:has(.rs-page) .rs-header-cart,
body:has(.rs-page) .cr-header-cart,
body:has(.rs-page) .rs-top-cart-action {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(60, 42, 25, .08) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #221c18 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(35, 25, 18, .08) !important;
    padding: 0 !important;
}

    body:has(.rs-page) .rs-header-cart span,
    body:has(.rs-page) .cr-header-cart span,
    body:has(.rs-page) .rs-top-cart-action span {
        display: none !important;
    }

    body:has(.rs-page) .rs-header-cart i,
    body:has(.rs-page) .cr-header-cart i,
    body:has(.rs-page) .rs-top-cart-action i {
        font-size: 1.1rem !important;
    }

    body:has(.rs-page) .rs-header-cart em,
    body:has(.rs-page) .cr-header-cart em,
    body:has(.rs-page) .rs-top-cart-action em {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 20px !important;
        height: 20px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 5px !important;
        border-radius: 999px !important;
        background: #e36425 !important;
        color: #fff !important;
        font-size: .7rem !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 1000 !important;
        box-shadow: 0 5px 12px rgba(227, 100, 37, .28) !important;
    }


/* MOBILE:
   Hide restaurant top menu completely.
   Keep only brand + cart badge + language + login in header.
   Bottom restaurant menu handles navigation. */
@media (max-width: 840px) {
    body:has(.rs-page) .cr-topbar-balanced {
        min-height: 64px !important;
        height: 64px !important;
    }

        body:has(.rs-page) .cr-topbar-balanced .cr-topbar-inner {
            width: calc(100% - 22px) !important;
            height: 64px !important;
            min-height: 64px !important;
            display: grid !important;
            grid-template-columns: auto minmax(0, 1fr) auto !important;
            align-items: center !important;
            gap: .65rem !important;
            margin: 0 auto !important;
        }

        body:has(.rs-page) .cr-topbar-balanced .cr-brand {
            grid-column: 1 !important;
            min-width: 0 !important;
            gap: .55rem !important;
        }

        body:has(.rs-page) .cr-topbar-balanced .cr-brand-icon {
            width: 38px !important;
            height: 38px !important;
            min-width: 38px !important;
        }

        body:has(.rs-page) .cr-topbar-balanced .cr-brand strong {
            max-width: 128px !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
            font-size: 1.05rem !important;
        }

        /* THIS IS THE IMPORTANT FIX:
       No top restaurant menu on mobile */
        body:has(.rs-page) .cr-topbar-balanced .cr-nav-left,
        body:has(.rs-page) .rs-site-nav,
        body:has(.rs-page) .rs-top-sticky {
            display: none !important;
        }

        body:has(.rs-page) .cr-topbar-balanced .cr-topbar-actions {
            grid-column: 3 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
            gap: .45rem !important;
            min-width: max-content !important;
            margin-left: auto !important;
        }

    body:has(.rs-page) .rs-header-cart,
    body:has(.rs-page) .cr-header-cart,
    body:has(.rs-page) .rs-top-cart-action {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        box-shadow: none !important;
    }

        body:has(.rs-page) .rs-header-cart em,
        body:has(.rs-page) .cr-header-cart em,
        body:has(.rs-page) .rs-top-cart-action em {
            top: -3px !important;
            right: -3px !important;
            min-width: 18px !important;
            height: 18px !important;
            font-size: .66rem !important;
        }

    body:has(.rs-page) .cr-topbar-balanced .cr-login-link span {
        display: none !important;
    }

    body:has(.rs-page) .cr-topbar-balanced .cr-login-link {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
        padding: 0 !important;
    }
}


/* MOBILE BOTTOM RESTAURANT MENU:
   Always uses full width.
   Buttons share the row automatically, whatever the number of visible items. */
@media (max-width: 840px) {
    body:has(.rs-page) .rs-mobile-tabs {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1200 !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        min-height: 64px !important;
        padding: .42rem .45rem calc(.42rem + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, .98) !important;
        border-top: 1px solid rgba(60, 42, 25, .10) !important;
        box-shadow: 0 -10px 24px rgba(35, 25, 18, .08) !important;
        backdrop-filter: blur(14px) !important;
    }

        body:has(.rs-page) .rs-mobile-tabs button,
        body:has(.rs-page) .rs-mobile-tabs a {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            max-width: none !important;
            min-height: 56px !important;
            display: inline-flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: .24rem !important;
            border: 0 !important;
            border-radius: 16px !important;
            background: transparent !important;
            color: #2a211c !important;
            text-decoration: none !important;
            font-size: .72rem !important;
            line-height: 1 !important;
            font-weight: 950 !important;
            white-space: nowrap !important;
            padding: 0 .15rem !important;
        }

            body:has(.rs-page) .rs-mobile-tabs button i,
            body:has(.rs-page) .rs-mobile-tabs a i {
                font-size: 1rem !important;
            }

            body:has(.rs-page) .rs-mobile-tabs button.active,
            body:has(.rs-page) .rs-mobile-tabs a.active {
                background: #fff1e8 !important;
                color: #df6424 !important;
            }

    body:has(.rs-page) .rs-page {
        padding-bottom: 86px !important;
    }
}


/* Desktop: no mobile bottom menu */
@media (min-width: 841px) {
    body:has(.rs-page) .rs-mobile-tabs {
        display: none !important;
    }
}
/* =========================================================
   Restaurant tab content final adjustment
   Desktop: 4 cards per row
   Tablet: 2 cards per row
   Mobile: 1 card per row, full width like Events
   ========================================================= */

.rs-restaurant-food-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
}

    .rs-restaurant-food-row .rs-menu-gallery-card {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .rs-restaurant-food-row .rs-menu-gallery-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .rs-restaurant-food-row .rs-menu-card-buttons {
        margin-top: auto !important;
    }

/* If hero banner is hidden, content should not leave a big empty space */
.rs-shell > .rs-section:first-child,
.rs-shell > .rs-home-layout:first-child,
.rs-shell > .rs-info-cards:first-child,
.rs-shell > .rs-cart-tab-section:first-child {
    margin-top: 0 !important;
}

/* Large tablet / small laptop */
@media (max-width: 1180px) {
    .rs-restaurant-food-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .rs-restaurant-food-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile: one card per row, full width */
@media (max-width: 640px) {
    .rs-restaurant-food-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

        .rs-restaurant-food-row .rs-menu-gallery-card {
            border: 1px solid var(--cr-border, #eee3d7);
            width: 100% !important;
            max-width: none !important;
            border-radius: 22px !important;
        }

        .rs-restaurant-food-row .rs-menu-gallery-image {
            border: 1px solid var(--cr-border, #eee3d7);
            height: 220px !important;
            border-radius: 22px 22px 0 0 !important;
        }

        .rs-restaurant-food-row .rs-menu-gallery-body {
            padding: 1rem !important;
        }

        .rs-restaurant-food-row .rs-menu-gallery-title {
            display: flex !important;
            align-items: flex-start !important;
            justify-content: space-between !important;
            gap: .75rem !important;
        }

            .rs-restaurant-food-row .rs-menu-gallery-title h4 {
                font-size: 1.05rem !important;
                line-height: 1.2 !important;
            }

            .rs-restaurant-food-row .rs-menu-gallery-title strong {
                font-size: 1rem !important;
                white-space: nowrap !important;
            }

        .rs-restaurant-food-row .rs-menu-card-buttons {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: .65rem !important;
        }

        .rs-restaurant-food-row .rs-menu-btn {
            width: 100% !important;
            min-height: 46px !important;
        }
}

/* Very small mobile */
@media (max-width: 420px) {
    .rs-restaurant-food-row {
        grid-template-columns: 1fr !important;
    }

        .rs-restaurant-food-row .rs-menu-gallery-image {
            border: 1px solid var(--cr-border, #eee3d7);
            height: 210px !important;
        }
}

/* =========================================================
   Add to cart toast / snackbar
   Must stay above menu details modal
   ========================================================= */

.rs-cart-toast {
    position: fixed !important;
    right: clamp(1rem, 3vw, 2rem) !important;
    bottom: clamp(1rem, 3vw, 2rem) !important;
    z-index: 999999 !important;
    min-width: 280px !important;
    max-width: min(420px, calc(100vw - 2rem)) !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .85rem 1rem !important;
    border-radius: 22px !important;
    background: #211b17 !important;
    color: #fff !important;
    box-shadow: 0 20px 50px rgba(24, 18, 14, .24) !important;
    animation: rsCartToastIn .22s ease-out !important;
    pointer-events: auto !important;
}

    .rs-cart-toast,
    .rs-cart-toast * {
        pointer-events: auto !important;
    }

        .rs-cart-toast i {
            width: 34px !important;
            height: 34px !important;
            display: inline-grid !important;
            place-items: center !important;
            border-radius: 999px !important;
            background: rgba(255, 255, 255, .12) !important;
            color: #7ee39a !important;
            flex: 0 0 auto !important;
        }

        .rs-cart-toast span {
            flex: 1 !important;
            font-weight: 850 !important;
            line-height: 1.25 !important;
        }

        .rs-cart-toast button {
            border: 0 !important;
            min-height: 34px !important;
            padding: 0 .85rem !important;
            border-radius: 999px !important;
            background: #fff !important;
            color: #df6424 !important;
            font-weight: 950 !important;
            cursor: pointer !important;
        }

            .rs-cart-toast button:hover {
                background: #fff3eb !important;
            }

@keyframes rsCartToastIn {
    from {
        transform: translateY(16px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .rs-cart-toast {
        left: .8rem !important;
        right: .8rem !important;
        bottom: calc(78px + env(safe-area-inset-bottom)) !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 20px !important;
        z-index: 999999 !important;
    }
}



/* ===== SOURCE: chapresto-restaurant-mobile-nav-fix.css ===== */

/* ChapResto v23 - Restaurant mobile bottom menu / cart icon fix */

@media (max-width: 820px) {
    body:has(.rs-mobile-tabs) .cr-bottom-nav {
        display: none !important;
    }

    .rs-mobile-tabs {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1200 !important;
        height: 66px !important;
        padding: 5px 8px calc(5px + env(safe-area-inset-bottom)) !important;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: rgba(255, 255, 255, .98) !important;
        border-top: 1px solid rgba(55, 43, 34, .12) !important;
        box-shadow: 0 -14px 34px rgba(35, 28, 24, .12) !important;
        backdrop-filter: blur(14px) !important;
    }

    .rs-mobile-tabs button,
    .rs-mobile-tabs a {
        width: 100% !important;
        min-width: 0 !important;
        height: 56px !important;
        padding: 4px 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: transparent !important;
        color: #2a2421 !important;
        text-decoration: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        position: relative !important;
        font-family: inherit !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        overflow: visible !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .rs-mobile-tabs button i,
    .rs-mobile-tabs a i {
        display: block !important;
        font-size: 17px !important;
        line-height: 1 !important;
        height: 18px !important;
        margin: 0 !important;
        color: currentColor !important;
    }

    .rs-mobile-tabs button span,
    .rs-mobile-tabs a span {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-size: 9.5px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        letter-spacing: -.01em !important;
    }

    .rs-mobile-tabs button.active,
    .rs-mobile-tabs a.active {
        color: #df5a1f !important;
        background: #fff4ec !important;
    }

    .rs-mobile-tabs a[href*='/cart'] {
        color: #2a2421 !important;
    }

    .rs-mobile-tabs a[href*='/cart'] i {
        transform: translateY(-1px) !important;
    }

    .rs-mobile-tabs a[href*='/cart'] em {
        position: absolute !important;
        top: 2px !important;
        right: calc(50% - 19px) !important;
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        background: #df5a1f !important;
        color: #fff !important;
        border: 2px solid #fff !important;
        display: inline-grid !important;
        place-items: center !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        font-style: normal !important;
        box-shadow: 0 6px 14px rgba(223, 90, 31, .28) !important;
    }

    .rs-floating-cart {
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        border-radius: 999px !important;
        z-index: 1195 !important;
    }

    .rs-page {
        padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 380px) {
    .rs-mobile-tabs {
        height: 64px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .rs-mobile-tabs button,
    .rs-mobile-tabs a {
        height: 54px !important;
        border-radius: 14px !important;
    }

    .rs-mobile-tabs button i,
    .rs-mobile-tabs a i {
        font-size: 16px !important;
    }

    .rs-mobile-tabs button span,
    .rs-mobile-tabs a span {
        font-size: 8.5px !important;
    }
}




/* ===== SOURCE: chapresto-restaurant-orders-final.css ===== */

/* =========================================================
   ChapResto Restaurant Orders / Tracking
   ========================================================= */

.rs-orders-tab-section,
.rs-order-tracking-tab-section {
    margin-top: 0 !important;
}

.rs-orders-list {
    display: grid;
    gap: 1rem;
}

.rs-order-card {
    border: 1px solid rgba(60, 42, 25, .10);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(45, 30, 18, .07);
    overflow: hidden;
}

.rs-order-main {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
}

.rs-order-main h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 1000;
    color: #241e1a;
}

.rs-order-main p {
    margin: .25rem 0 0;
    color: #6b625b;
    font-weight: 650;
}

.rs-order-main strong {
    color: #df6424;
    font-weight: 1000;
    white-space: nowrap;
}

.rs-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 .75rem;
    border-radius: 999px;
    background: #fff1e8;
    color: #c55217;
    font-size: .78rem;
    font-weight: 1000;
    white-space: nowrap;
}

.rs-order-status.delivered,
.rs-order-status.completed {
    background: #e7f8ed;
    color: #15803d;
}

.rs-order-status.cancelled,
.rs-order-status.rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.rs-order-foot {
    border-top: 1px solid rgba(60, 42, 25, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    color: #6b625b;
    font-weight: 800;
}

.rs-orders-empty i {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff1e8;
    color: #df6424;
    font-size: 1.4rem;
    margin-bottom: .75rem;
}

@media (max-width: 640px) {
    .rs-order-main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: .7rem;
    }

    .rs-order-main strong {
        justify-self: start;
    }

    .rs-order-status {
        width: max-content;
    }

    .rs-order-foot {
        align-items: stretch;
        flex-direction: column;
    }

    .rs-order-foot .rs-link-button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   FINAL MOBILE TOPBAR FIX
   Load order protection: this file is loaded last in App.razor.
   Desktop/tablet keeps .cr-topbar-actions.
   Mobile shows only .cr-mobile-actions-slot to avoid duplicated EN/bell.
   ========================================================= */

@media (max-width: 840px) {
    .cr-topbar-balanced .cr-topbar-inner {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: .45rem !important;
        width: calc(100% - 16px) !important;
        padding-inline: 0 !important;
    }

    .cr-topbar-balanced .cr-nav-left,
    .cr-topbar-balanced .cr-topbar-actions {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .cr-topbar-balanced .cr-mobile-language-slot,
    .cr-topbar-balanced .cr-mobile-actions-slot {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: .35rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-icon-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-cart-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-notification-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mobile-login-link {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 8px 18px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-public-language-btn {
        min-width: 58px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 .55rem !important;
        border-radius: 999px !important;
        font-size: .82rem !important;
        font-weight: 1000 !important;
        box-shadow: 0 8px 18px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-user-zone {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        z-index: 6000 !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mini-account-btn {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 8px 18px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-profile-account-btn i {
        display: none !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-profile-initials {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: .78rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-user-dropdown {
        position: fixed !important;
        top: 62px !important;
        right: 10px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 20px)) !important;
        z-index: 9999 !important;
    }

    .cr-topbar-balanced .cr-mobile-login-link {
        display: inline-grid !important;
        place-items: center !important;
        background: #fff !important;
        color: #201a16 !important;
        border: 1px solid rgba(60, 42, 25, .10) !important;
        text-decoration: none !important;
    }
}

@media (max-width: 420px) {
    .cr-topbar-balanced .cr-brand strong {
        max-width: 104px !important;
        font-size: .95rem !important;
    }

    .cr-topbar-balanced .cr-brand-icon {
        width: 34px !important;
        height: 34px !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot {
        gap: .25rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-public-language-btn {
        min-width: 54px !important;
        padding-inline: .45rem !important;
    }
}

/* =========================================================
   FINAL HEADER RESPONSIVE AUTH CLEANUP
   This block must stay at the end of the last loaded CSS file.
   ========================================================= */

.cr-desktop-only {
    display: initial !important;
}

.cr-mobile-only {
    display: none !important;
}

@media (min-width: 841px) {
    .cr-topbar-balanced .cr-mobile-language-slot,
    .cr-topbar-balanced .cr-mobile-actions-slot {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .cr-topbar-balanced .cr-topbar-actions {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 840px) {
    .cr-desktop-only {
        display: none !important;
    }

    .cr-mobile-only {
        display: initial !important;
    }

    .cr-topbar-balanced {
        min-height: 64px !important;
        height: 64px !important;
    }

    .cr-topbar-balanced .cr-topbar-inner,
    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-inner {
        width: calc(100% - 16px) !important;
        height: 64px !important;
        min-height: 64px !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: .45rem !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .cr-topbar-balanced .cr-nav-left,
    .cr-topbar-balanced .cr-topbar-actions,
    body:has(.rs-page) .cr-topbar-balanced .cr-nav-left,
    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-actions {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .cr-topbar-balanced .cr-mobile-language-slot,
    .cr-topbar-balanced .cr-mobile-actions-slot,
    body:has(.rs-page) .cr-topbar-balanced .cr-mobile-language-slot,
    body:has(.rs-page) .cr-topbar-balanced .cr-mobile-actions-slot {
        grid-column: 3 !important;
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: .3rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    .cr-topbar-balanced .cr-brand,
    body:has(.rs-page) .cr-topbar-balanced .cr-brand {
        grid-column: 1 !important;
        min-width: 0 !important;
        gap: .45rem !important;
    }

    .cr-topbar-balanced .cr-brand-icon,
    body:has(.rs-page) .cr-topbar-balanced .cr-brand-icon {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
    }

    .cr-topbar-balanced .cr-brand strong,
    body:has(.rs-page) .cr-topbar-balanced .cr-brand strong {
        max-width: 96px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: .92rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-icon-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-cart-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-notify-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mobile-login-link {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 7px 16px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-icon-btn em,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-cart-btn em,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-notify-btn em {
        top: -3px !important;
        right: -3px !important;
        min-width: 17px !important;
        height: 17px !important;
        font-size: .62rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-public-language-btn {
        min-width: 52px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 .45rem !important;
        border-radius: 999px !important;
        font-size: .78rem !important;
        font-weight: 1000 !important;
        box-shadow: 0 7px 16px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-user-zone {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        z-index: 6000 !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mini-account-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-profile-initials {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: .72rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-profile-account-btn i {
        display: none !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-user-dropdown {
        position: fixed !important;
        top: 62px !important;
        right: 8px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 16px)) !important;
        z-index: 9999 !important;
    }
}

@media (max-width: 390px) {
    .cr-topbar-balanced .cr-brand strong,
    body:has(.rs-page) .cr-topbar-balanced .cr-brand strong {
        max-width: 78px !important;
        font-size: .86rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot,
    body:has(.rs-page) .cr-topbar-balanced .cr-mobile-actions-slot {
        gap: .22rem !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-icon-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-header-cart-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-notify-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mobile-login-link,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-mini-account-btn,
    .cr-topbar-balanced .cr-mobile-actions-slot .cr-profile-initials {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    .cr-topbar-balanced .cr-mobile-actions-slot .cr-public-language-btn {
        min-width: 48px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding-inline: .35rem !important;
    }
}

/* =========================================================
   SINGLE HEADER ACTION BAR FINAL OVERRIDE
   MainLayout now uses only .cr-topbar-actions for all screen sizes.
   ========================================================= */

.cr-topbar-balanced .cr-mobile-language-slot,
.cr-topbar-balanced .cr-mobile-actions-slot {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 840px) {
    .cr-topbar-balanced .cr-topbar-actions,
    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-actions {
        grid-column: 3 !important;
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: .3rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-header-icon-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-header-cart-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-notify-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-login-link {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 7px 16px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-header-icon-btn em,
    .cr-topbar-balanced .cr-topbar-actions .cr-header-cart-btn em,
    .cr-topbar-balanced .cr-topbar-actions .cr-notify-btn em {
        top: -3px !important;
        right: -3px !important;
        min-width: 17px !important;
        height: 17px !important;
        font-size: .62rem !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-public-language-btn {
        min-width: 52px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 .45rem !important;
        border-radius: 999px !important;
        font-size: .78rem !important;
        font-weight: 1000 !important;
        box-shadow: 0 7px 16px rgba(42, 30, 18, .07) !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-user-zone {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        z-index: 6000 !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-mini-account-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-profile-initials {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: .72rem !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-profile-account-btn i {
        display: none !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-user-dropdown {
        position: fixed !important;
        top: 62px !important;
        right: 8px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 16px)) !important;
        z-index: 9999 !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-login-link span {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .cr-topbar-balanced .cr-topbar-actions,
    body:has(.rs-page) .cr-topbar-balanced .cr-topbar-actions {
        gap: .22rem !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-header-icon-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-header-cart-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-notify-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-login-link,
    .cr-topbar-balanced .cr-topbar-actions .cr-mini-account-btn,
    .cr-topbar-balanced .cr-topbar-actions .cr-profile-initials {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    .cr-topbar-balanced .cr-topbar-actions .cr-public-language-btn {
        min-width: 48px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding-inline: .35rem !important;
    }
}

/* =========================================================
   OWNER RESTAURANT CONTEXT NAVIGATION
   Shows Page/Menu/Orders/Promos/Pub while managing one restaurant.
   ========================================================= */
.cr-topbar-balanced .cr-owner-restaurant-header-nav {
    gap: .45rem !important;
}

.cr-topbar-balanced .cr-owner-restaurant-header-nav a {
    min-width: auto !important;
    white-space: nowrap !important;
    padding-inline: .58rem !important;
}

.cr-topbar-balanced .cr-owner-restaurant-header-nav a i {
    font-size: .95rem !important;
}

@media (max-width: 1120px) {
    .cr-topbar-balanced .cr-owner-restaurant-header-nav {
        gap: .28rem !important;
    }

    .cr-topbar-balanced .cr-owner-restaurant-header-nav a {
        padding-inline: .45rem !important;
        font-size: .82rem !important;
    }
}

@media (max-width: 840px) {
    .cr-owner-restaurant-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: .18rem !important;
        padding-inline: .45rem !important;
    }

    .cr-owner-restaurant-bottom-nav a {
        min-width: 0 !important;
        padding-inline: .2rem !important;
        font-size: .66rem !important;
    }

    .cr-owner-restaurant-bottom-nav i {
        font-size: .88rem !important;
    }
}

/* =========================================================
   V23 - FINAL MOBILE DENSITY + RESTAURANT SPACING CONTROL
   Keep this block LAST.
   Change only the variables below.
   ========================================================= */

@media (max-width: 640px) {
    :root {
        /* General mobile page density */
        --cr-mobile-page-edge: 8px;
        --cr-mobile-page-top: .8rem;
        --cr-mobile-card-radius: 16px;
        --cr-mobile-card-padding: .85rem;
    }

    html,
    body {
        overflow-x: hidden !important;
    }

    /* General mobile page density: public, owner and admin pages */
    .cr-page,
    .cr-page-narrow,
    .cr-home,
    .cr-list-page,
    .cr-menu-page,
    .cr-restaurants-page,
    .cr-owner-page,
    .cr-admin-page,
    .owner-page,
    .owner-menu-page,
    .owner-menu-page-v2,
    .owner-menu-page-v3,
    .owner-orders-page,
    .owner-publications-page,
    .compact-admin-page,
    .admin-shell,
    main > section:not(.rs-shell) {
        width: min(100% - var(--cr-mobile-page-edge), 1580px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cr-page,
    .cr-home,
    .cr-list-page,
    .cr-menu-page,
    .cr-restaurants-page,
    .cr-owner-page,
    .cr-admin-page,
    .owner-page,
    .owner-menu-page,
    .owner-menu-page-v2,
    .owner-menu-page-v3,
    .owner-orders-page,
    .owner-publications-page,
    .compact-admin-page {
        padding-top: var(--cr-mobile-page-top) !important;
    }

    .cr-page-head,
    .cr-filter-panel,
    .cr-page-grid,
    .cr-empty,
    .cr-cart-wrap,
    .cr-order-status,
    .cr-loading,
    .owner-menu-toolbar-v3,
    .owner-publications-toolbar,
    .owner-orders-quickbar,
    .owner-orders-toolbar,
    .compact-admin-toolbar {
        width: min(100% - var(--cr-mobile-page-edge), var(--cr-public-max, 1280px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .cr-card,
    .cr-rest-card,
    .cr-menu-card,
    .cr-form-card,
    .cr-cart-total,
    .cr-cart-items-card,
    .cr-order-summary-card,
    .cr-order-status,
    .owner-publication-card,
    .owner-menu-card-v3,
    .owner-orders-table-card,
    .owner-admin-panel,
    .admin-card,
    .admin-table-card,
    .admin-list-card,
    .rs-panel,
    .rs-info-panel,
    .rs-info-card,
    .rs-menu-gallery-card,
    .rs-recommended-menu-card,
    .rs-daily-card,
    .rs-menu-row,
    .rs-post-card,
    .rs-empty-panel,
    .rs-state-card,
    .rs-order-card {
        border-radius: var(--cr-mobile-card-radius) !important;
    }

    .cr-card,
    .cr-form-card,
    .cr-cart-total,
    .cr-cart-items-card,
    .cr-order-summary-card,
    .owner-admin-panel,
    .admin-card {
        padding: var(--cr-mobile-card-padding) !important;
    }
}

@media (max-width: 640px) {
    body:has(.rs-page) {
        /* =====================================================
           EASY PARAMETERS - change only these values
           ===================================================== */
        --rs-mobile-header-height: 64px;    /* fixed topbar height */
        --rs-mobile-top-gap: 100px;          /* space below topbar */
        --rs-mobile-edge: 20px;              /* left/right page margin */
        --rs-mobile-bottom-space: 60px;    /* space above fixed bottom menu */
        --rs-mobile-card-gap: 10px;         /* space between cards */

        /* Restaurant hero */
        --rs-mobile-cover-height: 126px;
        --rs-mobile-identity-overlap: -20px;
        --rs-mobile-card-padding: 13px;
        --rs-mobile-radius: 14px;
        --rs-mobile-logo-size: 58px;
        --rs-mobile-logo-column: 62px;
    }

    body:has(.rs-page) .cr-shell main,
    body:has(.rs-page) .cr-main,
    body:has(.rs-page) main {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    body:has(.rs-page) .rs-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-top: calc(var(--rs-mobile-header-height) + var(--rs-mobile-top-gap)) !important;
        padding-left: var(--rs-mobile-edge) !important;
        padding-right: var(--rs-mobile-edge) !important;
        padding-bottom: calc(var(--rs-mobile-bottom-space) + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
    }

    body:has(.rs-page) .rs-shell {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 0 var(--rs-mobile-bottom-space) !important;
    }

    body:has(.rs-page) .rs-hero-card-premium {
        width: 100% !important;
        margin: 0 0 var(--rs-mobile-card-gap) !important;
        padding: 0 !important;
    }

    body:has(.rs-page) .rs-cover {
        width: 100% !important;
        height: var(--rs-mobile-cover-height) !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 8px 18px rgba(50, 38, 28, .06) !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body:has(.rs-page) .rs-identity-card {
        width: 100% !important;
        margin: var(--rs-mobile-identity-overlap) auto 0 !important;
        padding: var(--rs-mobile-card-padding) !important;
        min-height: 0 !important;
        border-radius: var(--rs-mobile-radius) !important;
        display: grid !important;
        grid-template-columns: var(--rs-mobile-logo-column) minmax(0, 1fr) !important;
        grid-template-rows: auto auto auto auto !important;
        column-gap: 10px !important;
        row-gap: 6px !important;
        align-items: center !important;
        box-shadow: 0 12px 28px rgba(50, 38, 28, .10) !important;
    }

    body:has(.rs-page) .rs-logo-box {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: var(--rs-mobile-logo-size) !important;
        height: var(--rs-mobile-logo-size) !important;
        border-radius: 12px !important;
        margin: 0 !important;
        align-self: center !important;
    }

    body:has(.rs-page) .rs-identity-main {
        display: contents !important;
    }

    body:has(.rs-page) .rs-identity-card h1 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        margin: 0 !important;
        color: #171313 !important;
        font-size: clamp(1.45rem, 7vw, 1.9rem) !important;
        line-height: .98 !important;
        letter-spacing: -.045em !important;
        text-align: left !important;
    }

    body:has(.rs-page) .rs-identity-card p {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        margin: 1px 0 0 !important;
        color: #544b45 !important;
        font-size: .8rem !important;
        line-height: 1.38 !important;
        text-align: left !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body:has(.rs-page) .rs-badges {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        margin: 1px 0 0 !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    body:has(.rs-page) .rs-meta-line {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    body:has(.rs-page) .rs-badges span,
    body:has(.rs-page) .rs-meta-line span {
        min-height: 22px !important;
        padding: 0 7px !important;
        font-size: .62rem !important;
        line-height: 1 !important;
    }

    body:has(.rs-page) .rs-mobile-action-bar,
    body:has(.rs-page) .rs-home-layout,
    body:has(.rs-page) .rs-info-cluster,
    body:has(.rs-page) .rs-info-cards,
    body:has(.rs-page) .rs-section,
    body:has(.rs-page) .rs-cart-tab-section,
    body:has(.rs-page) .rs-menu-tab-section,
    body:has(.rs-page) .rs-publications-section,
    body:has(.rs-page) .rs-orders-tab-section,
    body:has(.rs-page) .rs-order-tracking-tab-section {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body:has(.rs-page) .rs-home-layout,
    body:has(.rs-page) .rs-info-cluster,
    body:has(.rs-page) .rs-info-cards,
    body:has(.rs-page) .rs-menu-list,
    body:has(.rs-page) .rs-publication-grid,
    body:has(.rs-page) .rs-orders-list {
        gap: var(--rs-mobile-card-gap) !important;
        margin-bottom: var(--rs-mobile-card-gap) !important;
    }

    body:has(.rs-page) .rs-panel,
    body:has(.rs-page) .rs-info-panel,
    body:has(.rs-page) .rs-info-card,
    body:has(.rs-page) .rs-empty-panel,
    body:has(.rs-page) .rs-state-card {
        padding: var(--rs-mobile-card-padding) !important;
        border-radius: var(--rs-mobile-radius) !important;
        box-shadow: 0 8px 20px rgba(50, 38, 28, .065) !important;
    }

    body:has(.rs-page) .rs-menu-list > :last-child,
    body:has(.rs-page) .rs-restaurant-food-row > :last-child,
    body:has(.rs-page) .rs-menu-gallery-grid > :last-child,
    body:has(.rs-page) .rs-publication-grid > :last-child,
    body:has(.rs-page) .rs-orders-list > :last-child {
        margin-bottom: var(--rs-mobile-bottom-space) !important;
    }

    body:has(.rs-page) .rs-mobile-tabs {
        z-index: 9999 !important;
    }
}

@media (max-width: 380px) {
    body:has(.rs-page) {
        --rs-mobile-edge: 10px;
        --rs-mobile-logo-size: 54px;
        --rs-mobile-logo-column: 58px;
    }
}


/* =========================================================
   V24 - REAL MOBILE SPACING CONTROL
   This is the only block you should edit for mobile spacing.
   Put it at the VERY END of chapresto-restaurant-orders-final.css
   ========================================================= */

@media (max-width: 640px) {
    body:has(.rs-page) {
        /* CHANGE ONLY THESE VALUES */
        --rs-space-left-right: 5px;
        --rs-space-top: 50px;
        --rs-space-bottom: 50px;
        --rs-space-between-cards: 10px;
        --rs-hero-cover-height: 126px;
        --rs-identity-overlap: -20px;
        --rs-card-padding: 13px;
        --rs-card-radius: 14px;
        --rs-logo-size: 58px;
        --rs-logo-column: 62px;
    }

        body:has(.rs-page) .cr-shell main,
        body:has(.rs-page) .cr-main,
        body:has(.rs-page) main {
            width: 100% !important;
            max-width: none !important;
            padding: 0 !important;
            margin: 0 !important;
            overflow-x: hidden !important;
        }

        body:has(.rs-page) .rs-page {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 64px 0 0 !important;
            overflow-x: hidden !important;
        }

        /* REAL left/right spacing */
        body:has(.rs-page) .rs-shell {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding-left: var(--rs-space-left-right) !important;
            padding-right: var(--rs-space-left-right) !important;
            padding-bottom: var(--rs-space-bottom) !important;
            box-sizing: border-box !important;
        }

        /* REAL top spacing */
        body:has(.rs-page) .rs-hero-card-premium {
            width: 100% !important;
            margin-top: var(--rs-space-top) !important;
            margin-bottom: var(--rs-space-between-cards) !important;
            padding: 0 !important;
        }

        body:has(.rs-page) .rs-cover {
            width: 100% !important;
            height: var(--rs-hero-cover-height) !important;
            margin: 0 !important;
            border-radius: 0 !important;
            background-size: cover !important;
            background-position: center center !important;
        }

        body:has(.rs-page) .rs-identity-card {
            width: 100% !important;
            margin: var(--rs-identity-overlap) auto 0 !important;
            padding: var(--rs-card-padding) !important;
            min-height: 0 !important;
            border-radius: var(--rs-card-radius) !important;
            display: grid !important;
            grid-template-columns: var(--rs-logo-column) minmax(0, 1fr) !important;
            grid-template-rows: auto auto auto auto !important;
            column-gap: 10px !important;
            row-gap: 6px !important;
            align-items: center !important;
            box-sizing: border-box !important;
        }

        body:has(.rs-page) .rs-logo-box {
            grid-column: 1 !important;
            grid-row: 1 !important;
            width: var(--rs-logo-size) !important;
            height: var(--rs-logo-size) !important;
            border-radius: 12px !important;
            margin: 0 !important;
            align-self: center !important;
        }

        body:has(.rs-page) .rs-identity-main {
            display: contents !important;
        }

        body:has(.rs-page) .rs-identity-card h1 {
            grid-column: 2 !important;
            grid-row: 1 !important;
            align-self: center !important;
            margin: 0 !important;
            font-size: clamp(1.45rem, 7vw, 1.9rem) !important;
            line-height: .98 !important;
            text-align: left !important;
        }

        body:has(.rs-page) .rs-identity-card p {
            grid-column: 1 / -1 !important;
            grid-row: 2 !important;
            margin: 1px 0 0 !important;
            font-size: .8rem !important;
            line-height: 1.38 !important;
            text-align: left !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 3 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }

        body:has(.rs-page) .rs-badges {
            grid-column: 1 / -1 !important;
            grid-row: 3 !important;
            margin: 1px 0 0 !important;
            justify-content: flex-start !important;
            gap: 5px !important;
        }

        body:has(.rs-page) .rs-meta-line {
            grid-column: 1 / -1 !important;
            grid-row: 4 !important;
            margin: 0 !important;
            justify-content: flex-start !important;
            gap: 5px !important;
        }

            body:has(.rs-page) .rs-badges span,
            body:has(.rs-page) .rs-meta-line span {
                min-height: 22px !important;
                padding: 0 7px !important;
                font-size: .62rem !important;
                line-height: 1 !important;
            }

        body:has(.rs-page) .rs-mobile-action-bar,
        body:has(.rs-page) .rs-home-layout,
        body:has(.rs-page) .rs-info-cluster,
        body:has(.rs-page) .rs-info-cards,
        body:has(.rs-page) .rs-section,
        body:has(.rs-page) .rs-cart-tab-section,
        body:has(.rs-page) .rs-menu-tab-section,
        body:has(.rs-page) .rs-publications-section,
        body:has(.rs-page) .rs-orders-tab-section,
        body:has(.rs-page) .rs-order-tracking-tab-section {
            width: 100% !important;
            max-width: none !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            box-sizing: border-box !important;
        }

        body:has(.rs-page) .rs-home-layout,
        body:has(.rs-page) .rs-info-cluster,
        body:has(.rs-page) .rs-info-cards,
        body:has(.rs-page) .rs-menu-list,
        body:has(.rs-page) .rs-publication-grid,
        body:has(.rs-page) .rs-orders-list {
            gap: var(--rs-space-between-cards) !important;
            margin-bottom: var(--rs-space-between-cards) !important;
        }

        body:has(.rs-page) .rs-panel,
        body:has(.rs-page) .rs-info-panel,
        body:has(.rs-page) .rs-info-card,
        body:has(.rs-page) .rs-empty-panel,
        body:has(.rs-page) .rs-state-card {
            padding: var(--rs-card-padding) !important;
            border-radius: var(--rs-card-radius) !important;
        }

        /* REAL bottom spacing so last card buttons are visible */
        body:has(.rs-page) .rs-shell::after {
            content: "";
            display: block;
            height: var(--rs-space-bottom);
        }
}

/* =========================================================
   V25 - ChapResto Blazor Reconnect Toast
   Small, clean, transparent message above bottom menu.
   Put this at the VERY END of the last loaded CSS file.
   ========================================================= */

/* Hidden state */
#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
}

/* Main reconnect toast */
#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-retrying,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    top: auto !important;
    z-index: 2147483647 !important;
    width: auto !important;
    max-width: 420px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    border-radius: 999px !important;
    background: rgba(32, 27, 23, .88) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    font-size: .78rem !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    pointer-events: none !important;
}

    /* Hide Blazor default big content */
    #components-reconnect-modal.components-reconnect-show > *,
    #components-reconnect-modal.components-reconnect-retrying > *,
    #components-reconnect-modal.components-reconnect-failed > *,
    #components-reconnect-modal.components-reconnect-rejected > * {
        display: none !important;
    }

    /* Small spinner */
    #components-reconnect-modal.components-reconnect-show::before,
    #components-reconnect-modal.components-reconnect-retrying::before {
        content: "";
        width: 18px !important;
        height: 18px !important;
        border-radius: 999px !important;
        border: 3px solid rgba(255, 255, 255, .32) !important;
        border-top-color: #fff !important;
        animation: cr-reconnect-spin .75s linear infinite !important;
    }

    /* Warning icon for failed */
    #components-reconnect-modal.components-reconnect-failed::before,
    #components-reconnect-modal.components-reconnect-rejected::before {
        content: "!";
        width: 18px !important;
        height: 18px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 999px !important;
        background: #f97316 !important;
        color: #fff !important;
        font-size: .78rem !important;
        font-weight: 1000 !important;
    }

    /* Message text */
    #components-reconnect-modal.components-reconnect-show::after,
    #components-reconnect-modal.components-reconnect-retrying::after {
        content: "Connexion en cours vrification du rseau." !important;
    }

    #components-reconnect-modal.components-reconnect-failed::after,
    #components-reconnect-modal.components-reconnect-rejected::after {
        content: "Connexion interrompue. Actualisez la page si ncessaire." !important;
    }

@keyframes cr-reconnect-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile: keep it above your bottom restaurant menu */
@media (max-width: 640px) {
    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-retrying,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        left: 12px !important;
        right: 12px !important;
        bottom: calc(78px + env(safe-area-inset-bottom)) !important;
        max-width: none !important;
        padding: 10px 13px !important;
        font-size: .74rem !important;
    }
}


/*
This will show a small black transparent toast like:

spinner + Connexion en cours vrification du rseau.

Not a big white popup, not a grey empty bar.

To move it higher or lower, change only this:

bottom: calc(78px + env(safe-area-inset-bottom)) !important;

Example higher:

bottom: calc(105px + env(safe-area-inset-bottom)) !important;
*/


/* =========================================================
   V27 - MOBILE NOTIFICATION PANEL FINAL FIX
   Put this at the VERY END of chapresto-restaurant-orders-final.css
   Fixes notification popup on mobile.
   ========================================================= */

@media (max-width: 840px) {
    .cr-notify {
        position: static !important;
    }

    .cr-notify-panel,
    .cr-notification-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - 150px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 12px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .96) !important;
        border: 1px solid rgba(60, 42, 25, .10) !important;
        box-shadow: 0 20px 55px rgba(30, 24, 18, .20) !important;
        z-index: 99999 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .cr-notify-head {
        padding: 4px 4px 10px !important;
        gap: 8px !important;
    }

        .cr-notify-head strong,
        .cr-notification-dropdown strong {
            font-size: .95rem !important;
            line-height: 1.15 !important;
            margin: 0 !important;
            color: #201a16 !important;
        }

        .cr-notify-head button {
            min-height: 30px !important;
            padding: 0 8px !important;
            border-radius: 999px !important;
            background: #fff1e8 !important;
            color: #c55217 !important;
            font-size: .72rem !important;
            white-space: nowrap !important;
        }

    .cr-notify-item {
        width: 100% !important;
        margin: 0 0 7px !important;
        padding: 10px 11px !important;
        border-radius: 14px !important;
        background: #fff7ed !important;
        box-sizing: border-box !important;
    }

        .cr-notify-item strong {
            font-size: .86rem !important;
            line-height: 1.2 !important;
        }

        .cr-notify-item span,
        .cr-notify-empty,
        .cr-notification-dropdown p {
            font-size: .78rem !important;
            line-height: 1.35 !important;
            padding: 8px 4px !important;
        }

        .cr-notify-item small {
            font-size: .7rem !important;
        }
}

@media (max-width: 420px) {
    .cr-notify-panel,
    .cr-notification-dropdown {
        top: 66px !important;
        left: 8px !important;
        right: 8px !important;
        max-height: calc(100dvh - 142px) !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }
}



/* ===== SOURCE: chapresto-publications.css ===== */

﻿/* =========================================================
   ChapResto Restaurant Publications / Brunch / Buffet
   Safe additive CSS.
   Load after restaurant CSS.
   ========================================================= */

.rs-publications-section {
    margin-top: 18px;
}

.rs-publications-head {
    align-items: flex-end;
    margin-bottom: 14px;
}

    .rs-publications-head p {
        max-width: 760px;
        margin: 6px 0 0;
        color: var(--rs-muted, #625c57);
        font-size: .95rem;
        line-height: 1.5;
    }

.rs-publication-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rs-publication-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(42, 32, 24, .08);
    box-shadow: 0 16px 38px rgba(50, 38, 28, .09);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .rs-publication-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 48px rgba(50, 38, 28, .13);
    }

.rs-publication-image {
    position: relative;
    width: 100%;
    height: clamp(260px, 34vw, 420px);
    display: block;
    border: 0;
    background-color: #efe4d5;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    overflow: hidden;
}

    .rs-publication-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.24)), linear-gradient(90deg, rgba(0,0,0,.10), transparent 42%);
        pointer-events: none;
    }

    .rs-publication-image:not([style*="background-image"]) {
        background-image: radial-gradient(circle at 28% 20%, rgba(223, 90, 31, .18), transparent 24%), linear-gradient(135deg, #f6e7d8, #fff7ef);
    }

.rs-publication-label {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #c34d13;
    font-size: .72rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .12em;
    box-shadow: 0 10px 24px rgba(20, 14, 10, .12);
}

.rs-publication-discount {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #e45f20;
    color: #fff;
    font-size: .9rem;
    font-weight: 1000;
    box-shadow: 0 12px 28px rgba(228, 95, 32, .28);
}

.rs-publication-body {
    padding: 16px;
    display: grid;
    gap: 14px;
}

    .rs-publication-body small {
        display: inline-flex;
        margin-bottom: 6px;
        color: #d85b1f;
        font-size: .7rem;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: .16em;
    }

    .rs-publication-body h3 {
        margin: 0 0 8px;
        color: #171312;
        font-size: clamp(1.2rem, 2vw, 1.55rem);
        line-height: 1.05;
        letter-spacing: -.035em;
        font-weight: 1000;
    }

    .rs-publication-body p {
        margin: 0;
        color: #625c57;
        font-size: .92rem;
        line-height: 1.55;
    }

.rs-publication-footer {
    display: grid;
    gap: 12px;
}

    .rs-publication-footer > strong {
        color: #e05f20;
        font-size: 1.15rem;
        font-weight: 1000;
    }

.rs-publication-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .rs-publication-actions .rs-menu-btn {
        min-height: 44px;
    }

.rs-publication-note {
    margin-top: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-radius: 20px;
    background: #fff1e8;
    border: 1px solid rgba(223, 90, 31, .13);
    color: #6f351b;
}

    .rs-publication-note > i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #fff;
        color: #d85b1f;
    }

    .rs-publication-note strong {
        display: block;
        margin-bottom: 3px;
        color: #241c17;
        font-weight: 1000;
    }

    .rs-publication-note p {
        margin: 0;
        color: #71452f;
        line-height: 1.45;
        font-size: .92rem;
    }

@media (min-width: 1280px) {
    .rs-publication-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .rs-publication-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rs-publication-image {
        height: clamp(260px, 80vw, 460px);
    }

    .rs-publication-body {
        padding: 14px;
    }

    .rs-publication-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .rs-publication-image {
        height: 300px;
    }

    .rs-publication-note {
        grid-template-columns: 1fr;
    }
}




/* ===== SOURCE: chapresto-menu-card-buttons.css ===== */

.rs-menu-card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: 1rem;
}

.rs-menu-card-buttons.compact {
    margin-top: .85rem;
}

.rs-menu-btn {
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(224, 91, 22, .22);
    font-weight: 900;
    font-size: .88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rs-menu-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.rs-menu-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.rs-menu-btn.primary {
    background: #e06222;
    color: #fff;
    box-shadow: 0 14px 28px rgba(224, 91, 22, .22);
}

.rs-menu-btn.secondary {
    background: #fff7f1;
    color: #b54813;
}

.rs-menu-btn.secondary:hover {
    background: #fff0e6;
}

.rs-gallery-item {
    border: 0;
    cursor: pointer;
    text-align: left;
}

.rs-menu-gallery-body > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .rs-menu-card-buttons {
        grid-template-columns: 1fr;
    }

    .rs-menu-btn {
        min-height: 44px;
    }
}




/* ===== SOURCE: chapresto-menu-modal.css ===== */

/* =========================================================
   ChapResto Menu Details Modal - Stable Final Version
   Replace existing file completely.
   Scope: Menu item details popup only.
   ========================================================= */

.cr-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(16, 12, 10, .58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: crModalFadeIn .18s ease-out;
}

.cr-menu-modal {
    width: min(900px, 100%);
    max-height: min(82vh, 680px);
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(56, 38, 24, .10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
    animation: crModalSlideIn .2s ease-out;
}

/* =========================================================
   Close button
   ========================================================= */

.cr-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #1f1916;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

    .cr-modal-close:hover {
        transform: translateY(-1px);
        background: #fff3ea;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
    }

    .cr-modal-close i {
        font-size: .95rem;
        line-height: 1;
    }

/* =========================================================
   Image side
   Stable behavior:
   - normal state = cover, fills container
   - hover on image = real zoom-in
   - no reverse zoom / no background-size conflict
   ========================================================= */

.cr-menu-modal-image {
    position: relative;
    min-height: 100%;
    height: 100%;
    background-color: #eadfce;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    isolation: isolate;
}

    .cr-menu-modal-image::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background-image: inherit;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        transform: scale(1);
        transform-origin: center center;
        transition: transform .45s ease, filter .35s ease;
    }

    .cr-menu-modal-image:hover::before {
        transform: scale(1.08);
        filter: saturate(1.05) contrast(1.03);
    }

    .cr-menu-modal-image::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .10)), linear-gradient(90deg, rgba(0, 0, 0, .04), transparent 42%);
        pointer-events: none;
    }

    .cr-menu-modal-image:not([style*="background-image"])::before {
        background-image: radial-gradient(circle at 25% 24%, rgba(226, 101, 35, .18), transparent 28%), radial-gradient(circle at 80% 70%, rgba(255, 191, 89, .16), transparent 30%), linear-gradient(135deg, #f7e6d5, #fff7ef);
    }

/* =========================================================
   Body
   ========================================================= */

.cr-menu-modal-body {
    min-width: 0;
    padding: 24px 26px 22px;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(226, 101, 35, .06), transparent 24%), linear-gradient(180deg, #fff, #fffaf6);
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 101, 35, .40) transparent;
}

    .cr-menu-modal-body::-webkit-scrollbar {
        width: 7px;
    }

    .cr-menu-modal-body::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(226, 101, 35, .40);
    }

    .cr-menu-modal-body::-webkit-scrollbar-track {
        background: transparent;
    }

/* =========================================================
   Loading / error
   ========================================================= */

.cr-menu-modal-loading {
    grid-column: 1 / -1;
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    padding: 2rem;
    color: #625851;
}

    .cr-menu-modal-loading i {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #fff1e8;
        color: #e06222;
        font-size: 1.15rem;
    }

    .cr-menu-modal-loading strong {
        color: #1c1714;
        font-size: 1.1rem;
        font-weight: 950;
    }

    .cr-menu-modal-loading p {
        max-width: 420px;
        margin: 0;
        color: #625851;
        line-height: 1.5;
    }

/* =========================================================
   Kicker / tags
   ========================================================= */

.cr-menu-modal-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

    .cr-menu-modal-kicker span,
    .cr-menu-modal-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        background: #fff1e8;
        color: #b94d17;
        font-size: .74rem;
        font-weight: 900;
        line-height: 1;
    }

    .cr-menu-modal-kicker i,
    .cr-menu-modal-meta i {
        font-size: .76rem;
    }

/* =========================================================
   Title / intro
   ========================================================= */

.cr-menu-modal h2 {
    margin: 0 0 8px;
    color: #171311;
    font-size: clamp(1.8rem, 2.7vw, 2.5rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 1000;
}

.cr-menu-modal-short {
    margin: 0;
    color: #625851;
    font-size: .98rem;
    line-height: 1.5;
}

/* =========================================================
   Price row
   ========================================================= */

.cr-menu-modal-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(80, 58, 40, .10);
}

    .cr-menu-modal-price-row strong {
        color: #e06222;
        font-size: clamp(1.5rem, 2.3vw, 1.95rem);
        line-height: 1;
        font-weight: 1000;
        letter-spacing: -.03em;
    }

    .cr-menu-modal-price-row del {
        color: #9d8f84;
        font-weight: 800;
        font-size: .92rem;
    }

    .cr-menu-modal-price-row span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 32px;
        padding: 6px 11px;
        border-radius: 999px;
        background: #fff6ef;
        color: #201915;
        font-size: .85rem;
        font-weight: 900;
        line-height: 1;
    }

    .cr-menu-modal-price-row i {
        color: #f2b01e;
    }

/* =========================================================
   Sections
   ========================================================= */

.cr-menu-modal-section {
    margin-top: 12px;
    padding-top: 12px;
}

    .cr-menu-modal-section + .cr-menu-modal-section {
        border-top: 1px solid rgba(80, 58, 40, .08);
    }

    .cr-menu-modal-section h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 8px;
        color: #1f1916;
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 950;
    }

        .cr-menu-modal-section h3::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 999px;
            background: #ea6a25;
            box-shadow: 0 0 0 4px rgba(234, 106, 37, .12);
        }

    .cr-menu-modal-section p {
        margin: 0;
        color: #5f554d;
        font-size: .96rem;
        line-height: 1.55;
    }

/* =========================================================
   Accompaniments box
   ========================================================= */

.cr-menu-modal-accompaniments {
    padding: 12px 14px;
    border: 1px solid #f2e4d7;
    border-radius: 16px;
    background: #fffaf6;
}

/* =========================================================
   Options
   ========================================================= */

.cr-menu-options {
    display: grid;
    gap: 8px;
}

    .cr-menu-options div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 10px 12px;
        border: 1px solid rgba(90, 60, 40, .08);
        border-radius: 14px;
        background: #fff;
    }

    .cr-menu-options span {
        color: #201915;
        font-weight: 850;
        font-size: .92rem;
    }

    .cr-menu-options em {
        font-style: normal;
        white-space: nowrap;
        color: #e06222;
        font-weight: 950;
        font-size: .9rem;
    }

/* =========================================================
   Meta row
   ========================================================= */

.cr-menu-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

    .cr-menu-modal-meta span {
        background: #fff4ed;
        color: #8b481d;
    }

/* =========================================================
   Main CTA
   ========================================================= */

.cr-menu-modal-order {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #e46120, #f0782d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    font-size: .96rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(228, 97, 32, .24);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

    .cr-menu-modal-order:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(228, 97, 32, .30);
    }

    .cr-menu-modal-order:disabled {
        opacity: .55;
        box-shadow: none;
        cursor: not-allowed;
    }

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 920px) {
    .cr-modal-backdrop {
        padding: 12px;
    }

    .cr-menu-modal {
        width: min(760px, 100%);
        max-height: 86vh;
        grid-template-columns: 1fr;
        grid-template-rows: 250px minmax(0, 1fr);
        border-radius: 24px;
    }

    .cr-menu-modal-image {
        min-height: 250px;
        height: 100%;
        background-size: cover;
        background-position: center center;
    }

        .cr-menu-modal-image:hover::before {
            transform: none;
            filter: none;
        }

    .cr-menu-modal-body {
        padding: 20px 20px 18px;
    }

    .cr-menu-modal h2 {
        font-size: clamp(1.65rem, 5vw, 2.2rem);
    }

    .cr-menu-modal-order {
        min-height: 46px;
        border-radius: 15px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
    .cr-modal-backdrop {
        padding: 0;
        align-items: end;
    }

    .cr-menu-modal {
        width: 100%;
        max-height: 92dvh;
        grid-template-columns: 1fr;
        grid-template-rows: 210px minmax(0, 1fr);
        border-radius: 22px 22px 0 0;
    }

    .cr-menu-modal-image {
        min-height: 210px;
        height: 100%;
        background-size: cover;
        background-position: center center;
    }

    .cr-menu-modal-body {
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    }

    .cr-menu-modal h2 {
        font-size: 1.55rem;
        margin-bottom: 6px;
    }

    .cr-menu-modal-short,
    .cr-menu-modal-section p {
        font-size: .93rem;
        line-height: 1.48;
    }

    .cr-menu-modal-price-row {
        gap: 8px;
        margin: 14px 0 12px;
        padding-bottom: 12px;
    }

        .cr-menu-modal-price-row strong {
            font-size: 1.45rem;
        }

    .cr-menu-modal-order {
        min-height: 45px;
        font-size: .92rem;
    }

    .cr-modal-close {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 420px) {
    .cr-menu-modal {
        grid-template-rows: 190px minmax(0, 1fr);
    }

    .cr-menu-modal-image {
        min-height: 190px;
    }

    .cr-menu-modal-body {
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    }

    .cr-menu-modal-price-row span,
    .cr-menu-modal-kicker span,
    .cr-menu-modal-meta span {
        font-size: .7rem;
    }

    .cr-menu-options div {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes crModalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes crModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}




/* ===== SOURCE: chapresto-embedded-cart-final.css ===== */

/* =========================================================
   ChapResto Embedded Restaurant Cart
   Cart is now a tab inside /r/{slug}?tab=cart
   ========================================================= */

.rs-site-nav .rs-cart-nav {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #2a211c;
    text-decoration: none;
    font-weight: 950;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.rs-site-nav .rs-cart-nav:hover {
    background: #fff3eb;
    color: #db5f22;
}

.rs-site-nav .rs-cart-nav.active {
    background: #211b17;
    color: #fff;
    box-shadow: 0 12px 28px rgba(24, 18, 14, .16);
}

.rs-site-nav .rs-cart-nav em,
.rs-mobile-tabs button em,
.rs-mobile-tabs a em {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #e36425;
    color: #fff;
    font-size: .72rem;
    line-height: 1;
    font-style: normal;
    font-weight: 1000;
}

.rs-site-nav .rs-cart-nav.active em {
    background: #fff;
    color: #e36425;
}

.rs-cart-tab-section {
    margin-top: 1rem;
}

.rs-cart-tab {
    width: 100%;
}

.rs-cart-tab-head {
    align-items: flex-start;
    gap: 1rem;
}

.rs-cart-tab-head p {
    margin: .4rem 0 0;
    max-width: 780px;
    color: #736960;
    font-weight: 700;
    line-height: 1.55;
}

.rs-cart-layout {
    margin-top: 1rem;
}

.rs-cart-empty {
    min-height: 340px;
    margin-top: 1rem;
}

.rs-floating-cart {
    border: 0;
    cursor: pointer;
}

@media (max-width: 760px) {
    .rs-cart-tab-section {
        padding-bottom: 5.5rem;
    }

    .rs-cart-layout {
        grid-template-columns: 1fr !important;
    }

    .rs-cart-tab-head {
        display: grid;
    }

    .rs-cart-tab-head .rs-link-button {
        width: 100%;
        justify-content: center;
    }
}




/* ===== SOURCE: chapresto-cart-restaurant-tabs.css ===== */

﻿/* =========================================================
   Cart as restaurant tab
   /cart stays a real page, but visually belongs to /r/{slug}
   ========================================================= */

.rs-site-nav .rs-tab-link,
.rs-site-nav .rs-cart-nav {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #2a211c;
    text-decoration: none;
    font-weight: 950;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

    .rs-site-nav .rs-tab-link:hover,
    .rs-site-nav .rs-cart-nav:hover {
        background: #fff3eb;
        color: #db5f22;
    }

    .rs-site-nav .rs-tab-link.active,
    .rs-site-nav .rs-cart-nav.active {
        background: #211b17;
        color: #fff;
        box-shadow: 0 12px 28px rgba(24, 18, 14, .16);
    }

    .rs-site-nav .rs-cart-nav em {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        padding: 0 5px;
        border-radius: 999px;
        background: #e36425;
        color: #fff;
        font-size: .72rem;
        line-height: 1;
        font-style: normal;
        font-weight: 1000;
    }

    .rs-site-nav .rs-cart-nav.active em {
        background: #fff;
        color: #e36425;
    }

.cr-cart-restaurant-tabs {
    margin-bottom: 0;
}

.cr-cart-page {
    padding-top: clamp(1.5rem, 4vw, 3rem);
}

.rs-mobile-cart-tab {
    position: relative;
}

    .rs-mobile-cart-tab em {
        position: absolute;
        top: 4px;
        right: 10px;
        min-width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        padding: 0 4px;
        border-radius: 999px;
        background: #e36425;
        color: #fff;
        font-size: .68rem;
        font-style: normal;
        font-weight: 1000;
    }

@media (max-width: 760px) {
    .cr-cart-restaurant-tabs {
        display: none;
    }

    .cr-cart-page {
        padding-top: 1rem;
    }
}



/* ===== Restaurant mobile app spacing controlled by client shell ===== */
@media (max-width: 640px) {
  .client-shell.is-restaurant-public .rs-page {
    width: 100% !important; max-width: none !important; margin: 0 !important;
    padding-top: 78px !important; padding-left: 8px !important; padding-right: 8px !important;
    padding-bottom: calc(160px + env(safe-area-inset-bottom)) !important;
  }
  .client-shell.is-restaurant-public .rs-shell { width:100% !important; max-width:none !important; margin:0 !important; padding-bottom: 140px !important; }
  .client-shell.is-restaurant-public .rs-shell::after { content:""; display:block; height: 140px; }
}
