/*
 * Reposyn storefront menu page — the ordering page's own design
 * (resources/views/public/restaurants/partials/menu-body.blade.php, the
 * menu/* partials, the item + combo modals).
 *
 * Plain CSS with an `rsm-` prefix, every rule scoped under `.rsm`, rather
 * than Tailwind utilities: this page loads Bootstrap's reboot and, on a
 * restaurant's own site, its Design System typography — both unlayered, so
 * they beat Tailwind's layered utilities whatever the specificity (see
 * resources/views/public/components/layout.blade.php). Scoped class rules
 * win over those element resets on specificity alone, with no !important
 * battles, and need no Tailwind rebuild.
 */

.rsm {
    /*
     * Colours come from the restaurant's Design System (/admin/website/design-system):
     * Global Colors as --rs-pub-*, the Button (Normal + Hover) as --rs-button-*
     * (resources/views/reposyn/design-system-styles.blade.php). Every shade below is
     * mixed from those, so nothing on this page is a fixed brand colour. Green, amber
     * and red stay fixed: they mean free/success, allergen and error, not brand.
     */
    --rsm-brand: var(--rs-pub-primary, var(--color-reposyn-orange, #ff4900));
    --rsm-brand-dark: color-mix(in srgb, var(--rsm-brand) 80%, #000);
    --rsm-brand-soft: color-mix(in srgb, var(--rsm-brand) 9%, #fff);
    --rsm-brand-tint: color-mix(in srgb, var(--rsm-brand) 18%, #fff);
    --rsm-brand-glow: color-mix(in srgb, var(--rsm-brand) 45%, transparent);
    --rsm-brand-ring: color-mix(in srgb, var(--rsm-brand) 35%, transparent);
    --rsm-secondary: var(--rs-pub-secondary, var(--rsm-brand));
    --rsm-accent: var(--rs-pub-accent, var(--rsm-brand));
    --rsm-btn-bg: var(--rs-button-bg, var(--rsm-brand));
    --rsm-btn-color: var(--rs-button-color, #fff);
    --rsm-btn-border: var(--rs-button-border-color, transparent);
    --rsm-btn-hover-bg: var(--rs-button-hover-bg, color-mix(in srgb, var(--rsm-btn-bg) 85%, #000));
    --rsm-btn-hover-color: var(--rs-button-hover-color, var(--rsm-btn-color));
    --rsm-btn-hover-border: var(--rs-button-hover-border-color, var(--rsm-btn-border));
    --rsm-btn-font: var(--rs-button-font, var(--rsm-font));
    --rsm-ink: var(--rs-pub-text, #141417);
    --rsm-ink-2: #3a3a42;
    --rsm-muted: #6e6e78;
    --rsm-faint: #a1a1aa;
    --rsm-line: #ebebe8;
    --rsm-line-2: #f2f2ef;
    --rsm-bg: #fff;
    --rsm-card: #fff;
    --rsm-green: #0f9f5f;
    --rsm-green-soft: #e8f7ef;
    --rsm-amber: #b45309;
    --rsm-amber-soft: #fff6e6;
    --rsm-red: #dc2626;
    --rsm-radius: 20px;
    --rsm-shadow: 0 1px 2px rgba(20, 20, 23, .04), 0 4px 14px rgba(20, 20, 23, .05);
    --rsm-shadow-lg: 0 10px 30px rgba(20, 20, 23, .10), 0 2px 6px rgba(20, 20, 23, .05);
    --rsm-font: var(--rs-pub-font-primary, "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif);
    /*
     * Balance: spacing follows a golden-ratio scale (8 · 13 · 21 · 34) and type a
     * 1.25 modular scale (12 · 13 · 16 · 20 · 25), so every card, rail and section
     * shares one rhythm instead of ad-hoc paddings.
     */
    --rsm-s1: 8px;
    --rsm-s2: 13px;
    --rsm-s3: 21px;
    --rsm-s4: 34px;
    font-family: var(--rsm-font);
    color: var(--rsm-ink);
    -webkit-font-smoothing: antialiased;
}
.rsm *, .rsm *::before, .rsm *::after { box-sizing: border-box; }
.rsm :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) { margin: 0; }
/*
 * Text inherits from its component. On a restaurant's own site the Design System
 * colours and fonts bare p, h1-h6 and span elements (e.g. `p { color: #171a19 }`), which
 * put near-black text on the dark offer tiles. :where() keeps this at one class of
 * specificity — above those element rules, below every .rsm .rsm-* rule. Only
 * inside rsm-* components: Tailwind-styled markup on this page (the hero) is
 * layered and would lose to it.
 */
.rsm :where([class*="rsm-"]) :where(p, span, li, label, small, strong, em, h1, h2, h3, h4, h5, h6) { color: inherit; font-family: inherit; letter-spacing: inherit; }
.rsm :where([class*="rsm-"]) :where(p, span, li, label, small) { font-size: inherit; line-height: inherit; }
.rsm :where(ul, ol) { padding: 0; list-style: none; }
.rsm :where(button) { font-family: inherit; cursor: pointer; }
.rsm :where(img) { display: block; max-width: 100%; }
.rsm .rsm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ------------------------------------------------------------------ layout */
.rsm-page { background: var(--rsm-bg); padding-bottom: 72px; }
.rsm .rsm-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .rsm .rsm-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .rsm .rsm-wrap { padding: 0 32px; } }
.rsm .rsm-section { padding-top: 32px; }
.rsm .rsm-section:first-child { padding-top: 28px; }

.rsm .rsm-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.rsm .rsm-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rsm-brand); margin-bottom: 4px; }
.rsm :is(h1, h2).rsm-h2 { font-family: var(--rsm-font); font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--rsm-ink); }
@media (min-width: 640px) { .rsm :is(h1, h2).rsm-h2 { font-size: 26px; } }
.rsm p.rsm-sub { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--rsm-muted); }

/* Horizontal rails (deals, combos, popular) */
.rsm .rsm-rail-wrap { position: relative; }
/*
 * The rail must scroll sideways on phones (overflow-x), and an overflow box
 * clips whatever sticks out — the tiles' shadows. So the rail carries its own
 * breathing room (8px top, 30px bottom, 12px+ sides) and cancels it with
 * negative margins: the layout doesn't move, the shadows aren't cropped.
 */
.rsm .rsm-rail {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    padding: 8px 16px 30px; margin: -8px -16px -16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rsm .rsm-rail::-webkit-scrollbar { display: none; }
.rsm .rsm-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
@media (min-width: 640px) { .rsm .rsm-rail { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scroll-padding: 0 24px; } }
@media (min-width: 1024px) { .rsm .rsm-rail { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; } }
.rsm .rsm-rail-nav { display: none; gap: 8px; }
@media (min-width: 1024px) { .rsm .rsm-rail-nav { display: flex; } }
.rsm button.rsm-round {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff; color: var(--rsm-ink);
    font-size: 13px; transition: all .18s ease;
}
.rsm button.rsm-round:hover:not(:disabled) { border-color: var(--rsm-ink); }
.rsm button.rsm-round:disabled { opacity: .35; cursor: default; }

/* ------------------------------------------------------------ badges/chips */
.rsm .rsm-chip {
    display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 9999px;
    font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; background: var(--rsm-line-2); color: var(--rsm-ink-2);
}
.rsm .rsm-chip i { font-size: 11px; }
.rsm .rsm-chip--brand { background: var(--rsm-brand); color: #fff; }
.rsm .rsm-chip--soft { background: var(--rsm-brand-soft); color: var(--rsm-brand-dark); }
.rsm .rsm-chip--green { background: var(--rsm-green-soft); color: var(--rsm-green); }
.rsm .rsm-chip--amber { background: var(--rsm-amber-soft); color: var(--rsm-amber); }
.rsm .rsm-chip--dark { background: rgba(20, 20, 23, .78); color: #fff; backdrop-filter: blur(6px); }
.rsm .rsm-chip--white { background: rgba(255, 255, 255, .95); color: var(--rsm-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rsm .rsm-chip--sm { height: 20px; padding: 0 7px; font-size: 11px; }

/* ------------------------------------------------------------------ banner */
.rsm .rsm-alert {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 16px;
    background: var(--rsm-amber-soft); border: 1px solid #fde3b4; color: #7c3d06; font-size: 14px; font-weight: 600;
}
.rsm .rsm-alert > i { color: #d97706; }
.rsm .rsm-alert p { flex: 1 1 240px; }

/* ------------------------------------------------------------------ offers */
/*
 * One tile shape for every offer; the type only changes the tone. Each tone pairs
 * a deep base with a lighter glow of the same hue, and all text on it is white
 * (set explicitly — see the reset at the top for why inheriting isn't enough).
 */
.rsm .rsm-offer {
    --rsm-offer-a: color-mix(in srgb, var(--rsm-brand) 82%, #fff); --rsm-offer-b: var(--rsm-brand-dark);
    position: relative; display: flex; flex-direction: column; gap: var(--rsm-s2); width: 264px;
    padding: var(--rsm-s3); border-radius: var(--rsm-radius); overflow: hidden; color: #fff; isolation: isolate;
    background: linear-gradient(150deg, var(--rsm-offer-a) 0%, var(--rsm-offer-b) 100%);
}
.rsm .rsm-offer::before { content: ""; position: absolute; z-index: -1; width: 168px; height: 168px; right: -56px; top: -64px; border-radius: 9999px; background: rgba(255, 255, 255, .12); }
/* Delivery offers take the Design System's Secondary colour, fixed-amount ones its Text colour, so a row of offers isn't one flat tone. */
.rsm .rsm-offer--delivery { --rsm-offer-a: color-mix(in srgb, var(--rsm-secondary) 82%, #fff); --rsm-offer-b: color-mix(in srgb, var(--rsm-secondary) 80%, #000); }
.rsm .rsm-offer--fixed { --rsm-offer-a: color-mix(in srgb, var(--rsm-ink) 85%, var(--rsm-brand)); --rsm-offer-b: color-mix(in srgb, var(--rsm-ink) 90%, #000); }
.rsm .rsm-offer-icon { position: absolute; z-index: -1; right: 16px; top: 14px; font-size: 64px; line-height: 1; color: rgba(255, 255, 255, .2); transform: rotate(-12deg); pointer-events: none; }
.rsm .rsm-offer--fixed .rsm-offer-icon { color: color-mix(in srgb, var(--rsm-brand) 35%, transparent); }
.rsm .rsm-offer-value { padding-right: 64px; font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.rsm .rsm-offer-value small { font-size: 16px; font-weight: 700; letter-spacing: -.01em; opacity: .85; }
.rsm p.rsm-offer-name { font-size: 15px; font-weight: 800; line-height: 1.3; color: #fff; }
.rsm p.rsm-offer-meta { margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, .82); }

/* ----------------------------------------------------------- coupon ticket */
.rsm .rsm-ticket {
    position: relative; display: flex; width: 356px; min-height: 148px; border-radius: var(--rsm-radius);
    background: var(--rsm-card); box-shadow: var(--rsm-shadow); border: 1px solid var(--rsm-line);
}
.rsm .rsm-ticket-stub {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; flex: 0 0 96px;
    padding: 12px 8px; border-radius: var(--rsm-radius) 0 0 var(--rsm-radius); color: var(--rsm-brand-dark); text-align: center;
    background: repeating-linear-gradient(-45deg, var(--rsm-brand-soft) 0 10px, color-mix(in srgb, var(--rsm-brand) 14%, #fff) 10px 20px);
}
.rsm .rsm-ticket-stub strong { font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.rsm .rsm-ticket-stub span { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
/* perforation: two notches + a dashed tear line between stub and body */
.rsm .rsm-ticket-stub::after {
    content: ""; position: absolute; right: -1px; top: 14px; bottom: 14px; border-right: 2px dashed var(--rsm-brand-tint);
}
.rsm .rsm-ticket::before, .rsm .rsm-ticket::after {
    content: ""; position: absolute; left: 86px; width: 20px; height: 20px; border-radius: 9999px; background: var(--rsm-bg);
    border: 1px solid var(--rsm-line); z-index: 1;
}
.rsm .rsm-ticket::before { top: -11px; clip-path: inset(50% 0 0 0); }
.rsm .rsm-ticket::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.rsm .rsm-ticket-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 14px 16px 14px 18px; }
.rsm .rsm-ticket-name { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--rsm-ink); }
.rsm .rsm-ticket-meta { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--rsm-muted); }
.rsm .rsm-ticket-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.rsm button.rsm-code {
    display: inline-flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 6px; height: 36px; padding: 0 10px;
    border-radius: 12px; border: 1.5px dashed color-mix(in srgb, var(--rsm-brand) 40%, #fff); background: color-mix(in srgb, var(--rsm-brand) 4%, #fff); color: var(--rsm-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; letter-spacing: .06em;
    transition: all .18s ease;
}
.rsm button.rsm-code span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsm button.rsm-code i { color: var(--rsm-brand); font-size: 12px; }
.rsm button.rsm-code:hover { border-color: var(--rsm-brand); background: var(--rsm-brand-soft); }
.rsm button.rsm-code.is-copied { border-style: solid; border-color: var(--rsm-green); background: var(--rsm-green-soft); }
.rsm button.rsm-code.is-copied i { color: var(--rsm-green); }
.rsm .rsm-ticket-feedback { margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.rsm .rsm-ticket-feedback.is-ok { color: var(--rsm-green); }
.rsm .rsm-ticket-feedback.is-error { color: var(--rsm-red); }
.rsm .rsm-ticket.is-applied { border-color: #9fe0c0; box-shadow: 0 0 0 3px rgba(15, 159, 95, .12); }

/* ----------------------------------------------------------------- buttons */
.rsm button.rsm-btn, .rsm a.rsm-btn, .rsm span.rsm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px;
    border-radius: 9999px; border: 1px solid var(--rsm-btn-border); background: var(--rsm-btn-bg); color: var(--rsm-btn-color); font-family: var(--rsm-btn-font); font-size: 13px; font-weight: 700;
    text-decoration: none; white-space: nowrap; transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.rsm button.rsm-btn:hover, .rsm a.rsm-btn:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); border-color: var(--rsm-btn-hover-border); }
.rsm button.rsm-btn:active { transform: scale(.97); }
.rsm button.rsm-btn:disabled { opacity: .55; cursor: default; }
.rsm button.rsm-btn.rsm-btn--green:disabled { opacity: 1; }
.rsm .rsm-ticket-actions .rsm-btn { padding: 0 14px; }
.rsm .rsm-btn--brand { background: var(--rsm-btn-bg) !important; color: var(--rsm-btn-color) !important; }
.rsm .rsm-btn--brand:hover { background: var(--rsm-btn-hover-bg) !important; color: var(--rsm-btn-hover-color) !important; }
.rsm .rsm-btn--white { background: #fff !important; color: var(--rsm-ink) !important; }
.rsm .rsm-btn--white:hover { background: #f3f3f1 !important; }
.rsm .rsm-btn--ghost { background: var(--rsm-line-2) !important; color: var(--rsm-ink) !important; }
.rsm .rsm-btn--ghost:hover { background: var(--rsm-line) !important; }
.rsm .rsm-btn--green { background: var(--rsm-green) !important; }

/* Circular add button */
.rsm .rsm-add {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: 9999px; border: 0; background: #fff; color: var(--rsm-ink); font-size: 14px;
    box-shadow: 0 2px 8px rgba(20, 20, 23, .16), 0 0 0 1px rgba(20, 20, 23, .04);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.rsm .rsm-add:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); transform: scale(1.06); }
.rsm .rsm-add--brand { background: var(--rsm-btn-bg); color: var(--rsm-btn-color); }
.rsm .rsm-add--brand:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); }
.rsm button.rsm-add:disabled { background: #f1f1ef; color: var(--rsm-faint); box-shadow: none; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------ hero (menu top) */
/*
 * A restaurant's OWN website (not a marketplace): the site header already says whose site it is, so
 * no logo / name / city here. A rounded photo banner carries what matters right now as glassy chips —
 * open status, rating (opens Reviews), delivery time / fee / minimum — plus an Info button (the Info
 * panel: hours, address, contact). Delivery / Pick up / Dine in and the time sit under it.
 * single-restaurant-hero.blade.php.
 */
.rsm .rsm-hero { position: relative; padding-top: 16px; }
@media (min-width: 768px) { .rsm .rsm-hero { padding-top: 24px; } }
.rsm .rsm-hero-banner { position: relative; height: 220px; overflow: hidden; border-radius: 20px; background: var(--rsm-ink); isolation: isolate; }
@media (min-width: 768px) { .rsm .rsm-hero-banner { height: 300px; border-radius: 24px; } }
.rsm .rsm-hero-banner > img { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* legibility: darker towards the bottom, where the chips sit */
.rsm .rsm-hero-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 100%); }
.rsm .rsm-hero-overlay { position: absolute; inset: auto 0 0 0; padding: 14px; }
@media (min-width: 768px) { .rsm .rsm-hero-overlay { padding: 22px 140px 22px 24px; } }
.rsm .rsm-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.rsm .rsm-hero-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9999px; border: 0;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--rsm-ink); font-family: var(--rsm-font); font-size: 13.5px; font-weight: 500; white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.rsm .rsm-hero-chip strong { font-weight: 800; }
.rsm .rsm-hero-chip > i { font-size: 13px; color: var(--rsm-brand); }
.rsm .rsm-hero-chip-label, .rsm .rsm-hero-chip > span:not(.rsm-hero-dot) { color: var(--rsm-muted); }
.rsm .rsm-hero-status.is-open strong { color: var(--rsm-green); }
.rsm .rsm-hero-status.is-opening strong { color: var(--rsm-amber); }
.rsm .rsm-hero-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--rsm-faint); }
.rsm .rsm-hero-status.is-open .rsm-hero-dot { background: var(--rsm-green); box-shadow: 0 0 0 3px var(--rsm-green-soft); animation: rsm-live 2s ease-in-out infinite; }
.rsm .rsm-hero-status.is-opening .rsm-hero-dot { background: var(--rsm-amber); }
@keyframes rsm-live { 0%, 100% { box-shadow: 0 0 0 3px var(--rsm-green-soft); } 50% { box-shadow: 0 0 0 6px rgba(15, 159, 95, .08); } }
@media (prefers-reduced-motion: reduce) { .rsm .rsm-hero-status.is-open .rsm-hero-dot { animation: none; } }
.rsm button.rsm-hero-rating { cursor: pointer; transition: transform .15s ease; }
.rsm button.rsm-hero-rating > i { color: #f5a524; }
.rsm button.rsm-hero-rating:hover { transform: translateY(-1px); }
.rsm button.rsm-hero-info {
    position: absolute; right: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 9999px;
    border: 1px solid var(--rsm-btn-border); background: var(--rsm-btn-bg); color: var(--rsm-btn-color);
    font-family: var(--rsm-btn-font); font-size: 14px; font-weight: 700; transition: background .15s ease, transform .15s ease;
}
.rsm button.rsm-hero-info:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); transform: translateY(-1px); }
/* Phones: the Info button moves to the top-right corner; the chips drop their labels. */
@media (max-width: 639.98px) {
    .rsm button.rsm-hero-info { top: 12px; right: 12px; bottom: auto; height: 36px; padding: 0 14px; }
    .rsm .rsm-hero-chip { height: 32px; padding: 0 11px; font-size: 12.5px; }
    .rsm .rsm-hero-chip-label { display: none; }
}
/* How and when, under the banner */
.rsm .rsm-hero-order { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 1024px) { .rsm .rsm-hero-order { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; } }
.rsm .rsm-hero-when { padding: 10px 14px; border: 1px solid var(--rsm-line); border-radius: 16px; }

/* -------------------------------------------- side panels (Info / Reviews) */
.rsm .offcanvas.rsm-oc { --bs-offcanvas-width: 440px; max-width: 100vw; border: 0; background: #fff; color: var(--rsm-ink); font-family: var(--rsm-font); }
.rsm .rsm-oc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px 16px; border-bottom: 1px solid var(--rsm-line-2); }
.rsm .rsm-oc-kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rsm-brand); }
.rsm h3.rsm-oc-title { margin: 0; font-family: var(--rsm-font); font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--rsm-ink); }
.rsm button.rsm-oc-close {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 9999px;
    background: var(--rsm-line-2); color: var(--rsm-ink); font-size: 16px; transition: background .15s ease;
}
.rsm button.rsm-oc-close:hover { background: var(--rsm-line); }
.rsm .rsm-oc-body { flex: 1; overflow-y: auto; padding: 18px 24px 32px; scrollbar-width: none; }
.rsm .rsm-oc-body::-webkit-scrollbar { display: none; }
.rsm .rsm-info-about { margin: 0 0 6px; font-size: 14.5px; line-height: 1.6; color: var(--rsm-ink-2); }
.rsm .rsm-info-section { padding: 18px 0; border-top: 1px solid var(--rsm-line-2); }
.rsm .rsm-info-about + .rsm-info-section { margin-top: 12px; }
.rsm .rsm-oc-body > .rsm-info-section:first-child { border-top: 0; padding-top: 4px; }
.rsm h4.rsm-info-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--rsm-font); font-size: 15px; font-weight: 800; color: var(--rsm-ink); }
.rsm h4.rsm-info-heading i { color: var(--rsm-brand); font-size: 14px; }
.rsm .rsm-info-types { display: flex; flex-direction: column; gap: 8px; }
.rsm .rsm-info-type { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--rsm-line); }
.rsm .rsm-info-type.is-off { opacity: .55; }
.rsm .rsm-info-type-icon { flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: var(--rsm-brand-soft); color: var(--rsm-brand); }
.rsm .rsm-info-type-text { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.rsm .rsm-info-type-name { font-size: 14.5px; font-weight: 800; }
.rsm .rsm-info-type-desc { font-size: 13px; line-height: 1.4; color: var(--rsm-muted); }
.rsm .rsm-info-badge { flex: 0 0 auto; height: 24px; padding: 0 10px; border-radius: 9999px; background: var(--rsm-line-2); color: var(--rsm-muted); font-size: 12px; font-weight: 700; line-height: 24px; }
.rsm .rsm-info-badge.is-open { background: var(--rsm-green-soft); color: var(--rsm-green); }
.rsm .rsm-info-note-line { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--rsm-muted); }
.rsm .rsm-info-note-line i { color: var(--rsm-brand); }
.rsm dl.rsm-info-hours { margin: 0; }
.rsm .rsm-info-hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.rsm .rsm-info-hours dt { font-weight: 600; color: var(--rsm-ink-2); }
.rsm .rsm-info-hours dd { margin: 0; text-align: right; color: var(--rsm-muted); }
.rsm .rsm-info-hours > div.is-today { background: var(--rsm-brand-soft); }
.rsm .rsm-info-hours > div.is-today dt, .rsm .rsm-info-hours > div.is-today dd { font-weight: 800; color: var(--rsm-ink); }
.rsm .rsm-info-today { margin-left: 6px; padding: 1px 7px; border-radius: 9999px; background: var(--rsm-brand); color: #fff; font-size: 11px; font-weight: 700; }
.rsm .rsm-info-zones { display: flex; flex-direction: column; border: 1px solid var(--rsm-line); border-radius: 16px; overflow: hidden; }
.rsm .rsm-info-zone { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 14px; }
.rsm .rsm-info-zone + .rsm-info-zone { border-top: 1px solid var(--rsm-line-2); }
.rsm .rsm-info-zone-dist { flex: 1; font-weight: 600; color: var(--rsm-ink-2); }
.rsm .rsm-info-zone-fee { font-weight: 800; color: var(--rsm-ink); }
.rsm .rsm-info-zone-min { font-size: 12.5px; color: var(--rsm-muted); }
.rsm .rsm-info-address { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--rsm-ink-2); }
.rsm .rsm-info-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.rsm a.rsm-info-contact-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--rsm-line);
    background: #fff; color: var(--rsm-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .15s ease, background .15s ease;
}
.rsm a.rsm-info-contact-btn i { color: var(--rsm-brand); }
.rsm a.rsm-info-contact-btn:hover { border-color: var(--rsm-brand); background: var(--rsm-brand-soft); }
.rsm a.rsm-info-contact-btn.is-primary { border-color: var(--rsm-btn-border); background: var(--rsm-btn-bg); color: var(--rsm-btn-color); font-family: var(--rsm-btn-font); }
.rsm a.rsm-info-contact-btn.is-primary i { color: inherit; }
.rsm a.rsm-info-contact-btn.is-primary:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); }
.rsm .rsm-rev-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; padding: 16px 18px; border-radius: 18px; background: var(--rsm-brand-soft); }
.rsm .rsm-rev-score { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--rsm-ink); }
.rsm .rsm-rev-stars, .rsm .rsm-rev-chip-stars { display: inline-flex; gap: 2px; color: #f5a524; }
.rsm .rsm-rev-stars { font-size: 15px; }
.rsm .rsm-rev-count { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--rsm-muted); }
.rsm .rsm-rev { padding: 16px 0; border-bottom: 1px solid var(--rsm-line-2); }
.rsm .rsm-rev:last-child { border-bottom: 0; }
.rsm .rsm-rev-head { display: flex; align-items: center; gap: 10px; }
.rsm .rsm-rev-avatar { flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; background: var(--rsm-brand-soft); color: var(--rsm-brand); font-weight: 800; }
.rsm .rsm-rev-who { display: flex; flex-direction: column; min-width: 0; }
.rsm .rsm-rev-name { font-size: 14.5px; font-weight: 800; }
.rsm .rsm-rev-date { font-size: 12.5px; color: var(--rsm-muted); }
.rsm .rsm-rev-text { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--rsm-ink-2); }
.rsm .rsm-rev-scores { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rsm .rsm-rev-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 9999px; background: var(--rsm-line-2); font-size: 12px; font-weight: 700; color: var(--rsm-ink-2); }
.rsm .rsm-rev-chip-stars { font-size: 10px; }
.rsm .rsm-rev-empty { margin: 12px 0 0; font-size: 14px; color: var(--rsm-muted); }

/* ------------------------------------------------------------------ combos */
/* The menu item card's layout — text left, image right with the + on its corner — one size up (130px image). */
.rsm a.rsm-combo { color: inherit; text-decoration: none; }
.rsm .rsm-combo {
    display: flex; gap: var(--rsm-s2); width: 330px; padding: var(--rsm-s2); border-radius: var(--rsm-radius); cursor: pointer;
    background: var(--rsm-card); border: 1px solid var(--rsm-line); box-shadow: 0 1px 2px rgba(20, 20, 23, .03);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (min-width: 640px) { .rsm .rsm-combo { width: 400px; } }
.rsm .rsm-combo:hover { transform: translateY(-2px); border-color: #e0e0dc; box-shadow: var(--rsm-shadow-lg); }
.rsm .rsm-combo-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 3px 0 1px; }
.rsm .rsm-combo-media { position: relative; flex: 0 0 110px; width: 110px; height: 110px; }
@media (min-width: 640px) { .rsm .rsm-combo-media { flex-basis: 130px; width: 130px; height: 130px; } }
.rsm .rsm-combo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rsm .rsm-combo:hover .rsm-combo-media img { transform: scale(1.06); }
.rsm .rsm-combo-media .rsm-ph { font-size: 30px; }
.rsm .rsm-combo-media .rsm-add { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
.rsm h3.rsm-combo-name { font-family: var(--rsm-font); font-size: 16px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--rsm-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rsm p.rsm-combo-desc { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--rsm-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* "First Pizza, Side, Drink (free)" — a trailing comma reads naturally where a line wraps; a dot separator didn't. */
.rsm p.rsm-combo-includes { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--rsm-muted); }
.rsm .rsm-combo-includes > span { white-space: nowrap; }
.rsm .rsm-combo-includes > span:not(:last-child)::after { content: ", "; white-space: pre; color: var(--rsm-muted); font-weight: 500; }
.rsm .rsm-combo-includes .is-free { color: var(--rsm-green); font-weight: 700; }
.rsm .rsm-combo-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--rsm-s1); margin-top: auto; padding-top: var(--rsm-s1); }

/* Price */
.rsm .rsm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; font-weight: 800; color: var(--rsm-ink); }
.rsm .rsm-price-now { font-size: 16px; letter-spacing: -.01em; }
.rsm .rsm-price-now.is-deal { color: var(--rsm-brand-dark); }
.rsm .rsm-price-was { font-size: 13px; font-weight: 600; color: var(--rsm-faint); text-decoration: line-through; }
.rsm .rsm-price-from { font-size: 12px; font-weight: 600; color: var(--rsm-muted); }

/* --------------------------------------------------------------- gift card */
.rsm .rsm-gift {
    position: relative; display: grid; gap: 20px; align-items: center; padding: 22px; border-radius: 24px; overflow: hidden; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--rsm-brand) 30%, #141417) 0%, color-mix(in srgb, var(--rsm-brand) 8%, #141417) 45%, #141417 100%); isolation: isolate;
}
@media (min-width: 768px) { .rsm .rsm-gift { grid-template-columns: auto 1fr auto; padding: 22px 28px; gap: 28px; } }
.rsm .rsm-gift::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 9999px; background: radial-gradient(circle, var(--rsm-brand-ring), transparent 70%); z-index: -1; }
.rsm .rsm-gift-card {
    position: relative; width: 168px; height: 104px; border-radius: 14px; padding: 12px 14px; transform: rotate(-6deg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--rsm-brand) 75%, #fff) 0%, var(--rsm-brand) 50%, var(--rsm-brand-dark) 100%);
    box-shadow: 0 16px 30px -10px var(--rsm-brand-glow), inset 0 0 0 1px rgba(255, 255, 255, .18);
    display: flex; flex-direction: column; justify-content: space-between;
}
.rsm .rsm-gift-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 40%); }
.rsm .rsm-gift-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rsm .rsm-gift-card-chip { width: 26px; height: 19px; border-radius: 4px; background: linear-gradient(135deg, #ffe7a8, #d6a73c); }
.rsm .rsm-gift-card-amount { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.rsm .rsm-gift h2.rsm-h2 { color: #fff; }
.rsm .rsm-gift p.rsm-sub { color: rgba(255, 255, 255, .72); }
.rsm .rsm-gift .rsm-eyebrow { color: color-mix(in srgb, var(--rsm-brand) 45%, #fff); }
.rsm .rsm-gift-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rsm .rsm-gift-amounts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 700; color: #fff; }
.rsm a.rsm-gift-cta { height: 46px; padding: 0 22px; font-size: 14px; }

/* ------------------------------------------------------- sticky menu nav */
/* --rsm-sticky-top: the site header's real height (measured in menu-body.blade.php — a restaurant site's header wraps to ~138px on phones). */
.rsm .rsm-nav { position: sticky; top: var(--rsm-sticky-top, 64px); z-index: 40; margin-top: 32px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.rsm .rsm-nav.is-searching .rsm-cats { display: none; }
.rsm.rsm-nav-stuck .rsm-nav { background: rgba(255, 255, 255, .94); border-bottom-color: var(--rsm-line); box-shadow: 0 6px 18px -12px rgba(20, 20, 23, .18); }
.rsm .rsm-nav-inner { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.rsm .rsm-search { position: relative; flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) { .rsm .rsm-search { width: 260px; } }
@media (min-width: 1024px) { .rsm .rsm-search { width: 300px; } }
.rsm .rsm-search i.fa-search { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--rsm-muted); font-size: 14px; pointer-events: none; }
.rsm input.rsm-search-input {
    width: 100%; height: 44px; padding: 0 42px 0 42px; border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff;
    font-family: var(--rsm-font); font-size: 14px; font-weight: 600; color: var(--rsm-ink); outline: none; box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease; -webkit-appearance: none; appearance: none;
}
.rsm input.rsm-search-input::placeholder { color: var(--rsm-faint); font-weight: 500; }
.rsm input.rsm-search-input:focus { border-color: var(--rsm-ink); box-shadow: 0 0 0 4px rgba(20, 20, 23, .06); }
.rsm input.rsm-search-input::-webkit-search-cancel-button { display: none; }
.rsm button.rsm-search-clear { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 9999px; background: var(--rsm-line-2); color: var(--rsm-ink-2); font-size: 12px; }
.rsm .rsm-nav-row { display: flex; flex-direction: column; gap: 10px; padding: 10px 0; }
@media (min-width: 768px) { .rsm .rsm-nav-row { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; } }
.rsm .rsm-cats { position: relative; flex: 1; min-width: 0; }
.rsm .rsm-cats-track { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; margin: 0; padding: 2px 0; list-style: none; }
.rsm .rsm-cats-track::-webkit-scrollbar { display: none; }
.rsm .rsm-cats-track .nav-item { flex: 0 0 auto; }
.rsm a.rsm-cat {
    display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px !important; border-radius: 9999px;
    font-size: 14px; font-weight: 700; color: var(--rsm-ink-2); text-decoration: none; white-space: nowrap;
    background: transparent; border: 1px solid transparent; transition: all .18s ease;
}
.rsm a.rsm-cat:hover { background: #fff; color: var(--rsm-ink); border-color: var(--rsm-line); }
.rsm a.rsm-cat.active { background: var(--rsm-brand) !important; color: #fff !important; border-color: var(--rsm-brand); }
.rsm a.rsm-cat .rsm-cat-count { font-size: 11px; font-weight: 700; color: var(--rsm-faint); }
.rsm a.rsm-cat.active .rsm-cat-count { color: rgba(255, 255, 255, .6); }
.rsm .rsm-cats button[data-carousel-prev], .rsm .rsm-cats button[data-carousel-next] {
    position: absolute; top: 50%; z-index: 2; width: 32px; height: 32px; transform: translateY(-50%);
    border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff; color: var(--rsm-ink); font-size: 11px;
    box-shadow: 0 2px 10px rgba(20, 20, 23, .12); display: none; align-items: center; justify-content: center;
}
.rsm .rsm-cats button[data-carousel-prev] { left: -4px; }
.rsm .rsm-cats button[data-carousel-next] { right: -4px; }

/* ------------------------------------------------------- category sections */
.rsm .rsm-menu { padding-top: 8px; }
.rsm .rsm-cat-sec { padding-top: 28px; }
.rsm [id$="-heading"] { scroll-margin-top: calc(var(--rsm-sticky-top, 64px) + 132px); }
@media (min-width: 768px) { .rsm [id$="-heading"] { scroll-margin-top: calc(var(--rsm-sticky-top, 64px) + 82px); } }
.rsm .rsm-cat-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.rsm .rsm-cat-head .rsm-count { font-size: 14px; font-weight: 700; color: var(--rsm-faint); }
.rsm p.rsm-cat-desc { margin: 2px 0 0; max-width: 720px; font-size: 14px; line-height: 1.55; color: var(--rsm-muted); }
.rsm .rsm-grid { display: grid; grid-template-columns: 1fr; gap: var(--rsm-s2); margin-top: var(--rsm-s2); }
@media (min-width: 768px) { .rsm .rsm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .rsm .rsm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rsm .rsm-empty { margin-top: 16px; padding: 40px 20px; text-align: center; border-radius: var(--rsm-radius); background: #fff; border: 1px dashed var(--rsm-line); color: var(--rsm-muted); font-size: 14px; font-weight: 600; }
.rsm .rsm-empty i { display: block; margin-bottom: 10px; font-size: 26px; color: var(--rsm-faint); }

/* ------------------------------------------------------------- item card */
/*
 * Height comes from the square image (104px + 2 × 13px padding = 130px), not a
 * fixed min-height, so a name-and-price card is compact and a described one grows
 * only as its text needs. The + sits on the image's corner, not in its own row.
 */
.rsm .rsm-item {
    position: relative; display: flex; gap: var(--rsm-s2); height: 100%; padding: var(--rsm-s2); border-radius: var(--rsm-radius);
    background: var(--rsm-card); border: 1px solid var(--rsm-line); box-shadow: 0 1px 2px rgba(20, 20, 23, .03);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: rsm-fade-up .38s cubic-bezier(.22, 1, .36, 1) both;
}
.rsm .rsm-item.is-clickable { cursor: pointer; }
.rsm .rsm-item.is-clickable:hover { transform: translateY(-2px); border-color: #e0e0dc; box-shadow: var(--rsm-shadow-lg); }
.rsm .rsm-item.is-off { cursor: not-allowed; }
.rsm .rsm-item.is-off .rsm-item-media img, .rsm .rsm-item.is-off .rsm-item-name { opacity: .55; }
.rsm .rsm-item-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 3px 0 1px; }
.rsm .rsm-item-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: var(--rsm-s1); }
/* Fixed slots: 1-line name + 2-line description (space reserved even when empty) + price row = always fits beside the 104px image. */
.rsm h3.rsm-item-name { font-family: var(--rsm-font); font-size: 16px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--rsm-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsm p.rsm-item-desc { min-height: 39px; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--rsm-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rsm p.rsm-item-note { font-size: 12.5px; font-weight: 700; color: var(--rsm-red); }
.rsm .rsm-item-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--rsm-s1); margin-top: auto; padding-top: var(--rsm-s1); }
.rsm .rsm-item-icons { display: flex; flex: 0 0 auto; gap: 4px; }
.rsm .rsm-icon-dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 9999px; font-size: 10px; }
.rsm .rsm-icon-dot--green { background: var(--rsm-green-soft); color: var(--rsm-green); }
.rsm .rsm-icon-dot--amber { background: var(--rsm-amber-soft); color: var(--rsm-amber); }
.rsm .rsm-item-media { position: relative; flex: 0 0 104px; width: 104px; height: 104px; align-self: flex-start; }
.rsm .rsm-item-media-frame { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--rsm-line-2); }
.rsm .rsm-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rsm .rsm-item.is-clickable:hover .rsm-item-media img { transform: scale(1.06); }
.rsm .rsm-item-media .rsm-ph { font-size: 26px; }
/* The + overlaps the image's bottom-right corner, inset so it never pokes past the card. */
.rsm .rsm-item-media .rsm-add { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
.rsm .rsm-item-media .rsm-media-badge, .rsm .rsm-combo-media .rsm-media-badge { position: absolute; left: 6px; top: 6px; z-index: 1; box-shadow: 0 2px 6px rgba(20, 20, 23, .15); }
.rsm .rsm-item-soldout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------- popular rail */
.rsm .rsm-pop { display: flex; flex-direction: column; width: 232px; border-radius: var(--rsm-radius); overflow: hidden; background: var(--rsm-card); border: 1px solid var(--rsm-line); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.rsm .rsm-pop:hover { transform: translateY(-3px); box-shadow: var(--rsm-shadow-lg); }
.rsm .rsm-pop-media { position: relative; height: 150px; background: linear-gradient(135deg, var(--rsm-brand-soft), var(--rsm-brand-tint)); overflow: hidden; }
.rsm .rsm-pop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rsm .rsm-pop:hover .rsm-pop-media img { transform: scale(1.06); }
.rsm .rsm-pop-media .rsm-chip { position: absolute; left: 10px; top: 10px; }
.rsm .rsm-pop-media .rsm-add { position: absolute; right: 10px; bottom: 10px; }
.rsm .rsm-pop-rank { position: absolute; left: 10px; bottom: 8px; font-size: 44px; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -.04em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.rsm .rsm-pop-body { padding: 12px 14px 14px; }
.rsm .rsm-pop-body h3.rsm-item-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsm .rsm-pop-body .rsm-price { margin-top: 4px; }

/* Placeholder art when an item/combo has no photo */
.rsm .rsm-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 30px; }
/* One warm family (cream → peach → sand) so a photo-less grid reads calm, not like a rainbow. */
/* image placeholders: five shades of the Design System's Primary/Secondary/Accent */
.rsm .rsm-ph--0 { background: linear-gradient(135deg, var(--rsm-brand-soft), var(--rsm-brand-tint)); color: var(--rsm-brand); }
.rsm .rsm-ph--1 { background: linear-gradient(135deg, color-mix(in srgb, var(--rsm-accent) 9%, #fff), color-mix(in srgb, var(--rsm-accent) 20%, #fff)); color: color-mix(in srgb, var(--rsm-accent) 80%, #000); }
.rsm .rsm-ph--2 { background: linear-gradient(135deg, color-mix(in srgb, var(--rsm-secondary) 9%, #fff), color-mix(in srgb, var(--rsm-secondary) 20%, #fff)); color: var(--rsm-secondary); }
.rsm .rsm-ph--3 { background: linear-gradient(135deg, color-mix(in srgb, var(--rsm-brand) 6%, #fff), color-mix(in srgb, var(--rsm-brand) 14%, #fff)); color: var(--rsm-brand-dark); }
.rsm .rsm-ph--4 { background: linear-gradient(135deg, color-mix(in srgb, var(--rsm-ink) 4%, #fff), color-mix(in srgb, var(--rsm-ink) 10%, #fff)); color: var(--rsm-muted); }

@keyframes rsm-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rsm .rsm-item { animation: none; } .rsm * { transition: none !important; } }

/* =================================================================== MODAL */
#orange-modal .modal-dialog.rsm-dialog { max-width: 450px; }
#orange-modal .rsm .rsm-sheet { position: relative; display: flex; flex-direction: column; max-height: min(88vh, 860px); border: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }
.rsm .rsm-sheet-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* Still scrolls (wheel, touch, keyboard); the bar itself is hidden. */
.rsm .rsm-sheet-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.rsm .rsm-sheet-scroll::-webkit-scrollbar { display: none; }
/* The item photo: a fixed 260px on every item, photo or not (about 16:9 at the modal's 450px), so the sheet never jumps; any upload — portrait phone photo or wide banner — fills it, cropped from the centre. */
.rsm .rsm-sheet-media { position: relative; height: 260px; overflow: hidden; background: var(--rsm-line-2); }
.rsm .rsm-sheet-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
/*
 * Scrolling the item: the photo is pinned (sticky) and the details — white, a layer above — slide up
 * over it, so the photo looks like it shrinks away. --rsm-scroll (0 at the top, 1 once the details
 * cover it; set by the scroll area's x-on:scroll) adds a gentle zoom, lift and dim, all undone on the
 * way back. No transition on these: they follow the finger/wheel exactly.
 */
.rsm .rsm-sheet-media { position: sticky; top: 0; z-index: 0; --rsm-scroll: 0; }
.rsm .rsm-sheet-media > img, .rsm .rsm-sheet-media > .rsm-ph {
    transform: translateY(calc(var(--rsm-scroll) * -28px)) scale(calc(1 + var(--rsm-scroll) * .08));
    transform-origin: center top; filter: brightness(calc(1 - var(--rsm-scroll) * .3)); will-change: transform;
}
.rsm .rsm-sheet-scroll > .rsm-sheet-head, .rsm .rsm-sheet-scroll > .rsm-sheet-body { position: relative; z-index: 1; background: #fff; }
/* The item's offer, floating on the photo's top-left (the favourite heart has the top-right). */
.rsm .rsm-sheet-badge {
    position: absolute; z-index: 2; top: 20px; left: 16px; height: 28px; padding: 0 11px; font-size: 12.5px;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); opacity: calc(1 - var(--rsm-scroll) * 1.6);
}
@media (prefers-reduced-motion: reduce) {
    .rsm .rsm-sheet-media > img, .rsm .rsm-sheet-media > .rsm-ph { transform: none; filter: none; }
}
.rsm .rsm-sheet-media .rsm-ph { font-size: 56px; }
.rsm .rsm-sheet-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%); pointer-events: none; }
/* A close button on the sheet's top-right (the POS item modal, which has no favourite heart): outside the scroll area, always visible. */
.rsm button.rsm-sheet-close {
    position: absolute; right: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border-radius: 9999px; border: 0; background: rgba(255, 255, 255, .95); color: var(--rsm-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .18s ease;
}
.rsm button.rsm-sheet-close:hover { transform: scale(1.06); }
/* Favourite heart on the photo's top-right: an outline until it's a favourite, then filled in the Design System Primary, with a little pop. */
.rsm button.rsm-fav {
    position: absolute; right: 14px; top: 14px; z-index: 2; display: inline-grid; place-items: center;
    width: 40px; height: 40px; padding: 0; border-radius: 9999px; border: 0; background: rgba(255, 255, 255, .95); color: var(--rsm-ink); font-size: 17px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .18s ease, color .18s ease;
    opacity: calc(1 - var(--rsm-scroll) * 1.6);
}
.rsm button.rsm-fav > i { grid-area: 1 / 1; transition: opacity .18s ease, transform .25s cubic-bezier(.22, 1, .36, 1); }
.rsm button.rsm-fav .rsm-fav-on { opacity: 0; transform: scale(.4); color: var(--rsm-brand); }
.rsm button.rsm-fav.is-on .rsm-fav-on { opacity: 1; transform: scale(1); }
.rsm button.rsm-fav.is-on .rsm-fav-off { opacity: 0; }
.rsm button.rsm-fav:hover { transform: scale(1.06); color: var(--rsm-brand); }
.rsm button.rsm-fav:focus-visible { outline: 3px solid var(--rsm-brand-ring); outline-offset: 2px; }
.rsm button.rsm-fav.is-pop { animation: rsm-fav-pop .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes rsm-fav-pop { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .rsm button.rsm-fav.is-pop { animation: none; } }
/* The details panel rides up over the photo with rounded top corners, so the photo sits underneath it. */
.rsm .rsm-sheet-head { position: relative; z-index: 1; margin-top: -24px; padding: 22px 24px 6px; border-radius: 24px 24px 0 0; background: #fff; }
.rsm .rsm-sheet-head .rsm-item-flags { margin-bottom: 10px; }
.rsm h4.rsm-sheet-title { font-family: var(--rsm-font); font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--rsm-ink); }
.rsm .rsm-sheet-head .rsm-price { margin-top: 8px; }
.rsm .rsm-sheet-head .rsm-price-now { font-size: 18px; }
.rsm p.rsm-sheet-desc { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--rsm-muted); }
.rsm .rsm-sheet-body { padding: 8px 24px 20px; }

/* Allergen & dietary panel */
.rsm .rsm-info { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #fafaf8; border: 1px solid var(--rsm-line); }
.rsm .rsm-info-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--rsm-ink); }
.rsm .rsm-info-title i { color: var(--rsm-amber); }
.rsm .rsm-info-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rsm .rsm-info-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--rsm-muted); }

/* Option groups — flat rows, "Title (Optional) … Max 1 ⌃" header, circle pickers in the Design System Primary */
.rsm .rsm-group { padding: 18px 0 8px; border-top: 1px solid var(--rsm-line); scroll-margin-top: 12px; }
.rsm .rsm-group:first-child { border-top: 0; padding-top: 4px; }
.rsm button.rsm-group-head {
    display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 6px; padding: 4px 0; border: 0; border-radius: 12px;
    background: none; box-shadow: none; text-align: left; font-family: var(--rsm-font); color: var(--rsm-ink); cursor: pointer;
}
.rsm button.rsm-group-head:focus-visible { outline: 3px solid var(--rsm-brand-ring); outline-offset: 2px; }
.rsm .rsm-group-heading { flex: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.rsm .rsm-group-title { font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--rsm-ink); }
.rsm .rsm-group-tag { font-size: 13px; font-weight: 500; color: var(--rsm-muted); }
.rsm .rsm-group-tag.is-required { color: var(--rsm-brand-dark); font-weight: 600; }
.rsm .rsm-group-tag.is-required.is-done { color: var(--rsm-muted); font-weight: 500; }
.rsm .rsm-group-limit { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--rsm-brand); white-space: nowrap; }
.rsm .rsm-group-limit.is-bumped { color: var(--rsm-red); animation: rsm-bump .45s ease; }
@keyframes rsm-bump { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.rsm .rsm-group-chevron { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: -5px; border-radius: 9999px; font-size: 12px; color: var(--rsm-brand); transition: transform .35s cubic-bezier(.22, 1, .36, 1), background .15s ease; }
.rsm .rsm-group.is-collapsed .rsm-group-chevron { transform: rotate(180deg); }
/*
 * Collapse / expand: the body's single grid row animates between 1fr and 0fr (a real height
 * transition, whatever the content's height), the content fades and lifts slightly, and the
 * group's bottom padding closes with it. The inner wrapper's 3px padding/negative margin keeps
 * focus rings and the error ring from being clipped by its overflow:hidden.
 * revealError() needs the group it points at open, whatever the guest collapsed.
 */
.rsm .rsm-group { transition: padding-bottom .35s cubic-bezier(.22, 1, .36, 1); }
.rsm .rsm-group-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1); }
.rsm .rsm-group-body-inner {
    min-height: 0; overflow: hidden; margin: -3px; padding: 3px;
    opacity: 1; transform: translateY(0); transition: opacity .25s ease .05s, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.rsm .rsm-group.is-collapsed:not(.rs-item-modal-invalid) { padding-bottom: 12px; }
.rsm .rsm-group.is-collapsed:not(.rs-item-modal-invalid) .rsm-group-body { grid-template-rows: 0fr; }
.rsm .rsm-group.is-collapsed:not(.rs-item-modal-invalid) .rsm-group-body-inner { opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.rsm .rsm-group.is-collapsed:not(.rs-item-modal-invalid) .rsm-group-body-inner * { visibility: hidden; transition: visibility 0s .35s; }
.rsm button.rsm-group-head:hover .rsm-group-chevron { background: var(--rsm-brand-soft); }
@media (prefers-reduced-motion: reduce) {
    .rsm .rsm-group, .rsm .rsm-group-body, .rsm .rsm-group-body-inner, .rsm .rsm-group-chevron { transition: none; }
}
.rsm .rsm-group-hint { margin: -2px 0 6px; font-size: 13px; font-weight: 500; color: var(--rsm-muted); }
.rsm .rsm-group.rs-item-modal-invalid .rsm-group-tag.is-required { color: var(--rsm-red); }
.rsm .rsm-group.rs-item-modal-invalid .rsm-choices { box-shadow: 0 0 0 2px rgba(248, 113, 113, .45); border-radius: 14px; padding: 0 10px; }
.rsm .rsm-choices { display: flex; flex-direction: column; }
.rsm .rsm-choice {
    position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 0; padding: 8px 0;
    background: none; cursor: pointer;
}
.rsm label.rsm-choice:has(input:disabled:not(:checked)) { opacity: .4; cursor: not-allowed; }
.rsm .rsm-choice-img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--rsm-line-2); }
.rsm .rsm-choice-img img { width: 100%; height: 100%; object-fit: cover; }
.rsm .rsm-choice-text { flex: 1; min-width: 0; }
.rsm .rsm-choice-name { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--rsm-ink); }
.rsm .rsm-choice:has(input:checked) .rsm-choice-name, .rsm .rsm-choice.is-active .rsm-choice-name { font-weight: 700; }
.rsm .rsm-choice-desc { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.4; color: var(--rsm-muted); }
.rsm .rsm-choice-allergen { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--rsm-amber); }
.rsm .rsm-choice-price { flex: 0 0 auto; font-size: 14.5px; font-weight: 500; color: var(--rsm-ink-2); white-space: nowrap; }
.rsm .rsm-choice-price.is-free { color: var(--rsm-green); font-weight: 700; }
/* circle pickers: green ring, filled green dot inside a white ring when picked (radio and checkbox alike) */
.rsm input.rsm-radio, .rsm input.rsm-check {
    -webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; border: 2px solid var(--rsm-brand); border-radius: 9999px;
    background: #fff; display: inline-grid; place-content: center; cursor: pointer; transition: background .15s ease, box-shadow .15s ease;
}
.rsm input.rsm-radio:checked, .rsm input.rsm-check:checked { background: var(--rsm-brand); box-shadow: inset 0 0 0 3px #fff; }
.rsm input.rsm-radio:disabled:not(:checked), .rsm input.rsm-check:disabled:not(:checked) { border-color: #cfcfca; cursor: not-allowed; }
.rsm input.rsm-radio:focus-visible, .rsm input.rsm-check:focus-visible { outline: 3px solid var(--rsm-brand-ring); outline-offset: 2px; }
.rsm select.rsm-select { width: 100%; height: 52px; padding: 0 14px; border-radius: 16px; border: 1.5px solid var(--rsm-line); background: #fff; font-family: var(--rsm-font); font-size: 15px; font-weight: 600; color: var(--rsm-ink); }
/* quantity steppers */
.rsm .rsm-stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9999px; background: var(--rsm-line-2); }
.rsm .rsm-stepper button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 9999px; background: transparent; color: var(--rsm-ink); font-size: 12px; transition: background .15s ease; }
.rsm .rsm-stepper button:hover:not(:disabled) { background: #fff; }
.rsm .rsm-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.rsm .rsm-stepper input { width: 26px; border: 0; background: transparent; text-align: center; font-family: var(--rsm-font); font-size: 14px; font-weight: 800; color: var(--rsm-ink); padding: 0; box-shadow: none; outline: none; }
.rsm .rsm-stepper--lg { padding: 4px; }
.rsm .rsm-stepper--lg button { width: 44px; height: 44px; font-size: 14px; }
.rsm .rsm-stepper--lg input, .rsm .rsm-stepper--lg span { width: 34px; font-size: 17px; text-align: center; font-weight: 800; }
/* note */
.rsm .rsm-note { padding-top: 20px; border-top: 1px solid var(--rsm-line-2); }
.rsm .rsm-note-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 800; color: var(--rsm-ink); }
.rsm textarea.rsm-textarea { display: block; width: 100%; min-height: 76px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--rsm-line); background: #fff; font-family: var(--rsm-font); font-size: 14px; color: var(--rsm-ink); resize: vertical; outline: none; box-shadow: none; transition: border-color .15s ease; }
.rsm textarea.rsm-textarea:focus { border-color: var(--rsm-ink); }
/* footer */
.rsm .rsm-sheet-foot { flex: 0 0 auto; padding: 14px 24px 18px; border-top: 1px solid var(--rsm-line); background: #fff; }
.rsm .rsm-sheet-error { margin-bottom: 12px; padding: 10px 14px; border-radius: 14px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13.5px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.rsm .rsm-sheet-actions { display: flex; align-items: center; gap: 12px; }
.rsm button.rsm-submit {
    flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 54px; padding: 0 22px;
    border: 1px solid var(--rsm-btn-border); border-radius: 9999px; background: var(--rsm-btn-bg); color: var(--rsm-btn-color); font-family: var(--rsm-btn-font); font-size: 16px; font-weight: 800;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.rsm button.rsm-submit:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); border-color: var(--rsm-btn-hover-border); }
.rsm button.rsm-submit:active { transform: scale(.985); }
.rsm button.rsm-submit:disabled { opacity: .7; cursor: wait; }
.rsm button.rsm-submit span { white-space: nowrap; }
.rsm button.rsm-submit .rsm-submit-total { font-weight: 700; opacity: .95; }

/* Combo page parts (combo-builder.blade.php): step progress bar, step labels, review buttons, back/next */
.rsm ol.rsm-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rsm ol.rsm-steps > li { flex: 1; min-width: 0; }
.rsm button.rsm-steps-item { display: flex; width: 100%; flex-direction: column; gap: 7px; padding: 0; border: 0; background: none; text-align: left; }
.rsm .rsm-steps-bar { display: block; height: 4px; border-radius: 9999px; background: var(--rsm-line); transition: background .25s ease; }
.rsm .rsm-steps-label { font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--rsm-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease; }
.rsm .rsm-steps-item.is-done .rsm-steps-bar { background: var(--rsm-ink); }
.rsm .rsm-steps-item.is-done .rsm-steps-label { color: var(--rsm-ink-2); }
.rsm .rsm-steps-item.is-current .rsm-steps-bar { background: var(--rsm-brand); }
.rsm .rsm-steps-item.is-current .rsm-steps-label { color: var(--rsm-ink); }
.rsm .rsm-step-count { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rsm-brand); }
.rsm .rsm-step-qty { margin-left: 4px; color: var(--rsm-muted); font-weight: 700; }
.rsm .rsm-pick-n { min-width: 22px; text-align: center; font-size: 15px; font-weight: 800; color: var(--rsm-ink); }
.rsm button.rsm-review-change { flex: 0 0 auto; height: 32px; padding: 0 14px; border: 1px solid var(--rsm-line); border-radius: 9999px; background: #fff; color: var(--rsm-ink); font-size: 13px; font-weight: 700; transition: border-color .15s ease; }
.rsm button.rsm-review-change:hover { border-color: var(--rsm-ink); }
.rsm .rsm-review-fixed { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--rsm-green); }
.rsm button.rsm-back { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 9999px; background: var(--rsm-line-2); color: var(--rsm-ink); font-size: 15px; transition: background .15s ease, opacity .15s ease; }
.rsm button.rsm-back:hover:not(:disabled) { background: var(--rsm-line); }
.rsm button.rsm-back:disabled { opacity: .4; cursor: default; }
.rsm button.rsm-submit.rsm-submit--center { justify-content: center; gap: 10px; }
.rsm button.rsm-submit.rsm-submit--center:disabled { background: var(--rsm-line); color: var(--rsm-muted); box-shadow: none; opacity: 1; cursor: not-allowed; }
@media (max-width: 639.98px) { .rsm button.rsm-back { width: 48px; height: 48px; } }

/* Phones: a bottom sheet */
@media (max-width: 639.98px) {
    #orange-modal .modal-dialog.rsm-dialog { position: fixed; inset: auto 0 0 0; display: block; width: 100%; max-width: 100%; min-height: 0; margin: 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
    #orange-modal.show .modal-dialog.rsm-dialog { transform: translateY(0); }
    #orange-modal .rsm .rsm-sheet { max-height: 94vh; max-height: calc(100dvh - 12px); border-radius: 24px 24px 0 0; }
    .rsm .rsm-sheet-media { height: 240px; }
    .rsm .rsm-sheet-head { padding: 16px 18px 4px; }
    .rsm h4.rsm-sheet-title { font-size: 21px; }
    .rsm .rsm-sheet-body { padding: 4px 18px 16px; }
    .rsm .rsm-sheet-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
    .rsm .rsm-stepper--lg button { width: 40px; height: 40px; }
    .rsm .rsm-stepper--lg input, .rsm .rsm-stepper--lg span { width: 26px; }
    .rsm button.rsm-submit { height: 50px; padding: 0 18px; font-size: 15px; }
    .rsm .rsm-sheet-grabber { position: absolute; left: 50%; top: 8px; z-index: 3; width: 40px; height: 5px; margin-left: -20px; border-radius: 9999px; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
}
@media (max-width: 639.98px) and (max-height: 720px) { .rsm .rsm-sheet-media { height: 190px; } }
@media (max-width: 374.98px) {
    .rsm button.rsm-submit { flex-direction: column; justify-content: center; gap: 0; line-height: 1.15; }
    .rsm button.rsm-submit .rsm-submit-total { font-size: 13px; }
}

/* ------------------------------------------------------------- /cart page */
/* One card, one row per line: thumb · name + what was chosen · qty · price · remove. Phones: qty/price/remove drop under the text. */
.rsm ul.rsm-cart { margin: 0; padding: 0 var(--rsm-s3); list-style: none; background: var(--rsm-card); border: 1px solid var(--rsm-line); border-radius: var(--rsm-radius); font-family: var(--rsm-font); }
.rsm .rsm-cart-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--rsm-s2); padding: var(--rsm-s3) 0; border-top: 1px solid var(--rsm-line-2); }
.rsm .rsm-cart-row:first-child { border-top: 0; }
.rsm .rsm-cart-thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--rsm-line-2); }
.rsm .rsm-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rsm .rsm-cart-thumb .rsm-ph { font-size: 20px; }
.rsm .rsm-cart-main { min-width: 0; }
.rsm p.rsm-cart-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--rsm-ink); }
.rsm p.rsm-cart-detail { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--rsm-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rsm p.rsm-cart-note { margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--rsm-ink-2); }
.rsm p.rsm-cart-note i { color: var(--rsm-faint); margin-right: 4px; }
.rsm .rsm-cart-actions { display: flex; align-items: center; gap: var(--rsm-s2); }
.rsm .rsm-cart-price { min-width: 72px; text-align: right; font-size: 16px; font-weight: 800; color: var(--rsm-ink); white-space: nowrap; }
.rsm button.rsm-cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 9999px; background: transparent; color: var(--rsm-faint); font-size: 14px; transition: background .15s ease, color .15s ease; }
.rsm button.rsm-cart-remove:hover { background: #fef2f2; color: var(--rsm-red); }
@media (max-width: 639.98px) {
    .rsm ul.rsm-cart { padding: 0 var(--rsm-s2); }
    .rsm .rsm-cart-row { grid-template-columns: 56px minmax(0, 1fr); align-items: start; padding: var(--rsm-s2) 0; }
    .rsm .rsm-cart-thumb { width: 56px; height: 56px; }
    .rsm .rsm-cart-actions { grid-column: 2; justify-content: space-between; gap: var(--rsm-s1); }
    .rsm .rsm-cart-price { margin-left: auto; min-width: 0; }
}

/* /cart order summary (cart-page.blade.php) */
.rsm .rsm-sum { padding: var(--rsm-s3); border-radius: var(--rsm-radius); background: var(--rsm-card); border: 1px solid var(--rsm-line); font-family: var(--rsm-font); color: var(--rsm-ink); }
.rsm .rsm-sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--rsm-s1); }
.rsm h2.rsm-sum-title { font-family: var(--rsm-font); font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--rsm-ink); }
.rsm .rsm-sum-count { font-size: 13px; font-weight: 600; color: var(--rsm-muted); }
/* The shared fulfillment control (x-public.fulfillment, Tailwind), compacted here: smaller icon, "Change" as a text link, one-line label. */
.rsm .rsm-sum-fulfil { margin-top: var(--rsm-s2); }
.rsm .rsm-sum-fulfil > div { gap: 10px !important; padding: 10px 12px !important; border-radius: 16px !important; background: var(--rsm-line-2) !important; }
.rsm .rsm-sum-fulfil > div > div > span:first-child { width: 36px !important; height: 36px !important; }
.rsm .rsm-sum-fulfil > div > div > span:last-child { padding-right: 0 !important; font-size: 14px; font-weight: 700; line-height: 1.3; }
.rsm .rsm-sum-fulfil a[role="button"] { padding: 6px 4px !important; background: transparent !important; color: var(--rsm-brand-dark) !important; font-size: 13px !important; font-weight: 800 !important; }
.rsm .rsm-sum-fulfil a[role="button"]:hover { text-decoration: underline !important; }
.rsm .rsm-sum-block { margin-top: var(--rsm-s2); }
.rsm form.rsm-sum-field { display: flex; align-items: center; gap: 8px; height: 48px; margin: 0; padding: 0 5px 0 16px; border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.rsm form.rsm-sum-field:focus-within { border-color: var(--rsm-ink); box-shadow: 0 0 0 4px rgba(20, 20, 23, .06); }
.rsm form.rsm-sum-field > i { color: var(--rsm-faint); font-size: 13px; }
.rsm form.rsm-sum-field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; box-shadow: none; background: transparent; font-family: var(--rsm-font); font-size: 14px; font-weight: 600; color: var(--rsm-ink); text-transform: uppercase; }
.rsm form.rsm-sum-field input::placeholder { text-transform: none; font-weight: 500; color: var(--rsm-faint); }
.rsm form.rsm-sum-field button { flex: 0 0 auto; height: 38px; padding: 0 16px; border: 1px solid var(--rsm-btn-border); border-radius: 9999px; background: var(--rsm-btn-bg); color: var(--rsm-btn-color); font-family: var(--rsm-btn-font); font-size: 13px; font-weight: 800; transition: background .15s ease; }
.rsm form.rsm-sum-field button:hover { background: var(--rsm-btn-hover-bg); color: var(--rsm-btn-hover-color); }
.rsm .rsm-sum-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; padding: 0 6px 0 16px; border-radius: 9999px; background: var(--rsm-green-soft); color: var(--rsm-green); font-size: 14px; font-weight: 600; }
.rsm .rsm-sum-applied button { height: 36px; padding: 0 12px; border: 0; border-radius: 9999px; background: transparent; color: var(--rsm-green); font-size: 13px; font-weight: 800; }
.rsm .rsm-sum-applied button:hover { background: rgba(15, 159, 95, .1); }
.rsm p.rsm-sum-error { margin-top: 6px; padding-left: 16px; font-size: 12.5px; font-weight: 700; color: var(--rsm-red); }
.rsm details.rsm-sum-gift { margin-top: 10px; }
.rsm details.rsm-sum-gift summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: var(--rsm-ink-2); }
.rsm details.rsm-sum-gift summary::-webkit-details-marker { display: none; }
.rsm details.rsm-sum-gift summary > i:first-child { color: var(--rsm-faint); }
.rsm .rsm-sum-chev { margin-left: auto; font-size: 11px; color: var(--rsm-faint); transition: transform .2s ease; }
.rsm details.rsm-sum-gift[open] .rsm-sum-chev { transform: rotate(180deg); }
.rsm dl.rsm-sum-rows { display: flex; flex-direction: column; gap: 8px; margin: var(--rsm-s3) 0 0; padding-top: var(--rsm-s2); border-top: 1px solid var(--rsm-line-2); }
.rsm dl.rsm-sum-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.rsm dl.rsm-sum-rows dt { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-weight: 500; color: var(--rsm-muted); }
.rsm dl.rsm-sum-rows dd { margin: 0; flex: 0 0 auto; font-weight: 700; color: var(--rsm-ink); }
.rsm dl.rsm-sum-rows > div.is-discount dd { color: var(--rsm-green); }
.rsm dl.rsm-sum-rows dt button { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 0; border-radius: 9999px; background: var(--rsm-line-2); color: var(--rsm-muted); font-size: 9px; }
.rsm .rsm-sum-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: var(--rsm-s2); padding-top: var(--rsm-s2); border-top: 1px solid var(--rsm-line-2); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.rsm p.rsm-sum-note { margin-top: 2px; text-align: right; font-size: 12px; color: var(--rsm-faint); }
.rsm .rsm-sum-warn { margin-top: var(--rsm-s2); padding: 12px 14px; border-radius: 16px; background: var(--rsm-amber-soft); border: 1px solid #fde3b4; color: #7c3d06; font-size: 13px; font-weight: 600; line-height: 1.45; }
.rsm .rsm-sum-warn p { display: flex; gap: 8px; }
.rsm .rsm-sum-warn p i { margin-top: 3px; color: #d97706; }
.rsm .rsm-sum-warn button[data-reposyn-cart-use-location] { width: 100%; justify-content: center; margin-top: 10px !important; height: 38px !important; }
.rsm button.rsm-submit.rsm-sum-cta { width: 100%; margin-top: var(--rsm-s3); }
.rsm button.rsm-submit.rsm-sum-cta:disabled { justify-content: center; background: var(--rsm-line); color: var(--rsm-muted); box-shadow: none; opacity: 1; cursor: not-allowed; }
.rsm a.rsm-sum-link { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 6px; border-radius: 9999px; font-size: 14px; font-weight: 700; color: var(--rsm-ink-2); text-decoration: none; }
.rsm a.rsm-sum-link:hover { background: var(--rsm-line-2); color: var(--rsm-ink); }
.rsm p.rsm-sum-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--rsm-faint); }

/* ------------------------------------------------------ combo page (?combo=) */
/* combo-builder.blade.php: the menu in "build a combo" mode — header, step bar, the step's category bar + item cards, fixed bottom bar. */
.rsm .rsm-combo-page { padding-bottom: 132px; }
.rsm .rsm-cb-head { display: flex; align-items: center; gap: var(--rsm-s2); padding-top: var(--rsm-s4); }
.rsm a.rsm-cb-back { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff; color: var(--rsm-ink); text-decoration: none; transition: border-color .15s ease; }
.rsm a.rsm-cb-back:hover { border-color: var(--rsm-ink); }
.rsm .rsm-cb-title { min-width: 0; }
.rsm .rsm-cb-title h1.rsm-h2 { margin-top: 2px; }
.rsm ol.rsm-steps.rsm-cb-steps { margin-top: var(--rsm-s3); }
.rsm .rsm-cb-nav { margin-top: var(--rsm-s3); }
.rsm .rsm-cb-navlead { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
@media (max-width: 767.98px) { .rsm .rsm-cb-navlead { width: 100%; } .rsm .rsm-cb-navlead .rsm-search { flex: 1; width: auto; } }
.rsm a.rsm-cb-navback { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 9999px; border: 1px solid var(--rsm-line); background: #fff; color: var(--rsm-ink); text-decoration: none; transition: border-color .15s ease; }
.rsm a.rsm-cb-navback:hover { border-color: var(--rsm-ink); }
.rsm [id^="combo-cat-"] { scroll-margin-top: calc(var(--rsm-sticky-top, 64px) + 86px); }
@media (max-width: 767.98px) { .rsm [id^="combo-cat-"] { scroll-margin-top: calc(var(--rsm-sticky-top, 64px) + 136px); } }
.rsm .rsm-cb-stephead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--rsm-s2); padding-top: var(--rsm-s3); }
.rsm .rsm-cb-stephead .rsm-step-qty { font-size: .8em; }
.rsm .rsm-item.is-picked { border-color: var(--rsm-ink); box-shadow: 0 0 0 1px var(--rsm-ink); }
.rsm .rsm-item.is-off { opacity: .5; }
.rsm .rsm-cb-review { margin-top: var(--rsm-s3); }
.rsm .rsm-cb-review p.rsm-cart-name + p.rsm-cart-name { margin-top: 2px; }
.rsm .rsm-cb-extra { font-size: 13px; font-weight: 700; color: var(--rsm-brand-dark); }
.rsm .rsm-cb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--rsm-line); box-shadow: 0 -8px 24px -16px rgba(20, 20, 23, .25); }
.rsm .rsm-cb-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--rsm-s2); padding-top: var(--rsm-s2); padding-bottom: calc(var(--rsm-s2) + env(safe-area-inset-bottom, 0px)); }
.rsm .rsm-cb-picks { display: flex; flex: 1; min-width: 0; align-items: center; gap: var(--rsm-s1); overflow-x: auto; scrollbar-width: none; }
.rsm .rsm-cb-picks::-webkit-scrollbar { display: none; }
.rsm .rsm-cb-count { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--rsm-ink); }
.rsm .rsm-cb-pick { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px 0 12px; border-radius: 9999px; background: var(--rsm-line-2); font-size: 13px; font-weight: 700; color: var(--rsm-ink); }
.rsm .rsm-cb-pick span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsm .rsm-cb-pick button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; border-radius: 9999px; background: #fff; color: var(--rsm-muted); font-size: 11px; }
.rsm .rsm-cb-pick button:hover { color: var(--rsm-red); }
.rsm .rsm-cb-actions { display: flex; flex: 0 0 auto; align-items: center; gap: var(--rsm-s1); }
.rsm .rsm-cb-actions button.rsm-submit { flex: 0 0 auto; min-width: 240px; }
@media (max-width: 639.98px) {
    .rsm .rsm-cb-head { padding-top: var(--rsm-s3); }
    .rsm .rsm-cb-bar-inner { flex-direction: column; align-items: stretch; gap: var(--rsm-s1); }
    .rsm .rsm-cb-actions button.rsm-submit { flex: 1; min-width: 0; }
    .rsm .rsm-combo-page { padding-bottom: 170px; }
}

/* ------------------------------------------------------------------ toasts */
.rsm .rsm-toasts { position: fixed; left: 50%; bottom: 20px; z-index: 1090; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 24px); transform: translateX(-50%); pointer-events: none; }
.rsm .rsm-toast { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 8px 8px 16px; border-radius: 9999px; background: var(--rsm-ink); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); pointer-events: auto; animation: rsm-toast-in .32s cubic-bezier(.22, 1, .36, 1) both; }
.rsm .rsm-toast.is-ok i { color: #4ade80; }
.rsm .rsm-toast.is-error { padding-right: 18px; border-radius: 18px; background: #b91c1c; }
.rsm .rsm-toast span { min-width: 0; }
.rsm .rsm-toast button { flex: 0 0 auto; height: 34px; padding: 0 14px; border: 0; border-radius: 9999px; background: #fff; color: var(--rsm-ink); font-size: 13px; font-weight: 800; }
@keyframes rsm-toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

/* ── Hero v2: order type + time row ───────────────────────────────────────── */
.rsm .rsm-hero-v2-order { margin-top: 14px; }
