/* =====================================================================
 * 37 脚后跟干裂 · 视觉母题「封包三步示意」
 * ---------------------------------------------------------------------
 * 色板：暖褐（--heel-pri #96603a）+ 陶土橙（--heel-pri2）。
 * 版式：G 分步向导 —— 顶部 1-2-3-4 步骤条，每步一个输入区。
 * 三步示意图全部用纯 CSS 画（盆 / 霜管 / 棉袜），零图片请求。
 * 只作用于 .b11--heel 容器。
 * ===================================================================== */

.b11--heel {
    --heel-pri: #96603a;
    --heel-pri2: #bd8552;
    --heel-hot: #8c4a22;
    --heel-tint: #f0e2d5;
    --heel-ink: #5f3a1d;
    --b11-pri: #96603a;
    --b11-pri2: #bd8552;
    --b11-tint: #f0e2d5;
    --b11-bg: #f5efe8;
    --b11-bg2: #e9dfd2;
    --b11-card2: #faf6f1;
    background-image:
        repeating-linear-gradient(45deg, color-mix(in srgb, var(--heel-pri) 6%, transparent) 0 1px, transparent 1px 12px);
}
:root[data-theme="dark"] .b11.b11--heel {
    --heel-pri: #c79263;
    --heel-pri2: #dcac83;
    --heel-hot: #e08a56;
    --heel-tint: #322318;
    --heel-ink: #e6cbad;
    --b11-pri: #c79263;
    --b11-pri2: #dcac83;
    --b11-tint: #322318;
    --b11-bg: #16120e;
    --b11-bg2: #1d1813;
    --b11-card2: #241d17;
}

/* ---------- 首屏 ---------- */
.heel-hero { padding: 32px 0 4px; }
.heel-hero .b11-h1 em { color: var(--heel-pri); }
.heel-hero .b11-lead b { box-shadow: inset 0 -.42em 0 var(--heel-tint); }
.heel-hero .b11-lead { max-width: 880px; }

/* ---------- 步骤条 ---------- */
.heel-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.heel-step {
    position: relative; cursor: pointer; text-align: left; font-family: inherit;
    background: var(--b11-card); border: 1.5px solid var(--b11-line2);
    padding: 13px 15px 12px; transition: all .16s; display: grid; gap: 3px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.heel-step b { font-family: var(--b11-mono); font-size: 21px; font-weight: 800; color: var(--b11-line2); }
.heel-step span { font-size: var(--b11-sm); color: var(--b11-sub); font-weight: 700; }
.heel-step:hover { border-color: var(--heel-pri); }
.heel-step.is-on { background: var(--heel-tint); border-color: var(--heel-pri); }
.heel-step.is-on b { color: var(--heel-pri); }
.heel-step.is-on span { color: var(--heel-ink); }
.heel-step.is-done b { color: var(--heel-pri2); }

/* ---------- 步骤面板 ---------- */
.heel-pane { margin-top: 20px; }
.heel-pane-hd { display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--b11-line2); }
.heel-pane-hd .no {
    font-family: var(--b11-mono); font-size: 12px; font-weight: 800; letter-spacing: .1em;
    color: var(--b11-on); background: var(--heel-pri); padding: 2px 9px;
}
.heel-pane-hd h2 { flex: 1 1 auto; }
.heel-pane-hd .note { font-size: var(--b11-sm); color: var(--b11-mute); }
.heel-nav { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; }

/* 类型卡 */
.heel-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.heel-type {
    position: relative; cursor: pointer; text-align: left; font-family: inherit;
    background: var(--b11-card); border: 1.5px solid var(--b11-line2); padding: 14px 15px;
    transition: all .16s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.heel-type:hover { border-color: var(--heel-pri); }
.heel-type .nm { display: block; font-size: var(--b11-base); font-weight: 800; color: var(--b11-ink); }
.heel-type .ds { display: block; font-size: var(--b11-xs); color: var(--b11-mute); line-height: 1.68; margin-top: 4px; }
.heel-type .fg { display: inline-block; margin-top: 7px; font-family: var(--b11-mono); font-size: 11px; color: var(--heel-pri); background: var(--heel-tint); padding: 1px 8px; }
.heel-type.on { background: var(--heel-tint); border-color: var(--heel-pri); }
.heel-type.on .nm { color: var(--heel-ink); }
.heel-type.on::after {
    content: "✓"; position: absolute; right: 10px; top: 9px; font-size: 13px; font-weight: 900; color: var(--heel-pri);
}

/* ---------- 封包三步示意 ---------- */
.heel-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b11-gap); }
.heel-trio-item {
    background: var(--b11-card); border: 1px solid var(--b11-line); box-shadow: var(--b11-shadow);
    padding: 18px 18px 16px; display: grid; gap: 7px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.heel-trio-item b { font-size: var(--b11-base); color: var(--b11-ink); }
.heel-trio-item span { font-size: var(--b11-sm); color: var(--b11-sub); line-height: 1.74; }
.heel-trio-item span b { display: inline; font-size: inherit; }
.heel-trio-item em {
    font-style: normal; font-family: var(--b11-mono); font-size: 11px; font-weight: 800;
    color: var(--b11-on); background: var(--heel-pri); padding: 2px 9px; justify-self: start;
}

/* 三个纯 CSS 示意 */
.heel-vis { position: relative; height: 96px; background: var(--heel-tint); border: 1px solid var(--b11-line); overflow: hidden; }
.heel-vis i { position: absolute; display: block; }
/* ① 盆 + 水波 */
.heel-vis--soak i {
    left: 50%; bottom: 16px; width: 84px; height: 40px; margin-left: -42px;
    background: var(--heel-pri); border-radius: 0 0 44px 44px / 0 0 26px 26px;
}
.heel-vis--soak::before {
    content: ""; position: absolute; left: 50%; bottom: 52px; width: 84px; height: 14px; margin-left: -42px;
    background: var(--heel-pri2); border-radius: 50%;
}
.heel-vis--soak::after {
    content: ""; position: absolute; left: 50%; bottom: 62px; width: 56px; height: 22px; margin-left: -28px;
    border-top: 3px solid var(--heel-hot); border-radius: 50%;
}
/* ② 霜管 */
.heel-vis--cream i {
    left: 50%; bottom: 14px; width: 34px; height: 62px; margin-left: -17px;
    background: var(--heel-pri2); border-radius: 6px 6px 3px 3px;
}
.heel-vis--cream::before {
    content: ""; position: absolute; left: 50%; bottom: 72px; width: 22px; height: 12px; margin-left: -11px;
    background: var(--heel-pri); border-radius: 3px 3px 0 0;
}
.heel-vis--cream::after {
    content: ""; position: absolute; left: 50%; bottom: 26px; width: 34px; height: 18px; margin-left: -17px;
    background: var(--heel-tint); border-top: 2px solid var(--heel-hot);
}
/* ③ 棉袜 */
.heel-vis--sock i {
    left: 50%; bottom: 14px; width: 54px; height: 58px; margin-left: -27px;
    background: var(--heel-pri); border-radius: 22px 22px 8px 8px;
}
.heel-vis--sock::before {
    content: ""; position: absolute; left: 50%; bottom: 66px; width: 54px; height: 14px; margin-left: -27px;
    background: var(--heel-pri2); border-radius: 6px;
}
.heel-vis--sock::after {
    content: ""; position: absolute; left: 50%; bottom: 32px; width: 54px; height: 5px; margin-left: -27px;
    background: var(--heel-hot); opacity: .55;
}

/* ---------- 结果 ---------- */
.heel-timeline { list-style: none; margin: 0; padding: 0; counter-reset: ht; }
.heel-timeline li {
    position: relative; counter-increment: ht; padding: 10px 0 10px 40px;
    border-bottom: 1px dotted var(--b11-line2); font-size: var(--b11-sm); color: var(--b11-sub); line-height: 1.74;
}
.heel-timeline li:last-child { border-bottom: 0; }
.heel-timeline li::before {
    content: counter(ht); position: absolute; left: 0; top: 10px; width: 26px; height: 26px;
    display: grid; place-items: center; background: var(--heel-tint); color: var(--heel-pri);
    font-family: var(--b11-mono); font-size: 12px; font-weight: 800;
}
.heel-timeline li b { display: block; color: var(--b11-ink); }
.heel-timeline li .d { font-family: var(--b11-mono); font-size: 11px; color: var(--heel-pri); }

.heel-warn, .heel-routine { list-style: none; margin: 0; padding: 0; }
.heel-warn li {
    position: relative; padding: 9px 0 9px 30px; font-size: var(--b11-sm); color: var(--b11-sub);
    border-bottom: 1px dotted var(--b11-line2); line-height: 1.74;
}
.heel-warn li:last-child { border-bottom: 0; }
.heel-warn li::before {
    content: "!"; position: absolute; left: 0; top: 9px; width: 20px; height: 20px;
    display: grid; place-items: center; background: var(--b11-badbg); color: var(--b11-bad); font-size: 11px; font-weight: 900;
}
.heel-warn li.hit { color: var(--b11-bad); font-weight: 700; }
.heel-routine li {
    position: relative; padding: 8px 0 8px 28px; font-size: var(--b11-sm); color: var(--b11-sub);
    border-bottom: 1px dotted var(--b11-line2); line-height: 1.74;
}
.heel-routine li:last-child { border-bottom: 0; }
.heel-routine li::before {
    content: "✓"; position: absolute; left: 0; top: 8px; width: 19px; height: 19px;
    display: grid; place-items: center; background: var(--b11-okbg); color: var(--b11-ok); font-size: 11px; font-weight: 800;
}
.heel-routine li b { color: var(--b11-ink); }

/* 误区卡 */
.heel-myths { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.heel-myth {
    background: var(--b11-card2); border: 1px solid var(--b11-line); border-left: 4px solid var(--heel-hot);
    padding: 12px 14px;
}
.heel-myth .bad { display: block; font-size: var(--b11-sm); font-weight: 800; color: var(--heel-ink); }
.heel-myth .good { display: block; font-size: var(--b11-xs); color: var(--b11-sub); line-height: 1.7; margin-top: 4px; }

/* ---------- 批量清洗条 ---------- */
.heel-cleanbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    margin-top: 14px; padding: 12px 14px; background: var(--b11-card2);
    border: 1px solid var(--b11-line); font-size: var(--b11-sm);
}
.heel-cleanbar > b { color: var(--heel-pri); font-family: var(--b11-mono); font-size: var(--b11-xs); letter-spacing: .08em; }
.heel-cleanbar code { margin-left: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .heel-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .heel-trio { grid-template-columns: minmax(0, 1fr); }
    .heel-cleanbar code { margin-left: 0; }
}
@media (max-width: 560px) {
    .heel-steps { grid-template-columns: minmax(0, 1fr); }
}
