/* ============================================================
   shop.css — Liquid Glass Shop  ·  Sky Thumbnails
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
.shop-page {
    --shop-accent: #1d7df2;
    --shop-accent-strong: #0a63d3;
    --shop-ink: rgba(8, 16, 32, 0.92);
    --shop-muted: rgba(19, 33, 59, 0.62);
    --shop-soft: rgba(19, 33, 59, 0.46);
    --shop-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 255, 0.68));
    --shop-glass-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.82));
    --shop-border: rgba(255, 255, 255, 0.72);
    --shop-outline: rgba(122, 152, 205, 0.2);
    --shop-shadow: 0 20px 50px rgba(98, 130, 184, 0.18);
    --shop-shadow-lg: 0 28px 64px rgba(86, 121, 181, 0.22);
    --shop-ease: 280ms cubic-bezier(0.23, 1, 0.32, 1);
    --shop-ease-fast: 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Background tweaks ──────────────────────────────────────── */
.shop-page .sky-bg-layer.layer-1 {
    opacity: 0.72;
    filter: blur(4px) saturate(112%);
}

.shop-page .sky-bg-layer.layer-2 {
    opacity: 0.88;
}

.shop-page.shop-overlay-open {
    position: fixed;
    inset: 0;
    width: 100%;
    overflow: hidden;
}

/* ── Shell container ────────────────────────────────────────── */
.shop-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 118px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* ── Shared glass surface ───────────────────────────────────── */
.shop-hero,
.shop-block,
.plan-card,
.addon-card,
.plan-modal-card {
    background: var(--shop-glass);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.shop-hero,
.shop-block {
    position: relative;
    overflow: hidden;
}

/* Top highlight + corner glow */
.shop-hero::before,
.shop-block::before,
.plan-card::before,
.addon-card::before,
.plan-modal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 24%),
        radial-gradient(circle at top right, rgba(147, 211, 255, 0.18), transparent 36%);
}

.shop-hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -140px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 125, 242, 0.2) 0%, rgba(29, 125, 242, 0.04) 52%, transparent 74%);
    pointer-events: none;
}

/* ============================================================
   HERO
   ============================================================ */
.shop-hero {
    border-radius: 32px;
    padding: 38px 36px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 28px;
    align-items: stretch;
}

.shop-hero-copy,
.shop-hero-stage,
.hero-stage-stack,
.block-copy,
.block-side-note {
    position: relative;
    z-index: 1;
}

/* ── Kicker / eyebrow pills ─────────────────────────────────── */
.shop-eyebrow,
.block-kicker,
.hero-stage-kicker,
.hero-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(29, 125, 242, 0.22);
    background: rgba(29, 125, 242, 0.08);
    color: var(--shop-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Hero title ─────────────────────────────────────────────── */
.shop-hero-title {
    margin: 20px 0 0;
    max-width: 12ch;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.shop-hero-title span {
    display: inline-block;
    background: linear-gradient(135deg, #0f63d8, #4cc0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shop-hero-lede {
    margin: 18px 0 0;
    max-width: 560px;
    color: var(--shop-muted);
    font-size: 1rem;
    line-height: 1.72;
}

/* ── Hero action buttons ────────────────────────────────────── */
.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.shop-ghost-btn {
    min-width: 154px;
}

/* ── Hero stat metrics ──────────────────────────────────────── */
.shop-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.hero-stat {
    padding: 18px 16px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 255, 0.58));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform var(--shop-ease), box-shadow var(--shop-ease);
}

.hero-stat:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 24px rgba(98, 130, 184, 0.14);
}

.hero-stat strong {
    color: var(--shop-accent-strong);
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    line-height: 1;
}

.hero-stat span {
    color: var(--shop-soft);
    font-size: 0.88rem;
}

/* ── Hero stage cards (right column) ────────────────────────── */
.shop-hero-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-stage-card,
.hero-mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--shop-glass-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform var(--shop-ease), box-shadow var(--shop-ease);
}

.hero-stage-card:hover,
.hero-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 32px rgba(86, 121, 181, 0.16);
}

.hero-stage-card {
    min-height: 260px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-stage-card::after,
.hero-mini-card::after {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(29, 125, 242, 0.06));
    pointer-events: none;
}

.hero-stage-card h2 {
    margin: 16px 0 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-stage-card p,
.hero-mini-card p {
    margin: 12px 0 0;
    color: var(--shop-muted);
    line-height: 1.65;
    font-size: 0.94rem;
}

.hero-stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-stage-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 125, 242, 0.07);
    border: 1px solid rgba(29, 125, 242, 0.18);
    color: var(--shop-accent-strong);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-stage-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-mini-card {
    min-height: 160px;
    padding: 22px 20px;
}

.hero-mini-card strong {
    display: block;
    margin-top: 14px;
    color: var(--shop-ink);
    font-size: 1.06rem;
    line-height: 1.4;
}

/* ============================================================
   SECTION BLOCKS
   ============================================================ */
.shop-block {
    border-radius: 30px;
    padding: 32px;
}

/* Subtle tint per block type */
.monthly-block {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.74)),
        radial-gradient(circle at top right, rgba(29, 125, 242, 0.12), transparent 42%);
    border-color: rgba(93, 164, 255, 0.28);
}

.addon-block {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 255, 0.7)),
        radial-gradient(circle at top left, rgba(76, 192, 255, 0.1), transparent 38%);
}

/* ── Block header ───────────────────────────────────────────── */
.block-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.block-copy h2 {
    margin: 14px 0 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.9rem, 2.6vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.block-copy p {
    margin: 12px 0 0;
    max-width: 680px;
    color: var(--shop-muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

.block-side-note {
    max-width: 280px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 255, 0.54));
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.block-side-note span {
    display: block;
    color: var(--shop-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.block-side-note strong {
    display: block;
    margin-top: 10px;
    color: var(--shop-ink);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ── Product grids ──────────────────────────────────────────── */
.product-grid-shell {
    margin-top: 26px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.addon-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plan-card,
.addon-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    isolation: isolate;
    transition:
        transform var(--shop-ease),
        box-shadow var(--shop-ease),
        border-color var(--shop-ease);
}

.plan-card {
    --plan-accent: rgba(29, 125, 242, 0.32);
    --plan-accent-solid: #1d7df2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Per-plan accent colours */
.plan-card[data-plan-card="starter"] {
    --plan-accent: rgba(52, 199, 89, 0.32);
    --plan-accent-solid: #34c759;
}
.plan-card[data-plan-card="standard"] {
    --plan-accent: rgba(29, 125, 242, 0.34);
    --plan-accent-solid: #1d7df2;
}
.plan-card[data-plan-card="uefn"] {
    --plan-accent: rgba(255, 69, 58, 0.3);
    --plan-accent-solid: #ff453a;
}
.plan-card[data-plan-card="premium"] {
    --plan-accent: rgba(191, 90, 242, 0.3);
    --plan-accent-solid: #bf5af2;
}
.plan-card[data-plan-card="business"] {
    --plan-accent: rgba(255, 159, 10, 0.3);
    --plan-accent-solid: #ff9f0a;
}
.plan-card[data-plan-card="scale"] {
    --plan-accent: rgba(76, 192, 255, 0.28);
    --plan-accent-solid: #4cc0ff;
}

/* Radial accent glow */
.plan-card::after,
.addon-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top right, var(--plan-accent, rgba(29, 125, 242, 0.18)), transparent 40%);
    opacity: 0.8;
    pointer-events: none;
    transition: opacity var(--shop-ease);
}

.plan-card:hover::after,
.addon-card:hover::after {
    opacity: 1;
}

/* Accent stripe at bottom of card */
.plan-card .plan-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--plan-accent-solid, var(--shop-accent));
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity var(--shop-ease), transform var(--shop-ease);
}

.plan-card:hover .plan-body::after {
    opacity: 0.6;
    transform: scaleX(1);
}

.plan-card:hover,
.addon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shop-shadow-lg);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ── Plan cover image ───────────────────────────────────────── */
.plan-cover {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.plan-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 18, 34, 0) 40%, rgba(12, 18, 34, 0.42)),
        linear-gradient(0deg, rgba(8, 16, 32, 0.08), transparent 48%);
    pointer-events: none;
    transition: opacity var(--shop-ease);
}

.plan-card:hover .plan-cover::after {
    opacity: 0.7;
}

.plan-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.plan-cover-img.is-fading,
.modal-main-image.is-fading {
    opacity: 0.38;
}

.plan-card:hover .plan-cover-img {
    transform: scale(1.06);
}

/* ── Plan badge ─────────────────────────────────────────────── */
.plan-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 99, 211, 0.96), rgba(56, 176, 255, 0.92));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(10, 99, 211, 0.28);
}

.hidden {
    display: none !important;
}

/* ── Plan / addon body ──────────────────────────────────────── */
.plan-body,
.addon-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    flex: 1;
}

.addon-body {
    min-height: 200px;
}

/* ── Title row ──────────────────────────────────────────────── */
.plan-title-row,
.addon-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.plan-name,
.addon-name {
    margin: 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: 1.24rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.plan-price,
.addon-price {
    margin: 0;
    flex-shrink: 0;
    color: var(--shop-accent-strong);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(29, 125, 242, 0.08);
    border: 1px solid rgba(29, 125, 242, 0.18);
}

.plan-desc,
.addon-desc {
    margin: 0;
    color: var(--shop-muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ── Action buttons ─────────────────────────────────────────── */
.plan-actions,
.addon-actions {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    gap: 10px;
}

.plan-btn,
.addon-btn {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(248, 251, 255, 0.62));
    color: var(--shop-ink);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
    transition:
        transform var(--shop-ease-fast),
        box-shadow var(--shop-ease),
        border-color var(--shop-ease),
        background var(--shop-ease);
}

.plan-btn:hover,
.addon-btn:hover {
    border-color: rgba(29, 125, 242, 0.3);
    box-shadow: 0 8px 22px rgba(98, 130, 184, 0.14);
    transform: translateY(-1px);
}

.plan-btn:active,
.addon-btn:active {
    transform: translateY(1px) scale(0.98);
}

.plan-btn.primary,
.addon-btn.primary,
.modal-buy-btn {
    background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent-strong));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 28px rgba(29, 125, 242, 0.28);
}

.plan-btn.primary:hover,
.addon-btn.primary:hover,
.modal-buy-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 32px rgba(29, 125, 242, 0.34);
    transform: translateY(-2px);
}

/* ============================================================
   ADDON CARDS — enhanced
   ============================================================ */
.addon-card {
    --plan-accent: rgba(76, 192, 255, 0.2);
    transition:
        transform var(--shop-ease),
        box-shadow var(--shop-ease),
        border-color var(--shop-ease);
}

.addon-card .addon-body {
    background:
        linear-gradient(180deg, transparent 60%, rgba(29, 125, 242, 0.03));
}

.addon-card .addon-name {
    font-size: 1.1rem;
}

.addon-card .addon-price {
    font-size: 0.92rem;
    padding: 6px 12px;
}

.addon-card .addon-desc {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================================
   MODAL
   ============================================================ */
.plan-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.plan-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.plan-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(149, 211, 255, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(236, 244, 255, 0.72), rgba(228, 238, 255, 0.88));
    backdrop-filter: blur(16px) saturate(110%);
    -webkit-backdrop-filter: blur(16px) saturate(110%);
}

.plan-modal-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    width: min(1100px, 94vw);
    max-height: min(88vh, 880px);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 248, 255, 0.82));
}

.plan-modal.is-open .plan-modal-card {
    transform: translate(-50%, -50%) scale(1);
}

/* ── Modal close button ─────────────────────────────────────── */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.88);
    color: var(--shop-ink);
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(118, 145, 187, 0.14);
    transition: transform var(--shop-ease-fast), box-shadow var(--shop-ease);
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.modal-close-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(118, 145, 187, 0.2);
}

/* ── Modal layout ───────────────────────────────────────────── */
.modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    min-height: 600px;
}

.modal-gallery-panel {
    padding: 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at top left, rgba(29, 125, 242, 0.1), transparent 35%);
}

.modal-main-image-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 24px rgba(98, 130, 184, 0.1);
}

.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

/* ── Gallery arrows ─────────────────────────────────────────── */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.88);
    color: var(--shop-ink);
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(102, 129, 170, 0.16);
    transition: transform var(--shop-ease-fast), box-shadow var(--shop-ease);
    display: grid;
    place-items: center;
    font-size: 0.82rem;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 24px rgba(102, 129, 170, 0.22);
}

.gallery-arrow.left {
    left: 12px;
}

.gallery-arrow.right {
    right: 12px;
}

/* ── Gallery thumbnails ─────────────────────────────────────── */
.modal-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-thumb {
    width: 84px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: border-color var(--shop-ease-fast), box-shadow var(--shop-ease-fast), transform var(--shop-ease-fast);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb:hover {
    border-color: rgba(29, 125, 242, 0.4);
    transform: translateY(-2px);
}

.modal-thumb.active {
    border-color: rgba(29, 125, 242, 0.88);
    box-shadow: 0 0 0 2px rgba(29, 125, 242, 0.16), 0 4px 12px rgba(29, 125, 242, 0.12);
}

/* ── Modal details panel ────────────────────────────────────── */
.modal-details-panel {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}

.modal-head h3 {
    margin: 10px 0 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(10, 99, 211, 0.96), rgba(56, 176, 255, 0.9));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(10, 99, 211, 0.2);
}

.modal-price {
    margin: 12px 0 0;
    color: var(--shop-accent-strong);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modal-desc {
    margin: 8px 0 0;
    color: var(--shop-muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

/* ── Feature groups ─────────────────────────────────────────── */
.modal-feature-group {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 255, 0.56));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.modal-feature-group h4 {
    margin: 0 0 10px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--shop-soft);
}

.modal-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.modal-feature-list li {
    color: var(--shop-muted);
    line-height: 1.5;
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
}

.modal-feature-list li i {
    margin-top: 4px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.modal-feature-list li i {
    color: #0ea05c;
}

.modal-feature-list.rules li i {
    color: #e03145;
}

/* ── Modal buy button ───────────────────────────────────────── */
.modal-buy-btn {
    margin-top: auto;
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 12px 16px;
    font-weight: 800;
    font-size: 0.94rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition:
        transform var(--shop-ease-fast),
        box-shadow var(--shop-ease),
        filter var(--shop-ease);
}

.modal-buy-btn:active {
    transform: translateY(1px) scale(0.98);
}

/* ============================================================
   EMBEDDED CHECKOUT VIEW
   ============================================================ */
.checkout-view {
    position: fixed;
    inset: 0;
    z-index: 4300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 18px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.28s ease;
}

.checkout-view.is-open {
    opacity: 1;
    pointer-events: auto;
}

.checkout-view-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(76, 192, 255, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(29, 125, 242, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(233, 242, 255, 0.74), rgba(222, 234, 252, 0.92));
    backdrop-filter: blur(18px) saturate(115%);
    -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.checkout-view-shell {
    position: relative;
    width: min(1280px, 100%);
    margin: auto 0;
    max-height: min(calc(100vh - 48px), 980px);
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.84)),
        radial-gradient(circle at top right, rgba(29, 125, 242, 0.1), transparent 32%);
    box-shadow: 0 34px 84px rgba(74, 105, 152, 0.22);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.34s cubic-bezier(0.23, 1, 0.32, 1);
}

.checkout-view.is-open .checkout-view-shell {
    transform: translateY(0) scale(1);
}

.checkout-close-btn {
    top: 18px;
    right: 18px;
}

.checkout-view-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
    height: min(calc(100vh - 48px), 880px);
    min-height: 0;
}

.checkout-summary-panel,
.checkout-stripe-panel {
    position: relative;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.checkout-summary-panel {
    padding: 34px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        radial-gradient(circle at top left, rgba(29, 125, 242, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(246, 250, 255, 0.18));
    border-right: 1px solid rgba(255, 255, 255, 0.76);
}

.checkout-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-kicker,
.checkout-badge,
.checkout-pane-kicker,
.checkout-pane-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.checkout-kicker,
.checkout-pane-kicker {
    color: var(--shop-accent);
    border: 1px solid rgba(29, 125, 242, 0.2);
    background: rgba(29, 125, 242, 0.08);
}

.checkout-badge {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: linear-gradient(135deg, rgba(10, 99, 211, 0.94), rgba(56, 176, 255, 0.9));
    box-shadow: 0 10px 24px rgba(29, 125, 242, 0.24);
}

.checkout-summary-copy h2 {
    margin: 14px 0 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.checkout-product-price {
    margin: 12px 0 0;
    color: var(--shop-accent-strong);
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.checkout-product-desc {
    margin: 10px 0 0;
    color: var(--shop-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.checkout-visual-card {
    position: relative;
    min-height: 250px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at top right, rgba(29, 125, 242, 0.18), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(241, 247, 255, 0.56));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 18px 42px rgba(92, 122, 170, 0.16);
}

.checkout-product-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: block;
    object-fit: cover;
}

.checkout-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 16, 32, 0.04), rgba(8, 16, 32, 0.54)),
        linear-gradient(0deg, rgba(29, 125, 242, 0.08), transparent 42%);
    pointer-events: none;
}

.checkout-visual-meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
}

.checkout-visual-type {
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-visual-meta strong {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.checkout-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkout-highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 255, 0.62));
    color: var(--shop-ink);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.checkout-highlight-chip i {
    color: var(--shop-accent);
}

.checkout-list-card {
    padding: 20px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 255, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.checkout-list-card-muted {
    background: linear-gradient(145deg, rgba(247, 250, 255, 0.74), rgba(240, 246, 255, 0.54));
}

.checkout-list-card h3 {
    margin: 0 0 12px;
    color: var(--shop-ink);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.checkout-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.checkout-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--shop-muted);
    font-size: 0.93rem;
    line-height: 1.58;
}

.checkout-list li i {
    margin-top: 3px;
    width: 14px;
    flex: 0 0 auto;
    color: #13a365;
}

.checkout-list-rules li i {
    color: #e03145;
}

.checkout-stripe-panel {
    padding: 34px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(250, 252, 255, 0.22)),
        radial-gradient(circle at top right, rgba(76, 192, 255, 0.12), transparent 30%);
}

.checkout-stripe-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.checkout-stripe-head h3 {
    margin: 12px 0 0;
    color: var(--shop-ink);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.checkout-stripe-head p {
    margin: 10px 0 0;
    color: var(--shop-muted);
    line-height: 1.7;
    max-width: 560px;
}

.checkout-pane-pill {
    flex-shrink: 0;
    color: var(--shop-ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.checkout-pane-state,
.checkout-embed-shell {
    flex: 1 1 auto;
    min-height: 0;
}

.checkout-loading-state,
.checkout-message-card,
.checkout-success-card,
.checkout-embed-shell {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.68)),
        radial-gradient(circle at top right, rgba(29, 125, 242, 0.08), transparent 34%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.54),
        0 18px 40px rgba(92, 122, 170, 0.12);
}

.checkout-loading-state,
.checkout-message-card,
.checkout-success-card {
    padding: 22px;
    display: grid;
    place-items: center;
    text-align: center;
}

.checkout-loading-card,
.checkout-message-card,
.checkout-success-card {
    max-width: 480px;
}

.checkout-loading-orb {
    width: 54px;
    height: 54px;
    display: inline-block;
    border-radius: 50%;
    margin-bottom: 16px;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.16) 44%),
        linear-gradient(135deg, rgba(29, 125, 242, 0.96), rgba(76, 192, 255, 0.9));
    box-shadow:
        0 18px 32px rgba(29, 125, 242, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    animation: checkoutPulse 1.4s ease-in-out infinite;
}

.checkout-loading-card strong,
.checkout-message-card strong,
.checkout-success-card strong {
    display: block;
    color: var(--shop-ink);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.checkout-loading-card p,
.checkout-message-card p,
.checkout-success-card p {
    margin: 12px 0 0;
    color: var(--shop-muted);
    line-height: 1.7;
}

.checkout-loading-lines {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.checkout-loading-lines span {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(29, 125, 242, 0.08), rgba(29, 125, 242, 0.18), rgba(29, 125, 242, 0.08));
    background-size: 220% 100%;
    animation: checkoutShimmer 1.35s linear infinite;
}

.checkout-loading-lines span:nth-child(1) {
    width: min(320px, 78vw);
}

.checkout-loading-lines span:nth-child(2) {
    width: min(280px, 70vw);
}

.checkout-loading-lines span:nth-child(3) {
    width: min(220px, 58vw);
}

.checkout-message-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(29, 125, 242, 0.1);
    color: var(--shop-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
    font-size: 1.15rem;
}

.checkout-message-icon.error {
    background: rgba(224, 49, 69, 0.1);
    color: #e03145;
}

.checkout-message-icon.success {
    background: rgba(19, 163, 101, 0.1);
    color: #13a365;
}

.checkout-message-card .lg-btn,
.checkout-success-card .lg-btn {
    margin-top: 18px;
}

.checkout-success-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.checkout-embed-shell {
    padding: 16px;
}

.embedded-checkout-host {
    min-height: 700px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.embedded-checkout-host iframe {
    width: 100% !important;
    min-height: 700px !important;
    border: 0 !important;
    border-radius: 22px !important;
}

@keyframes checkoutPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes checkoutShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes shopFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-hero {
    animation: shopFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.shop-block-single {
    animation: shopFadeUp 0.6s 0.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.monthly-block {
    animation: shopFadeUp 0.6s 0.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.addon-block {
    animation: shopFadeUp 0.6s 0.3s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .shop-hero {
        grid-template-columns: 1fr;
    }

    .shop-hero-title {
        max-width: none;
    }

    .block-head {
        flex-direction: column;
        align-items: stretch;
    }

    .block-side-note {
        max-width: none;
    }

    .modal-layout {
        grid-template-columns: 1fr;
    }

    .checkout-view-layout {
        grid-template-columns: 1fr;
    }

    .modal-gallery-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    }

    .checkout-summary-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.76);
    }

    .plan-modal-card {
        max-height: 92vh;
        overflow-y: auto;
    }

    .checkout-view-shell {
        max-height: none;
        overflow: visible;
    }

    .modal-details-panel {
        overflow-y: visible;
    }

    .checkout-view-layout {
        height: auto;
    }

    .checkout-summary-panel,
    .checkout-stripe-panel {
        overflow: visible;
    }
}

@media (max-width: 760px) {
    .shop-shell {
        width: calc(100% - 16px);
        padding-top: 96px;
        padding-bottom: 56px;
        gap: 22px;
    }

    .shop-hero,
    .shop-block {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .shop-hero-metrics,
    .hero-stage-stack {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .addon-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .plan-cover {
        height: 190px;
    }

    .plan-body,
    .addon-body {
        padding: 18px;
    }

    .plan-title-row,
    .addon-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-actions,
    .addon-actions {
        flex-direction: column;
    }

    .plan-modal-card {
        width: 96vw;
        max-height: 94vh;
        border-radius: 20px;
    }

    .modal-gallery-panel,
    .modal-details-panel {
        padding: 18px;
    }

    .modal-layout {
        min-height: auto;
    }

    .checkout-view-shell {
        width: 97vw;
        border-radius: 24px;
    }

    .checkout-view {
        padding: 12px;
    }

    .checkout-summary-panel,
    .checkout-stripe-panel {
        padding: 22px 18px 20px;
    }

    .checkout-stripe-head {
        flex-direction: column;
    }

    .checkout-visual-card,
    .checkout-product-image {
        min-height: 210px;
    }

    .embedded-checkout-host,
    .embedded-checkout-host iframe {
        min-height: 620px !important;
    }
}

@media (max-width: 480px) {
    .shop-hero-title {
        font-size: 2rem;
    }

    .shop-hero-lede {
        font-size: 0.92rem;
    }

    .hero-stat strong {
        font-size: 1.5rem;
    }

    .hero-stage-card {
        min-height: 200px;
        padding: 20px;
    }

    .hero-stage-card h2 {
        font-size: 1.6rem;
    }

    .block-copy h2 {
        font-size: 1.7rem;
    }

    .addon-grid {
        grid-template-columns: 1fr;
    }

    .checkout-highlights {
        flex-direction: column;
    }

    .checkout-highlight-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .checkout-success-actions {
        flex-direction: column;
    }
}

/* ── Mobile Excellence — Shop Improvements ──────────────────── */

/* Product cards — touch-friendly buttons */
@media (max-width: 760px) {
    .plan-btn,
    .addon-btn,
    .shop-btn,
    .plan-actions .btn,
    .addon-actions .btn {
        min-height: 48px;
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }

    /* Plan card cover image — shorter on small screens */
    .plan-cover {
        height: 160px;
    }

    /* Addon grid — single column under 480 already, but fix actions */
    .addon-actions {
        gap: 8px;
    }

    /* Modal overlay — use dvh */
    .plan-modal-card {
        max-height: 94svh;
    }
    @supports (height: 100dvh) {
        .plan-modal-card { max-height: 94dvh; }
        .checkout-view-shell { max-height: 96dvh; }
    }

    /* Gallery panel in modal — shorter on mobile */
    .modal-gallery-panel {
        max-height: 200px;
        overflow: hidden;
    }

    /* Close button — bigger tap target */
    .modal-close-btn,
    .plan-modal-close,
    .checkout-close-btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Stripe embedded checkout — allow more height on mobile */
    .embedded-checkout-host,
    .embedded-checkout-host iframe {
        min-height: 680px !important;
    }
}

/* Shop navigation (shop page header nav) — safe area */
@supports (padding: env(safe-area-inset-top)) {
    @media (max-width: 768px) {
        .shop-shell {
            padding-top: max(96px, calc(80px + env(safe-area-inset-top)));
        }
    }
}

/* Rules / terms checkbox area — bigger tap target */
@media (max-width: 768px) {
    .rules-accept-row,
    .rules-checkbox-row {
        min-height: 44px;
        gap: 12px;
        align-items: flex-start;
        padding: 12px 0;
    }
    .rules-accept-row input[type="checkbox"],
    .rules-checkbox-row input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-top: 2px;
        flex-shrink: 0;
    }
}

/* Hero metrics strip — horizontal scroll on mobile */
@media (max-width: 480px) {
    .shop-hero-metrics {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        scrollbar-width: none;
    }
    .shop-hero-metrics::-webkit-scrollbar { display: none; }
    .hero-stat {
        flex-shrink: 0;
        scroll-snap-align: start;
        min-width: 120px;
    }

    /* CTA button full-width */
    .shop-hero-ctas {
        flex-direction: column;
        gap: 10px;
    }
    .shop-hero-ctas .btn,
    .shop-hero-ctas a {
        width: 100%;
        justify-content: center;
    }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .shop-hero,
    .shop-block-single,
    .monthly-block,
    .addon-block {
        animation: none;
    }

    .plan-card,
    .addon-card,
    .hero-stat,
    .hero-stage-card,
    .hero-mini-card,
    .plan-btn,
    .addon-btn,
    .modal-close-btn,
    .gallery-arrow,
    .modal-thumb,
    .checkout-view,
    .checkout-view-shell {
        transition: none;
    }

    .plan-card:hover,
    .addon-card:hover {
        transform: none;
    }
}

/* ============================================================
   SHOP INTRO ANIMATION
   ============================================================ */
.shop-intro-veil {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    background: linear-gradient(160deg, #edf3ff 0%, #e4eeff 60%, #eaf2ff 100%);
    overflow: hidden;
    cursor: pointer;
}

/* Grid overlay */
.shop-intro-veil::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(29, 125, 242, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 125, 242, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

/* Center radial glow */
.shop-intro-veil::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(29, 125, 242, 0.18), transparent 70%);
    pointer-events: none;
}

/* ── Stage (holds badge + rings) ─────────────────────────────── */
.shop-intro-stage {
    position: relative;
    width: 120px;
    height: 120px;
    z-index: 1;
}

/* ── Expanding rings ─────────────────────────────────────────── */
.shop-intro-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(29, 125, 242, 0.46);
    opacity: 0;
    transform-origin: center;
    animation: shopRingExpand 2.4s cubic-bezier(0, 0.55, 0.35, 1) infinite;
}

.shop-intro-ring-1 { animation-delay: 0s; }
.shop-intro-ring-2 { animation-delay: 0.8s; }
.shop-intro-ring-3 { animation-delay: 1.6s; }

/* ── Blast ring (fires on si-blast) ─────────────────────────── */
.shop-intro-blast-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(29, 125, 242, 0.7);
    opacity: 0;
    transform-origin: center;
    pointer-events: none;
}

/* ── Dollar badge ────────────────────────────────────────────── */
.shop-intro-badge {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(230, 243, 255, 0.86));
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.72),
        0 28px 56px rgba(29, 125, 242, 0.22),
        0 8px 20px rgba(29, 125, 242, 0.14);
    animation: shopBadgeBounceIn 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    z-index: 2;
}

/* Spinning conic-gradient border ring */
.shop-intro-badge::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #1d7df2,
        #4cc0ff,
        #5e5ce6,
        #4cc0ff,
        #1d7df2
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    animation: shopBorderSpin 2s linear infinite;
    animation-delay: 0.4s;
}

/* Dollar sign */
.shop-intro-dollar {
    font-family: "Poppins", sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #1d7df2 0%, #4cc0ff 48%, #5e5ce6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    user-select: none;
}

/* ── Label ───────────────────────────────────────────────────── */
.shop-intro-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 1;
    text-align: center;
    animation: shopLabelSlideUp 0.65s 0.35s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.shop-intro-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(29, 125, 242, 0.62);
}

.shop-intro-wordmark {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.6rem, 9vw, 4.4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.055em;
    background: linear-gradient(135deg, #0a63d3 0%, #1d7df2 35%, #4cc0ff 68%, #5e5ce6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── State: blast ────────────────────────────────────────────── */
.shop-intro-veil.si-blast .shop-intro-ring {
    animation: none;
    opacity: 0;
}

.shop-intro-veil.si-blast .shop-intro-badge {
    animation: shopBadgeBlast 0.55s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.shop-intro-veil.si-blast .shop-intro-blast-ring {
    animation: shopBlastRing 0.65s cubic-bezier(0, 0.55, 0.35, 1) both;
}

/* ── State: iris close ───────────────────────────────────────── */
.shop-intro-veil.si-iris {
    animation: shopIrisClose 0.65s cubic-bezier(0.55, 0, 1, 0.45) both;
    pointer-events: none;
}

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes shopBadgeBounceIn {
    0%   { opacity: 0; transform: scale(0.12); }
    65%  { opacity: 1; transform: scale(1.1); }
    82%  { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes shopBorderSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes shopRingExpand {
    0%   { transform: scale(1); opacity: 0; }
    6%   { opacity: 0.65; }
    100% { transform: scale(4.8); opacity: 0; }
}

@keyframes shopLabelSlideUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes shopBadgeBlast {
    0%   { transform: scale(1); opacity: 1; filter: blur(0); }
    100% { transform: scale(3.8); opacity: 0; filter: blur(10px); }
}

@keyframes shopBlastRing {
    0%   { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(9); opacity: 0; }
}

@keyframes shopIrisClose {
    0%   { clip-path: circle(150% at 50% 50%); }
    100% { clip-path: circle(0% at 50% 50%); }
}

/* Reduced motion — skip intro entirely */
@media (prefers-reduced-motion: reduce) {
    .shop-intro-veil {
        display: none !important;
    }
}

/* ── Checkout trust signals ──────────────────────────────────── */
.checkout-trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.checkout-trust-signals span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--shop-soft, #5a6e82);
}
.checkout-trust-signals i {
    font-size: 0.8rem;
    color: #22c55e;
}
