
/* 优化重置 (保持不变) */
body { margin: 0; padding: 0; }
body, h1, p, h2, h3 { margin: 0; padding: 0;
    box-sizing: border-box; }

.product-customization-page {
    /* 统一字体 */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #333;
    width: 100%;
    margin: 0 auto;
}

/* 1. 头部主要视觉区域 (不变) */
.main-visual-section { max-width: 1400px; margin: 0 auto; padding: 20px 0; }
.image-wrapper { position: relative; width: 100%;
    max-height: 600px; overflow: hidden; }
.main-product-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.overlay-text { position: absolute;
    top: 50%; left: 10%; transform: translateY(-50%); color: #fff; max-width: 500px; padding: 20px; }
.overlay-text h1 { font-size: 3em; margin-bottom: 0.5em;
    font-weight: bold; }
.overlay-text p { font-size: 1.2em; margin-bottom: 1.5em; line-height: 1.5; }
.customize-button { display: inline-block; padding: 12px 30px; background-color: #ff5722;
    color: #fff; text-decoration: none; font-size: 1em; border-radius: 5px; transition: background-color 0.3s; }
.customize-button:hover { background-color: #e64a19;
}


/* 2. 四步定制流程/服务区域 (标题和基础样式不变) */
.customization-steps-section {
    text-align: center;
    padding: 30px 30px;
    /* 保持白色背景 */
    background-color: #f5f5f5;
    /* 统一字体 */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.customization-steps-section h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #0f403f;
    /* 强制加粗以解决手机端问题 */
    font-weight: 700;
}

/* 步骤卡片容器 */
.steps-container {
    display: flex;
    /* >>> 修改点 1: 增大最大宽度，以容纳三列 */
    max-width: 1400px; /* 原 1200px */
    margin: 0 auto;
    flex-wrap: wrap;
    /* 调整卡片之间的垂直和水平间距 */
    gap: 40px 30px; /* 垂直 40px，水平 30px */
    justify-content: center; /* 居中对齐 */
}

/* 包裹容器 - Flex Item 和 Relative 定位参考 */
.step-card-wrapper {
    min-width: 250px; /* 最小宽度略增 */
    /* max-width: 280px; */ /* 移除 max-width 让 flex 更好地工作 */
    /* >>> 修改点 2: 默认在大屏幕上，每行 3 个卡片（100% / 3 减去间距） */
    flex: 0 0 calc(33.333% - 20px); /* 1/3 - 间距 */
    position: relative;
    margin-top: 50px;
}

/* 图标容器 (保持不变) */
.icon-wrapper {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 80px;
    height: 80px;
    
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* 步骤项卡片 (保持不变) */
.step-item {
    width: 100%;
    padding: 60px 20px 30px;
    text-align: left;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px;
}

.step-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.step-item p {
    font-size: 0.95em;
    color: #666;
}

/* 响应式设计调整 */

/* 桌面中等尺寸 (992px 及以上) - 保持一排 3 个 (无需修改，由默认 flex 规则控制) */

/* 平板/笔记本小尺寸 (max-width: 992px) - 改为一排 2 个 */
@media (max-width: 992px) {
    .step-card-wrapper {
        /* 1/2 - 间距 */
        flex: 0 0 calc(50% - 15px);
    }
}

/* 手机尺寸 (max-width: 576px) - 保持一排 1 个 */
@media (max-width: 576px) {
    .step-card-wrapper {
        flex: 0 0 100%;
    }
}
