/* ================= OWNER REVIEWS & RATINGS ================= */
.nc-reviews {
    margin-top: 40px;
}

.nc-reviews .nc-section-title {
    margin-bottom: 16px;
}

/* Carte verte de synthèse */
.nc-reviews-summary {
    background: #F3FBF4;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.nc-reviews-summary-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nc-reviews-avg {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1;
    color: #247A34;
}

.nc-reviews-star {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #247A34;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nc-reviews-summary-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nc-reviews-summary-label {
    font-size: 14px;
    font-weight: 500;
    color: #24272C;
}

.nc-reviews-summary-count {
    font-size: 14px;
    color: #666666;
}

.nc-reviews-summary-bottom {
    margin-top: 14px;
    font-size: 14px;
    color: #24272C;
}

/* Formulaire */
.nc-reviews-subtitle {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #24272C;
    margin: 0 0 14px 0;
}

.nc-review-label {
    display: block;
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.nc-review-textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border: 1px solid #EFEFEF;
    background: #F7F7F7;
    border-radius: 12px;
    padding: 16px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #24272C;
    outline: none;
}

.nc-review-textarea::placeholder {
    color: #8A8F98;
}

.nc-review-textarea:focus {
    border-color: #247A34;
}

.nc-review-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.nc-review-form-head .nc-reviews-subtitle {
    margin: 0;
}

.nc-review-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nc-review-rating-label {
    font-size: 15px;
    color: #24272C;
}

.nc-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F3FBF4;
    border-radius: 10px;
    padding: 10px 16px;
}

.nc-review-star {
    border: 0;
    background: none;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    color: #8A8F98;
    transition: color .15s, transform .15s;
}

.nc-review-star svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.nc-review-star.is-active,
.nc-review-star.is-hover {
    color: #247A34;
}

.nc-review-star.is-active svg {
    fill: currentColor;
    stroke: currentColor;
}

.nc-review-star:hover {
    transform: scale(1.08);
}

.nc-review-submit {
    width: auto;
    min-width: 260px;
    height: 52px;
    border-radius: 10px;
    margin-top: 22px;
    font-weight: 600;
}

.nc-review-submit[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

.nc-review-message {
    margin: 14px 0 0;
    font-size: 14px;
    color: #C0392B;
    min-height: 0;
}

.nc-review-message.is-success {
    color: #247A34;
}

.nc-review-message:empty {
    display: none;
}

/* Liste des avis */
.nc-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.nc-review-card {
    display: flex;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-radius: 12px;
    padding: 16px 20px;
}

.nc-review-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: cover;
}

.nc-review-body {
    min-width: 0;
    flex: 1;
}

.nc-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.nc-review-author {
    font-weight: 600;
    font-size: 15px;
    color: #24272C;
}

.nc-review-head-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nc-review-delete {
    border: 0;
    background: none;
    padding: 4px;
    line-height: 0;
    border-radius: 8px;
    color: #8A8F98;
    cursor: pointer;
    transition: color .15s, background .15s;
}

.nc-review-delete:hover {
    color: #C0392B;
    background: #FDECEA;
}

.nc-review-delete[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.nc-review-date {
    font-size: 13px;
    color: #8A8F98;
}

.nc-review-card-stars {
    display: flex;
    gap: 3px;
    margin: 6px 0 8px;
}

.nc-review-card-stars svg {
    fill: none;
    stroke: #C6CBD2;
    stroke-width: 1.6;
}

.nc-review-card-stars svg.is-on {
    fill: #247A34;
    stroke: #247A34;
}

.nc-review-text {
    margin: 0;
    font-size: 14px;
    line-height: 166%;
    color: #666666;
    overflow-wrap: anywhere;
}

/* Responsive */
@media (max-width: 768px) {
    .nc-reviews-summary {
        padding: 16px;
    }

    .nc-reviews-avg {
        font-size: 28px;
    }

    .nc-review-form-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nc-review-submit {
        width: 100%;
        min-width: 0;
    }

    .nc-review-card {
        padding: 14px;
    }
}
