/* LocalProof v1.0 - Public Styles */

.lp-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

/* Grid layout */
.lp-layout-grid .lp-review-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 260px;
}

/* List layout */
.lp-layout-list .lp-review-card {
    flex: 1 1 100%;
}

/* Carousel layout */
.lp-layout-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 8px;
}
.lp-layout-carousel .lp-review-card {
    flex: 0 0 300px;
}

/* Card */
.lp-review-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}
.lp-review-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

/* Header */
.lp-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Avatar */
.lp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.lp-avatar-placeholder {
    background: #4f46e5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-reviewer-info {
    display: flex;
    flex-direction: column;
}
.lp-reviewer-info strong {
    font-size: 15px;
    color: #111;
    line-height: 1.3;
}
.lp-source {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Stars */
.lp-stars { margin: 6px 0; }
.lp-star { font-size: 18px; color: #ddd; }
.lp-star.filled { color: #f5a623; }

/* Review text */
.lp-review-text {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 8px 0 10px;
}

/* Date */
.lp-review-date {
    font-size: 12px;
    color: #bbb;
}

/* Empty state */
.lp-no-reviews {
    color: #888;
    font-style: italic;
    padding: 20px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
}

/* Floating Badge */
.lp-badge {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 120px;
    cursor: default;
}
.lp-badge-bottom-right { right: 20px; }
.lp-badge-bottom-left  { left: 20px; }
.lp-badge-stars .lp-star { font-size: 14px; }
.lp-badge-text {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .lp-layout-grid .lp-review-card {
        flex: 1 1 100%;
    }
    .lp-badge {
        display: none;
    }
}
