/* Homepage product recommendation DOM replacement; other page families are untouched. */
.kb-home-products{position:relative;isolation:isolate;padding:44px 0 28px;color:#121719;background:linear-gradient(128deg,transparent 13%,#fff9 13%,#fff9 24%,transparent 24%),linear-gradient(145deg,#edf2f6,#fcfdfe 50%,#eef3f6)}
.kb-home-products__inner{width:95%;max-width:1824px;margin-inline:auto}
.kb-home-products__heading{position:relative;text-align:center;padding-top:39px;margin-bottom:24px}
.kb-home-products__heading:before{content:"";position:absolute;top:0;left:calc(50% - 20px);width:40px;height:3px;background:#e60012}
.kb-home-products__heading>span{position:absolute;inset:5px 0 auto;font:700 clamp(36px,4.5vw,72px)/1.2 Georgia,serif;letter-spacing:.08em;opacity:.025;z-index:-1}
.kb-home-products h2{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:clamp(32px,3.5vw,56px);line-height:1.25;margin:0 0 12px}
.kb-home-products__heading>p{font-size:clamp(16px,1.4vw,23px);line-height:1.65;color:#5c6670;margin:0}
.kb-home-products__grid{display:grid;grid-auto-rows:1fr;grid-template-columns:minmax(0,2.3fr) repeat(2,minmax(0,1fr));gap:16px}
.kb-home-product{min-width:0;border:1px solid #e8edf0;border-radius:8px;overflow:hidden;background:linear-gradient(145deg,#fff,#fcfdfe)}
.kb-home-product h3{font-family:"Times New Roman",Times,serif;line-height:1.05;margin:0;font-size:clamp(28px,2.4vw,40px)}
.kb-home-product__type{font-family:"Microsoft YaHei",sans-serif;font-size:clamp(17px,1.25vw,21px);line-height:1.4;font-weight:700;margin:4px 0 12px}
.kb-home-product__tags{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;margin:0 0 12px}
.kb-home-product__tags li{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;padding:6px 3px;background:#f3f7f9;border-radius:3px;font-size:clamp(12px,.8vw,14px);line-height:1.35}
.kb-home-product__tags span{overflow-wrap:anywhere}
.kb-home-product__tags svg{width:20px;height:26px;flex:0 0 20px}
.kb-home-product__description{font-size:clamp(15px,1.05vw,18px);line-height:1.65;color:#6a7680;margin:0 0 12px;overflow-wrap:anywhere}
.kb-home-product__link,.kb-home-products__all{display:inline-flex;align-items:center;gap:12px;min-height:32px;color:#171e23;text-decoration:none;font-size:15px;line-height:1.5;transition:color 180ms ease}
.kb-home-product__link>span:last-child,.kb-home-products__all>span{color:#e60012;font-size:24px;transition:transform 180ms ease}
.kb-home-product__link:focus-visible,.kb-home-products__all:focus-visible{outline:2px solid #e60012;outline-offset:4px;border-radius:2px}
.kb-home-product--featured{position:relative;grid-row:span 2;min-height:clamp(530px,35.8vw,688px);background:linear-gradient(90deg,#fcfdff 0%,#f7fafccc 34%,#eef3f700 74%),url("assets/home-products/featured-backdrop.png") center/cover}
.kb-home-product__featured-copy{position:relative;display:flex;flex-direction:column;width:43%;min-height:100%;padding:clamp(38px,4.2vw,70px) 0 44px clamp(28px,2.4vw,42px);box-sizing:border-box;z-index:1}
.kb-home-product__featured-copy:before{content:"";width:40px;height:3px;background:#e60012;margin:0 0 26px}
.kb-home-product--featured h3{font-size:clamp(52px,4.3vw,76px);font-weight:700;letter-spacing:-.035em}
.kb-home-product--featured .kb-home-product__type{font-size:clamp(23px,1.7vw,29px);margin:14px 0 30px;white-space:nowrap}
.kb-home-product--featured .kb-home-product__tags{width:82%;min-width:calc(12em + 16px);max-width:100%;font-size:16px;grid-template-columns:minmax(4em,31fr) minmax(3em,31fr) minmax(5em,38fr);margin-bottom:32px;gap:8px}
.kb-home-product--featured .kb-home-product__tags li{flex-direction:column;box-sizing:border-box;min-height:64px;height:64px;font-size:16px;text-align:center;padding:3px 0;background:#f7f9fa;border-radius:0}
.kb-home-product--featured .kb-home-product__tags span{white-space:nowrap;overflow-wrap:normal}
.kb-home-product--featured .kb-home-product__tags svg{width:28px;height:30px;flex-basis:30px}
.kb-home-product--featured .kb-home-product__description{white-space:nowrap;font-size:clamp(12px,.96vw,17px)}
.kb-home-product--featured .kb-home-product__link{margin-top:auto;padding-top:44px;font-size:clamp(16px,1.2vw,21px);font-weight:700;gap:16px;white-space:nowrap}
.kb-home-product__circle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;color:white;background:#c91520;font-size:28px;font-weight:400}
.kb-home-product__featured-visual{position:absolute;inset:auto 0 0 auto;width:64%;pointer-events:none}
.kb-home-product__featured-visual img{display:block;width:100%;height:auto;object-fit:contain;mask-image:linear-gradient(90deg,transparent,#000 9%),linear-gradient(180deg,transparent,#000 8%);mask-composite:intersect}
.kb-home-product--secondary{display:flex;flex-direction:column;padding:12px 14px 10px}
.kb-home-product__card-link{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit;text-decoration:none}
.kb-home-product__card-link:focus-visible{outline:2px solid #e60012;outline-offset:-3px;border-radius:3px}
.kb-home-product__top{display:flex;flex-direction:column;align-items:stretch}
.kb-home-product__top img{align-self:center;display:block;width:70%;height:clamp(105px,7.5vw,154px);object-fit:contain;margin:0 auto 0}
.kb-home-product__top h3{font-size:clamp(28px,2.2vw,40px);font-weight:700;letter-spacing:-.025em}
.kb-home-product--secondary .kb-home-product__type{font-size:clamp(16px,1.23vw,21px);margin:3px 0 9px;line-height:1.4;min-height:1.4em;white-space:nowrap}
.kb-home-product--secondary .kb-home-product__tags{margin-inline:-12px;gap:2px;margin-bottom:8px}
.kb-home-product--secondary .kb-home-product__tags li{font-size:12px;padding:5px 0;gap:2px;min-height:36px;border-radius:2px}
.kb-home-product--secondary .kb-home-product__tags span{white-space:nowrap;overflow-wrap:normal}
.kb-home-product--secondary .kb-home-product__tags svg{width:12px;height:22px;flex:0 0 12px}
.kb-home-product--secondary .kb-home-product__description{font-size:clamp(12px,.9vw,16px);line-height:1.5;margin:0;min-height:1.5em}
.kb-home-products__all{display:flex;justify-content:flex-end;margin-top:18px;min-height:40px;font-size:17px;gap:18px}
.kb-home-products__all:before{content:"";height:20px;width:1px;background:#c9d0d6;margin-right:8px}
.kb-home-products__side{position:absolute;top:74px;font:12px/1.6 Arial,sans-serif;letter-spacing:3px;color:#9ca5ad;margin:0}
.kb-home-products__side:after{content:"";display:block;width:34px;height:2px;background:#cb4a51;margin-top:14px}
.kb-home-products__side--left{left:3.9%}.kb-home-products__side--right{right:3.9%}
@media(hover:hover) and (pointer:fine){.kb-home-product__link:hover,.kb-home-products__all:hover{color:#c90012}.kb-home-product__link:hover>span:last-child,.kb-home-products__all:hover>span{transform:translateX(3px)}}
@media(min-width:1600px){.kb-home-product--secondary .kb-home-product__tags li{font-size:14px}.kb-home-product--secondary .kb-home-product__tags svg{width:18px;flex-basis:18px}}
@media(max-width:1400px){.kb-home-product--secondary .kb-home-product__tags li{flex-direction:column;gap:2px;min-height:52px}.kb-home-product--secondary .kb-home-product__tags svg{width:20px;height:22px;flex-basis:22px}.kb-home-product--secondary .kb-home-product__tags{gap:0;margin-inline:-14px}}
@media(max-width:1100px){.kb-home-products__grid{grid-auto-rows:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.kb-home-product--featured{grid-column:1/-1;grid-row:auto;min-height:530px}.kb-home-product__featured-copy{min-height:530px}.kb-home-product__featured-visual{width:60%;max-width:560px}.kb-home-products__side{display:none}.kb-home-products h2{font-size:36px}.kb-home-product__top img{height:150px}.kb-home-product--secondary .kb-home-product__type{font-size:19px}}
@media(max-width:700px){.kb-home-products{padding:36px 0;background:#f4f6f8}.kb-home-products__inner{width:calc(100% - 40px)}.kb-home-products__heading{padding-top:24px;margin-bottom:24px}.kb-home-products h2{font-size:28px}.kb-home-products__heading>p{font-size:15px}.kb-home-products__heading>span{display:none}.kb-home-products__grid{grid-template-columns:minmax(0,1fr);gap:18px}.kb-home-product--featured{grid-column:auto;min-height:0;padding-bottom:300px}.kb-home-product__featured-copy{width:100%;min-height:0;padding:24px 20px 16px}.kb-home-product__featured-copy:before{margin:0 0 18px}.kb-home-product--featured h3{font-size:48px}.kb-home-product--featured .kb-home-product__type{font-size:23px;margin-bottom:20px}.kb-home-product--featured .kb-home-product__description{white-space:normal;font-size:14px}.kb-home-product--featured .kb-home-product__link{padding-top:24px;font-size:17px;min-height:44px;gap:10px}.kb-home-product__featured-visual{width:100%;max-width:300px}.kb-home-product--secondary{padding:16px 14px}.kb-home-product__top img{height:150px;width:75%}.kb-home-product__top h3{font-size:32px}.kb-home-product--secondary .kb-home-product__type{font-size:clamp(16px,4.3vw,19px)}.kb-home-product--secondary .kb-home-product__description{font-size:14px;min-height:0}.kb-home-products__all{min-height:44px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.kb-home-product__link,.kb-home-product__link>span:last-child,.kb-home-products__all,.kb-home-products__all>span{transition:none;transform:none!important}}
