/* 
   Bamboo Memory Foam Pillow Page Styles
   These styles are specific to the bamboo memory foam pillow page
*/

/* 统一字体与主色调 */
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: #1e40af;
   color: #fff;
   border-radius: 8px;
   font-weight: 600;
   font-size: 1rem;
   border: none;
   transition: all 0.3s ease;
   box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}
.cta-button:hover, .pillow-button.buy-button:hover {
   background-color: #1e3a8a;
   color: #fff;
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(30, 64, 175, 0.18);
}

/* 次要按钮 */
.pillow-button {
   display: inline-block;
   padding: 10px 20px;
   background-color: #fff;
   color: #1e40af;
   border: 1px solid #1e40af;
   border-radius: 8px;
   font-weight: 600;
   font-size: 0.95rem;
   text-decoration: none;
   text-align: center;
   transition: all 0.3s ease;
   margin: 0.25rem;
   min-width: 120px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pillow-button:hover {
   background-color: #f8fafc;
   color: #1e3a8a;
   transform: translateY(-2px);
   box-shadow: 0 4px 15px rgba(0,0,0,0.08);
   border-color: #1e3a8a;
}

/* 卡片与表格 */
.product-card, .benefit-item, .faq-item, .review-card, .spec-item, .category-card, .comparison-table, .comparison-table th, .comparison-table td {
   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 th {
   background-color: #f8fafc;
   color: #1e40af;
   font-size: 1rem;
   font-weight: 600;
}
.comparison-table td {
   color: #334155;
   font-size: .95rem;
}
.comparison-table .excellent { color: #10b981; font-weight: 600; }
.comparison-table .good { color: #6ec1e4; font-weight: 600; }
.comparison-table .fair { color: #f59e0b; font-weight: 600; }

/* FAQ 区块 */
.faq-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   max-width: 900px;
   margin: 0 auto;
}
.faq-item {
   background: #fff;
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0,0,0,0.05);
   padding: 1.5rem;
   margin-bottom: 0;
}
.faq-item h3 {
   color: #1e40af;
   font-size: 1.2rem;
   margin-bottom: 15px;
}
.faq-item p {
   color: #64748b;
   font-size: 1rem;
   line-height: 1.7;
}

/* 评分星星与徽章 */
.star-rating, .stars, .stars-large {
   color: #fbbf24;
   font-size: 1.2rem;
}
.rating-text, .rating-score {
   color: #64748b;
   font-size: .95rem;
   font-weight: 600;
}
.product-badge, .card-badge, .image-badge {
   background-color: #ef4444;
   color: #fff;
   padding: .25rem .75rem;
   border-radius: 20px;
   font-size: .8rem;
   font-weight: 600;
   position: absolute;
   top: 1rem;
   left: 1rem;
   z-index: 2;
}
.product-badge.budget, .card-badge.budget { background-color: #3b82f6; }
.product-badge.premium, .card-badge.premium { background-color: #8b5cf6; }

/* 响应式优化 */
@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;
   }
}
@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 {
       padding: 1rem !important;
   }
   .content-section h2 {
       font-size: 1.5rem;
   }
}

/* 统一背景色 */
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;
}

/* Breadcrumb navigation */
.breadcrumb-container {
   background-color: #f8fafc;
   padding: 1rem 0;
   border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
   display: flex;
   list-style: none;
   margin: 0;
   padding: 0;
   flex-wrap: wrap;
}

.breadcrumb li {
   margin-right: 0.5rem;
   font-size: 0.9rem;
   color: #64748b;
}

.breadcrumb li:not(:last-child):after {
   content: "/";
   margin-left: 0.5rem;
   color: #cbd5e1;
}

.breadcrumb a {
   color: #6ec1e4;
   text-decoration: none;
   transition: color 0.3s;
}

.breadcrumb a:hover {
   color: #1e40af;
   text-decoration: underline;
}

.breadcrumb .active {
   color: #334155;
   font-weight: 500;
}

/* Hero section styling */
.guide-hero {
   background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
   padding: 120px 0 80px;
   color: #1e40af;
   text-align: center;
   margin-top: 70px;
   margin-bottom: 0;
   position: relative;
   overflow: hidden;
}

.guide-hero::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(244, 250, 252, 0.05) 100%);
   pointer-events: none;
}

.guide-hero::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.4), transparent 70%);
   pointer-events: none;
}

.hero-content {
   max-width: 800px;
   margin: 0 auto;
   position: relative;
   z-index: 2;
}

.hero-content h1 {
   font-size: 2.8rem;
   color: #1e40af;
   margin-bottom: 15px;
   line-height: 1.2;
   font-family: 'Montserrat', sans-serif;
   font-weight: 700;
   text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-subtitle {
   font-size: 1.2rem;
   max-width: 800px;
   margin: 0 auto;
   line-height: 1.6;
}

/* Content sections */
.content-section {
   padding: 80px 0;
   margin-bottom: 0;
}

.content-section h2 {
   margin-bottom: 2rem;
   color: #1e40af;
   position: relative;
   padding-bottom: 0.8rem;
   text-align: center;
   font-family: 'Montserrat', sans-serif;
   font-size: 2.2rem;
}

.content-section h2:after {
   content: "";
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: 0;
   width: 80px;
   height: 3px;
   background-color: #6ec1e4;
}

.section-intro {
   text-align: center;
   color: #64748b;
   font-size: 1.1rem;
   margin-bottom: 3rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.alt-bg {
   background-color: #f8fafc;
}

/* Content grid */
.content-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
   align-items: center;
}

.content-text {
   line-height: 1.8;
   color: #334155;
   font-family: 'Open Sans', sans-serif;
}

.content-text h3 {
   color: #1e40af;
   margin-bottom: 1.5rem;
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
}

.content-text p {
   margin-bottom: 1rem;
   font-size: 1rem;
}

.content-text ul {
   margin-left: 1.5rem;
   margin-bottom: 1.5rem;
}

.content-text li {
   margin-bottom: 0.5rem;
}

.content-image img {
   max-width: 100%;
   height: auto;
   border-radius: 12px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits section */
.benefits-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2rem;
   margin-top: 3rem;
}

.benefit-item {
   padding: 2rem;
   background: white;
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
   transition: transform 0.3s ease;
   text-align: center;
   display: flex;
   flex-direction: column;
   height: 100%;
}

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

.benefit-icon {
   font-size: 2.5rem;
   margin-bottom: 1.5rem;
   color: #6ec1e4;
}

.benefit-item h3 {
   color: #1e40af;
   margin-bottom: 1rem;
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
   font-size: 1.4rem;
}

.benefit-item p {
   color: #64748b;
   font-size: 0.95rem;
   line-height: 1.6;
   flex-grow: 1;
}

/* Product cards */
.product-cards {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   margin-top: 3rem;
}

.product-card {
   position: relative;
   padding: 0;
   background: white;
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   overflow: hidden;
   display: flex;
   flex-direction: column;
}

.product-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
   position: absolute;
   top: 1rem;
   left: 1rem;
   background: #ef4444;
   color: white;
   padding: 0.25rem 0.75rem;
   border-radius: 20px;
   font-size: 0.8rem;
   font-weight: 600;
   z-index: 10;
}

.product-badge.budget {
   background-color: #3b82f6;
}

.product-badge.premium {
   background-color: #8b5cf6;
}

.product-image {
   width: 220px;
   height: auto;
   display: block;
   margin: 28px auto 16px auto;
   border-radius: 12px;
   box-shadow: 0 2px 12px rgba(0,0,0,0.08);
   object-fit: contain;
   background: #fff;
}

.product-card:hover .product-image {
   transform: scale(1.02);
}

.product-info {
   padding: 1.5rem;
   flex-grow: 1;
   display: flex;
   flex-direction: column;
}

.product-info h3 {
   font-size: 1.2rem;
   margin-bottom: 0.75rem;
   color: #1e40af;
   font-family: 'Montserrat', sans-serif;
}

.product-rating {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   margin-bottom: 0.75rem;
   color: #f59e0b;
}

.star-rating {
   color: #f59e0b;
   font-size: 1.1rem;
}

.rating-text {
   font-size: 0.9rem;
   color: #64748b;
   font-weight: 600;
}

.product-card p {
   font-size: 0.95rem;
   color: #64748b;
   margin-bottom: 1.5rem;
   flex-grow: 1;
}

.cta-buttons {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-top: 18px;
   margin-bottom: 8px;
   position: relative;
}

.cta-buttons::before {
   content: "";
   display: none;
}

@keyframes bounce {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(-8px); }
}

.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;
}

/* Updated Comparison Table Styles */
.comparison-table-wrapper {
   overflow-x: auto;
   -webkit-overflow-scrolling: touch;
   width: 100%;
   max-width: 100vw;
   background: #fff;
   margin: 2rem 0;
   position: relative;
   padding-bottom: 10px;
   border-radius: 0;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Table base styles */
.comparison-table {
   width: 100%;
   min-width: 950px;
   border-collapse: separate;
   border-spacing: 0;
   overflow: visible;
   background: #fff;
   font-family: 'Open Sans', sans-serif;
   border-radius: 0;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
   margin: 0;
   table-layout: auto;
}

/* Table cell styles */
.comparison-table th,
.comparison-table td {
   overflow: visible;
   padding: 1.25rem;
   text-align: center;
   border: 1px solid #e2e8f0;
   vertical-align: middle;
   font-size: 0.95rem;
   word-wrap: break-word;
   white-space: normal;
   border-radius: 0;
   background: #fff;
}

/* First column fixed styles */
.comparison-table th:first-child,
.comparison-table td:first-child {
   min-width: 140px;
   text-align: left;
   font-weight: 600;
   color: #1e40af;
   background: #f8fafc;
   white-space: normal;
   word-break: break-word;
   font-size: 1rem;
}
@media (max-width: 768px) {
   .comparison-table th:first-child,
   .comparison-table td:first-child {
       min-width: 90px;
       font-size: 0.85rem;
       padding-left: 0.5rem;
       padding-right: 0.5rem;
       word-break: break-word;
       white-space: normal;
   }
}
@media (max-width: 480px) {
   .comparison-table th:first-child,
   .comparison-table td:first-child {
       min-width: 70px;
       font-size: 0.78rem;
       padding-left: 0.3rem;
       padding-right: 0.3rem;
   }
}

/* Header styles */
.comparison-table thead th {
   background-color: #f8fafc;
   position: relative;
   z-index: 1;
   border-radius: 0;
}

/* Header first cell styles */
.comparison-table thead th:first-child {
   z-index: 3;
   border-radius: 0;
}

/* Last column styles */
.comparison-table th:last-child,
.comparison-table td:last-child {
   min-width: 160px;
   padding-right: 2rem;
   background: #f8fafc;
}

/* Add scroll hint - English version */
.comparison-table-wrapper::after {
   content: "← Swipe to see more →";
   display: block;
   text-align: center;
   padding: 0.5rem;
   font-size: 0.8rem;
   color: #64748b;
   background-color: #f8fafc;
   border-top: 1px solid #e2e8f0;
   position: sticky;
   left: 0;
   right: 0;
}

/* Mobile optimization */
@media (max-width: 768px) {
   .comparison-table {
       min-width: 800px;
       font-size: 0.9rem;
   }
   .comparison-table th,
   .comparison-table td {
       font-size: 0.9rem;
       padding: 0.75rem 0.5rem;
   }
   .comparison-table th:last-child,
   .comparison-table td:last-child {
       min-width: 140px;
       padding-right: 1.5rem;
   }
}

@media (max-width: 480px) {
   .comparison-table {
       min-width: 650px;
   }
   .comparison-table th,
   .comparison-table td {
       font-size: 0.8rem;
       padding: 0.5rem 0.3rem;
   }
   .comparison-table th:last-child,
   .comparison-table td:last-child {
       min-width: 120px;
       padding-right: 1rem;
   }
}

/* Small screen further optimization */
@media (max-width: 480px) {
   .comparison-table {
       min-width: 800px; /* 进一步增加小屏幕下表格的最小宽度 */
       border-radius: 0;
   }
   
   .comparison-table th,
   .comparison-table td {
       padding: 0.5rem 0.3rem;
       font-size: 0.8rem;
       border-radius: 0;
   }
   
   .comparison-table th:first-child,
   .comparison-table td:first-child {
       min-width: 120px;
       border-radius: 0;
   }
   
   /* Adjust button size for small screens */
   .pillow-button {
       padding: 0.35rem 0.7rem;
       font-size: 0.75rem;
       margin: 0.15rem;
   }
   
   /* Ensure action buttons don't crowd together */
   .featured-row td {
       padding-top: 0.8rem;
       padding-bottom: 0.8rem;
   }

   .comparison-table th:last-child,
   .comparison-table td:last-child {
       min-width: 170px; /* 确保最后一列在小屏幕上也有足够宽度 */
       padding-right: 2rem;
       background-color: #f8fafc; /* 轻微背景色以突出最后一列 */
   }
   
   /* 确保表格内的按钮在小屏幕上正确显示 */
   .comparison-table .pillow-button {
       padding: 0.3rem 0.6rem;
       font-size: 0.7rem;
       white-space: nowrap;
       margin: 0.1rem;
   }
}

/* Ensure all table elements have no border radius */
.comparison-table,
.comparison-table th,
.comparison-table td,
.comparison-table tr,
.comparison-table tbody,
.comparison-table thead,
.comparison-table tfoot {
   border-radius: 0 !important;
}

/* Selection factors */
.selection-factors {
   display: grid;
   gap: 2rem;
}

.factor {
   background: white;
   padding: 2rem;
   border-radius: 12px;
   box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
   border-left: 4px solid #6ec1e4;
   margin-bottom: 2rem;
}

.factor h3 {
   margin-bottom: 1rem;
   color: #1e40af;
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
   font-size: 1.4rem;
}

.factor ul {
   margin-left: 1.5rem;
}

.factor li {
   margin-bottom: 0.75rem;
   color: #334155;
}

/* FAQ section */
.faq-container {
   max-width: 800px;
   margin: 2rem auto 0;
}

.faq-item {
   background: white;
   border-radius: 8px;
   margin-bottom: 1.5rem;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   overflow: hidden;
}

.faq-item:last-child {
   border-bottom: none;
}

.faq-item h3 {
   background: #f8fafc;
   color: #1e40af;
   padding: 1.5rem;
   margin: 0;
   font-size: 1.1rem;
   font-weight: 600;
   cursor: pointer;
   transition: background-color 0.3s ease;
   font-family: 'Montserrat', sans-serif;
   border-left: 4px solid #6ec1e4;
}

.faq-item h3:hover {
   background: #e9ecef;
}

.faq-item p {
   padding: 0 1.5rem 1.5rem;
   margin: 0;
   line-height: 1.6;
   color: #334155;
}

/* Expert profiles */
.expert-profile {
   display: grid;
   grid-template-columns: auto 1fr;
   gap: 1.5rem;
   align-items: center;
   background: white;
   padding: 1.5rem;
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
   margin-bottom: 2rem;
}

.expert-photo {
   width: 120px;
   height: 120px;
   border-radius: 50%;
   object-fit: cover;
   border: 3px solid #6ec1e4;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expert-profile h3 {
   color: #1e40af;
   margin-bottom: 0.5rem;
   font-family: 'Montserrat', sans-serif;
   font-size: 1.4rem;
}

.expert-profile p {
   color: #64748b;
   font-size: 0.95rem;
   line-height: 1.6;
}

/* Infographic container */
.infographic-container {
   max-width: 800px;
   margin: 0 auto;
   text-align: center;
   background-color: #f8fafc;
   border-radius: 12px;
   padding: 2rem;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.infographic-title {
   margin-bottom: 1rem;
   font-size: 1.8rem;
}

.infographic-container .section-intro {
   margin-bottom: 1.5rem;
   font-size: 1rem;
}

.responsive-image-container {
   max-width: 60%;
   text-align: center;
   margin: 0 auto;
   position: relative;
   overflow: hidden;
   border-radius: 8px;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.infographic-image {
   max-width: 100%;
   height: auto;
   display: block;
   transition: transform 0.3s ease;
}

.infographic-image:hover {
   transform: scale(1.02);
}

.infographic-summary {
   background: #f8fafc;
   border-radius: 14px;
   padding: 28px 32px 20px 32px;
   margin: 24px auto 0 auto;
   max-width: 600px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.infographic-summary ul {
   margin: 0;
   padding-left: 1.2em;
}

.infographic-summary li {
   font-size: 1.08rem;
   line-height: 1.7;
   margin-bottom: 10px;
}

.image-badge {
   position: absolute;
   top: 10px;
   right: 10px;
   background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
   color: white;
   padding: 5px 10px;
   font-size: 0.85rem;
   font-weight: 600;
   border-radius: 4px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Verdict content */
.verdict-content {
   text-align: center;
   background: white;
   padding: 3rem;
   border-radius: 12px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
   margin: 2rem auto;
   max-width: 800px;
}

.verdict-content p {
   font-size: 1.1rem;
   line-height: 1.6;
   margin-bottom: 2rem;
   color: #334155;
}

/* User scenarios section */
.user-scenarios {
   margin-top: 4rem;
}

.scenario-group {
   margin-bottom: 3rem;
   background: white;
   padding: 2rem;
   border-radius: 12px;
   box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.scenario-group h3 {
   color: #1e40af;
   margin-bottom: 1.5rem;
   font-family: 'Montserrat', sans-serif;
   font-size: 1.6rem;
   text-align: center;
}

.scenario-group ul {
   margin-left: 1.5rem;
}

.scenario-group li {
   margin-bottom: 1rem;
   color: #334155;
   line-height: 1.6;
}

.scenario-group strong {
   color: #1e40af;
   font-weight: 600;
}

/* Detailed Product Specifications & Recommendations Styles */
.detailed-reviews {
   padding: 80px 0;
   background-color: #f8fafc;
}

.detailed-reviews h2 {
   margin-bottom: 3rem;
   color: #1e40af;
   position: relative;
   padding-bottom: 0.8rem;
   text-align: center;
   font-family: 'Montserrat', sans-serif;
   font-size: 2.2rem;
}

.detailed-reviews h2:after {
   content: "";
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: 0;
   width: 80px;
   height: 3px;
   background-color: #6ec1e4;
}

.review-card {
   background-color: white;
   border-radius: 12px;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
   overflow: hidden;
   margin-bottom: 2.5rem;
   border: 1px solid #e2e8f0;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.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;
}

.review-rating {
   text-align: center;
   margin-left: 1.5rem;
}

.stars-large {
   color: #fbbf24;
   font-size: 1.5rem;
   margin-bottom: 0.25rem;
}

.rating-score {
   font-size: 1rem;
   font-weight: 600;
   color: white;
}

.review-content {
   display: grid;
   grid-template-columns: 300px 1fr;
   gap: 2rem;
   padding: 2rem;
}

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

.specifications {
   margin-bottom: 2rem;
}

.specifications h4 {
   color: #1e40af;
   margin-bottom: 1rem;
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
}

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

.spec-item {
   display: flex;
   flex-direction: column;
   margin-bottom: 0.5rem;
}

.spec-label {
   font-weight: 600;
   color: #64748b;
   font-size: 0.9rem;
   margin-bottom: 0.25rem;
}

.spec-value {
   color: #334155;
   font-size: 0.95rem;
}

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

.pros h4 {
   color: #10b981;
   margin-bottom: 1rem;
}

.cons h4 {
   color: #ef4444;
   margin-bottom: 1rem;
}

.pros ul,
.cons ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.pros li {
   margin-bottom: 0.5rem;
   padding-left: 1.5rem;
   position: relative;
}

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

.cons li {
   margin-bottom: 0.5rem;
   padding-left: 1.5rem;
   position: relative;
}

.cons li::before {
   content: "✗";
   position: absolute;
   left: 0;
   color: #ef4444;
   font-weight: bold;
}

.who-its-for {
   margin-bottom: 1.5rem;
}

.who-its-for h4 {
   color: #1e40af;
   margin-bottom: 0.5rem;
}

.who-its-for p {
   color: #334155;
   font-size: 0.95rem;
}

.cta-buttons {
   display: flex;
   gap: 1rem;
   margin-top: 1.5rem;
}

.review-details .cta-button {
   display: inline-block;
   padding: 14px 32px;
   background-color: #1e40af;
   color: white;
   font-weight: 700;
   font-size: 1.1rem;
   text-decoration: none;
   border-radius: 30px;
   transition: all 0.3s ease;
   box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
   border: none;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   animation: pulse 2s infinite;
}
.review-details .cta-button:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 15px rgba(30, 64, 175, 0.4);
}
@keyframes pulse {
   0% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
   70% { box-shadow: 0 0 0 10px rgba(30, 64, 175, 0); }
   100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}
.review-details .cta-button.highlight {
   transform: scale(1.05);
   box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
   transition: all 0.3s ease;
}
.cta-buttons {
   position: relative;
   text-align: center;
   padding: 15px 0;
}
.cta-buttons::before {
   content: "";
   display: none;
}
@keyframes bounce {
   from { transform: translateY(0); }
   to { transform: translateY(-10px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
   .product-cards {
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   }
   
   .expert-profile {
       grid-template-columns: 1fr;
       text-align: center;
   }
   
   .expert-photo {
       margin: 0 auto 1rem;
   }
   
   .review-content {
       grid-template-columns: 1fr;
   }
   
   .review-image {
       text-align: center;
       margin-bottom: 1.5rem;
   }
   
   .review-image img {
       max-width: 300px;
   }
}

@media (max-width: 991px) {
   .benefits-grid {
       grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 768px) {
   .guide-hero {
       padding: 100px 0 60px;
   }
   
   .hero-content h1 {
       font-size: 2.2rem;
   }
   
   .content-section {
       padding: 60px 0;
   }
   
   .content-section h2 {
       font-size: 1.8rem;
   }
   
   .content-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
   }
   
   .product-cards {
       grid-template-columns: 1fr;
   }
   
   .benefits-grid {
       grid-template-columns: 1fr;
   }
   
   .scenario-group {
       padding: 1.5rem;
   }
   
   .verdict-content {
       padding: 2rem 1.5rem;
   }
   
   .review-header {
       flex-direction: column;
       text-align: center;
       padding: 1.5rem 1rem;
   }
   
   .review-rank {
       margin-right: 0;
       margin-bottom: 1rem;
   }
   
   .review-title {
       margin-bottom: 1rem;
   }
   
   .review-rating {
       margin-left: 0;
   }
   
   .pros-cons {
       grid-template-columns: 1fr;
       gap: 1.5rem;
   }
   
   .spec-grid {
       grid-template-columns: 1fr;
   }
   
   .cta-buttons {
       flex-direction: column;
   }
}

@media (max-width: 992px) {
   .comparison-table th,
   .comparison-table td {
       padding: 1rem 0.75rem;
       font-size: 0.9rem;
   }
   
   .pillow-button {
       padding: 0.4rem 0.8rem;
       font-size: 0.8rem;
       margin: 0.1rem;
   }
}

@media (max-width: 768px) {
   .comparison-table-wrapper {
       margin: 1rem 0;
   }
   
   .comparison-table {
       min-width: 650px;
       border-radius: 0;
   }
   
   .comparison-table th,
   .comparison-table td {
       padding: 0.75rem 0.5rem;
       font-size: 0.85rem;
       border-radius: 0;
   }
   
   .pillow-button {
       display: block;
       margin: 0.25rem auto;
       width: 90%;
       text-align: center;
   }
   
   .price-note, .feature-note, .rating-value {
       display: block;
       font-size: 0.75rem;
   }
   
   .table-hint {
       text-align: center;
   }
}

/* Myths and Truths section styling */
.myths-truths {
   margin-top: 25px;
   display: grid;
   gap: 20px;
}

@media (min-width: 768px) {
   .myths-truths {
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   }
}

.myth-truth-item {
   display: flex;
   flex-direction: column;
   margin-bottom: 20px;
   padding: 15px;
   border-radius: 10px;
   background-color: #f8f9fa;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.myth-truth-item:hover {
   transform: translateY(-3px);
   box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.myth {
   padding: 10px 15px;
   background-color: #ffecb3;
   border-radius: 6px 6px 0 0;
   font-weight: 500;
}

.truth {
   padding: 15px;
   background-color: #e3f2fd;
   border-radius: 0 0 6px 6px;
}

@media (max-width: 768px) {
   .myths-truths {
       margin-top: 15px;
   }
   
   .myth-truth-item {
       padding: 10px;
       margin-bottom: 15px;
   }
   
   .myth, .truth {
       padding: 8px 12px;
   }
}

/* Improve hero image appearance */
.hero-content {
   position: relative;
   z-index: 2;
}

.hero-content h1 {
   font-size: 2.8rem;
   margin-bottom: 15px;
   font-weight: 700;
   text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-subtitle {
   font-size: 1.2rem;
   max-width: 800px;
   margin: 0 auto;
   line-height: 1.6;
}

/* Enhance product images */
.product-image {
   transition: transform 0.3s ease;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card:hover .product-image {
   transform: scale(1.02);
}

/* Improve comparison table appearance */
.comparison-table th {
   background-color: #e3f2fd;
   color: #1e40af;
}

.comparison-table tr:hover {
   background-color: #f8f9fa;
}

/* Enhanced image styling */
.featured-image {
   border-radius: 12px;
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
   transition: transform 0.3s ease;
   max-width: 100%;
   height: auto;
}

.featured-image:hover {
   transform: scale(1.02);
}

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

.responsive-image-container {
   max-width: 80%;
   text-align: center;
   margin: 0 auto;
}

.infographic-image {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease;
}

.infographic-image:hover {
   transform: scale(1.02);
}

.image-badge {
   position: absolute;
   top: 10px;
   right: 10px;
   background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
   color: white;
   padding: 5px 10px;
   font-size: 0.85rem;
   font-weight: 600;
   border-radius: 4px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.enhanced-product-image {
   border-radius: 12px;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
   transition: all 0.3s ease;
}

.review-image {
   position: relative;
   overflow: hidden;
}

/* Improve table appearance */
.comparison-table {
   overflow: hidden;
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Enhance myth-truth styling */
.myths-truths {
   display: grid;
   gap: 20px;
}

@media (min-width: 768px) {
   .myths-truths {
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   }
}

/* Material Explanation Section Styling */
.material-intro {
   text-align: center;
   margin-bottom: 40px;
}

.material-intro .section-intro {
   font-size: 1.2rem;
   max-width: 800px;
   margin: 0 auto;
   line-height: 1.6;
   color: #334155;
}

.dual-material-showcase {
   display: flex;
   gap: 30px;
   margin-bottom: 50px;
}

.material-component {
   flex: 1;
   padding: 25px;
   border-radius: 12px;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-component:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.material-component.bamboo {
   background: linear-gradient(135deg, #e0f2fd 0%, #bbdefb 100%);
}

.material-component.memory-foam {
   background: linear-gradient(135deg, #f5f3ff 0%, #e9d5ff 100%);
}

.material-icon {
   margin-bottom: 15px;
   text-align: center;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 80px;
   position: relative;
}

.material-icon::before {
   content: '';
   position: absolute;
   width: 70px;
   height: 70px;
   border-radius: 50%;
   z-index: 0;
   opacity: 0.2;
   transition: all 0.4s ease;
}

.material-component.bamboo .material-icon::before {
   background: radial-gradient(circle at center, #0d6c5f 0%, transparent 70%);
}

.material-component.memory-foam .material-icon::before {
   background: radial-gradient(circle at center, #6649cc 0%, transparent 70%);
}

.material-component:hover .material-icon::before {
   transform: scale(1.2);
   opacity: 0.3;
}

.material-icon svg {
   filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.12));
   transition: all 0.4s ease;
   position: relative;
   z-index: 1;
}

.material-component:hover .material-icon svg {
   transform: scale(1.1) translateY(-5px);
   filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.material-component h3 {
   text-align: center;
   margin-top: 0;
   margin-bottom: 20px;
   color: #1e40af;
   font-size: 1.5rem;
}

.material-properties {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 20px;
   justify-content: center;
}

.property {
   background-color: rgba(255, 255, 255, 0.5);
   padding: 5px 12px;
   border-radius: 20px;
   font-size: 0.9rem;
   font-weight: 500;
}

/* Foam Type Comparison Styling */
.foam-type-comparison {
   margin: 50px 0;
}

.foam-type-comparison h3 {
   text-align: center;
   margin-bottom: 30px;
   color: #1e40af;
   font-size: 1.8rem;
}

.comparison-wrapper {
   display: flex;
   gap: 30px;
}

.foam-type {
   flex: 1;
   display: flex;
   flex-direction: column;
   border-radius: 12px;
   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
   overflow: hidden;
   background-color: white;
}

.foam-image-container {
   position: relative;
   height: 250px;
   overflow: hidden;
   background-color: #f8f9fa;
}

.foam-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.foam-type:hover .foam-image {
   transform: scale(1.05);
}

.foam-label {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
   color: white;
   padding: 15px;
   font-weight: 600;
   text-align: center;
}

.foam-benefits {
   padding: 20px;
   margin: 0;
   list-style-type: none;
}

.foam-benefits li {
   position: relative;
   padding-left: 25px;
   margin-bottom: 10px;
   line-height: 1.5;
}

.foam-benefits li::before {
   content: "✓";
   position: absolute;
   left: 0;
   color: #4f46e5;
   font-weight: bold;
}

/* Sustainability Note Styling */
.sustainability-note {
   display: flex;
   align-items: center;
   gap: 20px;
   padding: 25px;
   border-radius: 12px;
   background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.eco-icon {
   font-size: 2.5rem;
}

.eco-content h4 {
   margin-top: 0;
   margin-bottom: 10px;
   color: #065f46;
}

.eco-content p {
   margin: 0;
   color: #047857;
   line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   .dual-material-showcase {
       flex-direction: column;
       gap: 20px;
   }

   .comparison-wrapper {
       flex-direction: column;
       gap: 20px;
   }

   .sustainability-note {
       flex-direction: column;
       text-align: center;
   }
   
   .foam-image-container {
       height: 200px;
   }
   
   .material-properties {
       justify-content: center;
   }
}

/* --- How We Test Section --- */
.test-process-container {
   max-width: 1200px;
   margin: 0 auto;
   text-align: center;
}

.testing-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   margin-top: 2rem;
   text-align: left;
}

.test-step {
   background-color: #ffffff;
   padding: 2rem;
   border-radius: 8px;
   box-shadow: 0 4px 15px rgba(0,0,0,0.05);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border-top: 4px solid #6ec1e4;
}

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

.test-icon {
   margin-bottom: 1rem;
}

.test-icon svg {
   width: 48px;
   height: 48px;
   stroke-width: 1.5;
   color: #1e40af;
}

.test-step h4 {
   margin-top: 0;
   margin-bottom: 0.5rem;
   color: #333;
   font-size: 1.1rem;
}

.test-step p {
   font-size: 0.95rem;
   line-height: 1.6;
   color: #555;
   margin-bottom: 0;
}

.testing-summary {
   margin-top: 3rem;
   padding: 1.5rem;
   background-color: #e9f5ff;
   border-radius: 8px;
   border-left: 5px solid #1e40af;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
   text-align: center;
}

.testing-summary p {
   margin: 0;
   font-weight: 500;
   color: #333;
}

.image-badge {
   position: absolute;
   top: 10px;
   right: 10px;
   background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
   color: white;
   padding: 5px 10px;
   font-size: 0.85rem;
   font-weight: 600;
   border-radius: 4px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- Expert Background Section --- */
#expert-background .section-intro {
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 2rem;
   text-align: center;
}

.expert-profiles-container {
   display: flex;
   flex-wrap: wrap;
   gap: 2rem;
   justify-content: center;
   align-items: stretch;
}

.expert-profile-card {
   background-color: #ffffff;
   border-radius: 12px;
   box-shadow: 0 6px 20px rgba(0,0,0,0.07);
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 2.5rem 2rem;
   width: 100%;
   max-width: 420px;
   border: 1px solid #e9ecef;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-profile-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.expert-photo-container {
   width: 130px;
   height: 130px;
   border-radius: 50%;
   overflow: hidden;
   margin-bottom: 1.5rem;
   box-shadow: 0 5px 15px rgba(0,0,0,0.1);
   border: 5px solid #6ec1e4;
   flex-shrink: 0;
}

.expert-photo {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.expert-info {
   display: flex;
   flex-direction: column;
   flex-grow: 1;
   width: 100%;
   align-items: center;
}

.expert-info h3 {
   margin: 0;
   font-size: 1.6rem;
   color: #1e40af;
   text-align: center;
   width: 100%;
}

.expert-title {
   font-size: 1rem;
   font-weight: 500;
   color: #6c757d;
   margin-top: 0.25rem;
   margin-bottom: 1rem;
   text-align: center;
   width: 100%;
}

.expert-credential {
   display: inline-block;
   background-color: #e0e7ff;
   color: #3730a3;
   padding: 0.3rem 0.8rem;
   border-radius: 9999px;
   font-size: 0.85rem;
   font-weight: 600;
   margin: 0 auto 1rem;
   text-align: center;
}

.expert-bio {
   font-size: 0.95rem;
   line-height: 1.6;
   color: #555;
   margin-bottom: 1.5rem;
   flex-grow: 1;
   text-align: center;
   width: 100%;
}

.expert-social {
   display: flex;
   gap: 1.25rem;
   justify-content: center;
   margin-top: auto;
   width: 100%;
}

.expert-social a {
   color: #9ca3af;
   transition: color 0.3s ease, transform 0.3s ease;
}

.expert-social a:hover {
   color: #1e40af;
   transform: scale(1.1);
}

.expert-social svg {
   width: 28px;
   height: 28px;
}

/* =============================================
  ACCORDION STYLES FOR DECISION GUIDE
  ============================================= */

.decision-guide-container {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.accordion {
   text-align: left;
   margin-top: 2.5rem;
   border: none;
   border-radius: 8px;
   overflow: hidden;
}

.accordion-item {
   background-color: #f7f8fa;
   margin-bottom: 8px;
   border-radius: 8px;
}

.accordion-item + .accordion-item {
   border-top: none;
}

.accordion-header {
   display: flex;
   align-items: center;
   width: 100%;
   padding: 1.5rem 1rem;
   cursor: pointer;
   background-color: transparent;
   transition: background-color 0.3s ease;
   list-style: none;
}

.accordion-header::-webkit-details-marker {
   display: none;
}

.accordion-header:hover {
   background-color: #f0f2f5;
}

.accordion-icon {
   width: 24px;
   height: 24px;
   margin-right: 1rem;
   color: #007bff;
   flex-shrink: 0;
}

.accordion-header span {
   font-size: 1.1rem;
   font-weight: 600;
   color: #333;
   flex-grow: 1;
}

.accordion-arrow {
   width: 14px;
   height: 14px;
   border-right: 2px solid #555;
   border-bottom: 2px solid #555;
   transform: rotate(45deg);
   transition: transform 0.3s ease-in-out;
   margin-left: 1rem;
}

.accordion-item[open] > .accordion-header .accordion-arrow {
   transform: rotate(225deg);
}

.accordion-content {
   padding: 0 1rem 1.5rem 3.5rem;
   background-color: transparent;
   color: #555;
   line-height: 1.7;
}

.accordion-content p {
   margin-top: 0;
   margin-bottom: 1rem;
}

.accordion-content ul {
   margin: 0;
   padding-left: 20px;
}

.accordion-content ul li {
   margin-bottom: 0.5rem;
}

/* =============================================
  TABS STYLES FOR ADVANCED INFO (DUPLICATED FOR PRIORITY)
  ============================================= */

.advanced-info-container {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.tabs-container {
   margin-top: 2.5rem;
   text-align: left;
}

.tab-nav {
   display: flex;
   border-bottom: 2px solid #e0e0e0;
   margin-bottom: 2rem;
}

.tab-link {
   padding: 0.8rem 1.5rem;
   cursor: pointer;
   background-color: transparent;
   border: none;
   font-size: 1rem;
   font-weight: 600;
   color: #555;
   position: relative;
   bottom: -2px; /* Aligns with the bottom border */
   border-bottom: 2px solid transparent;
   transition: all 0.3s ease;
}

.tab-link:hover {
   color: #007bff;
}

.tab-link.active {
   color: #007bff;
   border-bottom-color: #007bff;
}

.tab-pane {
   display: none;
   animation: fadeIn 0.5s;
}

.tab-pane.active {
   display: block;
}

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(10px); }
   to { opacity: 1; transform: translateY(0); }
}

/* Comparison Grid Styles */
.comparison-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.comparison-item {
   background-color: #fff;
   padding: 1.5rem;
   border-radius: 8px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.07);
   border-top: 4px solid #007bff;
}

.comparison-item h4 {
   margin-top: 0;
   color: #333;
}

.comparison-verdict {
   margin-top: 1rem;
   padding: 0.5rem 1rem;
   border-radius: 4px;
   font-weight: 600;
   font-size: 0.9rem;
   text-align: center;
}

.comparison-verdict.pro {
   background-color: #e7f5e8;
   color: #2e7d32;
}

.comparison-verdict.con {
   background-color: #fdecea;
   color: #c62828;
}


/* Myth vs. Truth Card Styles */
.myth-truth-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.myth-truth-card {
   background-color: #fff;
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   overflow: hidden;
}

.myth-header, .truth-header {
   display: flex;
   align-items: center;
   padding: 0.8rem 1.2rem;
}

.myth-header {
   background-color: #fdecea; /* Light red */
   color: #c62828; /* Dark red */
}

.truth-header {
   background-color: #e7f5e8; /* Light green */
   color: #2e7d32; /* Dark green */
}

.myth-header svg, .truth-header svg {
   width: 20px;
   height: 20px;
   margin-right: 0.8rem;
   flex-shrink: 0;
}

.myth-header h4, .truth-header h4 {
   margin: 0;
   font-size: 1.1rem;
}

.myth-text, .truth-text {
   padding: 1.2rem;
   font-size: 1rem;
   line-height: 1.6;
   margin: 0;
}

.myth-text {
   border-bottom: 1px dashed #e0e0e0;
}

/* =============================================
  TABS STYLES FOR ADVANCED INFO
  ============================================= */

  .advanced-info-container {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.tabs-container {
   margin-top: 2.5rem;
   text-align: left;
}

.tab-nav {
   display: flex;
   border-bottom: 2px solid #e0e0e0;
   margin-bottom: 2rem;
}

.tab-link {
   padding: 0.8rem 1.5rem;
   cursor: pointer;
   background-color: transparent;
   border: none;
   font-size: 1rem;
   font-weight: 600;
   color: #555;
   position: relative;
   bottom: -2px; /* Aligns with the bottom border */
   border-bottom: 2px solid transparent;
   transition: all 0.3s ease;
}

.tab-link:hover {
   color: #007bff;
}

.tab-link.active {
   color: #007bff;
   border-bottom-color: #007bff;
}

.tab-pane {
   display: none;
   animation: fadeIn 0.5s;
}

.tab-pane.active {
   display: block;
}

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(10px); }
   to { opacity: 1; transform: translateY(0); }
}

/* Comparison Grid Styles */
.comparison-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.comparison-item {
   background-color: #fff;
   padding: 1.5rem;
   border-radius: 8px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.07);
   border-top: 4px solid #007bff;
}

.comparison-item h4 {
   margin-top: 0;
   color: #333;
}

.comparison-verdict {
   margin-top: 1rem;
   padding: 0.5rem 1rem;
   border-radius: 4px;
   font-weight: 600;
   font-size: 0.9rem;
   text-align: center;
}

.comparison-verdict.pro {
   background-color: #e7f5e8;
   color: #2e7d32;
}

.comparison-verdict.con {
   background-color: #fdecea;
   color: #c62828;
}


/* Myth vs. Truth Card Styles */
.myth-truth-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1.5rem;
   margin-top: 1.5rem;
}

.myth-truth-card {
   background-color: #fff;
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   overflow: hidden;
}

.myth-header, .truth-header {
   display: flex;
   align-items: center;
   padding: 0.8rem 1.2rem;
}

.myth-header {
   background-color: #fdecea; /* Light red */
   color: #c62828; /* Dark red */
}

.truth-header {
   background-color: #e7f5e8; /* Light green */
   color: #2e7d32; /* Dark green */
}

.myth-header svg, .truth-header svg {
   width: 20px;
   height: 20px;
   margin-right: 0.8rem;
   flex-shrink: 0;
}

.myth-header h4, .truth-header h4 {
   margin: 0;
   font-size: 1.1rem;
}

.myth-text, .truth-text {
   padding: 1.2rem;
   font-size: 1rem;
   line-height: 1.6;
   margin: 0;
}

.myth-text {
   border-bottom: 1px dashed #e0e0e0;
}

.primary-large {
   font-size: 1.1rem;
   padding: 1rem 2rem;
}

.arrow {
   margin-left: 0.4em;
   font-size: 1.1em;
   display: inline-block;
   transition: transform 0.2s;
}

.cta-button:hover .arrow {
   transform: translateX(3px);
}

@media (max-width: 600px) {
 .cta-button, .pillow-button.buy-button {
   padding: 0.65rem 1rem;
   font-size: 0.9rem;
 }
 .cta-buttons::before {
   content: "";
   display: none;
 }
}

/* 优化Comparison Table区块Check Price按钮尺寸和动效，仅表格内生效 */
.comparison-table .cta-buttons {
 margin: 0;
}
.comparison-table .cta-button, .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 {
 background-color: #dc2626;
 color: #fff;
 box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
 transform: translateY(-2px);
}

/* 新增表格外层容器样式 */
.table-outer-container {
   width: 100%;
   overflow-x: auto;
   -webkit-overflow-scrolling: touch;
   margin: 2rem 0;
   padding-bottom: 5px;
   position: relative;
}

/* 表格滚动提示样式 */
.table-scroll-hint {
   text-align: center;
   margin-top: 10px;
   font-size: 0.9rem;
   color: #64748b;
   padding: 5px;
}

.table-scroll-hint span {
   display: inline-block;
   animation: bounce 2s infinite;
   font-weight: 500;
}

/* 表格滚动提示动画 */
@keyframes bounce {
   0%, 20%, 50%, 80%, 100% {
       transform: translateX(0);
   }
   40% {
       transform: translateX(-10px);
   }
   60% {
       transform: translateX(10px);
   }
}

/* 极简化表格容器，保证横向滚动和兼容性 */
.comparison-table-wrapper {
   width: 100%;
   max-width: 100vw;
   overflow-x: auto;
   -webkit-overflow-scrolling: touch;
   background: #fff;
   margin: 2rem 0;
   padding-bottom: 8px;
   border: none;
}

.comparison-table {
   width: 100%;
   min-width: 1200px;
   border-collapse: separate;
   border-spacing: 0;
   table-layout: auto;
   background: #fff;
   margin: 0;
   overflow: visible;
}

.comparison-table th,
.comparison-table td {
   overflow: visible;
   padding: 1rem 0.75rem;
   text-align: center;
   border: 1px solid #e2e8f0;
   font-size: 0.95rem;
   overflow: visible;
   background: #fff;
   white-space: normal;
   word-break: break-word;
   box-shadow: none;
   border-radius: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
   min-width: 180px;
   padding-right: 2rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
   min-width: 180px;
   text-align: left;
   font-weight: 600;
   color: #1e40af;
   background: #f8fafc;
}

/* 移动端优化 */
@media (max-width: 768px) {
   .comparison-table {
       min-width: 1000px;
       font-size: 0.9rem;
   }
   .comparison-table th,
   .comparison-table td {
       font-size: 0.9rem;
       padding: 0.75rem 0.5rem;
   }
   .comparison-table th:last-child,
   .comparison-table td:last-child {
       min-width: 140px;
       padding-right: 1.5rem;
   }
}
@media (max-width: 480px) {
   .comparison-table {
       min-width: 800px;
   }
   .comparison-table th,
   .comparison-table td {
       font-size: 0.8rem;
       padding: 0.5rem 0.3rem;
   }
   .comparison-table th:last-child,
   .comparison-table td:last-child {
       min-width: 120px;
       padding-right: 1rem;
   }
}