/* ── Restaurant Module – Public Page Styles ───────────────────────── */

/* Hero */
.rm-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rm-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0;
}
.rm-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.rm-hero-sm {
    padding: 50px 0;
}
.rm-hero-sm h1 {
    font-size: 32px;
}

.rm-menu-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    background: #1f130d;
    padding: 56px 0;
}

.rm-menu-hero .container {
    position: relative;
    z-index: 2;
}

.rm-menu-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rm-menu-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31, 19, 13, 0.9) 0%, rgba(31, 19, 13, 0.6) 54%, rgba(31, 19, 13, 0.78) 100%),
        linear-gradient(180deg, rgba(31, 19, 13, 0.12), rgba(31, 19, 13, 0.72));
}

.rm-menu-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.rm-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.rm-menu-hero .btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.54);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.rm-menu-hero .btn-secondary:hover {
    color: #111827;
    background: #fff;
}

.rm-order-start {
    padding: 26px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.rm-order-start-head {
    max-width: 760px;
    margin-bottom: 14px;
}

.rm-order-start-head h2,
.rm-section-heading h2 {
    margin: 0 0 8px;
    color: var(--color-text, #111827);
}

.rm-order-start-head p {
    color: var(--color-text-light, #475569);
    line-height: 1.55;
}

.rm-order-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.rm-order-steps article {
    border: 1px solid var(--color-border, #dbe3ee);
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
}

.rm-order-steps strong {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
}

.rm-order-steps h3 {
    margin: 10px 0 6px;
    color: #111827;
    font-size: 16px;
}

.rm-order-steps p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

/* Specials banner */
.rm-specials-banner {
    background: var(--color-bg-alt, #f8f9fa);
    padding: 34px 0 38px;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}
.rm-specials-banner h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.rm-specials-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    overflow: visible;
}
.rm-special-card {
    display: grid;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius, 8px);
    padding: 18px;
    min-width: 0;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rm-special-card-link {
    cursor: pointer;
}

.rm-special-card-link:hover,
.rm-special-card-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(79, 26, 15, .16);
    border-color: rgba(141, 36, 24, .38);
    outline: none;
}

.rm-special-card-link:hover .rm-special-action,
.rm-special-card-link:focus-visible .rm-special-action {
    background: var(--color-primary);
    color: #fff;
}

.rm-special-card h3 {
    font-size: 18px;
    line-height: 1.2;
    color: var(--color-primary);
    margin: 0;
}
.rm-special-card p {
    font-size: 14px;
    color: var(--color-text-light, #555);
    line-height: 1.5;
    margin: 0;
}
.rm-special-price {
    display: block;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 18px;
    line-height: 1;
}

.rm-special-action {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin: 2px 0 0;
    padding: 7px 10px;
    border: 1px solid rgba(141, 36, 24, .2);
    border-radius: 8px;
    background: rgba(255, 249, 239, .9);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}

.rm-special-menu {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 249, 239, .82);
    font-size: 13px;
    color: var(--color-text, #111827);
}

.rm-special-menu-item {
    display: inline;
    color: var(--color-primary);
    font-weight: 700;
}

.rm-special-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    color: var(--color-text-light, #555);
    font-size: 12px;
}

.rm-special-allergens > span:first-child {
    font-weight: 800;
    color: var(--color-text, #111827);
}

@media (max-width: 760px) {
    .rm-specials-banner {
        padding: 30px 0 34px;
    }
    .rm-specials-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .rm-special-card {
        padding: 18px 16px;
    }
}

/* Section navigation (category pills) */
.rm-section-nav {
    position: sticky;
    top: 64px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.rm-section-nav .container {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.rm-section-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--color-border, #e0e0e0);
    color: var(--color-text, #1a1a2e);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.rm-section-pill:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Category sections */
.rm-category-section {
    padding: 48px 0;
}
.rm-category-section:nth-child(even) {
    background: var(--color-bg-alt, #f8f9fa);
}
.rm-category-section h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--color-text);
}
.rm-cat-desc {
    font-size: 15px;
    color: var(--color-text-light, #555);
    margin-bottom: 24px;
    max-width: 700px;
}

/* Menu grid */
.rm-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Item cards */
.rm-item-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}
.rm-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 4px 24px rgba(0,0,0,0.12));
}
.rm-item-card.rm-featured {
    border-color: var(--color-accent);
    border-width: 2px;
    position: relative;
}
.rm-item-card.rm-featured::before {
    content: "Featured";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 0 var(--radius, 8px);
    text-transform: uppercase;
    letter-spacing: 0;
    z-index: 1;
}
.rm-item-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}
.rm-item-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.rm-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}
.rm-item-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.3;
}
.rm-item-name:hover {
    color: var(--color-primary);
}
.rm-item-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    flex-shrink: 0;
}
.rm-item-desc {
    font-size: 14px;
    color: var(--color-text-light, #555);
    line-height: 1.5;
    margin-bottom: 8px;
    flex: 1;
}
.rm-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

/* Dietary badges */
.rm-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}
.rm-spicy {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.rm-vegan {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.rm-veg {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.rm-gf {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fef08a;
}
.rm-allergen {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

/* Ratings */
.rm-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}
.rm-stars {
    color: #f59e0b;
    letter-spacing: 0;
}
.rm-rating-count {
    color: var(--color-text-light, #555);
    font-size: 12px;
}

/* Order button (in card) */
.rm-order-btn.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
    min-height: 32px;
    align-self: flex-start;
}

.rm-order-btn.rm-added {
    background: #166534;
    color: #ffffff;
}

.rm-order-btn.rm-needs-options {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.rm-cart-toast {
    position: fixed;
    top: 80px;
    right: 18px;
    z-index: 99999;
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: min(360px, calc(100vw - 24px));
    background: #166534;
    color: #ffffff;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    transition: opacity 0.3s;
}

.rm-cart-toast a {
    color: #ffffff;
    text-decoration: underline;
    white-space: nowrap;
}

.rm-floating-cart {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 99990;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: min(340px, calc(100vw - 24px));
    padding: 12px 16px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.28);
}

.rm-floating-cart strong {
    padding: 3px 8px;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
}

/* CTA */
.rm-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: 64px 0;
}
.rm-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #fff;
}
.rm-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}
.rm-cta .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

/* ── Breadcrumb ── */
.rm-breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--color-text-light, #555);
    background: var(--color-bg-alt, #f8f9fa);
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}
.rm-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}
.rm-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Item detail page ── */
.rm-item-detail {
    padding: 40px 0;
}
.rm-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.rm-detail-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius, 8px);
    box-shadow: var(--shadow-lg, 0 4px 24px rgba(0,0,0,0.12));
}
.rm-detail-info h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.rm-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.rm-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 15px;
}
.rm-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.rm-detail-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--color-text);
}
.rm-detail-calories {
    font-size: 14px;
    color: var(--color-text-light, #555);
    margin-bottom: 16px;
}
.rm-detail-ingredients {
    margin-bottom: 20px;
}
.rm-detail-ingredients h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.rm-detail-ingredients p {
    font-size: 14px;
    color: var(--color-text-light, #555);
}

/* Modifier groups */
.rm-modifiers {
    margin: 20px 0;
    border-top: 1px solid var(--color-border, #e0e0e0);
    padding-top: 20px;
}
.rm-modifier-group {
    margin-bottom: 20px;
}
.rm-modifier-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.rm-required {
    font-size: 11px;
    color: #dc2626;
    font-weight: 600;
    text-transform: uppercase;
}
.rm-modifier-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 14px;
}
.rm-modifier-option:hover {
    background: var(--color-bg-alt, #f8f9fa);
}
.rm-modifier-option input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.rm-mod-price {
    font-size: 12px;
    color: var(--color-text-light, #555);
}

/* ── Reviews section ── */
.rm-reviews-section {
    padding: 48px 0;
    background: var(--color-bg-alt, #f8f9fa);
}
.rm-reviews-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.rm-no-reviews {
    color: var(--color-text-light, #555);
    font-size: 15px;
    margin-bottom: 24px;
}
.rm-reviews-list {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}
.rm-review-card {
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    padding: 16px 20px;
}
.rm-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.rm-review-name {
    font-weight: 600;
    font-size: 15px;
}
.rm-review-text {
    font-size: 14px;
    color: var(--color-text-light, #555);
    line-height: 1.6;
}

.rm-review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 132px));
    gap: 10px;
    margin-top: 12px;
}

.rm-review-photo {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border, #e0e0e0);
    background: #fff7ed;
    aspect-ratio: 1;
}

.rm-review-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review form */
.rm-review-form {
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    padding: 24px;
    max-width: 600px;
}
.rm-review-form h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.rm-star-input {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.rm-star-input span {
    font-size: 28px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s;
    user-select: none;
}
.rm-star-input span.active,
.rm-star-input span:hover {
    color: #f59e0b;
}

.rm-review-photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.rm-review-photo-chip,
.rm-review-photo-note {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid rgba(141, 36, 24, .18);
    color: #5b342f;
    font-size: 12px;
    font-weight: 700;
}

.rm-review-photo-note {
    background: #fef2f2;
    color: #991b1b;
}

/* ── Reservation page ── */
.rm-reservation-section {
    padding: 48px 0;
}
.rm-reservation-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.rm-reservation-form-wrap {
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    padding: 32px;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}
.rm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rm-reservation-info {
    padding: 0 8px;
}
.rm-reservation-info h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.rm-reservation-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}
.rm-reservation-info li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-light, #555);
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    padding-left: 20px;
    position: relative;
}
.rm-reservation-info li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}
.rm-res-address {
    margin-bottom: 20px;
}
.rm-res-address h4 {
    font-size: 15px;
    margin-bottom: 4px;
}
.rm-res-contact {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border, #e0e0e0);
}
.rm-res-contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}
.rm-slot-loading {
    font-size: 13px;
    color: var(--color-primary);
    margin-top: 6px;
}

/* ── Cart page ── */
.rm-cart-section {
    padding: 48px 0;
    min-height: 60vh;
}
.rm-cart-section h1 {
    font-size: 28px;
    margin-bottom: 24px;
}
.rm-cart-empty {
    text-align: center;
    padding: 24px 0 44px;
    max-width: 860px;
    margin: 0 auto;
}
.rm-cart-empty p {
    font-size: 16px;
    color: var(--color-text-light, #555);
    margin-bottom: 16px;
}
.rm-cart-empty h2 {
    margin: 0 0 10px;
    color: var(--color-text, #111827);
    font-size: clamp(24px, 7vw, 36px);
    line-height: 1.05;
}
.rm-empty-kicker {
    display: inline-flex;
    margin: 0 0 12px !important;
    padding: 6px 10px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--color-primary, #b91c1c) 12%, #fff);
    color: var(--color-primary, #b91c1c) !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px !important;
}
.rm-empty-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 24px;
    text-align: left;
}
.rm-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.rm-empty-option {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 132px;
    padding: 14px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    color: inherit;
    background: #fff;
    text-decoration: none;
}
.rm-empty-option strong {
    color: var(--color-text, #111827);
    font-size: 16px;
}
.rm-empty-option span {
    color: var(--color-text-light, #64748b);
    font-size: 13px;
    line-height: 1.45;
}
.rm-empty-option:focus,
.rm-empty-option:hover {
    border-color: var(--color-primary, #b91c1c);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary, #b91c1c) 15%, transparent);
}
.rm-cart-items {
    margin-bottom: 24px;
}
.rm-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    margin-bottom: 8px;
    background: #fff;
}
.rm-cart-item-info {
    flex: 1;
}
.rm-cart-item-name {
    font-weight: 600;
    font-size: 15px;
}
.rm-cart-item-mods {
    font-size: 12px;
    color: var(--color-text-light, #555);
    margin-top: 2px;
}
.rm-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px;
}
.rm-cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rm-cart-item-qty button:hover {
    background: var(--color-bg-alt, #f8f9fa);
}
.rm-cart-item-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-accent);
    white-space: nowrap;
}
.rm-cart-item-remove {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    margin-left: 12px;
}
.rm-cart-summary {
    background: var(--color-bg-alt, #f8f9fa);
    border-radius: var(--radius, 8px);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.rm-cart-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}
.rm-cart-total {
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid var(--color-border, #e0e0e0);
    padding-top: 12px;
    margin-top: 4px;
}
.rm-cart-guest-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #e0e0e0);
}
.rm-cart-guest-info h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

/* ── Order success page ── */
.rm-success-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.rm-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 40px;
    line-height: 80px;
    text-align: center;
    margin: 0 auto 24px;
}
.rm-success-section h1 {
    font-size: 32px;
    margin-bottom: 12px;
}
.rm-success-msg {
    font-size: 16px;
    color: var(--color-text-light, #555);
    margin-bottom: 32px;
}
.rm-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Restaurant Homepage (rh-*) ── */

.rh-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.rh-btn-reserve {
    border-color: #fff;
    color: #fff;
}
.rh-btn-reserve:hover {
    background: rgba(255,255,255,0.15);
}

/* Section title shared style */
.rh-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text, #1a1a2e);
}

/* Featured items grid */
.rh-featured {
    padding: 64px 0;
}
.rh-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.rh-featured-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}
.rh-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 4px 24px rgba(0,0,0,0.12));
}
.rh-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.rh-featured-body {
    padding: 16px 20px;
}
.rh-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.rh-featured-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
}
.rh-featured-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-accent, #e63946);
    white-space: nowrap;
}
.rh-featured-desc {
    font-size: 14px;
    color: var(--color-text-light, #555);
    line-height: 1.5;
    margin-bottom: 8px;
}
.rh-featured-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rh-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-bg-alt, #f8f9fa);
    border: 1px solid var(--color-border, #e0e0e0);
}
.rh-badge-spicy {
    background: #fef2f2;
    border-color: #fecaca;
}
.rh-see-all {
    text-align: center;
    margin-top: 32px;
}

/* Category grid */
.rh-categories {
    padding: 64px 0;
}
.rh-cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.rh-cat-card {
    display: block;
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius, 8px);
    padding: 20px 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}
.rh-cat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 4px 24px rgba(0,0,0,0.12));
    border-color: var(--color-primary);
}
.rh-cat-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text, #1a1a2e);
}
.rh-cat-desc {
    font-size: 14px;
    color: var(--color-text-light, #555);
    margin-bottom: 8px;
    line-height: 1.4;
}
.rh-cat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About section */
.rh-about {
    padding: 64px 0;
}
.rh-about-text {
    font-size: 16px;
    color: var(--color-text-light, #555);
    text-align: center;
    line-height: 1.8;
}

/* Hours & Location */
.rh-hours-location {
    padding: 64px 0;
}
.rh-hl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.rh-hours h3,
.rh-location h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-text, #1a1a2e);
}
.rh-hours-table {
    width: 100%;
    border-collapse: collapse;
}
.rh-hours-table tr {
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}
.rh-hours-table td {
    padding: 10px 0;
    font-size: 15px;
}
.rh-hours-day {
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    width: 40%;
}
.rh-hours-time {
    color: var(--color-text-light, #555);
}
.rh-loc-item {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--color-text, #1a1a2e);
}
.rh-loc-item a {
    color: var(--color-primary);
    text-decoration: none;
}
.rh-loc-item a:hover {
    text-decoration: underline;
}

/* CTA section */
.rh-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}
.rh-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #fff;
}
.rh-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}
.rh-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.rh-btn-cta-reserve {
    background: #fff;
    color: var(--color-primary);
}
.rh-btn-cta-call {
    border-color: #fff;
    color: #fff;
}

.rm-fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 18px;
}

.rm-choice-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 118px;
    padding: 14px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    background: var(--color-surface, #fff);
    cursor: pointer;
}

.rm-choice-card input {
    align-self: flex-start;
}

.rm-choice-card:has(input:checked) {
    border-color: var(--color-primary, #0f766e);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary, #0f766e) 18%, transparent);
}

.rm-choice-card span {
    font-weight: 800;
    color: var(--color-text, #0f172a);
}

.rm-choice-card small,
.rm-help-text {
    display: block;
    color: var(--color-text-light, #64748b);
    font-size: 13px;
    line-height: 1.45;
}

.rm-zone-row {
    align-items: end;
    margin-top: 10px;
}

.rm-zone-row .btn {
    min-height: 44px;
}

.rm-pay-forward-privacy {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary, #0f766e) 22%, var(--color-border, #e2e8f0));
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-primary, #0f766e) 7%, #fff);
}

.rm-privacy-note {
    margin: 0;
    color: var(--color-text, #0f172a);
    font-size: 13px;
    line-height: 1.45;
}

.rm-profile-cta {
    padding: 24px 0 48px;
    background: var(--color-bg-alt, #f8fafc);
}

.rm-profile-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    background: var(--color-surface, #fff);
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}

.rm-profile-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.18;
}

.rm-profile-form {
    margin-top: 18px;
}

/* Guest happiness / recovery */
.rm-feedback-section {
    padding: 48px 0;
    min-height: 70vh;
    background: var(--color-bg-alt, #f8fafc);
}

.rm-feedback-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
}

.rm-feedback-card h1 {
    margin: 0 0 10px;
    font-size: 30px;
}

.rm-eyebrow {
    margin: 0 0 6px;
    color: var(--color-primary, #0f766e);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rm-feedback-form {
    margin-top: 20px;
}

.rm-rating-choice {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
}

.rm-rating-choice legend {
    padding: 0 6px;
    font-weight: 800;
}

.rm-rating-choice label,
.rm-check-row {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 36px;
}

.rm-rating-choice input,
.rm-check-row input {
    width: 18px;
    height: 18px;
}

.rm-feedback-result {
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
}

.rm-feedback-result strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.rm-feedback-result p {
    margin: 6px 0;
}

.rm-feedback-result textarea {
    width: 100%;
    margin-top: 8px;
    min-height: 110px;
}

.rm-feedback-result.happy {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.rm-feedback-result.recovery {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.rm-feedback-result.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.rm-table-credit-panel {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #f8fafc;
}

.rm-table-credit-panel h2 {
    margin: 0 0 8px;
    color: #0f172a;
}

.rm-table-credit-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.rm-table-credit-card {
    padding: 14px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rm-table-credit-card h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 18px;
}

.rm-table-credit-amount {
    margin: 0 0 8px;
    color: #166534;
    font-weight: 800;
}

.rm-table-credit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* ── Dedicated cart page polish ── */
body:has(.rm-cart-section) .rm-cart-section {
    padding-bottom: 104px;
}

body:has(.rm-cart-section) .liq-cart-icon,
body:has(.rm-cart-section) .rm-floating-cart,
body:has(.rm-cart-section) .rm-cart-toast {
    display: none !important;
}

body:has(.rm-cart-section) .liq-support-fab {
    left: auto !important;
    right: 24px !important;
}

body:has(.rm-cart-section) .liq-support-panel {
    left: auto !important;
    right: 24px !important;
}

/* ── Responsive ── */
@media (min-width: 600px) {
    .rh-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rh-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rh-hl-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .rh-featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .rh-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 599px) {
    .rh-featured { padding: 40px 0; }
    .rh-categories { padding: 40px 0; }
    .rh-about { padding: 40px 0; }
    .rh-hours-location { padding: 40px 0; }
    .rh-cta { padding: 40px 0; }
    .rh-section-title { font-size: 22px; }
}

/* ── Existing Responsive ── */
@media (min-width: 600px) {
    .rm-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .rm-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rm-reservation-section .container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}
@media (min-width: 1024px) {
    .rm-menu-grid {
        grid-template-columns: 1fr;
    }
    .rm-item-card {
        flex-direction: row;
    }
    .rm-hero h1 {
        font-size: 42px;
    }
}
@media (max-width: 599px) {
    body:has(.rm-cart-section) .rm-cart-section {
        padding-bottom: 122px;
    }
    body:has(.rm-cart-section) .liq-support-fab {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        left: auto !important;
        right: 16px !important;
    }
    body:has(.rm-cart-section) .liq-support-panel {
        left: 14px !important;
        right: 14px !important;
    }
    body:has(.rm-cart-section):has(#rmCartEmpty:not([style*="display:none"])) .liq-support-fab {
        display: none !important;
    }
    body:has(.rm-cart-section):has(#rmCartEmpty:not([style*="display:none"])) .liq-support-panel {
        left: 14px !important;
        right: 14px !important;
    }
    .rm-menu-hero {
        min-height: 250px;
        padding: 38px 0;
    }
    .rm-menu-hero-bg::after {
        background:
            linear-gradient(90deg, rgba(31, 19, 13, 0.9), rgba(31, 19, 13, 0.68)),
            linear-gradient(180deg, rgba(31, 19, 13, 0.2), rgba(31, 19, 13, 0.78));
    }
    .rm-order-start {
        padding: 22px 0;
    }
    .rm-order-steps {
        gap: 8px;
    }
    .rm-order-steps article {
        padding: 10px;
    }
    .rm-order-steps h3 {
        margin: 8px 0 4px;
    }
    .rm-item-card {
        flex-direction: column;
    }
    .rm-item-img {
        width: 100%;
        height: 180px;
    }
    .rm-form-row {
        grid-template-columns: 1fr;
    }
    .rm-fulfillment-grid {
        grid-template-columns: 1fr;
    }
    .rm-empty-options {
        grid-template-columns: 1fr;
    }
    .rm-empty-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .rm-empty-actions .btn {
        width: 100%;
    }
    .rm-zone-row .btn {
        width: 100%;
    }
    .rm-feedback-card {
        padding: 20px;
    }
    .rm-feedback-card h1 {
        font-size: 26px;
    }
    .rm-hero h1 {
        font-size: 28px;
    }
    .rm-hero p {
        font-size: 15px;
    }
    .rm-section-nav {
        top: 0;
    }
}
