/* Additive channel layer: the original storefront styles and cart are retained. */
.wechat-channel [data-legacy-cart] { display: none !important; }
.wechat-channel .wx-buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 1px solid #245c40; border-radius: 24px; background: #245c40; color: #fff; font: inherit; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.wechat-channel .wx-buy:hover { background: #164b31; border-color: #164b31; }
.wechat-channel :is(.wx-buy, .wx-open-help, .wx-guide, .wx-close, .wx-copy-button, .wx-history):focus-visible { outline: 3px solid #245c40; outline-offset: 4px; }
.wechat-channel .wx-open-help { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 5px; background: transparent; color: #4b5e52; border: 0; border-radius: 8px; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.wechat-channel .wx-guide { display: inline-flex; align-items: center; min-height: 44px; color: #245c40; font-size: 14px; text-decoration: none; }
.wechat-channel .wx-guide:hover { text-decoration: underline; }
.wechat-channel .wx-product-note { margin: 12px 0 0; color: #68716b; font-size: 13px; font-weight: 400; line-height: 1.75; }
.wechat-channel .storefront-page .shop-shell { padding-top: 24px; }
.wechat-channel .storefront-page .shop-shell > p:first-child { font-size: 13px; line-height: 1.7; margin: 0 0 20px; }
.wechat-channel .storefront-page .shop-heading { display: block; margin-bottom: 20px; }
.wechat-channel .storefront-page .shop-heading h1 { font-size: 32px; margin: 8px 0; }
.wechat-channel .storefront-page .shopping-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; min-width: 0; max-width: none; padding: 16px 22px; margin: 22px 0 0; }
.wechat-channel .storefront-page .shopping-steps li { border: 0; margin: 0; padding: 0; }
.wechat-channel .storefront-page .shopping-steps li > span { font-size: 19px; }
.wechat-channel .storefront-page .shopping-steps strong { font-size: 16px; }
.wechat-channel .wx-product { background: #fff; border: 1px solid #e4e8e4; box-shadow: none; border-radius: 24px; }
.wechat-channel .wx-product-art { height: 252px; display: grid; place-items: center; padding: 24px; background: #f5f6f5; }
.wechat-channel .wx-product-art img { width: 100%; height: 204px; object-fit: contain; mix-blend-mode: multiply; }
.wechat-channel .wx-product .product-content { border: 0; padding: 24px; gap: 0; }
.wechat-channel .wx-product h2 { margin: 0 0 10px; color: #1d2922; font-size: 24px; line-height: 1.4; }
.wechat-channel .wx-product .wx-purpose { color: #53715e; font-size: 13px; margin: 0 0 6px; }
.wechat-channel .wx-product .wx-description { color: #626c65; font-size: 15px; line-height: 1.75; margin: 0 0 8px; min-height: 53px; }
.wechat-channel .wx-product-actions { display: flex; flex-direction: column; margin-top: auto; padding-top: 18px; gap: 2px; }
.wechat-channel .wx-product .wx-product-note { margin-top: 2px; text-align: center; }
.wechat-channel #shop-notice, .wechat-channel .mini-status { color: #3f5f4b; background: #f1f5f1; border-color: #dce5de; }
.wechat-channel .mini-product.wx-mini-product { background: #fff; border-color: #e3e7e3; }
.wechat-channel .wx-mini-product .mini-product-buy { grid-column: 1/-1; justify-content: center; }
.wechat-channel .wx-mini-product .wx-open-help { grid-column: 1/-1; margin-top: -8px; }
.wechat-channel .wx-mini-product .wx-guide { min-height: 34px; }
.wechat-channel .mini-bag-link small { margin-top: 3px; }
.wechat-channel nav.mini-bottom-nav .mini-bag-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 26px; white-space: nowrap; }
.wechat-channel nav.mini-bottom-nav .mini-bag-link > .qx-control-label { font-size: 14px; }
.wechat-channel .wx-aftersales-note { padding: 22px; border: 1px solid #dce5de; background: #f2f6f2; border-radius: 20px; margin: 24px 0; }
.wechat-channel .wx-aftersales-note h2 { margin: 0 0 10px; font-size: 22px; }
.wechat-channel .wx-aftersales-note p { line-height: 1.8; }
.wechat-channel .wx-shop-dialog { box-sizing: border-box; width: min(460px, calc(100vw - 28px)); max-width: calc(100vw - 28px); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #e2e7e2; border-radius: 24px; color: #26352b; background: white; box-shadow: 0 22px 80px #0003; font: 16px/1.7 -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif; overflow: auto; }
.wechat-channel .wx-shop-dialog::backdrop { background: #13291fb3; }
.wechat-channel .wx-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wechat-channel .wx-dialog-heading h2 { margin: 0; font-size: 21px; line-height: 1.45; }
.wechat-channel .wx-close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #3d5143; background: #f0f3f0; font-size: 26px; cursor: pointer; }
.wechat-channel .wx-dialog-body > p { margin: 14px 0; }
.wechat-channel .wx-store-name { color: #245c40; }
.wechat-channel .wx-qr { display: flex; justify-content: center; align-items: center; min-height: 240px; margin: 8px 0 18px; }
.wechat-channel .wx-qr canvas { max-width: 100%; height: auto !important; }
.wechat-channel .wx-dialog-body > .wx-buy { width: 100%; box-sizing: border-box; }
.wechat-channel .wx-help-hint { font-size: 14px; color: #506056; }
.wechat-channel .wx-link-label { display: grid; gap: 5px; font-size: 13px; color: #526158; }
.wechat-channel .wx-copy-input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 9px; font-size: 14px; color: #263b2e; border: 1px solid #ccd5ce; border-radius: 8px; background: #fafbf9; }
.wechat-channel .wx-copy-button { width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid #ccd5ce; background: #fff; color: #245c40; border-radius: 22px; font: inherit; cursor: pointer; }
.wechat-channel .wx-copy-status { font-size: 14px; color: #245c40; }
.wechat-channel .wx-history { display: block; margin-top: 14px; padding: 10px 0; color: #536b59; font-size: 14px; }
.wechat-channel .wx-order-steps { padding-left: 24px; }
.wechat-channel .wx-order-steps li { margin: 12px 0; }
@media (max-width: 740px) {
  .wechat-channel .storefront-page .product-grid { grid-template-columns: 1fr; }
  .wechat-channel .storefront-page .wx-product { display: flex; flex-direction: row; flex-wrap: wrap; overflow: hidden; }
  .wechat-channel .storefront-page .wx-product { padding: 0; gap: 0; }
  .wechat-channel .storefront-page .wx-product-art { width: 100%; height: 212px; padding: 16px; }
  .wechat-channel .storefront-page .wx-product-art img { width: 100%; height: 180px; }
  .wechat-channel .storefront-page .wx-product .product-content { display: flex; flex-direction: column; width: 100%; padding: 20px; }
  .wechat-channel .storefront-page .wx-product h2 { font-size: 23px; }
  .wechat-channel .wx-description { min-height: 0; font-size: 16px; }
  .wechat-channel .wx-product .wx-product-actions { padding-top: 14px; }
  .wechat-channel .wx-product .wx-buy { min-height: 50px; font-size: 17px; }
  .wechat-channel .wx-open-help { font-size: 14px; }
  .wechat-channel .storefront-page .mobile-shop-nav { grid-template-columns: 1fr 1fr 1.7fr; align-items: stretch; gap: 6px; }
  .wechat-channel .storefront-page .mobile-shop-nav > :is(a,button) { display: flex; justify-content: center; align-items: center; min-height: 48px; font-size: 14px; line-height: 1.4; }
  .wechat-channel .storefront-page .mobile-shop-nav .wx-mobile-pick { padding: 8px; color: white; background: #245c40; border-radius: 24px; }
  .wechat-channel .storefront-page .shop-header nav { gap: 4px; }
  .wechat-channel .storefront-page .shop-header nav [data-wechat-orders] { display: none; }
  .wechat-channel .storefront-page .shop-heading h1 { font-size: 26px; }
  .wechat-channel .storefront-page .shopping-steps { gap: 8px; padding: 14px 12px; }
  .wechat-channel .storefront-page .shopping-steps li { display: block; }
  .wechat-channel .storefront-page .shopping-steps li > span { display: none; }
  .wechat-channel .storefront-page .shopping-steps strong { font-size: 14px; }
  .wechat-channel .storefront-page .shopping-steps small { font-size: 12px; }
  .wechat-channel .wx-header-buy { display: none; }
  .wechat-channel .wx-shop-dialog { padding: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .wechat-channel .wx-buy { transition: background-color .16s ease; }
}
