/* Restaurant template — isolated styles; does not affect other templates */
:root {
    --rs-primary: var(--store-primary, #c2410c);
    --rs-accent: var(--store-accent, #f59e0b);
    --rs-bg: var(--store-bg, #fffbf5);
    --rs-card: var(--store-card-bg, #ffffff);
    --rs-text: var(--text-dark, #1c1917);
    --rs-muted: #78716c;
    --rs-radius: var(--store-btn-radius, 14px);
    --rs-shadow: 0 8px 28px rgba(28, 25, 23, 0.08);
}

html:has(body[data-store-template="restaurant"]),
html:has(body.rs-template),
html:has(body.shop-tpl-restaurant) {
    overflow-x: clip;
    max-width: 100%;
}

body.rs-template,
body.shop-tpl-restaurant,
body[data-store-template="restaurant"] {
    background: var(--rs-bg);
    color: var(--rs-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
    overscroll-behavior-x: none;
}

body[data-store-template="restaurant"] .store-page-wrap,
body[data-store-template="restaurant"] .store-editor-stack,
body[data-store-template="restaurant"] .store-editor-section-wrap {
    max-width: 100%;
    overflow-x: clip;
}

body.store-editor-on[data-store-template="restaurant"] .rs-section[data-key],
body.store-editor-on[data-store-template="restaurant"] [data-key][contenteditable="true"] {
    outline-offset: 4px;
}

body.store-editor-on[data-store-template="restaurant"] [data-key][contenteditable="true"]:focus {
    background: rgba(255, 251, 245, 0.92);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rs-primary, #c2410c) 28%, transparent);
    border-radius: 8px;
}

body.store-editor-on[data-store-template="restaurant"] .rs-hero [data-key][contenteditable="true"]:focus {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
body[data-store-template="restaurant"] .store-sidebar {
    max-width: 100%;
    overflow-x: clip;
}

body[data-store-template="restaurant"] .store-nav {
    background: rgba(255, 251, 245, 0.96);
    border-bottom-color: rgba(194, 65, 12, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body[data-store-template="restaurant"] .store-nav .brand {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--rs-text, #1c1917);
}

body[data-store-template="restaurant"] .store-nav .cart-link,
body[data-store-template="restaurant"] .store-nav .menu-toggle {
    color: var(--rs-primary, #c2410c);
}

body[data-store-template="restaurant"] .store-nav .cart-badge {
    background: var(--rs-primary, #c2410c);
}

.rs-home-nav-desk {
    display: none;
    gap: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.rs-home-nav-desk a {
    color: var(--rs-muted);
    text-decoration: none;
}

.rs-home-nav-desk a:hover {
    color: var(--rs-primary);
}

.rs-home-nav-order {
    display: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--rs-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .rs-home-nav-desk { display: flex; }
    .rs-home-nav-order { display: inline-flex; }
}

.rs-home {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    background: var(--rs-bg);
}

.rs-home img,
.rs-home iframe,
.rs-home video {
    max-width: 100%;
}

.rs-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .rs-hero {
        min-height: 54vh;
        border-radius: 0 0 20px 20px;
    }
}

.rs-hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.rs-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rs-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%);
}

body.store-editor-on[data-store-template="restaurant"] .se-hero-bg-wrap {
    pointer-events: auto;
}

.rs-hero-logo-wrap {
    display: inline-block;
    position: relative;
    line-height: 0;
}

.rs-hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem 1.25rem 2.5rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.rs-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 1rem;
    box-shadow: var(--rs-shadow);
}

.rs-hero-kicker {
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    margin: 0 0 .5rem;
}

.rs-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3rem);
    color: #fff;
    margin: 0 0 .65rem;
    line-height: 1.1;
}

.rs-hero-lead {
    color: rgba(255,255,255,.9);
    margin: 0 0 1rem;
    max-width: 36ch;
}

.rs-hero-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.15rem;
}

.rs-hero-eta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.22);
}

.rs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.35rem;
    border-radius: var(--rs-radius);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.rs-btn-primary {
    background: var(--rs-primary);
    color: #fff;
}

.rs-btn-ghost {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
}

.rs-section {
    padding: 1.25rem;
    max-width: 960px;
    margin: 0 auto 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.rs-kicker {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rs-muted);
    margin: 0 0 .35rem;
}

.rs-section-head h2,
.rs-section-head--menu-first h2,
.rs-menu-preview-section .rs-section-head h2 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    margin: 0 0 .35rem;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.rs-section-head p {
    margin: 0;
    color: var(--rs-muted);
}

.rs-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Legacy product-style cards — hidden on restaurant home; use rs-food-card instead */
body[data-store-template="restaurant"] .rs-promo-card,
body[data-store-template="restaurant"] .store-product-card {
    display: none !important;
}

.rs-promo-card,
.rs-menu-card {
    background: var(--rs-card);
    border-radius: var(--rs-radius);
    overflow: hidden;
    box-shadow: var(--rs-shadow);
}

.rs-promo-card img,
.rs-menu-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.rs-card-body { padding: .9rem 1rem 1rem; }

.rs-open-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.rs-open-badge.is-open { background: #dcfce7; color: #166534; }
.rs-open-badge.is-closed { background: #fee2e2; color: #991b1b; }

.rs-menu-tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    scrollbar-width: none;
}

.rs-menu-tab {
    flex: 0 0 auto;
    padding: .55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(28,25,23,.12);
    background: var(--rs-card);
    font-weight: 600;
    cursor: pointer;
}

.rs-menu-tab.is-active {
    background: var(--rs-primary);
    border-color: var(--rs-primary);
    color: #fff;
}

.rs-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.rs-menu-card h3 {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
}

.rs-menu-meta {
    color: var(--rs-muted);
    font-size: .86rem;
    margin: 0 0 .65rem;
    line-height: 1.4;
}

.rs-price {
    font-weight: 800;
    color: var(--rs-primary);
    margin-bottom: .75rem;
}

.rs-order-fab {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: 50%;
    min-width: min(300px, calc(100% - 2rem));
    max-width: min(440px, calc(100% - 2rem));
    height: 68px;
    padding: 0 .55rem 0 .65rem;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    color: #1c1917;
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rs-order-fab:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
    color: #1c1917;
}

.rs-order-fab-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--rs-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.rs-order-fab-initial {
    font-weight: 800;
    color: var(--rs-primary);
    font-size: 1.05rem;
}

.rs-order-fab-copy {
    flex: 1;
    min-width: 0;
    padding-right: 0.15rem;
}

.rs-order-fab-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.rs-order-fab-go {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--rs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

body.rs-template,
body.shop-tpl-restaurant,
body[data-store-template="restaurant"] {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

body.rs-template .sticky-wa,
body.rs-template .mobile-sticky-cta,
body.rs-template .floating-chat-btn,
body.rs-template .floating-whatsapp-btn,
body[data-store-template="restaurant"] .sticky-wa,
body[data-store-template="restaurant"] .mobile-sticky-cta,
body[data-store-template="restaurant"] .floating-chat-btn,
body[data-store-template="restaurant"] .floating-whatsapp-btn {
    display: none !important;
}

.rs-app-bar {
    position: sticky;
    top: 0;
    z-index: 80;
    max-width: 960px;
    margin: 0 auto;
    padding: .55rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: rgba(255, 251, 245, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.rs-app-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--rs-text);
}

.rs-app-logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--rs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .95rem;
}

.rs-app-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.rs-app-name {
    font-weight: 600;
    font-size: .9rem;
}

.rs-app-tag {
    font-size: .7rem;
    color: var(--rs-muted);
}

.rs-app-links {
    display: none;
    gap: .75rem;
    font-size: .85rem;
}

.rs-app-links a {
    text-decoration: none;
    color: var(--rs-muted);
}

.rs-app-links a:hover {
    color: var(--rs-text);
}

.rs-app-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--rs-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: .85rem;
}

.rs-app-order-btn:hover {
    opacity: .95;
}

@media (min-width: 768px) {
    .rs-app-links {
        display: flex;
    }
}

.rs-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.rs-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.rs-hours-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.rs-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(28,25,23,.08);
}

.rs-section-head--center {
    text-align: center;
}

.rs-section-head--center h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--rs-primary);
}

/* Outlets / branches — Pizzaman-style */
.rs-outlets-section {
    background: var(--rs-card);
    border-radius: 24px;
    box-shadow: var(--rs-shadow);
    margin-top: 1.5rem;
}

.rs-branch-tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .25rem 0 1rem;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    scrollbar-width: none;
}

.rs-branch-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(28,25,23,.12);
    background: var(--rs-card);
    font-weight: 600;
    font-size: .82rem;
    cursor: pointer;
    white-space: nowrap;
}

.rs-branch-tab.is-active {
    background: var(--rs-primary);
    border-color: var(--rs-primary);
    color: #fff;
}

.rs-branch-panel { display: none; }
.rs-branch-panel.is-active { display: block; }

.rs-branch-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .rs-branch-layout {
        grid-template-columns: 1fr 1.2fr;
    }
}

.rs-branch-card {
    background: #fafaf9;
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(28,25,23,.06);
}

.rs-branch-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rs-branch-hours {
    margin: 1rem 0;
}

.rs-branch-map {
    border-radius: 18px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid rgba(28,25,23,.08);
}

.rs-branch-map iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

/* Testimonials carousel */
.rs-testimonials-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.rs-testimonials-title {
    color: var(--rs-primary) !important;
    font-size: clamp(1.6rem, 5vw, 2.25rem) !important;
}

.rs-testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin: .5rem 0;
    color: #eab308;
    font-weight: 600;
}

.rs-testimonials-rating span {
    color: var(--rs-text);
    margin-left: .35rem;
}

.rs-testimonials-track-wrap {
    position: relative;
    margin-top: 1.25rem;
    overflow: hidden;
    max-width: 100%;
}

.rs-testimonials-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .5rem 2.75rem;
    scrollbar-width: none;
    max-width: 100%;
    box-sizing: border-box;
}

.rs-testimonials-track::-webkit-scrollbar { display: none; }

.rs-testimonial-card {
    flex: 0 0 min(280px, 85vw);
    scroll-snap-align: start;
    background: var(--rs-card-color, #dc2626);
    color: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rs-testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}

.rs-testimonial-avatar--lg {
    width: 44px;
    height: 44px;
}

.rs-testimonial-text {
    font-size: .95rem;
    line-height: 1.45;
    margin: 1rem 0;
    flex: 1;
}

.rs-testimonial-foot {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.rs-testimonial-foot strong {
    display: block;
    font-size: .9rem;
}

.rs-testimonial-foot span {
    font-size: .75rem;
    opacity: .85;
}

.rs-testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(28,25,23,.12);
    background: var(--rs-card);
    box-shadow: var(--rs-shadow);
    cursor: pointer;
    z-index: 2;
}

.rs-testimonials-prev { left: 4px; }
.rs-testimonials-next { right: 4px; }

/* Popular category buttons */
.rs-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .rs-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rs-cat-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .65rem;
    min-height: 120px;
    padding: 1.2rem 1.15rem;
    background: var(--rs-card);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--rs-text);
    border: 1px solid rgba(28, 25, 23, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rs-cat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.rs-cat-btn:active {
    transform: translateY(-1px) scale(0.99);
}

.rs-cat-emoji {
    font-size: 1.75rem;
    line-height: 1;
}

.rs-cat-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: .95rem;
    text-align: left;
    line-height: 1.25;
}

/* Food-first meal cards */
.rs-food-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .rs-food-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rs-food-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #e7e5e4;
    box-shadow: var(--rs-shadow);
}

/* Full-card product tap target; Add buttons sit above via z-index */
.rs-product-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
    color: transparent;
}
.rs-menu-preview-card,
.rs-menu-card {
    position: relative;
}
.rs-food-card-info,
.rs-menu-preview-body,
.rs-card-body {
    position: relative;
    z-index: 2;
}
.rs-food-add,
.rs-menu-card .rs-add-btn,
.rs-menu-preview-card .rs-add-btn {
    position: relative;
    z-index: 3;
}

.rs-food-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rs-food-card-info {
    position: absolute;
    inset: auto 0 0;
    padding: 2.5rem .75rem .75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.78) 100%);
    color: #fff;
}

.rs-food-card-info h3 {
    margin: 0 0 .45rem;
    font-size: .92rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-food-card-foot,
.rs-menu-preview-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.rs-food-price {
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
}

.rs-food-add {
    flex: 0 0 auto;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: none;
    background: var(--rs-primary);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    cursor: pointer;
}

/* Special offers */
.rs-offers-track {
    display: flex;
    gap: .85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 .5rem;
    margin-top: 1rem;
    max-width: 100%;
    scrollbar-width: none;
}

.rs-offers-track::-webkit-scrollbar { display: none; }

.rs-offer-banner {
    flex: 0 0 min(280px, 86vw);
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 1.35rem;
    background: linear-gradient(135deg, var(--rs-primary) 0%, #9a3412 100%);
    color: #fff;
    box-shadow: var(--rs-shadow);
}

.rs-offer-badge {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .5rem;
}

.rs-offer-banner h3 {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
}

.rs-offer-banner p {
    margin: 0 0 .85rem;
    font-size: .88rem;
    opacity: .92;
    line-height: 1.4;
}

.rs-offer-cta {
    display: inline-flex;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: var(--rs-card);
    color: var(--rs-primary);
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
}

/* Menu preview — PizzaMan-style scrolling categories */
.rs-menu-preview-section {
    background: var(--rs-card);
    border-radius: 24px;
    box-shadow: var(--rs-shadow);
    padding-bottom: 1.5rem;
}

.rs-menu-preview-section--first {
    margin-top: -0.75rem;
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 3;
    padding-top: 1rem;
}

.rs-section-head--menu-first h2 {
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
}

.rs-menu-preview-tabs--sticky {
    position: sticky;
    top: 70px;
    z-index: 40;
    background: linear-gradient(180deg, var(--rs-card) 85%, color-mix(in srgb, var(--rs-card) 0%, transparent));
    padding-bottom: 0.65rem;
}

.rs-menu-preview-tabs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 1rem;
    max-width: 100%;
    scrollbar-width: none;
}

.rs-menu-preview-tabs::-webkit-scrollbar { display: none; }

.rs-menu-preview-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(28,25,23,.12);
    background: var(--rs-card);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
}

.rs-menu-preview-tab.is-active {
    background: var(--rs-primary);
    border-color: var(--rs-primary);
    color: #fff;
}

.rs-menu-preview-panel { display: none; }
.rs-menu-preview-panel.is-active { display: block; }

.rs-menu-preview-track {
    display: flex;
    gap: .85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 .75rem;
    max-width: 100%;
    scrollbar-width: none;
}

.rs-menu-preview-track::-webkit-scrollbar { display: none; }

.rs-menu-preview-card {
    flex: 0 0 min(168px, 42vw);
    scroll-snap-align: start;
    background: var(--rs-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(28,25,23,.08);
    border: 1px solid rgba(28,25,23,.06);
}

.rs-menu-preview-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #e7e5e4;
}

.rs-menu-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rs-menu-preview-body {
    padding: .65rem .7rem .75rem;
}

.rs-menu-preview-body h3 {
    margin: 0 0 .45rem;
    font-size: .86rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-menu-preview-body .rs-food-price {
    color: var(--rs-primary);
    font-size: .85rem;
}

.rs-menu-preview-more {
    display: inline-flex;
    margin-top: .25rem;
    font-weight: 700;
    color: var(--rs-primary);
    text-decoration: none;
    font-size: .9rem;
}

/* Branch visual cards */
.rs-branch-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

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

.rs-branch-visual {
    background: var(--rs-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--rs-shadow);
    border: 1px solid rgba(28,25,23,.06);
}

.rs-branch-visual-top {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(var(--rs-branch-hue, 24), 70%, 45%) 0%, hsl(calc(var(--rs-branch-hue, 24) + 40), 60%, 35%) 100%);
    color: #fff;
    font-size: 2rem;
}

.rs-branch-visual-body {
    padding: 1rem 1.1rem 1.15rem;
}

.rs-branch-visual-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}

.rs-branch-visual-head h3 {
    margin: 0;
    font-size: 1rem;
}

.rs-branch-addr,
.rs-branch-phone {
    margin: 0 0 .35rem;
    color: var(--rs-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.rs-branch-visual-actions {
    display: flex;
    gap: .5rem;
    margin-top: .85rem;
}

.rs-branch-visual-actions .rs-btn {
    flex: 1;
    padding: .65rem .75rem;
    font-size: .82rem;
}

.rs-btn-ghost-dark {
    background: #f5f5f4;
    color: var(--rs-text);
    border: 1px solid rgba(28,25,23,.1);
}

/* Hours status card */
.rs-hours-status-card {
    background: var(--rs-card);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--rs-shadow);
    border: 1px solid rgba(28,25,23,.06);
}

.rs-hours-status-head {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.rs-hours-status-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    flex-shrink: 0;
}

.rs-hours-status-dot.is-open {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.2);
}

.rs-hours-status-dot.is-closed {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,.18);
}

.rs-hours-status-title {
    display: block;
    font-size: 1.1rem;
    margin-bottom: .15rem;
}

.rs-hours-status-today {
    color: var(--rs-muted);
    font-size: .88rem;
}

.rs-hours-details {
    margin-top: 1rem;
    border-top: 1px solid rgba(28,25,23,.08);
    padding-top: .75rem;
}

.rs-hours-details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--rs-primary);
    list-style: none;
}

.rs-hours-details summary::-webkit-details-marker { display: none; }

.rs-hours-list li.is-today {
    font-weight: 700;
    color: var(--rs-primary);
}

/* Standalone map */
.rs-standalone-map {
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(28,25,23,.08);
    margin-top: .75rem;
}

.rs-standalone-map iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* Contact actions */
.rs-contact-actions {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .rs-contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.rs-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 1.15rem;
    border-radius: 14px;
    background: var(--rs-card);
    color: var(--rs-text);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--rs-shadow);
    border: 1px solid rgba(28,25,23,.08);
}

.rs-contact-wa {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

/* Floating order button on mobile */
@media (max-width: 767px) {
    .rs-order-fab {
        width: min(92%, 420px);
        min-width: 0;
    }
    .rs-order-fab-label {
        font-size: 0.9rem;
    }
    .rs-app-order-btn {
        padding: .5rem .85rem;
        font-size: .8rem;
    }
}

/* —— Restaurant cart page (fashion DNA, restaurant colors) —— */
body.rs-cart-page {
    font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
    background: var(--rs-bg, #fffbf5);
    color: var(--rs-text, #1c1917);
    padding-top: calc(62px + env(safe-area-inset-top));
    min-height: 100vh;
}

body.rs-cart-page[data-cart-empty="1"] .rs-cart-page-wrap {
    padding-bottom: 2rem;
}

.rs-cart-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    min-height: calc(52px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(1rem, env(safe-area-inset-right)) 10px max(1rem, env(safe-area-inset-left));
    background: rgba(255, 251, 245, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(194, 65, 12, 0.08);
}

.rs-cart-nav-back {
    justify-self: start;
    color: var(--rs-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rs-cart-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.rs-cart-nav-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rs-primary);
}

.rs-cart-nav-verified {
    font-size: 0.7rem;
    color: var(--rs-muted, #78716c);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rs-cart-nav-verified i {
    color: #10b981;
}

.rs-cart-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    color: var(--rs-muted);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}

.rs-cart-strip i {
    color: var(--rs-primary);
}

.rs-cart-page-wrap {
    max-width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0.75rem 1rem;
    padding-bottom: calc(6.75rem + env(safe-area-inset-bottom));
}

.rs-cart-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.rs-cart-free-ship {
    margin-bottom: 0.75rem;
    padding: 12px 14px;
    background: var(--rs-card);
    border: 1px solid rgba(28, 25, 23, 0.06);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.rs-cart-free-ship-msg {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--rs-muted);
    margin-bottom: 10px;
}

.rs-cart-free-ship-msg strong {
    color: var(--rs-text);
    font-weight: 700;
}

.rs-cart-free-ship-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(28, 25, 23, 0.07);
    overflow: hidden;
}

.rs-cart-free-ship-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rs-primary), var(--rs-accent, #f59e0b));
    transition: width 0.65s ease;
}

.rs-cart-empty {
    background: var(--rs-card);
    border-radius: 16px;
    padding: 2rem 1.35rem;
    text-align: center;
    border: 1px solid rgba(28, 25, 23, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.rs-cart-empty p {
    color: var(--rs-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.rs-cart-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--rs-primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
}

.rs-cart-layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rs-cart-list {
    background: var(--rs-card);
    border-radius: 14px;
    border: 1px solid rgba(28, 25, 23, 0.055);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.045);
}

.rs-cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}

.rs-cart-item:last-child {
    border-bottom: none;
}

.rs-cart-item-media {
    flex-shrink: 0;
    width: 88px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--rs-bg);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.rs-cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rs-cart-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rs-cart-item-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rs-primary);
    background: color-mix(in srgb, var(--rs-primary) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--rs-primary) 25%, transparent);
    padding: 3px 8px;
    border-radius: 999px;
}

.rs-cart-item-name {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
}

.rs-cart-item-meta {
    font-size: 0.78rem;
    color: var(--rs-muted);
}

.rs-cart-item-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.rs-cart-item-unit-hint {
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.78rem;
}

.rs-cart-item-price,
.rs-cart-item-line {
    font-weight: 700;
    font-size: 0.92rem;
}

.rs-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.rs-cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(28, 25, 23, 0.1);
    border-radius: 999px;
    padding: 2px 4px;
    background: var(--rs-bg);
}

.rs-cart-item-qty button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--rs-card);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rs-cart-item-qty input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 700;
}

.rs-cart-item-remove {
    background: none;
    border: none;
    color: var(--rs-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rs-cart-item-remove:hover {
    color: #dc2626;
}

.rs-cart-summary {
    background: var(--rs-card);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(28, 25, 23, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.rs-cart-summary-total-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(28, 25, 23, 0.09);
    background: var(--rs-bg);
    cursor: pointer;
    text-align: left;
}

.rs-cart-summary-total-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rs-muted);
    display: block;
    margin-bottom: 4px;
}

.rs-cart-summary-total-val {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rs-text);
}

.rs-cart-summary-hint {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 6px;
    text-align: center;
}

.rs-cart-summary-note {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(28, 25, 23, 0.06);
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--rs-muted);
    text-align: center;
}

.rs-cart-aside-cta {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    min-height: 50px;
    padding: 14px 18px;
    background: var(--rs-primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--rs-primary) 35%, transparent);
}

.rs-cart-btn-shop {
    display: block;
    text-align: center;
    margin-top: 0.65rem;
    padding: 8px;
    color: var(--rs-muted);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    border-radius: 10px;
}

.rs-sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 10px max(1rem, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
    background: rgba(255, 251, 245, 0.88);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-top: 1px solid rgba(194, 65, 12, 0.1);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.rs-sticky-checkout-inner {
    max-width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.rs-sticky-total-btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 4px 6px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.rs-sticky-total-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rs-muted);
}

.rs-sticky-total-val {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rs-sticky-checkout-cta {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 20px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--rs-primary) 92%, #fff), var(--rs-primary));
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--rs-primary) 30%, transparent);
}

.rs-cart-price-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
    visibility: hidden;
}

.rs-cart-price-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.rs-cart-price-drawer-back {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 12, 0.55);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.rs-cart-price-drawer.is-open .rs-cart-price-drawer-back {
    opacity: 1;
}

.rs-cart-price-drawer-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(82vh, 100% - env(safe-area-inset-bottom));
    background: var(--rs-card);
    border-radius: 22px 22px 0 0;
    padding: 8px 18px max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 -32px 100px rgba(0, 0, 0, 0.28);
    transform: translateY(105%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.rs-cart-price-drawer.is-open .rs-cart-price-drawer-panel {
    transform: translateY(0);
}

.rs-cart-price-drawer-handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(28, 25, 23, 0.14);
    margin: 6px auto 12px;
}

.rs-cart-price-drawer-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rs-muted);
    margin-bottom: 14px;
    text-align: center;
}

.rs-cart-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}

.rs-cart-price-row--total {
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid rgba(28, 25, 23, 0.1);
    border-bottom: none;
    font-size: 1.05rem;
    font-weight: 800;
}

.rs-cart-price-secure {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--rs-muted);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rs-cart-price-secure i {
    color: #10b981;
    margin-top: 2px;
}

.rs-cart-rail-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rs-muted);
    margin-bottom: 10px;
}

.rs-cart-rail-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.rs-cart-rail-scroll::-webkit-scrollbar {
    display: none;
}

.rs-cart-rail-card {
    flex: 0 0 132px;
    width: 132px;
    scroll-snap-align: start;
    background: var(--rs-card);
    border: 1px solid rgba(28, 25, 23, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.rs-cart-rail-media {
    display: block;
    aspect-ratio: 1;
    background: var(--rs-bg);
    overflow: hidden;
}

.rs-cart-rail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-cart-rail-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.rs-cart-rail-name {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    color: var(--rs-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-cart-rail-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rs-primary);
}

.rs-cart-rail-add {
    margin-top: auto;
    border: none;
    border-radius: 999px;
    padding: 6px 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--rs-primary);
    color: #fff;
    cursor: pointer;
}

body.rs-cart-drawer-open {
    overflow: hidden;
}

@media (min-width: 960px) {
    .rs-cart-page-wrap {
        padding: 1rem 1.25rem 2.5rem;
        padding-bottom: 2rem;
    }
    .rs-cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        grid-template-rows: auto auto;
        gap: 1rem 1.75rem;
        align-items: start;
    }
    .rs-cart-layout-stack {
        grid-column: 1;
        grid-row: 1;
    }
    .rs-cart-layout-aside {
        grid-column: 2;
        grid-row: 1 / -1;
    }
    .rs-cart-layout-rails {
        grid-column: 1;
        grid-row: 2;
    }
    .rs-cart-aside-card {
        position: sticky;
        top: calc(8px + env(safe-area-inset-top) + 58px);
    }
    .rs-cart-aside-cta {
        display: flex;
    }
    .rs-sticky-checkout {
        display: none !important;
    }
    .rs-cart-rail-card {
        flex: 0 0 148px;
        width: 148px;
    }
}
