/* ==========================================================================
   Ice Card CTA + 品牌墙（v7.8.1 批次⑤ D2/D3）
   手机 390px 优先；断点 921/922 跟随 Astra（纯 CSS 显隐，不走 wp_is_mobile）。
   ========================================================================== */

/* ================= 底部 CTA ================= */
.icecard-cta {
    max-width: 720px;
    margin: 34px auto 0;
    padding: 0 16px 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ic-cta-card {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 28px rgba(2, 132, 199, .22);
}
.ic-cta-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.ic-cta-sub {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}
.ic-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.ic-cta-sell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0284c7;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.ic-cta-sell:active { transform: scale(.97); }

/* Contact Support 复用 .icm-support-btn 的点击绑定，覆盖其 36px 圆钮基底为玻璃胶囊 */
.ic-cta-support.icm-support-btn {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ic-cta-support.icm-support-btn:hover,
.ic-cta-support.icm-support-btn:active,
.ic-cta-support.icm-support-btn:focus {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: none;
    outline: none;
    transform: none; /* 覆盖圆钮基底 :active 的 scale(.94) */
}

/* 手机端：CTA 只保留 Sell 主按钮（拍板：手机底部 Tab 已有客服/Help 入口） */
@media (max-width: 921px) {
    .ic-cta-support { display: none !important; }
}

@media (min-width: 922px) {
    .icecard-cta { margin-top: 56px; }
    .ic-cta-card { padding: 42px 32px; }
    .ic-cta-title { font-size: 25px; }
    .ic-cta-sub { font-size: 15px; margin-bottom: 26px; }
}

/* ================= 品牌墙 ================= */
.icecard-wall {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 0 16px 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
}
.ic-wall-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.ic-wall-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.ic-wall-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}
.ic-wall-logo img { width: 100%; height: 100%; object-fit: contain; }
.ic-wall-letter {
    font-size: 17px;
    font-weight: 800;
    color: #64748b;
}
.ic-wall-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.6;
    color: #64748b;
}
.ic-wall-note a { color: #0284c7; text-decoration: none; font-weight: 600; }
.ic-wall-note a:hover { text-decoration: underline; }

/* 品牌墙里的 Live Chat 是文字链样式（复用 .icm-support-btn 点击绑定，覆盖圆钮基底） */
.ic-wall-live.icm-support-btn {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    display: inline;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0284c7;
    font-size: inherit;
    font-weight: 600;
    font-family: inherit;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
}
.ic-wall-live.icm-support-btn:hover,
.ic-wall-live.icm-support-btn:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
    text-decoration: underline;
}

@media (min-width: 922px) {
    .icecard-wall { margin-top: 56px; }
    .ic-wall-title { font-size: 24px; margin-bottom: 24px; }
    .ic-wall-logos { gap: 14px; }
    .ic-wall-logo { width: 60px; height: 60px; flex-basis: 60px; border-radius: 14px; }
    .ic-wall-letter { font-size: 20px; }
    .ic-wall-note { font-size: 14px; margin-top: 22px; }
}

/* ================= 显示范围（CDN 安全：纯 CSS，不走 wp_is_mobile） ================= */
@media (min-width: 922px) {
    .icecard-wall-scope-mobile { display: none !important; }
}
@media (max-width: 921px) {
    .icecard-wall-scope-desktop { display: none !important; }
}

/* ==========================================================================
   Sell 页增强（v7.8.2 批次⑤收官）：4 步流程 + 短版 Why
   默认仅桌面显示（scope=desktop）；手机核价屏信任三板已覆盖同内容。
   ========================================================================== */
.icecard-sell-extras {
    max-width: 960px;
    margin: 56px auto 0;
    padding: 0 16px 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
}
.icecard-sell-extras .ic-se-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ic-se-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    background: rgba(14, 165, 233, .1);
    border: 1px solid rgba(14, 165, 233, .25);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
}
.ic-se-badge::before { content: "✓"; font-weight: 800; }

/* 4 步流程 */
.ic-se-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: icse;
}
.ic-se-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}
.ic-se-num {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ic-se-body { display: flex; flex-direction: column; gap: 6px; }
.ic-se-t { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.35; }
.ic-se-d { font-size: 13px; line-height: 1.6; color: #64748b; }

/* Why 四卡 */
.ic-se-why { margin-top: 44px; }
.ic-se-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ic-se-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ic-se-ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(14, 165, 233, .12);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ic-se-ic svg { width: 20px; height: 20px; display: block; }

/* 窄桌面/平板：4 列 → 2 列 */
@media (max-width: 1100px) and (min-width: 922px) {
    .ic-se-list, .ic-se-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 显示范围（与品牌墙同一套纯 CSS 显隐规则） */
@media (min-width: 922px) {
    .icecard-se-scope-mobile { display: none !important; }
}
@media (max-width: 921px) {
    .icecard-se-scope-desktop { display: none !important; }
}
