/* ═══════════════════════════════════════════════════════
   ShopVote Reviews – Shared Styles
   ═══════════════════════════════════════════════════════ */

.shopvote-reviews {
    max-width: 800px;
}

.shopvote-review {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.shopvote-review:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shopvote-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.shopvote-stars {
    display: flex;
    gap: 2px;
}

.shopvote-star {
    font-size: 18px;
    line-height: 1;
}

.shopvote-star-full {
    color: #f5a623;
}

.shopvote-star-half {
    color: #f5a623;
    opacity: 0.6;
}

.shopvote-star-empty {
    color: #ccc;
}

.shopvote-date {
    font-size: 13px;
    color: #888;
}

.shopvote-verified {
    font-size: 12px;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.shopvote-review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.shopvote-review-footer {
    font-size: 13px;
    color: #999;
}

.shopvote-reviewer {
    font-style: italic;
}

.shopvote-profile-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.shopvote-profile-link a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.shopvote-profile-link a:hover {
    text-decoration: underline;
}

.shopvote-error {
    color: #c62828;
    background: #fce4ec;
    padding: 12px 16px;
    border-radius: 6px;
}

.shopvote-empty {
    color: #666;
    text-align: center;
    padding: 20px;
}

/* ═══════════════════════════════════════════════════════
   List Mode
   ═══════════════════════════════════════════════════════ */

.shopvote-mode-list .shopvote-review {
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════
   Slider Mode
   ═══════════════════════════════════════════════════════ */

.shopvote-mode-slider {
    position: relative;
}

.shopvote-slider-viewport {
    overflow: hidden;
    border-radius: 8px;
}

.shopvote-slider-track {
    position: relative;
}

/* Slides: fade transition */
.shopvote-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.shopvote-slide.shopvote-slide-active {
    display: block;
    opacity: 1;
}

/* ─── Controls ─── */

.shopvote-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.shopvote-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.shopvote-slider-btn:hover {
    background: #f5a623;
    color: #fff;
    border-color: #f5a623;
}

/* ─── Dots ─── */

.shopvote-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.shopvote-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.shopvote-slider-dot:hover {
    background: #bbb;
}

.shopvote-slider-dot.shopvote-dot-active {
    background: #f5a623;
    transform: scale(1.3);
}

/* ─── Counter ─── */

.shopvote-slider-counter {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}
