/* =============================================================
   MOBILE PDP 购买区复刻（2026-11-23，对标 keeps.com 390 实测）
   参考值：
     Select Your Plan  p 16/24 w700
     分段控件 340×52，未选 cell 透明底(#FAFAF5 0.5)，选中 cell 白底 + 1.5px #231E20 边框 + 6px 圆角
     BEST VALUE 8px w700 #810000，位于档位文字下方
     MINOXIDIL TYPE 行：radio 18×18，标签 16px，可点行高 ≥44
     ADD TO CART：整宽 340×56，黑底白字 12px ls1.8 w700，圆角 2px
     价格行：原价灰 #808080 细删除线，现价 #E22631 粗体，月价同色
   ============================================================= */
@media (max-width: 900px) {
  .kp-pdp__planlabel { font-size: 16px; line-height: 24px; font-weight: 700; margin: 24px 0 16px; }

  /* 分段控件 */
  .kp-pdp__plans {
    display: flex;
    flex-direction: row;
    gap: 0;
    border: 0;
    background: rgba(250, 250, 245, .5);
    border-radius: 6px;
    padding: 0;
  }
  .kp-plan + .kp-plan { border-left: 0; border-top: 0; }
  .kp-plan {
    position: relative;
    flex: 1 1 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 0;
    padding: 6px 4px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
  }
  .kp-plan input[type="radio"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .kp-plan__label { font-size: 16px; line-height: 20px; font-weight: 400; color: var(--kp-ink); }
  .kp-plan__best { font-size: 8px; line-height: 10px; font-weight: 700; letter-spacing: .4px; color: #810000; text-transform: uppercase; }
  .kp-plan.is-checked { background: #fff; border-color: var(--kp-ink); }
  .kp-plan.is-checked .kp-plan__label { font-weight: 700; }

  /* MINOXIDIL TYPE / 变体行：≥44 可点 */
  .kp-pdp__variantlabel { font-size: 16px; line-height: 24px; font-weight: 700; margin: 24px 0 8px; }
  .kp-pdp__variants { display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .kp-variant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--kp-ink);
    text-decoration: none;
  }
  .kp-variant input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--kp-ink);
  }
  .kp-variant__dot {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--kp-ink);
    border-radius: 50%;
    position: relative;
    flex: 0 0 18px;
  }
  .kp-variant.is-active .kp-variant__dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--kp-ink);
  }

  /* 加购按钮 */
  .kp-pdp__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin: 24px 0 0;
    border: 0;
    border-radius: 2px;
    background: var(--kp-ink);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
  }

  /* 价格行：原价灰细删除线 + 现价红 + 月价 */
  .kp-pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 16px 0 0; }
  .kp-pdp__price .kp-price__now { font-size: 20px; line-height: 28px; font-weight: 700; color: #E22631; }
  .kp-pdp__price .kp-price__slash { display: none; }
  .kp-pdp__price .kp-price__was {
    order: -1;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
  }
  .kp-pdp__price .kp-price__mo { font-size: 16px; line-height: 24px; color: #E22631; }
  .kp-pdp__price .kp-price__now { font-size: 20px; line-height: 28px; }
}
