.stilovero-reviews-slider-wrapper {
    position: relative;
    margin: 20px 0;
    padding: 0 40px;
}

.stilovero-reviews-slider-container {
    overflow: hidden;
    position: relative;
}

.stilovero-reviews-slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.stilovero-review-item {
    flex: 0 0 33.333%;
    box-sizing: border-box;
    transition: opacity 0.3s;
}

.stilovero-review-content {
    background: #ffffff;
    padding: 25px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stilovero-review-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stilovero-review-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.stilovero-review-user-info {
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stilovero-review-user-info > div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stilovero-review-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stilovero-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stilovero-review-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.stilovero-review-username {
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.stilovero-review-stars {
    color: #ff8707;
    font-size: 16px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.stilovero-review-product {
    text-align: center;
}

.stilovero-review-product-image {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
}

.stilovero-review-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stilovero-review-product-link {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.stilovero-review-product-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.stilovero-review-text {
    line-height: 1.6;
    color: #555;
    font-size: 18px;
    font-style: italic;
}

/* 修改导航按钮样式为翻页形式 */
.stilovero-reviews-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.stilovero-reviews-slider-btn {
    color: #BB5644;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none; /* 防止文字被选中 */
}

.stilovero-reviews-slider-btn:hover:not(.stilovero-reviews-slider-btn-disabled) {
    transform: translateY(-2px);
}

.stilovero-reviews-slider-btn-disabled {
    color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* 翻页指示器样式 */
.stilovero-reviews-slider-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    min-width: 60px;
    justify-content: center;
}

.stilovero-reviews-slider-current-page {
    color: #BB5644;
    font-weight: 600;
}

.stilovero-reviews-slider-page-separator {
    color: #7f8c8d;
}

.stilovero-reviews-slider-total-pages {
    color: #7f8c8d;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .stilovero-reviews-slider-btn {
        font-size: 16px;
    }
    
    .stilovero-reviews-slider-pagination {
        margin: 0 15px;
        font-size: 14px;
        min-width: 50px;
    }
}

/* 无障碍支持 
.stilovero-reviews-slider-btn:focus,
.stilovero-reviews-slider-dot:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}*/
/* 加载状态 */
.stilovero-reviews-slider-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.stilovero-loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: stilovero-spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* 添加 REVIEWS 标题样式 */
.stilovero-reviews-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.stilovero-reviews-title h2 {
    color: #BB5644;
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    position: relative;
    display: inline-block;
}

/* 修改评论项为可点击 */
.stilovero-review-item {
    flex: 0 0 33.333%;
    box-sizing: border-box;
    transition: opacity 0.3s;
    cursor: pointer; /* 添加手型光标 */
}

.stilovero-review-content {
    background: #ffffff;
    padding: 25px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

/* 添加点击效果 */
.stilovero-review-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 移动端标题样式 */
@media (max-width: 768px) {
    .stilovero-reviews-title h2 {
        font-size: 32px;
    }
    
    .stilovero-reviews-title {
        margin-bottom: 20px;
    }
}

@keyframes stilovero-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .stilovero-reviews-slider-wrapper {
        padding: 0 20px;
    }
    
    .stilovero-review-item {
        flex: 0 0 100%;
        padding: 10px;
    }
    
    .stilovero-review-content {
        padding: 20px;
    }
    
    .stilovero-review-header {
        margin-bottom: 15px;
    }
    
    .stilovero-review-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stilovero-review-user-info > div:first-child {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stilovero-review-avatar {
        width: 45px;
        height: 45px;
    }
    
    .stilovero-review-stars {
        align-self: flex-start;
    }
    
    .stilovero-reviews-slider-btn {
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
    
    .stilovero-reviews-slider-pagination {
        margin: 0 15px;
        font-size: 14px;
        min-width: 50px;
    }
}

/* 平板端样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .stilovero-review-item {
        flex: 0 0 50%;
    }
}

/* 无障碍支持 
.stilovero-reviews-slider-btn:focus,
.stilovero-reviews-slider-dot:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}*/