/* Homepage product collections; shared product card and quotation code remain the owner. */
body.home .qtqc-home-products-v5 { padding: 48px 0 !important; background: #f7fbff !important; }
body.home .qtqc-home-products-v5.san-pham-home > .section-content { width: 100% !important; max-width: none !important; margin: 0 !important; }
body.home .qtqc-home-products-v5 .qtqc-hp { width: calc(100% - 64px); max-width: 1180px; margin: 0 auto; padding: 0; background: transparent; }
body.home .qtqc-home-products-v5 .qtqc-hp h2 { padding: 0 !important; margin: 0 0 8px !important; text-align: left !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.home .qtqc-home-products-v5 .qtqc-hp-intro { margin-bottom: 40px; }
body.home .qtqc-home-products-v5 .qtqc-hp-intro h2 { font-size: clamp(26px,2.4vw,34px); line-height: 1.35; margin: 8px 0 12px !important; }
body.home .qtqc-home-products-v5 .qtqc-hp-intro > p { color: #536b85; margin: 0 0 22px; font-size: 16px; line-height: 1.75; }
body.home .qtqc-home-products-v5 .qtqc-hp-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 4px; }
body.home .qtqc-home-products-v5 .qtqc-hp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; background: #fff; border: 1px solid #d7e5f6; border-radius: 999px; color: #173b69; font-size: 13px; line-height: 1.5; font-weight: 600; white-space: nowrap; }
body.home .qtqc-home-products-v5 .qtqc-hp-nav a:hover { background: #eaf3ff; border-color: #91bfff; color: #075eea; }
body.home .qtqc-home-products-v5 .qtqc-hp-group { padding: 36px 0 40px; margin: 0; border-top: 1px solid #dde8f4; scroll-margin-top: 110px; }
body.home .qtqc-home-products-v5 .qtqc-hp-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
body.home .qtqc-home-products-v5 .qtqc-hp-heading > div { max-width: 800px; min-width: 0; }
body.home .qtqc-home-products-v5 .qtqc-hp-heading h2 { font-size: 28px; line-height: 1.4; margin: 0 0 8px; }
body.home .qtqc-home-products-v5 .qtqc-hp-heading p { font-size: 15px; line-height: 1.75; margin: 0; color: #536b85; }
body.home .qtqc-home-products-v5 .qtqc-hp-more { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 12px; padding: 10px 18px; min-height: 44px; border: 1px solid #c9ddfa; border-radius: 999px; background: #fff; color: #075eea; font-size: 13px; font-weight: 700; }
body.home .qtqc-home-products-v5 .qtqc-hp-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; gap: 24px; }
body.home .qtqc-home-products-v5 .qtqc-hp-grid .qtqc-cc-copy h3 { min-height: 76.5px; }
body.home .qtqc-home-products-v5 .qtqc-hp-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 24px; border-top: 1px solid #dde8f4; }
body.home .qtqc-home-products-v5 .qtqc-hp-footer p { font-size: 14px; line-height: 1.75; color: #536b85; margin: 0; max-width: 720px; }
body.home .qtqc-home-products-v5 .qtqc-hp-footer > a { flex: 0 0 auto; }
body.home .qtqc-home-products-v5 :is(.qtqc-hp-nav a,.qtqc-hp-more):focus-visible { outline: 3px solid #126ce1; outline-offset: 4px; }
@media (min-width:768px) and (max-width:1099px) {
  body.home .qtqc-home-products-v5 .qtqc-hp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  body.home .qtqc-home-products-v5 { padding: 32px 0 !important; }
  body.home .qtqc-home-products-v5 .qtqc-hp { width: 100%; }
  body.home .qtqc-home-products-v5 .qtqc-hp-intro { margin-bottom: 24px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-intro > p { font-size: 15px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-nav { flex-wrap: nowrap; overflow-x: auto; gap: 8px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-nav a { flex: 0 0 auto; padding: 9px 14px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-heading { display: block; margin-bottom: 18px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-heading h2 { font-size: 24px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-heading p { font-size: 14px; line-height: 1.7; }
  body.home .qtqc-home-products-v5 .qtqc-hp-more { margin-top: 14px; padding: 8px 16px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-group { padding: 28px 0 32px; scroll-margin-top: 88px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-grid .qtqc-cc-copy h3 { min-height: 84px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-footer { display: block; padding-top: 22px; }
  body.home .qtqc-home-products-v5 .qtqc-hp-footer > a { margin-top: 18px; width: 100%; }
}

/* Fluid homepage shell: one screen gutter, no nested 1450px/1180px caps. */
body.home #content > .row.row-main {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0;
}
body.home #content > .row.row-main > .col {
  padding-left: 0;
  padding-right: 0;
}
body.home .hero-slider,
body.home .qtqc-home-products-v5 .qtqc-native.qtqc-hp {
  width: calc(100% - 2 * var(--qtqc-layout-gutter));
  max-width: var(--qtqc-layout-max);
  margin-inline: auto;
}
body.home section.hero-slider { margin-inline: auto !important; }
body.home .blog-home .row.row-slider {
  width: calc(100% + 20px);
  max-width: none !important;
}
