/* AsiaFilt catalog v1 - PHP 5.6 safe; no external libraries. */
.af-static-hero{position:relative;margin-top:86px;height:clamp(390px,52vw,660px);overflow:hidden;background:#dde9e8}
.af-static-hero picture,.af-static-hero img{display:block;width:100%;height:100%}
.af-static-hero img{object-fit:cover;object-position:center 48%}
.af-hero-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:18px max(22px,calc((100vw - 1220px)/2));background:linear-gradient(0deg,rgba(0,0,0,.62),transparent);color:white;font-size:12px;letter-spacing:.12em}
.af-hero-bottom a{padding:11px 18px;color:white;background:#ad1522;border-radius:3px;letter-spacing:normal;font-weight:700}
.af-hero-bottom a:hover{color:white;background:#7d0e19}
.events .event-item{min-height:290px!important;background-position:center;background-size:cover}
.events .event-item:before{background:linear-gradient(0deg,rgba(0,0,0,.65),rgba(0,0,0,.02))!important}
.events .event-item .price{z-index:1}
.product-list-page .corporate-content,.product-detail-page .corporate-content{max-width:none}
.product-list-page .af-category-cover,.corporate-image.af-category-cover{height:210px;margin:0 0 24px;overflow:hidden;border-radius:12px;background:#f4f5f6}
.af-category-cover img{width:100%;height:100%;object-fit:contain;padding:12px}
.product-list-page .product-card,.product-detail-page .product-card{height:100%;display:flex;flex-direction:column;border:1px solid #e9e9e9;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(30,40,50,.05)}
.product-list-page .product-card-image,.product-detail-page .product-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-height:210px;overflow:hidden;background:#f7f8f9;padding:18px}
.product-list-page .product-card-image img,.product-detail-page .product-card-image img{width:100%;height:100%;max-height:300px;object-fit:contain;object-position:center;transform:none}
.product-list-page .product-card-content,.product-detail-page .product-card-content{padding:20px;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.product-list-page .product-card-content h3,.product-detail-page .product-card-content h3{font-size:19px;line-height:1.4;margin:0}
.product-list-page .product-card-content p,.product-detail-page .product-card-content p{font-size:14px;line-height:1.55;max-height:66px;overflow:hidden;margin:0;color:#555}
.product-list-page .product-card-content .academy-more,.product-detail-page .product-card-content .academy-more{margin-top:auto;padding-top:12px}
.af-list-search{background:#f7f8f9;border:1px solid #eee;border-radius:10px;padding:14px 16px;margin-bottom:25px}
.af-list-search label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
.af-list-search input{width:100%;border:1px solid #d6d9db;background:#fff;border-radius:7px;padding:13px 14px;outline-offset:2px;font-size:16px}
#af-search-count{display:block;font-size:12px;color:#63666b;margin-top:6px}
.af-searchable-product[hidden]{display:none!important}
.product-detail-page .af-product-detail-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;gap:28px;margin-bottom:32px}
.product-detail-page .product-detail-image{padding:22px;background:#f7f8f9;border-radius:12px;min-width:0}
.product-detail-page .product-detail-image img{height:420px;max-width:100%;object-fit:contain}
.product-detail-page .product-detail-content h2{font-size:clamp(24px,2.4vw,32px);line-height:1.25}
.product-detail-page .product-detail-extra-image{padding:18px;margin:24px 0;background:#f7f8f9;border-radius:12px}
.product-detail-page .product-detail-extra-image img{max-height:450px;object-fit:contain}
.af-product-contact{margin-top:18px}.af-contact-button{display:inline-block;background:#bb1624;color:white!important;padding:13px 18px;border-radius:5px;font-weight:700;font-size:13px}
.af-contact-button:hover{background:#92121f}
@media(max-width:991px){.af-static-hero{margin-top:70px;height:clamp(320px,66vw,500px)}.product-detail-page .af-product-detail-layout{grid-template-columns:1fr}.product-detail-page .product-detail-image img{height:330px}}
@media(max-width:575px){.af-static-hero{height:320px}.af-static-hero img{object-position:40% center}.af-hero-bottom{padding:14px 16px;font-size:10px}.af-hero-bottom a{font-size:11px;padding:10px}.events .event-item{min-height:200px!important}.product-list-page .af-category-cover{height:150px}.product-detail-page .product-detail-image img{height:280px}}
@media(prefers-reduced-motion:reduce){.af-static-hero *{animation:none!important;transition:none!important}}

.af-nav-search form{display:flex;gap:4px;align-items:center;padding:6px}.af-nav-search input{width:124px;min-width:0;border:1px solid #ddd;border-radius:6px;padding:8px;font-size:13px}.af-nav-search button{border:0;color:#fff;background:#a91825;border-radius:6px;padding:8px 10px}.af-global-search{max-width:790px;margin:0 auto 20px}.af-global-search label{display:block;font-weight:700;margin-bottom:10px}.af-global-search-row{display:flex;gap:10px}.af-global-search-row input{flex:1;min-width:0;padding:14px;border:1px solid #ddd;border-radius:7px}.af-global-search-row button{background:#bb1624;border:0;border-radius:7px;color:white;padding:0 24px}.af-result-note{font-size:13px;color:#666}.af-search-page .product-card{border:1px solid #eee;border-radius:12px;overflow:hidden;height:100%;display:flex;flex-direction:column}.af-search-page .product-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f8f9fa;padding:15px}.af-search-page .product-card-image img{width:100%;height:100%;object-fit:contain}.af-search-page .product-card-content{padding:15px}.af-search-page .product-card-content h3{font-size:17px}.af-search-page .product-card-content small{color:#777}.af-no-results{padding:22px;border:1px solid #eee;background:#f9fafb;border-radius:8px}
@media(max-width:991px){.af-nav-search input{width:100%}.af-nav-search form{padding:10px 2px}}
