.tail-container {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rmp-order-page {
    position: relative;
}

.rmp-menu .card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.rmp-menu .card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.25);
    box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.35);
}

.rmp-toast {
    position: fixed;
    bottom: 110px;
    right: 28px;
    background: #0f172a;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    z-index: 99999;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.3);
    font-weight: 700;
}

.rmp-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.rmp-floating-cart {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 28px;
    padding: 22px;
    z-index: 9999;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.rmp-cart-top,
.rmp-cart-total,
.rmp-mini-cart-row,
.rmp-summary-row,
.rmp-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rmp-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #ea580c;
    font-weight: 900;
    font-size: 11px;
}

.rmp-cart-top h3 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.1;
}

.rmp-clear-btn {
    border: 0;
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 800;
    cursor: pointer;
}

.rmp-mini-cart-row {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.rmp-mini-img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 auto;
}

.rmp-mini-placeholder {
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rmp-mini-info {
    min-width: 0;
    flex: 1;
}

.rmp-mini-name {
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmp-mini-price {
    color: #059669;
    font-weight: 800;
    font-size: 13px;
}

.rmp-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.rmp-qty-control button {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #0f172a;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.rmp-qty-control span {
    font-weight: 900;
    min-width: 18px;
    text-align: center;
}

.rmp-cart-total {
    padding-top: 18px;
    color: #0f172a;
    font-size: 18px;
}

.rmp-cart-total strong {
    font-size: 22px;
}

.rmp-checkout-btn,
.rmp-submit-order,
.rmp-pdf-btn,
.rmp-view-btn,
.rmp-checkout-teaser button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(234, 88, 12, 0.25);
}

.rmp-checkout-btn {
    margin-top: 18px;
}

.rmp-checkout-teaser,
.rmp-checkout-section,
.rmp-order-success {
    border-radius: 34px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 26px 70px -35px rgba(15, 23, 42, 0.42);
    overflow: hidden;
}

.rmp-checkout-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.rmp-checkout-teaser h3 {
    margin: 6px 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 950;
}

.rmp-checkout-teaser p {
    margin: 0;
    color: #64748b;
}

.rmp-checkout-teaser button {
    width: auto;
    min-width: 210px;
}

.rmp-checkout-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.rmp-checkout-copy {
    color: #fff;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.45), transparent 30%), linear-gradient(145deg, #0f172a, #1e293b);
    padding: 36px;
}

.rmp-checkout-copy .rmp-eyebrow {
    color: #fed7aa;
}

.rmp-checkout-copy h2,
.rmp-success-hero h2 {
    margin: 10px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1;
    font-weight: 950;
}

.rmp-checkout-copy p,
.rmp-success-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.65;
}

.rmp-checkout-total {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.rmp-checkout-total span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
}

.rmp-checkout-total strong {
    display: block;
    margin-top: 6px;
    font-size: 34px;
}

.rmp-order-form {
    padding: 36px;
    display: grid;
    gap: 18px;
}

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

.rmp-order-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
}

.rmp-order-form input,
.rmp-order-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 14px 15px;
    color: #0f172a;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    background: #fff;
}

.rmp-order-form input:focus,
.rmp-order-form textarea:focus {
    outline: 3px solid rgba(249, 115, 22, 0.18);
    border-color: #f97316;
}

.rmp-order-review {
    display: grid;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
}

.rmp-order-review div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #334155;
}

.rmp-order-review strong {
    color: #0f172a;
}

.rmp-submit-order[disabled] {
    opacity: 0.65;
    cursor: wait;
}

.rmp-form-note {
    margin: 0;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

.rmp-order-success {
    background: #fff;
}

.rmp-success-hero {
    text-align: center;
    padding: 42px 28px;
    background: linear-gradient(145deg, #0f172a, #ea580c);
    color: #fff;
}

.rmp-success-hero .rmp-eyebrow {
    color: #fed7aa;
}

.rmp-success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 950;
}

.rmp-success-body {
    padding: 30px;
}

.rmp-summary-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    background: #f8fafc;
}

.rmp-summary-card h3 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 24px;
}

.rmp-summary-row {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.rmp-summary-total {
    margin-top: 12px;
    padding-top: 12px;
    color: #0f172a;
    font-size: 20px;
}

.rmp-summary-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.rmp-view-btn {
    background: #0f172a;
    box-shadow: none;
}

@media (max-width: 900px) {
    .rmp-checkout-section {
        grid-template-columns: 1fr;
    }

    .rmp-floating-cart {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }
}

@media (max-width: 640px) {
    .rmp-checkout-teaser,
    .rmp-summary-actions,
    .rmp-form-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .rmp-checkout-teaser button {
        width: 100%;
        min-width: 0;
    }

    .rmp-order-form,
    .rmp-checkout-copy,
    .rmp-success-body {
        padding: 24px;
    }
}

/* Preset restaurant menu section */
.rmp-preset-menu {
    --rmp-ink: #111827;
    --rmp-muted: #64748b;
    --rmp-line: #e5e7eb;
    --rmp-soft: #f8fafc;
    --rmp-warm: #f97316;
    --rmp-warm-dark: #c2410c;
    --rmp-green: #059669;
    margin: 34px 0 10px;
    padding: clamp(14px, 2vw, 22px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 30px 80px -55px rgba(15, 23, 42, 0.55);
    color: var(--rmp-ink);
}

.rmp-preset-menu *,
.rmp-preset-menu *::before,
.rmp-preset-menu *::after {
    box-sizing: border-box;
}

.rmp-preset-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: clamp(18px, 3vw, 34px);
    min-height: 360px;
    padding: clamp(24px, 4vw, 46px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.18), transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(249, 115, 22, 0.42), transparent 30%),
        linear-gradient(135deg, #0b1220 0%, #111827 55%, #7c2d12 100%);
    color: #fff;
    box-shadow: 0 28px 70px -45px rgba(15, 23, 42, 0.8);
}

.rmp-preset-hero::after {
    content: "";
    position: absolute;
    inset: auto -70px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.22);
    filter: blur(4px);
}

.rmp-preset-hero-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 720px;
}

.rmp-menu-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fed7aa;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rmp-preset-hero h2 {
    margin: 18px 0 14px;
    max-width: 840px;
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.rmp-preset-hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.68;
}

.rmp-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.rmp-category-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rmp-category-nav a:hover,
.rmp-category-nav a:focus {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(249, 115, 22, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
}

.rmp-preset-hero-image {
    position: relative;
    z-index: 1;
    margin: 0;
    min-height: 280px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 70px -40px rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.rmp-preset-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transform: scale(1.01);
}

.rmp-preset-hero-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    min-height: 280px;
    border-radius: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
    text-align: center;
}

.rmp-preset-hero-placeholder span {
    font-size: 60px;
}

.rmp-preset-hero-placeholder strong {
    font-size: 15px;
}

.rmp-menu-block {
    position: relative;
    margin: 22px 0 0;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 58px -46px rgba(15, 23, 42, 0.55);
}

.rmp-menu-block::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(90deg, #f97316, #fb923c, #facc15);
}

.rmp-block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rmp-line);
}

.rmp-block-title > span {
    order: 2;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #fff7ed;
    color: var(--rmp-warm);
    font-size: 28px;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px #fed7aa;
}

.rmp-block-title > div {
    min-width: 0;
}

.rmp-block-title h3 {
    margin: 0;
    color: var(--rmp-ink);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.rmp-block-title p,
.rmp-preset-note,
.rmp-option-box p,
.rmp-dessert-card small {
    color: var(--rmp-muted);
    line-height: 1.62;
}

.rmp-block-title p {
    margin: 8px 0 0;
}

.rmp-subsection {
    margin-top: 26px;
}

.rmp-subsection > h4,
.rmp-deal-card h4,
.rmp-option-box h4,
.rmp-dessert-card h4 {
    margin: 0 0 14px;
    color: var(--rmp-ink);
    font-size: 21px;
    letter-spacing: -0.02em;
    font-weight: 950;
}

.rmp-subsection > h4 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rmp-subsection > h4::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--rmp-warm);
    box-shadow: 0 0 0 6px #fff7ed;
}

.rmp-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rmp-preset-card,
.rmp-deal-card,
.rmp-dessert-card,
.rmp-option-box,
.rmp-single-addon {
    border: 1px solid var(--rmp-line);
    border-radius: 24px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 34px -28px rgba(15, 23, 42, 0.55);
}

.rmp-preset-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rmp-preset-card:hover {
    transform: translateY(-4px);
    border-color: #fed7aa;
    box-shadow: 0 24px 52px -32px rgba(15, 23, 42, 0.62);
}

.rmp-card-head {
    display: grid;
    gap: 10px;
}

.rmp-card-head h5 {
    margin: 0;
    color: var(--rmp-ink);
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 950;
}

.rmp-card-head span {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: var(--rmp-warm-dark);
    font-size: 12px;
    font-weight: 950;
    padding: 6px 10px;
    white-space: nowrap;
}

.rmp-preset-list {
    margin: 0;
    padding-left: 20px;
    color: #475569;
}

.rmp-preset-list li {
    margin: 4px 0;
}

.rmp-tags {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rmp-tags li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--rmp-soft);
    color: #334155;
    border: 1px solid var(--rmp-line);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}

.rmp-button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.rmp-preset-add {
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 12px 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(234, 88, 12, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rmp-preset-add:hover,
.rmp-preset-add:focus {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ea580c, #c2410c);
    box-shadow: 0 18px 30px rgba(234, 88, 12, 0.28);
}

.rmp-single-addon {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border-color: #fed7aa;
}

.rmp-single-addon strong {
    color: var(--rmp-ink);
    font-size: 20px;
    letter-spacing: -0.02em;
}

.rmp-single-addon span {
    color: var(--rmp-green);
    font-weight: 950;
}

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

.rmp-options-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.rmp-options-compact {
    grid-template-columns: minmax(0, 1fr);
}

.rmp-preset-price-list {
    display: grid;
    gap: 10px;
}

.rmp-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 17px;
    background: var(--rmp-soft);
    border: 1px solid var(--rmp-line);
}

.rmp-price-row span {
    color: var(--rmp-ink);
    font-weight: 850;
}

.rmp-price-row strong {
    color: var(--rmp-green);
    font-size: 18px;
    white-space: nowrap;
}

.rmp-price-row .rmp-preset-add {
    padding: 9px 13px;
    border-radius: 13px;
    box-shadow: none;
}

.rmp-preset-note {
    margin: 14px 0 0;
    padding: 13px 15px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.rmp-option-box {
    background: #f8fafc;
}

.rmp-dessert-card {
    margin-top: 16px;
    background: linear-gradient(135deg, #fff, #fff7ed);
}

.rmp-dessert-card p {
    margin: 6px 0;
    color: var(--rmp-ink);
    font-weight: 900;
}

@media (max-width: 1100px) {
    .rmp-preset-hero {
        grid-template-columns: 1fr;
    }

    .rmp-preset-hero-image,
    .rmp-preset-hero-image img,
    .rmp-preset-hero-placeholder {
        min-height: 260px;
    }

    .rmp-preset-grid,
    .rmp-deals-grid,
    .rmp-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rmp-preset-menu {
        padding: 10px;
        border-radius: 26px;
    }

    .rmp-preset-hero,
    .rmp-menu-block {
        padding: 18px;
        border-radius: 24px;
    }

    .rmp-preset-hero h2 {
        font-size: clamp(34px, 12vw, 50px);
    }

    .rmp-block-title {
        align-items: flex-start;
    }

    .rmp-block-title > span {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        font-size: 24px;
    }

    .rmp-preset-grid,
    .rmp-deals-grid,
    .rmp-options-grid,
    .rmp-button-row {
        grid-template-columns: 1fr;
    }

    .rmp-price-row,
    .rmp-single-addon {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .rmp-price-row .rmp-preset-add,
    .rmp-single-addon .rmp-preset-add {
        width: 100%;
    }
}
