.product-company-link{display:block;margin:18px 0;color:#155eef;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.enterprise-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.enterprise-product-card{display:block;min-width:0;border:1px solid #e2e9f2;border-radius:8px;overflow:hidden;background:#fff;color:#193758;text-decoration:none;padding-bottom:16px}
.enterprise-product-card:hover{border-color:#6398ed;box-shadow:0 4px 18px #163c7010}
.enterprise-product-card>img{display:block;width:100%;height:170px;object-fit:cover;background:#f3f6fa}
.enterprise-product-card h3{font-size:16px;line-height:1.6;margin:14px 16px 6px;overflow-wrap:anywhere}
.enterprise-product-card p{font-size:12px;color:#64748b;margin:0 16px 12px;overflow-wrap:anywhere}
.enterprise-product-card strong{display:block;margin:0 16px;font-size:14px;color:#bd532d;overflow-wrap:anywhere}
html[data-page=product-list] .product-card--local .product-image>img{display:block;width:100%;height:100%;object-fit:cover}
html[data-page=product-list] .product-card--local .product-image:after{content:'企业发布'}
html[data-page=product-list] .product-card--local .product-price{overflow-wrap:anywhere;line-height:1.4}
html[data-page=product-list] .product-card--local .product-price.is-unset{color:#8391a2;font-size:12px;font-weight:500;min-height:25px;display:flex;align-items:center}
.product-upload-preview{display:flex;gap:12px;flex-wrap:wrap}.product-upload-preview img{width:100px;height:100px;object-fit:cover;border:1px solid #dce6f3;border-radius:6px}
.profile-form label small{display:block;margin-top:8px;font-size:12px;color:#758499;font-weight:normal;line-height:1.7}
.profile-form button:disabled{opacity:.5;cursor:wait}
body.product-detail-page .gallery-main>img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#f6f8fb}
.product-image-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.product-image-thumbs button{padding:3px;border:1px solid #dce6f3;background:#fff;cursor:pointer;border-radius:4px}.product-image-thumbs button[aria-pressed=true]{border:2px solid #155eef;padding:2px}.product-image-thumbs img{display:block;width:56px;height:56px;object-fit:cover}
.local-company-image{display:grid;place-items:center;padding:24px;background:#edf4fc;color:#1a477e;font-size:26px;font-weight:700;text-align:center;overflow-wrap:anywhere}
@media(max-width:1100px){.enterprise-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.enterprise-product-grid{grid-template-columns:1fr}.enterprise-product-card>img{height:220px}.product-company-link{font-size:13px}}
body.product-detail-page .gallery-main{position:relative;overflow:hidden}
.product-optional-title{margin:8px 0 0;padding-top:20px;border-top:1px solid #e5eaf1;color:#193758;font-size:16px}.product-optional-title small{margin-left:12px;color:#758499;font-size:12px;font-weight:normal}
/* Separate company identity from product pricing and specifications. */
body.product-detail-page .product-company-link{display:flex;align-items:center;gap:14px;padding:17px 18px;margin:22px 0;border:1px solid #dce7f7;border-radius:10px;background:#f5f9ff;text-decoration:none;color:#18375e}
.product-company-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:9px;background:#e4eeff;color:#155eef;font-size:22px;font-weight:700}
.product-company-info{flex:1;min-width:0}.product-company-info small{display:block;color:#71839c;font-size:12px;line-height:1.5;margin-bottom:5px}.product-company-info strong{display:block;font-size:18px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.product-company-action{flex:none;color:#155eef;font-size:13px;white-space:nowrap}.product-company-link:hover{border-color:#96b8ee!important;background:#edf4ff!important}
@media(max-width:600px){body.product-detail-page .product-company-link{gap:10px;padding:14px;flex-wrap:wrap}.product-company-info strong{font-size:16px}.product-company-action{margin-left:54px}.product-company-icon{width:36px;height:40px}}
/* Product imagery: one upload target with previews and cover controls. */
.product-upload{min-width:0;margin:0;padding:0;border:0;position:relative}
.product-upload legend{padding:0;margin-bottom:10px;color:#7d8fa8;font-size:13px}
body .product-upload .product-upload-input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0;pointer-events:none}
body .product-upload .product-upload-drop{display:flex;align-items:center;gap:18px;width:100%;min-height:114px;padding:24px;border:1px dashed #b6cbee;border-radius:10px;background:#f7faff;text-align:left;color:#294a75;cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s}
body .product-upload .product-upload-drop:hover,body .product-upload .product-upload-drop.is-dragging{background:#edf5ff;border-color:#155eef}
.product-upload-drop:focus-visible{outline:3px solid #b9d3ff;outline-offset:3px}
.product-upload-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#e9f1ff;color:#155eef;flex:none}.product-upload-symbol svg{width:25px;height:25px}
.product-upload-drop strong{display:block;font-size:15px;font-weight:600;line-height:1.6}.product-upload-drop small{display:block;margin-top:5px;font-size:12px;color:#8799b2}.product-upload-count{margin-left:auto;flex:none;color:#7389a5;font-size:13px;font-variant-numeric:tabular-nums}
.product-upload-help{margin:10px 0 0;color:#8a9ab0;font-size:12px;line-height:1.8}
.product-upload .product-upload-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}.product-upload-preview:empty{display:none}
.product-upload-card{position:relative;min-width:0;margin:0;border:1px solid #e1e9f3;border-radius:9px;background:#fff;overflow:hidden}
.product-upload .product-upload-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:0;border-radius:0;background:#f3f6fa}
.product-upload-card figcaption{display:flex;align-items:center;justify-content:center;min-height:34px;border-top:1px solid #edf1f7}
body .product-upload-card figcaption button{padding:6px 8px;border:0;background:transparent;font-family:inherit;font-size:12px;color:#4b72a4;cursor:pointer}.product-upload-cover{font-size:12px;font-weight:600;color:#155eef}
body .product-upload-card .product-upload-remove{position:absolute;top:6px;right:6px;width:25px;height:25px;padding:0;border:1px solid #ffffff99;border-radius:50%;background:#20364bcc;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.product-upload-status{margin:10px 0 0;font-size:12px;color:#6682a6;line-height:1.7}.product-upload-status:empty{display:none}.product-upload-status.is-error{color:#b34444}
body .product-upload .product-upload-drop:disabled{opacity:.65;cursor:default}
@media(max-width:600px){body .product-upload .product-upload-drop{padding:18px 14px;gap:12px;min-height:105px}.product-upload-symbol{width:38px;height:42px}.product-upload-drop strong{font-size:14px}.product-upload-drop small{font-size:11px}.product-upload-count{font-size:12px}.product-upload .product-upload-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(prefers-reduced-motion:reduce){body .product-upload .product-upload-drop{transition:none}}
