.aspa-review-box {
    background: linear-gradient(135deg, #f5f7ff 0%, #eff2ff 100%);
    border: 1px solid #c7d2fe;
    border-left: 4px solid #4f46e5;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 0 0 36px;
    font-family: inherit;
}

.aspa-review-box__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.aspa-review-box__icon-wrap {
    flex-shrink: 0;
    margin-top: 2px;
}

.aspa-review-box__icon {
    width: 32px;
    height: 32px;
    display: block;
}

.aspa-review-box__meta {
    flex: 1;
}

.aspa-review-box__title {
    margin: 0 0 4px !important;
    font-size: 1.05em !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    line-height: 1.3;
}

.aspa-review-box__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.aspa-star {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1;
}

.aspa-star--filled {
    color: #f59e0b;
}

.aspa-review-box__rating-num {
    font-size: 0.82em;
    color: #6b7280;
    margin-left: 4px;
}

.aspa-review-box__badge {
    display: inline-block;
    background: #4f46e5;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}

.aspa-review-box__body {
    color: #374151;
    line-height: 1.75;
    font-size: 0.95em;
}

.aspa-review-box__body p {
    margin: 0 0 12px !important;
}

.aspa-review-box__body p:last-child {
    margin-bottom: 0 !important;
}

.aspa-review-box__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #c7d2fe;
    font-size: 0.84em;
    color: #6b7280;
}

.aspa-review-box__author {
    font-weight: 600;
    color: #4f46e5;
}

.aspa-review-box__sep {
    color: #d1d5db;
}

@media (max-width: 480px) {
    .aspa-review-box {
        padding: 18px 16px;
    }
    .aspa-review-box__badge {
        display: none;
    }
}

/* ── Recensione AI pinnata — primo commento nella lista WooCommerce ── */

#reviews .commentlist > li:first-child,
.woocommerce-Reviews .commentlist > li:first-child {
    position: relative;
    background: linear-gradient(135deg, #f5f7ff 0%, #eff2ff 100%);
    border: 1px solid #c7d2fe;
    border-left: 4px solid #4f46e5;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

/* Etichetta "Recensione AI" nell'angolo in alto a destra */
#reviews .commentlist > li:first-child::before,
.woocommerce-Reviews .commentlist > li:first-child::before {
    content: "Recensione AI";
    position: absolute;
    top: 14px;
    right: 16px;
    background: #4f46e5;
    color: #fff;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
}

/* Nome autore in viola */
#reviews .commentlist > li:first-child .woocommerce-review__author,
.woocommerce-Reviews .commentlist > li:first-child .woocommerce-review__author {
    color: #4f46e5;
    font-weight: 700;
}

/* Separatore sotto la review pinnata */
#reviews .commentlist > li:first-child + li,
.woocommerce-Reviews .commentlist > li:first-child + li {
    margin-top: 8px;
}
