/* =====================================================
   ACCESSO IMMEDIATO — pannelli post-acquisto
   ===================================================== */

.jc-postbuy-panel {
    background: linear-gradient(150deg, #fdf2f5, #fff 60%);
    border: 2px solid #f0d0d8;
    border-radius: 18px;
    padding: 30px 32px;
    margin: 0 0 32px;
    box-shadow: 0 8px 28px rgba(212, 99, 122, .10);
}
.jc-postbuy-panel.jc-postbuy-pending {
    background: linear-gradient(150deg, #fdf8ec, #fff 60%);
    border-color: #f0dfb4;
    box-shadow: 0 8px 28px rgba(200, 160, 60, .10);
}

.jc-postbuy-badge {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 99px;
    background: #d4637a;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.jc-postbuy-badge-wait { background: #c99a2e; }

.jc-postbuy-title {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
    color: #1d1d21;
    margin: 0 0 12px;
}
.jc-postbuy-lead {
    font-size: 16px;
    line-height: 1.65;
    color: #4a4a55;
    margin: 0 0 20px;
    max-width: 62ch;
}
.jc-postbuy-lead strong { color: #1d1d21; }

.jc-postbuy-items {
    background: #fff;
    border: 1px solid #f0e2e6;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
}
.jc-postbuy-items-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #a9a9b4;
    margin-bottom: 10px;
}
.jc-postbuy-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jc-postbuy-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
    color: #2b2b33;
    line-height: 1.4;
}
.jc-postbuy-items li + li { border-top: 1px solid #f6f6f9; }
.jc-postbuy-items li a { color: #d4637a; font-weight: 600; text-decoration: none; }
.jc-postbuy-items li a:hover { text-decoration: underline; }

.jc-postbuy-item-type {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 6px;
    background: #fdf2f5;
    color: #d4637a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.jc-postbuy-item-ebook { background: #f0ecff; color: #5b46b5; }

.jc-postbuy-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.jc-postbuy-hint {
    font-size: 13.5px;
    color: #6f6f78;
    line-height: 1.5;
}

/* Riga nel dettaglio ordine */
.jc-postbuy-inline {
    background: #fdf2f5;
    border-left: 4px solid #d4637a;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4a4a55;
}
.jc-postbuy-inline a {
    display: inline-block;
    margin-left: 4px;
    color: #d4637a;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.jc-postbuy-inline a:hover { text-decoration: underline; }

/* Rassicurazione sotto i pulsanti di acquisto */
.jc-accesso-immediato {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #5c5c66;
}
.jc-accesso-immediato-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    background: #2ecc71;
    position: relative;
}
.jc-accesso-immediato-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 780px) {
    .jc-postbuy-panel { padding: 22px 18px; border-radius: 14px; }
    .jc-postbuy-title { font-size: 22px; }
    .jc-postbuy-lead { font-size: 15px; }
    .jc-postbuy-actions { flex-direction: column; align-items: stretch; }
    .jc-postbuy-actions .jc-btn { text-align: center; }
}
