/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 458px;
    margin: 0 auto;
    background: #fff;
    width: 100%;
    padding: 0;
}

@media (max-width: 458px) {
    .container {
        max-width: 100%;
        width: 100%;
    }
}

/* ========== 欢迎页样式 ========== */
.welcome-page {
    background: linear-gradient(180deg, rgba(248, 215, 124, 1) 0%, rgba(246, 236, 142, 1) 25%, rgba(243, 232, 160, 1) 48%, rgba(248, 243, 206, 1) 68%, rgba(253, 253, 253, 1) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-container {
    position: relative;
    width: 100%;
    max-width: 458px;
    height: 713px;
    overflow: hidden;
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.welcome-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-logo {
    position: absolute;
    top: -64px;
    left: -41px;
    width: 196px;
    height: 277px;
    z-index: 2;
}

.welcome-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-content {
    position: absolute;
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    width: 218px;
    text-align: center;
    z-index: 3;
    color: #FCFCFE;
}

.welcome-content h1 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.welcome-content p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 10px;
}

.welcome-content .highlight {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
    color: #FFE5B4;
}

.go-button {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 89px;
    height: 78px;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.3s ease;
}

.go-button:hover {
    transform: translateX(-50%) scale(1.1);
}

.go-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========== 主页面样式 ========== */
.main-page {
    background: #fff;
    min-height: 100vh;
    padding: 20px 0;
}

.main-container {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* 头部横幅 */
.header-banner {
    background: linear-gradient(180deg, rgba(248, 215, 124, 1) 0%, rgba(246, 236, 142, 1) 25%, rgba(243, 232, 160, 1) 48%, rgba(248, 243, 206, 1) 68%, rgba(253, 253, 253, 1) 100%);
    border-radius: 10px 10px 0 0;
    padding: 15px 20px 20px;
    overflow: hidden;
}

.header-search {
    width: 100%;
    max-width: 382px;
    height: 32px;
    background: #FFFEFE;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.brand-name {
    font-size: 15px;
    color: #8E17DD;
}

.main-title {
    width: 100%;
    max-width: 392px;
    font-size: 20px;
    text-align: center;
    color: #000;
    font-weight: 400;
    margin: 0 auto 15px;
}

.subtitle {
    width: 100%;
    max-width: 392px;
    font-size: 10px;
    line-height: 1.6;
    color: #939292;
    margin: 0 auto 20px;
    text-align: center;
}

/* 产品展示区域 */
.product-showcase {
    position: relative;
    width: 100%;
    max-width: 434px;
    margin: 0 auto 20px;
    padding-left: 0;
}

/* 左上角地球Logo */
.globe-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 97px;
    height: 97px;
    z-index: 1;
}

.globe-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 右边主图 - 带蓝色圆角边框 */
.header-image {
    margin-left: 107px;
    width: calc(100% - 107px);
    max-width: 327px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #4A90E2;
    background: #fff;
    margin-bottom: 15px;
}

.header-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 底部文案区域 - 与主图左边对齐 */
.product-description-header {
    margin-left: 107px;
    width: calc(100% - 107px);
    max-width: 327px;
    display: flex;
    flex-direction: column;
}

/* 标题和头像横向排列 */
.description-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.product-description-header h2 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    margin: 0;
    white-space: nowrap;
}

.product-description-header p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #939292;
    text-align: justify;
    text-align-last: left;
    width: 214px;
}

/* 社交头像图标 - 部分堆叠 */
.social-icons {
    display: flex;
    flex-shrink: 0;
}

.social-icons img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -8px;
}

.social-icons img:first-child {
    margin-left: 0;
}

/* 分类标签 - 在头部内 */
.category-tag-in-header {
    text-align: left;
    margin-bottom: 10px;
}

.category-tag-in-header span {
    display: inline-block;
    padding: 6px 12px;
    background: #F5ECB1;
    border-radius: 30px;
    font-size: 12px;
    line-height: 1.2102272510528564em;
    color: #997332;
    white-space: nowrap;
}


/* 白鸭绒的历史与文化 - 标题独立 */
.section-title-standalone {
    margin-left: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.section-title-standalone .title-line1 {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2102272033691406em;
    color: #000;
    margin-bottom: 8px;
}

.section-title-standalone .title-line2 {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2102272033691406em;
    color: #939292;
}

/* 历史与文化内容框 */
.history-culture {
    padding: 40px 43px;
    border: 1px solid #939292;
    border-radius: 30px;
    margin: 5px 12px 20px;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h3 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #000000;
    margin-bottom: 10px;
    margin-top: 20px;
}

.content-block p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #939292;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.feature-list li {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #939292;
    margin-bottom: 8px;
    position: relative;
}

.feature-list li:before {
    content: "• ";
    position: absolute;
    left: -15px;
    color: #939292;
}

.highlight-quote {
    position: relative;
    width: 100%;
    max-width: 375px;
    min-height: 27px;
    height: auto;
    background: #F5ECB1;
    border-radius: 3px 10px 10px 3px;
    margin: 20px 0;
    padding: 0;
    display: flex;
    align-items: center;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.highlight-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 27px;
    background: #F8C072;
    border-radius: 3px 0 0 3px;
}

.highlight-quote p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #939292;
    margin: 0;
}

.divider {
    width: 100%;
    height: 1px;
    background: #D9D9D9;
    margin: 30px 0;
}

.farm-image {
    width: 100%;
    max-width: 378px;
    height: auto;
    aspect-ratio: 1;
    margin: 20px auto 10px;
    border-radius: 20px;
    overflow: hidden;
}

.farm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    margin-top: 10px;
}

.image-caption p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #939292;
    text-align: center;
}

.culture-heritage {
    background: rgba(245, 245, 245, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin-bottom:8px;
}

.culture-heritage p {
    color: #939292;
}

/* 客户评价 */
.testimonials {
    padding: 20px 12px 20px;
}

.testimonials h2 {
    font-size: 12px;
    color: #939292;
    margin-bottom: 20px;
}

.testimonial-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.testimonial-item:last-child {
    margin-bottom: 0;
}

.testimonial-item .avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-item .quote {
    font-size: 9px;
    color: #939292;
    line-height: 1.6;
    margin-bottom: 5px;
    flex: 1;
}

.testimonial-item .author {
    font-size: 10px;
    color: #000;
    margin-top: 5px;
}

/* 探索白鸭绒 */
.explore-section {
    position: relative;
    padding: 40px;
    margin: 20px 12px;
}

.explore-highlight {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #F8D77C;
}

.explore-section h2 {
    font-size: 12px;
    color: #000;
    line-height: 1.8;
}

/* 产品核心优势 */
.core-advantages {
    padding: 15px 12px 25px;
    margin: 5px 11px 15px;
    overflow-x: hidden;
}

.core-advantages h2 {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2102272510528564em;
    text-align: center;
    color: #000000;
    margin-bottom: 10px;
}

.core-advantages .intro {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 11px;
    line-height: 1.2102272510528564em;
    text-align: center;
    color: #939292;
    margin-bottom: 20px;
}

.advantages-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    border: 1px solid #939292;
    border-radius: 30px;
}

.advantage-item {
    position: relative;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #939292;
    border-bottom: 1px solid #939292;
}

/* 移除右列的右边框 */
.advantage-item:nth-child(2n) {
    border-right: none;
}

/* 移除最后一行的底边框 */
.advantage-item:nth-child(5),
.advantage-item:nth-child(6) {
    border-bottom: none;
}

/* 图标和标题横向排列 */
.advantage-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.advantage-item .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.advantage-item .icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.advantage-item h3 {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2102272851126534em;
    color: #000;
    margin: 0;
}

.advantage-item p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2102272851126534em;
    text-align: center;
    color: #939292;
}

/* 检验检测数据 */
.inspection-data {
    padding: 15px 12px;
    margin: 15px 0;
    background: #fff;
    overflow-x: auto;
}

.batch-info {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
}

.batch-info p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2102272033691406em;
    color: #000;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.inspection-table-wrapper {
    margin: 15px 0;
    overflow-x: auto;
}

.table-title {
    background: #D9D9D9;
    padding: 6px 12px;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2102272033691406em;
    color: #000;
    margin-bottom: 0;
}

.inspection-table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    background: #fff;
}

.inspection-table th,
.inspection-table td {
    padding: 8px 6px;
    text-align: left;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2102272327129657em;
    color: #000;
    border-bottom: 1px solid #e0e0e0;
}

.inspection-table th {
    font-weight: 400;
    background: #F5F5F5;
}

.inspection-table td {
    text-align: center;
}

.inspection-table th:first-child,
.inspection-table td:first-child {
    text-align: left;
}

/* 电子检测报告 */
.inspection-reports {
    padding: 25px 12px 15px;
    background: #fff;
}

.inspection-reports h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.reports-grid {
    display: grid;
    gap: 12px;
}

.reports-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 品质画廊 */
.quality-gallery {
    padding: 0;
    background: #fff;
}

.quality-gallery h2 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: center;
    color: #939292;
}

.quality-gallery h2 .title-brand {
    color: #000000;
}

.gallery-intro {
    font-size: 10px;
    color: #939292;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.gallery-item {
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 5px;
}

.gallery-label {
    background: #fff;
    padding: 6px 10px;
    margin-top: 3px;
    border-radius: 5px;
}

.label-title {
    font-size: 10px;
    color: #939292;
    margin-bottom: 2px;
}

.label-subtitle {
    font-size: 13px;
    color: #000000;
}

/* 品质画廊大图 */
.gallery-main-image {
    width: 100%;
    max-width: 417px;
    height: auto;
    aspect-ratio: 1;
    margin: 36px auto 0;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

/* 产品细节展示 */
.product-details {
    padding: 25px 20px 20px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item img {
    width: 100%;
    max-width: 406px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    border-radius: 5px;
}

.detail-text {
    padding: 0 20px;
}

.detail-text h3 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #000;
}

.detail-text p {
    font-size: 13px;
    line-height: 1.6;
    color: #939292;
    text-indent: 2em;
    margin-bottom: 0;
}

/* 页脚 */
.footer {
    background: #fff;
    padding: 0 20px 30px;
    margin-top: 0;
    text-align: left;
}

.footer-content p {
    font-size: 13px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .main-page {
        padding: 0;
    }
    
    .main-container {
        border-radius: 0;
        box-shadow: none;
    }
    
    /* 头部横幅适配 */
    .header-banner {
        border-radius: 0;
        padding: 15px 10px 20px;
    }
    
    .main-title {
        font-size: 18px;
    }
    
    .product-showcase {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .globe-icon {
        width: 80px;
        height: 80px;
        left: 10px;
    }
    
    .header-image {
        margin-left: 100px;
        width: calc(100% - 110px);
    }
    
    .product-description-header {
        margin-left: 100px;
        width: calc(100% - 110px);
    }
    
    .description-title-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* 历史文化区域 */
    .history-culture {
        padding: 30px 15px;
        margin: 10px;
        border-radius: 20px;
    }
    
    .section-title-standalone {
        margin-left: 10px;
    }
    
    /* 核心优势区域 */
    .core-advantages {
        margin: 10px;
        padding: 15px 10px 25px;
    }
    
    .advantage-item {
        padding: 15px 10px;
    }
    
    .advantage-item h3 {
        font-size: 12px;
    }
    
    .advantage-item p {
        font-size: 11px;
    }
    
    /* 表格适配 */
    .inspection-data {
        padding: 15px 10px;
    }
    
    .inspection-table {
        font-size: 10px;
        min-width: 100%;
    }
    
    .inspection-table th,
    .inspection-table td {
        padding: 6px 3px;
        font-size: 10px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* 电子检测报告 */
    .inspection-reports {
        padding: 20px 10px 15px;
    }
    
    /* 品质画廊 */
    .quality-gallery {
        padding: 20px 10px;
    }
    
    .gallery-grid {
        gap: 8px;
        padding: 0 10px;
    }
    
    /* 产品细节 */
    .product-details {
        padding: 20px 10px;
    }
    
    .detail-text {
        padding: 0 5px;
    }
    
    /* 客户评价 */
    .testimonials {
        padding: 20px 10px;
    }
    
    /* 探索区域 */
    .explore-section {
        margin: 20px 10px;
        padding: 30px 20px;
    }
    
    /* 页脚 */
    .footer {
        padding: 0 15px 30px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 375px) {
    .main-title {
        font-size: 16px;
    }
    
    .subtitle {
        font-size: 9px;
    }
    
    .globe-icon {
        width: 70px;
        height: 70px;
        left: 5px;
    }
    
    .header-image {
        margin-left: 85px;
        width: calc(100% - 90px);
        border-width: 2px;
    }
    
    .product-description-header {
        margin-left: 85px;
        width: calc(100% - 90px);
    }
    
    .product-description-header h2 {
        font-size: 12px;
    }
    
    .product-description-header p {
        font-size: 9px;
    }
    
    .social-icons img {
        width: 20px;
        height: 20px;
    }
    
    .history-culture {
        padding: 20px 10px;
        margin: 5px;
    }
    
    .inspection-table th,
    .inspection-table td {
        padding: 4px 2px;
        font-size: 9px;
    }
    
    .batch-info p {
        font-size: 12px;
    }
    
    .advantage-item h3 {
        font-size: 11px;
    }
    
    .advantage-item p {
        font-size: 10px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片加载优化 */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 防止内容溢出 */
.main-container {
    overflow-x: hidden;
}

