/* ============================================================
   HP Product detail — Health Peptide US replica (shop skin)
   ============================================================ */
.hp-pdp{--pdp-blue:#1A97D5;--pdp-ink:#111;--pdp-mut:#888;--pdp-line:#e6e6e6;
  font-family:'Montserrat',Arial,Helvetica,sans-serif;color:#000;background:#fff;padding-bottom:40px}
.hp-pdp *{box-sizing:border-box}
.hp-pdp .hp-pdp-wrap{max-width:1450px;margin:0 auto;padding:0 15px}
.hp-pdp a{text-decoration:none;color:inherit}

/* ---------- coupon strip ---------- */
.hp-cpn{padding:26px 0 6px}
.hp-cpn-inner{max-width:650px;margin:0 auto;text-align:center}
.hp-cpn-title{font-size:22px;font-weight:600;color:#111;margin:0 0 6px;line-height:1.3}
.hp-cpn-sub{font-size:14px;color:#555;margin:0 0 16px}
.hp-cpn .cpn-item{display:flex;background:rgba(237,86,36,.04);border:1px solid rgba(237,86,36,.2);border-radius:8px;overflow:hidden;position:relative;text-align:left}
.hp-cpn .cpn-l{width:90px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#ED5624;border-right:2px dashed rgba(237,86,36,.2);flex-shrink:0}
.hp-cpn .cpn-l .v{font-size:26px;font-weight:700;line-height:1.1}
.hp-cpn .cpn-l .o{font-size:15px;font-weight:500}
.hp-cpn .cpn-l::before,.hp-cpn .cpn-l::after{content:'';position:absolute;left:79px;width:20px;height:20px;background:#fff;border-radius:50%;border:1px solid rgba(237,86,36,.2);z-index:2}
.hp-cpn .cpn-l::before{top:-11px}
.hp-cpn .cpn-l::after{bottom:-11px}
.hp-cpn .cpn-r{flex:1;padding:16px 20px;display:flex;flex-direction:column;gap:8px;justify-content:center}
.hp-cpn .cpn-t{font-size:14px;font-weight:600;color:#ED5624}
.hp-cpn .cpn-ti{font-size:12px;font-weight:500;color:rgba(237,86,36,.7);display:flex;align-items:center;gap:4px}
.hp-cpn .cpn-ti svg{fill:currentColor;width:14px;height:14px}
.hp-cpn .cpn-c{background:#ED5624;color:#fff;border-radius:4px;padding:8px 12px;display:flex;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;cursor:pointer;margin-top:4px;user-select:none;border:0;width:100%;font-family:inherit}
.hp-cpn .cpn-c:hover{opacity:.9}
.hp-cpn .cpn-c svg{fill:#fff;width:15px;height:15px}

/* ---------- layout ---------- */
.hp-pdp-main{display:grid;grid-template-columns:670fr 670fr;gap:55px;align-items:start;padding-top:18px}
@media(max-width:1100px){.hp-pdp-main{grid-template-columns:1fr;gap:28px}}

/* ---------- gallery ---------- */
.hp-gal{position:relative}
.hp-gal-stage{position:relative;border:1px solid #f0f0f0;background:#fff;overflow:hidden}
.hp-gal-stage img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;cursor:zoom-in;background:#fff}
.hp-gal-off{position:absolute;top:12px;right:12px;background:var(--pdp-blue);color:#fff;font-size:13px;font-weight:700;line-height:1;padding:7px 9px;border-radius:3px;z-index:2}
.hp-gal-zoom{position:absolute;left:12px;bottom:12px;font-size:12px;color:#777;display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.9);padding:4px 8px;border-radius:3px}
.hp-gal-thumbs{display:flex;gap:10px;margin-top:10px;overflow-x:auto;scrollbar-width:none}
.hp-gal-thumbs::-webkit-scrollbar{display:none}
.hp-gal-thumbs button{flex:0 0 118px;width:118px;height:118px;padding:0;border:1px solid #eee;background:#fff;cursor:pointer;overflow:hidden}
.hp-gal-thumbs button.is-on{border-color:var(--pdp-blue)}
.hp-gal-thumbs img{width:100%;height:100%;object-fit:contain;display:block}
.hp-gal-none{padding:80px 0;text-align:center;color:#999}
/* 手机端多图滑动相册（桌面端隐藏） */
.hp-gal-slider{display:none}
.hp-gal-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
.hp-gal-track::-webkit-scrollbar{display:none}
.hp-gal-slide{flex:0 0 100%;width:100%;scroll-snap-align:center;scroll-snap-stop:always}
.hp-gal-slide img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;cursor:zoom-in}
.hp-gal-dots{display:none;justify-content:center;align-items:center;gap:6px;margin-top:9px}
.hp-gal-dots i{display:block;width:6px;height:6px;border-radius:99px;background:rgba(0,0,0,.2);transition:width .18s ease,background .18s ease}
.hp-gal-dots i.is-on{width:17px;background:var(--pdp-blue)}

/* ---------- info ---------- */
.hp-info{padding-top:2px}
.hp-info h1{font-size:30px;line-height:1.25;font-weight:600;color:#000;margin:0 0 14px}
.hp-info-short{font-size:14px;line-height:1.6;color:#444;margin:0 0 16px}
.hp-info-short p{margin:0 0 10px}
.hp-info-short ul{margin:0 0 10px;padding-left:18px}
.hp-price{font-size:20px;font-weight:600;color:var(--pdp-blue);margin:0 0 12px;line-height:1.25}
.hp-price del{color:#b3b3b3;font-weight:400;font-size:16px;margin-right:6px}
.hp-price .hp-price-cur{font-size:16px;font-weight:600}
.hp-sold{font-size:16px;line-height:1.5;margin:0 0 14px}
.hp-sold b{font-size:19px;font-weight:700;color:#1e293b;margin-right:4px}
.hp-sold span{color:#444;margin-left:6px}

/* dt list */
.hp-dt{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:10px}
.hp-dt li{display:flex;align-items:center;padding:8px 4px;margin:0}
.hp-dt svg{width:18px;height:18px;margin-right:12px;flex-shrink:0}
.hp-dt .dt-txt{font-size:14px;display:flex;align-items:center;flex-wrap:wrap;gap:4px;line-height:1.4}
.hp-dt .b{font-weight:700}
.hp-dt .r{color:#FF526C}
.hp-dt .p{color:#8921FF}
.hp-dt .g{color:#999}
.hp-dt .d{color:#000}
.hp-dt img{height:14px;margin:0 4px}

/* options */
.hp-opt{margin:0 0 18px}
.hp-opt-label{font-size:14px;font-weight:600;color:#222;margin:0 0 10px;display:block}
.hp-opt-row{display:flex;gap:10px;flex-wrap:wrap}
.hp-sw{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:11px 16px;border-radius:5px;background:#fff;color:#242424;
  font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);transition:box-shadow .15s,color .15s;font-family:inherit}
.hp-sw:hover{box-shadow:inset 0 0 0 1px rgba(0,0,0,.35)}
.hp-sw.is-on{box-shadow:inset 0 0 0 2px var(--pdp-blue);color:var(--pdp-blue)}
.hp-sw[disabled]{opacity:.42;cursor:not-allowed;text-decoration:line-through}

/* dose specifications */
.hp-spec{margin:2px 0 16px}
.hp-spec-row{display:flex;gap:10px;flex-wrap:wrap}
.hp-spec .hp-sw{min-width:78px;padding:10px 14px;letter-spacing:.01em}
.hp-spec-row.is-loading{opacity:.5}

/* qty + buttons */
.hp-buy{margin:6px 0 22px}
.hp-qty{display:inline-flex;align-items:center;width:90px;height:40px;border:1px solid #e9e9e9;border-radius:3px;margin:0 0 12px;overflow:hidden;background:#fff}
.hp-qty button{width:30px;height:100%;border:0;background:#fff;color:#333;font-size:16px;line-height:1;cursor:pointer;padding:0;font-family:inherit}
.hp-qty button:hover{background:#f6f6f6}
.hp-qty button[disabled]{opacity:.35;cursor:not-allowed}
.hp-qty input{flex:1 1 auto;width:30px;height:100%;border:0;text-align:center;font-size:14px;color:#000;background:transparent;padding:0;font-family:inherit;-moz-appearance:textfield}
.hp-qty input::-webkit-outer-spin-button,.hp-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hp-btns{display:flex;gap:10px;flex-wrap:wrap}
.hp-btn-cart,.hp-btn-buy{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:136px;padding:12px 20px;border:0;border-radius:0;background:var(--pdp-blue);color:#fff;
  font-size:13px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;line-height:1.2;cursor:pointer;font-family:inherit;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15);transition:background .18s}
.hp-btn-cart:hover,.hp-btn-buy:hover{background:#1487c1}
.hp-btn-cart[disabled],.hp-btn-buy[disabled]{background:#c9d4dc;cursor:not-allowed;box-shadow:none}
.hp-btn-buy{min-width:110px}
.hp-buy-note{font-size:12px;color:#8a8a8a;margin:10px 0 0}
.hp-buy-total{font-size:14px;color:#333;margin:0 0 10px;font-weight:600}
.hp-buy-total b{color:var(--pdp-blue);font-size:17px}

/* recent orders */
.hp-ro{max-width:750px;font-size:14px;color:#333;margin:0 0 22px}
.hp-ro-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px;gap:10px}
.hp-ro-title{font-size:16px;font-weight:600;color:#222;margin:0 0 4px}
.hp-ro-time{color:#888;font-size:13px}
.hp-ro-num{display:flex;align-items:center;gap:4px;color:#666}
.hp-ro-num svg{width:14px;height:14px}
.hp-ro-table{border:1px solid #ebebeb;border-radius:6px;overflow:hidden}
.hp-ro-th{display:flex;background:#f9f9f9;color:#777;font-weight:500;padding:12px 16px;border-bottom:1px solid #ebebeb}
.hp-ro-tr{display:flex;padding:12px 16px;border-bottom:1px solid #f2f2f2;align-items:center;color:#333}
.hp-ro-tr:last-child{border-bottom:none}
.hp-ro-th div,.hp-ro-tr div{flex:1}
.hp-ro-th div:nth-child(1),.hp-ro-tr div:nth-child(1){flex:1.5;display:flex;align-items:center;gap:8px}
.hp-ro-tr img{height:14px;border-radius:2px}

/* trust */
.hp-tt{max-width:750px;font-size:14px;color:#333}
.hp-tt-alert{border:1px solid #f0f0f0;border-left:4px solid #38B336;border-radius:4px;margin-bottom:16px;background:#fff}
.hp-tt-h{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #f5f5f5;color:#38B336;font-weight:600;font-size:15px;gap:8px}
.hp-tt-h svg{width:18px;height:18px;fill:#38B336}
.hp-tt-b{display:flex;padding:12px 16px;background:#fafafa;border-radius:0 0 4px 4px}
.hp-tt-b>div{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;border-right:1px solid #eaeaea}
.hp-tt-b>div:last-child{border-right:none}
.hp-tt-badge{background:#333;color:#fff;padding:2px 6px;border-radius:3px;font-weight:700;font-size:12px}
.hp-tt-t{color:#888;font-size:13px}
.hp-cert{border:1px solid #f0f0f0;border-radius:4px;overflow:hidden;background:#fff}
.hp-cert-h{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#38B336;color:#fff;font-weight:600;font-size:15px;cursor:pointer;border:0;width:100%;font-family:inherit;text-align:left}
.hp-cert-h-l{display:flex;align-items:center;gap:8px}
.hp-cert-h svg.ic{width:18px;height:18px;fill:#fff}
.hp-cert-h .arrow{width:18px;height:18px;fill:#fff;transition:transform .3s;transform:rotate(180deg)}
.hp-cert.is-closed .arrow{transform:rotate(0)}
.hp-cert-main{display:block;padding:16px}
.hp-cert.is-closed .hp-cert-main{display:none}
.hp-cert-items{display:flex;justify-content:space-between;gap:8px}
.hp-cert-item{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.hp-cert-item svg{width:30px;height:30px;fill:#333}
.hp-cert-item p{margin:0;color:#666;font-size:13px;font-weight:500}

/* ---------- tabs ---------- */
.hp-tabs{margin:34px 0 0;border-top:1px solid #ececec}
.hp-tabnav{display:flex;gap:0;flex-wrap:wrap;border-bottom:1px solid #ececec}
.hp-tabnav button{background:transparent;border:0;border-bottom:2px solid transparent;padding:14px 19px;font-size:16px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#333;cursor:pointer;font-family:inherit;line-height:1.1}
.hp-tabnav button:hover{color:var(--pdp-blue)}
.hp-tabnav button.is-on{color:var(--pdp-blue);border-bottom-color:var(--pdp-blue)}
.hp-tabpanel{display:none;padding:22px 2px 8px;font-size:14px;line-height:1.6;color:#000}
.hp-tabpanel.is-on{display:block}
.hp-tabpanel h2,.hp-tabpanel h3{font-size:20px;font-weight:600;margin:0 0 14px;color:#111}
.hp-tabpanel h4{font-size:16px;font-weight:600;margin:22px 0 10px;color:#111}
.hp-tabpanel p{margin:0 0 14px}
.hp-tabpanel ul,.hp-tabpanel ol{margin:0 0 16px;padding-left:22px}
.hp-tabpanel li{margin:0 0 8px}
.hp-tabpanel img{max-width:100%;height:auto}
.hp-tabpanel table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.hp-tabpanel th,.hp-tabpanel td{border:1px solid #ececec;padding:10px 12px;text-align:left}
.hp-tabpanel th{background:#fafafa;font-weight:600;width:220px}
.hp-tab-empty{color:#777;padding:12px 0}

/* ---------- related ---------- */
.hp-related{margin:46px 0 10px}
.hp-related h2{font-size:26px;font-weight:700;color:#111;margin:0 0 22px}
.hp-rel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}
.hp-rel-card{position:relative;text-align:center}
.hp-rel-media{position:relative;display:block;background:#fff;padding:10px;border:1px solid #f2f2f2}
.hp-rel-media img{width:100%;aspect-ratio:1/1;object-fit:contain;display:block}
.hp-rel-off{position:absolute;top:10px;left:10px;background:var(--pdp-blue);color:#fff;font-size:12px;font-weight:700;padding:5px 7px;border-radius:2px;line-height:1}
.hp-rel-title{font-size:14px;font-weight:600;color:#111;margin:10px 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.hp-rel-title a:hover{color:var(--pdp-blue)}
.hp-rel-price{font-size:14px;color:var(--pdp-blue);font-weight:600}
.hp-rel-price del{color:#b3b3b3;font-weight:400;margin-right:6px}
@media(max-width:1100px){.hp-rel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.hp-rel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}}

/* ---------- zoom overlay ---------- */
.hp-zoom{position:fixed;inset:0;background:rgba(255,255,255,.97);z-index:1500;display:none;align-items:center;justify-content:center;padding:24px}
.hp-zoom.is-open{display:flex}
.hp-zoom img{max-width:min(1000px,92vw);max-height:88vh;object-fit:contain}
.hp-zoom-close{position:absolute;top:18px;right:22px;width:44px;height:44px;border-radius:50%;border:1px solid #ddd;background:#fff;font-size:24px;line-height:1;cursor:pointer;color:#111}

/* ---------- tablet / mobile: fluid, scales from 1024 down to 320 ---------- */
@media(max-width:1024px){
  .hp-pdp .hp-pdp-wrap{padding:0 clamp(14px,3.4vw,24px)}
}

@media(max-width:860px){
  /* 容器 */
  .hp-pdp{padding-bottom:28px}
  .hp-pdp .hp-pdp-wrap{padding:0 clamp(12px,3.6vw,16px)}
  .hp-pdp-main{gap:clamp(16px,4.4vw,28px);padding-top:clamp(10px,3vw,18px)}

  /* 优惠券条 */
  .hp-cpn{padding:clamp(14px,4vw,26px) 0 4px}
  .hp-cpn-inner{max-width:100%}
  .hp-cpn-title{font-size:clamp(17px,4.6vw,20px)}
  .hp-cpn-sub{font-size:clamp(12px,3.3vw,13.5px);margin-bottom:clamp(10px,2.6vw,16px)}
  .hp-cpn .cpn-l{--cpn-lw:clamp(60px,18.5vw,78px);width:var(--cpn-lw)}
  .hp-cpn .cpn-l .v{font-size:clamp(19px,5.4vw,24px)}
  .hp-cpn .cpn-l .o{font-size:clamp(12px,3.4vw,14px)}
  .hp-cpn .cpn-l::before,.hp-cpn .cpn-l::after{left:calc(var(--cpn-lw) - 11px)}
  .hp-cpn .cpn-r{padding:clamp(10px,2.8vw,14px) clamp(10px,3.2vw,16px);gap:6px}
  .hp-cpn .cpn-t{font-size:clamp(12.5px,3.4vw,14px)}
  .hp-cpn .cpn-ti{font-size:clamp(11px,3vw,12px)}
  .hp-cpn .cpn-c{padding:clamp(7px,2vw,9px) 10px;font-size:clamp(12.5px,3.4vw,14px)}

  /* 主图与缩略图 */
  .hp-pdp-main>*{min-width:0}
  .hp-gal,.hp-gal-slider,.hp-gal-track,.hp-gal-slide{min-width:0}
  .hp-gal-track{width:100%}
  .hp-gal-thumbs{gap:8px;margin-top:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding-bottom:2px}
  .hp-gal-thumbs button{flex:0 0 clamp(60px,18vw,88px);width:clamp(60px,18vw,88px);height:clamp(60px,18vw,88px);scroll-snap-align:start}
  .hp-gal-stage img{aspect-ratio:360/333;object-fit:cover}
  /* 多图：主图区横向滑动（scroll-snap），下方小图可滑动并跟随高亮 */
  .hp-gal.has-slider .hp-gal-stage>img[data-hp-main-img]{display:none}
  .hp-gal-slider{display:block}
  .hp-gal-slider .hp-gal-slide img{aspect-ratio:360/333;object-fit:cover}
  .hp-gal.has-slider .hp-gal-dots{display:flex}
  .hp-gal-off{font-size:12px;padding:5px 7px}
  .hp-gal-zoom{font-size:11.5px;padding:4px 7px}

  /* 标题 / 价格 / 卖点 */
  .hp-info h1{font-size:clamp(21px,7.2vw,28px);line-height:1.22;margin-bottom:12px}
  .hp-info-short{font-size:clamp(13px,3.5vw,14px);margin-bottom:14px}
  .hp-price{font-size:clamp(17px,4.7vw,20px);margin-bottom:10px}
  .hp-price del{font-size:clamp(14px,3.8vw,16px)}
  .hp-price .hp-price-cur{font-size:clamp(14px,3.8vw,16px)}
  .hp-sold{font-size:clamp(14px,3.8vw,16px);margin-bottom:12px}
  .hp-sold b{font-size:clamp(16px,4.4vw,19px)}
  .hp-dt{gap:6px;margin-bottom:14px}
  .hp-dt li{padding:6px 2px}
  .hp-dt svg{width:16px;height:16px;margin-right:8px}
  .hp-dt .dt-txt{font-size:clamp(12.5px,3.4vw,14px);line-height:1.45}

  /* 数量 / 按钮：与参考站一致，数量 + 两个按钮同一行 */
  .hp-buy{margin:4px 0 18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
  .hp-buy-total{grid-column:1/-1;font-size:clamp(13px,3.5vw,14px);margin-bottom:2px}
  .hp-buy-total b{font-size:clamp(15px,4.1vw,17px)}
  .hp-qty{grid-column:1;grid-row:2;width:clamp(84px,24vw,94px);height:42px;margin:0}
  .hp-qty button{width:26px;font-size:16px}
  .hp-qty input{font-size:15px}
  .hp-btns{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .hp-btn-cart,.hp-btn-buy{width:100%;min-width:0;height:42px;padding:0 4px;
    font-size:clamp(11.5px,3.2vw,13px);letter-spacing:0;white-space:nowrap}
  .hp-buy-note{grid-column:1/-1;font-size:clamp(11px,2.9vw,12px);margin-top:8px}

  /* Recent orders */
  .hp-ro{font-size:clamp(12.5px,3.3vw,14px);margin-bottom:18px}
  .hp-ro-title{font-size:clamp(14px,3.7vw,16px)}
  .hp-ro-time{font-size:clamp(11.5px,3vw,13px)}
  .hp-ro-th,.hp-ro-tr{padding:10px 12px}
  .hp-ro-th div:nth-child(2),.hp-ro-tr div:nth-child(2){display:none}

  /* Trusted store / cert */
  .hp-tt{font-size:clamp(12.5px,3.3vw,14px)}
  .hp-tt-h{font-size:clamp(14px,3.6vw,15px);padding:11px 14px}
  .hp-tt-b{flex-wrap:nowrap;gap:0;padding:10px 8px}
  .hp-tt-b>div{border-right:1px solid #eaeaea;flex:1 1 0;min-width:0;padding:0 3px;
    gap:4px;justify-content:center;white-space:nowrap;text-align:center}
  .hp-tt-b>div:last-child{border-right:none}
  .hp-tt-badge{font-size:clamp(9.5px,2.6vw,12px);padding:2px 5px;white-space:nowrap}
  .hp-tt-t{font-size:clamp(9.5px,2.7vw,13px);white-space:nowrap;line-height:1.25}
  .hp-cert-h{font-size:clamp(14px,3.6vw,15px);padding:11px 14px}
  .hp-cert-items{flex-wrap:wrap;gap:10px}
  .hp-cert-item{flex:1 0 46%}
  .hp-cert-item p{font-size:clamp(12px,3.2vw,13px)}
  .hp-cert-item svg{width:26px;height:26px}

  /* Tabs */
  .hp-tabs{margin-top:26px}
  .hp-tabnav{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .hp-tabnav::-webkit-scrollbar{display:none}
  .hp-tabnav button{flex:0 0 auto;white-space:nowrap;padding:12px 14px;font-size:clamp(12.5px,3.4vw,14px)}
  .hp-tabpanel{padding:16px 0 6px;font-size:clamp(13px,3.4vw,14px);line-height:1.6}
  .hp-tabpanel h2{font-size:clamp(17px,4.4vw,19px);margin-bottom:12px}
  .hp-tabpanel h3{font-size:clamp(16px,4.2vw,18px)}
  .hp-tabpanel h4{font-size:clamp(14px,3.7vw,15.5px);margin:18px 0 8px}
  .hp-tabpanel ul,.hp-tabpanel ol{padding-left:18px}
  .hp-tabpanel table{font-size:clamp(12.5px,3.3vw,14px)}
  .hp-tabpanel th,.hp-tabpanel td{padding:9px 11px}

  /* Related */
  .hp-related{margin:32px 0 6px}
  .hp-related h2{font-size:clamp(18px,4.8vw,21px);margin-bottom:16px}
  .hp-rel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .hp-rel-title{font-size:clamp(12.5px,3.4vw,14px);min-height:auto}
  .hp-rel-price{font-size:clamp(12.5px,3.4vw,14px)}
  .hp-rel-media{padding:8px}

  /* 放大层 */
  .hp-zoom{padding:12px}
  .hp-zoom-close{top:10px;right:10px;width:40px;height:40px;font-size:21px}
}

/* 窄屏：详情表改成上下堆叠，避免两列被挤变形 */
@media(max-width:640px){
  .hp-tabpanel table{display:block;border-collapse:separate;border-spacing:0}
  .hp-tabpanel tbody,.hp-tabpanel tr,.hp-tabpanel th,.hp-tabpanel td{display:block;width:100%}
  .hp-tabpanel tr{border:1px solid #ececec;border-radius:4px;overflow:hidden;margin:0 0 8px}
  .hp-tabpanel th{background:#fafafa;border:0;border-bottom:1px dashed #eee;border-radius:0;
    font-size:clamp(12px,3.2vw,13px);padding:8px 11px}
  .hp-tabpanel td{border:0;padding:10px 11px;word-break:break-word}
}

/* 极窄屏（≤360）再收一档 */
@media(max-width:360px){
  .hp-pdp .hp-pdp-wrap{padding:0 11px}
  .hp-cpn .cpn-ti{display:none}
  .hp-qty{width:78px}
  .hp-btn-cart,.hp-btn-buy{height:42px;font-size:11px}
  .hp-gal-thumbs button{flex:0 0 58px;width:58px;height:58px}
  .hp-related h2{font-size:18px}
}
