/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "楷体", sans-serif;
}
body {
    background-color: #FFFFFF;
    color: #333333;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, li {
    list-style: none;
}
input, button {
    outline: none;
    border: 1px solid #E0E0E0;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #FFFFFF;
}
button {
    cursor: pointer;
    transition: all 0.3s;
}

/* 内容区通用样式 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    font-size: 28px;
    color: #000000;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0E0E0;
    font-family: "楷体";
}

/* 1. Banner区 */
.banner-customer {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.banner-customer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}
.banner-inner {
    padding: 0 40px;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 0 3px 6px rgba(0,0,0,0.9);
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.banner-inner h1 {
    font-size: 52px;
    margin-bottom: 25px;
    font-family: "楷体";
    letter-spacing: 2px;
}
.banner-inner p {
    font-size: 26px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background-color: #000000;
    border: 2px solid #000000;
    color: #FFFFFF;
    border-radius: 4px;
    margin-right: 25px;
    font-size: 18px;
    letter-spacing: 1px;
    transition: all 0.4s;
}
.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-3px);
}
.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 1px;
    transition: all 0.4s;
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* 2. 核心卖点区 */
.selling-points {
    margin: 50px 0;
}
.points-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* 响应式换行 */
}
.point-item {
    flex: 1;
    min-width: 200px; /* 最小宽度，避免过窄 */
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    transition: all 0.3s;
}
.point-item:hover {
    border-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.point-icon {
    margin-bottom: 15px;
}
.point-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000000;
}
.point-item p {
    font-size: 14px;
    color: #666666;
}

/* 3. 成品绣片区（核心样式，独立无复用） */
.product-list {
    margin: 50px 0;
}
.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-bottom: 20px;
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* 标签换行 */
}
/* 成品绣片分类标签（独立样式） */
.product-filter-tag {
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #FFFFFF;
    border: 1px solid #E8E8E8;
}
.product-filter-tag.active {
    background-color: #2D2D2D;
    color: #FFFFFF;
    border-color: #2D2D2D;
}
.product-filter-tag:hover:not(.active) {
    background-color: #F5F5F5;
    border-color: #D0D0D0;
}
.filter-search {
    margin-left: auto;
    display: flex;
    gap: 10px;
    margin-top: 10px; /* 响应式时下移 */
}
.search-input {
    width: 200px;
    min-width: 150px; /* 最小宽度 */
}
.search-btn {
    background-color: #2D2D2D;
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
}
.search-btn:hover {
    background-color: #444444;
}

/* 成品绣片容器（显示控制） */
.product-container {
    display: none;
    width: 100%;
}
.product-container.active {
    display: block;
}
/* 成品绣片卡片布局 */
.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.series-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 12px;
    border-radius: 8px;
}
.series-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
/* 3:2比例图片容器 */
.series-img {
    width: 240px;
    height: 360px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 6px;
}
.series-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例，裁剪多余部分 */
    transition: transform 0.4s ease;
}
.series-card:hover .series-img img {
    transform: scale(1.05);
}
.series-title {
    font-size: 16px;
    color: #333333;
    line-height: 1.4;
    padding: 0 4px;
}

/* 4. 定制需求区 */
.custom-form {
    margin: 50px 0;
}
.form-guide {
    text-align: center;
    margin-bottom: 30px;
}
.form-guide p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333333;
}
.vote-entry {
    text-align: center;
    margin: 20px 0 40px;
}
.vote-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}
.vote-btn:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 5. 案例展示区（仅保留空壳基础样式） */
.case-show {
    margin: 50px 0;
}

/* 6. 服务保障区 */
.service-guarantee {
    margin: 50px 0;
}
.guarantee-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* 响应式换行 */
}
.guarantee-card {
    flex: 1;
    min-width: 250px; /* 最小宽度 */
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    transition: all 0.3s;
}
.guarantee-card:hover {
    border-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.guarantee-icon {
    margin-bottom: 15px;
}
.guarantee-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000000;
}
.guarantee-card p {
    font-size: 14px;
    color: #666666;
}

/* 7. 常见问题区 */
.faq {
    margin: 50px 0 80px;
}
.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: #333333;
}
.faq-question:hover {
    background-color: #F8F8F8;
}
.faq-arrow {
    color: #000000;
    font-size: 14px;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    font-size: 14px;
    color: #666666;
}
.faq-answer.show {
    padding: 15px 20px;
    max-height: 200px;
}

/* 响应式适配（仅针对成品绣片） */
@media (max-width: 992px) {
    /* 成品绣片卡片：平板端2列 */
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .banner-customer {
        height: 400px; /* Banner高度适配 */
    }
    .banner-inner h1 {
        font-size: 36px;
    }
    .banner-inner p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    /* 成品绣片卡片：移动端1列 */
    .product-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .banner-customer {
        height: 300px;
    }
    .banner-inner h1 {
        font-size: 28px;
    }
    .btn-primary, .btn-secondary {
        padding: 10px 24px;
        font-size: 16px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .filter-search {
        margin-left: 0;
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    /* 成品绣片标签：移动端缩小 */
    .product-filter-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
}
