/* Keep existing card dimensions; reserve a solid left panel for text. */
#featuredProducts{scroll-margin-top:110px}
.idx-product .product-box .menu-box .item{display:block;color:inherit;text-decoration:none;isolation:isolate;background:#f1efeb}
.idx-product .product-box .menu-box .item .img{position:relative;z-index:1}
.idx-product .product-box .menu-box .item .img .ab{left:45%;width:55%;overflow:hidden}
.idx-product .product-box .menu-box .item .img img{object-fit:cover;object-position:center}
.idx-product .product-box .menu-box .item .img:after{display:none}
.idx-product .product-box .menu-box .item .info-box{z-index:10;width:45%;height:100%;background:#f1efeb;padding:clamp(18px,2vw,36px) clamp(14px,1.6vw,30px)}
.idx-product .product-box .menu-box .item .info-box .info .title{color:#111;max-width:100%;font-size:clamp(19px,1.65vw,30px);line-height:1.3;text-shadow:none;overflow-wrap:anywhere}
.idx-product .product-box .menu-box .item .info-box .public-more .more{max-width:100%;padding:12px 14px;gap:8px;box-sizing:border-box}
.idx-product .product-box .menu-box .item .info-box .public-more .word{font-size:clamp(11px,1vw,16px);white-space:normal}
.idx-product .product-box .menu-box .item:focus-visible{outline:3px solid #138b8c;outline-offset:5px}
@media(max-width:768px){.idx-product .product-box .menu-box .item .info-box .info .title{font-size:22px}}

/* Centre the fan and enlarge the humidifier within their existing photo panes. */
#featuredProducts .item[data-category="fan"] .img img{object-position:26% center}
#featuredProducts .item[data-category="humidifier"] .img img{transform:scale(1.35);transform-origin:50% 35%}
#featuredProducts .item[data-category="humidifier"]:hover .img img{transform:scale(1.35)}

/* Five homepage categories: three above, two centred below. */
#featuredProducts{grid-template-columns:repeat(6,minmax(0,1fr))}
#featuredProducts > .item{grid-column:span 2}
#featuredProducts > .item:nth-child(4){grid-column:2 / span 2}
#featuredProducts .item[data-category="heater"] .img img{object-position:12% center}
@media(max-width:1024px) and (min-width:769px){#featuredProducts{grid-template-columns:repeat(4,minmax(0,1fr))}#featuredProducts > .item:nth-child(4){grid-column:span 2}#featuredProducts > .item:last-child{grid-column:2 / span 2}}
@media(max-width:768px){#featuredProducts{grid-template-columns:minmax(0,1fr)}#featuredProducts > .item,#featuredProducts > .item:nth-child(4){grid-column:auto}}

/* User-selected photos: crop blank catalogue margins inside the photo pane. */
#featuredProducts .item[data-category="aircoole"] .img img{position:absolute;top:-31%;height:135%;max-height:none;object-position:92% center}
#featuredProducts .item[data-category="airpurifier"] .img img{position:absolute;top:-29%;height:140%;max-height:none;object-position:0 center}
#featuredProducts .item[data-category="fan"] .img .ab{background:#e8e6e3}
#featuredProducts .item[data-category="fan"] .img img{transform:none;object-position:center;object-fit:cover}
#featuredProducts .item[data-category="fan"]:hover .img img{transform:none}
