/* ==========================================
   STYLE: 移动端产品详情 (mobile-detail)
   适用于 .mobile-detail 容器下的 slice-section 结构
   与 sell_custom.css (commercial) 风格保持统一
   ========================================== */

.mobile-detail {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    background: #ffffff;
    color: #222222;
    line-height: 1.8;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* === Slice Section 通用容器 === */
.slice-section {
    padding: 35px 25px;
}
.border-b {
    border-bottom: 1px solid #f0f0f0;
}

.slice-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #222222;
    margin-bottom: 8px;
}
.slice-title span {
    color: #dd0000;
}
.slice-subtitle {
    font-size: 14px;
    color: #888888;
    text-align: center;
    margin-bottom: 25px;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, #dd0000 0%, #e67e22 100%);
    text-align: center;
    color: #ffffff;
    padding: 40px 25px 30px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.hero-title span {
    display: inline-block;
    margin: 0 5px;
}
.hero-desc {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 20px 0;
    color: #ffffff;
}
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.hero-tag {
    background: #ffcc00;
    color: #dd0000;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* === Section Image === */
.section-img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

/* === Pain Section (常见烦恼) === */
.pain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}
.pain-card {
    flex: 1;
    min-width: 200px;
    background: #fdf2f2;
    border: 2px dashed #f5c6cb;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.pain-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #dd0000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}
.pain-content {
    flex: 1;
}
.pain-title {
    color: #dd0000;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 6px 0;
}
.pain-content p {
    font-size: 13px;
    color: #555555;
    margin: 0;
    line-height: 1.7;
}

/* === Scenario Section (应用场景) === */
.scenario-card {
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}
.scenario-tag {
    display: inline-block;
    background: #dd0000;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}
.scenario-title {
    font-size: 18px;
    font-weight: bold;
    color: #222222;
    margin: 8px 0;
}
.scenario-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.8;
    margin: 0;
}

/* === Material Section (材质工艺) === */
.material-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.material-card {
    flex: 1;
    min-width: 200px;
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 18px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.material-icon {
    font-size: 28px;
    color: #dd0000;
    display: block;
    margin-bottom: 8px;
}
.material-name {
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 6px;
}
.material-text {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* === Process Section (定制流程) === */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}
.process-step {
    flex: 1;
    min-width: 160px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}
.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #dd0000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.step-content {}
.step-title {
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    margin: 0 0 6px 0;
}
.step-desc {
    font-size: 12px;
    color: #888888;
    margin: 0;
    line-height: 1.6;
}

/* === Specs Section (参数表格) === */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.specs-table td {
    padding: 12px 15px;
    border: 1px solid #f0f0f0;
}
.specs-label {
    width: 120px;
    background: #f8f8f8;
    font-weight: bold;
    color: #333333;
    white-space: nowrap;
}
.specs-value {
    color: #555555;
}

/* === SKU Section (套餐选择) === */
.sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.sku-card {
    flex: 1;
    min-width: 240px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.sku-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.sku-card-hot {
    border-color: #dd0000;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}
.hot-badge {
    position: absolute;
    top: -1px;
    right: 15px;
    background: #dd0000;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: bold;
}
.sku-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.sku-name {
    font-size: 16px;
    font-weight: bold;
    color: #222222;
}
.sku-price {
    font-size: 22px;
    font-weight: bold;
    color: #dd0000;
}
.sku-price span {
    font-size: 13px;
    color: #888888;
    font-weight: normal;
}
.sku-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sku-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #555555;
    border-bottom: 1px dashed #f5f5f5;
}
.sku-features li::before {
    content: "✓ ";
    color: #dd0000;
    font-weight: bold;
}

/* === Install Section (安装说明) === */
.install-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.install-card {
    flex: 1;
    min-width: 160px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s;
}
.install-card:hover {
    transform: translateY(-3px);
}
.install-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #dd0000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.install-card h4 {
    font-size: 15px;
    color: #222222;
    margin: 0 0 6px 0;
}
.install-card p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* === FAQ Section === */
.disclaimer-box {
    background: #fffbeb;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.disclaimer-title {
    font-size: 16px;
    font-weight: bold;
    color: #b8860b;
    margin-bottom: 10px;
}
.disclaimer-list {
    padding-left: 20px;
    margin: 0;
}
.disclaimer-list li {
    font-size: 13px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 6px;
}

.faq-accordion {}
.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 15px;
    color: #dd0000;
    background: rgba(0,0,0,0.02);
}
.faq-a {
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .mobile-detail { border: none; }
    .hero-section { padding: 30px 15px 25px; }
    .hero-title { font-size: 22px; }
    .hero-tags { gap: 8px; }
    .hero-tag { padding: 4px 10px; font-size: 11px; }
    .slice-section { padding: 25px 15px; }
    .slice-title { font-size: 18px; }
    .pain-grid { flex-direction: column; }
    .pain-card { min-width: auto; }
    .material-features { flex-direction: column; }
    .material-card { min-width: auto; }
    .process-flow { flex-direction: column; }
    .process-step { min-width: auto; }
    .sku-list { flex-direction: column; }
    .sku-card { min-width: auto; }
    .install-grid { flex-direction: column; }
    .install-card { min-width: auto; }
    .specs-label { width: 90px; font-size: 13px; }
    .specs-value { font-size: 13px; }
}
