
.xh-social-product{max-width:920px;margin:0 auto;padding:20px;color:#43382f;background:#fffaf4;border:1px solid #f2dfca;border-radius:20px;box-sizing:border-box;font:14px/1.85 system-ui,-apple-system,"Microsoft YaHei",sans-serif;overflow-wrap:anywhere}
.xh-social-product *{box-sizing:border-box;max-width:100%}
.xh-social-product .xh-sp-eyebrow{font-size:12px;font-weight:700;letter-spacing:1px;color:#b56525}
.xh-social-product .xh-sp-title{margin:8px 0 12px;font-size:21px;font-weight:750;line-height:1.6;color:#4c3020}
.xh-social-product .xh-sp-notice{padding:12px 16px;margin:14px 0 20px;background:#fff0d9;border-left:3px solid #ec964a;border-radius:10px;color:#87501d}
.xh-social-product .xh-sp-section{margin:16px 0;padding:18px;background:#fff;border:1px solid #f0e5d8;border-radius:14px}
.xh-social-product .xh-sp-heading{font-size:17px;font-weight:700;color:#935024;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #f2e7db}
.xh-social-product .xh-sp-link,.xh-social-product a{color:#ad571f;text-decoration:underline;text-underline-offset:3px;word-break:break-word}
.xh-social-product p{margin:10px 0;line-height:1.85}
.xh-social-product h1,.xh-social-product h2,.xh-social-product h3,.xh-social-product h4{font-size:17px;line-height:1.7;margin:16px 0 10px;color:#84502d}
.xh-social-product img{max-width:100%;height:auto;border-radius:10px}
.xh-social-product table{width:100%;border-collapse:collapse;font-size:13px}
.xh-social-product td,.xh-social-product th{padding:8px;border:1px solid #eedfce;word-break:break-word}
.xh-social-product .xh-sp-spec{padding:14px 16px;background:#f7f0e6;border-radius:12px;margin:16px 0;font-size:13px}
@media(max-width:600px){.xh-social-product{padding:14px;border-radius:14px}.xh-social-product .xh-sp-title{font-size:18px}.xh-social-product .xh-sp-section{padding:13px}.xh-social-product table{display:block;overflow-x:auto}}

body .layui-layer-page:has(.xh-social-product){width:min(700px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;left:50%!important;margin-left:0!important;transform:translateX(-50%)!important;top:min(5vh,40px)!important;height:auto!important;max-height:calc(100dvh - 32px)!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 24px 80px #2f251c33!important;background:#fffaf4!important}
body .layui-layer-page:has(.xh-social-product) .layui-layer-content{width:auto!important;height:auto!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
body .layui-layer-page:has(.xh-social-product) .open-commodity{width:100%!important;min-width:0!important;box-sizing:border-box!important}
body .layui-layer-page:has(.xh-social-product) .commodity-form input,body .layui-layer-page:has(.xh-social-product) .commodity-form select{max-width:100%;box-sizing:border-box}
@media(max-width:600px){body .layui-layer-page:has(.xh-social-product){border-radius:14px!important;top:12px!important}body .layui-layer-page:has(.xh-social-product) .open-commodity{padding:12px!important}}

body .layui-layer-page:has(.xh-social-product) .commodity_name{display:block!important;padding:0 42px 0 4px!important;box-sizing:border-box!important;line-height:1.6!important;overflow-wrap:anywhere}
