
.bvr-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 20px;
}

.bvr-intro {
    max-width: 700px;
    margin-bottom: 28px;
}

.bvr-kicker {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .62;
    margin-bottom: 8px;
}

.bvr-intro h2,
.bvr-reviews-header h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.06;
}

.bvr-intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: .8;
}

.bvr-form {
    display: grid;
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.bvr-field {
    display: grid;
    gap: 8px;
}

.bvr-field label,
.bvr-field legend {
    font-weight: 650;
}

.bvr-field input[type="text"],
.bvr-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.16);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    line-height: 1.5;
}

.bvr-field textarea {
    resize: vertical;
    min-height: 150px;
}

.bvr-field input[type="text"]:focus,
.bvr-field textarea:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.bvr-rating-field {
    border: 0;
    padding: 0;
    margin: 0;
}

.bvr-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.bvr-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bvr-stars label {
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: #c8c8c8;
    transition: transform .15s ease, color .15s ease;
}

.bvr-stars label:hover,
.bvr-stars label:hover ~ label,
.bvr-stars input:checked ~ label {
    color: #f0b429;
}

.bvr-stars label:hover {
    transform: scale(1.08);
}

.bvr-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .92rem;
    line-height: 1.45;
}

.bvr-consent input {
    margin-top: 3px;
}

.bvr-button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #111;
    color: #fff;
    transition: transform .15s ease, opacity .15s ease;
}

.bvr-button:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.bvr-message {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.bvr-success {
    background: #edf8ef;
    border: 1px solid #b8dfc0;
}

.bvr-error {
    background: #fff0f0;
    border: 1px solid #e8b8b8;
}

.bvr-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Recensioni pubblicate */
.bvr-published {
    padding-top: 28px;
    padding-bottom: 64px;
}

.bvr-reviews-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 26px;
}

.bvr-summary {
    min-width: 120px;
    text-align: right;
    display: grid;
    gap: 3px;
}

.bvr-summary strong {
    font-size: 1.5rem;
}

.bvr-summary-stars,
.bvr-card-stars,
.bvr-empty-stars {
    color: #f0b429;
    letter-spacing: .08em;
}

.bvr-summary small {
    opacity: .65;
}

.bvr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bvr-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.bvr-card-stars {
    margin-bottom: 14px;
}

.bvr-card-text {
    line-height: 1.65;
    flex: 1;
}

.bvr-card-text p:first-child {
    margin-top: 0;
}

.bvr-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.bvr-card-name {
    font-weight: 700;
}

.bvr-card-date {
    font-size: .82rem;
    opacity: .55;
}

.bvr-empty {
    text-align: center;
    padding: 42px 20px;
    border: 1px dashed rgba(0,0,0,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
}

.bvr-empty-stars {
    font-size: 1.35rem;
}

.bvr-empty p {
    margin: 10px 0 0;
    opacity: .68;
}

@media (max-width: 800px) {
    .bvr-grid {
        grid-template-columns: 1fr;
    }

    .bvr-form {
        padding: 22px 18px;
    }

    .bvr-reviews-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bvr-summary {
        text-align: left;
    }
}
