/* Lunor Vision — لوحة أحمر داكن + تحسينات واجهة */
:root {
    --bg: #09090b;
    --bg-elevated: #121215;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(56, 0, 0, 0.35);
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #380000;
    --accent-bright: #a87070;
    --accent-deep: #240000;
    --accent-2: #f97316;
    --success: #4ade80;
    --danger: #b87878;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 24px 48px -12px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 0 1px rgba(56, 0, 0, 0.2), 0 16px 40px -12px rgba(48, 0, 0, 0.4);
    --font-body: "Tajawal", system-ui, sans-serif;
    --font-display: "El Messiri", "Tajawal", system-ui, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

::selection {
    background: rgba(56, 0, 0, 0.35);
    color: #fff;
}

body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font-body);
    font-size: 1.035rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(48, 0, 0, 0.22), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(56, 0, 0, 0.08), transparent 50%),
        radial-gradient(700px 400px at 0% 40%, rgba(249, 115, 22, 0.06), transparent 45%);
    color: var(--text);
    line-height: 1.75;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

#main {
    min-width: 0;
}

h1,
h2,
h3,
h4,
.page-head h1,
.section-head h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.22;
    text-wrap: balance;
}

a {
    color: var(--accent-bright);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: #cfa8a8;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 28px);
}

.container.narrow {
    max-width: 680px;
}

.skip-link {
    position: absolute;
    inset-inline-start: 8px;
    top: 8px;
    padding: 8px 12px;
    background: #fff;
    color: #000;
    z-index: 100;
    transform: translateY(-120%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px) saturate(1.2);
    background: rgba(9, 9, 11, 0.82);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 0, 0, 0.35), transparent);
    pointer-events: none;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 0;
    min-width: 0;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    transition: opacity 0.2s var(--ease);
}

.logo:hover {
    opacity: 0.92;
    text-decoration: none;
}

.logo--image {
    letter-spacing: normal;
    gap: 10px;
}

.logo__text {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
}

.logo__img {
    display: block;
    height: 86px;
    width: auto;
    max-width: min(420px, 84vw);
    object-fit: contain;
}

.logo__img--footer {
    height: 72px;
    max-width: 340px;
    opacity: 0.95;
}

.footer-logo .logo__text {
    font-size: 0.95rem;
}

.logo:hover .logo__img {
    opacity: 0.9;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
    border-color: var(--border-strong);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(56, 0, 0, 0.55);
    outline-offset: 2px;
}

.nav-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 22px;
}

.nav-toggle__bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-drawer {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}

.site-drawer.is-open {
    display: flex;
}

@media (min-width: 881px) {
    .nav-toggle {
        display: none;
    }

    .site-drawer {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 16px 24px;
        width: auto;
        flex: 1;
        flex-basis: auto;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 880px) {
    .site-drawer.is-open {
        position: relative;
        z-index: 5;
    }

    .site-drawer .nav-main {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .site-drawer .nav-main a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        text-align: start;
    }

    .site-drawer .header-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-drawer .currency-picker,
    .site-drawer .lang-picker {
        width: 100%;
    }

    .site-drawer .currency-picker__summary,
    .site-drawer .lang-picker__summary {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .site-drawer .currency-picker__list,
    .site-drawer .lang-picker__list {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    body.nav-open {
        overflow: hidden;
    }
}

.nav-main {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-main a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
    opacity: 0.88;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-main a:hover {
    color: #fff;
    background: rgba(56, 0, 0, 0.12);
    text-decoration: none;
}

.cart-link {
    position: relative;
}

.badge {
    display: inline-block;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    margin-inline-start: 6px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(48, 0, 0, 0.45);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-tools .currency-picker,
.header-tools .lang-picker {
    position: relative;
}

.currency-picker__summary,
.lang-picker__summary {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 10rem;
    max-width: min(100%, 16rem);
    transition: border-color 0.2s var(--ease);
    box-sizing: border-box;
}

@media (min-width: 881px) {
    .lang-picker .lang-picker__summary {
        min-width: 7.25rem;
        max-width: min(100%, 14rem);
    }
}

.currency-picker__summary::-webkit-details-marker,
.lang-picker__summary::-webkit-details-marker {
    display: none;
}

.currency-picker__summary::marker,
.lang-picker__summary::marker {
    content: "";
}

.currency-picker__flag,
.lang-picker__flag {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.currency-picker__code,
.lang-picker__code {
    letter-spacing: 0.04em;
}

.currency-picker__caret,
.lang-picker__caret {
    margin-inline-start: auto;
    opacity: 0.65;
    font-size: 0.75rem;
    line-height: 1;
}

.currency-picker[open] .currency-picker__summary,
.lang-picker[open] .lang-picker__summary {
    border-color: var(--border-strong);
}

.currency-picker__summary:hover,
.lang-picker__summary:hover {
    border-color: var(--border-strong);
}

.currency-picker__list,
.lang-picker__list {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 120;
    min-width: 100%;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.currency-picker__option,
.lang-picker__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: calc(var(--radius-sm) - 2px);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.15s var(--ease);
}

.currency-picker__option:hover,
.currency-picker__option:focus-visible,
.lang-picker__option:hover,
.lang-picker__option:focus-visible {
    background: rgba(56, 0, 0, 0.12);
    outline: none;
}

.currency-picker__option.is-current,
.lang-picker__option.is-current {
    background: rgba(56, 0, 0, 0.16);
}

.hero {
    position: relative;
    padding: clamp(56px, 10vw, 96px) 0 clamp(48px, 8vw, 72px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 420px at 75% 15%, rgba(56, 0, 0, 0.14), transparent 58%),
        radial-gradient(480px 360px at 15% 55%, rgba(249, 115, 22, 0.09), transparent 55%),
        linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(9, 9, 11, 0.5) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 42rem;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-inner > * {
        opacity: 0;
        animation: lv-fade-up 0.85s var(--ease-out) forwards;
    }

    .hero-inner .eyebrow {
        animation-delay: 0.06s;
    }

    .hero-inner h1 {
        animation-delay: 0.14s;
    }

    .hero-inner .lead {
        animation-delay: 0.22s;
    }

    .hero-inner .hero-cta {
        animation-delay: 0.3s;
    }

    .hero-inner .trust-strip {
        animation-delay: 0.38s;
    }

    .hero-bg {
        animation: lv-hero-glow 14s ease-in-out infinite alternate;
    }
}

@keyframes lv-fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lv-hero-glow {
    0% {
        opacity: 1;
        filter: saturate(1);
    }

    100% {
        opacity: 0.92;
        filter: saturate(1.15);
    }
}

.eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-bright);
    margin: 0 0 12px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin: 0 0 18px;
    color: #fafafa;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 {
        background: linear-gradient(135deg, #fff 0%, #e5d8d8 40%, var(--accent-bright) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.lead {
    font-size: 1.125rem;
    color: #d4d4d8;
    max-width: 48ch;
    margin: 0;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.pill {
    border: 1px solid var(--border-strong);
    background: rgba(56, 0, 0, 0.06);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    color: #e4e4e7;
}

.trust-strip {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.trust-strip .dot {
    opacity: 0.45;
}

.section {
    padding: clamp(48px, 8vw, 80px) 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.55) 0%, rgba(9, 9, 11, 0.4) 100%);
    border-block: 1px solid var(--border);
}

.section-head {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 44px);
    max-width: 36rem;
    margin-inline: auto;
}

.section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    position: relative;
    display: inline-block;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    transform-origin: center;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}

.section-head .muted {
    font-size: 1.05rem;
    margin: 0;
}

.page-head h1 {
    margin: 0 0 8px;
}

.banner-error {
    background: rgba(48, 0, 0, 0.15);
    border: 1px solid rgba(56, 0, 0, 0.35);
    color: #e0d0d0;
    padding: 14px 18px;
    border-radius: var(--radius);
}

.banner-error.inline {
    margin-top: 12px;
}

.steps {
    padding-inline-start: 22px;
}

.steps li {
    margin-bottom: 14px;
    padding-inline-start: 4px;
}

.steps li::marker {
    color: var(--accent);
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
}

.legal {
    font-size: 1rem;
    line-height: 1.85;
}

.legal h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    color: #fafafa;
}

.legal h2:first-of-type {
    margin-top: 1.25rem;
}

.legal h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.35rem 0 0.5rem;
    color: #e8e8e8;
}

.legal p {
    margin: 0 0 1rem;
}

.legal ul {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.35rem;
}

.legal li {
    margin-bottom: 0.65rem;
}

.legal li::marker {
    color: var(--accent-bright);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    gap: 24px;
    align-items: stretch;
    justify-items: stretch;
}

.cards-grid > .package-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.package-card__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* يوحّد ارتفاع وصف الباقات حتى تبقى الأسعار والقوائم بمحاذاة أوضح */
.package-card .package-desc {
    min-height: 5.25rem;
    margin: 0 0 0;
    flex-grow: 0;
}

.package-card .checklist {
    margin-top: 14px;
    margin-bottom: 0;
}

.package-card .tier-note {
    margin-top: 16px;
    margin-bottom: 0;
    min-height: 2.75rem;
    line-height: 1.45;
}

.package-card .tier-note--placeholder {
    color: transparent;
    user-select: none;
}

.package-card__spacer {
    flex: 1 1 0;
    min-height: 8px;
    width: 100%;
}

.package-card__foot {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
    padding-top: 6px;
}

.package-card__foot .card-actions {
    margin-top: 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 0, 0, 0.2);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.package-card.is-featured {
    border-color: rgba(56, 0, 0, 0.45);
    background: linear-gradient(165deg, rgba(48, 0, 0, 0.12) 0%, var(--bg-card) 42%);
    box-shadow:
        0 0 0 1px rgba(130, 30, 20, 0.24),
        0 14px 36px -14px rgba(120, 12, 8, 0.58),
        0 0 32px -14px rgba(255, 92, 40, 0.22);
    overflow: hidden;
    isolation: isolate;
}

.package-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(20% 56% at 10% 122%, rgba(255, 106, 30, 0.52) 0%, rgba(255, 106, 30, 0) 78%),
        radial-gradient(22% 62% at 28% 124%, rgba(255, 86, 24, 0.5) 0%, rgba(255, 86, 24, 0) 80%),
        radial-gradient(18% 52% at 46% 122%, rgba(255, 126, 42, 0.48) 0%, rgba(255, 126, 42, 0) 78%),
        radial-gradient(22% 60% at 64% 124%, rgba(238, 56, 18, 0.48) 0%, rgba(238, 56, 18, 0) 80%),
        radial-gradient(18% 50% at 82% 122%, rgba(255, 134, 48, 0.46) 0%, rgba(255, 134, 48, 0) 78%),
        radial-gradient(24% 78% at 8% 124%, rgba(255, 100, 30, 0.84) 0%, rgba(255, 100, 30, 0) 82%),
        radial-gradient(26% 86% at 24% 126%, rgba(250, 66, 18, 0.82) 0%, rgba(250, 66, 18, 0) 84%),
        radial-gradient(22% 74% at 42% 124%, rgba(255, 126, 44, 0.84) 0%, rgba(255, 126, 44, 0) 82%),
        radial-gradient(26% 84% at 60% 126%, rgba(236, 46, 16, 0.82) 0%, rgba(236, 46, 16, 0) 84%),
        radial-gradient(22% 72% at 78% 124%, rgba(255, 134, 48, 0.82) 0%, rgba(255, 134, 48, 0) 82%),
        radial-gradient(24% 80% at 92% 126%, rgba(224, 38, 12, 0.8) 0%, rgba(224, 38, 12, 0) 84%),
        linear-gradient(
            180deg,
            rgba(255, 120, 40, 0) 58%,
            rgba(255, 92, 26, 0.24) 82%,
            rgba(120, 14, 10, 0.34) 100%
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.package-card.is-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(13% 38% at 8% 106%, rgba(255, 235, 170, 0.85) 0%, rgba(255, 235, 170, 0) 72%),
        radial-gradient(13% 40% at 24% 106%, rgba(255, 220, 140, 0.86) 0%, rgba(255, 220, 140, 0) 74%),
        radial-gradient(12% 36% at 42% 106%, rgba(255, 226, 150, 0.82) 0%, rgba(255, 226, 150, 0) 70%),
        radial-gradient(13% 39% at 59% 106%, rgba(255, 214, 124, 0.84) 0%, rgba(255, 214, 124, 0) 74%),
        radial-gradient(12% 36% at 76% 106%, rgba(255, 226, 146, 0.82) 0%, rgba(255, 226, 146, 0) 70%),
        radial-gradient(13% 38% at 92% 106%, rgba(255, 210, 118, 0.84) 0%, rgba(255, 210, 118, 0) 74%);
    background-repeat: no-repeat;
    background-size:
        17% 40%,
        17% 42%,
        16% 38%,
        17% 41%,
        16% 38%,
        17% 40%;
    background-position:
        0% 104%,
        17% 105%,
        34% 104%,
        52% 105%,
        70% 104%,
        87% 105%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.96;
    filter: blur(0.7px) saturate(1.26);
    mix-blend-mode: screen;
}

.package-card.is-featured > * {
    position: relative;
    z-index: 2;
}

.card-badge {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(48, 0, 0, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
    .package-card.is-featured::after {
        animation: lv-fire-up 2.2s linear infinite;
    }
}

@keyframes lv-fire-up {
    0% {
        background-position:
            0% 104%,
            17% 105%,
            34% 104%,
            52% 105%,
            70% 104%,
            87% 105%;
        opacity: 0;
    }
    10% {
        background-position:
            0% 104%,
            17% 105%,
            34% 104%,
            52% 105%,
            70% 104%,
            87% 105%;
        opacity: 0;
    }
    18% {
        background-position:
            0% 101%,
            17% 102%,
            34% 101%,
            52% 102%,
            70% 101%,
            87% 102%;
        opacity: 0.96;
    }
    70% {
        background-position:
            0% 88%,
            17% 90%,
            34% 88%,
            52% 90%,
            70% 88%,
            87% 90%;
        opacity: 0.96;
    }
    88% {
        background-position:
            0% 84%,
            17% 86%,
            34% 84%,
            52% 86%,
            70% 84%,
            87% 86%;
        opacity: 0;
    }
    100% {
        background-position:
            0% 104%,
            17% 105%,
            34% 104%,
            52% 105%,
            70% 104%,
            87% 105%;
        opacity: 0;
    }
}

.package-sub {
    color: var(--muted);
    margin-top: 6px;
    font-size: 0.95rem;
}

.price {
    margin: 20px 0 14px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}

.price--has-discount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
}

.price-amount--old {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    text-decoration-color: #f5c400;
    text-decoration-thickness: 2px;
}

.price-amount--new {
    font-size: 2rem;
    font-weight: 900;
    color: #c8ff7a;
    letter-spacing: -0.03em;
}

.package-discount-label {
    width: 100%;
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f5c400;
    letter-spacing: 0.02em;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}

.checklist li {
    padding-inline-start: 26px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--success);
    font-weight: 800;
    font-size: 1rem;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 26px;
    text-decoration: none;
    isolation: isolate;
    overflow: hidden;
    transition:
        transform 0.35s var(--ease-spring),
        box-shadow 0.35s var(--ease),
        filter 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.12s;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 55%, #240000 100%);
    color: #fff;
    box-shadow:
        0 4px 16px rgba(48, 0, 0, 0.35),
        0 12px 40px -8px rgba(56, 0, 0, 0.45);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%, transparent 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s var(--ease);
}

/* لمعة قطريّة: أعلى يسار ← أسفل يمين ثم عودة لأعلى يسار */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: linear-gradient(
        128deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.06) 46%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.06) 54%,
        transparent 58%,
        transparent 100%
    );
    background-size: 240% 240%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}

.btn-primary:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow:
        0 8px 24px rgba(48, 0, 0, 0.45),
        0 20px 48px -10px rgba(56, 0, 0, 0.55);
}

.btn-primary:hover::before {
    opacity: 0.45;
}

@media (prefers-reduced-motion: no-preference) {
    .btn-primary {
        animation: lv-btn-pulse 3.5s ease-in-out infinite;
    }

    .btn-primary:hover {
        animation: none;
    }

    .btn-primary::after {
        animation: lv-btn-shine-diagonal 4.2s ease-in-out infinite;
    }
}

@keyframes lv-btn-pulse {
    0%,
    100% {
        box-shadow:
            0 4px 16px rgba(48, 0, 0, 0.35),
            0 12px 40px -8px rgba(56, 0, 0, 0.4);
    }

    50% {
        box-shadow:
            0 6px 22px rgba(48, 0, 0, 0.42),
            0 16px 44px -6px rgba(56, 0, 0, 0.52);
    }
}

@keyframes lv-btn-shine-diagonal {
    /* انطلاق من الزاوية أعلى-يسار (0% 0%) */
    0% {
        background-position: 0% 0%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    /* وصول لأسفل-يمين */
    42% {
        background-position: 100% 100%;
        opacity: 1;
    }

    50% {
        background-position: 100% 100%;
        opacity: 1;
    }

    /* عودة لأعلى-يسار */
    92% {
        background-position: 0% 0%;
        opacity: 1;
    }

    100% {
        background-position: 0% 0%;
        opacity: 0;
    }
}

.btn.btn-ghost {
    overflow: visible;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn-ghost::before {
    display: none;
}

.btn-ghost::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(56, 0, 0, 0.5), rgba(249, 115, 22, 0.25)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.btn-ghost:hover {
    border-color: transparent;
    background: rgba(56, 0, 0, 0.1);
    color: #fff;
    transform: translateY(-3px);
}

.btn-ghost:hover::after {
    opacity: 1;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 17px 32px;
    font-size: 1.1rem;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent-bright);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card-actions {
    margin-top: 12px;
}

.tier-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--muted);
}

.quiz-teaser {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    border: 1px dashed rgba(56, 0, 0, 0.35);
    border-radius: var(--radius);
    background: rgba(48, 0, 0, 0.06);
}

.quiz-teaser h3 {
    font-family: var(--font-display);
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.how-step {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s var(--ease);
}

.how-step::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -80%;
    width: 45%;
    height: 130%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 38%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.04) 62%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: t-card-shine 4.2s ease-in-out infinite;
}

.how-step:nth-child(1)::before {
    animation-delay: 0s;
}

.how-step:nth-child(2)::before {
    animation-delay: 0.55s;
}

.how-step:nth-child(3)::before {
    animation-delay: 1.1s;
}

.how-step > * {
    position: relative;
    z-index: 1;
}

.how-step:hover {
    border-color: rgba(56, 0, 0, 0.25);
}

.how-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.how-step .num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 0, 0, 0.2), rgba(48, 0, 0, 0.15));
    color: var(--accent-bright);
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 14px;
    border: 1px solid rgba(56, 0, 0, 0.25);
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.game-pill {
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--muted);
    transition: all 0.2s var(--ease);
}

.game-pill:hover {
    border-color: rgba(56, 0, 0, 0.4);
    color: #e4e4e7;
    background: rgba(56, 0, 0, 0.08);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.compare-table th,
.compare-table td {
    border: 1px solid var(--border);
    padding: 14px 16px;
    text-align: start;
}

.compare-table thead {
    background: linear-gradient(180deg, rgba(48, 0, 0, 0.2), rgba(24, 24, 27, 0.95));
}

.compare-table th {
    font-family: var(--font-display);
    font-weight: 700;
}

.compare-table tbody tr:hover {
    background: rgba(56, 0, 0, 0.04);
}

.tick {
    color: var(--success);
    font-weight: 800;
    font-size: 1.1rem;
}

.cross {
    color: var(--muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.t-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-inline-end: 3px solid var(--accent);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

/* لمعان أبيض يمرّ على البطاقة */
.t-card::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -80%;
    width: 45%;
    height: 130%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 38%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.04) 62%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: t-card-shine 4.2s ease-in-out infinite;
}

.t-card:nth-child(1)::before {
    animation-delay: 0s;
}

.t-card:nth-child(2)::before {
    animation-delay: 0.55s;
}

.t-card:nth-child(3)::before {
    animation-delay: 1.1s;
}

.t-card:nth-child(4)::before {
    animation-delay: 1.65s;
}

.t-card:nth-child(n + 5)::before {
    animation-delay: 2.2s;
}

@keyframes t-card-shine {
    0% {
        transform: translateX(-20%) rotate(12deg);
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(420%) rotate(12deg);
        opacity: 0.85;
    }
}

.t-card > * {
    position: relative;
    z-index: 1;
}

.t-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.t-card p {
    margin: 0;
    font-style: normal;
    color: #e4e4e7;
}

.t-card footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
    .t-card::before,
    .how-step::before {
        animation: none;
        opacity: 0;
    }
}

.faq-list {
    margin-top: 24px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 18px;
    margin-bottom: 12px;
    background: var(--bg-elevated);
    transition: border-color 0.2s var(--ease);
}

.faq-item[open] {
    border-color: rgba(56, 0, 0, 0.35);
    background: rgba(48, 0, 0, 0.06);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-display);
    padding: 12px 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::-moz-list-bullet {
    list-style: none;
}

/* مغلق: +  |  مفتوح: − — لمعان قطري + توهج يتحرك على الأيقونة */
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-display), system-ui, sans-serif;
    line-height: 1;
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(56, 0, 0, 0.45);
    background-image:
        linear-gradient(145deg, rgba(56, 0, 0, 0.52), rgba(48, 0, 0, 0.68)),
        linear-gradient(
            128deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.55) 50%,
            transparent 60%,
            transparent 100%
        );
    background-size: 100% 100%, 280% 280%;
    background-position: 0 0, 0% 0%;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.22),
        0 0 10px rgba(56, 0, 0, 0.25);
    transition:
        border-color 0.25s var(--ease),
        transform 0.25s var(--ease-spring);
}

@media (prefers-reduced-motion: no-preference) {
    .faq-item summary::after {
        animation: faq-icon-shine 3s ease-in-out infinite;
    }

    .faq-item[open] summary::after {
        animation: faq-icon-shine-open 3s ease-in-out infinite;
    }
}

.faq-item summary:hover::after {
    filter: brightness(1.12);
    transform: scale(1.04);
}

.faq-item[open] summary::after {
    content: "\2212";
    border-color: rgba(110, 60, 60, 0.65);
    background-image:
        linear-gradient(145deg, rgba(56, 0, 0, 0.78), rgba(48, 0, 0, 0.92)),
        linear-gradient(
            128deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.65) 50%,
            transparent 60%,
            transparent 100%
        );
    background-size: 100% 100%, 280% 280%;
    background-position: 0 0, 0% 0%;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(110, 60, 60, 0.4);
}

@keyframes faq-icon-shine {
    0%,
    100% {
        background-position: 0 0, 0% 0%;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.22),
            0 0 10px rgba(56, 0, 0, 0.25);
    }

    50% {
        background-position: 0 0, 100% 100%;
        box-shadow:
            0 2px 12px rgba(0, 0, 0, 0.28),
            0 0 18px rgba(110, 60, 60, 0.5);
    }
}

@keyframes faq-icon-shine-open {
    0%,
    100% {
        background-position: 0 0, 0% 0%;
        box-shadow:
            0 2px 10px rgba(0, 0, 0, 0.25),
            0 0 14px rgba(110, 60, 60, 0.4);
    }

    50% {
        background-position: 0 0, 100% 100%;
        box-shadow:
            0 2px 14px rgba(0, 0, 0, 0.3),
            0 0 22px rgba(254, 202, 202, 0.45);
    }
}

.faq-item p {
    margin: 0 0 14px;
    color: #d4d4d8;
    font-size: 0.98rem;
}

.cta-final {
    padding-bottom: clamp(56px, 10vw, 88px);
}

.cta-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: clamp(36px, 6vw, 52px);
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: linear-gradient(145deg, rgba(48, 0, 0, 0.18) 0%, rgba(24, 24, 27, 0.9) 50%, rgba(9, 9, 11, 0.95) 100%);
    box-shadow: var(--shadow-glow);
}

/* توهج أحمر ثابت داخل الصندوق */
.cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 130% 90% at 50% -15%, rgba(110, 60, 60, 0.28) 0%, transparent 52%),
        radial-gradient(ellipse 100% 70% at 100% 105%, rgba(56, 0, 0, 0.2) 0%, transparent 48%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(48, 0, 0, 0.16) 0%, transparent 45%);
}

/* لمعة خفيفة تتحرك داخلياً (أحمر / وردي فاتح) */
.cta-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
    background: linear-gradient(
        128deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 240, 245, 0.12) 48%,
        rgba(110, 60, 60, 0.22) 50%,
        rgba(255, 200, 210, 0.1) 54%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 220%;
    background-position: 0% 0%;
}

@media (prefers-reduced-motion: no-preference) {
    .cta-inner::after {
        animation: cta-inner-gleam 7s ease-in-out infinite;
    }
}

@keyframes cta-inner-gleam {
    0%,
    100% {
        background-position: 0% 0%;
        opacity: 0.65;
    }

    50% {
        background-position: 100% 100%;
        opacity: 0.95;
    }
}

.cta-inner > * {
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    margin: 0 0 20px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    background: #050506;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 36px;
}

.footer-grid h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 14px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social__link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(56, 0, 0, 0.5);
    background: linear-gradient(168deg, #380000 0%, #280000 44%, #300000 100%);
    color: #f5eded;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -12px 22px rgba(0, 0, 0, 0.3),
        0 4px 18px rgba(48, 0, 0, 0.45);
    transition:
        border-color 0.2s var(--ease),
        transform 0.2s var(--ease),
        box-shadow 0.25s var(--ease);
}

@keyframes footer-social-shine {
    0% {
        transform: translateX(-125%) skewX(-18deg);
    }

    100% {
        transform: translateX(225%) skewX(-18deg);
    }
}

.footer-social__link::before {
    content: "";
    position: absolute;
    top: -35%;
    left: 0;
    width: 48%;
    height: 170%;
    background: linear-gradient(
        92deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.12) 28%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.14) 72%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-125%) skewX(-18deg);
    animation: footer-social-shine 2.35s linear infinite;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.footer-social li:nth-child(2) .footer-social__link::before {
    animation-delay: 0.85s;
}

.footer-social__link::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 12%;
    right: 12%;
    height: 42%;
    border-radius: 50%;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255, 255, 255, 0.4), transparent 70%);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.footer-social__link:hover {
    border-color: rgba(110, 60, 60, 0.75);
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -12px 22px rgba(0, 0, 0, 0.22),
        0 8px 26px rgba(56, 0, 0, 0.5);
    text-decoration: none;
}

.footer-social__icon {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
    color: #fafafa;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
    .footer-social__link {
        transition: none;
    }

    .footer-social__link:hover {
        transform: none;
    }

    .footer-social__link::before {
        animation: none;
        opacity: 0.4;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        background: linear-gradient(
            125deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.16) 50%,
            rgba(255, 255, 255, 0) 60%
        );
    }
}

.footer-payments {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-payments__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-payments__icons {
    justify-content: flex-start;
}

.footer-payments__icon {
    display: block;
    height: 36px;
    width: auto;
    max-width: 82px;
    object-fit: contain;
    padding: 6px 11px;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
}

@media (max-width: 640px) {
    .site-footer .footer-grid {
        gap: 28px;
    }

    .site-footer .footer-grid > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-grid h3 {
        width: 100%;
        text-align: center;
    }

    .site-footer .footer-logo {
        justify-content: center;
        margin-inline: auto;
    }

    .site-footer .footer-grid .muted {
        max-width: 22rem;
        margin-inline: auto;
    }

    .site-footer .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .site-footer .footer-links li {
        text-align: center;
    }

    .site-footer .footer-social {
        justify-content: center;
        width: 100%;
    }

    .site-footer .footer-payments {
        align-items: center;
        width: 100%;
    }

    .site-footer .footer-payments__label {
        text-align: center;
        width: 100%;
    }

    .site-footer .footer-payments__icons {
        justify-content: center;
        width: 100%;
    }

    .site-footer .footer-payments__icons.payment-brands-visual--cdn {
        justify-content: center;
    }

    .site-footer .footer-payments__icons .payment-brands-img {
        margin-inline: auto;
    }

    .site-footer .footer-bottom .container {
        text-align: center;
    }

    .site-footer .footer-bottom p {
        text-align: center;
    }
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-table th {
    font-family: var(--font-display);
    background: rgba(48, 0, 0, 0.12);
    font-weight: 700;
}

.cart-table th,
.cart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: start;
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 92px;
    box-shadow: var(--shadow);
}

.total-big {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 900;
    margin: 8px 0 18px;
    color: #fff;
}

.mt-1 {
    margin-top: 12px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 32px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

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

.checkout-form {
    min-width: 0;
    max-width: 100%;
}

.checkout-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: rgba(56, 0, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(56, 0, 0, 0.12);
}

/* موعد المساعدة — كتلة متماشية مع هوية الموقع */
.checkout-scheduled-block {
    position: relative;
    margin: 1.35rem 0 1.55rem;
    border-radius: var(--radius);
    border: 1px solid rgba(168, 112, 112, 0.22);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(168, 112, 112, 0.12), transparent 55%),
        linear-gradient(165deg, rgba(56, 0, 0, 0.42) 0%, rgba(24, 24, 27, 0.94) 42%, rgba(14, 14, 17, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25),
        0 14px 44px -20px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.checkout-scheduled-block::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(168, 112, 112, 0.35) 22%,
        var(--accent-bright) 50%,
        rgba(56, 0, 0, 0.85) 78%,
        transparent 100%
    );
    opacity: 0.9;
    pointer-events: none;
}

.checkout-scheduled-block__inner {
    position: relative;
    padding: clamp(1rem, 3.5vw, 1.45rem) clamp(1rem, 3.2vw, 1.5rem) clamp(1.1rem, 3.5vw, 1.5rem);
}

.checkout-scheduled-block__head {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 3vw, 16px);
    margin-bottom: clamp(0.85rem, 2.5vw, 1.1rem);
}

.checkout-scheduled-block__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(44px, 11vw, 52px);
    height: clamp(44px, 11vw, 52px);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 52%, var(--accent-deep) 100%);
    color: #fafafa;
    box-shadow: 0 6px 22px rgba(56, 0, 0, 0.48);
}

.checkout-scheduled-block__icon {
    width: clamp(22px, 5.5vw, 26px);
    height: clamp(22px, 5.5vw, 26px);
}

.checkout-scheduled-block__titles {
    min-width: 0;
    flex: 1;
}

.checkout-scheduled-block__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.06rem, 3.2vw, 1.22rem);
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.28;
}

.checkout-scheduled-block__hint {
    margin: 0;
    line-height: 1.6;
    max-width: 38rem;
}

.checkout-scheduled-block__field {
    margin-top: 0.15rem;
}

.checkout-scheduled-block__input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bright);
    opacity: 0.92;
}

.checkout-scheduled-block .checkout-scheduled-block__input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: clamp(12px, 3vw, 15px) clamp(14px, 3.5vw, 18px);
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    font-weight: 600;
    font-family: inherit;
    line-height: 1.35;
    border-radius: 12px;
    border: 1px solid rgba(168, 112, 112, 0.32);
    background: rgba(8, 8, 10, 0.92);
    color: var(--text);
    cursor: pointer;
    transition:
        border-color 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}

.checkout-scheduled-block .checkout-scheduled-block__input:hover {
    border-color: rgba(168, 112, 112, 0.48);
    background: rgba(10, 10, 12, 0.96);
}

.checkout-scheduled-block .checkout-scheduled-block__input:focus {
    outline: none;
    border-color: rgba(168, 112, 112, 0.58);
    box-shadow:
        0 0 0 3px rgba(56, 0, 0, 0.38),
        0 10px 32px -14px rgba(56, 0, 0, 0.5);
    background: rgba(12, 12, 14, 0.98);
}

/* Flatpickr — مظهر Lunor (يُحمّل فقط في صفحة الدفع) */
body.page-checkout .flatpickr-calendar.lunor-flatpickr {
    background: var(--bg-card);
    border: 1px solid rgba(168, 112, 112, 0.28);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 20px 50px -18px rgba(0, 0, 0, 0.65),
        0 0 40px -12px rgba(56, 0, 0, 0.35);
    font-family: var(--font-body);
    color: var(--text);
}

body.page-checkout .lunor-flatpickr .flatpickr-months {
    padding: 8px 4px 4px;
}

body.page-checkout .lunor-flatpickr .flatpickr-month {
    color: #fff;
}

body.page-checkout .lunor-flatpickr .flatpickr-current-month {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
}

body.page-checkout .lunor-flatpickr .flatpickr-weekdays {
    background: transparent;
}

body.page-checkout .lunor-flatpickr span.flatpickr-weekday {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.78rem;
}

body.page-checkout .lunor-flatpickr .flatpickr-day {
    border-radius: 10px;
    border: none;
    color: var(--text);
    font-weight: 600;
}

body.page-checkout .lunor-flatpickr .flatpickr-day:hover {
    background: rgba(56, 0, 0, 0.45);
    border-color: transparent;
}

body.page-checkout .lunor-flatpickr .flatpickr-day.today {
    border: 1px solid rgba(168, 112, 112, 0.45);
    background: rgba(56, 0, 0, 0.25);
}

body.page-checkout .lunor-flatpickr .flatpickr-day.selected,
body.page-checkout .lunor-flatpickr .flatpickr-day.startRange,
body.page-checkout .lunor-flatpickr .flatpickr-day.endRange {
    background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-deep) 100%);
    border-color: transparent;
    color: #fafafa;
    box-shadow: 0 4px 14px rgba(56, 0, 0, 0.45);
}

body.page-checkout .lunor-flatpickr .flatpickr-day.flatpickr-disabled {
    color: rgba(161, 161, 170, 0.35);
}

body.page-checkout .lunor-flatpickr .flatpickr-prev-month:hover svg,
body.page-checkout .lunor-flatpickr .flatpickr-next-month:hover svg {
    fill: var(--accent-bright);
}

/* منطقة الوقت (12 ساعة + AM/PM): LTR حتى في RTL لوضوح الترتيب */
body.page-checkout .lunor-flatpickr .flatpickr-time {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px 16px;
    border-top: 1px solid rgba(168, 112, 112, 0.15);
    background: linear-gradient(180deg, rgba(14, 14, 16, 0.92) 0%, rgba(9, 9, 11, 0.72) 100%);
    direction: ltr !important;
    unicode-bidi: isolate;
}

body.page-checkout .lunor-flatpickr .flatpickr-time input.flatpickr-hour,
body.page-checkout .lunor-flatpickr .flatpickr-time input.flatpickr-minute {
    color: #fafafa;
    font-weight: 800;
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0.03em;
    box-shadow: none !important;
    text-align: center;
    padding: 6px 4px;
    border: none !important;
    background: transparent !important;
    -moz-appearance: textfield;
}

body.page-checkout .lunor-flatpickr .flatpickr-time input::-webkit-outer-spin-button,
body.page-checkout .lunor-flatpickr .flatpickr-time input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

body.page-checkout .lunor-flatpickr .flatpickr-time .flatpickr-time-separator {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-bright);
    padding: 0 2px;
    line-height: 1;
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper {
    height: 46px;
    border-radius: 12px;
    background: rgba(24, 24, 27, 0.72);
    border: 1px solid rgba(168, 112, 112, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper:first-of-type {
    width: 3.35rem;
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper:not(:first-of-type) {
    width: 4rem;
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper:hover {
    border-color: rgba(168, 112, 112, 0.38);
    background: rgba(56, 0, 0, 0.2);
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper span {
    border-color: rgba(168, 112, 112, 0.25);
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper span:hover {
    background: rgba(56, 0, 0, 0.45);
}

body.page-checkout .lunor-flatpickr .flatpickr-time .numInputWrapper span svg {
    fill: var(--accent-bright);
}

body.page-checkout .lunor-flatpickr .flatpickr-time .flatpickr-am-pm {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    margin-left: 4px;
    padding: 0 12px;
    min-width: 3.5rem;
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: #fafafa;
    background: rgba(24, 24, 27, 0.72);
    border: 1px solid rgba(168, 112, 112, 0.28);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.15s ease, background 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

body.page-checkout .lunor-flatpickr .flatpickr-time .flatpickr-am-pm:hover,
body.page-checkout .lunor-flatpickr .flatpickr-time .flatpickr-am-pm:focus {
    border-color: rgba(200, 140, 140, 0.45);
    background: rgba(56, 0, 0, 0.35);
    outline: none;
}

body.page-checkout .lunor-flatpickr .flatpickr-time.hasSeconds .flatpickr-time-separator {
    margin: 0 1px;
}

html[dir="rtl"] body.page-checkout .lunor-flatpickr .flatpickr-months,
html[dir="rtl"] body.page-checkout .lunor-flatpickr .flatpickr-weekdays,
html[dir="rtl"] body.page-checkout .lunor-flatpickr .flatpickr-days {
    direction: rtl;
}

html[dir="rtl"] body.page-checkout .lunor-flatpickr {
    direction: rtl;
}

html[dir="rtl"] body.page-checkout .lunor-flatpickr .flatpickr-time {
    direction: ltr !important;
}

@media (max-width: 480px) {
    body.page-checkout .flatpickr-calendar.lunor-flatpickr {
        width: min(calc(100vw - 28px), 360px) !important;
        max-width: 360px;
    }
}

.checkout-scheduled-block .field-error {
    margin-top: 0.65rem;
}

@media (max-width: 420px) {
    .checkout-scheduled-block__head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .checkout-scheduled-block__titles {
        text-align: center;
    }

    .checkout-scheduled-block__hint {
        max-width: none;
    }

    .checkout-scheduled-block__field {
        width: 100%;
    }

    .checkout-scheduled-block__input-label {
        text-align: center;
    }
}

@media (min-width: 421px) {
    .checkout-scheduled-block__head {
        align-items: center;
    }
}

.field-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin: 4px 0 0;
}

.payment-box {
    margin-top: 8px;
    padding: 18px 20px;
    border: 1px solid rgba(56, 0, 0, 0.22);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(48, 0, 0, 0.1), rgba(24, 24, 27, 0.5));
}

.payment-box--minimal {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-box--minimal .payment-brands-visual {
    margin-top: 0;
}

.payment-box__title {
    margin: 0 0 10px;
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #fff;
}

.payment-box__next-step {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 245, 235, 0.92);
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(20, 18, 24, 0.65);
}

/* Stripe — صفحة الدفع stripe_pay.php (Card Element) */
.page-stripe-pay .stripe-pay-layout {
    align-items: start;
}

.stripe-pay-panel {
    padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--radius);
    border: 1px solid rgba(168, 112, 112, 0.2);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(168, 112, 112, 0.1), transparent 55%),
        linear-gradient(165deg, rgba(56, 0, 0, 0.35) 0%, rgba(24, 24, 27, 0.92) 45%, rgba(14, 14, 17, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.22),
        0 18px 48px -24px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.stripe-pay-panel::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(168, 112, 112, 0.35) 22%,
        var(--accent-bright) 50%,
        rgba(56, 0, 0, 0.85) 78%,
        transparent 100%
    );
    opacity: 0.92;
    pointer-events: none;
}

.stripe-pay-lead {
    margin: 0 0 1.25rem;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.stripe-pay-form {
    position: relative;
    z-index: 1;
}

.stripe-pay-card-block {
    margin-bottom: 4px;
}

.stripe-pay-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.stripe-pay-card-head__badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(56, 0, 0, 0.35);
    border: 1px solid rgba(168, 112, 112, 0.25);
    color: var(--accent-bright);
}

.stripe-pay-card-head__lock {
    width: 22px;
    height: 22px;
}

.stripe-pay-card-head__title {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.stripe-pay-card-head__hint {
    margin: 0;
    line-height: 1.45;
}

/* خانات منفصلة (cardNumber / cardExpiry / cardCvc) — نفس إيقاع checkout-form */
.stripe-pay-fields {
    margin-top: 4px;
}

.stripe-pay-fields[hidden] {
    display: none !important;
}

.stripe-pay-field {
    display: block;
    margin-bottom: 18px;
}

.stripe-pay-field:last-child {
    margin-bottom: 0;
}

.stripe-pay-field__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: var(--text);
}

.stripe-pay-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .stripe-pay-field-row {
        grid-template-columns: 1fr;
    }
}

.stripe-pay-field--half {
    margin-bottom: 0;
}

.stripe-pay-input {
    min-height: 56px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(30, 30, 34, 0.98) 0%, var(--bg-elevated) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.2);
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
    direction: ltr;
    text-align: left;
    overflow: hidden;
}

.stripe-pay-input:hover {
    border-color: rgba(168, 112, 112, 0.28);
}

.stripe-pay-input:focus-within {
    outline: none;
    border-color: rgba(168, 112, 112, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 3px rgba(56, 0, 0, 0.18),
        0 4px 20px -8px rgba(56, 0, 0, 0.35);
}

/* مسافة بين حدود الصندوق وإطار Stripe (بدون عرض flex يكسر التخطيط الداخلي) */
.stripe-pay-input .StripeElement {
    padding: 12px 16px 12px 14px;
    min-height: 50px;
    box-sizing: border-box;
}

.stripe-pay-loading {
    margin: 0 0 14px;
    padding: 10px 0 0;
    font-size: 0.9rem;
}

.stripe-pay-secure-note {
    margin: 10px 0 0;
    letter-spacing: 0.02em;
}

.stripe-pay-brands {
    margin-top: 12px;
    gap: 8px;
}

.stripe-pay-brand-icon {
    height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
}

.stripe-pay-message {
    margin: 12px 0 0;
}

.stripe-pay-submit {
    margin-top: 1.25rem;
}

.stripe-pay-summary .total-big {
    margin-top: 8px;
}

.payment-brands-caption {
    margin: 10px 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.payment-brands-visual {
    margin-top: 10px;
}

.payment-brands-visual--cdn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.payment-brands-icon {
    display: block;
    height: 40px;
    width: auto;
    max-width: 88px;
    object-fit: contain;
    padding: 8px 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.payment-brands-img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.checkout-form button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.checkout-summary {
    min-width: 0;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.summary-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.summary-lines li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.summary-lines li span {
    min-width: 0;
    word-break: break-word;
}

/* Modal */
.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    width: min(520px, 92vw);
    margin: 8vh auto;
    background: var(--bg-card);
    border: 1px solid rgba(56, 0, 0, 0.25);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-glow);
}

.modal-dialog h2 {
    font-family: var(--font-display);
    margin: 0 0 8px;
}

.modal-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}

.modal-close:hover {
    background: rgba(56, 0, 0, 0.2);
}

.quiz-step {
    margin-top: 12px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.quiz-options button {
    text-align: start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.25s var(--ease),
        background 0.25s var(--ease),
        transform 0.3s var(--ease-spring),
        box-shadow 0.25s var(--ease);
}

.quiz-options button:hover {
    border-color: rgba(56, 0, 0, 0.5);
    background: rgba(48, 0, 0, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.quiz-options button:active {
    transform: translateY(0) scale(0.99);
}

code {
    font-size: 0.88em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(56, 0, 0, 0.12);
    border: 1px solid rgba(56, 0, 0, 0.2);
}

/* ظهور الأقسام عند التمرير */
@media (prefers-reduced-motion: no-preference) {
    .lv-reveal {
        opacity: 0;
        transform: translateY(32px);
        transition:
            opacity 0.75s var(--ease-out),
            transform 0.75s var(--ease-out);
        transition-delay: var(--lv-delay, 0s);
    }

    .lv-reveal.lv-reveal--in {
        opacity: 1;
        transform: translateY(0);
    }

    .lv-reveal:not(.lv-reveal--in) .section-head h2::after {
        transform: scaleX(0.35);
        opacity: 0.45;
    }

    .lv-reveal.lv-reveal--in .section-head h2::after {
        transform: scaleX(1);
        opacity: 1;
        transition:
            transform 0.65s var(--ease-out) 0.12s,
            opacity 0.5s var(--ease);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-inner > *,
    .hero-bg {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .lv-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .btn-primary {
        animation: none !important;
    }

    .btn-primary::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .faq-item summary::after {
        animation: none !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}

/* شاشات صغيرة — مسافات وأحجام إضافية */
@media (max-width: 880px) {
    .section {
        padding: clamp(32px, 8vw, 56px) 0;
    }

    .page-head h1 {
        font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    }

    .hero {
        padding: clamp(40px, 9vw, 72px) 0 clamp(32px, 7vw, 56px);
    }

    .lead {
        font-size: 1.05rem;
    }

    .card {
        padding: 22px;
    }

    .cart-summary {
        position: static;
        top: auto;
    }

    .compare-table {
        font-size: 0.92rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
    }
}

/* زر واتساب عائم — ثابت مع التمرير (كل الصفحات) */
.wa-float {
    position: fixed;
    z-index: 60;
    bottom: max(22px, env(safe-area-inset-bottom));
    inset-inline-end: max(18px, env(safe-area-inset-inline-end));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 48%, var(--accent-deep) 100%);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2),
        0 6px 22px rgba(56, 0, 0, 0.5),
        0 14px 36px rgba(0, 0, 0, 0.38);
    text-decoration: none;
    transform: translateX(-16px);
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease);
}

.wa-float:hover {
    transform: translateX(-16px) scale(1.06) translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22),
        0 10px 28px rgba(56, 0, 0, 0.55),
        0 18px 44px rgba(0, 0, 0, 0.42);
}

.wa-float:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.wa-float__icon {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.wa-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(168, 112, 112, 0.55);
    animation: wa-float-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-float-pulse {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float {
        transition: none;
    }

    .wa-float:hover {
        transform: translateX(-16px);
    }

    .wa-float__pulse {
        animation: none;
        opacity: 0.35;
    }
}

@media (max-width: 880px) {
    .wa-float {
        width: 52px;
        height: 52px;
        inset-inline-end: max(14px, env(safe-area-inset-inline-end));
        bottom: max(18px, env(safe-area-inset-bottom));
        transform: translateX(-12px);
    }

    .wa-float:hover {
        transform: translateX(-12px) scale(1.06) translateY(-2px);
    }

    .wa-float__icon {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) and (max-width: 880px) {
    .wa-float:hover {
        transform: translateX(-12px);
    }
}

/* ========== لوحة الإدارة — ألوان الموقع (عنابي / داكن) ========== */
.admin-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* خلفية قسم الدخول */
.admin-login-section {
    padding-top: clamp(28px, 6vw, 52px);
    padding-bottom: clamp(40px, 9vw, 80px);
    background:
        radial-gradient(ellipse 100% 70% at 100% 0%, rgba(56, 0, 0, 0.55), transparent 52%),
        radial-gradient(ellipse 90% 60% at 0% 90%, rgba(36, 0, 0, 0.5), transparent 55%),
        linear-gradient(180deg, rgba(18, 18, 21, 0.97) 0%, var(--bg) 45%);
}

.admin-login--embedded {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 240px);
    padding: 8px 0 32px;
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 0, 0, 0.35), transparent 55%),
        var(--bg);
}

/* بطاقة دخول فخمة */
.admin-login__card {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: clamp(28px, 6vw, 40px) clamp(22px, 4vw, 34px);
    background:
        linear-gradient(165deg, rgba(31, 31, 35, 0.95) 0%, rgba(24, 24, 27, 0.98) 100%);
    border: 1px solid rgba(168, 112, 112, 0.18);
    border-radius: 22px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 24px 56px -16px rgba(0, 0, 0, 0.65),
        0 0 80px -20px rgba(56, 0, 0, 0.35);
    overflow: hidden;
}

.admin-login__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 38%, var(--accent-bright) 100%);
    opacity: 0.95;
}

.admin-login__kicker {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-bright);
    opacity: 0.9;
}

.admin-login__title {
    font-family: var(--font-display);
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 4.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    background: linear-gradient(135deg, #fafafa 0%, var(--accent-bright) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-login__lead {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-login__card .admin-form {
    max-width: none;
    width: 100%;
    gap: 20px;
}

.admin-login__card .admin-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}

.admin-login__card .admin-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 9, 11, 0.55);
    color: var(--text);
    font: inherit;
    transition:
        border-color 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}

.admin-login__card .admin-form input:focus {
    outline: none;
    border-color: rgba(168, 112, 112, 0.45);
    background: rgba(18, 18, 21, 0.85);
    box-shadow:
        0 0 0 3px rgba(56, 0, 0, 0.35),
        0 0 24px rgba(56, 0, 0, 0.2);
}

.admin-login__card .btn.btn-primary.btn-block {
    margin-top: 8px;
    min-height: 50px;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 42%, var(--accent-deep) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(56, 0, 0, 0.45);
}

.admin-login__card .btn.btn-primary.btn-block:hover {
    filter: brightness(1.06);
    box-shadow: 0 12px 36px rgba(56, 0, 0, 0.5);
}

/* شريط تنقل الإدارة */
.admin-subnav {
    margin: 0 0 28px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.92) 0%, rgba(18, 18, 21, 0.96) 100%);
    border: 1px solid rgba(168, 112, 112, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.5);
}

.admin-subnav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.admin-subnav__toggle {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid rgba(168, 112, 112, 0.22);
    border-radius: 11px;
    background: rgba(56, 0, 0, 0.38);
    color: var(--text);
    cursor: pointer;
    transition:
        background 0.2s var(--ease),
        border-color 0.2s var(--ease);
}

.admin-subnav__toggle:hover {
    background: rgba(56, 0, 0, 0.52);
    border-color: rgba(168, 112, 112, 0.35);
}

.admin-subnav__toggle:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 2px;
}

.admin-subnav__toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
}

.admin-subnav__toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition:
        transform 0.22s var(--ease),
        opacity 0.2s var(--ease);
}

.admin-subnav.is-open .admin-subnav__toggle-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.admin-subnav.is-open .admin-subnav__toggle-bars span:nth-child(2) {
    opacity: 0;
}

.admin-subnav.is-open .admin-subnav__toggle-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.admin-subnav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.admin-subnav__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-inline-end: 6px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fafafa;
    background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-deep) 100%);
    border-radius: 11px;
    box-shadow: 0 4px 14px rgba(56, 0, 0, 0.45);
}

.admin-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: none;
    transition:
        color 0.2s var(--ease),
        background 0.2s var(--ease);
}

.admin-subnav__link:hover {
    color: var(--text);
    background: rgba(56, 0, 0, 0.35);
}

.admin-subnav__link.is-active {
    color: #fafafa;
    background: linear-gradient(135deg, rgba(56, 0, 0, 0.75) 0%, rgba(36, 0, 0, 0.9) 100%);
    border: 1px solid rgba(168, 112, 112, 0.28);
    box-shadow: 0 4px 16px rgba(56, 0, 0, 0.35);
}

.admin-subnav__user {
    font-size: 0.85rem;
    color: var(--muted);
    margin-inline-start: auto;
    padding: 6px 10px;
}

.admin-subnav__link--logout {
    color: var(--accent-bright);
}

.admin-subnav__link--logout:hover {
    color: #fecaca;
    background: rgba(56, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .admin-subnav__toggle {
        display: inline-flex;
    }

    .admin-subnav__brand {
        margin-inline-end: 0;
    }

    .admin-subnav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 100%;
        width: 100%;
        padding-top: 4px;
        margin-top: 4px;
        border-top: 1px solid rgba(168, 112, 112, 0.12);
        gap: 4px;
    }

    .admin-subnav.is-open .admin-subnav__links {
        display: flex;
    }

    .admin-subnav__links .admin-subnav__link {
        justify-content: center;
        text-align: center;
    }

    .admin-subnav__user {
        margin-inline-start: 0;
        width: 100%;
        text-align: center;
        padding: 10px 8px 4px;
        border-top: 1px solid rgba(168, 112, 112, 0.1);
        margin-top: 4px;
    }
}

/* داشبورد */
.admin-dash-section {
    padding-top: clamp(20px, 4vw, 36px);
    padding-bottom: clamp(36px, 7vw, 64px);
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 0, 0, 0.25), transparent 55%),
        var(--bg);
}

.admin-page-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(168, 112, 112, 0.12);
}

.admin-page-title {
    font-family: var(--font-display);
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.admin-page-sub {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.admin-footnote {
    margin-top: 24px;
    font-size: 0.88rem;
    line-height: 1.65;
}

.admin-footnote code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(56, 0, 0, 0.35);
    font-size: 0.85em;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 8px;
}

.admin-card--stat {
    position: relative;
    padding: 22px 20px;
    background: linear-gradient(155deg, rgba(31, 31, 35, 0.65) 0%, rgba(24, 24, 27, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out);
}

.admin-card--stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
}

.admin-card--stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
}

.admin-card--sales::before {
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
}

.admin-card--expense::before {
    background: linear-gradient(90deg, #78716c, #a8a29e);
}

.admin-card--draw::before {
    background: linear-gradient(90deg, var(--accent), #7f1d1d);
}

.admin-card--inject::before {
    background: linear-gradient(90deg, #166534, var(--success));
}

.admin-card--net::before {
    background: linear-gradient(90deg, var(--accent-bright), var(--accent-2));
}

.admin-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.35;
}

.admin-card__value {
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 800;
    margin: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: var(--text);
}

.admin-card__unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    margin-inline-start: 4px;
    opacity: 0.85;
}

/* بطاقات عامة / جداول */
.admin-card:not(.admin-card--stat) {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(168, 112, 112, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.6) 0%, var(--bg-card) 100%);
    box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.4);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    text-align: start;
    border-bottom: 1px solid var(--border);
}

.admin-table tbody tr {
    transition: background 0.15s var(--ease);
}

.admin-table tbody tr:hover {
    background: rgba(56, 0, 0, 0.12);
}

.admin-table th {
    background: rgba(18, 18, 21, 0.85);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--accent-bright);
    text-transform: none;
}

.admin-form {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font: inherit;
}

.admin-perms {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-perms label {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.admin-banner {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.admin-banner--ok {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.admin-banner--err {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.checkout-tip {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    min-width: 0;
    max-width: 100%;
    min-inline-size: 0;
}

.checkout-tip legend {
    font-weight: 700;
    padding: 0 0.35rem;
}

.checkout-tip__hint {
    margin: 0 0 12px;
}

.checkout-tip__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0.25rem;
    width: 100%;
    min-width: 0;
}

@media (min-width: 520px) {
    .checkout-tip__options {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@keyframes checkout-tip-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes checkout-tip-shimmer {
    0% {
        transform: translateX(-130%) skewX(-14deg);
        opacity: 0.35;
    }

    35% {
        opacity: 0.85;
    }

    100% {
        transform: translateX(130%) skewX(-14deg);
        opacity: 0.35;
    }
}

@keyframes checkout-tip-glow {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(56, 0, 0, 0.28),
            0 6px 18px -10px rgba(0, 0, 0, 0.4),
            0 0 18px -6px rgba(168, 112, 112, 0.15);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(168, 112, 112, 0.35),
            0 10px 26px -8px rgba(0, 0, 0, 0.5),
            0 0 28px -4px rgba(168, 112, 112, 0.28);
    }
}

.checkout-tip__tile {
    display: block;
    margin: 0;
    min-width: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.checkout-tip__tile-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.65rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(155deg, rgba(36, 36, 40, 0.95) 0%, rgba(22, 22, 26, 0.98) 100%);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    transition:
        border-color 0.28s var(--ease),
        background 0.28s var(--ease),
        box-shadow 0.28s var(--ease),
        transform 0.28s var(--ease-out);
    animation:
        checkout-tip-float 4.2s ease-in-out infinite,
        checkout-tip-glow 3.2s ease-in-out infinite;
}

.checkout-tip__tile:nth-child(1) .checkout-tip__tile-body {
    animation-delay: 0s, 0.1s;
}

.checkout-tip__tile:nth-child(2) .checkout-tip__tile-body {
    animation-delay: 0.25s, 0.35s;
}

.checkout-tip__tile:nth-child(3) .checkout-tip__tile-body {
    animation-delay: 0.5s, 0.6s;
}

.checkout-tip__tile:nth-child(4) .checkout-tip__tile-body {
    animation-delay: 0.75s, 0.85s;
}

.checkout-tip__tile-body::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 0;
    width: 55%;
    height: 180%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 35%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.04) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: checkout-tip-shimmer 2.8s ease-in-out infinite;
}

.checkout-tip__tile:nth-child(1) .checkout-tip__tile-body::before {
    animation-delay: 0.15s;
}

.checkout-tip__tile:nth-child(2) .checkout-tip__tile-body::before {
    animation-delay: 0.55s;
}

.checkout-tip__tile:nth-child(3) .checkout-tip__tile-body::before {
    animation-delay: 0.95s;
}

.checkout-tip__tile:nth-child(4) .checkout-tip__tile-body::before {
    animation-delay: 1.35s;
}

.checkout-tip__tile-body > * {
    position: relative;
    z-index: 1;
}

.checkout-tip__tile:hover .checkout-tip__tile-body {
    border-color: rgba(168, 112, 112, 0.55);
    transform: translateY(-2px) scale(1.02);
}

.checkout-tip__tile-label {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--muted);
}

.checkout-tip__tile-amount {
    font-weight: 700;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.checkout-tip__tile:has(input:checked) .checkout-tip__tile-body {
    border-color: rgba(168, 112, 112, 0.75);
    background: linear-gradient(165deg, rgba(56, 0, 0, 0.5) 0%, rgba(18, 18, 22, 0.99) 100%);
    box-shadow:
        0 0 0 1px rgba(168, 112, 112, 0.4),
        0 12px 32px -10px rgba(0, 0, 0, 0.55),
        0 0 36px -6px rgba(56, 0, 0, 0.45);
    animation: none;
}

.checkout-tip__tile:has(input:checked) .checkout-tip__tile-body::before {
    animation-duration: 2s;
    opacity: 0.95;
}

.checkout-tip__tile:has(input:checked) .checkout-tip__tile-label {
    color: var(--text);
}

.checkout-tip__tile:has(input:focus-visible) .checkout-tip__tile-body {
    outline: 2px solid var(--accent-bright);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .checkout-tip__tile-body,
    .checkout-tip__tile-body::before {
        animation: none !important;
    }

    .checkout-tip__tile:hover .checkout-tip__tile-body {
        transform: none;
    }

    .checkout-tip__tile:has(input:checked) .checkout-tip__tile-body::before {
        opacity: 0.5;
    }
}

.checkout-summary__tip[hidden] {
    display: none !important;
}

.checkout-method-hint {
    font-weight: 600;
    margin: 0 0 12px;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkout-actions__wa {
    border-color: rgba(56, 0, 0, 0.45);
}

.whatsapp-copy-box {
    margin: 16px 0;
}

.whatsapp-copy-box__ta {
    width: 100%;
    max-width: 560px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font: inherit;
    margin-bottom: 10px;
}

.mt-lg {
    margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .admin-card--stat:hover {
        transform: none;
    }

    .admin-login__card .btn.btn-primary.btn-block:hover {
        filter: none;
    }
}
