/**
 * Lokales Bewertungssystem - CSS
 * Pfad: /modules/reviews/local/assets/local-reviews.css
 */

:root {
    --bv-primary: #1668e3;
    --bv-primary-hover: #0d4eaf;
    --bv-success: #10b981;
    --bv-error: #dc2626;
    --bv-error-bg: #991b1b;
    --bv-warning: #f59e0b;
    --bv-star-color: #fbbf24;
    --bv-star-empty: #e5e7eb;
    --bv-bg: #ffffff;
    --bv-bg-alt: #F5F8FF;
    --bv-bg-form: #F5F8FF;
    --bv-footer: #00193C;
    --bv-button: #00193C;
    --bv-button-hover: #002a5a;
    --bv-border: #e5e7eb;
    --bv-text: #1f2937;
    --bv-text-muted: #6b7280;
    --bv-radius: 8px;
}

/* ========== Formular - Neues Design ========== */
.bv-review-form-wrap {
    background: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 0;
    margin: 32px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* ✅ Wow-Effekt: Formular-Animationen */
.bv-review-form.submitting {
    opacity: 0.7;
    pointer-events: none;
}

.bv-review-form.submitted-success {
    animation: fadeOutUp 0.4s ease-out forwards;
}

@keyframes fadeOutUp {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ✅ Hohe Spezifität gegen Elementor-Overrides */
.bv-review-form-wrap .bv-form-title,
.bv-review-form-wrap h3.bv-form-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: var(--bv-button) !important;
    padding: 12px 16px !important;
    margin: 0 0 0 0 !important;
    border-radius: 0 !important;
    line-height: 1.4 !important;
}

/* ✅ Formular-Zeilen für Grid-Layout */
.bv-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .bv-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.bv-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.bv-review-form {
    background: var(--bv-bg-form);
    padding: 16px;
    border: 1px solid rgba(0, 25, 60, 0.1);
}

.bv-form-field {
    margin-bottom: 14px;
}

.bv-form-field label {
    display: block;
    font-weight: 500;
    color: var(--bv-text);
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.4;
}

.bv-min-chars {
    font-weight: 400;
    font-size: 11px;
    color: var(--bv-text-muted);
}

.bv-form-field input[type="text"],
.bv-form-field input[type="email"],
.bv-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: var(--bv-text);
    background: #ffffff;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.bv-form-field input[type="text"]:hover,
.bv-form-field input[type="email"]:hover,
.bv-form-field textarea:hover {
    border-color: #9ca3af;
}

.bv-form-field input[type="text"]:focus,
.bv-form-field input[type="email"]:focus,
.bv-form-field textarea:focus {
    outline: none;
    border-color: var(--bv-button);
    box-shadow: 0 0 0 3px rgba(0, 25, 60, 0.1);
}

.bv-form-field input::placeholder,
.bv-form-field textarea::placeholder {
    color: var(--bv-text-muted);
}

.bv-form-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.6;
}

.bv-form-field textarea.bv-form-trigger {
    cursor: text;
}

.bv-field-note {
    font-size: 11px;
    color: var(--bv-text-muted);
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* ✅ Expandable Section - Erst nach Klick sichtbar */
.bv-form-expandable {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 25, 60, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Sternebewertung - kompakt und professionell */
.bv-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1px;
    align-items: center;
}

.bv-star-rating input {
    display: none;
}

.bv-star-rating label {
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: transform 0.1s ease;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-star-rating label:hover {
    transform: scale(1.1);
}

.bv-star-rating label:hover ~ label {
    transform: scale(1.05);
}

.bv-star-rating svg {
    width: 24px;
    height: 24px;
    fill: var(--bv-star-empty);
    stroke: var(--bv-border);
    stroke-width: 0.5;
    transition: all 0.15s ease;
}

/* ✅ Kleine Sterne für Bereichsbewertungen */
.bv-star-rating-small {
    gap: 0;
}

.bv-star-rating-small label {
    width: 18px;
    height: 18px;
}

.bv-star-rating-small svg {
    width: 18px;
    height: 18px;
}

/* ✅ Bereichsbewertungen */
.bv-category-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 8px 0;
    padding: 10px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid var(--bv-border);
}

.bv-category-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bv-category-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--bv-text);
    margin: 0 !important;
    line-height: 1.3;
}

.bv-star-rating input:checked ~ label svg,
.bv-star-rating label:hover svg,
.bv-star-rating label:hover ~ label svg {
    fill: var(--bv-star-color);
    stroke: var(--bv-warning);
}

/* ✅ Checkboxen - Visuell gruppiert, rechtlich getrennt */
.bv-form-checkboxes {
    margin-bottom: 14px;
}

.bv-checkbox-group {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bv-field-checkbox {
    padding: 0;
    margin-bottom: 0;
}

.bv-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 !important;
}

.bv-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.bv-checkbox-label a {
    color: var(--bv-primary);
    text-decoration: underline;
}

/* Fehler */
.bv-error {
    display: block;
    color: var(--bv-error);
    font-size: 13px;
    margin-top: 4px;
    min-height: 0;
    line-height: 1.4;
}

.bv-error:empty {
    display: none;
}

.bv-form-field.has-error input,
.bv-form-field.has-error textarea {
    border-color: var(--bv-error);
}

/* Buttons */
.bv-form-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 25, 60, 0.1);
}

/* ✅ Footer-Note: Sternchen-Erklärung */
.bv-form-footer-note {
    text-align: right;
    padding: 8px 0 0 0;
    margin-top: 8px;
    font-size: 11px;
    color: var(--bv-text-muted);
    line-height: 1.3;
}

.bv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.bv-btn-primary {
    background: var(--bv-button);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
    transition: all 0.2s ease;
}

.bv-btn-primary:hover {
    background: var(--bv-button-hover);
    box-shadow: 0 4px 12px rgba(0, 25, 60, 0.25);
    transform: translateY(-1px);
}

.bv-btn-primary:active {
    transform: translateY(0);
}

.bv-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bv-btn-secondary {
    background: #fff;
    color: var(--bv-text);
    border: 1px solid var(--bv-border);
}

.bv-btn-secondary:hover {
    background: var(--bv-bg-alt);
}

.bv-spinner {
    width: 18px;
    height: 18px;
}

/* Messages */
.bv-form-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.bv-form-message.success {
    background: var(--bv-button);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 25, 60, 0.2);
}

.bv-form-message.error {
    background: var(--bv-error-bg);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ========== Bewertungsliste ========== */
.bv-reviews-list {
    margin: 40px 0;
}

.bv-review {
    background: var(--bv-bg);
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    scroll-margin-top: 130px; /* ✅ Für Fixed Header */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bv-review:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* ✅ Versteckte Bewertungen (ab 3. Bewertung) */
.bv-review.bv-review-hidden {
    display: none;
}

.bv-reviews-toggle {
    text-align: center;
    margin: 24px 0;
}

.bv-btn-toggle {
    background: transparent;
    border: 1px solid var(--bv-border);
    color: var(--bv-text);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.bv-btn-toggle:hover {
    background: var(--bv-bg-alt);
    border-color: var(--bv-primary);
    color: var(--bv-primary);
}

/* ✅ Bereichsbewertungen in Bewertungsanzeige */
.bv-review-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: var(--bv-bg-alt);
    border-radius: 6px;
}

.bv-review-category {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bv-review-category-label {
    font-size: 12px;
    color: var(--bv-text-muted);
    font-weight: 500;
}

.bv-review-category-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bv-review-category-stars .bv-star {
    width: 12px;
    height: 12px;
}

.bv-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.bv-review-author {
    display: flex;
    gap: 12px;
}

.bv-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bv-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.bv-author-name {
    font-weight: 600;
    color: var(--bv-text);
    font-size: 16px;
}

.bv-review-date {
    font-size: 13px;
    color: var(--bv-text-muted);
    margin-top: 2px;
}

.bv-review-rating .bv-stars {
    gap: 1px;
}

.bv-review-rating .bv-stars svg {
    width: 16px;
    height: 16px;
}

.bv-review-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bv-text);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.bv-review-content {
    color: var(--bv-text);
    line-height: 1.7;
    font-size: 15px;
    margin: 12px 0;
    /* ✅ Zeilenumbrüche werden durch nl2br() erzeugt, daher kein pre-wrap nötig */
}

/* Praxis-Antwort */
.bv-review-reply {
    margin-top: 16px;
    padding: 16px;
    background: var(--bv-bg-alt);
    border-left: 3px solid var(--bv-primary);
    border-radius: 4px;
}

.bv-reply-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.bv-reply-header strong {
    color: var(--bv-primary);
}

.bv-reply-date {
    color: var(--bv-text-muted);
}

.bv-reply-content {
    color: var(--bv-text);
    line-height: 1.6;
    font-size: 14px;
}

/* Actions */
.bv-review-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bv-border);
}

.bv-btn-helpful,
.bv-btn-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--bv-border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--bv-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.bv-btn-helpful:hover,
.bv-btn-flag:hover {
    background: var(--bv-bg-alt);
    color: var(--bv-text);
}

.bv-btn-helpful svg,
.bv-btn-flag svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* Sterne */
.bv-stars {
    display: inline-flex;
    gap: 2px;
}

.bv-stars {
    gap: 1px;
}

.bv-star {
    width: 16px;
    height: 16px;
}

.bv-star-full {
    fill: var(--bv-star-color);
    stroke: var(--bv-warning);
    stroke-width: 1;
}

.bv-star-empty {
    fill: var(--bv-star-empty) !important;
    stroke: var(--bv-border);
    stroke-width: 1;
    color: var(--bv-star-empty);
}

.bv-star-empty path {
    fill: var(--bv-star-empty) !important;
}

/* ========== Widget ========== */
.bv-widget {
    background: var(--bv-bg);
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius);
    padding: 24px;
    margin: 32px 0;
}

.bv-widget-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    margin-bottom: 24px;
}

.bv-widget-rating {
    text-align: center;
}

.bv-widget-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--bv-text);
    line-height: 1;
    margin-bottom: 8px;
}

.bv-widget-stars {
    margin-bottom: 8px;
}

.bv-widget-stars .bv-star {
    width: 24px;
    height: 24px;
}

.bv-widget-count {
    font-size: 14px;
    color: var(--bv-text-muted);
}

.bv-widget-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ✅ Bereichsbewertungen im Widget */
.bv-widget-categories {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bv-border);
}

.bv-widget-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bv-widget-category-label {
    font-size: 13px;
    color: var(--bv-text);
    font-weight: 500;
}

.bv-widget-category-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bv-widget-category-stars .bv-star {
    width: 12px;
    height: 12px;
}

.bv-widget-category-number {
    font-size: 12px;
    color: var(--bv-text-muted);
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

.bv-dist-row {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    gap: 12px;
    align-items: center;
}

.bv-dist-label {
    font-size: 13px;
    color: var(--bv-text-muted);
}

.bv-dist-bar {
    height: 8px;
    background: var(--bv-star-empty);
    border-radius: 4px;
    overflow: hidden;
}

.bv-dist-fill {
    height: 100%;
    background: var(--bv-star-color);
    transition: width 0.3s ease;
}

.bv-dist-count {
    font-size: 13px;
    color: var(--bv-text-muted);
    text-align: right;
}

.bv-widget-actions {
    display: flex;
    gap: 12px;
}

/* ========== Notifications ========== */
.bv-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 420px;
    padding: 18px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 10000;
    font-size: 15px;
    line-height: 1.6;
    display: none;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bv-notification-success {
    background: var(--bv-button);
    color: #ffffff;
    border: none;
}

.bv-notification-info {
    background: var(--bv-button);
    color: #ffffff;
    border: none;
}

.bv-notification-error {
    background: var(--bv-error-bg);
    color: #ffffff;
    border: none;
}

/* ========== Detaillierte Bewertungen ========== */
.bv-detailed-ratings {
    background: var(--bv-bg);
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius);
    padding: 24px;
    margin: 40px 0;
    overflow: visible;
}

.bv-detailed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bv-border);
    overflow: visible;
    gap: 20px;
}

.bv-detailed-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bv-text);
    margin: 0;
    line-height: 1.3;
}

.bv-detailed-overall {
    text-align: center;
    min-width: 100px;
    padding-right: 0;
    overflow: visible;
    flex-shrink: 0;
}

.bv-detailed-overall-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--bv-text);
    line-height: 1;
    margin-bottom: 4px;
}

.bv-detailed-overall-stars {
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    flex-wrap: nowrap;
    overflow: visible;
}

.bv-detailed-overall-stars .bv-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.bv-detailed-overall-stars .bv-star {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    overflow: visible;
}

.bv-detailed-overall-stars .bv-star-empty {
    fill: var(--bv-star-empty) !important;
    stroke: var(--bv-border) !important;
    color: var(--bv-star-empty) !important;
}

.bv-detailed-overall-stars .bv-star-empty path {
    fill: var(--bv-star-empty) !important;
    stroke: var(--bv-border) !important;
}

.bv-detailed-overall-stars svg.bv-star-empty {
    fill: var(--bv-star-empty) !important;
    color: var(--bv-star-empty) !important;
}

/* ✅ Zusätzliche Regeln für alle möglichen Selektoren - MAXIMALE SPEZIFITÄT */
.bv-detailed-overall-stars .bv-stars .bv-star-empty,
.bv-detailed-overall-stars .bv-star.bv-star-empty,
.bv-detailed-overall-stars svg.bv-star.bv-star-empty,
.bv-detailed-overall .bv-detailed-overall-stars .bv-stars .bv-star-empty,
.bv-detailed-overall .bv-detailed-overall-stars svg.bv-star.bv-star-empty {
    fill: #e5e7eb !important;
    stroke: #d1d5db !important;
    color: #e5e7eb !important;
}

.bv-detailed-overall-stars .bv-stars .bv-star-empty path,
.bv-detailed-overall-stars .bv-star.bv-star-empty path,
.bv-detailed-overall-stars svg.bv-star.bv-star-empty path,
.bv-detailed-overall .bv-detailed-overall-stars .bv-stars .bv-star-empty path,
.bv-detailed-overall .bv-detailed-overall-stars svg.bv-star.bv-star-empty path {
    fill: #e5e7eb !important;
    stroke: #d1d5db !important;
}

/* ✅ Sicherstellen, dass Container genug Platz hat */
.bv-detailed-header > .bv-detailed-overall {
    overflow: visible !important;
    max-width: none !important;
    width: auto !important;
    flex-shrink: 0;
}

.bv-detailed-overall-stars,
.bv-detailed-overall-stars .bv-stars {
    width: auto !important;
    max-width: none !important;
    min-width: 110px;
    flex-shrink: 0;
}

/* ✅ Halber Stern auch korrekt darstellen - WICHTIG: color muss gesetzt sein */
.bv-detailed-overall-stars .bv-star-half {
    fill: var(--bv-star-color) !important;
    stroke: var(--bv-warning) !important;
    color: var(--bv-star-color) !important;
}

.bv-detailed-overall-stars .bv-star-half path {
    fill: url(#half) !important;
}

/* ✅ Gradient für halben Stern explizit definieren */
.bv-detailed-overall-stars .bv-star-half defs linearGradient stop:first-child {
    stop-color: var(--bv-star-color) !important;
}

.bv-detailed-overall-stars .bv-star-half defs linearGradient stop:last-child {
    stop-color: transparent !important;
}

/* ✅ Alle Sterne im Container sichtbar machen */
.bv-detailed-overall-stars svg {
    flex-shrink: 0 !important;
    overflow: visible !important;
    display: block !important;
    box-sizing: content-box !important;
}

/* ✅ Sicherstellen, dass kein Stern schwarz ist */
.bv-detailed-overall-stars svg:not(.bv-star-full):not(.bv-star-half) {
    fill: #e5e7eb !important;
    stroke: #d1d5db !important;
}

.bv-detailed-overall-stars svg:not(.bv-star-full):not(.bv-star-half) path {
    fill: #e5e7eb !important;
    stroke: #d1d5db !important;
}

.bv-detailed-overall-count {
    font-size: 11px;
    color: var(--bv-text-muted);
    line-height: 1.2;
}

.bv-detailed-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.bv-detailed-category {
    background: var(--bv-bg-alt);
    border: 1px solid var(--bv-border);
    border-radius: 6px;
    padding: 16px;
}

.bv-detailed-category-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bv-text);
    margin-bottom: 12px;
}

.bv-detailed-category-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bv-detailed-category-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.bv-detailed-category-stars .bv-star {
    width: 16px;
    height: 16px;
}

.bv-detailed-category-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--bv-text);
    min-width: 40px;
}

.bv-detailed-category-count {
    font-size: 12px;
    color: var(--bv-text-muted);
}

.bv-detailed-category-empty {
    opacity: 0.6;
}

.bv-detailed-category-empty-text {
    font-size: 13px;
    color: var(--bv-text-muted);
    font-style: italic;
}

.bv-detailed-no-categories {
    text-align: center;
    color: var(--bv-text-muted);
    padding: 20px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .bv-review-form-wrap {
        padding: 20px 16px;
    }
    
    .bv-form-row {
        grid-template-columns: 1fr;
    }
    
    .bv-form-checkboxes {
        flex-direction: column;
    }
    
    .bv-widget-summary {
        grid-template-columns: 1fr;
    }
    
    .bv-review-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .bv-review-actions {
        flex-direction: column;
    }
    
    .bv-detailed-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
    }
    
    .bv-detailed-title {
        font-size: 16px;
    }
    
    .bv-detailed-overall {
        min-width: auto;
        width: 100%;
    }
    
    .bv-detailed-overall-number {
        font-size: 24px;
    }
    
    .bv-detailed-overall-stars .bv-star {
        width: 14px;
        height: 14px;
    }
    
    .bv-detailed-categories {
        grid-template-columns: 1fr;
    }
}