/* Customer QR menu — clear typography, image-forward cards */

:root {
    --pm-safe-top: env(safe-area-inset-top, 0px);
    --pm-safe-bottom: env(safe-area-inset-bottom, 0px);
    --pm-safe-left: env(safe-area-inset-left, 0px);
    --pm-safe-right: env(safe-area-inset-right, 0px);
    /* Sticky offset = notch + top bar (approx. inner + vertical padding) */
    --pm-topbar-stack: calc(var(--pm-safe-top) + 3.35rem);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--pm-topbar-stack) + 3.25rem);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .public-menu-card,
    .public-menu-cats__pill,
    .public-menu-search__inner,
    .public-menu-search__clear,
    .public-cart-drawer__panel,
    .public-cart-drawer__backdrop,
    .public-menu-topbar__cart,
    .public-menu-topbar__preorder,
    .public-menu-card__add-btn,
    .public-table-picker__pay-btn,
    .pat-btn-primary,
    .pat-refresh {
        transition: none !important;
        animation: none !important;
    }

    .pat-btn-primary__spinner {
        animation: none !important;
    }
}

.public-menu-min-header {
    background: #141414;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.public-menu-min-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.public-menu-min-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.public-menu-min-header__brand:hover {
    color: #fff;
    opacity: 0.92;
}

.public-menu-min-header__title {
    font-family: "Barlow Condensed", "Hanken Grotesk", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.public-menu-min-header__nav {
    display: flex;
    align-items: center;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.public-menu-min-header__link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.public-menu-min-header__link:hover {
    color: #fff;
    text-decoration: underline;
}

.public-menu-min-header__link--muted {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.public-menu-min-header__link--muted:hover {
    color: rgba(255, 255, 255, 0.85);
}

.public-menu-page {
    --pm-bg: #f6f4f1;
    --pm-surface: #ffffff;
    --pm-ink: #1a1a1a;
    --pm-muted: #5c5c5c;
    --pm-line: #e8e4df;
    --pm-accent: var(--tenant-primary, #b91c1c);
    --pm-radius: 14px;
    --pm-radius-lg: 20px;
    font-family: "Hanken Grotesk", "Barlow Condensed", system-ui, sans-serif;
    color: var(--pm-ink);
    background: var(--pm-bg);
    padding-bottom: max(2.5rem, calc(1.5rem + var(--pm-safe-bottom)));
}

/* Safe horizontal inset on all sections using Bootstrap .container */
.public-menu-page .container {
    padding-left: max(0.75rem, var(--pm-safe-left));
    padding-right: max(0.75rem, var(--pm-safe-right));
}

.public-menu-hero {
    background: var(--pm-surface);
    border-bottom: 1px solid var(--pm-line);
}

.public-menu-hero__cover {
    position: relative;
    max-height: min(42vw, 320px);
    overflow: hidden;
}

.public-menu-hero__img {
    width: 100%;
    height: min(42vw, 320px);
    object-fit: cover;
    display: block;
}

.public-menu-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
    pointer-events: none;
}

.public-menu-hero__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 1.25rem;
    color: #fff;
}

.public-menu-hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 0.25rem;
}

.public-menu-hero__title {
    font-family: "Barlow Condensed", "Hanken Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0;
    line-height: 1.15;
}

.public-menu-venue {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem 0 2rem;
}

.public-menu-venue__logo {
    width: 88px;
    height: 88px;
    border-radius: var(--pm-radius);
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--pm-surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.public-menu-venue__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eee9e4, #dcd6cf);
    color: var(--pm-muted);
    font-size: 1.75rem;
}

.public-menu-venue__name {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    letter-spacing: 0.02em;
    margin: 0 0 0.35rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.public-menu-venue__tagline {
    color: var(--pm-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1rem;
    max-width: 52ch;
}

.public-menu-venue__chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--pm-muted);
}

.public-menu-venue__chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.public-menu-venue__chips i {
    color: var(--pm-accent);
    opacity: 0.85;
}

.public-menu-venue__chip-wide {
    flex-basis: 100%;
}

.public-menu-venue__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.public-menu-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--pm-line);
    border-radius: 999px;
    color: var(--pm-ink);
    text-decoration: none;
    background: var(--pm-surface);
    transition: border-color 0.2s, color 0.2s;
}

.public-menu-link-btn:hover {
    border-color: var(--pm-accent);
    color: var(--pm-accent);
}

.public-menu-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--pm-line);
    color: var(--pm-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.public-menu-icon-btn:hover {
    background: var(--pm-bg);
    color: var(--pm-accent);
}

.public-menu-catalog {
    padding-top: 1.5rem;
}

.public-menu-toolbar {
    position: sticky;
    top: var(--pm-topbar-stack);
    z-index: 150;
    padding: 0.45rem 0 0.65rem;
    margin: 0 0 1rem;
    margin-left: calc(-1 * max(0.75rem, var(--pm-safe-left)));
    margin-right: calc(-1 * max(0.75rem, var(--pm-safe-right)));
    padding-left: max(0.75rem, var(--pm-safe-left));
    padding-right: max(0.75rem, var(--pm-safe-right));
    background: linear-gradient(to bottom, var(--pm-bg) 58%, rgba(246, 244, 241, 0.93) 88%, transparent);
    -webkit-overflow-scrolling: touch;
}

.public-menu-search {
    margin-bottom: 0.6rem;
}

.public-menu-search__inner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--pm-surface);
    border: 2px solid var(--pm-line);
    border-radius: 999px;
    padding: 0.4rem 0.55rem 0.4rem 1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.public-menu-search__inner:focus-within {
    border-color: var(--pm-accent);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.07),
        0 0 0 3px color-mix(in srgb, var(--pm-accent) 20%, transparent);
}

.public-menu-search__icon {
    color: var(--pm-muted);
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.public-menu-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--pm-ink);
    outline: none;
}

.public-menu-search__input::placeholder {
    color: var(--pm-muted);
    font-weight: 500;
    opacity: 0.88;
}

.public-menu-search__clear {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--pm-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 1rem;
}

.public-menu-search__clear:hover {
    background: var(--pm-bg);
    color: var(--pm-ink);
}

.public-menu-search__meta {
    margin: 0.4rem 0 0;
    padding: 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pm-muted);
    min-height: 1.25em;
}

.public-menu-search-empty {
    text-align: center;
    padding: 0.85rem 1rem;
    margin: 0 0 0.65rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--pm-muted);
    border-radius: var(--pm-radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed color-mix(in srgb, var(--pm-line) 85%, var(--pm-muted));
}

.public-menu-card--search-hide {
    display: none !important;
}

.public-menu-section--filtered-out {
    display: none !important;
}

.public-menu-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.35rem 0 0.35rem;
    margin: 0;
    overscroll-behavior-x: contain;
}

.public-menu-cats__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    color: var(--pm-ink);
    background: var(--pm-surface);
    border: 2px solid var(--pm-line);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    scroll-snap-align: start;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .public-menu-cats__pill:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
        text-decoration: none;
        color: #fff;
    }
}

.public-menu-cats__pill:active {
    transform: scale(0.97);
}

.public-menu-cats__thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.public-menu-section {
    margin-bottom: 3rem;
}

.public-menu-section__head {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pm-line);
}

.public-menu-section__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--pm-radius);
    object-fit: cover;
    flex-shrink: 0;
}

.public-menu-section__title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.public-menu-section__desc {
    margin: 0.25rem 0 0;
    color: var(--pm-muted);
    font-size: 0.95rem;
    max-width: 56ch;
}

.public-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
}

.public-menu-card {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--pm-line);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .public-menu-card:hover {
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .public-menu-card--soldout:hover {
        transform: none;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    }
}

.public-menu-card--soldout {
    opacity: 0.78;
}

.public-menu-card__media {
    position: relative;
    aspect-ratio: 5 / 3;
    background: #ece8e3;
}

.public-menu-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-menu-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #c4bdb4;
    background: linear-gradient(160deg, #efeae5 0%, #e0dad2 100%);
}

.public-menu-card__ribbon {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: rgba(26, 26, 26, 0.88);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
}

.public-menu-card__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.public-menu-card__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.public-menu-card__name {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0;
    flex: 1;
}

.public-menu-card__price {
    margin: 0;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--pm-accent);
    white-space: nowrap;
}

.public-menu-card__currency {
    font-size: 0.85em;
    opacity: 0.9;
}

.public-menu-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--pm-muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.public-menu-card__extras {
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--pm-line);
}

.public-menu-card__extras-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pm-muted);
    margin-bottom: 0.35rem;
}

.public-menu-card__modifiers {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: var(--pm-ink);
}

.public-menu-card__modifiers li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.public-menu-card__mod-price {
    color: var(--pm-accent);
    font-weight: 600;
    white-space: nowrap;
}

.public-menu-empty {
    color: var(--pm-muted);
    font-size: 0.95rem;
}

/* ----- Standalone QR layout: top bar + cart drawer ----- */
.public-menu-shell {
    background: #f6f4f1;
    --pm-line: #e8e4df;
    --pm-muted: #5c5c5c;
    --pm-accent: var(--tenant-primary, #b91c1c);
}

.public-menu-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #141414;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    padding-top: var(--pm-safe-top);
}

.public-menu-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 48px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.public-menu-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    max-width: 70%;
}

.public-menu-topbar__brand:hover {
    color: #fff;
    opacity: 0.92;
}

.public-menu-topbar__logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
}

.public-menu-topbar__logo--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
}

.public-menu-topbar__name {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-menu-topbar__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    min-height: 44px;
    min-width: 44px;
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--tenant-primary, #c41e3a);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: filter 0.15s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.public-menu-topbar__cart:hover {
    filter: brightness(1.06);
    color: #fff;
}

.public-menu-topbar__cart:active {
    transform: scale(0.96);
}

.public-menu-topbar__cart,
.public-menu-card__add-btn,
.public-menu-cats__pill {
    touch-action: manipulation;
}

.public-menu-topbar__cart .badge {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
}

.public-menu-topbar__preorder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    min-height: 44px;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.public-menu-topbar__preorder:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.public-menu-topbar__preorder:focus-visible {
    color: #fff;
    border-color: #fff;
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.public-menu-topbar__preorder i {
    color: inherit;
    font-size: 1em;
}

.public-menu-card__actions {
    margin-top: auto;
    padding-top: 0.85rem;
}

.public-menu-card__add-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 0.65rem 1rem;
    min-height: 48px;
    border: 2px solid var(--pm-accent);
    background: var(--pm-surface);
    color: var(--pm-accent);
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.public-menu-card__add-btn:hover:not(:disabled) {
    background: var(--pm-accent);
    color: #fff;
}

.public-menu-card__add-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.public-menu-card__add-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Cart drawer */
.public-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
    visibility: hidden;
}

.public-cart-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.public-cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.public-cart-drawer.is-open .public-cart-drawer__backdrop {
    opacity: 1;
}

.public-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    width: min(100%, 400px);
    max-width: 100%;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: var(--pm-safe-bottom);
}

.public-cart-drawer.is-open .public-cart-drawer__panel {
    transform: translateX(0);
}

html[dir="rtl"] .public-cart-drawer__panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
}

html[dir="rtl"] .public-cart-drawer.is-open .public-cart-drawer__panel {
    transform: translateX(0);
}

.public-cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--pm-line);
}

.public-cart-drawer__head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.public-cart-drawer__head .close {
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.55;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: -0.35rem -0.35rem -0.35rem 0;
    border-radius: 10px;
}

.public-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1rem;
}

.public-cart-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-cart-drawer__line {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.public-cart-drawer__thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #ece8e3;
    flex-shrink: 0;
}

.public-cart-drawer__thumb--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.public-cart-drawer__line-main {
    flex: 1;
    min-width: 0;
}

.public-cart-drawer__line-title {
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.public-cart-drawer__line-meta {
    color: var(--pm-muted);
    font-size: 0.82rem;
}

.public-cart-drawer__remove {
    border: none;
    background: none;
    color: var(--pm-accent);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.public-cart-drawer__foot {
    padding: 1rem max(1.1rem, var(--pm-safe-right)) max(1rem, calc(0.65rem + var(--pm-safe-bottom))) max(1.1rem, var(--pm-safe-left));
    border-top: 1px solid var(--pm-line);
    background: #fafafa;
}

.public-cart-drawer__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.public-cart-drawer__total-row--grand {
    font-size: 1.05rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--pm-line);
}

.public-cart-drawer__line-tax {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

.public-cart-drawer__foot .btn {
    min-height: 44px;
    font-weight: 600;
}

.public-menu-shell-footer {
    border-color: #e8e4df !important;
    padding-top: 0.85rem !important;
    padding-bottom: max(0.85rem, var(--pm-safe-bottom)) !important;
}

body.public-menu-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 991.98px) {
    .public-menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
        gap: 1.1rem;
    }

    .public-menu-venue {
        padding: 1.35rem 0 1.65rem;
    }
}

@media (max-width: 767.98px) {
    .public-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .public-menu-catalog {
        padding-top: 1rem;
    }

    .public-menu-section {
        margin-bottom: 2.35rem;
    }

    .public-menu-section__head {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.65rem;
        align-items: flex-start;
    }

    .public-menu-section__icon {
        width: 46px;
        height: 46px;
    }

    .public-menu-card__body {
        padding: 0.9rem 1rem 1rem;
    }

    .public-menu-card__name {
        font-size: 1.12rem;
    }

    .public-menu-card__price {
        font-size: 1.05rem;
    }

    .public-menu-card__text {
        font-size: 0.93rem;
        -webkit-line-clamp: 6;
    }

    .public-menu-hero__cover,
    .public-menu-hero__img {
        max-height: 220px;
        height: min(42vw, 220px);
    }

    .public-menu-venue__logo {
        width: 76px;
        height: 76px;
    }

    .public-menu-venue__tagline {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .public-menu-venue {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .public-menu-venue__chips {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }

    .public-menu-venue__chip-wide {
        flex-basis: auto;
        text-align: center;
    }

    .public-menu-venue__social {
        justify-content: center;
    }

    .public-menu-cats {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        gap: 0.45rem;
        padding-top: 0.5rem;
        padding-bottom: 0.65rem;
        mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
        scrollbar-width: none;
    }

    .public-menu-cats::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .public-menu-icon-btn,
    .public-menu-link-btn {
        min-height: 44px;
        padding: 0.45rem 1rem;
    }
}

@media (max-width: 400px) {
    .public-menu-topbar__cart-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .public-menu-topbar__brand {
        max-width: calc(100% - 5.5rem);
    }

    .public-menu-topbar__cart {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .public-menu-venue__name {
        font-size: clamp(1.28rem, 6.5vw, 1.85rem);
    }

    .public-menu-card__media {
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 577px) {
    .public-menu-cats {
        flex-wrap: wrap;
        overflow-x: visible;
        mask-image: none;
        scroll-snap-type: none;
    }
}

/* --- Table order: branch / table picker (manual QR fallback) --- */
.public-table-picker {
    --pm-picker-border: rgba(26, 26, 26, 0.08);
    --pm-picker-shadow: 0 8px 28px rgba(26, 26, 26, 0.06);
    background: linear-gradient(180deg, var(--pm-surface, #fff) 0%, #faf8f6 100%);
    border-bottom: 1px solid var(--pm-line, #e8e4df);
    box-shadow: var(--pm-picker-shadow);
    padding: 1rem 0 calc(1.15rem + var(--pm-safe-bottom, 0px));
}

.public-table-picker__hint {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pm-muted, #5c5c5c);
    line-height: 1.45;
    max-width: 42rem;
}

.public-table-picker__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.85rem, 3vw, 1.25rem);
}

@media (min-width: 576px) {
    .public-table-picker__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

.public-table-picker__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.public-table-picker__label {
    font-family: "Barlow Condensed", "Hanken Grotesk", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pm-muted, #5c5c5c);
    margin: 0;
    padding-left: 0.15rem;
}

.public-table-picker__control {
    position: relative;
    width: 100%;
    min-width: 0;
}

.public-table-picker__chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    font-size: 0.75rem;
    color: var(--pm-muted, #625e59);
    line-height: 1;
    opacity: 0.9;
}

.public-table-picker__select:disabled + .public-table-picker__chevron {
    opacity: 0.55;
}

html[dir="rtl"] .public-table-picker__chevron {
    right: auto;
    left: 1rem;
}

.public-table-picker__select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    padding: 0.82rem calc(2.65rem + 6px) 0.82rem 1.05rem;
    font-family: inherit;
    font-size: clamp(0.94rem, 3.5vw, 1rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--pm-ink, #1a1a1a);
    background-color: #fff;
    border: 1px solid var(--pm-picker-border);
    border-radius: var(--pm-radius, 14px);
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    min-height: clamp(46px, 11vw, 50px);
}

.public-table-picker__select::-ms-expand {
    display: none;
}

html[dir="rtl"] .public-table-picker__select {
    padding: 0.82rem 1.05rem 0.82rem calc(2.65rem + 6px);
}

.public-table-picker__select:hover:not(:disabled) {
    border-color: rgba(26, 26, 26, 0.14);
    box-shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
}

.public-table-picker__select:focus {
    outline: none;
}

.public-table-picker__select:focus-visible {
    border-color: var(--pm-accent, #b91c1c);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-accent, #b91c1c) 28%, transparent), 0 2px 10px rgba(26, 26, 26, 0.06);
}

@supports not (color: color-mix(in srgb, red, blue)) {
    .public-table-picker__select:focus-visible {
        box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.22), 0 2px 10px rgba(26, 26, 26, 0.06);
    }
}

.public-table-picker__select:disabled {
    opacity: 1;
    color: var(--pm-muted, #5c5c5c);
    cursor: not-allowed;
    background: #f2f0ec;
    box-shadow: none;
}

.public-table-picker__confirmed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

.public-table-picker__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem 0.55rem;
    flex-wrap: wrap;
    padding: 0.55rem 1rem;
    background: #fff;
    border: 1px solid var(--pm-picker-border);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--pm-ink, #1a1a1a);
    box-shadow: 0 1px 3px rgba(26, 26, 26, 0.05);
}

.public-table-picker__chip i {
    color: var(--pm-accent, #b91c1c);
    opacity: 0.92;
    font-size: 0.95rem;
}

.public-table-picker__chip-text {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pm-muted, #5c5c5c);
}

.public-table-picker__chip-value {
    font-weight: 700;
}

/* ----- Table order: Pay bill CTA ----- */
.public-table-picker__cta-row {
    margin-top: 1rem;
    width: 100%;
    max-width: 26rem;
}

.public-table-picker__pay-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--tenant-primary, #c41e3a) 0%, color-mix(in srgb, var(--tenant-primary, #c41e3a) 72%, #1a1a1a) 100%);
    box-shadow:
        0 4px 14px rgba(196, 30, 58, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    border: 1px solid color-mix(in srgb, var(--tenant-primary, #c41e3a) 55%, #000);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.public-table-picker__pay-btn:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px rgba(196, 30, 58, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.public-table-picker__pay-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.public-table-picker__pay-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.public-table-picker__pay-btn-text {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex: 1 1 auto;
    min-width: 0;
}

.public-table-picker__pay-btn-hint {
    flex: 1 0 100%;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.35;
    padding-left: calc(2.5rem + 0.85rem);
    margin-top: -0.35rem;
}

.public-table-picker__pay-btn-arrow {
    margin-left: auto;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Pay-at-table: session strip under topbar */
.public-table-picker--pat {
    padding-bottom: 0.25rem;
}

.pat-session-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.pat-session-bar__chips {
    flex: 1 1 auto;
}

.pat-session-bar__link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pm-accent, #b91c1c);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--pm-accent, #b91c1c) 35%, transparent);
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}

.pat-session-bar__link:hover {
    background: color-mix(in srgb, var(--pm-accent, #b91c1c) 8%, #fff);
    color: var(--pm-accent, #b91c1c);
}

/* ----- Pay-at-table guest page ----- */
.pat-page {
    position: relative;
    padding: 0 0 3.5rem;
    overflow: hidden;
}

.pat-page__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, color-mix(in srgb, var(--tenant-primary, #c41e3a) 12%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, #faf8f6 0%, #f3f0ec 45%, #ebe6e0 100%);
    pointer-events: none;
    z-index: 0;
}

.pat-page__inner {
    position: relative;
    z-index: 1;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.pat-hero {
    margin-bottom: 1.35rem;
}

.pat-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pm-muted, #5c5c5c);
    margin-bottom: 0.4rem;
}

.pat-hero__title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    color: var(--pm-ink, #1a1a1a);
    line-height: 1.08;
    margin: 0 0 0.5rem;
}

.pat-hero__sub {
    max-width: 38rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--pm-muted, #5c5c5c);
    margin: 0;
}

.pat-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.pat-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    background: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--pm-ink, #1a1a1a);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.pat-refresh:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.08);
}

.pat-refresh__icon {
    color: var(--pm-accent, #b91c1c);
    font-size: 0.9rem;
}

.pat-flash {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.45;
}

.pat-flash--info {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #1e40af;
}

.pat-flash--danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #991b1b;
}

.pat-bill-mount {
    margin-bottom: 1.25rem;
}

.pat-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed rgba(26, 26, 26, 0.12);
}

.pat-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #f4f1ed;
    color: var(--pm-muted, #5c5c5c);
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.pat-empty__text {
    margin: 0;
    color: var(--pm-muted, #5c5c5c);
    font-size: 0.95rem;
}

.pat-total-card {
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.15rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.pat-total-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.pat-total-card__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.pat-total-card__amt {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 6vw, 2.45rem);
    letter-spacing: 0.02em;
}

.pat-orders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pat-order {
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.07);
    box-shadow: 0 8px 28px rgba(26, 26, 26, 0.06);
    overflow: hidden;
}

.pat-order__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.pat-order__no {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--pm-ink, #1a1a1a);
}

.pat-order__due {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--tenant-primary, #c41e3a);
}

.pat-order__lines {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.pat-order__line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    color: var(--pm-muted, #5c5c5c);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.pat-order__line:last-child {
    border-bottom: none;
}

.pat-order__line-name {
    min-width: 0;
}

.pat-order__qty {
    font-weight: 600;
    color: #9a9a9a;
}

.pat-order__line-total {
    font-weight: 600;
    color: var(--pm-ink, #1a1a1a);
    white-space: nowrap;
}

.pat-checkout {
    position: relative;
    border-radius: 22px;
    margin-top: 0.5rem;
}

.pat-checkout__glow {
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--tenant-primary, #c41e3a) 45%, transparent), transparent 55%, color-mix(in srgb, var(--tenant-primary, #c41e3a) 25%, transparent));
    opacity: 0.55;
    filter: blur(12px);
    z-index: 0;
}

.pat-checkout__inner {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.35rem 1.5rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 20px 50px rgba(26, 26, 26, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.pat-checkout__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.pat-checkout__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--tenant-primary, #c41e3a) 12%, #f4f1ed);
    color: var(--tenant-primary, #c41e3a);
    font-size: 0.95rem;
}

.pat-checkout__title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    color: var(--pm-ink, #1a1a1a);
}

.pat-field {
    margin-bottom: 1rem;
}

.pat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pm-muted, #5c5c5c);
    margin-bottom: 0.35rem;
}

.pat-input,
.pat-select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pat-input:focus,
.pat-select:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--tenant-primary, #c41e3a) 55%, #ccc);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant-primary, #c41e3a) 18%, transparent);
}

.pat-input-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: #fff;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.pat-input-wrap__prefix {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-weight: 700;
    color: var(--pm-muted, #5c5c5c);
    background: #f6f4f1;
    border-right: 1px solid rgba(26, 26, 26, 0.08);
}

.pat-input--with-prefix {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.pat-input--with-prefix:focus {
    box-shadow: none;
}

.pat-hint {
    font-size: 0.82rem;
    color: var(--pm-muted, #5c5c5c);
    margin: 0.35rem 0 0;
    line-height: 1.45;
}

.pat-share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #f6f4f1;
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.pat-share-row__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pm-muted, #5c5c5c);
}

.pat-share-row__value {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pm-ink, #1a1a1a);
}

.pat-text-btn {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--tenant-primary, #c41e3a);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pat-text-btn:hover {
    color: var(--pm-ink, #1a1a1a);
}

.pat-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.85rem 1.15rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--tenant-primary, #c41e3a) 0%, color-mix(in srgb, var(--tenant-primary, #c41e3a) 70%, #1a1a1a) 100%);
    box-shadow:
        0 6px 20px rgba(196, 30, 58, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.12) inset;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.pat-btn-primary:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(196, 30, 58, 0.38);
}

.pat-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.pat-btn-primary:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.pat-btn-primary__icon {
    font-size: 1.05rem;
}

.pat-btn-primary__spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pat-spin 0.7s linear infinite;
}

@keyframes pat-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-table-picker__select {
        transition: none;
    }
}

/* Table order — cart drawer: success + error messages */
.public-table-order-success {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: var(--pm-radius, 14px);
    background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 55%, #fff 100%);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: #065f46;
    text-align: left;
}

.public-table-order-success__icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    color: #059669;
    line-height: 1;
    margin-top: 0.08rem;
}

.public-table-order-success__body {
    min-width: 0;
    flex: 1;
}

.public-table-order-success__title {
    display: block;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
    color: #047857;
}

.public-table-order-success__order {
    font-size: 1.02rem;
    font-weight: 700;
    color: #064e3b;
    letter-spacing: 0.02em;
}

.public-table-order-success__detail {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f766e;
    line-height: 1.5;
    opacity: 0.95;
}

.public-table-order-msg--error {
    padding: 0.78rem 1rem;
    border-radius: var(--pm-radius, 14px);
    background: linear-gradient(145deg, #fef2f2 0%, #fff 100%);
    border: 1px solid rgba(220, 38, 38, 0.28);
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

#tableOrderSubmitBtn[aria-busy="true"] {
    cursor: wait;
    opacity: 0.92;
}
