/* Product browsing: white photos, quiet borders, and the original two material groups. */
.pf-archive-wrapper { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 24px 64px; font-family: Kanit, sans-serif; color: #20252c; }
.pf-archive-wrapper *, .profast-container * { box-sizing: border-box; }
.pf-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #656b75; font-size: 12px; margin-bottom: 30px; }
.pf-breadcrumb a { color: #656c76; text-decoration: none; }
.pf-shop-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #e7e9ec; }
.pf-eyebrow { margin: 0 0 8px; font-size: 10px; letter-spacing: 1.8px; font-weight: 600; color: #656b75; }
.pf-shop-heading h1 { color: #20252c; font-size: clamp(25px, 3vw, 34px); line-height: 1.4; font-weight: 600; letter-spacing: -.5px; margin: 0 0 6px; }
.pf-shop-intro { color: #656b75; font-size: 14px; line-height: 1.6; margin: 0; }
.pf-consult-link { display: flex; align-items: center; gap: 22px; color: #20252c !important; background: #f4e52c; border: 1px solid #eddf24; padding: 11px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.pf-consult-link:hover { background: #eddf24; }
.profast-container { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; margin-top: 28px; align-items: start; font-family: Kanit, sans-serif; }
.profast-container .pf-sidebar { position: sticky; top: 24px; background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; padding: 18px 14px 14px; }
.pf-sidebar-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 0 4px; pointer-events: none; }
.pf-sidebar-panel > summary::-webkit-details-marker { display: none; }
.pf-sidebar-heading { color: #252a31; font-size: 16px; font-weight: 600; }
.pf-sidebar-chevron { display: none; }
.pf-sidebar-hint { color: #656b75; font-size: 12px; margin: 4px 4px 16px; }
.profast-container .pf-cat-list, .profast-container .pf-cat-list ul { list-style: none; padding: 0; margin: 0; }
.profast-container .pf-cat-item > a { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 10px 10px; color: #6b717c; text-decoration: none; font-size: 13px; border-radius: 8px; line-height: 1.5; transition: color .15s, background .15s; }
.profast-container .pf-cat-item > a:hover { color: #20252c; background: #f5f6f8; }
.profast-container .pf-cat-item.active > a { background: #fff8c7; color: #27270f; font-weight: 500; }
.profast-container .pf-cat-group { margin-top: 16px; padding-top: 13px; border-top: 1px solid #f0f1f3; }
.profast-container .pf-cat-group > a { color: #292e36; font-weight: 600; padding: 8px 10px; font-size: 13px; }
.profast-container .pf-cat-group.is-current-group > a { color: #746300; }
.profast-container .pf-cat-children { margin-top: 4px; }
.profast-container .pf-cat-children .pf-cat-item > a { padding-left: 18px; font-size: 12px; }
.profast-container .pf-cat-label { min-width: 0; overflow-wrap: anywhere; }
.profast-container .pf-count { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; padding: 2px 6px; font-size: 11px; border-radius: 6px; background: #f3f4f6; color: #656b75; font-weight: 400; }
.profast-container .active > a .pf-count { background: #fff; color: #746b35; }
.profast-container .pf-results { min-width: 0; }
.pf-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 30px; }
.pf-result-count { color: #656b75; font-size: 12px; margin: 0; }
.pf-result-count strong { font-weight: 500; color: #313740; margin: 0 3px; }
.pf-results-order { font-size: 11px; color: #656b75; }
.profast-container .pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.profast-container .pf-card { min-width: 0; background: #fff; border: 1px solid #e6e8eb; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: 0 2px 5px #16233503; transition: transform .18s, border-color .18s, box-shadow .18s; }
.profast-container .pf-card:hover { transform: translateY(-3px); border-color: #d7dadd; box-shadow: 0 8px 22px #1623350b; }
.profast-container .pf-img-wrap { width: 100%; aspect-ratio: 4 / 3; padding: 20px; background: #fff; position: relative; }
.profast-container .pf-img-wrap a { display: flex; flex-direction: column; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 15px; text-decoration: none; }
.profast-container .pf-img-wrap img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; background: #fff; contain-intrinsic-size: none !important; }
.profast-container .pf-img-placeholder { background: #fff !important; }
.profast-container .pf-img-wrap .fh-product-logo-placeholder { width: 76%; max-width: 185px; height: auto; aspect-ratio: 1040 / 301; max-height: 60px; contain-intrinsic-size: none !important; opacity: .88; }
.pf-image-note { font-size: 11px; font-weight: 400; color: #656b75; text-align: center; line-height: 1.5; }
.profast-container .pf-info { padding: 0 17px 16px; display: flex; flex-direction: column; flex: 1; }
.profast-container .pf-sku { font-size: 11px; line-height: 1.5; color: #656b75; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profast-container .pf-sku a { color: inherit; text-decoration: none; }
.profast-container .pf-title { font-size: 15px; line-height: 1.65; font-weight: 500; color: #272d35; margin: 0 0 18px; overflow-wrap: anywhere; min-height: 49px; }
.profast-container .pf-title a { color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.profast-container .pf-btn { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; color: #4f5661; border-radius: 8px; background: #f5f6f8; font-size: 12px; font-weight: 400; text-decoration: none; transition: color .15s, background .15s; }
.profast-container .pf-btn span { font-size: 17px; line-height: 1; }
.profast-container .pf-card:hover .pf-btn, .profast-container .pf-btn:focus-visible { background: #f5e835; color: #292c23; }
.pf-archive-wrapper a:focus-visible, .pf-sidebar-panel > summary:focus-visible { outline: 2px solid #8b7500; outline-offset: 3px; }
.profast-container .pf-pagination { margin-top: 28px; }
.profast-container .pf-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; padding: 0; margin: 0; }
.profast-container .pf-pagination a.page-numbers, .profast-container .pf-pagination span.page-numbers { display: flex; justify-content: center; align-items: center; min-width: 36px; height: 36px; padding: 7px 12px; border: 1px solid #e6e8eb; border-radius: 8px; color: #727986; font-size: 12px; text-decoration: none; background: #fff; }
.profast-container .pf-pagination span.current { background: #252b34; color: #fff; border-color: #252b34; }
.profast-container .pf-pagination a:hover { border-color: #c8b729; color: #252b34; }
/* Keep the same image policy and compact treatment on homepage product cards. */
.fh-product-sec .woocommerce ul.products li.product { border-radius: 12px; padding: 14px; border-color: #e6e8eb; }
.fh-product-sec .woocommerce ul.products li.product a img.fh-product-logo-placeholder { height: 160px; padding: 25px 12px; aspect-ratio: auto; object-fit: contain; margin: 0; contain-intrinsic-size: none !important; }
.fh-product-sec .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; font-weight: 500; min-height: 65px; }
.fh-product-sec .fh-home-product-link { background: #f5f6f8 !important; font-weight: 400 !important; }
.fh-product-sec .fh-home-product-link:hover { background: #f5e835 !important; }
@media (max-width: 1050px) {
    .profast-container { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
    .profast-container .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .pf-archive-wrapper { padding: 20px 18px 44px; }
    .pf-breadcrumb { margin-bottom: 22px; font-size: 11px; }
    .pf-shop-heading-row { display: block; padding-bottom: 22px; }
    .pf-eyebrow { font-size: 9px; letter-spacing: 1.2px; }
    .pf-shop-intro { font-size: 12px; }
    .pf-consult-link { display: inline-flex; margin-top: 16px; padding: 9px 12px; font-size: 12px; }
    .profast-container { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
    .profast-container .pf-sidebar { position: static; padding: 14px; border-radius: 12px; }
    .pf-sidebar-panel > summary { pointer-events: auto; cursor: pointer; }
    .pf-sidebar-heading { font-size: 14px; }
    .pf-sidebar-chevron { display: inline-block; transition: transform .15s; }
    .pf-sidebar-panel[open] .pf-sidebar-chevron { transform: rotate(180deg); }
    .pf-sidebar-panel[open] > summary { margin-bottom: 8px; }
    .pf-sidebar-panel:not([open]) > :not(summary) { display: none; }
    .profast-container .pf-grid { gap: 12px; }
    .profast-container .pf-img-wrap { padding: 16px 12px; }
    .profast-container .pf-info { padding: 0 12px 12px; }
    .profast-container .pf-title { font-size: 13px; min-height: 43px; margin-bottom: 12px; }
    .profast-container .pf-sku { font-size: 10px; }
    .pf-image-note { font-size: 10px; }
    .profast-container .pf-img-wrap a { gap: 10px; }
    .profast-container .pf-btn { font-size: 11px; padding: 9px 10px; }
}
@media (max-width: 370px) {
    .pf-archive-wrapper { padding-inline: 12px; }
    .profast-container .pf-grid { gap: 8px; }
    .pf-results-order { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .profast-container .pf-card, .profast-container .pf-btn { transition: none; }
    .profast-container .pf-card:hover { transform: none; }
}
