/* v170 — density and i18n stability. Preserve the locked carousel + left nav + centre content + AI layout. */
.v170-density-i18n .v160-category-landing {
  margin: 10px 0 16px;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.v170-density-i18n .v160-landing-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  gap: 14px;
}

.v170-density-i18n .v160-landing-copy { padding: 2px 0; }
.v170-density-i18n .v160-kicker { margin-bottom: 7px; padding: 4px 8px; }
.v170-density-i18n .v160-landing-copy h2 { font-size: clamp(21px, 1.8vw, 29px); }
.v170-density-i18n .v160-landing-copy p { margin-top: 8px; line-height: 1.5; }
.v170-density-i18n .v160-facts { gap: 7px; margin-top: 10px; }
.v170-density-i18n .v160-facts span { min-height: 58px; padding: 9px; border-radius: 11px; }
.v170-density-i18n .v160-landing-actions { margin-top: 11px; gap: 7px; }
.v170-density-i18n .v160-hero-image,
.v170-density-i18n .v160-hero-image img { min-height: 230px; }
.v170-density-i18n .v160-section-title { margin: 14px 0 8px; }
.v170-density-i18n .v160-product-grid { gap: 9px; }
.v170-density-i18n .v160-proof-grid { gap: 9px; }
.v170-density-i18n .v160-product-card,
.v170-density-i18n .v160-proof-card { border-radius: 12px; box-shadow: none; }
.v170-density-i18n .v160-product-card img { min-height: 0; }
.v170-density-i18n .v170-hidden-product { display: none !important; }
.v170-density-i18n .v170-hidden-gallery { display: none !important; }

.v170-density-i18n .v170-load-more,
.v170-density-i18n .v170-gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f3b73;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.v170-density-i18n .industry-main-gallery-grid {
  gap: 9px !important;
}

.v170-density-i18n .industry-main-gallery-item {
  min-height: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* Reduce stacked-card air without flattening the information hierarchy. */
.v170-density-i18n .company-intro-strip,
.v170-density-i18n .catalog-workbench,
.v170-density-i18n .sample-hub,
.v170-density-i18n .home-service-panel,
.v170-density-i18n .central-rfq-panel,
.v170-density-i18n .home-trust-panel,
.v170-density-i18n .listing-compliance-panel,
.v170-density-i18n .insight-panel,
.v170-density-i18n .seo-knowledge,
.v170-density-i18n .market-intelligence,
.v170-density-i18n .faq-static {
  margin-bottom: 14px !important;
}

.v170-density-i18n .company-intro-strip,
.v170-density-i18n .catalog-workbench,
.v170-density-i18n .sample-hub,
.v170-density-i18n .home-service-panel,
.v170-density-i18n .home-trust-panel,
.v170-density-i18n .listing-compliance-panel {
  padding: 14px !important;
  border-radius: 14px !important;
}

.v170-density-i18n .company-module-grid,
.v170-density-i18n .service-grid,
.v170-density-i18n .trust-proof,
.v170-density-i18n .policy-grid,
.v170-density-i18n .faq-grid { gap: 10px !important; }

.v170-density-i18n .company-module-grid article,
.v170-density-i18n .service-grid article,
.v170-density-i18n .trust-proof article,
.v170-density-i18n .policy-grid article {
  padding: 11px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.v170-density-i18n .preview-panel > section { scroll-margin-top: 92px; }
.v170-density-i18n .preview-panel { overflow-anchor: none; }

/* Earlier scroll-reveal rules could leave whole modules transparent after a
   language refresh or in long centre panels. Content must always be visible. */
.v170-density-i18n .preview-panel .v164-reveal,
.v170-density-i18n .preview-panel .v165-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  .v170-density-i18n .v160-landing-hero { grid-template-columns: 1fr; }
  .v170-density-i18n .v160-hero-image,
  .v170-density-i18n .v160-hero-image img { min-height: 210px; max-height: 300px; }
}

@media (min-width: 721px) and (max-width: 1000px) {
  body.v170-density-i18n #catalogWorkbench #catalogGrid,
  .v170-density-i18n .industry-sample-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .v170-density-i18n .sample-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .v170-density-i18n .v160-category-landing { padding: 9px; border-radius: 13px; }
  .v170-density-i18n .v160-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .v170-density-i18n .v160-hero-image,
  .v170-density-i18n .v160-hero-image img { min-height: 180px; max-height: 240px; }
  .v170-density-i18n .company-intro-strip,
  .v170-density-i18n .catalog-workbench,
  .v170-density-i18n .sample-hub,
  .v170-density-i18n .home-service-panel,
  .v170-density-i18n .home-trust-panel,
  .v170-density-i18n .listing-compliance-panel { padding: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .v170-density-i18n .v160-product-card img { transition: none !important; }
}
