/* luansui-web-product-grid:v4 — scoped to the homepage product showcase */
html body#ls-home #ls-site-products .ls-showcase-shell{display:grid!important;grid-template-columns:minmax(250px,26%) minmax(0,1fr)!important;align-items:stretch!important;min-height:0!important;height:auto!important;border:1px solid #dfE8f6;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 5px 24px rgba(25,64,120,.035)}
html body#ls-home #ls-site-products .ls-product-feature{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch;justify-content:space-between;gap:12px!important;width:auto!important;min-width:0;min-height:0!important;height:auto!important;padding:28px 26px 16px!important;overflow:hidden;background:linear-gradient(145deg,#f6f9ff,#edf4ff)!important;border-right:1px solid #e6edf8}
html body#ls-home #ls-site-products .ls-feature-copy{position:relative!important;inset:auto!important;z-index:1;width:auto!important;max-width:none!important;min-width:0}
html body#ls-home #ls-site-products .ls-feature-copy h3{font-size:26px;line-height:1.4;font-weight:600;color:#183455;margin:0 0 12px}
html body#ls-home #ls-site-products .ls-feature-copy p{font-size:14px!important;line-height:1.8!important;margin:0 0 18px!important;color:#6b7e99;max-width:none!important;overflow-wrap:anywhere}
html body#ls-home #ls-site-products .ls-feature-category:empty{display:none}
html body#ls-home #ls-site-products .ls-feature-buy{position:relative!important;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;min-height:40px;border-radius:8px;line-height:20px;font-size:14px;font-weight:500;text-decoration:none}
html body#ls-home #ls-site-products .ls-feature-buy[hidden]{display:none!important}
html body#ls-home #ls-site-products .ls-feature-art{position:static!important;inset:auto!important;display:block!important;flex:0 0 auto!important;align-self:center!important;width:100%!important;max-width:240px!important;height:174px!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;transform:none!important;opacity:1!important;pointer-events:none}
html body#ls-home #ls-site-products .ls-showcase-catalog{display:block!important;min-width:0;min-height:0!important;height:auto!important;padding:26px!important;background:#fff}
html body#ls-home #ls-site-products .ls-product-group-tabs{display:flex;align-items:center;gap:22px;margin:0 0 22px!important;min-width:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin;border-bottom:1px solid #e1e9f5}
html body#ls-home #ls-site-products .ls-product-group-tab{flex:none;font-size:16px!important;line-height:24px;white-space:nowrap;padding:10px 0 16px!important;color:#6e819d;font-weight:400}
html body#ls-home #ls-site-products .ls-product-group-tab.is-active{color:#165add;font-weight:600}
html body#ls-home #ls-site-products .ls-site-category-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:start!important;grid-auto-rows:auto!important;gap:16px!important;min-height:0!important;height:auto!important;margin:0!important}
html body#ls-home #ls-site-products a.ls-site-category{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:8px;min-width:0;min-height:174px!important;height:auto!important;padding:22px 18px!important;box-sizing:border-box;border:1px solid #dfe9f8!important;border-radius:12px!important;overflow:hidden;background:linear-gradient(130deg,#f4f8ff,#eaf2ff)!important;color:inherit;text-decoration:none;cursor:pointer;isolation:isolate;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
html body#ls-home #ls-site-products a.ls-site-category:before{inset:0!important;width:auto!important;height:auto!important;background-position:right bottom!important;background-size:cover!important;background-repeat:no-repeat!important;pointer-events:none}
html body#ls-home #ls-site-products a.ls-site-category h3{position:relative;z-index:1;font-size:18px!important;line-height:1.5!important;font-weight:600;color:#183455!important;margin:0!important;max-width:100%!important;overflow-wrap:anywhere;word-break:normal}
html body#ls-home #ls-site-products a.ls-site-category .ls-site-category-description{position:relative;z-index:1;font-size:13px!important;line-height:1.75!important;color:#6e819d!important;margin:0!important;max-width:100%!important;overflow-wrap:anywhere}
/* Entire existing anchor remains the click target; no extra call-to-action text. */
html body#ls-home #ls-site-products a.ls-site-category .ls-category-more,html body#ls-home #ls-site-products a.ls-site-category .ls-category-link,html body#ls-home #ls-site-products a.ls-site-category .ls-site-category-more{display:none!important}
@media(hover:hover){html body#ls-home #ls-site-products a.ls-site-category:hover{transform:translateY(-3px)!important;border-color:#b9d2fc!important;box-shadow:0 8px 20px rgba(32,88,172,.09)}}
html body#ls-home #ls-site-products a.ls-site-category:focus-visible{outline:2px solid #2864dc;outline-offset:-3px}
@media(max-width:1100px){html body#ls-home #ls-site-products .ls-showcase-shell{grid-template-columns:220px minmax(0,1fr)!important}html body#ls-home #ls-site-products .ls-site-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body#ls-home #ls-site-products .ls-product-feature{padding:24px 20px 16px!important}html body#ls-home #ls-site-products .ls-showcase-catalog{padding:22px!important}html body#ls-home #ls-site-products .ls-product-group-tabs{gap:18px}html body#ls-home #ls-site-products .ls-product-group-tab{font-size:14px!important}}
@media(max-width:760px){html body#ls-home #ls-site-products .ls-showcase-shell{grid-template-columns:minmax(0,1fr)!important}html body#ls-home #ls-site-products .ls-product-feature{border-right:0;border-bottom:1px solid #e6edf8;display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;align-items:center!important;padding:22px!important;gap:16px!important}html body#ls-home #ls-site-products .ls-feature-art{width:120px!important;height:120px!important}html body#ls-home #ls-site-products .ls-feature-copy h3{font-size:23px}html body#ls-home #ls-site-products .ls-feature-copy p{font-size:13px!important}html body#ls-home #ls-site-products .ls-showcase-catalog{padding:20px!important}html body#ls-home #ls-site-products .ls-product-group-tabs{margin-bottom:18px!important}}
@media(max-width:600px){html body#ls-home #ls-site-products .ls-site-category-grid{grid-template-columns:minmax(0,1fr)!important}html body#ls-home #ls-site-products a.ls-site-category{min-height:146px!important;padding:20px!important}html body#ls-home #ls-site-products .ls-product-group-tabs{gap:16px}html body#ls-home #ls-site-products .ls-product-group-tab{font-size:13px!important}}
@media(max-width:389px){html body#ls-home #ls-site-products .ls-product-feature{grid-template-columns:minmax(0,1fr)!important}html body#ls-home #ls-site-products .ls-feature-art{height:110px!important;width:160px!important}}
@media(prefers-reduced-motion:reduce){html body#ls-home #ls-site-products a.ls-site-category{transition:none!important;transform:none!important}}

/* A real image container prevents old direct-child cover rules from matching. */
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:100%!important;min-height:190px!important;max-height:220px!important;margin:18px 0 0!important;overflow:visible!important;background:none!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual>img.ls-feature-art{position:static!important;inset:auto!important;display:block!important;width:100%!important;max-width:280px!important;height:210px!important;max-height:210px!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;opacity:1!important}
html body#ls-home #ls-site-products .ls-product-feature{justify-content:flex-start!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-feature-copy{flex:0 0 auto!important}
html body#ls-home #ls-site-products .ls-site-category-grid{align-items:stretch!important}
@media(max-width:760px){html body#ls-home #ls-site-products .ls-product-feature{display:flex!important;flex-direction:column!important;align-items:stretch!important}html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual{min-height:140px!important;height:140px!important;margin:4px 0 0!important}html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual>img.ls-feature-art{max-width:210px!important;height:140px!important;max-height:140px!important}}

/* Blend the illustration's white matte into the blue feature surface. */
html body#ls-home #ls-site-products .ls-product-feature{isolation:isolate!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual>img.ls-feature-art{mix-blend-mode:multiply!important;background:transparent!important}
/* Own all link states so global anchor hover colors cannot hide the label. */
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy,
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:link,
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:visited{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#2563eb!important;border:1px solid transparent!important;opacity:1!important;text-decoration:none!important;text-shadow:none!important;min-height:44px;box-sizing:border-box;transition:background-color .18s ease,box-shadow .18s ease}
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:hover,
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:focus{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#174ebc!important;opacity:1!important;text-decoration:none!important;box-shadow:0 5px 14px rgba(23,78,188,.18)!important}
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:active{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#1543a2!important;opacity:1!important}
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy *{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy:focus-visible{outline:2px solid #174ebc!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){html body#ls-home #ls-site-products a#ls-feature-buy.ls-feature-buy{transition:none!important}}

/* Compact mobile feature: text left, contained art right, no desktop height floor. */
@media(max-width:760px){
html body#ls-home #ls-site-products .ls-showcase-shell{align-items:start!important;min-height:0!important}
html body#ls-home #ls-site-products .ls-product-feature{display:grid!important;grid-template-columns:minmax(0,1fr) 110px!important;grid-template-rows:auto!important;align-items:center!important;align-self:start!important;gap:12px!important;padding:22px 20px!important;min-height:0!important;height:auto!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-feature-copy{width:auto!important;min-width:0!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-feature-copy h3{margin:0 0 8px!important;font-size:23px!important;line-height:1.4!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-feature-copy p{margin:0 0 14px!important;font-size:13px!important;line-height:1.7!important}
html body#ls-home #ls-site-products .ls-product-feature a#ls-feature-buy.ls-feature-buy{margin-top:0!important;padding:8px 16px!important;min-height:44px!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual{width:110px!important;min-width:0!important;min-height:0!important;height:110px!important;max-height:110px!important;margin:0!important;align-self:center!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual>img.ls-feature-art{width:110px!important;max-width:100%!important;height:110px!important;max-height:110px!important;object-fit:contain!important}
}
@media(max-width:389px){
html body#ls-home #ls-site-products .ls-product-feature{grid-template-columns:minmax(0,1fr) 80px!important;padding:20px 16px!important;gap:10px!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual{width:80px!important;height:90px!important;max-height:90px!important}
html body#ls-home #ls-site-products .ls-product-feature .ls-grid-feature-visual>img.ls-feature-art{width:80px!important;height:90px!important;max-height:90px!important}
}
