/*
 * Canonical Products page catalog styles.
 */

body.page-id-8 .entry-header,body.page-id-8 .site-footer,body.page-id-8 #ast-scroll-top{display:none}
body.page-id-8 .ast-container,body.page-id-8 .site-content .ast-container,body.page-id-8 #primary,body.page-id-8 #main,body.page-id-8 .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.hpc{--navy:#0a1c36;--blue:#1b4aa8;--blue-dark:#143a85;--red:#d9291f;--ink:#101828;--muted:#596780;--line:#d9e1ec;--soft:#f5f7fa;--yellow:#f5b700;--yellow-dark:#d99f00;width:100%!important;max-width:none!important;margin:0!important;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
.hpc *{box-sizing:border-box}
.hpc a{color:inherit;text-decoration:none}
.hpc-wrap{max-width:1220px;margin:0 auto;padding-left:24px;padding-right:24px}
.hpc-intro{height:370px;min-height:370px;padding:38px 0;display:flex;align-items:center;border-bottom:1px solid var(--line);color:#fff;background-image:linear-gradient(90deg,rgba(7,17,31,.9) 0%,rgba(7,17,31,.72) 42%,rgba(7,17,31,.2) 72%,rgba(7,17,31,.04) 100%),url('https://hongli-mach.com/wp-content/uploads/2026/07/hongli-product-center-cinematic.png');background-size:cover;background-position:62% center;background-repeat:no-repeat}
.hpc-intro-grid{display:block}
.hpc-intro-copy{width:min(620px,100%);min-width:0}
.hpc-breadcrumb{font-size:13px;color:rgba(255,255,255,.78);margin:0 0 14px}
.hpc-breadcrumb a{color:#fff}
.hpc-kicker{display:block;margin-bottom:10px;color:#7fa6f2;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hpc-intro h1{margin:0 0 14px;color:#fff;font-size:clamp(34px,3.5vw,48px);line-height:1.08;letter-spacing:0}
.hpc-intro p{max-width:620px;margin:0;color:rgba(255,255,255,.82);font-size:16px}
.hpc-actions{display:flex;gap:12px;margin-top:20px}
.hpc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid var(--blue);border-radius:4px;color:var(--blue);font-weight:750;font-size:14px}
.hpc-btn.primary{border-color:var(--yellow);background:var(--yellow);color:var(--navy)}
.hpc-intro .hpc-btn:not(.primary){border-color:rgba(255,255,255,.78);color:#fff;background:rgba(7,17,31,.16)}
.hpc-btn:hover{background:var(--blue);color:#fff}
.hpc-intro .hpc-btn:not(.primary):hover{background:#fff;color:var(--navy)}
.hpc-btn.primary:hover{border-color:var(--yellow-dark);background:var(--yellow-dark);color:var(--navy)}
.hpc-catalog{padding:42px 0 72px}
.hpc-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;align-items:start}
.hpc-layout,.hpc-results,.hpc-sidebar{min-width:0}
.hpc-sidebar{position:sticky;top:112px;border:1px solid var(--line);border-radius:4px;background:#fff;overflow:hidden}
.hpc-sidebar h2{margin:0;padding:17px 18px;border-bottom:1px solid var(--line);font-size:13px;color:var(--navy);text-transform:uppercase}
.hpc-filter{display:block;width:100%;min-width:0;padding:12px 18px;border:0;border-bottom:1px solid #edf1f6;background:#fff;color:var(--ink);text-align:left;font:inherit;font-size:14px;overflow-wrap:anywhere;cursor:pointer}
.hpc-filter:hover,.hpc-filter.is-active{color:var(--blue);background:#f4f7fc}
.hpc-filter.is-active{box-shadow:inset 3px 0 var(--blue);font-weight:750}
.hpc-filter.sub{padding-left:32px;font-size:13px;color:var(--muted)}
.hpc-filter strong{display:flex;justify-content:space-between;gap:8px}
.hpc-filter small{color:#8491a5;font-size:11px;font-weight:600}
.hpc-family-label{padding:16px 18px 7px;color:var(--navy);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.hpc-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}
.hpc-toolbar h2{margin:0;color:var(--navy);font-size:28px;line-height:1.15}
.hpc-count{display:block;margin-top:6px;color:var(--muted);font-size:13px}
.hpc-tools{display:flex;gap:10px}
.hpc-search,.hpc-sort{height:42px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font:inherit;font-size:13px}
.hpc-search{width:230px;padding:0 13px}
.hpc-sort{width:150px;padding:0 10px}
.hpc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hpc-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);border-radius:4px;background:#fff;overflow:hidden;transition:border-color .18s,transform .18s}
.hpc-card:hover{border-color:#9cb2d5;transform:translateY(-2px)}
.hpc-media{aspect-ratio:4/3;background:var(--soft);overflow:hidden}
.hpc-media img{width:100%;height:100%;display:block;object-fit:cover}
.hpc-card-body{display:flex;flex:1;flex-direction:column;padding:15px}
.hpc-type{margin-bottom:7px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hpc-card h3{margin:0 0 5px;color:var(--navy);font-size:18px;line-height:1.2;overflow-wrap:anywhere}
.hpc-card p{margin:0 0 14px;color:var(--muted);font-size:13px}
.hpc-card-link{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;gap:7px;min-height:38px;margin-top:auto;padding:0 14px;border:1px solid var(--blue);border-radius:4px;color:var(--blue);text-decoration:none;transition:background .18s,color .18s,border-color .18s;font-size:13px;font-weight:800}
.hpc-card-link:hover{border-color:var(--blue);background:var(--blue);color:#fff}
.hpc-media-link{display:block}
.hpc-card h3 a:hover{color:var(--blue)}
.hpc-empty{grid-column:1/-1;padding:54px 20px;border:1px solid var(--line);text-align:center;color:var(--muted)}
.hpc-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:28px}
.hpc-page{width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font-weight:750;cursor:pointer}
.hpc-page:hover,.hpc-page.is-active{border-color:var(--blue);background:var(--blue);color:#fff}
.hpc-page:disabled{opacity:.38;cursor:not-allowed}
.hpc-note{margin-top:36px;padding:24px;border:1px solid var(--line);background:var(--soft);display:flex;align-items:center;justify-content:space-between;gap:24px}
.hpc-note h3{margin:0 0 4px;color:var(--navy);font-size:20px}
.hpc-note p{margin:0;color:var(--muted);font-size:14px}
.hpc-filter-toggle{display:none}
.hpc-filter:focus-visible,.hpc-btn:focus-visible,.hpc-card-link:focus-visible,.hpc-filter-toggle:focus-visible{outline:3px solid rgba(245,183,0,.55);outline-offset:2px}
.hpc-footer,.hpc-preserved-form{display:none}
@media(max-width:980px){.hpc-layout{grid-template-columns:1fr}}
@media(max-width:980px){.hpc-sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.hpc-sidebar h2,.hpc-family-label{grid-column:1/-1}}
@media(max-width:980px){.hpc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.hpc-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:980px){.hpc-tools{width:100%}}
@media(max-width:980px){.hpc-search{flex:1;width:auto}}
@media(max-width:767px){.hpc-wrap{padding-left:18px;padding-right:18px}}
@media(max-width:767px){.hpc-intro{height:350px;min-height:350px;padding:24px 0 22px;background-image:linear-gradient(180deg,rgba(7,17,31,.48) 0%,rgba(7,17,31,.8) 58%,rgba(7,17,31,.94) 100%),url('https://hongli-mach.com/wp-content/uploads/2026/07/hongli-product-center-cinematic.png');background-position:68% center}}
@media(max-width:767px){.hpc-breadcrumb{margin-bottom:8px}}
@media(max-width:767px){.hpc-kicker{margin-bottom:6px}}
@media(max-width:767px){.hpc-intro h1{font-size:31px;margin-bottom:9px}}
@media(max-width:767px){.hpc-intro p{font-size:14px;line-height:1.45}}
@media(max-width:767px){.hpc-actions{margin-top:14px;gap:9px;flex-direction:column}}
@media(max-width:767px){.hpc-btn{width:100%;min-height:42px}}
@media(max-width:767px){.hpc-catalog{padding:20px 0 52px}}
@media(max-width:767px){.hpc-layout{gap:14px}}
@media(max-width:767px){.hpc-filter-toggle{display:flex;grid-column:1/-1;width:100%;align-items:center;justify-content:space-between;min-height:48px;padding:0 15px;border:1px solid var(--line);border-radius:4px;background:var(--navy);color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer}}
@media(max-width:767px){.hpc-filter-toggle span{color:var(--yellow);font-size:12px}}
@media(max-width:767px){.hpc-sidebar{display:none}}
@media(max-width:767px){.hpc-sidebar.is-open{display:grid;grid-template-columns:1fr}}
@media(max-width:767px){.hpc-sidebar h2,.hpc-family-label{grid-column:1}}
@media(max-width:767px){.hpc-filter{padding:11px 12px}}
@media(max-width:767px){.hpc-filter.sub{padding-left:20px}}
@media(max-width:767px){.hpc-toolbar{margin-bottom:14px;gap:12px}}
@media(max-width:767px){.hpc-toolbar h2{font-size:24px}}
@media(max-width:767px){.hpc-tools{flex-direction:column}}
@media(max-width:767px){.hpc-search,.hpc-sort{width:100%}}
@media(max-width:767px){.hpc-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.hpc-note{align-items:flex-start;flex-direction:column}}
@media(max-width:767px){.hpc-card h3{font-size:19px}}
body.page-id-8{background:#f3f6fa !important}
