/* ═══════════════════════════════════════════════════════════════
   AhaWhy Learning Path – v2 Redesign
   A bold, timeline-based learning journey for math ebook products.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens with fallbacks ─────────────────────────────────────── */
.vm-lp {
    --_lp-primary:    var(--vm-primary, #2563eb);
    --_lp-primary-dk: var(--vm-primary-dk, #1d4ed8);
    --_lp-primary-lt: var(--vm-primary-lt, #dbeafe);
    --_lp-accent:     var(--vm-accent, #f59e0b);
    --_lp-text:       var(--vm-text, #1e293b);
    --_lp-text-muted: var(--vm-text-muted, #64748b);
    --_lp-bg:         var(--vm-bg, #fff);
    --_lp-bg-alt:     var(--vm-bg-alt, #f8fafc);
    --_lp-border:     var(--vm-border, #e2e8f0);
    --_lp-radius:     var(--vm-radius, 10px);
    --_lp-radius-sm:  var(--vm-radius-sm, 6px);
    --_lp-radius-lg:  var(--vm-radius-lg, 16px);
    --_lp-shadow:     var(--vm-shadow-sm, 0 1px 3px rgba(0,0,0,.06));
    --_lp-shadow-md:  var(--vm-shadow-md, 0 10px 15px -3px rgba(0,0,0,.08));
    --_lp-shadow-lg:  var(--vm-shadow-lg, 0 20px 25px -5px rgba(0,0,0,.08));
    --_lp-dur:        var(--vm-dur, 200ms);
    --_lp-ease:       var(--vm-ease, cubic-bezier(.4,0,.2,1));
    --_lp-font:       var(--vm-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);

    /* Phase palette */
    --_lp-blue:       #2563eb;
    --_lp-blue-soft:  #eff6ff;
    --_lp-blue-glow:  rgba(37, 99, 235, 0.15);
    --_lp-green:      #047857;
    --_lp-green-soft: #ecfdf5;
    --_lp-green-glow: rgba(5, 150, 105, 0.15);
    --_lp-orange:     #92400e;
    --_lp-orange-soft:#fffbeb;
    --_lp-orange-glow:rgba(217, 119, 6, 0.15);

    /* Timeline */
    --_tl-circle:     48px;
    --_tl-line-w:     3px;
    --_tl-gap:        28px;
}

/* ── Landing-page Learning Hub + featured bundles ─────────────── */
.vm-lp.vm-lp--landing {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.vm-lp-spotlight {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.42fr);
    gap: clamp(1.1rem, 2vw, 1.6rem);
    align-items: stretch;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding: clamp(1.05rem, 2.4vw, 1.65rem);
    overflow: hidden;
    background:
        linear-gradient(135deg, #0f2e55 0%, #0b6f73 47%, #f59e0b 140%);
    border: 1px solid rgba(15, 46, 85, 0.18);
    border-radius: 8px;
    box-shadow: 0 26px 70px -46px rgba(15, 23, 42, 0.9);
}

.vm-lp-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 78px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 78px);
    opacity: 0.28;
}

.vm-lp-spotlight--hub-only {
    grid-template-columns: minmax(0, 1fr);
}

.vm-lp-spotlight__hub,
.vm-lp-spotlight__bundles {
    min-width: 0;
}

.vm-lp-spotlight__hub {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(1rem, 2vw, 1.35rem);
    min-height: 100%;
    padding: clamp(1.15rem, 2.2vw, 1.65rem);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vm-lp-spotlight__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 1.6rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.18);
    color: #dbeafe;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vm-lp-spotlight__eyebrow--bundle {
    justify-self: start;
    background: rgba(254, 243, 199, 0.92);
    color: #78350f;
}

.vm-lp-spotlight__title {
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: 0;
}

.vm-lp-spotlight__text {
    margin: 0;
    color: rgba(239, 246, 255, 0.88);
    font-size: 1rem;
    line-height: 1.62;
}

.vm-lp-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.vm-lp-spotlight__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.vm-lp-spotlight__button:hover,
.vm-lp-spotlight__button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.20);
    box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.7);
    text-decoration: none;
}

.vm-lp-spotlight__button--primary {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #451a03;
    box-shadow: 0 16px 28px -22px rgba(251, 191, 36, 0.9);
}

.vm-lp-spotlight__button--primary:hover,
.vm-lp-spotlight__button--primary:focus-visible {
    background: #fde68a;
    border-color: #fde68a;
    color: #451a03;
}

.vm-lp-spotlight__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: auto;
}

.vm-lp-spotlight__signals span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
}

.vm-lp-spotlight__bundles {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
}

.vm-lp-spotlight__bundle-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    align-items: end;
}

.vm-lp-spotlight__bundle-head .vm-lp-spotlight__eyebrow {
    grid-column: 1 / -1;
    justify-self: start;
}

.vm-lp-spotlight__bundle-title {
    margin: 0;
    color: #fff7ed;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
}

.vm-lp-spotlight__bundle-copy {
    margin: 0;
    color: rgba(255, 247, 237, 0.82);
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: right;
}

.vm-featured-bundles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1rem);
    flex: 1 1 auto;
}

.vm-featured-bundles__card {
    min-width: 0;
    height: 100%;
    background: #fffaf0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 44px -30px rgba(15, 23, 42, 0.75);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vm-featured-bundles__card--top {
    border-color: #fbbf24;
}

.vm-featured-bundles__card:hover {
    transform: translateY(-3px);
    border-color: #d97706;
    box-shadow: 0 24px 42px -30px rgba(120, 53, 15, 0.9);
}

.vm-featured-bundles__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.vm-featured-bundles__link:hover,
.vm-featured-bundles__link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.vm-featured-bundles__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    padding: 0.8rem;
    background:
        linear-gradient(135deg, #fff7ed 0%, #fde68a 48%, #fefce8 100%);
}

.vm-featured-bundles__media img {
    display: block;
    width: auto;
    max-width: 78%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px rgba(15, 23, 42, 0.18));
    transition: transform 200ms ease;
}

.vm-featured-bundles__card:hover .vm-featured-bundles__media img {
    transform: scale(1.035);
}

.vm-featured-bundles__discount,
.vm-featured-bundles__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.65);
}

.vm-featured-bundles__discount {
    top: 0.65rem;
    right: 0.65rem;
    background: #dc2626;
    color: #fff;
}

.vm-featured-bundles__badge {
    left: 0.65rem;
    bottom: 0.65rem;
    background: #fbbf24;
    color: #78350f;
}

.vm-featured-bundles__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    padding: 0.9rem;
}

.vm-featured-bundles__type {
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.25;
}

.vm-featured-bundles__name {
    margin: 0;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vm-featured-bundles__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

.vm-featured-bundles__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    background: #f8fafc;
}

.vm-featured-bundles__price {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.3;
}

.vm-featured-bundles__price del {
    color: #94a3b8;
    font-weight: 500;
    opacity: 0.7;
}

.vm-featured-bundles__price ins {
    text-decoration: none;
}

.vm-featured-bundles__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    margin-top: auto;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    background: #92400e;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1;
    transition: background 180ms ease, transform 180ms ease;
}

.vm-featured-bundles__link:hover .vm-featured-bundles__cta,
.vm-featured-bundles__link:focus-visible .vm-featured-bundles__cta {
    background: #b45309;
    transform: translateY(-1px);
}

/* ── Section wrapper ───────────────────────────────────────────── */
.vm-lp {
    width: 100%;
    margin: var(--vm-sp-6, 3rem) 0 var(--vm-sp-5, 2rem);
    padding: var(--vm-sp-6, 3rem) var(--vm-sp-5, 2rem);
    background: linear-gradient(
        180deg,
        var(--_lp-bg-alt) 0%,
        var(--_lp-bg) 100%
    );
    border-radius: var(--_lp-radius-lg);
    border: 1px solid var(--_lp-border);
    font-family: var(--_lp-font);
}

/* ── Section header ────────────────────────────────────────────── */
.vm-lp__header {
    text-align: center;
    margin-bottom: var(--vm-sp-6, 3rem);
    max-width: 680px;
    margin-inline: auto;
}

.vm-lp__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--_lp-primary);
    background: var(--_lp-primary-lt);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.vm-lp__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--_lp-text);
    margin: 0 0 0.75rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vm-lp__subtitle {
    font-size: 1rem;
    color: var(--_lp-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── Timeline layout ───────────────────────────────────────────── */
.vm-lp__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* ── Phase row = step column + content ─────────────────────────── */
.vm-lp__phase {
    display: grid;
    grid-template-columns: var(--_tl-circle) 1fr;
    gap: 0 var(--_tl-gap);
    position: relative;
}

/* ── Step column (circle + line) ───────────────────────────────── */
.vm-lp__step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.vm-lp__step-circle {
    width: var(--_tl-circle);
    height: var(--_tl-circle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform var(--_lp-dur) var(--_lp-ease);
}

/* Phase-colored circles */
.vm-lp__phase--blue .vm-lp__step-circle {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.vm-lp__phase--green .vm-lp__step-circle {
    background: linear-gradient(135deg, #10b981, #047857);
}
.vm-lp__phase--orange .vm-lp__step-circle {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Active phase: pulsing ring */
.vm-lp__phase--active .vm-lp__step-circle {
    transform: scale(1.1);
}
.vm-lp__phase--active .vm-lp__step-circle::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2.5px solid currentColor;
    opacity: 0.4;
    animation: vm-lp-pulse 2s ease-in-out infinite;
}
.vm-lp__phase--blue.vm-lp__phase--active .vm-lp__step-circle::after { border-color: var(--_lp-blue); }
.vm-lp__phase--green.vm-lp__phase--active .vm-lp__step-circle::after { border-color: var(--_lp-green); }
.vm-lp__phase--orange.vm-lp__phase--active .vm-lp__step-circle::after { border-color: var(--_lp-orange); }

@keyframes vm-lp-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 0.1; transform: scale(1.3); }
}

.vm-lp__step-num {
    position: relative;
    z-index: 1;
}

/* Connecting line */
.vm-lp__step-line {
    width: var(--_tl-line-w);
    flex: 1;
    min-height: 32px;
    border-radius: 2px;
}
.vm-lp__phase--blue .vm-lp__step-line  { background: linear-gradient(to bottom, #3b82f6, #10b981); }
.vm-lp__phase--green .vm-lp__step-line { background: linear-gradient(to bottom, #10b981, #f59e0b); }

/* ── Phase content area ────────────────────────────────────────── */
.vm-lp__phase-content {
    padding-bottom: 2rem;
}

.vm-lp__phase:last-child .vm-lp__phase-content {
    padding-bottom: 0;
}

/* ── Phase header ──────────────────────────────────────────────── */
.vm-lp__phase-head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--_lp-radius);
    transition: background var(--_lp-dur) var(--_lp-ease);
}

/* Phase head background tints */
.vm-lp__phase--blue .vm-lp__phase-head  { background: var(--_lp-blue-soft); }
.vm-lp__phase--green .vm-lp__phase-head { background: var(--_lp-green-soft); }
.vm-lp__phase--orange .vm-lp__phase-head{ background: var(--_lp-orange-soft); }

.vm-lp__phase-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.vm-lp__phase-info {
    flex: 1;
    min-width: 0;
}

.vm-lp__phase-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--_lp-text);
    margin: 0;
    line-height: 1.3;
}

.vm-lp__phase-desc {
    font-size: 0.85rem;
    color: var(--_lp-text-muted);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

.vm-lp__phase-count {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}
.vm-lp__phase--blue .vm-lp__phase-count {
    color: var(--_lp-blue);
    background: rgba(37, 99, 235, 0.1);
}
.vm-lp__phase--green .vm-lp__phase-count {
    color: var(--_lp-green);
    background: rgba(5, 150, 105, 0.1);
}
.vm-lp__phase--orange .vm-lp__phase-count {
    color: var(--_lp-orange);
    background: rgba(217, 119, 6, 0.1);
}

/* ── Card grid ─────────────────────────────────────────────────── */
.vm-lp__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* ── Card ──────────────────────────────────────────────────────── */
.vm-lp__card {
    display: flex;
    flex-direction: column;
    background: var(--_lp-bg);
    border: 1px solid var(--_lp-border);
    border-radius: var(--_lp-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--_lp-dur) var(--_lp-ease),
                box-shadow var(--_lp-dur) var(--_lp-ease),
                border-color var(--_lp-dur) var(--_lp-ease);
}

.vm-lp__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--_lp-shadow-lg);
    text-decoration: none;
    color: inherit;
}

.vm-lp__phase--blue .vm-lp__card:hover  { border-color: var(--_lp-blue); }
.vm-lp__phase--green .vm-lp__card:hover { border-color: var(--_lp-green); }
.vm-lp__phase--orange .vm-lp__card:hover{ border-color: var(--_lp-orange); }

/* Card inner link — fills the clickable area above the button */
.vm-lp__card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.vm-lp__card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ── Card image ────────────────────────────────────────────────── */
.vm-lp__card-img {
    position: relative;
    aspect-ratio: 200 / 260;
    overflow: hidden;
    background: var(--_lp-bg-alt);
}

.vm-lp__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s var(--_lp-ease);
}

a.vm-lp__card-link:hover .vm-lp__card-img img {
    transform: scale(1.04);
}

/* ── Current card styling ──────────────────────────────────────── */
.vm-lp__card--current {
    pointer-events: none;
    position: relative;
}

.vm-lp__phase--blue .vm-lp__card--current {
    border: 2px solid var(--_lp-blue);
    box-shadow: 0 0 0 4px var(--_lp-blue-glow), var(--_lp-shadow);
}
.vm-lp__phase--green .vm-lp__card--current {
    border: 2px solid var(--_lp-green);
    box-shadow: 0 0 0 4px var(--_lp-green-glow), var(--_lp-shadow);
}
.vm-lp__phase--orange .vm-lp__card--current {
    border: 2px solid var(--_lp-orange);
    box-shadow: 0 0 0 4px var(--_lp-orange-glow), var(--_lp-shadow);
}

/* "You're here" badge */
.vm-lp__here-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    color: #fff;
    white-space: nowrap;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.vm-lp__here-badge svg {
    width: 8px;
    height: 8px;
    animation: vm-lp-dot 1.5s ease-in-out infinite;
}

@keyframes vm-lp-dot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.vm-lp__phase--blue .vm-lp__here-badge  { background: var(--_lp-blue); }
.vm-lp__phase--green .vm-lp__here-badge { background: var(--_lp-green); }
.vm-lp__phase--orange .vm-lp__here-badge{ background: var(--_lp-orange); }

/* ── Card body ─────────────────────────────────────────────────── */
.vm-lp__card-body {
    padding: 0.65rem 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Type badge */
.vm-lp__type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    line-height: 1.5;
    align-self: flex-start;
}
.vm-lp__type--blue  { background: var(--_lp-blue-soft);  color: var(--_lp-blue); }
.vm-lp__type--green { background: var(--_lp-green-soft); color: var(--_lp-green); }
.vm-lp__type--orange{ background: var(--_lp-orange-soft); color: var(--_lp-orange); }

/* Price */
.vm-lp__price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--_lp-text);
}
.vm-lp__price del {
    color: var(--_lp-text-muted);
    font-weight: 400;
    opacity: 0.6;
}
.vm-lp__price ins {
    text-decoration: none;
}

/* Card title */
.vm-lp__card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--_lp-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card actions (download button) */
.vm-lp__card-actions {
    padding: 0 0.75rem 0.75rem;
    margin-top: auto;
}

.vm-lp__card-actions form {
    margin: 0;
}

.vm-lp__download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    border: none;
    border-radius: var(--_lp-radius-sm);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    transition: all var(--_lp-dur) var(--_lp-ease);
}

.vm-lp__download-btn::before {
    content: '⬇';
    font-size: 0.85em;
}

.vm-lp__download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
}

.vm-lp__download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   "Download Free Preview" – beside Add-to-Cart on single product
   ═══════════════════════════════════════════════════════════════ */
.vm-preview-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35em;
    margin-left: 0.75rem;
    padding: 0.75em 1.5em !important;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    color: #fff !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border: none !important;
    border-radius: var(--vm-radius, 10px) !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    transition: all 200ms cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    vertical-align: middle;
}

.vm-preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.vm-preview-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

@media (max-width: 480px) {
    .vm-preview-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 0.85rem;
        padding: 0.65em 1.2em !important;
    }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vm-lp-spotlight {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem;
        gap: 1.05rem;
    }

    .vm-lp-spotlight__hub {
        gap: 1rem;
        padding: 1.1rem;
    }

    .vm-lp-spotlight__title {
        font-size: 1.55rem;
    }

    .vm-lp-spotlight__bundle-head {
        display: block;
    }

    .vm-lp-spotlight__bundle-title {
        margin-top: 0.45rem;
    }

    .vm-lp-spotlight__bundle-copy {
        margin-top: 0.35rem;
        text-align: left;
    }

    .vm-featured-bundles__media {
        aspect-ratio: 16 / 9.5;
    }

    .vm-lp {
        padding: var(--vm-sp-4, 1.5rem) var(--vm-sp-3, 1rem);
        margin: var(--vm-sp-5, 2rem) 0 var(--vm-sp-4, 1.5rem);
        --_tl-circle: 40px;
        --_tl-gap: 20px;
    }

    .vm-lp.vm-lp--landing {
        margin: 0 0 2rem;
        padding: 0;
    }

    .vm-lp__header {
        margin-bottom: var(--vm-sp-5, 2rem);
    }

    .vm-lp__phase-icon {
        font-size: 1.5rem;
    }

    .vm-lp__phase-head {
        padding: 0.75rem 1rem;
    }

    .vm-lp__phase-desc {
        display: none;
    }

    .vm-lp__cards {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.75rem;
    }

    .vm-lp__card-title {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .vm-lp__download-btn {
        font-size: 0.72rem;
        padding: 0.35rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .vm-lp-spotlight {
        margin-bottom: 2rem;
        padding: 0.85rem;
        border-radius: 8px;
    }

    .vm-lp-spotlight__hub {
        padding: 1rem;
    }

    .vm-lp-spotlight__text {
        font-size: 0.93rem;
    }

    .vm-lp-spotlight__actions,
    .vm-lp-spotlight__signals {
        grid-template-columns: minmax(0, 1fr);
    }

    .vm-lp-spotlight__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-lp-spotlight__button--primary {
        grid-column: 1 / -1;
    }

    .vm-lp-spotlight__button {
        width: 100%;
        padding-inline: 0.7rem;
        font-size: 0.86rem;
    }

    .vm-lp-spotlight__signals {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .vm-lp-spotlight__signals span {
        min-height: 2.05rem;
        padding: 0.35rem 0.35rem;
        font-size: 0.68rem;
    }

    .vm-featured-bundles {
        grid-template-columns: minmax(0, 1fr);
    }

    .vm-featured-bundles__card--top .vm-featured-bundles__link::before {
        content: 'Best value';
        align-self: flex-start;
        margin: 0.8rem 0.8rem 0;
        padding: 0.42rem 0.8rem;
        border-radius: 999px;
        background: #fbbf24;
        color: #78350f;
        font-size: 0.72rem;
        font-weight: 850;
        line-height: 1;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        box-shadow: 0 10px 18px -14px rgba(15, 23, 42, 0.75);
    }

    .vm-featured-bundles__media {
        aspect-ratio: 1 / 1;
        padding: 0.55rem;
        overflow: hidden;
    }

    .vm-featured-bundles__card--top .vm-featured-bundles__media {
        margin-top: 0.55rem;
    }

    .vm-featured-bundles__media img {
        width: 100%;
        max-width: none;
        height: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

    .vm-featured-bundles__discount,
    .vm-featured-bundles__badge {
        z-index: 1;
        min-height: 1.9rem;
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
    }

    .vm-featured-bundles__badge {
        display: none;
    }

    .vm-featured-bundles__discount {
        top: 0.85rem;
        right: 0.85rem;
    }

    .vm-lp {
        --_tl-circle: 36px;
        --_tl-gap: 14px;
        padding: 1.25rem 0.75rem;
    }

    .vm-lp.vm-lp--landing {
        margin: 0 0 1.75rem;
        padding: 0;
    }

    .vm-lp__step-circle {
        font-size: 0.9rem;
    }

    .vm-lp__eyebrow {
        font-size: 0.68rem;
    }

    .vm-lp__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .vm-lp__phase-count {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Bundle "Included" badge — on bundle product pages
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   Bundle Savings Banner — inside Description tab
   ═══════════════════════════════════════════════════════════════ */
.vm-bundle-banner {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 28px;
}

.vm-bundle-banner__amount {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.vm-bundle-banner__detail {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.vm-bundle-banner__sale {
    font-weight: 700;
    font-size: 20px;
}

.vm-bundle-banner__regular {
    text-decoration: line-through;
}

@media (max-width: 480px) {
    .vm-bundle-banner {
        padding: 18px 16px;
    }
    .vm-bundle-banner__amount {
        font-size: 22px;
    }
    .vm-bundle-banner__detail {
        font-size: 14px;
    }
    .vm-bundle-banner__sale {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Bundle "Included" badge — on bundle product pages
   ═══════════════════════════════════════════════════════════════ */
.vm-lp__bundle-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    white-space: nowrap;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.35);
}

/* Compact bundle contents grid — bundle product Description tab */
.vm-lp--bundle {
    padding: 2rem;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.vm-lp--bundle .vm-lp__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: none;
    text-align: left;
    margin: 0 0 1.35rem;
}

.vm-lp--bundle .vm-lp__eyebrow {
    margin-bottom: 0.55rem;
    background: #e0f2fe;
    color: #0369a1;
    letter-spacing: 0.08em;
}

.vm-lp--bundle .vm-lp__title {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.vm-lp--bundle .vm-lp__subtitle {
    max-width: 360px;
    margin: 0;
    font-size: 0.92rem;
}

.vm-lp__bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
}

@media (min-width: 1025px) {
    .vm-lp--bundle .vm-lp__bundle-grid {
        grid-template-columns: repeat(6, minmax(125px, 1fr));
        padding-right: 5.5rem;
    }
}

.vm-lp__bundle-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #2563eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vm-lp__bundle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.45);
}

.vm-lp__bundle-card--blue {
    border-top-color: #2563eb;
}

.vm-lp__bundle-card--green {
    border-top-color: #059669;
}

.vm-lp__bundle-card--orange {
    border-top-color: #d97706;
}

.vm-lp__bundle-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.vm-lp__bundle-card-link:hover,
.vm-lp__bundle-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.vm-lp__bundle-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 232 / 300;
    padding: 0.6rem;
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

.vm-lp__bundle-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.16));
    transition: transform 220ms ease;
}

.vm-lp__bundle-card:hover .vm-lp__bundle-cover img {
    transform: scale(1.025);
}

.vm-lp__bundle-cover-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 700;
}

.vm-lp__bundle-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem;
}

.vm-lp__bundle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.vm-lp__phase-tag,
.vm-lp__book-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.45rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.vm-lp__phase-tag--blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.vm-lp__phase-tag--green {
    background: #d1fae5;
    color: #047857;
}

.vm-lp__phase-tag--orange {
    background: #fef3c7;
    color: #b45309;
}

.vm-lp__book-tag {
    background: #f1f5f9;
    color: #475569;
}

.vm-lp__bundle-title {
    margin: 0;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vm-lp__bundle-price {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.vm-lp__bundle-price del {
    color: #64748b;
    font-weight: 500;
    opacity: 0.7;
}

.vm-lp__bundle-price ins {
    text-decoration: none;
}

.vm-lp__bundle-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 2.2rem;
    padding: 0.5rem 0.7rem;
    border-radius: 7px;
    background: #2563eb;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    transition: background 180ms ease, transform 180ms ease;
}

.vm-lp__bundle-card-link:hover .vm-lp__bundle-cta,
.vm-lp__bundle-card-link:focus-visible .vm-lp__bundle-cta {
    background: #1d4ed8;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .vm-lp--bundle {
        padding: 1.25rem;
    }

    .vm-lp--bundle .vm-lp__header {
        display: block;
    }

    .vm-lp--bundle .vm-lp__subtitle {
        max-width: none;
        margin-top: 0.45rem;
    }

    .vm-lp__bundle-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .vm-lp--bundle {
        padding: 1rem 0.75rem;
    }

    .vm-lp__bundle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-lp__bundle-body {
        padding: 0.65rem;
    }

    .vm-lp__phase-tag,
    .vm-lp__book-tag {
        font-size: 0.62rem;
    }

    .vm-lp__bundle-title {
        font-size: 0.76rem;
        -webkit-line-clamp: 2;
    }

    .vm-lp__bundle-price {
        font-size: 0.8rem;
    }
}

/* "View Book" button on bundle included books cards */
.vm-lp__view-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border: none;
    border-radius: var(--_lp-radius-sm, 6px);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(109, 40, 217, 0.35);
    transition: all var(--_lp-dur, 200ms) var(--_lp-ease, ease);
}

.vm-lp__view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.45);
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: #fff;
    text-decoration: none;
}

/* Bundle savings callout */
.vm-bundle-savings {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: var(--_lp-radius, 10px);
    font-size: 0.95rem;
    color: var(--_lp-text, #1e293b);
    line-height: 1.5;
}

.vm-bundle-savings__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.vm-bundle-savings__text strong {
    color: #047857;
}

/* ═══════════════════════════════════════════════════════════════
   "Save with Bundles" section — shown on individual book pages
   and inside landing-page / learning-path sections
   ═══════════════════════════════════════════════════════════════ */

/* Standalone version (on individual product pages) */
.vm-bundles {
    width: 100%;
    margin: var(--vm-sp-6, 3rem) 0 var(--vm-sp-5, 2rem);
    padding: var(--vm-sp-6, 3rem) var(--vm-sp-5, 2rem);
    background: linear-gradient(
        180deg,
        #fefce8 0%,
        #fffbeb 40%,
        var(--_lp-bg, #fff) 100%
    );
    border-radius: var(--_lp-radius-lg, 16px);
    border: 1px solid #fde68a;
    font-family: var(--_lp-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* Inline version (inside learning-path / landing-page sections) */
.vm-bundles--inline {
    margin: 2.5rem 0 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, #fefce8, #fffbeb);
    border: 1px solid #fde68a;
    border-radius: var(--_lp-radius, 10px);
}

/* Featured (top-of-page) variant — used on state landing pages.
   Stronger savings emphasis, no top margin, sits right under the hero. */
.vm-bundles--featured {
    margin: 0 0 2.5rem;
    padding: 2.25rem 1.75rem 2rem;
    background:
        radial-gradient(900px 280px at 50% -40px, rgba(245, 158, 11, 0.18), transparent 60%),
        linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    border-radius: 18px;
    box-shadow: 0 10px 30px -12px rgba(217, 119, 6, 0.25);
}

.vm-bundles--featured .vm-bundles__eyebrow {
    background: #fbbf24;
    color: #78350f;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.vm-bundles--featured .vm-bundles__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #78350f;
}

/* Bundle perks list — three quick value props under the title */
.vm-bundles__perks {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #78350f;
}

.vm-bundles__perks li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vm-bundles__perk-icon {
    font-size: 1.1em;
    line-height: 1;
}

/* "Most Popular" crown ribbon on the highlighted bundle */
.vm-bundles__crown {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    color: #78350f;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    line-height: 1;
}

.vm-bundles__card--top {
    border-color: #f59e0b;
    box-shadow: 0 8px 24px -8px rgba(217, 119, 6, 0.35);
}

.vm-bundles__card--top:hover {
    border-color: #d97706;
}

.vm-bundles__header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-inline: auto;
}

.vm-bundles__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #92400e;
    background: #fef3c7;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.vm-bundles__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--_lp-text, #1e293b);
    margin: 0 0 0.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vm-bundles__subtitle {
    font-size: 0.95rem;
    color: var(--_lp-text-muted, #64748b);
    margin: 0;
    line-height: 1.6;
}

/* Bundle card grid */
.vm-bundles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

/* Bundle card */
.vm-bundles__card {
    display: flex;
    flex-direction: column;
    background: var(--_lp-bg, #fff);
    border: 1px solid var(--_lp-border, #e2e8f0);
    border-radius: var(--_lp-radius, 10px);
    overflow: hidden;
    transition: transform var(--_lp-dur, 200ms) var(--_lp-ease, ease),
                box-shadow var(--_lp-dur, 200ms) var(--_lp-ease, ease),
                border-color var(--_lp-dur, 200ms) var(--_lp-ease, ease);
}

.vm-bundles__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--_lp-shadow-lg, 0 20px 25px -5px rgba(0,0,0,.08));
    border-color: #f59e0b;
}

.vm-bundles__card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.vm-bundles__card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Bundle card image */
.vm-bundles__card-img {
    position: relative;
    aspect-ratio: 200 / 260;
    overflow: hidden;
    background: var(--_lp-bg-alt, #f8fafc);
}

.vm-bundles__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s var(--_lp-ease, ease);
}

a.vm-bundles__card-link:hover .vm-bundles__card-img img {
    transform: scale(1.04);
}

/* Discount badge */
.vm-bundles__discount {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    line-height: 1;
}

.vm-bundles--featured .vm-bundles__discount {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.5);
}

/* Bundle card body */
.vm-bundles__card-body {
    padding: 0.75rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vm-bundles__type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    line-height: 1.5;
    align-self: flex-start;
    background: #fef3c7;
    color: #92400e;
}

.vm-bundles__card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--_lp-text, #1e293b);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vm-bundles__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-bundles__num-books {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--_lp-text-muted, #64748b);
}

.vm-bundles__savings {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    align-self: flex-start;
}

/* Bundle card actions */
.vm-bundles__card-actions {
    padding: 0 0.85rem 0.85rem;
    margin-top: auto;
}

.vm-bundles__view-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    border: none;
    border-radius: var(--_lp-radius-sm, 6px);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    transition: all var(--_lp-dur, 200ms) var(--_lp-ease, ease);
}

.vm-bundles__view-btn::before {
    content: '📦';
    font-size: 0.85em;
}

.vm-bundles__view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    text-decoration: none;
}

.vm-bundles__view-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
}

/* ── Responsive – bundles ──────────────────────────────────────── */
@media (max-width: 768px) {
    .vm-bundles {
        padding: var(--vm-sp-4, 1.5rem) var(--vm-sp-3, 1rem);
        margin: var(--vm-sp-5, 2rem) 0 var(--vm-sp-4, 1.5rem);
    }

    .vm-bundles--inline {
        padding: 1.25rem 1rem;
        margin: 1.5rem 0 0;
    }

    .vm-bundles__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.85rem;
    }

    .vm-bundles__card-title {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .vm-bundles__view-btn {
        font-size: 0.72rem;
        padding: 0.4rem 0.5rem;
    }

    .vm-bundle-savings {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .vm-bundles {
        padding: 1.25rem 0.75rem;
    }

    .vm-bundles--inline {
        padding: 1rem 0.75rem;
    }

    .vm-bundles__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vm-bundles__eyebrow {
        font-size: 0.68rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Bundle description — Instant download, key points, footer
   ═══════════════════════════════════════════════════════════════ */
.vm-bundle-instant {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
}
.vm-bundle-instant strong {
    color: #15803d;
}

.vm-bundle-keypoints {
    margin: 0 0 28px;
    padding-left: 20px;
    color: #1e293b;
    line-height: 2;
    list-style: none;
    font-size: 15px;
}
.vm-bundle-keypoints li {
    margin-bottom: 2px;
}
.vm-bundle-keypoints strong {
    color: #0f172a;
}

.vm-bundle-footer {
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 10px;
    margin-top: 24px;
    border: 1px solid #e2e8f0;
}
.vm-bundle-footer p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.6;
}
.vm-bundle-footer p:last-child {
    margin-bottom: 0;
    font-size: 14px;
    color: #64748b;
}
.vm-bundle-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.vm-bundle-footer a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   "Buy the Bundle & Save" — compact right-rail promo rendered
   inside the WooCommerce single-product summary column.
   ═══════════════════════════════════════════════════════════════ */
.vm-bundles-rail {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem 1.15rem;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.vm-bundles-rail__header {
    margin-bottom: 0.85rem;
}

.vm-bundles-rail__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #92400e;
    background: #fef3c7;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.vm-bundles-rail__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
    line-height: 1.3;
    color: #0f172a;
}

.vm-bundles-rail__subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.vm-bundles-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vm-bundles-rail__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vm-bundles-rail__link {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.65rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vm-bundles-rail__link:hover,
.vm-bundles-rail__link:focus-visible {
    transform: translateY(-1px);
    border-color: #f59e0b;
    box-shadow: 0 6px 16px -6px rgba(217, 119, 6, 0.35);
    text-decoration: none;
    color: inherit;
}

.vm-bundles-rail__thumb {
    position: relative;
    width: 56px;
    height: 74px;
    overflow: hidden;
    border-radius: 6px;
    background: #f8fafc;
    flex-shrink: 0;
}

.vm-bundles-rail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-bundles-rail__thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    color: #cbd5e1;
}

.vm-bundles-rail__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    line-height: 1;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.4);
}

.vm-bundles-rail__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.vm-bundles-rail__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vm-bundles-rail__meta {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.vm-bundles-rail__price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.15rem;
    flex-wrap: wrap;
}

.vm-bundles-rail__price-sale {
    font-size: 0.95rem;
    font-weight: 800;
    color: #047857;
}

.vm-bundles-rail__price-regular {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.vm-bundles-rail__savings {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    align-self: flex-start;
    margin-top: 0.15rem;
}

.vm-bundles-rail__cta {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    align-self: center;
    transition: transform 180ms ease;
}

.vm-bundles-rail__link:hover .vm-bundles-rail__cta {
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .vm-bundles-rail {
        padding: 0.85rem 0.85rem 1rem;
    }
    .vm-bundles-rail__link {
        grid-template-columns: 48px 1fr auto;
        gap: 0.6rem;
        padding: 0.5rem;
    }
    .vm-bundles-rail__thumb {
        width: 48px;
        height: 64px;
    }
    .vm-bundles-rail__name {
        font-size: 0.85rem;
    }
}
