/**
 * 用户测评页面样式
 * User Reviews Page Styles
 *
 * 包含：
 * - 用户测评列表页样式（顶部导航 + 卡片网格）
 * - 用户测评详情页样式
 * - 评分筛选功能
 * - 作者信息和验证购买标识
 * - 有用投票功能
 * - 响应式设计
 *
 * 使用 root.css 中定义的自定义属性保证项目样式统一
 */



.atf-page-heading.atf-align-left .atf-page-heading-title,
.atf-page-heading.atf-align-left .atf-post-label > span:not(:last-child)::after,
.atf-page-heading.atf-align-left .atf-post-label > span,
.atf-page-heading.atf-align-left .atf-post-label > span:last-child,
.atf-page-heading.atf-align-left .atf-post-label span a,.atf-page-heading.atf-align-left .atf-post-label > span:not(:has(a)){
    /* 评测页 banner 文案基线统一为 V2 黑字语义，避免源规则继续强制白字。 */
    color: var(--v2-text-heading);
}

/* ============================================
   用户测评列表页样式
   ============================================ */

/* 页面容器 */
.reviews-page-wrapper {
    /* 测评列表页源规则改为 V2 token，减少对末尾 override 的依赖。 */
    background: linear-gradient(to bottom, var(--v2-bg-functional) 0%, var(--v2-bg-primary) 100%);
    padding: 40px 0;
    min-height: 60vh;
}

/* ====== 顶部导航筛选栏 ====== */
.reviews-nav-filters {
    background: var(--v2-bg-primary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 搜索框容器 */
.reviews-search-wrapper {
    margin-bottom: 30px;
}

.reviews-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-search-box input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--v2-bg-content);
    color: var(--v2-text-body);
}

.reviews-search-box input:focus {
    outline: none;
    border-color: var(--v2-primary-500);
    background: var(--v2-bg-primary);
    box-shadow: 0 0 0 4px rgba(var(--v2-primary-500-rgb), 0.1);
}

.reviews-search-box input::placeholder {
    color: var(--v2-text-secondary);
}

.reviews-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--v2-primary-500);
    color: var(--v2-text-inverse);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-search-btn:hover {
    background: var(--v2-primary-600);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--v2-primary-500-rgb), 0.3);
}

.reviews-search-btn i {
    font-size: 16px;
}

/* 分类导航 */
.reviews-nav-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.reviews-nav-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--v2-bg-content);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--v2-text-body);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--thm-font, 'Poppins', sans-serif);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-nav-category i {
    color: var(--v2-primary-500);
    font-size: 16px;
}

.reviews-nav-category img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 48px;
}

.reviews-nav-category:hover {
    background: rgba(var(--v2-primary-500-rgb), 0.08);
    border-color: rgba(var(--v2-primary-500-rgb), 0.2);
    transform: translateY(-2px);
}

.reviews-nav-category:hover img {
    transform: scale(1.1);
}

.reviews-nav-category.active {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

.reviews-nav-category.active i {
    color: var(--v2-text-inverse);
}

.reviews-nav-category.active img {
    transform: scale(1.05);
}

/* 筛选和排序栏 */
.reviews-filter-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-filters-group {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.reviews-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-text-body);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-right: 12px;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

/* 类型筛选 */
.reviews-type-filter {
    display: flex;
    align-items: center;
}

.reviews-type-options {
    display: flex;
    gap: 8px;
}

.type-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--v2-bg-content);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--v2-text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.type-option i {
    font-size: 14px;
}

.type-option:hover {
    background: rgba(var(--v2-primary-500-rgb), 0.08);
    border-color: rgba(var(--v2-primary-500-rgb), 0.2);
    color: var(--v2-primary-500);
}

.type-option.active {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

/* 评分筛选 */
.reviews-rating-filter {
    display: flex;
    align-items: center;
}

.reviews-rating-options {
    display: flex;
    gap: 8px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--thm-fb, #f6f6f6);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--thm-gray, #8e8e8e);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.rating-option i {
    font-size: 14px;
    color: #ffc107;
}

.rating-option:hover {
    background: rgba(58, 151, 255, 0.08);
    border-color: rgba(58, 151, 255, 0.2);
    color: var(--thm-color, #3A97FF);
}

.rating-option.active {
    background: var(--thm-color, #3A97FF);
    border-color: var(--thm-color, #3A97FF);
    color: var(--color-white, #fff);
}

.rating-option.active i {
    color: var(--color-white, #fff);
}

/* 排序组 */
.reviews-sort-group {
    display: flex;
    align-items: center;
}

.reviews-sort-select {
    padding: 8px 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 14px;
    background: var(--thm-fb, #f6f6f6);
    color: var(--thm-p, #0b2336);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.reviews-sort-select:focus {
    outline: none;
    border-color: var(--thm-color, #3A97FF);
    background: var(--color-white, #fff);
}

/* 结果统计 */
.reviews-results-count {
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--thm-gray, #8e8e8e);
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.reviews-results-count span {
    color: var(--thm-color, #3A97FF);
    font-weight: 700;
    font-size: 18px;
}

.reviews-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--thm-gray, #8e8e8e);
    font-size: 16px;
}

.reviews-loading i {
    display: block;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--thm-color, #3A97FF);
}

/* Bootstrap 栅格间距调整 */
#reviewsGrid {
    display: flex;
    flex-wrap: wrap;
}

#reviewsGrid > div {
    margin-bottom: 24px;
    display: flex;
}

/* 空状态样式 */
.no-reviews {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--thm-fb, #f8f9fa) 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.no-reviews i {
    font-size: 64px;
    color: var(--thm-color, #3A97FF);
    margin-bottom: 24px;
    opacity: 0.6;
}

.no-reviews h3 {
    font-size: 24px;
    color: var(--thm-p, #0b2336);
    margin-bottom: 12px;
    font-weight: 600;
}

.no-reviews p {
    font-size: 16px;
    color: var(--thm-gray, #8e8e8e);
    margin-bottom: 32px;
    font-weight: 400;
}

/* ====== 测评卡片 ====== */
.review-card {
    background: var(--thm-fb, #f8f9fa);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    border-color: var(--thm-color, #3A97FF);
    background: var(--color-white, #ffffff);
}

/* 卡片图片区 */
.review-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--thm-fb, #f6f6f6) 0%, var(--thm-f3, #f3f3f3) 100%);
    flex-shrink: 0;
}

.review-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover .review-card-image img {
    transform: scale(1.08);
}

/* 类型徽章 */
.review-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(8px);
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.review-type-badge.article {
    background: rgba(58, 151, 255, 0.92);
    color: var(--color-white, #fff);
}

.review-type-badge.video {
    background: rgba(255, 59, 48, 0.92);
    color: var(--color-white, #fff);
}

/* 卡片内容区 */
.review-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

/* 卡片评分 */
.review-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.review-card-rating .stars {
    display: flex;
    gap: 2px;
}

.review-card-rating .stars i {
    font-size: 12px;
    color: #ffc107;
}

.review-card-rating .stars i.far {
    color: var(--thm-gray, #8e8e8e);
}

.review-card-rating .rating-text {
    font-size: 12px;
    color: var(--thm-gray, #8e8e8e);
    font-weight: 500;
}

/* 卡片元数据 */
.review-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.review-card-category {
    font-size: 12px;
    color: var(--thm-gray, #8e8e8e);
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.review-card-category i {
    margin-right: 5px;
    color: var(--thm-color, #3A97FF);
}

/* 卡片标题 */
.review-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.review-card:hover .review-card-title {
    color: var(--thm-color, #3A97FF);
}

/* 卡片摘要 */
.review-card-excerpt {
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

/* 卡片链接 */
.review-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.review-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.review-card-link:focus {
    outline: none;
}

.review-card-link:focus .review-card {
    box-shadow: 0 0 0 3px rgba(58, 151, 255, 0.3);
}

/* 卡片底部信息 */
.review-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
    color: var(--v2-text-body, #4b5563);
}

.review-card-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-card-footer-item i {
    color: var(--thm-color, #3A97FF);
    font-size: 14px;
}

/* ====== 分页样式 ====== */
.reviews-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 12px 20px;
    background: var(--color-white, #ffffff);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    color: var(--thm-p, #0b2336);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.pagination-btn:hover {
    background: var(--thm-color, #3A97FF);
    border-color: var(--thm-color, #3A97FF);
    color: var(--color-white, #fff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 151, 255, 0.3);
}

.pagination-btn.active {
    background: var(--thm-color, #3A97FF);
    border-color: var(--thm-color, #3A97FF);
    color: var(--color-white, #fff);
    font-weight: 600;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn:disabled:hover {
    background: var(--color-white, #ffffff);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--thm-p, #0b2336);
    transform: none;
    box-shadow: none;
}

.reviews-more-links {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.reviews-more-links[hidden] {
    display: none;
}

.reviews-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid rgba(58, 151, 255, 0.28);
    border-radius: 999px;
    background: var(--color-white, #ffffff);
    color: var(--thm-color, #3A97FF);
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.reviews-more-link:hover,
.reviews-more-link:focus-visible {
    background: var(--thm-color, #3A97FF);
    color: var(--color-white, #ffffff);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(58, 151, 255, 0.24);
}

.reviews-more-link:focus-visible {
    outline: 3px solid rgba(58, 151, 255, 0.24);
    outline-offset: 3px;
}

/* ============================================
   用户测评详情页样式
   ============================================ */

/* 侧边栏样式 */
.review-detail-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    min-height: 400px;
    display: block !important;
    visibility: visible !important;
}

.sidebar-widget {
    background: var(--thm-fb, #f8f9fa);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--thm-color, #3A97FF);
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

/* 目录导航样式 */
.review-toc {
    max-height: 400px;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-item.toc-h3 {
    padding-left: 20px;
}

.toc-link {
    display: block;
    padding: 10px 16px;
    color: var(--thm-p, #0b2336);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
    font-size: 15px;
    font-weight: 500;
}

.toc-link:hover {
    background: rgba(58, 151, 255, 0.1);
    color: var(--thm-color, #3A97FF);
    transform: translateX(4px);
}

/* 相关产品列表 */
.related-products-items,
.related-reviews-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-product-item,
.related-review-item {
    margin-bottom: 16px;
}

.related-product-item:last-child,
.related-review-item:last-child {
    margin-bottom: 0;
}

.product-link,
.review-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 8px;
    background: var(--color-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-link:hover,
.review-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--thm-color, #3A97FF);
}

.product-thumb,
.review-thumb {
    position: relative;
    width: 80px;
    height: 100%;
    min-height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--thm-f3, #f3f3f3);
    align-self: stretch;
}

.product-thumb img,
.review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info,
.review-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-name,
.review-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 6px;
    font-family: var(--thm-font, 'Poppins', sans-serif);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-model,
.review-excerpt {
    font-size: 13px;
    color: var(--thm-gray, #8e8e8e);
    margin-bottom: 8px;
    line-height: 1.4;
}

.review-date {
    font-size: 12px;
    color: var(--thm-ase, #afb2bf);
    display: flex;
    align-items: center;
    gap: 6px;
}

.products-loading,
.reviews-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--thm-gray, #8e8e8e);
}

.products-loading i,
.reviews-loading i {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--thm-color, #3A97FF);
}

.no-items {
    text-align: center;
    padding: 30px 20px;
    color: var(--thm-gray, #8e8e8e);
    font-size: 14px;
}

.error-message {
    text-align: center;
    padding: 30px 20px;
    color: #ff0000;
    font-size: 14px;
}

.review-detail-page {
    background: var(--color-white, #ffffff);
}

/* 测评元数据头部 */
.review-meta-header {
    background: linear-gradient(to bottom, var(--color-white, #fff) 0%, var(--thm-fb, #f6f6f6) 100%);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.review-meta-header .review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.review-meta-header .review-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(58, 151, 255, 0.1);
    color: var(--thm-color, #3A97FF);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.review-meta-header .review-category i {
    font-size: 16px;
}

.review-type-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.review-type-badge-inline.video {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.review-type-badge-inline.article {
    background: rgba(58, 151, 255, 0.1);
    color: var(--thm-color, #3A97FF);
}

.review-meta-header .review-read-time,
.review-meta-header .review-video-duration-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--thm-fb, #f8f9fa);
    color: var(--thm-gray, #8e8e8e);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.review-meta-header .review-excerpt {
    font-size: 16px;
    color: var(--thm-p, #0b2336);
    line-height: 1.7;
    margin: 0;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

/* 发布日期 */
.review-publish-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--thm-fb, #f8f9fa);
    color: var(--thm-gray, #8e8e8e);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.review-publish-date i {
    color: var(--thm-color, #3A97FF);
    font-size: 14px;
}

/* 测评特色图片 */
.review-featured-image {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.review-featured-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 视频播放器包装器 */
.review-video-player-wrapper {
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 视频元数据栏 */
.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.video-duration {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(58, 151, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(58, 151, 255, 0.2);
}

.video-duration i {
    color: var(--thm-color, #3A97FF);
    font-size: 16px;
}

.btn-watch-youtube {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--thm-font, 'Poppins', sans-serif);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-watch-youtube:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-watch-youtube:active {
    transform: translateY(0);
}

.btn-watch-youtube i {
    font-size: 20px;
}

/* 测评内容 */
.review-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--thm-p, #0b2336);
}

.review-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--thm-black, #000);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.review-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-black, #000);
    margin: 30px 0 15px;
}

.review-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--thm-black, #000);
    margin: 25px 0 12px;
}

.review-content p {
    margin-bottom: 15px;
}

.review-content ul,
.review-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.review-content li {
    margin-bottom: 10px;
}

.review-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* 测评标签样式 */
.review-tags {
    margin-top: 40px;
    padding: 30px;
    background: var(--thm-fb, #f6f6f6);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.review-tags h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 20px;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-list .tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-white, #fff);
    color: var(--thm-color, #3A97FF);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(58, 151, 255, 0.2);
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.tags-list .tag:hover {
    background: var(--thm-color, #3A97FF);
    color: var(--color-white, #fff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 151, 255, 0.3);
}

/* 分享按钮样式 */
.review-share {
    margin-top: 30px;
    padding: 30px;
    background: var(--thm-fb, #f6f6f6);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.review-share h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 20px;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-white, #fff);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.share-btn.share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-btn.share-facebook:hover {
    background: linear-gradient(135deg, #1a85ff 0%, #0e6ee8 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.share-btn.share-twitter {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn.share-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #4d4d4d 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.share-btn.share-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.share-btn.share-linkedin:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 119, 181, 0.4);
}

.share-btn.share-email {
    background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.share-btn.share-email:hover {
    background: linear-gradient(135deg, #f55344 0%, #d93025 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(234, 67, 53, 0.4);
}

/* 测评导航样式 */
.review-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--thm-color, #3A97FF);
    color: var(--color-white, #fff);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--thm-base, #2d76c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(58, 151, 255, 0.3);
    color: var(--color-white, #fff);
}

.nav-btn i {
    font-size: 16px;
}

/* ============================================
   测评详情页 - 作者信息
   ============================================ */

.review-author-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--color-white, #fff);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-author-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--thm-color, #3A97FF) 0%, #5ba8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 28px;
    color: var(--color-white, #fff);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin: 0;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.author-location {
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    margin: 0;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.author-location i {
    color: var(--thm-color, #3A97FF);
    margin-right: 6px;
}

.verified-purchase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

.verified-purchase-badge i {
    font-size: 14px;
}

.review-rating-stars {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.review-rating-stars .stars {
    display: flex;
    gap: 4px;
}

.review-rating-stars .stars i {
    font-size: 20px;
    color: #ffc107;
}

.review-rating-stars .stars i.far {
    color: var(--thm-gray, #8e8e8e);
}

.review-rating-stars .rating-text {
    font-size: 14px;
    color: var(--thm-gray, #8e8e8e);
    font-weight: 500;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
}

/* 有用投票 */
.review-helpful-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--thm-fb, #f6f6f6) 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.review-helpful-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-p, #0b2336);
    margin-bottom: 20px;
    font-family: var(--thm-font, 'Poppins', sans-serif);
}

.helpful-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-helpful {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--color-white, #fff);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--thm-font2, 'Roboto', sans-serif);
    color: var(--thm-p, #0b2336);
}

.btn-helpful i {
    font-size: 16px;
}

.btn-helpful-yes:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #2e7d32;
    color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-helpful-no:hover {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #c62828;
    color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 991px) {
    .reviews-nav-categories {
        justify-content: flex-start;
    }

    .reviews-filter-sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-filters-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .reviews-sort-group {
        width: 100%;
    }

    .reviews-sort-select {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .reviews-page-wrapper {
        padding: 30px 0;
    }

    .reviews-nav-filters {
        padding: 20px;
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .reviews-nav-categories {
        gap: 8px;
    }

    .reviews-nav-category {
        padding: 10px 16px;
        font-size: 13px;
    }

    .reviews-filter-label {
        font-size: 12px;
    }

    .pagination-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* 作者信息响应式 */
    .review-author-section {
        flex-direction: column;
    }

    .review-author-info {
        width: 100%;
    }

    .review-rating-stars {
        width: 100%;
        align-items: flex-start;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-avatar i {
        font-size: 24px;
    }

    .author-name {
        font-size: 16px;
    }

    .review-rating-stars .stars i {
        font-size: 18px;
    }

    .helpful-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-helpful {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   V2 Reviews Overrides
   说明：
   - 测评列表页沿用教程页同一套筛选、搜索和胶囊按钮视觉。
   ============================================================ */

.reviews-page-wrapper {
    background: linear-gradient(180deg, var(--v2-bg-functional) 0%, var(--v2-bg-primary) 100%);
}

.reviews-nav-filters {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.reviews-search-box input {
    border-color: var(--v2-bg-divider);
    background: var(--v2-bg-content);
    color: var(--v2-text-body);
}

.reviews-search-box input:focus {
    border-color: var(--v2-primary-500);
    box-shadow: 0 0 0 4px rgba(var(--v2-primary-500-rgb), 0.12);
}

.reviews-search-btn,
.reviews-nav-category.active,
.type-option.active {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
}

.reviews-nav-category:hover,
.type-option:hover {
    background: rgba(var(--v2-primary-500-rgb), 0.05);
    border-color: var(--v2-primary-500);
    color: var(--v2-primary-500);
}

/* ============================================================
   V2 Reviews Final Alignment
   说明：
   - 测评页和教程页共用一部分脚本与 UI 结构，但旧白字 banner、
     卡片底色和评分块仍有残留。
   - 这里统一测评列表和详情区域到 V2 白卡、黑字和蓝色交互语义。
   ============================================================ */

.atf-page-heading.atf-align-left .atf-page-heading-title,
.atf-page-heading.atf-align-left .atf-post-label > span,
.atf-page-heading.atf-align-left .atf-post-label > span:last-child,
.atf-page-heading.atf-align-left .atf-post-label > span a,
.atf-page-heading.atf-align-left .atf-post-label > span:not(:last-child)::after {
    color: var(--v2-text-secondary);
}

.atf-page-heading.atf-align-left .atf-page-heading-title {
    color: var(--v2-text-heading);
}

.reviews-page-wrapper {
    background: var(--v2-bg-content);
}

.reviews-nav-category,
.type-option,
.rating-option,
.reviews-sort-select,
.pagination-btn {
    border-radius: var(--v2-radius-md);
}

.reviews-nav-category,
.type-option,
.rating-option,
.reviews-sort-select {
    background: var(--v2-bg-content);
    border-color: var(--v2-bg-divider);
    color: var(--v2-text-body);
}

.reviews-nav-category i,
.reviews-filter-label,
.review-card-category i,
.review-card-footer-item i,
.review-rating-stars {
    color: var(--v2-primary-500);
}

.review-card,
.sidebar-widget,
.review-detail-content,
.review-summary-card,
.review-author-card {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.review-card-title,
.sidebar-widget-title,
.review-detail-title,
.review-summary-card h3,
.review-author-card h4 {
    color: var(--v2-text-heading);
}

.review-card-excerpt,
.review-detail-content,
.review-author-card p,
.sidebar-widget p,
.sidebar-widget li {
    color: var(--v2-text-body);
}

.review-type-badge,
.review-rating-badge,
.verified-purchase-badge {
    background: rgba(var(--v2-primary-500-rgb), 0.10);
    border: 1px solid rgba(var(--v2-primary-500-rgb), 0.16);
    border-radius: var(--v2-radius-pill);
    color: var(--v2-primary-600);
}

.pagination-btn {
    background: var(--v2-bg-primary);
    border-color: var(--v2-bg-divider);
    color: var(--v2-text-body);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

/* ============================================================
   Phase 8 Reviews List Alignment
   ============================================================ */

.atf-page-heading.atf-align-left .atf-page-heading-title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 500;
    letter-spacing: 0;
}

body.functional-banner-dark .atf-page-heading.atf-align-left .atf-page-heading-title {
    color: #fff;
}

.atf-page-heading.atf-align-left .atf-post-label,
.atf-page-heading.atf-align-left .atf-post-label > span,
.atf-page-heading.atf-align-left .atf-post-label > span a {
    font-size: 16px;
    line-height: 24px;
}

.reviews-nav-filters,
.review-card,
.no-reviews {
    border-radius: 8px;
}

.reviews-page-wrapper .review-card.wow {
    visibility: visible !important;
}

.reviews-page-wrapper .review-card-image {
    border-radius: 8px 8px 0 0;
}

.reviews-page-wrapper + .atf-Subscribe-area .atf-subscribe-panel,
.reviews-page-wrapper + .atf-Subscribe-area .atf-subscribe-input,
.reviews-page-wrapper + .atf-Subscribe-area .atf-subscribe-btn {
    border-radius: 8px;
}

.reviews-search-box input,
.reviews-search-btn,
.reviews-nav-category,
.type-option,
.rating-option,
.reviews-sort-select,
.pagination-btn,
.no-reviews .btn {
    border-radius: 8px;
}

.reviews-search-box input,
.reviews-sort-select,
.type-option,
.reviews-results-count,
.reviews-loading,
.no-reviews p,
.review-card-excerpt,
.review-card-category,
.review-card-footer {
    font-size: 16px;
    line-height: 24px;
}

.reviews-filter-label,
.review-card-footer-item,
.review-type-badge {
    font-size: 14px;
    line-height: 20px;
}

.review-card-title,
.no-reviews h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: 0;
}

.review-card-title {
    margin-bottom: 12px;
}

.review-card-excerpt {
    line-height: 24px;
}

.review-card-image {
    height: 208px;
}

.review-card-footer {
    gap: 12px;
}

.no-reviews .no-reviews-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--v2-primary-500);
    border-radius: 22px;
    background: var(--v2-primary-500);
    color: var(--v2-text-inverse);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(var(--v2-primary-500-rgb), 0.18);
}

.no-reviews .no-reviews-actions .btn:hover,
.no-reviews .no-reviews-actions .btn:focus {
    border-color: var(--v2-primary-600);
    background: var(--v2-primary-600);
    color: var(--v2-text-inverse);
}

.no-reviews .no-reviews-actions .btn i {
    margin: 0;
    color: currentColor;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
}

.review-video-player-wrapper .video-meta--single {
    justify-content: flex-end;
}

.review-video-player-wrapper .btn-watch-youtube {
    border-radius: 22px;
}

.review-detail-page .review-featured-image img {
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.review-detail-page .review-navigation .nav-btn {
    border-radius: 22px;
}

/* ============================================================
   Phase 8 Reviews Detail Alignment
   ============================================================ */

.review-meta-header .review-category,
.review-type-badge-inline,
.review-meta-header .review-read-time,
.review-meta-header .review-video-duration-inline,
.review-publish-date,
.review-featured-image img,
.review-video-player-wrapper,
.review-video-player-wrapper .video-container,
.review-video-player-wrapper .video-meta,
.video-duration,
.btn-watch-youtube,
.review-tags,
.tags-list .tag,
.review-helpful-section,
.review-share,
.review-detail-page .sidebar-widget,
.product-link,
.review-link,
.nav-btn {
    border-radius: 8px;
}

.review-meta-header .review-category,
.review-type-badge-inline,
.review-meta-header .review-read-time,
.review-meta-header .review-video-duration-inline,
.review-publish-date,
.review-meta-header .review-excerpt,
.review-content,
.review-content p,
.review-content li,
.review-date,
.review-share h4,
.review-helpful-section h4,
.btn-helpful,
.nav-btn {
    font-size: 16px;
    line-height: 24px;
}

.review-content h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 0;
}

.review-content h3,
.review-detail-page .sidebar-widget-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0;
}

.review-content h4,
.product-name,
.review-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: 0;
}

.product-model,
.review-excerpt {
    font-size: 16px;
    line-height: 24px;
}

.review-video-player-wrapper {
    box-shadow: var(--v2-shadow-card);
}

.review-detail-page + .atf-Subscribe-area .atf-subscribe-panel,
.review-detail-page + .atf-Subscribe-area .atf-subscribe-input,
.review-detail-page + .atf-Subscribe-area .atf-subscribe-btn {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .atf-page-heading.atf-align-left .atf-page-heading-title {
        color: #fff !important;
        font-size: 28px;
        line-height: 36px;
        font-weight: 500;
        text-shadow: none;
    }

    .atf-page-heading.atf-align-left .atf-post-label {
        min-height: 0;
        padding: 0;
        gap: 0 6px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: #fff;
        font-size: 16px;
        line-height: 24px;
    }

    .atf-page-heading.atf-align-left .atf-post-label > span,
    .atf-page-heading.atf-align-left .atf-post-label > span a {
        color: #fff !important;
        font-size: 16px;
        line-height: 24px;
        opacity: 1;
    }

    .atf-page-heading.atf-align-left .atf-post-label > span:last-child,
    .atf-page-heading.atf-align-left .atf-post-label > span:last-child a,
    .atf-page-heading.atf-align-left .atf-post-label > span:not(:has(a)) {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .atf-page-heading.atf-align-left .atf-post-label > span:not(:last-child)::after {
        margin-left: 6px;
        color: #fff !important;
    }

    .reviews-page-wrapper {
        padding: 28px 0;
    }

    .reviews-nav-filters {
        padding: 20px;
        margin-bottom: 28px;
    }

    .reviews-nav-categories {
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .reviews-nav-category {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        min-height: 48px;
        padding: 10px 12px;
    }

    .reviews-filter-sort-bar,
    .reviews-filters-group,
    .reviews-type-filter,
    .reviews-sort-group {
        align-items: stretch;
        width: 100%;
    }

    .reviews-type-filter,
    .reviews-sort-group {
        flex-direction: column;
        gap: 10px;
    }

    .reviews-type-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .type-option {
        justify-content: center;
        min-height: 44px;
        padding: 8px 10px;
    }

    .reviews-sort-select {
        width: 100%;
        min-height: 44px;
    }

    .review-card-image {
        height: 220px;
    }

    .review-content h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .review-content h3,
    .review-detail-page .sidebar-widget-title {
        font-size: 20px;
        line-height: 28px;
    }

    .review-content h4,
    .product-name,
    .review-title {
        font-size: 20px;
        line-height: 28px;
    }

    .review-meta-header .review-meta {
        gap: 10px;
    }

    .review-meta-header .review-category,
    .review-type-badge-inline,
    .review-meta-header .review-read-time,
    .review-meta-header .review-video-duration-inline,
    .review-publish-date {
        width: 100%;
        justify-content: flex-start;
    }

    .no-reviews .no-reviews-actions .btn {
        border-radius: 21px;
    }

    .review-video-player-wrapper .btn-watch-youtube {
        border-radius: 21px;
    }

    .review-detail-page .review-navigation .nav-btn {
        border-radius: 21px;
    }
}
@media (max-width: 767px) {
    .reviews-nav-categories {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .reviews-nav-categories::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .reviews-nav-category {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        scroll-snap-align: start;
    }
}
