/* ==================== Product Detail Page ==================== */

.detail-page { background: #f5f5f5; padding: 16px 0 40px; min-height: 600px; }
.detail-breadcrumb { font-size: 13px; color: #666; padding: 8px 0 16px; }
.detail-breadcrumb a { color: #666; text-decoration: none; }
.detail-breadcrumb a:hover { color: #e60012; }
.detail-breadcrumb .cur { color: #e60012; font-weight: 500; }

.detail-main {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    gap: 24px;
    margin-bottom: 16px;
}

/* ----- Gallery ----- */
.detail-gallery { width: 460px; flex-shrink: 0; }
.gallery-main {
    width: 460px;
    height: 460px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb {
    width: 76px; height: 76px;
    border: 2px solid #fff;
    background: #fafafa;
    cursor: pointer;
    object-fit: contain;
}
.gallery-thumb.active { border-color: #e60012; }
.gallery-actions { display: flex; gap: 20px; padding-top: 16px; border-top: 1px dashed #eee; margin-top: 18px; }
.ga-item { color: #666; font-size: 13px; text-decoration: none; }
.ga-item:hover { color: #e60012; }
.ga-ico { color: #f60; margin-right: 4px; }

/* ----- Info ----- */
.detail-info { flex: 1; min-width: 0; }
.detail-title { font-size: 20px; font-weight: 700; color: #333; line-height: 1.4; margin: 0 0 12px; }
.detail-tags { margin-bottom: 10px; min-height: 24px; }
.detail-tag {
    display: inline-block;
    background: #fff0e8;
    color: #ff6a00;
    font-size: 12px;
    padding: 2px 8px;
    border: 1px solid #ffd6b3;
    border-radius: 2px;
    margin-right: 6px;
    margin-bottom: 4px;
}
.detail-badges { margin-bottom: 14px; }
.badge-self {
    display: inline-block;
    background: #e60012;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 6px;
}
.badge-stock {
    display: inline-block;
    background: #27c275;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}

.detail-price-box {
    background: #fff8f5;
    border: 1px solid #ffd6b3;
    padding: 18px 20px;
    position: relative;
    margin-bottom: 18px;
}
.price-row { display: flex; align-items: baseline; padding: 4px 0; }
.price-label { color: #999; font-size: 13px; width: 70px; }
.price-current {
    color: #e60012;
    font-size: 30px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}
.price-member { color: #999; font-size: 12px; margin-left: 10px; }
.price-member a { color: #1e88e5; }
.price-market { color: #999; font-size: 16px; text-decoration: line-through; }
.price-qr {
    position: absolute;
    right: 20px;
    top: 18px;
    text-align: center;
}
.qr-placeholder {
    width: 80px; height: 80px;
    background: #fff;
    border: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    padding: 4px;
}
.qr-cell { background: #333; }
.qr-cell:nth-child(2) { background: #fff; }
.qr-cell:nth-child(4) { background: #fff; }
.qr-cell:nth-child(6) { background: #fff; }
.qr-cell:nth-child(8) { background: #fff; }
.qr-placeholder .qr-cell { width: 100%; height: 100%; }
.price-qr p { font-size: 11px; color: #999; margin: 4px 0 0; }

/* ----- Specs ----- */
.detail-specs { border: 1px solid #f0f0f0; padding: 4px 0; }
.spec-row {
    display: flex;
    padding: 8px 14px;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: #999; width: 80px; flex-shrink: 0; }
.spec-value { color: #333; flex: 1; word-break: break-all; }

/* ----- Buy bar ----- */
.detail-buy-bar { padding: 16px 0 0; }
.qty-row { display: flex; align-items: center; padding: 12px 0; }
.qty-label { color: #999; font-size: 13px; width: 70px; }
.qty-input { display: flex; align-items: center; border: 1px solid #ddd; }
.qty-input button { background: #f5f5f5; border: none; width: 28px; height: 28px; cursor: pointer; font-size: 16px; }
.qty-input button:hover { background: #e60012; color: #fff; }
.qty-input input { width: 50px; height: 28px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 14px; }
.qty-unit { color: #666; font-size: 13px; margin-left: 10px; }
.qty-stock { color: #27c275; font-size: 12px; margin-left: 16px; }

.buy-buttons { display: flex; gap: 12px; margin-top: 16px; }
.btn-buy-now, .btn-add-cart {
    flex: 1;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.btn-buy-now { background: #ff6a00; color: #fff; }
.btn-buy-now:hover { background: #ff5500; }
.btn-add-cart { background: #ffeb3b; color: #e60012; }
.btn-add-cart:hover { background: #ffd800; }

/* ----- Tabs ----- */
.detail-tabs { background: #fff; border: 1px solid #eee; }
.detail-tabs-bar {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.tab-link {
    padding: 14px 30px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border-right: 1px solid #eee;
}
.tab-link.active {
    background: #fff;
    color: #e60012;
    font-weight: 600;
    border-bottom: 2px solid #e60012;
    margin-bottom: -1px;
}
.tab-link:hover { color: #e60012; }
.detail-tabs-content { padding: 24px 30px; min-height: 280px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-h3 { color: #e60012; font-size: 15px; margin: 18px 0 8px; font-weight: 600; }
.tab-h3:first-child { margin-top: 0; }
.tab-p { color: #444; line-height: 1.8; font-size: 14px; margin: 6px 0 14px; }
.tab-ol { padding-left: 24px; color: #444; line-height: 1.9; font-size: 14px; }
.tab-ol li { margin: 4px 0; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid #eee; padding: 10px 14px; font-size: 13px; text-align: left; }
.spec-table th { background: #fafafa; color: #999; width: 140px; font-weight: 500; }
.spec-table td { color: #333; }

/* ----- Recommended ----- */
.detail-recommend { background: #fff; border: 1px solid #eee; margin-top: 16px; }
.recommend-header {
    padding: 14px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    color: #e60012;
    font-size: 15px;
    font-weight: 600;
}
.recommend-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 20px;
}
.rec-card { text-decoration: none; color: #333; }
.rec-img {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: #fafafa;
    border: 1px solid #f0f0f0;
}
.rec-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rec-name { font-size: 12px; color: #333; margin: 8px 0 4px; height: 32px; overflow: hidden; line-height: 1.4; }
.rec-card:hover .rec-name { color: #e60012; }
.rec-price { color: #e60012; font-size: 14px; font-weight: 600; }

/* ----- Empty / Toast ----- */
.detail-empty { padding: 60px 0; text-align: center; color: #999; font-size: 14px; }
.detail-empty a { color: #e60012; margin-left: 8px; }

.toast-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}
.toast-msg-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== 真实商品详情（原站抓取数据） ===== */
.detail-selling-points {
    font-size: 13px;
    margin: 4px 0 8px;
    line-height: 1.6;
}
.detail-addr-select {
    padding: 3px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    font-size: 12px;
    background: #fff;
    outline: none;
}
.intro-orig {
    line-height: 1.8;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}
.intro-orig h3 {
    margin: 14px 0 6px;
    font-size: 15px;
}
.intro-orig p {
    margin: 6px 0;
}
.intro-orig table {
    border-collapse: collapse;
    margin: 10px 0;
    width: auto;
    max-width: 100%;
}
.intro-orig table td,
.intro-orig table th {
    border: 1px solid #999;
    padding: 4px 10px;
    font-size: 13px;
}
.intro-orig img {
    max-width: 100%;
}
.intro-orig ul,
.intro-orig ol {
    margin: 6px 0 6px 22px;
}
/* 试剂类商品详情(基本信息 + 产品参数, 原站 commodity-d 结构) */
.intro-orig .commodity-d-width {
    padding: 14px 10px;
    border-bottom: 1px dashed #e8e8e8;
    overflow: hidden;
}
.intro-orig .commodity-d-title {
    font-weight: 600;
    color: #333;
    min-width: 72px;
    padding-right: 10px;
}
.intro-orig .commodity-d-con {
    margin-left: 82px;
}
.intro-orig .commodity-d-con li {
    list-style: none;
    line-height: 1.9;
    color: #555;
}
.intro-orig .commodity-d-con li label {
    color: #999;
}
.intro-orig .commodity-d-title-260 {
    width: 110px;
    color: #999;
}
.intro-orig .fl { float: left; }
.intro-orig .clear, .intro-orig .clearboth { clear: both; }
.tab-service-orig h3 {
    margin: 14px 0 6px;
    font-size: 15px;
    color: #333;
}
.tab-service-orig p {
    margin: 6px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.product-stock-remote {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* ----- SKU Picker (型号 / 包装规格) ----- */
.detail-sku {
    margin: 14px 0 4px;
    border: 1px solid #f0f0f0;
    background: #fff;
    font-size: 13px;
}
.sku-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 14px;
    border-bottom: 1px dashed #f0f0f0;
}
.sku-row:last-child { border-bottom: none; }
.sku-label {
    color: #999;
    width: 80px;
    flex-shrink: 0;
    padding: 6px 0 0;
}
.sku-values {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sku-tag {
    display: inline-block;
    min-width: 56px;
    padding: 5px 14px;
    text-align: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.4;
}
.sku-tag:hover { border-color: #e60012; color: #e60012; }
.sku-tag.is-disabled {
    color: #ccc;
    border-color: #eee;
    background: #fafafa;
    cursor: not-allowed;
    text-decoration: line-through;
}
.sku-tag.is-disabled:hover { border-color: #eee; color: #ccc; }
.sku-tag.is-active {
    background: #e60012;
    border-color: #e60012;
    color: #fff;
    font-weight: 600;
    padding: 5px 14px 4px;
    border-bottom: 3px solid #c00000;
    position: relative;
}
.sku-tag.is-active::after {
    content: '✓';
    position: absolute;
    right: -1px;
    bottom: -1px;
    font-size: 10px;
    background: #c00000;
    color: #fff;
    width: 14px;
    height: 14px;
    line-height: 14px;
    border-radius: 0 2px 0 2px;
}
.sku-empty { color: #999; padding: 6px 0; font-size: 13px; }

/* ==================== 4F 试剂详情页 (原站紧凑结构) ==================== */
.re-detail { display: flex; align-items: flex-start; gap: 18px; width: 100%; }
.re-left { flex: 0 0 350px; }
.re-img-main {
    width: 348px; height: 348px;
    border: 1px solid #e8e8e8; background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box;
}
.re-img-main img { max-width: 336px; max-height: 336px; }
.re-thumbs { margin-top: 8px; }
.re-thumbs img {
    width: 50px; height: 50px;
    border: 2px solid #e60012;
    background: #fff; cursor: pointer;
}
.re-show-cont { margin-top: 10px; font-size: 12px; color: #666; line-height: 1.8; }
.re-edit { color: #3366cc; text-decoration: none; margin-right: 2px; }
.re-edit:hover { text-decoration: underline; }
.re-lp { color: #d9820b; text-decoration: none; margin: 0 2px; }
.re-lp:hover { color: #c56a00; }
.re-phone { color: #333; font-weight: 700; }

.re-right { flex: 1; min-width: 0; }
.re-title {
    font-size: 16px; font-weight: 700; color: #333;
    line-height: 1.5; margin-bottom: 8px; word-break: break-all;
}
.re-copy {
    display: inline-block; margin-left: 6px; padding: 4px;
    color: #3366cc; vertical-align: middle;
}
.re-copy:hover { color: #e60012; }

/* 价格区: 左价格 + 右二维码/服务 */
.re-price-wrap {
    display: flex; align-items: stretch;
    background: #fff; padding: 10px 12px 8px 0;
    border-bottom: 1px dashed #eee; margin-bottom: 6px;
}
.re-price-l { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.re-price-l li { margin-bottom: 6px; }
.re-price-num { color: #e60012; font-size: 22px; font-weight: 700; }
.re-price-mkt {
    color: #999; font-size: 12px;
    text-decoration: line-through;
}
.re-login-hint { color: #e60012; font-size: 12px; }
.re-login-hint a { color: #0092e7; font-weight: 700; text-decoration: underline; }
.re-code-r {
    flex: 0 0 88px; text-align: center;
    border-left: 1px solid #f0f0f0; padding-left: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.re-qr-box {
    width: 56px; height: 56px; background: #f5f5f5; border: 1px solid #e0e0e0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 6px;
    box-sizing: border-box; margin-bottom: 4px;
}
.re-qr-box .qr-cell { background: #999; }
.re-code-text { font-size: 12px; color: #666; }
.re-sev {
    flex: 0 0 88px; text-align: center;
    border-left: 1px solid #f0f0f0; padding-left: 12px;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.re-sev-b {
    font-size: 12px; color: #666;
    border: 1px solid #eee; border-radius: 2px; padding: 3px 4px; background: #fafafa;
}

/* 通用属性行 (物性面板 + 交割区) */
.re-p-tit { color: #999; }
.re-p-info { color: #333; }
.re-red { color: #e60012; }

/* 物性面板: 2 列紧凑 (原站 reagent-material-panel) */
.re-material-panel { margin-bottom: 6px; }
.re-material-panel ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap;
}
.re-material-panel li {
    width: 50%; box-sizing: border-box;
    padding: 3px 12px 3px 0;
    font-size: 12px; line-height: 1.7;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 交割区 (原站 reagent-delivery-wrap) */
.re-delivery-wrap { margin-bottom: 10px; }
.re-delivery-wrap ul { list-style: none; margin: 0; padding: 0; }
.re-delivery-wrap li {
    padding: 3px 0; font-size: 12px; line-height: 1.7;
}
.re-pay-item { margin-right: 14px; color: #666; }
.re-pay-ico { margin-right: 3px; color: #e60012; font-style: normal; }

/* 数量 + 按钮 (原站 reagent-action-wrap) */
.re-action-wrap {
    display: flex; align-items: center; gap: 10px;
    margin-top: 12px; padding-top: 12px; border-top: 1px dashed #eee;
}
.re-qty { display: flex; align-items: center; }
.re-qty-btn {
    width: 26px; height: 28px; line-height: 26px; text-align: center;
    border: 1px solid #ddd; background: #f7f7f7; color: #333;
    text-decoration: none; font-size: 14px; user-select: none;
}
.re-qty-btn:hover { background: #eee; }
#qty-input.re-qty-input, .re-qty #qty-input {
    width: 52px; height: 28px; box-sizing: border-box;
    border: 1px solid #ddd; border-left: none; border-right: none;
    text-align: center; font-size: 13px; outline: none;
}
.re-btn-off {
    height: 34px; padding: 0 22px;
    background: #ddd; color: #999; font-size: 14px;
    border: 1px solid #ddd; cursor: not-allowed;
}
.re-btn-order {
    height: 34px; padding: 0 22px;
    background: #e60012; color: #fff; font-size: 14px;
    border: 1px solid #e60012; cursor: pointer;
}
.re-btn-order:hover { background: #c00000; border-color: #c00000; }
.re-btn-cart {
    height: 34px; padding: 0 22px;
    background: #ffeb3b; color: #e60012; font-size: 14px;
    border: 1px solid #ffeb3b; cursor: pointer;
}
.re-btn-cart:hover { background: #ffd800; border-color: #ffd800; }

/* 商品介绍 tab: 产品大图 */
.re-intro-pic { text-align: center; padding: 16px 0; }
.re-intro-pic img { max-width: 100%; }

/* 技术文档 tab */
.re-doc { padding: 10px 0; }
.re-doc-item {
    padding: 14px 16px; margin-bottom: 12px;
    border: 1px solid #eee; background: #fafcff;
    font-size: 13px; color: #333;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.re-doc-tit {
    flex: 0 0 100%; font-size: 14px; font-weight: 700; color: #333;
    margin-bottom: 4px;
}
.re-doc-lab { color: #999; }
.re-doc-val { color: #333; font-weight: 600; margin-right: 10px; }
.re-doc-inp {
    height: 28px; line-height: 28px; padding: 0 8px;
    border: 1px solid #ddd; outline: none; font-size: 13px;
}
.re-doc-btn {
    display: inline-block; height: 28px; line-height: 28px; padding: 0 14px;
    background: #3366cc; color: #fff; font-size: 13px;
    text-decoration: none; border-radius: 2px;
}
.re-doc-btn:hover { background: #2851a3; }


/* Consumables: image, specification selection and purchase remain visible together. */
body.pd-compact { --pd-red:#e60012; --pd-ink:#253449; --pd-muted:#687585; --pd-line:#e5e9ee; --pd-bg:#f5f7f9; }
.pd-compact .detail-page>.container { width:calc(100% - 32px); max-width:1190px; }
.pd-compact .header { padding:14px 0; }
.pd-compact .header .hot-search { display:none; }
.pd-compact .detail-page { background:var(--pd-bg); padding-top:6px; }
.pd-compact .detail-breadcrumb { padding:8px 0 12px; font-size:12px; }
.pd-compact .detail-main { display:grid; grid-template-columns:240px minmax(0,1fr) 280px; gap:22px; padding:20px; border-color:var(--pd-line); align-items:start; }
.pd-compact .detail-gallery { width:auto; min-width:0; }
.pd-compact .gallery-main { width:100%; height:240px; background:#fff; }
.pd-compact .gallery-thumbs { gap:6px; flex-wrap:wrap; }
.pd-compact .gallery-thumb { width:46px; height:46px; }
.pd-compact .gallery-actions { margin-top:12px; padding-top:10px; gap:14px; flex-wrap:wrap; }
.pd-compact .ga-item { font-size:12px; }
.pd-compact .detail-title { font-size:21px; line-height:1.5; margin-bottom:8px; color:var(--pd-ink); }
.pd-compact .detail-tags { margin-bottom:6px; min-height:0; }
.pd-compact .detail-tags:empty { display:none; }
.pd-compact .detail-badges { margin-bottom:12px; }
.pd-compact .detail-specs { border:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.pd-compact .spec-row { padding:7px 0; border-bottom:1px solid #eef1f4; font-size:12px; line-height:19px; min-width:0; }
.pd-compact .spec-label { width:68px; color:var(--pd-muted); }
.pd-compact .spec-value { overflow-wrap:anywhere; word-break:normal; }
.pd-compact .detail-sku { border:0; border-top:1px solid var(--pd-line); margin-top:14px; padding-top:6px; }
.pd-compact .sku-row { padding:7px 0; gap:6px; align-items:flex-start; }
.pd-compact .sku-label { width:68px; flex:0 0 68px; color:var(--pd-muted); font-size:12px; }
.pd-compact .sku-values { gap:6px; max-height:170px; overflow:auto; padding:2px; }
.pd-compact .sku-tag { padding:5px 10px; min-height:32px; font-size:12px; }
.pd-compact .pd-purchase { background:#fafbfc; border:1px solid var(--pd-line); border-top:3px solid var(--pd-red); padding:16px; position:sticky; top:12px; min-width:0; }
.pd-compact .pd-purchase-title { font-size:14px; font-weight:600; margin:0 0 10px; color:var(--pd-ink); }
.pd-compact .detail-price-box { padding:0 0 12px; border:0; border-bottom:1px solid var(--pd-line); background:transparent; margin:0 0 8px; }
.pd-compact .price-row { flex-wrap:wrap; padding:2px 0; }
.pd-compact .price-label { width:56px; color:var(--pd-muted); font-size:12px; }
.pd-compact .price-current { font-size:28px; }
.pd-compact .price-member { margin:4px 0 0; flex-basis:100%; line-height:1.6; }
.pd-compact .price-qr { display:none; }
.pd-compact .pd-delivery .spec-row { padding:5px 0; border:0; }
.pd-compact .detail-addr-select { width:100%; max-width:100%; }
.pd-compact .detail-buy-bar { padding-top:8px; }
.pd-compact .qty-row { padding:7px 0; flex-wrap:wrap; gap:6px 0; }
.pd-compact .qty-label { width:56px; font-size:12px; }
.pd-compact .qty-input button,.pd-compact .qty-input input { height:32px; }
.pd-compact .qty-input button { width:30px; }
.pd-compact .qty-unit { font-size:12px; margin-left:8px; }
.pd-compact .qty-stock { margin:0; flex-basis:100%; padding-left:56px; }
.pd-compact .buy-buttons { display:grid; grid-template-columns:1fr; gap:8px; margin-top:10px; }
.pd-compact .btn-add-cart,.pd-compact .btn-buy-now { height:40px; font-size:14px; border:1px solid var(--pd-red); }
.pd-compact .btn-add-cart { background:var(--pd-red); color:#fff; order:-1; }
.pd-compact .btn-buy-now { background:#fff; color:var(--pd-red); }
.pd-compact .btn-add-cart:hover { background:#c70010; }
.pd-compact .btn-buy-now:hover { background:#fff0f2; }
.pd-compact button:focus-visible,.pd-compact a:focus-visible { outline:2px solid #126db3; outline-offset:2px; }
.pd-compact .detail-tabs-bar { position:sticky; top:0; z-index:10; background:#fff; }
.pd-compact .tab-link { padding:11px 24px; font-size:14px; }
.pd-compact .detail-tabs-content { padding:18px 22px; min-height:0; }
.pd-compact .spec-table th,.pd-compact .spec-table td { padding:7px 12px; }
.pd-compact .detail-recommend { margin-top:12px; }
.pd-compact .recommend-list { padding:14px; }
@media(max-width:1100px) {



 .pd-compact .detail-main { grid-template-columns:160px minmax(0,1fr) 240px; gap:16px; padding:16px; }

 .pd-compact .gallery-main { height:160px; }
 .pd-compact .detail-specs { grid-template-columns:1fr; }
}
@media(max-width:767px) {
 body.pd-compact { min-width:0; }
 .pd-compact .detail-page>.container { width:auto; max-width:none; margin:0 12px; }
 .pd-compact .detail-main { grid-template-columns:1fr;  gap:16px; padding:14px; }
 .pd-compact .detail-gallery { width:220px; max-width:100%; margin:auto; }
 .pd-compact .gallery-main { height:200px; }
 .pd-compact .detail-specs { grid-template-columns:1fr 1fr; }
 .pd-compact .pd-purchase { position:static; }

 .pd-compact .detail-title { font-size:19px; }
 .pd-compact .recommend-list { grid-template-columns:repeat(2,1fr); }
}

@media(min-width:768px) and (max-width:1320px) {
 .pd-compact .detail-page>.container { width:calc(100% - 88px); margin-left:16px; margin-right:72px; }
}
@media(max-width:767px) {
 .pd-compact .fixed-sidebar { position:static; display:flex; justify-content:center; width:auto; transform:none; }
}

.pd-compact .price-row[hidden] {display:none;}

/* Two-column product detail: purchase actions follow the selected SKU and delivery. */
.pd-bottom .detail-tags { display:none; }
.pd-bottom .pd-payments{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.pd-bottom .pd-payment{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.pd-bottom .pd-pay-icon{width:20px;height:20px;flex-shrink:0;display:block}
.pd-bottom .pd-pay-bank{color:#3269aa}
.pd-bottom .detail-main { grid-template-columns:300px minmax(0,1fr); gap:24px; }
.pd-bottom .gallery-main { height:300px; }
.pd-bottom .detail-title { font-size:20px; margin-bottom:6px; }
.pd-bottom .detail-badges { margin-bottom:8px; }
.pd-bottom .detail-price-box { background:#f7f7f8; border:0; padding:10px 14px; margin:0 0 10px; }
.pd-bottom .price-label { width:76px; flex-shrink:0; }
.pd-bottom .price-current { font-size:27px; }
.pd-bottom .price-member { flex-basis:auto; margin:0 0 0 12px; }
.pd-bottom .detail-specs { display:block; }
.pd-bottom .spec-row { padding:4px 0; border:0; line-height:21px; }
.pd-bottom .spec-label { width:82px; flex-shrink:0; }
.pd-bottom .detail-sku { margin-top:7px; padding-top:4px; border-top:1px solid #eef1f4; }
.pd-bottom .sku-label { width:76px; flex-basis:76px; }
.pd-bottom .sku-row { padding:4px 0; }
.pd-bottom .sku-tag { min-height:28px; padding:3px 10px; }
.pd-bottom .pd-purchase { position:static; background:transparent; border:0; padding:5px 0 0; }
.pd-bottom .pd-delivery .spec-row { padding:4px 0; }
.pd-bottom .detail-addr-select { width:300px; max-width:100%; }
.pd-bottom .detail-buy-bar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; border-top:1px solid #eef1f4; margin-top:10px; padding-top:12px; }
.pd-bottom .qty-row { margin:0; padding:0; gap:0; }
.pd-bottom .qty-label { width:auto; margin-right:8px; }
.pd-bottom .qty-stock { display:none; }
.pd-bottom .qty-input button,.pd-bottom .qty-input input { height:40px; }
.pd-bottom .qty-unit { max-width:130px; }
.pd-bottom .buy-buttons { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.pd-bottom .btn-add-cart,.pd-bottom .btn-buy-now { min-width:140px; height:42px; padding:0 20px; }
.pd-bottom .btn-add-cart { order:-1; }
@media(max-width:1100px){
 .pd-bottom .detail-main { grid-template-columns:220px minmax(0,1fr); gap:18px; }
 .pd-bottom .gallery-main { height:220px; }
}
@media(max-width:767px){
 .pd-bottom .detail-main { grid-template-columns:1fr; }
 .pd-bottom .detail-buy-bar { gap:10px; }
 .pd-bottom .buy-buttons { width:100%; }
 .pd-bottom .btn-add-cart,.pd-bottom .btn-buy-now { flex:1; min-width:0; }
}

.source-properties h3{margin:0 0 8px;padding:5px 8px;background:#f3f3f3;border-bottom:1px solid #ddd;color:#06c;font-size:13px;font-weight:normal}.source-properties dl{margin:0 0 12px 13%;font-size:12px;line-height:21px}.source-properties dl>div{display:flex}.source-properties dt{width:50px;flex-shrink:0;text-align:right;font-weight:normal}.source-properties dd{margin:0 0 0 10px}

.source-preview-note{font-size:12px;color:#687585;padding:0 0 8px}.source-large-pack{font-size:12px;color:#e60012;margin-top:4px}.pd-bottom #detail-selling-points{color:#e99300!important;font-size:12px;line-height:1.7;margin-bottom:6px}.pd-bottom .sku-values{max-height:none}.pd-bottom .spec-row[hidden]{display:none}
