/*
Theme Name: NAF-Funnel
Description: Conversion funnel theme for nafnfc.com — landing, product pages, embedded checkout. EN/AR with RTL. No page builder, no shortcodes.
Version: 1.0.0
Author: NAF
*/

:root {
    --primary: #0f1e32;
    --primary-soft: #1e3a5f;
    --gold: #d4a418;
    --gold-soft: #f5d061;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e2e8f0;
    --green: #10b981;
    --red: #dc2626;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 30, 50, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
body.lang-ar { font-family: 'Cairo', system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { color: var(--primary); line-height: 1.25; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; text-align: center; margin-bottom: 0.5rem; }
section { padding: 64px 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s; text-align: center; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--primary); box-shadow: 0 6px 18px rgba(212, 164, 24, 0.35); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* Accessibility: clear keyboard focus ring (mouse clicks stay clean via :focus-visible) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .pf-btn:focus-visible, .om-tier:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.logo { font-size: 1.4rem; font-weight: 900; color: var(--primary); letter-spacing: 0.5px; }
.logo span { color: var(--gold); }
.main-nav { display: flex; gap: 26px; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--primary); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-soft) 100%); color: var(--white); padding: 80px 0; }
.hero h1, .hero-product h1 { color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-sub { margin: 18px 0 28px; color: #cbd5e1; font-size: 1.1rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.hero-badge { display: inline-block; background: var(--gold); color: var(--primary); font-weight: 800; font-size: 0.8rem; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.point-list { margin: 18px 0 28px; }
.point-list li { padding: 6px 0; color: #e2e8f0; }
.point-list li::before { content: '✓ '; color: var(--gold-soft); font-weight: 900; }

/* Flip card + platform switcher */
.hero-card { text-align: center; }
.flip-card { width: min(320px, 80vw); margin: 0 auto; cursor: pointer; perspective: 1000px; }
.flip-inner { position: relative; width: 100%; aspect-ratio: 8 / 5; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-card.switching .flip-inner { opacity: 0.3; }
.flip-inner { transition: transform 0.6s, opacity 0.15s; }
.flip-front, .flip-back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; backface-visibility: hidden; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4); }
.flip-back { transform: rotateY(180deg); }
.tap-hint { margin: 16px 0 10px; font-size: 0.85rem; color: #94a3b8; }
.platform-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; direction: ltr; margin-top: 26px; }
.pf-btn { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 20px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.pf-btn:hover { background: rgba(255, 255, 255, 0.2); }
.pf-btn.active { background: var(--gold); border-color: var(--gold); color: var(--primary); }

/* Clients marquee */
.clients { padding: 36px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; }
.clients .container { overflow: hidden; }
.clients-track { display: flex; gap: 48px; align-items: center; width: max-content; animation: marquee 35s linear infinite; direction: ltr; }
.clients-track img { width: 110px; height: auto; opacity: 0.75; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; } }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.2rem; }
.how-step { background: var(--white); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.how-num { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--primary); font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.how-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 0.95rem; }

/* Goal cards */
.goals { background: var(--white); }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 2.2rem; }
.goal-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--bg); }
.goal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.goal-card img { width: 180px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.goal-card h3 { font-size: 1.1rem; }
.goal-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.goal-cta { color: var(--gold); font-weight: 700; font-size: 0.92rem; }
.goal-featured { border-color: var(--gold); }
.goal-badge { position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--gold); color: var(--primary); font-size: 0.75rem; font-weight: 800; padding: 3px 14px; border-radius: 14px; white-space: nowrap; }
[dir="rtl"] .goal-badge { transform: translateX(50%); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4rem; align-items: stretch; }
.price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-featured { border: 2px solid var(--gold); transform: scale(1.03); }
.save-badge { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 12px; }
.price-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.price-line { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.price-line s { color: #b6bfca; font-size: 1.1rem; font-weight: 600; margin-inline-end: 8px; }
.price-line .cur { font-size: 1rem; color: var(--muted); font-weight: 600; }
.feat-list { flex: 1; margin-bottom: 20px; }
.feat-list li { padding: 5px 0; font-size: 0.93rem; color: var(--text); }
.feat-list li::before { content: '✓ '; color: var(--green); font-weight: 900; }
.feat-gold { color: var(--gold); font-weight: 700; }
.bulk-strip { margin-top: 2.4rem; background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bulk-strip .btn-ghost { border-color: var(--gold); color: var(--gold-soft); }

/* Video */
.video-frame { margin-top: 2rem; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 760px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--primary); list-style: none; position: relative; padding-inline-end: 30px; }
.faq-item summary::after { content: '+'; position: absolute; inset-inline-end: 4px; font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 0 16px; color: var(--muted); }

.static-card { width: min(320px, 80vw); margin: 0 auto; border-radius: 16px; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4); display: block; }

/* CSS placeholder card (black + gold) — used until real artwork exists */
.css-card { position: relative; width: 200px; aspect-ratio: 8 / 5; border-radius: 12px; background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 55%, #2a2417 100%); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 8%; color: var(--gold); }
.css-card-lg { width: min(320px, 80vw); margin: 0 auto; border-radius: 16px; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4); }
.ccard-logo { font-weight: 900; letter-spacing: 1px; font-size: 1em; color: #fff; }
.ccard-logo b { color: var(--gold); }
.ccard-title { font-weight: 700; font-size: 0.85em; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); }
.css-card-lg .ccard-logo { font-size: 1.4rem; }
.css-card-lg .ccard-title { font-size: 1rem; }
.ccard-chip { position: absolute; top: 14%; inset-inline-end: 9%; width: 18%; aspect-ratio: 4 / 3; border-radius: 4px; background: linear-gradient(140deg, var(--gold-soft), var(--gold)); opacity: 0.9; }

/* Trust facts grid (about page) */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 2rem 0; max-width: 860px; }
.trust-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.trust-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.trust-item a { color: var(--gold); }

/* About */
.about-page h1 { margin-bottom: 1.2rem; }
.about-page p { max-width: 720px; margin-bottom: 1rem; color: var(--text); }
.about-page h2 { text-align: start; margin-top: 2rem; font-size: 1.2rem; }
.contact-list li { padding: 4px 0; color: var(--gold); font-weight: 600; }

/* Thank you */
.thankyou { min-height: 55vh; display: flex; align-items: center; }
.ty-box { text-align: center; max-width: 620px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 54px 34px; }
.ty-spinner { width: 46px; height: 46px; border: 4px solid var(--line); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 22px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ty-box h1 { font-size: 1.6rem; margin-bottom: 10px; }
.ty-box p { color: var(--muted); }
.ty-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ty-activate { margin: 24px auto 0; max-width: 520px; background: #fffbeb; border: 1px solid var(--gold-soft); border-radius: 12px; padding: 20px; text-align: center; }
.ty-activate h2 { font-size: 1.1rem; margin-bottom: 6px; }
.ty-activate p { color: var(--muted); font-size: 0.92rem; }
.ty-activate-form { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ty-activate-form input { flex: 1; min-width: 200px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 0.95rem; }
.ty-activate-form input:focus { border-color: var(--gold); outline: none; }
.ty-activate-msg { margin-top: 10px; font-weight: 700; font-size: 0.9rem; }
.ty-activate-msg.ok { color: var(--green); }
.ty-activate-msg.err { color: var(--red); }

/* Footer */
.site-footer { background: var(--primary); color: #cbd5e1; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding: 46px 20px; }
.logo-footer { color: var(--white); margin-bottom: 8px; }
.footer-company { font-size: 0.85rem; color: #94a3b8; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-nav a:hover, .footer-social a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; font-size: 0.8rem; color: #94a3b8; text-align: center; }

/* WhatsApp FAB */
.wa-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45); z-index: 60; transition: transform 0.15s; }
.wa-fab:hover { transform: scale(1.08); }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(15, 30, 50, 0.65); display: none; align-items: flex-start; justify-content: center; z-index: 100; padding: 30px 16px; overflow-y: auto; }
.modal.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); max-width: 540px; width: 100%; padding: 30px 26px; position: relative; margin: auto; }
.modal-close { position: absolute; top: 12px; inset-inline-end: 14px; background: none; border: 0; font-size: 1.7rem; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-title { margin-bottom: 4px; }
.modal-pack { color: var(--gold); font-weight: 700; margin-bottom: 18px; }

.om-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.om-grid input, .om-grid select, .om-coupon input, .om-pf-select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.95rem; width: 100%; font-family: inherit; background: var(--white); }
.om-grid input:focus { border-color: var(--gold); outline: none; }
.om-wide { grid-column: 1 / -1; }
.om-label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.om-platforms { margin-bottom: 14px; }
#omPlatformRows { display: grid; gap: 8px; }
.om-check { display: block; font-size: 0.9rem; margin-bottom: 14px; color: var(--text); }
.om-coupon { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.om-coupon input { flex: 1; min-width: 140px; }
.om-coupon-msg { font-size: 0.85rem; width: 100%; }
.om-coupon-msg.ok { color: var(--green); }
.om-coupon-msg.err { color: var(--red); }

.om-paymethods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.om-paymethods-single { grid-template-columns: 1fr; }
.pm-option { border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s; }
.pm-option input { position: absolute; opacity: 0; }
.pm-option.pm-active { border-color: var(--gold); background: #fffbeb; }
.pm-title { font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.pm-sub { font-size: 0.78rem; color: var(--muted); }

.om-total { font-size: 1.15rem; margin-bottom: 16px; color: var(--primary); }
.om-total s { color: #b6bfca; font-size: 0.95rem; }
#paymentElementWrap { margin-bottom: 16px; }
.om-error { color: var(--red); font-size: 0.9rem; margin-bottom: 12px; }
.om-secure { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* Offer card (single-price product/landing block) */
.offer-card { position: relative; max-width: 460px; margin: 2.4rem auto 0; background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.offer-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.offer-card .feat-list { text-align: start; display: inline-block; margin: 6px auto 18px; }
.price-line-lg { font-size: 2.6rem; }
.price-line-lg s { font-size: 1.3rem; }
.price-each { font-size: 1rem; color: var(--muted); font-weight: 600; }
.ship-hint { color: var(--gold); font-weight: 700; font-size: 0.92rem; margin-bottom: 16px; }

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 2rem auto 0; max-width: 900px; }
.trust-strip li { font-size: 0.92rem; font-weight: 600; color: var(--primary); }
.trust-strip li::first-letter { color: var(--green); }

/* "Most popular" ribbon on restaurant tiers */
.pop-badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 16px; border-radius: 14px; white-space: nowrap; letter-spacing: 0.5px; }
[dir="rtl"] .pop-badge { transform: translateX(50%); }

/* Two-column order modal */
.modal-box-wide { max-width: 860px; }
.om-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.om-summary { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.om-colhead { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 12px; }
.om-pack { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.om-unit { color: var(--muted); margin: 4px 0 14px; }
.om-unit strong { color: var(--gold); font-size: 1.1rem; }
.om-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.qty-stepper button { width: 40px; height: 40px; border: 0; background: var(--white); font-size: 1.3rem; font-weight: 700; color: var(--primary); cursor: pointer; }
.qty-stepper button:hover { background: var(--bg); }
.qty-stepper span { min-width: 44px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.om-totals { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.om-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; color: var(--text); font-size: 0.95rem; }
.om-row s { color: #b6bfca; font-size: 0.85rem; margin-inline-end: 6px; }
.om-row-total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; font-size: 1.2rem; color: var(--primary); }
.om-row-total strong { font-weight: 900; }
.om-free-hint { margin: 2px 0 16px; font-size: 0.9rem; font-weight: 700; color: #92600a; background: #fff7e0; border: 1px solid var(--gold-soft); border-radius: 8px; padding: 8px 12px; text-align: center; }
.om-address-wrap { display: grid; gap: 12px; }
.om-fields .om-grid { margin-bottom: 14px; }

/* Inline on-page order box (replaces the modal) */
.order-box { max-width: 900px; margin: 1.6rem auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; scroll-margin-top: 84px; }
.order-anchor { scroll-margin-top: 84px; }
.order-anchor-head { text-align: center; margin: 2.2rem 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.95rem; }
.feat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 1.4rem auto 0; max-width: 820px; padding: 0; }
.feat-row li { font-size: 0.92rem; color: var(--text); font-weight: 600; }
.feat-row li::before { content: '✓ '; color: var(--green); font-weight: 900; }
.restaurant-hero-img { width: min(410px, 82vw); margin: 0 auto; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }

/* Restaurant package selector (inside the order box) */
.om-tiers { margin-bottom: 14px; }
#omTierRows { display: grid; gap: 8px; margin-top: 6px; }
.om-tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: start; background: var(--white); border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-family: inherit; }
.om-tier:hover { border-color: var(--gold-soft); }
.om-tier.active { border-color: var(--gold); background: #fffbeb; }
.om-tier-name { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.om-tier-price { font-weight: 800; color: var(--primary); white-space: nowrap; }
.om-tier-price s { color: #b6bfca; font-weight: 600; margin-inline-end: 6px; font-size: 0.85rem; }
.om-tier-badge { display: inline-block; background: var(--gold); color: var(--primary); font-size: 0.65rem; font-weight: 800; padding: 2px 8px; border-radius: 10px; margin-inline-start: 8px; vertical-align: middle; }

/* Payment modal loading state */
.pay-loading { text-align: center; padding: 44px 12px; }
.pay-loading p { color: var(--muted); margin-top: 10px; }
#payModal .modal-box { max-width: 460px; }
#paymentElementWrap { margin-bottom: 16px; }

/* Premium card motion + gold glow (carried over from the New-Naf theme) */
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-13px); }
}
.flip-card, .static-card, .css-card-lg, .restaurant-hero-img {
    animation: floatCard 6s ease-in-out infinite;
    will-change: transform;
}
/* Gold halo glow around the card faces (over the existing dark drop shadow) */
.flip-front, .flip-back, .static-card, .css-card-lg, .restaurant-hero-img {
    box-shadow: 0 0 55px rgba(212, 164, 24, 0.30), 0 22px 48px rgba(0, 0, 0, 0.42);
}
/* Goal cards: gold glow on the artwork + a lift on hover */
.goal-card img, .goal-card .css-card { box-shadow: 0 0 28px rgba(212, 164, 24, 0.22), 0 8px 20px rgba(0, 0, 0, 0.18); transition: transform 0.25s ease; }
.goal-card:hover img, .goal-card:hover .css-card { transform: translateY(-4px) scale(1.03); }
@media (prefers-reduced-motion: reduce) {
    .flip-card, .static-card, .css-card-lg, .restaurant-hero-img { animation: none; }
}

/* Responsive */
@media (max-width: 880px) {
    .om-cols { grid-template-columns: 1fr; gap: 18px; }
    .order-box { padding: 16px; }
    section { padding: 46px 0; }
    .hero { padding: 54px 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-ctas { justify-content: center; }
    .point-list { text-align: start; display: inline-block; }
    .how-grid, .goal-grid, .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .price-featured { transform: none; }
    .main-nav { display: none; position: fixed; top: 66px; inset-inline: 0; background: var(--white); flex-direction: column; padding: 18px 22px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    body.nav-open .main-nav { display: flex; }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .om-grid, .om-paymethods { grid-template-columns: 1fr; }
    .bulk-strip { justify-content: center; text-align: center; }
}
