/* Hubox — screenshot corrections. Keep overrides scoped to actual components. */

@font-face {
  font-family: "TT Firs Neue";
  src: url("../assets/fonts/TTFirsNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("../assets/fonts/TTFirsNeue-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Norms";
  src: url("../assets/fonts/TTNorms-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Norms";
  src: url("../assets/fonts/TTNorms-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog) {
  --hb-orange: #fa4616;
  --hb-graphite: #4c5262;
  --hb-blue: #cae0f1;
  --hb-surface: #f0f0f0;
  color: var(--hb-graphite);
  font-family: "TT Norms", Arial, sans-serif;
  overflow-x: clip;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  :where(h1, h2, h3, h4, .section-title, [class$="-title"]) {
  font-family: "TT Firs Neue", Arial, sans-serif;
  font-weight: 500 !important;
  text-wrap: balance;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  :where(p, li, label, input, textarea, button, a) {
  font-family: "TT Norms", Arial, sans-serif;
}
label[for="agree-noise"] {
	font-size:14px;
	opacity:0.6;
}
:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  :where(img, picture, video) {
  max-width: 100%;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  :where(.btn-calculate, .btn-orange-pill, .btn-orange-pill-cta, .btn-calculate-dark,
    .ceil-btn-orange, .ceil-personal-btn, .ceil-fire-btn, .cta-banner-btn,
    .help-btn, .btn-submit-grey, .ceil-exact-submit-btn, .btn-modal-submit) {
  min-height: 35px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500 !important;
  line-height: 1;
  opacity: 1 !important;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  :where(.btn-calculate, .btn-orange-pill, .btn-orange-pill-cta, .ceil-btn-orange,
    .ceil-personal-btn, .cta-banner-btn, .help-btn, .ceil-exact-submit-btn,
    .btn-modal-submit):hover {
  background: var(--hb-graphite) !important;
  border-color: var(--hb-graphite) !important;
  color: #fff !important;
}

/* The approved layouts use static, uncropped imagery in product/content cards. */
:where(.hubox-template-walls, .hubox-template-designers, .hubox-template-fetr,
  .hubox-template-ceiling, .hubox-template-catalog)
  :where(.product-image, .card-image, .living-slide, .ceil-product-hero-bg,
    .ceil-details-gallery img, figure img, [class*="-card-media"] img) {
  animation: none !important;
  transform: none !important;
}

/* Header/logo alignment from the revised master. */
@media (min-width: 769px) {
  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
    :where(.header-logo, .site-logo, .logo) img {
    width: 96px !important;
    height: auto !important;
  }
}



.hubox-template-home :where(.hero-title, .hero-subtitle, .pill, [class*="pill"]) {
  opacity: 1 !important;
}

.hubox-template-home :where(.properties-title, .catalog-title, .solutions-title) {
  font-size: clamp(38px, 3.8vw, 60px) !important;
  line-height: 0.98 !important;
}

.hubox-template-home :where(.block-1, .production-section, .felt-section,
  .properties-section, .catalog-section) {
  max-width: 1920px;
  margin-inline: auto;
}

/* Walls: the old 1920px patch inflated headings to 160px and cards to 1100px. */



.hubox-template-walls :where(.product-photo, .collection-image, .usage-image,
  .living-spaces-image, .commercial-spaces-image) img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Designers */
.hubox-template-designers :where(.focus-card-title, .showroom-card-title,
 .connect-main-title, .types-title, .promo-title,
  .client-partners-title, .manager-contact-title) {
  font-size: clamp(38px, 4vw, 64px) !important;
  line-height: 0.98 !important;
}

@media (min-width: 900px) {
  .hubox-template-designers .hero-two-blocks-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .hubox-template-designers .hero-two-blocks-wrapper > .hero-block-card {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 0.82;
  }

}

.hubox-template-designers :where(.focus-card-title, .showroom-card-title,
  .showroom-card-desc, .connect-main-title, .connect-subtitle) {
  text-align: left !important;
}


.hubox-template-fetr :where(.fetr-recyc-card, .fetr-usecase-card,
  .fetr-veneer-image, .fetr-small-panels-image) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ceiling */
.hubox-template-ceiling :where(.showroom-card-title, .ceil-production-title,
 .ceil-personal h2, .ceil-hardware-card h2,
  .ceil-fire h2, .ceil-contact-exact-title) {
  font-size: clamp(38px, 4vw, 80px) !important;
  line-height: 80% !important;
}

@media (min-width: 900px) {




  .hubox-template-ceiling .ceil-product-details-wrapper {
    min-height: 0 !important;
    height: auto !important;
  }
}

/* "+ подробнее" opens over the card, without changing the page height. */
.hubox-template-ceiling .ceil-specs-swap {
  position: relative !important;
}

.hubox-template-ceiling .ceil-specs-swap-detail {
  position: absolute !important;
  z-index: 10 !important;
  inset: auto 0 0 !important;
  max-height: min(72vh, 640px) !important;
  overflow: auto !important;
  background: #f2f3f6 !important;
  box-shadow: 0 -16px 40px rgba(76, 82, 98, 0.16) !important;
  color: var(--hb-graphite) !important;
}

.hubox-template-ceiling :where(.ceil-details-gallery,
  .ceil-product-details-wrapper, .ceil-hardware-card, .ceil-hardware-photo,
  .ceil-compare-card, .ceil-contact-dark-card) {
  border-radius: 0 !important;
}

/* Catalog */
.hubox-template-catalog :where(.catalog-hero-title, .cat-section-title,
  .veneer-title, .felt-cat-title, .small-cat-title, .pvc-title,
  .custom-title, .baffle-title, .hbaffle-title, .float-title,
  .armstrong-title, .embed-title, .lamp-title, .screen-title) {
  font-size: clamp(38px, 4vw, 62px) !important;
  line-height: 0.98 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}



.hubox-template-catalog :where(.veneer-card-media, .felt-card-media,
  .small-card-media, .pvc-card-media, .baffle-card-media,
  .hbaffle-card-media, .float-card-media, .armstrong-card-media,
  .embed-card-media, .lamp-card-media, .screen-card-media) {
  overflow: hidden;
}

.hubox-template-catalog :where(.veneer-card-media, .felt-card-media,
  .small-card-media, .pvc-card-media, .baffle-card-media,
  .hbaffle-card-media, .float-card-media, .armstrong-card-media,
  .embed-card-media, .lamp-card-media, .screen-card-media) img {
  width: 100%;
  height: 100%;
    object-fit: contain;
}

.hubox-template-catalog :where(.pm-dialog, .pmc-dialog) {
  max-height: calc(100dvh - 32px) !important;
  overflow: auto !important;
}

/* Forms: visually stable success state used by the existing AJAX form script. */
:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  form.is-success {
  position: relative;
  min-height: 180px;
}

:where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
  .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
  form.is-success > :not(.hubox-form-success) {
  visibility: hidden;
}


.hubox-form-success {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 180px;
  padding: 28px;
  background: #dff3e4;
  color: #27713e;
  text-align: center;
}

.hubox-form-reset {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #27713e;
  border-radius: 999px;
  background: transparent;
  color: #27713e;
  cursor: pointer;
}

/* Mobile: keep every title/card inside the viewport and restore the white hero plate. */
@media (max-width: 768px) {
  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
    :where(h1, .hero-title, .fetr-app-title, .fetr-prod-title,
      .collections-intro-title, .usage-main-title, .catalog-hero-title) {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    font-size: clamp(30px, 10vw, 44px) !important;
    line-height: 0.98 !important;
  }

  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog)
    :where(section, [class$="-wrapper"], [class$="-container"], [class$="-inner"]) {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hubox-template-home :where(.slider-static-content, .hero-content,
    .hero-white-card, .hero-text-card) {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  .hubox-template-ceiling :where(.ceil-product-hero,
    .ceil-details-gallery, .ceil-hardware-card, .ceil-hardware-photo) {
    width: 100% !important;
    min-width: 0 !important;
  }

  .hubox-template-catalog :where(.veneer-grid, .felt-grid, .small-grid,
    .pvc-grid, .baffle-grid, .hbaffle-grid, .float-grid,
    .armstrong-grid, .embed-grid, .lamp-grid, .screen-grid) {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog) *,
  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog) *::before,
  :where(.hubox-template-home, .hubox-template-walls, .hubox-template-designers,
    .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog) *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reference lock: supplied before/after sheets, walls 8–20, felt 1–24,
   ceiling 1–7 and catalog grids. No viewport-wide zoom or blanket h3 scaling. */
:is(.hubox-template-walls, .hubox-template-fetr, .hubox-template-ceiling, .hubox-template-catalog) {
  --orange: #fa4616;
  --text: #4c5262;
  --dark: #4c5262;
  --blue-bg: #cae0f1;
  --c-accent: #fa4616;
  --c-ink: #4c5262;
  --t-headline-font: "TT Firs Neue", Arial, sans-serif;
  --t-text-font: "TT Norms", Arial, sans-serif;
}
:is(.hubox-template-walls, .hubox-template-fetr) .main-content {
  gap: var(--gap);
}
:is(.hubox-template-walls, .hubox-template-fetr) .main-content > section {
  margin-block: 0;
  border-radius: 0;
  box-shadow: none;
}
:is(.hubox-template-walls, .hubox-template-fetr) :is(.flat-item-image img,
  .mounting-main-img, .radius-image-block img, .radius-material-preview img,
  .fetr-shape-right img, .material-card img) {
  scale: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
.hubox-template-walls :is(.design-title, .mounting-main-title, .usage-main-title) {
  font-size: clamp(32px, 4.2vw, 80px) !important;
  line-height: .9 !important;
  letter-spacing: -.02em;
}
.hubox-template-walls .collections-intro-subtitle {
  font-family: "TT Firs Neue", Arial, sans-serif;
  font-size: clamp(18px, 2.08vw, 40px) !important;
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.02em;
}
.hubox-template-walls .collections-intro-title { margin-bottom: 12px; }
.hubox-template-walls :is(.design-desc p, .flat-main-desc p, .mounting-text-item p,
  .compatibility-desc p, .usage-list li, .living-list li, .commercial-list li) {
  font-size: clamp(12px, 1.04vw, 20px) !important;
  line-height: 1.2 !important;
}
.hubox-template-walls .usage-list li { font-weight: 500; }
.hubox-template-walls :is(.flat-main-title, .rail-title, .zen-title,
  .compatibility-title, .radius-title, .living-title, .commercial-title, .usage-sub-title) {
  font-size: clamp(22px, 2.08vw, 40px) !important;
  line-height: .95 !important;
  font-weight: 500 !important;
}

.hubox-template-walls .material-label { top: 24px; left: 24px; }
.hubox-template-walls .flat-item-image img { object-fit: contain; }
.hubox-template-walls .mounting-main-img { object-fit: contain; }
.hubox-template-walls .circle-img-wrap {
  width: clamp(64px, 8vw, 154px) !important;
  height: auto !important;
  aspect-ratio: 1;
  border-width: 2px;
  box-shadow: none;
}
.hubox-template-walls .radius-material-preview {
  width: 30%; height: auto; aspect-ratio: 1; border-radius: 0; box-shadow: none;
}
.hubox-template-walls .radius-material-preview img { object-fit: contain; }
.hubox-template-walls .cut-number {
  font-size: clamp(24px, 2.1vw, 40px); font-weight: 500; line-height: 1;
}
.hubox-template-walls .cut-label {
  font-size: clamp(11px, .85vw, 16px); margin: 0; line-height: 1.1;
}
.hubox-template-walls .cut-item {
  flex: 1; align-items: center; padding: 16px 24px; gap: 12px;
  border-bottom: 2px solid #4c5262;
}
.hubox-template-walls .cut-item:last-child { border-bottom: 0; }
.hubox-template-walls .design-info-block { padding: 24px; }
.hubox-template-walls .design-desc p { margin-bottom: 12px; }
.hubox-template-walls .ai-badge { display: none; }
.hubox-template-walls .row-value { text-align: left; }
.hubox-template-walls .living-info-block { background: #cae0f1; }
.hubox-template-walls :is(.commercial-info-block, .radius-info-block,
  .mounting-section, .noise-control-section) { background: #4c5262; }
.hubox-template-walls .noise-success {
  padding: 24px; margin-bottom: 24px; background: #5bc581; color: #fff;
  font: 500 14px/1.3 "TT Norms", Arial, sans-serif; text-align: center;
}
.hubox-template-walls .noise-success[hidden] { display: none; }
.hubox-template-walls .noise-control-section .btn-submit-grey {
  background: #868b98 !important; color: #4c5262 !important;
  min-height: 44px; padding: 10px 20px; font-size: 14px !important;
  transform: none;
}
.hubox-template-walls .noise-control-section .btn-submit-grey:is(:hover, :focus-visible),
.hubox-template-walls .noise-control-section .noise-form[data-sent] .btn-submit-grey {
  background: #fff !important; color: #4c5262 !important;
}

@media (min-width: 1024px) {

  .hubox-template-walls .design-options-section { aspect-ratio: 2.15; }
  .hubox-template-walls :is(.design-info-block, .design-patterns) { flex: 1 1 0; min-width: 0; }
  .hubox-template-walls .design-patterns { gap: 4px; }
  .hubox-template-walls .design-patterns-grid { gap: 4px; }
  .hubox-template-walls :is(.system-section, .radius-section,
    .living-spaces-section, .commercial-spaces-section) { aspect-ratio: 2; }
  .hubox-template-walls :is(.system-image-block, .radius-image-block,
    .living-slider-wrapper, .commercial-slider-wrapper) {
    min-height: 0 !important; max-height: none !important; height: auto !important;
    flex: 1 1 0; aspect-ratio: 1;
  }
  .hubox-template-walls :is(.system-text-content, .radius-info-block,
    .living-info-block, .commercial-info-block) { flex: 1 1 0; min-width: 0; padding: 28px; }
  .hubox-template-walls .system-image-block img { width: 100%; height: 100%; object-fit: cover; }
  .hubox-template-walls .flat-collection-section {
    min-height: 0 !important; padding: 32px !important; aspect-ratio: 3;
  }
  .hubox-template-walls .flat-info { flex: 1; max-width: none; }
  .hubox-template-walls .flat-grid { flex: 1.4; }
  .hubox-template-walls .flat-item { width: 25%; justify-content: flex-start; }
  .hubox-template-walls .flat-main-title { margin-bottom: 32px; }
  .hubox-template-walls .flat-item-image { width: 100%; height: 80%; }
  .hubox-template-walls .interior-view-section {
    min-height: 0 !important; height: auto !important; aspect-ratio: 16 / 9;
    background-size: cover; background-position: center;
  }
  .hubox-template-walls .compatibility-section { aspect-ratio: 3; }
  .hubox-template-walls .compatibility-item { padding: 28px; }
  .hubox-template-walls .compatibility-title { max-width: 85%; }
  .hubox-template-walls .material-card {
    aspect-ratio: 1; height: auto !important; min-height: 0; flex: 1 1 0;
  }
  .hubox-template-walls .mounting-section { padding: 28px !important; }
  .hubox-template-walls .mounting-visual-block { flex: 3; }
  .hubox-template-walls .mounting-info-block { flex: 2; padding-top: 36px; }
  .hubox-template-walls .mounting-image-wrapper { min-height: 0 !important; }
  .hubox-template-walls .mounting-main-title { max-width: 90%; margin-bottom: 30px; }
  .hubox-template-walls .mounting-details-row { gap: 24px; }
  .hubox-template-walls .usage-section { min-height: 36vw !important; }
  .hubox-template-walls .usage-row:last-child {
    width: 60%; margin-left: auto; flex-direction: column; gap: 50px;
  }
  .usage-sub-title{padding-top:80px;}
  .hubox-template-walls .noise-control-section { min-height: 36vw !important; }
}

/* Felt: display headings and editorial/card headings have distinct scales. */
.hubox-template-fetr :is(.fetr-palettes-title, .fetr-recyc-title,
  .fetr-shape-title, .fetr-usecases-title, .fetr-small-panels-title,
  .product-type-title-fetr) {
  font-size: clamp(40px, 2.08vw, 40px) !important;
  line-height: .95 !important;
}
.hubox-template-fetr :is(.fetr-app-title, .fetr-app-title1,

.hubox-template-fetr :is(.fetr-veneer-val, .fetr-veneer-val-flex) {
  font-size: clamp(24px, 3vw, 58px); line-height: 1;
}
.hubox-template-fetr .fetr-veneer-val-flex .color-icon { width: 1em; height: 1em; }
.hubox-template-fetr .fetr-fire-safety-sub { color: #4c5262; }
.hubox-template-fetr .product-type-content-fetr { top: 28px; left: 28px; }
.hubox-template-fetr :is(.fetr-shape-right img, .fetr-thick-left img,
  .fetr-veneer-left img) { object-fit: contain; }
.hubox-template-fetr :is(.product-type-section-fetr, .fetr-cleaning-banner,
  .fetr-soundproof-block) {
  min-height: 0 !important; height: auto !important; aspect-ratio: 2.1;
  background-size: cover !important; background-position: center !important;
}
.hubox-template-fetr .fetr-banner-1 { aspect-ratio: 1680 / 637; }
.hubox-template-fetr :is(.fetr-banner-2, .fetr-banner-3, .fetr-banner-4, .fetr-banner-7) { aspect-ratio: 1680 / 807; }
.hubox-template-fetr :is(.fetr-banner-5, .fetr-banner-6) { aspect-ratio: 1680 / 787; }
.hubox-template-walls :is(.flat-item, .flat-item-image, .radius-image-block,
  .radius-material-preview, .mounting-image-wrapper, .material-card,
  .pattern-item, .interior-view-section),
.hubox-template-fetr :is(.fetr-shape-right, .fetr-thick-left, .fetr-veneer-left,
  .fetr-small-panels-right) {
  opacity: 1 !important; visibility: visible !important;
  transform: none !important; transition: none !important; animation: none !important;
}
@media (min-width: 900px) {
  .hubox-template-fetr :is(.fetr-shape-wrapper, .fetr-thick-wrapper,
    .fetr-veneer-wrapper, .fetr-veneer-wrapper-reverse,
    .fetr-small-panels-wrapper, .fetr-small-panels-wrapper-reverse) {
    grid-template-columns: 1fr 1fr; aspect-ratio: 2; gap: 4px;
    min-height: 0 !important;
  }
  .hubox-template-fetr :is(.fetr-shape-left, .fetr-shape-right,
    .fetr-thick-left, .fetr-thick-right, .fetr-veneer-left, .fetr-veneer-right,
    .fetr-small-panels-left, .fetr-small-panels-right) { min-height: 0; }
  .hubox-template-fetr :is(.fetr-shape-left, .fetr-thick-right,
    .fetr-veneer-right, .fetr-small-panels-left) { padding: 28px; }
  .hubox-template-fetr .fetr-veneer-right { justify-content: center; gap: 20px; }
  .hubox-template-fetr .fetr-veneer-row { margin-left: 7%; }
  .hubox-template-fetr .fetr-veneer-divider { margin: 4px 0; }
  .hubox-template-fetr .fetr-prod-intro-block { min-height: 35vw !important; padding: 28px; }
  .hubox-template-fetr .fetr-prod-stat-img { align-self: center; margin-top: 5%; }
  .hubox-template-fetr .fetr-prod-stat-img img { width: clamp(120px, 14vw, 270px); }
  .hubox-template-fetr .fetr-app-intro-block { min-height: 36vw !important; padding: 28px; }
  .hubox-template-fetr .fetr-types-cta-block { min-height: 32vw !important; padding: 28px; }
  .hubox-template-fetr .fetr-types-right .btn-orange-pill { width: 85%; min-height: 44px; font-size: 14px; }
  .hubox-template-fetr .fetr-palettes-content { max-width: 47%; }
  .hubox-template-fetr .fetr-specs-table-block { padding: 64px 14%; }
  .hubox-template-fetr :is(.fetr-specs-table .col-thick, .fetr-specs-table .col-val,
    .fetr-noise-specs-table .col-thick, .fetr-noise-specs-table .col-val) { font-size: clamp(14px, 1.25vw, 24px); }
}

/* Catalog: square product tiles, never crop transparent product cutouts. */
.hubox-template-catalog :is(.veneer-card-media, .felt-card-media,
  .small-card-media, .pvc-card-media, .baffle-card-media, .hbaffle-card-media,
  .float-card-media, .armstrong-card-media, .embed-card-media, .lamp-card-media,
  .screen-card-media) { position: relative; min-width: 0; min-height: 0;aspect-ratio: 1; }
.hubox-template-catalog :is(.veneer-card-media, .felt-card-media,
  .small-card-media, .pvc-card-media, .baffle-card-media, .hbaffle-card-media,
  .float-card-media, .armstrong-card-media, .embed-card-media, .lamp-card-media,
  .screen-card-media) img {
  position: absolute; inset: 0; margin: auto; width: 90%; height: 88%;
  object-fit: contain; max-width: 90%; max-height: 88%;
}
.hubox-template-catalog :is(.veneer-card--wide, .felt-card--w2,
  .hbaffle-card--w2, .float-card--wide, .screen-card--wide) > :is(.veneer-card-media,
    .felt-card-media, .hbaffle-card-media, .float-card-media, .screen-card-media) { aspect-ratio: 2; }
.hubox-template-catalog :is(.veneer-caption, .felt-caption, .small-caption,
  .pvc-caption, .baffle-caption, .hbaffle-caption, .float-caption,
  .armstrong-caption, .embed-caption, .lamp-caption, .screen-caption) {
  line-height: 1.05; font-size: 14px;
}
.hubox-template-catalog :is(.veneer-caption, .felt-caption, .small-caption,
  .pvc-caption, .baffle-caption, .hbaffle-caption, .float-caption,
  .armstrong-caption, .embed-caption, .lamp-caption, .screen-caption) b { font-weight: 500; }
.hubox-template-catalog :is(.hbaffle-hero-media, .float-hero-media, .screen-hero-media) {
  position: relative; flex: none; min-height: 0; height: auto !important; aspect-ratio: 2;
}
.hubox-template-catalog :is(.hbaffle-hero-media, .float-hero-media, .screen-hero-media) > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hubox-template-catalog :is(.hbaffle-card, .float-card, .screen-card,
  .veneer-card, .felt-card, .small-card) { background: #fff !important; min-width: 0; }
.hubox-template-catalog .hbaffle-card--w2 { grid-column: span 1; }
.hubox-template-catalog .hbaffle-card--w2 > .hbaffle-card-media { aspect-ratio: 1; }
.hubox-template-catalog .float-hero { align-self: start; }
.hubox-template-walls .noise-control-container { min-height: 0; }
.hubox-template-walls .noise-benefits li {
  font-size: clamp(40px, 1.3vw, 25px) !important; font-weight:500; line-height: 1.1 !important;
}
@media (min-width: 1024px) {
  .hubox-template-walls .noise-control-section { padding: 28px; min-height: 40vw !important; }
  .hubox-template-walls .noise-form-wrapper { padding-top: 22%; }
  .hubox-template-walls .noise-title { font-size: clamp(40px, 5vw, 96px) !important; margin-bottom: 64px; }
}
@media (max-width: 768px) {
  .hubox-template-catalog :is(.hbaffle-gallery, .screen-gallery, .float-gallery, .float-left) {
    grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: 4px;
  }
  .hubox-template-catalog :is(.float-left, .float-hero) { grid-column: 1 / -1; }
  .hubox-template-catalog :is(.hbaffle-hero, .screen-hero) { grid-column: span 2; }
  .hubox-template-catalog :is(.hbaffle-inner, .screen-inner, .float-inner) { padding-inline: 8px; }
}
.hubox-template-catalog :is(.pm-stat, .pm-spec, .pm-spec-value) { text-align: left; align-items: flex-start; }
.hubox-template-catalog .pm-rule { display: block; height: 1px; background: #e6e6e6; margin-block: 14px; }
.hubox-template-catalog :is(.pm-title, .pm-title b) { font-weight: 500; }
.hubox-template-catalog :is(.pm-desc, .pm-spec-label, .pm-stat-label) { color: #4c5262; }
.hubox-template-catalog .pm-slide--contain { padding: 24px; }
.hubox-template-catalog .pm-slide--contain img { max-width: 100%; max-height: 100%; }
.hubox-template-catalog .pm-btn { min-height: 40px; font-size: 12px; }
.hubox-template-ceiling .ceil-specs-swap-detail { min-height: 0 !important; border-radius: 0 !important; }
.hubox-template-ceiling :is(.ceil-fire, .ceil-contact-dark-card) { border: 0 !important; }
@media (min-width: 900px) {
  .hubox-template-ceiling .hero-two-blocks-wrapper > .hero-block-card {
    height: auto !important; aspect-ratio: 1; min-height: 0 !important;
  }
}

/* Remaining editorial sections and shared contact panels. */
.hubox-template-walls .properties-main-title {
  font-size: clamp(36px, 4.17vw, 80px); line-height: .9; font-weight: 500;
}
.hubox-template-walls .prop-row {
  grid-template-columns: 40px minmax(100px, 1fr) 1.3fr;
  gap: 24px; padding: 32px 0; width: 60%; margin-left: auto;
}
.hubox-template-walls .prop-icon { width: 40px; height: 40px; }
.hubox-template-walls .prop-icon img { max-width: 40px; max-height: 40px; }hubox-template-ceiling :is(.ceil-specs-label, .ceil-specs-value) { line-height: 1.1 !important; }
.hubox-template-ceiling .ceil-caption-title { font-family: "TT Norms", Arial, sans-serif !important; font-weight: 500 !important; opacity: .75; }
.hubox-template-ceiling .ceil-btn-orange { font-family: "TT Norms", Arial, sans-serif !important; font-size: 14px !important; }
.hubox-template-ceiling .ceil-btn-orange:hover { transform: none !important; }
.hubox-template-fetr :is(.fetr-types-title1, .fetr-types-title, .fetr-app-title1) {
  font-size: clamp(32px, 4.17vw, 80px) !important; line-height: .9 !important;
}
.hubox-template-fetr .fetr-app-title2 {
  font-size: clamp(28px, 3.13vw, 60px) !important; line-height: .95 !important;
  max-width: 14ch; word-break: normal; text-wrap: wrap;
}
.hubox-template-fetr .fetr-fire-safety-sub { font-size: clamp(14px, 1.3vw, 25px); }
.hubox-template-fetr :is(.fetr-fire-label, .fetr-fire-text, .fetr-fire-tag) { font-size: clamp(12px, 1vw, 19px); }
.hubox-template-fetr .fetr-fire-safety-cert { border-radius: 0; box-shadow: none; }
.hubox-template-fetr .fetr-usecases-icon { width: 62px; height: 62px; }
.hubox-template-fetr .fetr-usecases-text { font-size: clamp(12px, 1vw, 19px); line-height: 1.2; }
.hubox-template-fetr .fetr-usecases-list { gap: 24px; }
.hubox-template-fetr .fetr-noise-specs-table :is(.col-thick1, .col-val1) { font-size: clamp(14px, 1.25vw, 24px); }
.hubox-template-fetr .fetr-noise-specs-table .col-label1 { font-size: clamp(12px, 1vw, 19px); }
.hubox-template-fetr .fetr-noise-specs-table .col-btn1 .btn-orange-pill {
  width: min(100%, 170px); min-height: 40px; height: auto;
  padding: 10px 18px; font: 500 14px/1 "TT Norms", Arial, sans-serif;
  box-shadow: none;
}
.hubox-template-fetr .types-list-fetr { padding-top: 0; }
.hubox-template-fetr .types-list-fetr li { font-size: clamp(12px, 1vw, 19px); line-height: 1.5; margin-bottom: 16px; padding-left: 20px; }
.hubox-template-fetr .types-list-fetr li::before { width: 5px; height: 5px; }
:is(.hubox-template-walls, .hubox-template-fetr) .footer-pre-section { gap: 4px; }
:is(.hubox-template-walls, .hubox-template-fetr) :is(.footer-contact-block, .footer-designer-block) {
  padding: 28px; border-radius: 0; min-width: 0;
}
:is(.hubox-template-walls, .hubox-template-fetr) :is(.footer-title, .designer-main-title) {
  font-size: clamp(28px, 3.13vw, 60px) !important; line-height: .9 !important; margin-bottom: 20px;
}
:is(.hubox-template-walls, .hubox-template-fetr) :is(.footer-benefits li, .designer-subtitle,
  .contact-group a, .footer-address, .footer-sub-links a) { font-size: clamp(12px, 1vw, 19px); line-height: 1.2; }
:is(.hubox-template-walls, .hubox-template-fetr) .btn-designer-action { font-size: 14px; padding: 12px 24px; font-weight: 500; }
:is(.hubox-template-walls, .hubox-template-fetr) .social-circle-btn { width: 48px; height: 48px; font-size: 24px; }
:is(.hubox-template-walls, .hubox-template-fetr) .social-circle-btn img { width: 24px; height: 24px; object-fit: contain; }
@media (min-width: 900px) {
  .hubox-template-fetr .fetr-usecases-block { min-height: 40vw !important; padding: 28px; }
  .hubox-template-fetr .fetr-usecases-right { width: 50%; }
  .hubox-template-fetr .fetr-fire-safety-body { grid-template-columns: 1fr 1.7fr; gap: 8%; }
  .hubox-template-fetr .fetr-fire-safety-cert { align-self: center; }
  :is(.hubox-template-walls, .hubox-template-fetr) .footer-pre-section { min-height: 0 !important; aspect-ratio: 2.3; }
  .hubox-template-walls :is(.rail-collection-section, .zen-collection-section) { aspect-ratio: 2; padding: 0 !important; }
  .hubox-template-walls :is(.rail-interior-image, .zen-interior-image) { min-height: 0 !important; aspect-ratio: 1; }
  .hubox-template-walls .product-type-section { min-height: 0 !important; height: auto !important; aspect-ratio: 2.1; background-position: center; }
}
@media (max-width: 768px) {
  .hubox-template-walls .prop-row { width: 100%; grid-template-columns: 32px minmax(80px, 1fr) 1.2fr; gap: 12px; }
  .hubox-template-walls .prop-icon { width: 32px; height: 32px; }
}

