/* =====================================================
   PAGINA BUNDLE SINGOLA v2
   ===================================================== */

.jc-bundle-page-wrapper { max-width: 860px; margin: 0 auto; padding: 0 20px 60px; }

/* Hero */
.jc-bundle-page-hero { padding: 48px 0 40px; border-bottom: 2px solid #f0f0f0; margin-bottom: 48px; }
.jc-bundle-page-tag {
    display: inline-block;
    background: linear-gradient(90deg,#d4637a,#e8a0b0);
    color: #fff; border-radius: 99px;
    padding: 4px 14px; font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.jc-bundle-page-hero h1 { font-size: 32px; font-weight: 800; color: #222; margin: 0 0 12px; line-height: 1.2; }
.jc-bundle-page-desc { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 20px; }
.jc-bundle-saving {
    display: inline-block; background: #e8f8f0; color: #27ae60;
    border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.jc-bundle-page-buy { display: flex; flex-direction: column; gap: 12px; }
.jc-bundle-page-price { font-size: 28px; font-weight: 800; color: #d4637a; }
.jc-bundle-page-original {
    display: block; font-size: 14px; color: #aaa;
    font-weight: 400; text-decoration: line-through; margin-bottom: 4px;
}
.jc-bundle-saving-inline {
    display: inline-block; margin-left: 10px;
    background: #e8f8f0; color: #27ae60;
    border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 600; vertical-align: middle;
}

/* Sezione include */
.jc-bundle-page-includes { margin-bottom: 48px; }
.jc-bundle-page-includes h2 { font-size: 22px; font-weight: 700; margin: 0 0 24px; color: #222; }

/* Card corso — layout verticale con copertina piena */
.jc-bundle-page-corso-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.jc-bundle-page-corso-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }

/* Copertina a larghezza piena */
.jc-bundle-page-corso-thumb-link { display: block; }
.jc-bundle-page-corso-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.jc-bundle-page-corso-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .3s ease;
}
.jc-bundle-page-corso-card:hover .jc-bundle-page-corso-thumb img {
    transform: scale(1.03);
}

/* Info corso sotto la copertina */
.jc-bundle-page-corso-info { padding: 20px 24px 24px; }
.jc-bundle-page-corso-info h3 { font-size: 18px; font-weight: 700; margin: 8px 0 8px; }
.jc-bundle-corso-link { color: #222; text-decoration: none; }
.jc-bundle-corso-link:hover { color: #d4637a; }
.jc-bundle-page-corso-info p { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 12px; }
.jc-bundle-page-corso-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    font-size: 13px; color: #888; margin-bottom: 16px;
    padding-bottom: 16px; border-bottom: 1px solid #f0f0f0;
}
.jc-bundle-corso-prezzo-originale { color: #aaa; text-decoration: line-through; }

/* Lista lezioni */
.jc-bundle-page-lezioni { }
.jc-bundle-page-lezione-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0; border-bottom: 1px solid #f9f9f9;
    font-size: 13px; color: #555;
}
.jc-bundle-page-lezione-item:last-child { border-bottom: none; }
.jc-bundle-lezione-num {
    width: 22px; height: 22px; border-radius: 50%;
    background: #f5f5f5; color: #888;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.jc-bundle-lezione-dur { margin-left: auto; color: #bbb; font-size: 12px; white-space: nowrap; }
.jc-bundle-page-more-lezioni {
    font-size: 13px; color: #d4637a; font-weight: 600;
    padding: 8px 0 0; cursor: default;
}

/* Card eBook */
.jc-bundle-page-ebook-card {
    display: flex; gap: 20px; align-items: flex-start;
    background: #fdf9ff; border: 2px dashed #d4637a;
    border-radius: 14px; padding: 20px; margin-bottom: 20px;
}
.jc-bundle-page-ebook-icon { font-size: 48px; flex-shrink: 0; }
.jc-bundle-page-ebook-thumb { width: 80px; flex-shrink: 0; }
.jc-bundle-page-ebook-thumb img { width: 100%; border-radius: 6px; }
.jc-bundle-page-ebook-info h3 { font-size: 16px; font-weight: 700; color: #222; margin: 8px 0 6px; }
.jc-bundle-page-ebook-info p { font-size: 14px; color: #666; margin: 0 0 10px; line-height: 1.5; }
.jc-bundle-free-tag-large {
    display: inline-block; background: #2ecc71; color: #fff;
    border-radius: 99px; padding: 3px 12px;
    font-size: 11px; font-weight: 700; letter-spacing: .5px; margin-bottom: 4px;
}

/* CTA finale */
.jc-bundle-page-cta {
    background: linear-gradient(135deg, #fdf2f5, #fff);
    border: 2px solid #f0d0d8;
    border-radius: 16px; padding: 40px 20px; margin-top: 40px; text-align: center;
}
.jc-bundle-page-cta h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; }

/* Responsive */
@media (max-width: 600px) {
    .jc-bundle-page-hero h1 { font-size: 24px; }
    .jc-bundle-page-corso-thumb { height: 180px; }
    .jc-bundle-page-ebook-card { flex-direction: column; }
}
