/* 商品详情页（/robots/{slug}）样式：按原型 pc-robot-detail.html 的「中间商品区」落地。
   三条约定，改这里之前先读一遍：
   1) 所有规则都限定在 .pd-scope 内 —— 站点头部/页脚与其它页面完全不受影响；
   2) 设计变量定义在 .pd-scope 上（不是 :root），同名变量只在本页商品区生效；
   3) 与 commerce.css / rental-booking.css 重名的类（.card/.section/.crumb/.rv/.badge/.spec）
      靠前缀带来的更高特异度取胜，与样式表加载顺序无关。
   原型里只属于头部（.topbar 三层顶栏）、页脚（.footer）、右侧悬浮工具条（.float-bar）的
   规则一律不搬 —— 本站头尾由壳层注入，与本页样式互不干扰。
   金额口径必须与后端一致：logic/globalrobot/transaction.go 的 rentalPricing/rentalLongTermRate，
   前端只在 product-detail.js 里按服务端下发的档位表换算，不自己写死折扣。 */

.pd-scope {
    --brand: #E63939;
    --brand-deep: #CE2B2B;
    --brand-light: #FDEDED;
    --brand-line: #FFC9C4;
    --text-1: #1B1B1F;
    --text-2: #55585F;
    --text-3: #9A9AA5;
    --bg: #F5F6F8;
    --line: #ECECF0;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(27, 27, 31, .03), 0 6px 20px rgba(27, 27, 31, .05);
    --shadow-h: 0 4px 14px rgba(27, 27, 31, .06), 0 16px 36px rgba(27, 27, 31, .10);
    --hair: #F2F3F5;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    color: var(--text-1);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

.pd-scope * {
    box-sizing: border-box
}

/* 原型依赖全局 reset（*{margin:0;padding:0}），这里只清商品区自己的列表与图片，
   绝不能清 .detail-content 里的 h2/p（那几块沿用 rental-booking.css 的既有样式）。 */
.pd-scope ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.pd-scope img {
    display: block;
    max-width: 100%
}

/* 底部商品悬浮条（.pd-bar）是 fixed，要给页面留出它的高度。
   留白必须挂在 body 上而不是 main 上：挂 main 的话空白在页脚之前，页脚底部仍会被悬浮条压住。
   本文件只被商品页引用，所以这条不会影响其它页面。 */
body {
    padding-bottom: 100px
}

/* rental-booking.css 的 .product-page 自带 60px 底部内边距，会让页脚上方多出一段空白；
   本页的底部留白统一由上面的 body padding 提供，这里把它清掉（只作用于本页的 main）。 */
main.product-page {
    padding-bottom: 0
}

/* 站脚（.gr-market-footer）在全站带 64px 上外边距（commerce.css 里是 !important），
   商品页的上方留白已由区块自身间距提供，再来 64px 会显得很空。这里只在本页清掉它 ——
   本文件仅被 /robots/{slug} 引用，所以其它页面的页脚间距不受影响。 */
body .gr-market-footer {
    margin-top: 0 !important
}

/* ---------- 面包屑 ---------- */
.pd-scope .crumb {
    font-size: 14.5px;
    color: var(--text-3);
    padding: 20px 0 16px
}

.pd-scope .crumb b {
    color: var(--text-2);
    font-weight: 600
}

.pd-scope .crumb a:hover {
    color: var(--brand)
}

/* ---------- 通用区块标题 ---------- */
.pd-scope .sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px
}

.pd-scope .sec-head .t {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.3px;
    display: flex;
    align-items: center;
    gap: 12px
}

.pd-scope .sec-head .t i {
    width: 5px;
    height: 24px;
    border-radius: 3px;
    background: var(--brand);
    display: inline-block
}

.pd-scope .sec-head .c {
    font-size: 14.5px;
    color: var(--text-3)
}

.pd-scope .sec-head .more {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.pd-scope .section {
    margin: 40px 0
}

/* 最后一个区块的底部外边距去掉：它下面就是页脚，不该再多一层空白
   （页脚自身的上外边距本页也已清零）。
   只清最后一个：中间的区块间距是靠下一个区块的 margin-top 撑开的，
   而动全部 .section 的 margin-bottom 会让「租赁服务说明」与下面的详情块贴在一起。 */
.pd-scope>.section:last-of-type {
    margin-bottom: 0
}

/* ---------- 相关推荐卡（与列表页卡片同款版式） ---------- */
.pd-scope .rel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px
}

.pd-scope .card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s, box-shadow .18s
}

.pd-scope .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-h)
}

.pd-scope .card .thumb {
    position: relative;
    height: 180px;
    background: #F0F1F4;
    overflow: hidden
}

.pd-scope .card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.pd-scope .card .thumb .ph {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    opacity: .85
}

.pd-scope .card .cat-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(27, 27, 31, .72);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px
}

.pd-scope .card .body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.pd-scope .card .title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px
}

.pd-scope .card .title:hover {
    color: var(--brand)
}

.pd-scope .card .merchant {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.pd-scope .card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 11.5px;
    color: var(--text-3);
    margin-top: 7px
}

.pd-scope .card .meta span b {
    color: var(--text-2);
    font-weight: 600
}

.pd-scope .card .price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 10px
}

.pd-scope .card .price-line .cur {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand)
}

.pd-scope .card .price-line .num {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums
}

.pd-scope .card .price-line .unit {
    font-size: 12px;
    color: var(--text-3)
}

.pd-scope .card .deposit {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px
}

.pd-scope .card .acts {
    display: flex;
    gap: 8px;
    margin-top: 13px
}

.pd-scope .card .acts .detail,
.pd-scope .card .acts .rent {
    flex: 1;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap
}

.pd-scope .card .acts .detail {
    border: 1px solid var(--brand-line);
    color: var(--brand);
    background: var(--brand-light)
}

.pd-scope .card .acts .rent {
    background: linear-gradient(135deg, #FF6B5B, #E63939);
    color: #fff;
    box-shadow: 0 3px 10px rgba(230, 57, 57, .22)
}

/* ---------- 企业入口卡（面包屑下方） ---------- */
.pd-scope .ent {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 22px;
    margin-bottom: 20px
}

.pd-scope .ent .av {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF6B5B, #E63939);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 57, 57, .20)
}

.pd-scope .ent .info {
    flex: 1;
    min-width: 0
}

.pd-scope .ent .nm {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.pd-scope .ent .ds {
    font-size: 13.5px;
    color: var(--text-3);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.pd-scope .ent .ds .ok {
    color: #1F9D57;
    background: #EAF7F0;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 12.5px;
    font-weight: 700
}

.pd-scope .ent .acts {
    display: flex;
    gap: 10px;
    flex-shrink: 0
}

.pd-scope .ent .acts a {
    height: 42px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s
}

.pd-scope .ent .acts .c1 {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text-2)
}

.pd-scope .ent .acts .c1:hover {
    border-color: var(--brand-line);
    color: var(--brand);
    background: #FFFCFC
}

.pd-scope .ent .acts .c2 {
    background: var(--brand-light);
    border: 1px solid var(--brand-line);
    color: var(--brand)
}

.pd-scope .ent .acts .c2:hover {
    background: #FBE2E0
}

/* ---------- 主图 + 购买面板 ---------- */
.pd-scope .pd {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    margin-bottom: 26px
}

/* 左图吸附：站点头部是 position:relative（会滚走），所以 top 只留一点呼吸位，
   不要按头部高度（约 198px）去偏置 */
.pd-scope .pd-gal {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 16px;
    align-self: flex-start
}

.pd-scope .pd-gal .big {
    position: relative;
    height: calc(100vh - 320px);
    min-height: 400px;
    max-height: 620px;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 14px;
    background: linear-gradient(180deg, #FAFAFB, #F4F5F7);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--hair)
}

.pd-scope .pd-gal .big img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    display: block
}

.pd-scope .pd-gal .big .ph {
    width: 220px;
    height: 220px;
    opacity: .9
}

.pd-scope .pd-gal .big .tag {
    position: absolute;
    left: 18px;
    top: 18px;
    background: rgba(27, 27, 31, .72);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px
}

.pd-scope .pd-gal .pts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
    margin: 18px auto 0;
    max-width: 620px
}

.pd-scope .pd-gal .pts span {
    font-size: 14.5px;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

.pd-scope .pd-gal .pts svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
    flex-shrink: 0
}

.pd-scope .pd-buy {
    width: 432px;
    flex-shrink: 0;
    align-self: flex-start
}

.pd-scope .buy-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 26px 24px
}

.pd-scope .buy-card .cat {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-light);
    border-radius: 6px;
    padding: 4px 11px
}

.pd-scope .buy-card h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.4px;
    margin: 12px 0 0
}

.pd-scope .buy-card .sub {
    font-size: 14.5px;
    color: var(--text-3);
    margin-top: 8px
}

.pd-scope .buy-card .promise {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-2)
}

.pd-scope .buy-card .promise span {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.pd-scope .buy-card .promise svg {
    width: 14px;
    height: 14px;
    color: #1F9D57
}

.pd-scope .pr-block {
    margin-top: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #FBFBFC, #F6F7F9);
    border: 1px solid var(--hair);
    border-radius: 10px
}

.pd-scope .pr-block .lab {
    font-size: 12.5px;
    color: var(--text-3)
}

.pd-scope .pr-block .pr {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-top: 6px
}

.pd-scope .pr-block .cur {
    font-size: 17px;
    font-weight: 800;
    color: var(--brand)
}

.pd-scope .pr-block .num {
    font-size: 34px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums
}

.pd-scope .pr-block .unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand)
}

.pd-scope .pr-block .stock {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-3);
    align-self: flex-end;
    padding-bottom: 4px
}

.pd-scope .opt {
    margin-top: 20px
}

.pd-scope .opt-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 10px
}

.pd-scope .opt-h .tip {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-3)
}

.pd-scope .opt-h .tip.warn {
    color: #B5252B;
    font-weight: 700
}

.pd-scope .dates {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.pd-scope .dates input[type=date] {
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-1);
    outline: none;
    background: #fff
}

.pd-scope .dates input[type=date]:focus {
    border-color: var(--brand)
}

.pd-scope .dates .to {
    color: var(--text-3);
    font-size: 13.5px
}

.pd-scope .dates .days {
    font-size: 13px;
    color: var(--brand);
    font-weight: 700;
    background: var(--brand-light);
    border-radius: 6px;
    padding: 4px 10px
}

.pd-scope .packs {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.pd-scope .pack {
    display: flex;
    gap: 11px;
    padding: 13px 15px;
    border: 1.5px solid #E4E5EA;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s, box-shadow .15s
}

.pd-scope .pack:hover {
    border-color: var(--brand-line);
    background: #FFFCFC
}

.pd-scope .pack.on {
    border-color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 2px 12px rgba(230, 57, 57, .12)
}

.pd-scope .pack input {
    display: none
}

.pd-scope .pack .pk {
    flex: 1;
    min-width: 0
}

.pd-scope .pack .pk-t {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 8px
}

.pd-scope .pack.on .pk-t {
    color: var(--brand)
}

.pd-scope .pack.on .pk-t::after {
    content: '已选';
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand);
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 5px;
    padding: 2px 8px;
    flex-shrink: 0
}

.pd-scope .pack .pk-p {
    margin-left: auto;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--brand);
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}

.pd-scope .pack .pk-d {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 4px;
    line-height: 1.6
}

.pd-scope .pack.on .pk-d {
    color: #B4554E
}

.pd-scope .pack .rd {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #C6C7CE;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: border-color .15s, background .15s, box-shadow .15s
}

.pd-scope .pack:hover .rd {
    border-color: var(--brand-line)
}

.pd-scope .pack.on .rd {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(230, 57, 57, .16)
}

.pd-scope .pack.on .rd::after {
    content: '';
    position: absolute;
    left: 5.5px;
    top: 2.5px;
    width: 5.5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2.2px 2.2px 0;
    transform: rotate(42deg)
}

.pd-scope .step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.pd-scope .stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    height: 40px
}

.pd-scope .stepper button {
    width: 38px;
    height: 100%;
    font-size: 17px;
    color: var(--text-2);
    background: #fff;
    border: 0;
    cursor: pointer
}

.pd-scope .stepper button:hover {
    color: var(--brand);
    background: var(--brand-light)
}

.pd-scope .stepper input {
    width: 66px;
    height: 100%;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-1);
    outline: none
}

.pd-scope .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0
}

.pd-scope .switch input {
    display: none
}

.pd-scope .switch i {
    position: absolute;
    inset: 0;
    background: #DDDEE3;
    border-radius: 20px;
    transition: background .18s
}

.pd-scope .switch i::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    transition: transform .18s
}

.pd-scope .switch input:checked+i {
    background: var(--brand)
}

.pd-scope .switch input:checked+i::after {
    transform: translateX(22px)
}

.pd-scope .cost {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--hair)
}

.pd-scope .cost .cr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-2);
    padding: 6px 0
}

.pd-scope .cost .cr[hidden] {
    display: none
}

.pd-scope .cost .cr b {
    font-weight: 700;
    color: var(--text-1);
    font-variant-numeric: tabular-nums
}

.pd-scope .cost .cr .ref {
    font-style: normal;
    font-size: 12px;
    color: #1F9D57;
    background: #EAF7F0;
    border-radius: 5px;
    padding: 2px 7px;
    margin-left: 8px
}

.pd-scope .cost .sum {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--hair)
}

.pd-scope .cost .sum span {
    font-size: 14px;
    color: var(--text-2)
}

.pd-scope .cost .sum span i {
    font-style: normal;
    font-size: 12px;
    color: var(--text-3)
}

.pd-scope .cost .sum b {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.5px
}

.pd-scope .cost .basis {
    text-align: right;
    font-size: 12.5px;
    color: var(--text-3);
    margin-top: 2px
}

.pd-scope .cost .cost-note {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.7
}

/* ---------- 租赁服务说明 ---------- */
.pd-scope .svc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.pd-scope .svc .it {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 24px
}

.pd-scope .svc .it .ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px
}

.pd-scope .svc .it .ic svg {
    width: 20px;
    height: 20px
}

.pd-scope .svc .it h4 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0
}

.pd-scope .svc .it p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.75;
    margin: 6px 0 0
}

/* ---------- 用户评价 ---------- */
.pd-scope .rv-top {
    display: flex;
    align-items: center;
    gap: 26px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 26px;
    margin-bottom: 16px
}

.pd-scope .rv-top .sc {
    font-size: 40px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    font-variant-numeric: tabular-nums
}

.pd-scope .rv-top .sc span {
    font-size: 15px;
    color: var(--text-3);
    font-weight: 600
}

.pd-scope .rv-top .rp {
    flex: 1;
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.8;
    margin: 0
}

.pd-scope .rv-top .rp b {
    color: var(--text-1)
}

.pd-scope .rv {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 26px;
    margin-bottom: 16px
}

.pd-scope .rv .hd {
    display: flex;
    align-items: center;
    gap: 12px
}

.pd-scope .rv .av2 {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center
}

.pd-scope .rv .who {
    font-size: 14.5px;
    font-weight: 700
}

.pd-scope .rv .when {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 2px
}

.pd-scope .rv .stars {
    margin-left: auto;
    color: #F5A623;
    font-size: 14px;
    letter-spacing: 2px
}

.pd-scope .rv .tx {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.85;
    margin: 14px 0 0
}

.pd-scope .rv .imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.pd-scope .rv .imgs img {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--hair)
}

.pd-scope .rv .tag {
    margin-top: 12px;
    display: inline-block;
    font-size: 12.5px;
    color: var(--text-3);
    background: var(--bg);
    border-radius: 6px;
    padding: 4px 10px
}

.pd-scope .rv .reply {
    margin-top: 12px;
    padding: 10px 12px;
    background: #FBF7F7;
    border-radius: 8px
}

.pd-scope .rv .reply b {
    color: #C1121C;
    font-size: 12px
}

.pd-scope .rv .reply p {
    margin: 4px 0 0;
    color: #4B5866;
    font-size: 13.5px;
    line-height: 1.7
}

.pd-scope .rv-empty {
    color: #8B95A5;
    font-size: 13px
}

/* ---------- 底部商品悬浮条 ---------- */
.pd-scope .pd-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(17, 17, 26, .07)
}

.pd-scope .pd-bar .bar-in {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 80px
}

.pd-scope .pd-bar .bi-th {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--bg);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.pd-scope .pd-bar .bi-th img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pd-scope .pd-bar .bi-info {
    min-width: 0
}

.pd-scope .pd-bar .bi-nm {
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px
}

.pd-scope .pd-bar .bi-pr {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 3px
}

.pd-scope .pd-bar .bi-pr span,
.pd-scope .pd-bar .bi-pr em {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand);
    font-style: normal
}

.pd-scope .pd-bar .bi-pr b {
    font-size: 25px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -.6px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1
}

.pd-scope .pd-bar .bi-pk {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.pd-scope .pd-bar .bi-pk span {
    font-size: 13px;
    color: var(--text-3);
    white-space: nowrap
}

.pd-scope .pd-bar .bi-pk b {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    white-space: nowrap
}

.pd-scope .pd-bar .bi-pk i {
    font-style: normal;
    font-size: 13px;
    color: var(--text-3);
    background: var(--bg);
    border-radius: 6px;
    padding: 4px 11px;
    white-space: nowrap
}

.pd-scope .pd-bar .bi-go {
    height: 50px;
    padding: 0 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF6B5B, #E63939);
    color: #fff;
    font-size: 16.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 16px rgba(230, 57, 57, .24);
    white-space: nowrap
}

@media (max-width:1180px) {
    .pd-scope .rel {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:1080px) {
    .pd-scope .pd {
        flex-wrap: wrap
    }

    .pd-scope .pd-buy {
        width: 100%
    }

    .pd-scope .pd-gal {
        position: static
    }

    .pd-scope .pd-gal .big {
        height: auto;
        aspect-ratio: 4/3
    }

    .pd-scope .svc {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:900px) {
    .pd-scope .ent {
        flex-wrap: wrap;
        padding: 14px 16px
    }

    .pd-scope .ent .acts {
        width: 100%
    }

    .pd-scope .ent .acts a {
        flex: 1
    }

    .pd-scope .svc {
        grid-template-columns: 1fr
    }

    .pd-scope .rel {
        grid-template-columns: repeat(2, 1fr)
    }

    .pd-scope .pd-bar .bi-pk span,
    .pd-scope .pd-bar .bi-pk i {
        display: none
    }

    .pd-scope .pd-bar .bar-in {
        gap: 14px;
        height: 72px
    }

    .pd-scope .pd-bar .bi-nm {
        max-width: 34vw
    }
}
