#ddhy-mall-root .m1250-categories{display:flex;gap:8px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}#ddhy-mall-root .m1250-categories button{flex:0 0 auto;border:1px solid var(--mall-line);border-radius:999px;background:#fff;padding:7px 12px;color:#42534d}#ddhy-mall-root .m1250-categories button.active{background:var(--mall-brand);color:#fff;border-color:var(--mall-brand)}
#ddhy-mall-root .m1250-badge{display:inline-flex;padding:3px 8px;border-radius:999px;background:#edf3f1;color:#52635d;font-size:11px}#ddhy-mall-root .m1250-badge.paid,#ddhy-mall-root .m1250-badge.completed,#ddhy-mall-root .m1250-badge.delivered,#ddhy-mall-root .m1250-badge.on_sale,#ddhy-mall-root .m1250-badge.approved{background:#dcfce7;color:#166534}#ddhy-mall-root .m1250-badge.pending_payment,#ddhy-mall-root .m1250-badge.payment_review,#ddhy-mall-root .m1250-badge.processing,#ddhy-mall-root .m1250-badge.pending{background:#fff4d6;color:#8a5b00}
#ddhy-mall-root .m1250-order{margin-bottom:12px;cursor:pointer}#ddhy-mall-root .m1250-order-head,#ddhy-mall-root .m1250-row{display:flex;justify-content:space-between;align-items:center;gap:10px}#ddhy-mall-root .m1250-order-head{padding-bottom:10px;border-bottom:1px solid var(--mall-line)}#ddhy-mall-root .m1250-order-body{padding:12px 0}#ddhy-mall-root .m1250-order-foot{padding-top:10px;border-top:1px solid var(--mall-line);text-align:right}
#ddhy-mall-root .m1250-form{display:grid;gap:12px}#ddhy-mall-root .m1250-field label{display:block;margin-bottom:5px;color:var(--mall-muted);font-size:12px}#ddhy-mall-root .m1250-input{width:100%;min-height:43px;border:1px solid var(--mall-line);border-radius:11px;background:#fff;padding:9px 11px;outline:0}#ddhy-mall-root textarea.m1250-input{min-height:86px;resize:vertical}#ddhy-mall-root .m1250-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#ddhy-mall-root .m1250-actions>*{flex:1 1 auto}
#ddhy-mall-root .m1250-address{margin-bottom:10px;border:1px solid var(--mall-line);border-radius:12px;padding:11px}#ddhy-mall-root .m1250-address.selected{border-color:var(--mall-brand);box-shadow:0 0 0 2px #0b966b20}
#ddhy-mall-root .m1250-chat{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow:auto;padding:8px 0}#ddhy-mall-root .m1250-message{max-width:82%;padding:9px 11px;border-radius:12px;background:#eef3f1}#ddhy-mall-root .m1250-message.buyer{margin-left:auto;background:#dcfce7}#ddhy-mall-root .m1250-message small{display:block;color:var(--mall-muted);margin-top:3px}
#ddhy-mall-root .m1250-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:13px}.m1250-tabs button{flex:0 0 auto;border:1px solid var(--mall-line);border-radius:9px;background:#fff;padding:7px 10px}.m1250-tabs button.active{background:var(--mall-brand);color:#fff}
#ddhy-mall-root .m1250-notice{padding:11px 12px;border:1px solid #bde9d9;border-radius:11px;background:#effcf7;color:#176b50;font-size:12px;margin-bottom:12px}
.m1250-dialog{border:0;border-radius:16px;padding:20px;width:min(620px,calc(100% - 24px));box-shadow:0 24px 80px #0b2c2340}.m1250-dialog::backdrop{background:#0d201b70}.m1250-dialog h3{margin:0 0 15px}.m1250-dialog .m1250-actions{display:flex;gap:8px;margin-top:16px}.m1250-dialog .m1250-actions button{flex:1}

/* V1.0.25.3 商城真实页面交互收口 */
#ddhy-mall-root .m1250-stock-line,
#ddhy-mall-root .m1250-cart-stock{margin:7px 0;color:var(--mall-muted);font-size:12px}
#ddhy-mall-root .ddhy-cart-item{grid-template-columns:28px 78px minmax(0,1fr);align-items:center}
#ddhy-mall-root .m1250-cart-check{display:grid;place-items:center;align-self:stretch;cursor:pointer}
#ddhy-mall-root .m1250-cart-check input{position:absolute;opacity:0;pointer-events:none}
#ddhy-mall-root .m1250-cart-check span{width:20px;height:20px;border:1.5px solid #aab7b2;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 4px #fff}
#ddhy-mall-root .m1250-cart-check input:checked+span{border-color:var(--mall-brand);background:var(--mall-brand)}
#ddhy-mall-root .ddhy-cart-item.selected{background:linear-gradient(90deg,#f4fcf8,transparent);border-radius:12px}
#ddhy-mall-root .ddhy-cart-qty input{width:58px;height:31px;border:0;border-left:1px solid var(--mall-line);border-right:1px solid var(--mall-line);text-align:center;outline:0;background:#fff}
#ddhy-mall-root .m1250-cart-summary{position:sticky;bottom:74px;z-index:5;box-shadow:0 12px 32px rgba(20,45,35,.13)}
#ddhy-mall-root .m1250-checkout-list{max-height:240px;overflow:auto;margin:12px 0;border:1px solid var(--mall-line);border-radius:12px;background:#f9fbfa}
#ddhy-mall-root .m1250-checkout-item,#ddhy-mall-root .m1250-checkout-total{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--mall-line)}
#ddhy-mall-root .m1250-checkout-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ddhy-mall-root .m1250-checkout-total{position:sticky;bottom:0;border-bottom:0;background:#fff;font-size:15px}
#ddhy-mall-root button:disabled,#ddhy-mall-root input:disabled,.m1250-dialog button:disabled{cursor:not-allowed;opacity:.58}
@media (max-width:560px){#ddhy-mall-root .ddhy-cart-item{grid-template-columns:24px 68px minmax(0,1fr)}#ddhy-mall-root .ddhy-cart-thumb{width:68px;height:68px}#ddhy-mall-root .ddhy-cart-qty input{width:48px}}
/* V1.0.25.6.3 商品收藏 */
.m12563-favorite{position:absolute;right:9px;top:9px;z-index:3;border:1px solid rgba(255,255,255,.72);border-radius:999px;padding:7px 11px;background:rgba(20,34,55,.68);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(8px)}.m12563-favorite.active{background:#0b8f68;border-color:#0b8f68}.m12563-detail-actions{grid-template-columns:.72fr 1fr 1.2fr}.m12563-detail-actions [data-favorite-product].active{background:#e8f7f1;color:#066548;border-color:#9edfc8}@media(max-width:390px){.m12563-detail-actions{grid-template-columns:.65fr 1fr 1.05fr}.m12563-detail-actions .ddhy-mall-button{padding-left:8px;padding-right:8px}}
.m12563-merchant-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.m12563-merchant-actions .ddhy-mall-button{width:100%}

/* DDHY V1.0.25.6.8 清仓详情、阶梯价格、起批量和库存进度 */
#ddhy-mall-root .m12567-cover-badge{position:absolute;left:10px;top:10px;z-index:2;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg,#a45b08,#d18a20);color:#fff;font-size:11px;font-weight:800;box-shadow:0 5px 16px rgba(139,78,8,.25)}
#ddhy-mall-root .m12567-cover-badge.detail{font-size:12px;padding:7px 12px}
#ddhy-mall-root .ddhy-mall-price small{font-size:11px;color:var(--mall-muted);font-weight:600}
#ddhy-mall-root .m12567-card-clearance{margin:10px 0;padding:10px;border:1px solid #f0d097;border-radius:12px;background:#fff9ed}
#ddhy-mall-root .m12567-card-clearance>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}
#ddhy-mall-root .m12567-card-clearance span{color:#945c09;font-size:11px;font-weight:800}
#ddhy-mall-root .m12567-card-clearance b{color:#6f4a12;font-size:11px}
#ddhy-mall-root .m12567-card-clearance small{display:flex;justify-content:space-between;margin-top:5px;color:#8d7a5b;font-size:10px}
#ddhy-mall-root .m12567-progress{height:7px;overflow:hidden;border-radius:99px;background:#f1e2c7;margin-top:8px}
#ddhy-mall-root .m12567-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d18a20,#f0b649);transition:width .2s ease}
#ddhy-mall-root .m12567-progress.large{height:10px;margin:14px 0 8px;background:#e6efe9}
#ddhy-mall-root .m12567-progress.large i{background:linear-gradient(90deg,#0d8a66,#36bd91)}
#ddhy-mall-root .m12567-card-stock{display:flex;justify-content:space-between;gap:8px;color:var(--mall-muted);font-size:11px;margin:8px 0}
#ddhy-mall-root .m12567-clearance-panel{margin:14px 0;padding:16px;border:1px solid #efcf96;border-radius:16px;background:linear-gradient(145deg,#fff7e8,#fff)}
#ddhy-mall-root .m12567-clearance-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
#ddhy-mall-root .m12567-clearance-head small{color:#8d7959}
#ddhy-mall-root .m12567-clearance-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:#a65e09;color:#fff;font-size:12px;font-weight:800}
#ddhy-mall-root .m12567-clearance-panel>p{margin:11px 0 0;color:#62471f;font-size:13px;line-height:1.6}
#ddhy-mall-root .m12567-clearance-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
#ddhy-mall-root .m12567-clearance-stats div{padding:10px 6px;border-radius:11px;background:rgba(255,255,255,.78);text-align:center}
#ddhy-mall-root .m12567-clearance-stats b{display:block;color:#68430e;font-size:18px}
#ddhy-mall-root .m12567-clearance-stats span{display:block;margin-top:3px;color:#9a8059;font-size:10px}
#ddhy-mall-root .m12567-progress-copy{display:flex;justify-content:space-between;gap:10px;color:#587169;font-size:11px}
#ddhy-mall-root .m12567-live-price{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin:15px 0 8px;padding:13px 14px;border-radius:14px;background:#f2faf7}
#ddhy-mall-root .m12567-live-price small{display:block;color:var(--mall-muted);font-size:11px;margin-bottom:3px}
#ddhy-mall-root .m12567-live-price>div:last-child{text-align:right}
#ddhy-mall-root .m12567-live-price>div:last-child b{color:#0b7356;font-size:18px}
#ddhy-mall-root #m-current-price del{margin-left:6px;color:#9aa6a1;font-size:13px;font-weight:500}
#ddhy-mall-root .m12567-tier-box{margin-top:13px;padding:12px;border:1px solid var(--mall-line);border-radius:13px;background:#fbfdfc}
#ddhy-mall-root .m12567-tier-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
#ddhy-mall-root .m12567-tier-title span,#ddhy-mall-root .m12567-tier-empty{color:var(--mall-muted);font-size:11px}
#ddhy-mall-root .m12567-tier-grid{display:grid;gap:6px}
#ddhy-mall-root .m12567-tier-row{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:9px;background:#eef3f1;color:#53645e;font-size:12px}
#ddhy-mall-root .m12567-tier-row.active{background:#dff7ed;color:#096c4d;box-shadow:inset 0 0 0 1px #9edbc5}
#ddhy-mall-root .m12567-next-tier{min-height:18px;margin-top:8px;color:#b06c0a;font-size:11px;text-align:right}
#ddhy-mall-root .m12567-cart-tier{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:#e3f6ee;color:#087153;font-size:10px;font-weight:700}
#ddhy-mall-root .m12567-base-price{margin-left:6px;color:#a0aaa6;font-size:11px}
#ddhy-mall-root .m12567-line-amount{display:block;margin-top:3px;color:#65756f;font-size:10px}
#ddhy-mall-root .m12567-source-hint{margin-top:8px;padding:8px 10px;border-radius:9px;background:#fff6e5;color:#8b5a0b;font-size:11px}
#ddhy-mall-root .m12567-tier-input{min-height:112px;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
#ddhy-mall-root .m12567-merchant-product .m1250-actions{align-items:stretch}
@media(max-width:480px){#ddhy-mall-root .m12567-clearance-stats b{font-size:15px}#ddhy-mall-root .m12567-progress-copy{flex-direction:column;gap:3px}#ddhy-mall-root .m12567-live-price{align-items:center}}

/* DDHY V1.0.25.6.8 临期、倒计时与降价计划 */
.m12568-countdown{margin:10px 0;padding:10px 12px;border-radius:12px;background:#fff4d6;color:#8a5a00;font-weight:700}.m12568-countdown.detail{font-size:16px}.m12568-expiry{margin:8px 0;font-size:13px}.m12568-expiry.expired,.m12568-expiry.within_7{color:#b42318;font-weight:700}.m12568-expiry.within_30{color:#b54708}.m12568-markdown-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.m12568-markdown-list span{padding:5px 8px;border-radius:999px;background:#eef8f4;color:#087a5b;font-size:12px}.m12568-plan-summary{margin-top:8px;padding:10px;border:1px solid #e5ece9;border-radius:12px;background:#fafcfc}
