/* 
 * Best Pillow for Neck Pain - 特定样式
 * 此文件包含特定于颈部疼痛枕头页面的样式
 * 基础样式继承自main.min.css
 */

/* 统一字体与主色调 */
body, .content-text, .faq-item p, .benefit-item p, .product-info, .review-details, .spec-value, .who-its-for p {
    font-family: 'Open Sans', sans-serif;
    color: #334155;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6, .content-section h2, .content-text h3, .product-info h3, .review-title h3, .review-subtitle, .benefit-item h3, .faq-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-weight: 600;
    line-height: 1.2;
}

/* 主色调与按钮 */
.cta-button, .pillow-button.buy-button {
    background-color: #6ec1e4;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(110,193,228,0.15);
}
.cta-button:hover, .pillow-button.buy-button:hover {
    background-color: #5ba8d1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110,193,228,0.18);
}

/* 卡片与表格 */
.product-card, .benefit-item, .faq-item, .review-card, .spec-item, .category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.product-card:hover, .benefit-item:hover, .category-card:hover, .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

/* 表格样式更新 */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.comparison-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.comparison-table th:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 700;
    color: #0d6efd;
}

.comparison-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: #0d6efd;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .excellent {
    color: #198754;
    font-weight: 600;
}

.comparison-table .good {
    color: #0d6efd;
    font-weight: 600;
}

.comparison-table .fair {
    color: #6c757d;
    font-weight: 600;
}

.comparison-table .table-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
}

.comparison-table .buy-link,
.pillow-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0d6efd;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
    margin: 2px;
}

.comparison-table .buy-link:hover,
.pillow-button:hover {
    background-color: #0b5ed7;
    text-decoration: none;
}

.featured-row {
    background-color: #f8f9fa;
}

.table-hint {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

.excellent-dot,
.good-dot,
.fair-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.excellent-dot {
    background-color: #198754;
}

.good-dot {
    background-color: #0d6efd;
}

.fair-dot {
    background-color: #6c757d;
}

.price-note, .feature-note {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 3px;
}

.rating-value {
    font-size: 0.8rem;
    opacity: 0.7;
}

.pillow-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #1e40af;
    background-color: white;
    border: 1px solid #1e40af;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.pillow-button:hover {
    background-color: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pillow-button.buy-button {
    background-color: #1e40af;
    color: white;
}

.pillow-button.buy-button:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

.comparison-table img {
    max-width: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.comparison-table .buy-link {
    display: inline-block;
    background: #1e40af;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.comparison-table .buy-link:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table .badge-expert {
    background: #ef4444;
    color: #fff;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.85em;
    margin-left: 6px;
    font-weight: 600;
}

/* 产品评测与专家评价部分 */
.product-review {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 0 2rem 2rem 2rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.product-review .review-header {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #1e40af 0%, #6ec1e4 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
}
.product-review .review-rank {
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #1e40af;
    border-radius: 50%;
    margin-right: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.product-review .review-title {
    flex: 1;
}
.product-review .review-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #fff;
}
.product-review .review-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
}
.product-review .review-image {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
.product-review .review-image img {
    max-width: 220px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.product-review .specifications {
    margin-bottom: 1.5rem;
}
.product-review .specifications h4 {
    font-size: 1.1rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
}
.product-review .spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.5rem;
}
.product-review .spec-item {
    min-width: 180px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.product-review .spec-label {
    color: #64748b;
    font-weight: 600;
    margin-right: 0.5rem;
}
.product-review .spec-value {
    color: #334155;
}
@media (max-width: 768px) {
    .product-review {
        padding: 0 1rem 1.5rem 1rem;
    }
    .product-review .review-header {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1rem 1rem;
    }
    .product-review .review-image {
        margin: 1.2rem 0 1rem 0;
    }
    .product-review .spec-grid {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.product-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}

.product-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-image {
    width: 120px;
    height: auto;
    border-radius: 8px;
    margin-right: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-title-block {
    flex: 1;
}

.product-title-block h3 {
    font-size: 1.4rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.product-badge {
    display: inline-block;
    background-color: #6ec1e4;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    position: relative;
}

.product-summary {
    margin-bottom: 1.5rem;
}

.product-summary p {
    margin-bottom: 0.75rem;
}

.product-pros-cons {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.pros, .cons {
    flex: 1;
}

.pros h4, .cons h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.pros h4 {
    color: #10b981;
}

.cons h4 {
    color: #0d6efd;
}

.pros ul, .cons ul {
    padding-left: 1.5rem;
}

.pros li, .cons li {
    margin-bottom: 0.5rem;
    position: relative;
}

.pros li::before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    color: #10b981;
    font-weight: bold;
    top: 0;
}

.cons li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
}

.expert-review {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #6ec1e4;
}

.expert-review p {
    margin-bottom: 0.5rem;
}

.expert-name {
    font-style: italic;
    color: #64748b;
    text-align: right;
}

.buy-button-block {
    text-align: center;
}

.buy-button {
    display: inline-block;
    background-color: #1e40af;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30,64,175,0.15);
}

.buy-button:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,64,175,0.18);
}

/* Expert Note 与 专家头像 */
.expert-note {
    display: flex;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #6ec1e4;
}

.expert-avatar {
    margin-right: 1rem;
    flex-shrink: 0;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #6ec1e4;
}

.expert-quote {
    flex: 1;
}

.expert-quote p {
    margin-bottom: 0.5rem;
    font-style: italic;
}

.expert-name {
    color: #64748b;
    font-weight: 600;
}

/* 评分卡样式 */
.rating-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.rating-title {
    color: #1e40af;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar {
    display: flex;
    align-items: center;
}

.rating-category {
    width: 100px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.rating-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    position: absolute;
    height: 100%;
    background: #6ec1e4;
    border-radius: 4px;
}

.rating-value {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
    margin-left: 0.5rem;
}

/* FAQ 折叠区块样式增强 */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #64748b;
}

/* 条件列表与检查列表 */
.check-list {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    color: #10b981;
    font-weight: bold;
}

/* 图文组合布局 */
.image-text-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.text-content {
    flex: 3;
}

.image-content {
    flex: 2;
}

.content-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
}

/* 睡眠位置展示 */
.sleep-positions {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sleep-position {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.position-image {
    width: 100%;
    max-width: 120px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sleep-position h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

/* 选择标准网格 */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.criteria-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.criteria-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.criteria-icon img {
    width: 40px;
    height: 40px;
}

.criteria-content {
    flex: 1;
}

.criteria-content h3 {
        font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* 响应式优化加强 */
@media (max-width: 992px) {
    .faq-container, .benefits-grid, .product-cards, .comparison-table-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-pros-cons {
        flex-direction: column;
        gap: 1rem;
    }
    .image-text-container {
        flex-direction: column;
    }
    .sleep-positions {
        flex-direction: column;
    }
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table th, 
    .comparison-table td {
        padding: 10px 8px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .guide-hero {
        padding: 80px 0 50px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .product-header {
        flex-direction: column;
    }
    .product-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 1rem;
    }
    .product-title-block {
        text-align: center;
    }
    .expert-note {
        flex-direction: column;
        text-align: center;
    }
    .expert-avatar {
        margin: 0 auto 1rem;
    }
    .buy-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .faq-container, .benefits-grid, .product-cards, .comparison-table-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .content-section, .review-card, .product-card, .benefit-item, .faq-item, .product-review {
        padding: 1rem !important;
    }
    .content-section h2 {
        font-size: 1.5rem;
    }
    .criteria-item {
        flex-direction: column;
    }
    .criteria-icon {
        margin: 0 0 1rem 0;
        text-align: center;
    }
    .sleep-position {
        padding: 1rem;
    }
    .table-responsive {
        overflow-x: auto;
    }
}

/* 统一背景色 */
body, .alt-bg, .content-section.alt-bg {
    background-color: #f8fafc;
}

/* 其他细节优化 */
.section-intro, .benefit-item p, .faq-item p, .review-details p, .who-its-for p {
    color: #64748b;
} 

/* 顶部5个枕头比较表格样式 */
.top-5-comparison {
    overflow-x: auto;
    margin: 2rem 0;
}

.top-5-comparison table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

.top-5-comparison th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
        text-align: center;
    padding: 15px 10px;
    border-bottom: 2px solid #e9ecef;
}

.top-5-comparison th:first-child {
    text-align: left;
    padding-left: 20px;
}

.top-5-comparison td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.top-5-comparison td:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: #0d6efd;
}

.top-5-comparison .table-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .comparison-table .table-product-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
        font-size: 13px;
    }
    
    .comparison-table .table-product-img {
        width: 50px;
        height: 50px;
    }
    
    .pillow-button {
        padding: 6px 10px;
        font-size: 12px;
    }
} 

/* Comparison of Different Types of Neck Pillows 表格样式同步 bamboo 页面 */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif;
    font-size: 1.05rem;
    background: #fff;
    color: #1e293b;
    line-height: 1.7;
}
.comparison-table th {
    background: #e0f2fe !important;
    color: #1e40af !important;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
    font-size: 1.08rem;
}
.comparison-table th:first-child {
    background: #fff !important;
    text-align: left;
    padding-left: 20px;
    color: #1e40af !important;
    font-weight: 700;
}
.comparison-table td {
    padding: 14px 10px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.05rem;
    color: #1e293b;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #0d6efd;
    padding-left: 20px;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tr:hover td {
    background: #f1f5f9;
}
.comparison-table ul {
    margin: 0;
    padding-left: 1.2em;
    list-style: disc inside;
}
.comparison-table ul li {
    margin-bottom: 0.2em;
    text-align: left;
    color: #1e293b;
    font-size: 1.02rem;
    line-height: 1.6;
}
/* 评分色彩可选：.excellent .good .fair */
/* 已移至文件末尾统一定义 */
/* 取消表格格子的圆角，所有交叉点为直角 */
.comparison-table,
.comparison-table th,
.comparison-table td,
.product-comparison-table,
.product-comparison-table th,
.product-comparison-table td {
    border-radius: 0 !important;
} 

/* 优化Comparison of Different Types of Neck Pillows表格样式，优缺点前加✔/✘图标，Best For用badge样式 */
.comparison-table th, .comparison-table td {
    vertical-align: middle;
}
.comparison-table td:first-child {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0d6efd;
    letter-spacing: 0.5px;
}
.comparison-table ul {
    padding-left: 1.2em;
    margin: 0;
    list-style: none;
}
.comparison-table ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.3em;
}
.comparison-table ul li:before {
    content: '✔';
    color: #198754;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.comparison-table .disadvantages ul li:before {
    content: '✘';
    color: #dc3545;
}
.badge-blue {
    display: inline-block;
    background: #e0f2fe;
    color: #1e40af;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.98em;
    font-weight: 600;
    margin-top: 2px;
} 

.comparison-table .considerations ul li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    top: -1px;
} 

/* 已移至文件末尾统一定义 */

.product-comparison-table.column-layout th,
.product-comparison-table.column-layout td {
    min-width: 160px;
    max-width: 220px;
    vertical-align: middle;
    text-align: center;
}
.product-comparison-table.column-layout th:first-child,
.product-comparison-table.column-layout td:first-child {
    background: #fff !important;
    color: #1e40af !important;
    text-align: left;
    font-weight: 700;
    min-width: 120px;
    max-width: 180px;
    padding-left: 20px;
}
.product-comparison-table.column-layout .featured-row td {
    padding-top: 18px;
    padding-bottom: 18px;
}
/* 已移至文件末尾统一定义 */
@media (max-width: 1100px) {
    .product-comparison-table.column-layout th,
    .product-comparison-table.column-layout td {
        min-width: 120px;
        font-size: 0.98em;
    }
}
@media (max-width: 768px) {
    .product-comparison-table.column-layout {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .product-comparison-table.column-layout th,
    .product-comparison-table.column-layout td {
        min-width: 110px;
        font-size: 0.95em;
    }
} 

/* 已移至文件末尾统一定义 */

/* 统一表格样式与bamboo页面保持一致 */
.comparison-table, .product-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', 'Montserrat', Arial, sans-serif;
    font-size: 1.05rem;
    background: #fff;
    color: #1e293b;
    line-height: 1.7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-table th, .product-comparison-table th {
    background: #e0f2fe !important;
    color: #1e40af !important;
    font-weight: 600;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
    font-size: 1.08rem;
}

.comparison-table th:first-child, .product-comparison-table th:first-child {
    background: #fff !important;
    text-align: left;
    padding-left: 20px;
    color: #1e40af !important;
    font-weight: 700;
}

.comparison-table td, .product-comparison-table td {
    padding: 14px 10px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.05rem;
    color: #1e293b;
}

.comparison-table td:first-child, .product-comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #0d6efd;
    padding-left: 20px;
}

.comparison-table tr:last-child td, .product-comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td, .product-comparison-table tr:hover td {
    background: #f1f5f9;
}

/* 统一表格评分颜色 */
.comparison-table .excellent, .product-comparison-table .excellent {
    color: #10b981 !important;
    font-weight: 600;
}

.comparison-table .good, .product-comparison-table .good {
    color: #6EC1E4 !important;
    font-weight: 600;
}

.comparison-table .fair, .product-comparison-table .fair {
    color: #f59e0b !important;
    font-weight: 600;
}

/* 统一表格提示点样式 */
.excellent-dot, .good-dot, .fair-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.excellent-dot {
    background-color: #10b981;
}

.good-dot {
    background-color: #6EC1E4;
}

.fair-dot {
    background-color: #f59e0b;
}

/* 统一表格内按钮样式 */
.pillow-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #1e40af;
    background-color: white;
    border: 1px solid #1e40af;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.pillow-button:hover {
    background-color: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pillow-button.buy-button {
    background-color: #1e40af;
    color: white;
}

.pillow-button.buy-button:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

/* 统一表格内Check Price按钮悬停变红色效果 */
.comparison-table .cta-buttons,
.product-comparison-table .cta-buttons {
    margin: 0;
}

.comparison-table .cta-button, 
.comparison-table .pillow-button.buy-button,
.product-comparison-table .cta-button, 
.product-comparison-table .pillow-button.buy-button {
    font-size: 0.95rem;
    padding: 8px 16px;
    min-width: 90px;
    border-radius: 20px;
    animation: none;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.18);
}

.comparison-table .cta-button:hover, 
.comparison-table .pillow-button.buy-button:hover,
.product-comparison-table .cta-button:hover, 
.product-comparison-table .pillow-button.buy-button:hover {
    background-color: #dc2626;
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
    transform: translateY(-2px);
}

/* 取消表格格子的圆角，所有交叉点为直角 */
.comparison-table,
.comparison-table th,
.comparison-table td,
.product-comparison-table,
.product-comparison-table th,
.product-comparison-table td {
    border-radius: 0 !important;
} 

/* 修复Top 5 Neck Pain Pillows Comparison Table的三个问题 */

/* 1. 第一列添加颜色填充 */
.product-comparison-table.column-layout th:first-child,
.product-comparison-table.column-layout td:first-child {
    background: #f8fafc !important; /* 添加浅灰色背景，与bamboo页面保持一致 */
    color: #1e40af !important;
    text-align: left;
    font-weight: 700;
    min-width: 120px;
    max-width: 180px;
    padding-left: 20px;
}

/* 2. 修复最后一行Action的边框问题 */
/* 恢复Action行单元格之间的边框 */
.product-comparison-table tr.featured-row td {
    border-right: 1px solid #e9ecef;
}
/* 为Action行的第一个单元格左侧添加淡蓝色边框，并确保它有右边框 */
.product-comparison-table tr.featured-row td:first-child {
    border-left: 2px solid #a5c9fe !important;
    border-right: 1px solid #e9ecef;
}
/* 确保最后一个单元格没有右边框，以匹配表格的圆角 */
.product-comparison-table tr.featured-row td:last-child {
    border-right: none;
}

/* 3. 调整Beckham Hotel Collection的字体大小，防止溢出 (修正选择器) */
.product-comparison-table th:nth-child(6) {
    font-size: 0.9rem !important; /* 缩小字体 */
    padding: 15px 5px !important; /* 减少内边距 */
    line-height: 1.2;
}

/* 确保表格中的所有单元格边框一致 */
.product-comparison-table td,
.product-comparison-table th {
    border: 1px solid #e9ecef;
}

/* 确保表格圆角与bamboo页面一致 */
.product-comparison-table {
    border-radius: 12px !important;
    overflow: hidden !important;
} 

/* 详情区块顶部蓝色头部样式，完全复刻bamboo页面 */
.review-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #6ec1e4 100%);
    color: white;
}
.review-rank {
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #1e40af;
    border-radius: 50%;
    margin-right: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.review-title {
    flex: 1;
}
.review-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}
.review-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-right: 25px;
}
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1rem;
    }
    .review-rank {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    .review-title h3 {
        font-size: 1.1rem;
    }
    .review-subtitle {
        font-size: 0.95rem;
        padding-right: 0;
    }
} 

/* 商品详情区块样式 - 与bamboo页面保持一致 */
.review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 0;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #6ec1e4 100%);
    color: white;
}

.review-card .review-rank {
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #1e40af;
    border-radius: 50%;
    margin-right: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.review-card .review-title {
    flex: 1;
}

.review-card .review-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.review-card .review-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.review-card .review-rating {
    text-align: right;
    margin-left: 1rem;
}

.review-card .stars-large {
    font-size: 1.5rem;
    color: #ffc107;
    letter-spacing: -1px;
}

.review-card .rating-score {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.review-card .review-content {
    display: flex;
    padding: 2rem;
}

.review-card .review-image {
    flex: 0 0 220px;
    margin-right: 2rem;
    position: relative;
}

.review-card .enhanced-product-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.review-card .image-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background: #1e40af;
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

.review-card .review-details {
    flex: 1;
}

.review-card .specifications {
    margin-bottom: 1.5rem;
}

.review-card .spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.review-card .spec-item {
    font-size: 0.9rem;
}

.review-card .spec-label {
    font-weight: 600;
    color: #1e40af;
    margin-right: 0.5rem;
}

.review-card .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-card .pros h4, .review-card .cons h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.review-card .pros h4 {
    color: #047857;
}

.review-card .cons h4 {
    color: #0d6efd;
}

.review-card .pros ul, .review-card .cons ul {
    padding-left: 1.5rem;
}

.review-card .pros ul li, .review-card .cons ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    position: relative;
}

.review-card .pros ul li::before, .review-card .cons ul li::before {
    position: absolute;
    left: -1.5rem;
}

.review-card .pros ul li::before {
    content: "✓";
    color: #047857;
    font-weight: bold;
    top: 0;
}

.review-card .cons ul li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    top: 0.5rem;
}

.review-card .who-its-for {
    margin-bottom: 1rem;
}

.review-card .who-its-for h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.review-card .cta-buttons {
    margin-top: 1.5rem;
}

.review-card .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1e40af;
    color: white !important;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.review-card .cta-button:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .review-card .review-content {
        flex-direction: column;
    }
    
    .review-card .review-image {
        margin-right: 0;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .review-card .enhanced-product-image {
        max-width: 220px;
    }
    
    .review-card .pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-card .spec-grid {
        grid-template-columns: 1fr;
    }
} 

/* Expert Evaluation & Product Comparison 样式 */
.evaluation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.evaluation-item {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
}

.evaluation-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f2fe;
    border-radius: 50%;
    padding: 10px;
}

.evaluation-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.evaluation-content {
    flex: 1;
}

.evaluation-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1e40af;
    font-size: 1.2rem;
}

.user-feedback-section {
    margin-bottom: 2.5rem;
}

.user-feedback-section h3 {
    margin-bottom: 1rem;
    color: #1e40af;
}

.feedback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feedback-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feedback-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #1e40af;
    font-size: 1.1rem;
}

.feedback-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.summary-table-section {
    margin-top: 2.5rem;
}

.summary-table-section h3 {
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.expert-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.expert-table th {
    background-color: #1e40af;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.expert-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.expert-table tbody tr:last-child td {
    border-bottom: none;
}

.expert-table tbody tr:hover {
    background-color: #f8fafc;
}

.expert-table .excellent {
    color: #047857;
    font-weight: 600;
}

.expert-table .good {
    color: #0d6efd;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .evaluation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feedback-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .evaluation-item {
        flex-direction: column;
    }
    
    .evaluation-icon {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .feedback-cards {
        grid-template-columns: 1fr;
    }
    
    .expert-table {
        font-size: 0.9rem;
    }
    
    .expert-table th,
    .expert-table td {
        padding: 0.75rem;
    }
} 

@media (max-width: 768px) {
    /* 只让按钮自身block，不影响td结构 */
    .product-comparison-table .featured-row .pillow-button,
    .product-comparison-table .featured-row .cta-button {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 140px;
        margin: 0.2rem auto;
        font-size: 0.85rem;
        padding: 7px 0;
        box-sizing: border-box;
    }
    /* 恢复td为表格单元格，不做flex */
    .product-comparison-table .featured-row td {
        display: table-cell !important;
        padding: 8px 2px !important;
        vertical-align: middle;
    }
    /* 保持其他表格紧凑设置 */
    .product-comparison-table.column-layout th,
    .product-comparison-table.column-layout td {
        min-width: 110px;
        max-width: 150px;
        font-size: 0.92em;
        padding: 8px 4px;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .product-comparison-table.column-layout th:first-child,
    .product-comparison-table.column-layout td:first-child {
        min-width: 90px;
        max-width: 110px;
        font-size: 0.92em;
        padding-left: 8px;
    }
    .product-comparison-table th,
    .product-comparison-table td {
        font-size: 0.92em;
        padding: 8px 4px;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }
} 