
/* Unified product artwork and region badges. Native images are never stretched. */
html body .wymk-art-anchor.wymk-art-anchor{position:relative!important;overflow:visible!important;isolation:isolate}
html body .wymk-art-anchor.product-img>div{display:block!important;width:100%!important;min-width:100%!important;flex:0 0 100%!important;height:auto!important}
html body .td-image .wymk-art-anchor{display:block!important;width:60px!important;height:42px!important}
html body .td-image .wymk-art-frame.wymk-art-frame{width:60px!important;max-width:60px!important;margin:3px auto!important}
html body .wymk-art-anchor.wymk-art-anchor::before,html body .wymk-art-anchor.wymk-art-anchor::after{content:none!important;display:none!important;background:none!important}
html body .product-layout .product-thumb.wymk-art-card .image>a.product-img.wymk-art-anchor::before,html body .product-layout .product-thumb.wymk-art-card .image>a.product-img.wymk-art-anchor::after,html body .product-info .product-image.wymk-card-gallery .main-image.wymk-art-detail::before,html body .product-info .product-image.wymk-card-gallery .main-image.wymk-art-detail::after,html body .product-layout[class*="has-pseudo-flag"]::after,html body .product-thumb.wymk-art-card[class*="has-pseudo-flag"]::after{content:none!important;display:none!important;background:none!important}
html body .wymk-art-card [class*="wymk-region-flag"],html body .wymk-art-card .wymk-flag64{display:none!important}
html body .wymk-art-frame.wymk-art-frame{display:block!important;position:relative!important;width:min(180px,calc(100% - 32px))!important;height:auto!important;aspect-ratio:5/3!important;max-width:none!important;max-height:none!important;margin:auto!important;padding:0!important;overflow:hidden!important;border-radius:5px!important;background:#fff!important;flex:0 0 auto!important}
html body .wymk-art-frame.wymk-art-frame>img.wymk-art-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;transform:scale(var(--wymk-art-scale,1))!important;transform-origin:center!important;border-radius:0!important}
html body .wymk-art-anchor>.wymk-art-badge,html body .wymk-art-detail>.wymk-art-badge{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:10px!important;right:10px!important;left:auto!important;z-index:35!important;min-width:32px!important;min-height:24px!important;height:auto!important;max-width:74px!important;padding:4px!important;border-radius:6px!important;background:#fff!important;box-shadow:0 1px 7px #193a6324!important;border:1px solid #e4eaf3!important;color:#345575!important;font:600 11px/16px Arial,sans-serif!important;pointer-events:none!important;transform:none!important}
html body .wymk-art-badge>img.wymk-art-flag{display:block!important;position:static!important;width:28px!important;height:20px!important;min-width:28px!important;max-width:28px!important;min-height:20px!important;max-height:20px!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important;background:#fff!important;border-radius:1px!important}
html body .wymk-catalog-card.wymk-art-anchor{display:flex!important;flex-direction:column!important}
html body .wymk-catalog-card.wymk-art-anchor>.wymk-art-frame{width:calc(100% - 28px)!important;margin:18px auto 0!important}
html body .wymk-art-detail.wymk-art-detail{position:relative!important}
html body .wymk-art-detail .wymk-art-frame{width:min(360px,calc(100% - 40px))!important;margin:30px auto!important}
html body .wymk-art-detail .swiper-slide{height:auto!important;min-height:260px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body .wymk-art-detail>.wymk-art-badge{top:14px!important;right:14px!important}
html body .product-layout .caption>.stats{display:none!important}
@media(max-width:767px){
 html body .main-products .product-thumb.wymk-art-card .wymk-art-frame.wymk-art-frame{width:100%!important}
 html.route-product-search body .main-products .product-thumb.wymk-art-card{padding:8px!important}
 html body .wymk-art-frame.wymk-art-frame{width:calc(100% - 20px)!important;max-width:155px!important}
 html body .wymk-art-anchor>.wymk-art-badge{top:2px!important;right:2px!important;padding:2px!important;min-width:22px!important;min-height:16px!important;border-radius:4px!important}
 html body .wymk-art-badge>img.wymk-art-flag{width:18px!important;min-width:18px!important;max-width:18px!important;height:12px!important;min-height:12px!important;max-height:12px!important}
 html body .wymk-art-detail .wymk-art-frame{width:calc(100% - 44px)!important;max-width:320px!important;margin:22px auto!important}
 html body .wymk-art-detail .swiper-slide{min-height:210px!important}
 html body .wymk-catalog-card.wymk-art-anchor>.wymk-art-frame{width:calc(100% - 24px)!important;max-width:none!important}
}

/* Mini-program follow-up. Each flag gets a reserved row above the brand artwork. */
@media(max-width:767px){
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .auto-grid-items{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 12px!important;box-sizing:border-box!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .product-thumb.wymk-art-card{
  display:flex!important;flex-direction:column!important;grid-template-rows:none!important;height:auto!important;min-height:0!important;max-height:none!important;padding:8px!important;overflow:hidden!important;border-radius:12px!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .wymk-art-card .image-group,
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .wymk-art-card .image{
  display:block!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand) body .wymk-art-card .image>a.wymk-art-anchor>div{
  display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand) body .wymk-art-card .wymk-art-frame.wymk-art-frame{
  width:100%!important;max-width:180px!important;margin:0 auto!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .wymk-art-card .caption{
  display:block!important;height:auto!important;min-height:48px!important;max-height:none!important;padding:8px 0 0!important;overflow:visible!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .wymk-art-card .name{
  height:auto!important;min-height:40px!important;max-height:none!important;margin:0!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand).route-common-home body .module-products-973 .wymk-art-card .name a{
  font-size:13px!important;line-height:20px!important;white-space:normal!important;overflow-wrap:anywhere!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;max-height:40px!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand) body #product-product .side-products .wymk-art-card .name a{
  font-size:13px!important;line-height:20px!important
 }
 html:is(.wymk-mini-program,.wymk-mini-brand) body #product-product .side-products .wymk-art-card .name{
  min-height:40px!important;max-height:40px!important
 }
}
