/* Shared category contract for the remaining landing pages.
   Product-family copy stays in each page; this file standardizes card geometry,
   thumbnail behavior, type scale and responsive rhythm. */
body.tp-standard-category{
  --tp-standard-ink:#17332f;
  --tp-standard-muted:#687872;
  --tp-standard-orange:#db6c35;
  --tp-standard-line:#d9dfda;
}

body.tp-standard-category :is(.section-head>p,.uc-section-head>p,.hvx-head>p){
  font-size:15px;
  line-height:1.7;
}
body.tp-standard-category :is(.model-intro p,.category-help p,.insight-copy>p,.uc-insight-copy>p,.hvx-decision-copy>p,.hvx-install-copy>p){
  font-size:15px;
  line-height:1.65;
}
body.tp-standard-category :is(.uc-faq details p,.faq p){
  font-size:15px;
  line-height:1.7;
}
body.tp-standard-category :is(.uc-situation h3,.category-help h3,.insight-step h3,.hvx-choice h3){font-size:18px}
body.tp-standard-category :is(.uc-situation p,.uc-situation li,.category-help p,.insight-step p){font-size:14px;line-height:1.6}
body.tp-standard-category :is(.uc-insight-item b,.insight-step h3,.hvx-decision-step span){font-size:15px}
body.tp-standard-category :is(.uc-insight-item small,.hvx-decision-step span){font-size:13px;line-height:1.5}
body.tp-standard-category :is(.uc-insight-item em){font-size:10px}
body.tp-standard-category :is(.uc-deliverables span){font-size:14px;line-height:1.45}
body.tp-standard-category :is(.uc-contact-copy>p,.contact p,.hvx-contact p){font-size:16px;line-height:1.7}
body.tp-standard-category :is(.uc-form label,.field label,.hvx-field label){font-size:11px;line-height:1.6}
body.tp-standard-category :is(.gbx-footer-links a,.footer p,.footer a){font-size:13px;line-height:1.5}

/* Fan page shell: align the shared rhythm with the pump page while retaining
   the fan-specific engineering blocks below. */
body.tp-standard-category[data-product-family="fan"]{
  background:#fffdf8;
  color:var(--tp-standard-ink);
}
body.tp-standard-category[data-product-family="fan"] .category-hero{
  padding:54px 0 60px;
  background:linear-gradient(110deg,#f7f2e8 0 59%,#dfece5 59%);
}
body.tp-standard-category[data-product-family="fan"] .category-hero-grid{
  width:min(1180px,calc(100% - 40px));
  grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
  gap:56px;
  margin-inline:auto;
}
body.tp-standard-category[data-product-family="fan"] .category-hero h1{
  max-width:680px;
  margin:15px 0 20px;
  color:var(--tp-standard-ink);
  font-family:Cambria,Georgia,serif;
  font-size:clamp(44px,5vw,68px);
  line-height:1.01;
  letter-spacing:-.045em;
}
body.tp-standard-category[data-product-family="fan"] .category-hero p{max-width:650px;color:#52665f;font-size:17px;line-height:1.7}
body.tp-standard-category[data-product-family="fan"] .category-facts{gap:14px;margin:28px 0;padding-top:23px;border-top:1px solid rgba(23,51,47,.16)}
body.tp-standard-category[data-product-family="fan"] .category-facts div{padding:14px;border-left:0;border-top:3px solid var(--tp-standard-orange);background:rgba(255,255,255,.66)}
body.tp-standard-category[data-product-family="fan"] .category-facts b{font-size:18px}
body.tp-standard-category[data-product-family="fan"] .category-facts small{font-size:10px;line-height:1.45}
body.tp-standard-category[data-product-family="fan"] .category-visual{padding:0;border-radius:10px 34px 10px 34px;background:#dfe7e3;box-shadow:0 32px 80px rgba(0,0,0,.2)}
body.tp-standard-category[data-product-family="fan"] .category-visual img{width:100%;aspect-ratio:1.1/1;object-fit:contain;border-radius:10px 34px 10px 34px;background:#fff}
body.tp-standard-category[data-product-family="fan"] .category-visual-note{left:-20px;bottom:20px;padding:16px 18px;border-radius:4px 20px 4px 20px;font-size:10px}
body.tp-standard-category[data-product-family="fan"] :is(.section){padding:76px 0}
body.tp-standard-category[data-product-family="fan"] :is(.section>.container,.category-hero>.container){width:min(1180px,calc(100% - 40px));margin-inline:auto}
body.tp-standard-category[data-product-family="fan"] .model-intro{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr);
  gap:54px;
  align-items:end;
  margin:0 auto 30px;
}
body.tp-standard-category[data-product-family="fan"] .model-intro h2,
body.tp-standard-category[data-product-family="fan"] .section-head h2,
body.tp-standard-category[data-product-family="fan"] .engineering-copy h2,
body.tp-standard-category[data-product-family="fan"] .insight-copy h2{
  color:var(--tp-standard-ink);
  font-family:Cambria,Georgia,serif;
  font-weight:500;
  letter-spacing:-.035em;
}
body.tp-standard-category[data-product-family="fan"] .model-intro h2{font-size:clamp(34px,4vw,54px);line-height:1.04}
body.tp-standard-category[data-product-family="fan"] .model-intro p{margin:0;color:var(--tp-standard-muted)}
body.tp-standard-category[data-product-family="fan"] .category-help{gap:16px}
body.tp-standard-category[data-product-family="fan"] .category-help article{min-height:220px;padding:24px;border:1px solid var(--tp-standard-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(25,57,49,.06)}
body.tp-standard-category[data-product-family="fan"] .category-help b{font-size:30px}
body.tp-standard-category[data-product-family="fan"] .category-help h3{margin:25px 0 9px;font-size:18px;color:var(--tp-standard-ink)}
body.tp-standard-category[data-product-family="fan"] .category-help p{margin:0;color:var(--tp-standard-muted);font-size:14px;line-height:1.6}
body.tp-standard-category[data-product-family="fan"] .insight-board{width:min(1180px,calc(100% - 40px));margin-inline:auto;gap:54px}
body.tp-standard-category[data-product-family="fan"] .insight-copy h2{font-size:clamp(36px,4.2vw,58px);line-height:1.05;color:#fff}
body.tp-standard-category[data-product-family="fan"] .insight-copy p{color:#b9cac5}
body.tp-standard-category[data-product-family="fan"] .insight-step{padding:16px;border-radius:12px}
body.tp-standard-category[data-product-family="fan"] .compare{border:1px solid var(--tp-standard-line);border-radius:18px;box-shadow:0 8px 24px rgba(25,57,49,.05)}
body.tp-standard-category[data-product-family="fan"] .compare th{background:var(--tp-standard-ink);font-size:10px}
body.tp-standard-category[data-product-family="fan"] .compare th,
body.tp-standard-category[data-product-family="fan"] .compare td{padding:14px 16px;font-size:13px}
body.tp-standard-category[data-product-family="fan"] .engineering{width:min(1180px,calc(100% - 40px));margin-inline:auto;gap:54px}
body.tp-standard-category[data-product-family="fan"] .engineering-media img{height:auto;max-height:560px;aspect-ratio:auto;object-fit:contain;background:#fff;border:1px solid var(--tp-standard-line)}
body.tp-standard-category[data-product-family="fan"] .engineering-copy h2{font-size:clamp(36px,4.2vw,58px);line-height:1.03}
body.tp-standard-category[data-product-family="fan"] .check-list{gap:0;margin:25px 0}
body.tp-standard-category[data-product-family="fan"] .check{padding:14px 0;font-size:15px}
body.tp-standard-category[data-product-family="fan"] .contact{background:var(--tp-standard-orange)}
body.tp-standard-category[data-product-family="fan"] .contact-grid{width:min(1180px,calc(100% - 40px));margin-inline:auto;gap:54px}
body.tp-standard-category[data-product-family="fan"] .contact h2{font-size:clamp(38px,4.5vw,62px)}
body.tp-standard-category[data-product-family="fan"] .form{border-radius:20px;padding:24px;box-shadow:0 18px 44px rgba(25,57,49,.14)}
body.tp-standard-category[data-product-family="fan"] .form input,
body.tp-standard-category[data-product-family="fan"] .form textarea{font-size:14px}

/* Quạt hút công nghiệp: four equal cards, image above and copy below. */
body.tp-standard-category[data-product-family="fan"] #models .model-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
body.tp-standard-category[data-product-family="fan"] #models .model-card{
  display:flex;
  min-width:0;
  min-height:100%;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--tp-standard-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(25,57,49,.07);
}
body.tp-standard-category[data-product-family="fan"] #models .model-media{
  display:block;
  height:auto!important;
  aspect-ratio:auto;
  overflow:hidden;
  background:#fff;
  line-height:0;
}
body.tp-standard-category[data-product-family="fan"] #models .model-media img{
  display:block;
  width:100%;
  height:auto!important;
  max-width:none;
  padding:0;
  object-fit:contain!important;
  object-position:center;
}
body.tp-standard-category[data-product-family="fan"] #models .model-card:hover .model-media img{transform:none}
body.tp-standard-category[data-product-family="fan"] #models .model-body{
  display:flex;
  min-height:0;
  flex:1;
  flex-direction:column;
  padding:17px;
}
body.tp-standard-category[data-product-family="fan"] #models .model-family{
  display:block;
  color:var(--tp-standard-orange);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.35;
}
body.tp-standard-category[data-product-family="fan"] #models .model-body h3{
  display:-webkit-box;
  min-height:48px;
  margin:8px 0 4px;
  overflow:hidden;
  color:var(--tp-standard-ink);
  font-size:19px;
  line-height:1.25;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.tp-standard-category[data-product-family="fan"] #models .model-body h3 a{color:inherit}
body.tp-standard-category[data-product-family="fan"] #models .model-body h3 strong{font-weight:900;white-space:nowrap}
body.tp-standard-category[data-product-family="fan"] #models .model-application{
  min-height:22px;
  margin:0;
  color:var(--tp-standard-muted);
  font-size:13px;
  line-height:1.45;
}
body.tp-standard-category[data-product-family="fan"] #models .model-specs{margin-top:12px}
body.tp-standard-category[data-product-family="fan"] #models .model-specs span{padding:10px;border-radius:9px}
body.tp-standard-category[data-product-family="fan"] #models .model-specs small{font-size:9px}
body.tp-standard-category[data-product-family="fan"] #models .model-specs b{font-size:14px;line-height:1.25}
body.tp-standard-category[data-product-family="fan"] #models .model-link{min-height:38px;margin-top:12px;padding-top:2px;font-size:12px}

/* Gối đỡ ngâm dầu: same family chooser and product-card contract as pumps. */
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-card{
  display:flex;
  min-height:0;
  height:auto;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--tp-standard-line);
  border-radius:18px;
  background:#fff;
  color:var(--tp-standard-ink);
  box-shadow:0 10px 30px rgba(20,49,44,.08);
}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-card:before,
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-card:after{display:none}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-card>img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  padding:0;
  object-fit:contain!important;
  object-position:center;
  background:#fff;
}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy{
  position:relative;
  inset:auto;
  display:flex;
  min-height:136px;
  flex:1;
  flex-direction:column;
  padding:20px 18px 17px;
  color:var(--tp-standard-ink);
}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy small{color:var(--tp-standard-orange);font-size:10px;font-weight:900;letter-spacing:.11em}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy h3{margin:7px 0 5px;color:var(--tp-standard-ink);font-size:23px;font-weight:800;line-height:1.15}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy p{margin:0;color:var(--tp-standard-muted);font-size:13px;line-height:1.45}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy:after{content:"";display:block;width:34px;height:2px;margin-top:auto;background:var(--tp-standard-orange);opacity:.75}
body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-count{top:12px;right:12px;padding:7px 10px;background:var(--tp-standard-orange);font-size:9px}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-highlight-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-card{display:flex;min-width:0;min-height:100%;flex-direction:column;overflow:hidden;border:1px solid var(--tp-standard-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(25,57,49,.07)}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-media{height:auto;aspect-ratio:auto;overflow:hidden;background:#fff}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-media img{display:block;width:100%;height:auto;max-width:none;padding:0;object-fit:contain!important;object-position:center}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-body{min-height:292px;padding:17px}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-body h3{min-height:62px;margin:9px 0 7px;color:var(--tp-standard-ink);font-size:19px;line-height:1.25}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-body>p{min-height:42px;font-size:12px;line-height:1.6}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-card-specs{margin-top:auto}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-card-specs small{font-size:9px}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-card-specs b{font-size:12px}
body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-card-link{min-height:47px;font-size:12px}

/* Quạt trần HVLS: preserve the special model content but remove the old
   featured/bento geometry so every model uses the same card contract. */
body.tp-standard-category[data-product-family="hvls"] .hvx-models{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.tp-standard-category[data-product-family="hvls"] .hvx-model,
body.tp-standard-category[data-product-family="hvls"] .hvx-model.featured{
  display:flex;
  min-width:0;
  min-height:100%;
  grid-column:auto;
  grid-row:auto;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--tp-standard-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(25,57,49,.07);
}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-media,
body.tp-standard-category[data-product-family="hvls"] .hvx-model.featured .hvx-model-media{
  display:block;
  min-height:0;
  height:auto;
  aspect-ratio:auto;
  background:#fff;
}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-media img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  object-fit:contain!important;
  object-position:center;
}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-copy,
body.tp-standard-category[data-product-family="hvls"] .hvx-model.featured .hvx-model-copy{
  display:flex;
  min-height:292px;
  flex:1;
  flex-direction:column;
  padding:17px;
}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-copy>small{font-size:10px}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-copy h3,
body.tp-standard-category[data-product-family="hvls"] .hvx-model.featured h3{min-height:62px;margin:9px 0 10px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:19px;font-weight:800;line-height:1.25}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-specs{margin-top:auto}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-specs small{font-size:9px}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-specs b{font-size:12px}
body.tp-standard-category[data-product-family="hvls"] .hvx-model-link{font-size:12px}

@media(max-width:980px){
  body.tp-standard-category[data-product-family="fan"] #models .model-grid,
  body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-highlight-grid,
  body.tp-standard-category[data-product-family="hvls"] .hvx-models{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  body.tp-standard-category[data-product-family="fan"] #models .model-grid,
  body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-grid,
  body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-highlight-grid,
  body.tp-standard-category[data-product-family="hvls"] .hvx-models{grid-template-columns:1fr;gap:12px}
  body.tp-standard-category[data-product-family="fan"] #models .model-body,
  body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-body,
  body.tp-standard-category[data-product-family="hvls"] .hvx-model-copy{min-height:245px;padding:14px}
  body.tp-standard-category[data-product-family="fan"] #models .model-body h3,
  body.tp-standard-category[data-product-family="bearing"] #san-pham .uc-product-body h3,
  body.tp-standard-category[data-product-family="hvls"] .hvx-model-copy h3,
  body.tp-standard-category[data-product-family="hvls"] .hvx-model.featured h3{min-height:48px;font-size:17px}
  body.tp-standard-category[data-product-family="fan"] #models .model-family{font-size:9px}
  body.tp-standard-category[data-product-family="fan"] #models .model-application{font-size:12px}
  body.tp-standard-category[data-product-family="fan"] #models .model-specs b{font-size:13px}
  body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy{min-height:125px;padding:17px 15px 15px}
  body.tp-standard-category[data-product-family="bearing"] #nhom .uc-family-copy h3{font-size:21px}
  body.tp-standard-category[data-product-family="fan"] .category-hero{padding:34px 0 44px;background:#f7f2e8}
  body.tp-standard-category[data-product-family="fan"] .category-hero-grid,
  body.tp-standard-category[data-product-family="fan"] :is(.section>.container,.category-hero>.container),
  body.tp-standard-category[data-product-family="fan"] .insight-board,
  body.tp-standard-category[data-product-family="fan"] .engineering,
  body.tp-standard-category[data-product-family="fan"] .contact-grid{width:min(1180px,calc(100% - 28px))}
  body.tp-standard-category[data-product-family="fan"] .category-hero-grid{grid-template-columns:1fr;gap:30px}
  body.tp-standard-category[data-product-family="fan"] .category-hero h1{font-size:42px}
  body.tp-standard-category[data-product-family="fan"] .category-hero p{font-size:16px}
  body.tp-standard-category[data-product-family="fan"] .category-facts{grid-template-columns:1fr 1fr}
  body.tp-standard-category[data-product-family="fan"] .category-facts div:last-child{grid-column:1/-1}
  body.tp-standard-category[data-product-family="fan"] .category-visual{max-width:none}
  body.tp-standard-category[data-product-family="fan"] .model-intro{display:block;margin-bottom:30px}
  body.tp-standard-category[data-product-family="fan"] .model-intro p{margin-top:18px;padding-top:14px;border-top:2px solid rgba(219,108,53,.34)}
  body.tp-standard-category[data-product-family="fan"] .section-head{display:block}
  body.tp-standard-category[data-product-family="fan"] .section-head>p{margin-top:18px}
  body.tp-standard-category[data-product-family="fan"] .insight-board,
  body.tp-standard-category[data-product-family="fan"] .engineering,
  body.tp-standard-category[data-product-family="fan"] .contact-grid{grid-template-columns:1fr;gap:30px}
}
