/* Pregnancy Pillow Styles - Based on Travel Pillow Design */

/* Hero Section Styles */
.hero-pregnancy {
    background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
    padding: 100px 0 70px;
    margin-top: 0;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .cta-button {
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 850px;
    line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
    min-width: 0;
}

.breadcrumb li {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    flex-shrink: 0;
    white-space: nowrap;
}

.breadcrumb li+li:before {
    content: "/";
    color: #b3b3b3;
    padding: 0 8px;
}

.breadcrumb li.active {
    color: #0c4a6e;
    font-weight: 600;
    font-weight: 600;
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #6ec1e4;
    text-decoration: underline;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #f8fafc;
    padding: 80px 0;
}

.content-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Challenges Grid - 2x2 Layout */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.challenge-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.challenge-card h3 {
    font-size: 1.4rem;
    color: #1e40af;
    margin-bottom: 15px;
}

.challenge-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Types Grid - 2x2 Layout */
.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.type-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(30,64,175,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30,64,175,0.1);
}

.type-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.type-card h3 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 10px;
}

.type-card p {
    color: #475569;
    margin-bottom: 15px;
    font-weight: 600;
}

.type-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.type-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

.type-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1e40af;
    font-weight: bold;
    font-size: 1.1em;
}/* Product Cards Styles - 3x3 Grid Layout (8 products) */
.products-grid-rows {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-row {
    display: flex;
    gap: 25px;
    width: 100%;
}

/* 第一行和第二行每行3个产品 */
.product-row:nth-child(1) .pillow-card,
.product-row:nth-child(2) .pillow-card {
    flex: 1;
    width: calc(33.333% - 17px);
}

/* 第三行2个产品，居中显示 */
.product-row:nth-child(3) {
    justify-content: center;
}

.product-row:nth-child(3) .pillow-card {
    flex: 0 0 calc(33.333% - 17px);
    max-width: calc(33.333% - 17px);
}

/* 平板端响应式 */
@media (max-width: 1024px) {
    .product-row {
        flex-wrap: wrap;
    }
    
    .product-row:nth-child(1) .pillow-card,
    .product-row:nth-child(2) .pillow-card {
        flex: 0 0 calc(50% - 12.5px);
        max-width: calc(50% - 12.5px);
    }
    
    .product-row:nth-child(3) .pillow-card {
        flex: 0 0 calc(50% - 12.5px);
        max-width: calc(50% - 12.5px);
    }
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
    }
    
    .product-row:nth-child(1) .pillow-card,
    .product-row:nth-child(2) .pillow-card,
    .product-row:nth-child(3) .pillow-card {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
}

.pillow-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
}

.pillow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1e40af;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
}

.pillow-image {
    height: 200px;
    width: 100%;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pillow-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.pillow-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.pillow-card:hover .pillow-image img {
    transform: scale(1.05);
}

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

.pillow-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
    line-height: 1.4;
}

.pillow-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pillow-rating .stars {
    color: #f59e0b;
    font-size: 1.4rem;
    margin-right: 12px;
    letter-spacing: 2px;
}

.pillow-rating .rating-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
}

.pillow-description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.pillow-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

/* 产品特性列表样式 - 修复版本 */
.pillow-features {
    margin-bottom: 20px !important;
    margin-top: 15px !important;
}

.pillow-features ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.pillow-features li {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.95rem !important;
    color: #374151 !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    padding-left: 20px !important;
}

.pillow-features li:last-child {
    border-bottom: none !important;
}

.pillow-features li::before {
    content: "✓" !important;
    color: #10b981 !important;
    font-weight: bold !important;
    margin-right: 8px !important;
    font-size: 1rem !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
}

.pillow-actions {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    margin-top: auto !important;
    padding-top: 15px !important;
}

.pillow-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 20px;
    margin: 0.25rem;
    min-width: 120px;
    text-align: center;
    border: 1px solid #1e40af;
    color: #1e40af;
    background: #fff;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.pillow-button:hover {
    background: #1e40af;
    color: #fff;
}

.pillow-button.buy-button {
    background: #1e40af;
    color: #fff;
    border: 1px solid #1e40af;
}

.pillow-button.buy-button:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
}/* Compar
ison Table Styles */
.comparison-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;
    background: #fff;
    margin: 2.5rem 0;
    position: relative;
    padding-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.comparison-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    background-color: white;
    font-family: 'Open Sans', sans-serif;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.comparison-table th {
    background-color: #1e40af;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

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

.comparison-table td:first-child {
    font-weight: 600;
    color: #111827;
    background-color: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 10;
}

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

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

.comparison-table .average {
    color: #f59e0b;
    font-weight: 600;
}

.comparison-table .poor {
    color: #ef4444;
    font-weight: 600;
}

.table-scroll-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #64748b;
    padding: 5px;
}

/* Trimester Guide Styles */
.trimester-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trimester-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.trimester-card:hover {
    transform: translateY(-5px);
}

.trimester-header {
    background: linear-gradient(135deg, #1e40af, #6ec1e4);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.trimester-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.trimester-content {
    padding: 25px;
}

.trimester-content h4 {
    color: #1e40af;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.trimester-content h4:first-child {
    margin-top: 0;
}

.trimester-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.trimester-content li {
    margin-bottom: 5px;
    color: #475569;
    line-height: 1.5;
}/* Safet
y Guide Styles */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.safety-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.safety-card:hover {
    transform: translateY(-5px);
}

.safety-card.safe {
    border-left: 4px solid #10b981;
}

.safety-card.warning {
    border-left: 4px solid #f59e0b;
}

.safety-card.tips {
    border-left: 4px solid #6366f1;
}

.safety-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.safety-card h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.safety-card ul {
    padding-left: 0;
    list-style: none;
}

.safety-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.6;
}

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

.safety-card.warning li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.safety-card.tips li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Usage Guide Styles */
.usage-guide {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.usage-type {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.usage-type h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    background: #1e40af;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}/* F
AQ Section Styles */
.faq-section {
    padding: 70px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.faq-item {
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,64,175,0.04);
    padding: 24px 20px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(30,64,175,0.08);
}

.faq-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    line-height: 1.4;
}

.faq-item h3:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.8rem;
    color: #1e40af;
    transition: all 0.3s ease;
    font-weight: 300;
}

.faq-item.active h3:after {
    content: "−";
    transform: rotate(180deg);
}

.faq-item p {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: #334155;
    font-size: 1.05rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active p {
    max-height: 1000px;
    margin-top: 12px;
}

/* Conclusion Section */
.conclusion-section {
    padding: 70px 0;
    background-color: #f8fafc;
}

.conclusion-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.conclusion-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.conclusion-container p {
    font-family: 'Open Sans', sans-serif;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 35px;
    font-size: 1.2rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #6ec1e4);
    color: white;
    padding: 18px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    color: white;
}

/* Floating Price Nav */
.floating-price-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #6ec1e4, #1e40af);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.floating-price-nav:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
    color: white;
}

.floating-price-nav svg {
    width: 20px;
    height: 20px;
}/* Q
uick Picks & Table of Contents Modules */
.new-ux-modules {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Quick Picks Section */
#quick-picks {
    background-color: #f0f4ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 2rem;
}

.quick-picks-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 1.8rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.quick-pick-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.quick-pick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.quick-pick-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 1rem;
}

.quick-pick-card .product-name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.8rem 0;
    color: #111827;
}

.quick-pick-card .product-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 1.5rem 0;
    min-height: 40px;
    line-height: 1.5;
}

.quick-pick-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.quick-pick-card a:hover {
    text-decoration: underline;
}

/* Table of Contents Section */
#table-of-contents {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
}

.toc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #dbeafe;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.toc-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    columns: 2;
    column-gap: 4rem;
}

.toc-list li {
    margin-bottom: 1rem;
    break-inside: avoid;
}

.toc-list li a {
    font-family: 'Open Sans', sans-serif;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    font-size: 1.05rem;
}

.toc-list li a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .trimester-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0 15px;
    }
    
    .breadcrumb li {
        font-size: 0.8rem;
    }
    
    .breadcrumb li+li:before {
        padding: 0 6px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-alt {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .challenges-grid,
    .types-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .products-grid-rows {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillow-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .pillow-image {
        height: 180px;
        padding: 15px;
    }
    
    .pillow-info {
        padding: 1.2rem;
    }
    
    .pillow-info h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .pillow-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .pillow-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .pillow-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .new-ux-modules {
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 25px;
        padding: 0 15px;
    }

    #quick-picks, #table-of-contents {
        padding: 1.8rem 1.2rem;
    }

    .quick-picks-title, .toc-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .toc-list {
        columns: 1;
    }

    .quick-picks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-pick-card {
        padding: 1.5rem;
    }
    
    .comparison-table-wrapper {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
    }
    
    .comparison-table-wrapper:after {
        content: "← Swipe →";
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(12, 74, 110, 0.8);
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        opacity: 0.9;
    }
    
    .faq-item {
        padding: 20px 16px;
        margin-bottom: 15px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        padding-right: 35px;
    }
    
    .floating-price-nav {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 15px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        padding: 0 10px;
    }
    
    .breadcrumb li {
        font-size: 0.75rem;
    }
    
    .breadcrumb li+li:before {
        padding: 0 4px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-alt {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .pillow-image {
        height: 160px;
    }
    
    .pillow-info {
        padding: 1rem;
    }
    
    .pillow-info h3 {
        font-size: 1.1rem;
    }
    
    .pillow-description p {
        font-size: 0.9rem;
    }
    
    .pillow-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
/* 
确保页面布局正确 */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 修复导航栏和面包屑之间的间距 */
.breadcrumb-nav {
    margin-top: 0;
}

/* 强制显示面包屑导航 */
.breadcrumb-nav,
.breadcrumb-container,
.breadcrumb {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    z-index: 10 !important;
}

/* 强制面包屑不换行 */
.breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
}

.breadcrumb li {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* 额外的面包屑单行显示规则 */
.breadcrumb-nav .breadcrumb {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.breadcrumb-nav .breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
}

/* Hero Features 样式 */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 800px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-feature-item span:last-child {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-feature-item a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
}

.hero-feature-item a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .hero-feature-item {
        padding: 0.6rem;
    }
}

/* 确保hero区域在面包屑下方正确显示 */
.hero-pregnancy {
    position: relative;
    z-index: 1;
}

/* 修复产品卡片在移动端的显示 */
@media (max-width: 768px) {
    .pillow-card {
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    .pillow-image {
        height: 160px;
        padding: 15px;
    }
    
    .pillow-info {
        padding: 1.2rem;
    }
    
    .pillow-features ul {
        gap: 6px !important;
    }
    
    .pillow-features li {
        font-size: 0.9rem !important;
        padding: 4px 0 !important;
        padding-left: 18px !important;
    }
    
    .pillow-features li::before {
        top: 4px !important;
    }
    
    .pillow-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .pillow-button {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
}

/* 修复比较表格的样式 */
.comparison-table-wrapper {
    margin: 2rem 0;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #1e40af #f1f5f9;
}

.comparison-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.comparison-table-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 4px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    background-color: #f8fafc;
    z-index: 10;
    border-right: 2px solid #e5e7eb;
}

.comparison-table th:first-child {
    background-color: #1e40af;
    color: white;
}

/* 改进FAQ样式 */
.faq-item {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30,64,175,0.1);
}

/* 改进浮动导航按钮 */
.floating-price-nav {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.floating-price-nav:hover {
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

/* 确保内容区域有足够的间距 */
.section-container {
    position: relative;
}

/* 修复快速选择卡片的样式 */
.quick-pick-card {
    transition: all 0.3s ease;
}

.quick-pick-card:hover {
    border-color: #1e40af;
}

/* 改进目录样式 */
.toc-list li a {
    padding: 4px 0;
    display: block;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.toc-list li a:hover {
    border-bottom-color: #3b82f6;
    padding-left: 8px;
}

/* 额外的样式优化 */

/* 改进产品描述的排版 */
.pillow-description p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* 优化挑战卡片的内容 */
.challenge-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    line-height: 1.3;
}

.challenge-card p {
    font-family: 'Open Sans', sans-serif;
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 优化类型卡片的内容 */
.type-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 12px;
    line-height: 1.3;
}

.type-card p {
    font-family: 'Open Sans', sans-serif;
    color: #475569;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1.05rem;
}

.type-features li {
    font-family: 'Open Sans', sans-serif;
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
}

/* 优化三阶段指南的样式 */
.trimester-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.trimester-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.trimester-content li {
    font-family: 'Open Sans', sans-serif;
    color: #475569;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* 优化安全指南的样式 */
.safety-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.3;
}

.safety-card li {
    font-family: 'Open Sans', sans-serif;
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 优化使用指南的样式 */
.usage-type h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
    line-height: 1.3;
}

.step-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-content p {
    font-family: 'Open Sans', sans-serif;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* 改进按钮样式 */
.pillow-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.pillow-button:hover {
    transform: translateY(-2px);
}

/* 改进表格内容的字体 */
.comparison-table td {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #374151;
}

.comparison-table td:first-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
}

/* 改进浮动导航的字体 */
.floating-price-nav {
    font-family: 'Montserrat', sans-serif;
}

/* 改进页面整体的文本渲染 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 改进链接的样式 */
a {
    transition: all 0.3s ease;
}

/* 改进列表的间距 */
ul, ol {
    margin: 0;
    padding: 0;
}

/* 确保图片的加载效果 */
img {
    transition: opacity 0.3s ease;
}

/* 改进卡片的阴影效果 */
.pillow-card,
.challenge-card,
.type-card,
.safety-card,
.trimester-card,
.quick-pick-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 改进焦点状态 */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* 改进选择状态 */
::selection {
    background-color: #1e40af;
    color: white;
}

::-moz-selection {
    background-color: #1e40af;
    color: white;
}/* Detailed
 Expert Reviews Styles */
.review-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
}

.review-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 25px 30px;
    color: white;
}

.review-content {
    background: white;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.review-image {
    flex: 0 0 300px;
    height: 300px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.review-details {
    flex: 1;
    padding: 30px;
}

.review-features h4,
.specifications h4 {
    font-family: 'Montserrat', sans-serif;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #374151;
}

.feature-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-text {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    gap: 8px;
    font-size: 0.95rem;
}

.spec-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #374151;
    min-width: 60px;
}

.spec-value {
    font-family: 'Open Sans', sans-serif;
    color: #6b7280;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.review-pros,
.review-cons {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.review-pros h4 {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-pros h4:before {
    content: "✓";
    font-size: 1.2rem;
    font-weight: bold;
}

.review-cons h4 {
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-cons h4:before {
    content: "⚠";
    font-size: 1.2rem;
}

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

.review-pros li,
.review-cons li {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

.review-details > p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
    margin: 25px 0;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #1e40af;
    border-radius: 0 8px 8px 0;
}

.review-cta {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.review-cta .cta-button.buy-button {
    background: #1e40af;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #1e40af;
}

.review-cta .cta-button.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
    background: #1e3a8a;
    border-color: #1e3a8a;
}

/* Stars styling for reviews */
.stars-large {
    font-family: Arial, sans-serif;
}

/* Responsive design for review cards */
@media (max-width: 768px) {
    .review-content {
        flex-direction: column;
    }
    
    .review-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .review-details {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .review-pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-header {
        padding: 20px;
    }
    
    .review-header > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .review-rating {
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    .review-details {
        padding: 15px;
    }
    
    .review-pros,
    .review-cons {
        padding: 15px;
    }
    
    .review-details > p {
        padding: 15px;
        font-size: 1rem;
    }
}
/* En
hanced Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .products-grid-rows {
        max-width: 1600px;
        gap: 25px;
    }
    
    .pillow-card {
        padding: 20px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .products-grid-rows {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .section-container {
        padding: 0 30px;
    }
    
    .challenges-grid,
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .products-grid-rows {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .pillow-image {
        height: 160px;
    }
    
    .comparison-table-wrapper {
        margin-left: -30px;
        margin-right: -30px;
        border-radius: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .challenges-grid,
    .types-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        max-width: none;
    }
    
    .products-grid-rows {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .pillow-image {
        height: 200px;
    }
    
    .table-scroll-hint {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 10px;
    }
    
    .comparison-table-wrapper {
        margin-left: -20px;
        margin-right: -20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-container {
        padding: 0 15px;
    }
    
    .challenge-card,
    .type-card {
        padding: 20px 15px;
    }
    
    .pillow-card {
        margin-bottom: 20px;
    }
    
    .pillow-info {
        padding: 15px;
    }
    
    .pillow-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .pillow-button {
        width: 100%;
        text-align: center;
    }
}

/* Table Scroll Hint Styling */
.table-scroll-hint {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.table-scroll-hint p {
    margin: 0;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Enhanced Product Card Hover Effects */
.pillow-card:hover .pillow-image img {
    transform: scale(1.05);
}

.pillow-image img {
    transition: transform 0.3s ease;
}

/* Improved Button Spacing in Grid Layout */
.products-grid-rows .pillow-actions {
    margin-top: auto;
    padding-top: 15px;
}

/* Better Typography for Compact Layout */
.products-grid-rows .pillow-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.products-grid-rows .pillow-description p {
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}