.hp-category-filter{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:28px}.hp-category-filter a{padding:8px 14px;border:1px solid #cbd8e1;border-radius:6px}.hp-article{max-width:920px}.hp-featured{width:100%;height:auto;max-height:520px;object-fit:cover}.hp-meta{color:#657887;margin:20px 0}.entry-content img{max-width:100%;height:auto}.entry-content{overflow-wrap:anywhere}.hp-card-image img{width:100%;height:190px;object-fit:cover}.navigation.pagination{margin-top:30px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:767px){.hp-article{padding:0 16px}.hp-card-image img{height:auto}}
/* WP V1.1: scope gallery dimensions and protect source layout from plugin styles. */
body .product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,270px);gap:22px;align-items:start}
body .detail-gallery-carousel{min-width:0;width:100%;max-width:100%}
body .detail-gallery-stage{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden}
body .detail-gallery-stage>.detail-gallery-main{display:block;width:100%;height:100%;object-fit:cover}
body .detail-gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;width:100%;margin-top:10px}
body .detail-gallery-thumbs>.detail-gallery-thumb{display:block;width:100%;min-width:0;aspect-ratio:16/9;padding:0;overflow:hidden}
body .detail-gallery-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
body .site-logo{max-width:100%;height:auto}
body .home-image-hero-img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:980px){body .product-detail-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){body .detail-gallery-thumbs{display:flex;overflow-x:auto}body .detail-gallery-thumbs>.detail-gallery-thumb{flex:0 0 84px;width:84px}}

/* V1.2: partner logos stay in separate responsive cards. */
body.home-ref .partner-logo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
body.home-ref .partner-logo-card{min-width:0;display:flex;align-items:center;justify-content:center;text-align:center}
body.home-ref .hp-partner-image{display:block;max-width:100%;max-height:82px;width:auto;height:auto;object-fit:contain}
@media(max-width:1024px){body.home-ref .partner-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.home-ref .partner-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* Product detail: preserve original classes and sizing; constrain thumbnails on mobile. */
.hp-product-detail .detail-gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.hp-product-detail .detail-gallery-thumb{min-width:0;overflow:hidden}
.hp-product-detail .detail-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.hp-product-detail .detail-gallery-main{display:block;max-width:100%;object-fit:cover}
@media(max-width:767px){.hp-product-detail .product-detail-layout{grid-template-columns:minmax(0,1fr)}.hp-product-detail .detail-gallery-thumbs{gap:6px}.hp-product-detail .product-variants-table-wrap{overflow-x:auto}}
