.contacts .map .iframe {
  min-height: 360px;
  overflow: hidden;
}

/* Keep the consent control aligned with the first line of wrapped copy. */
.agreement .wpcf7-list-item label {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.agreement .agreement__checkbox {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 22px;
  flex: 0 0 22px;
  height: 22px;
  margin-top: 0.2em;
  min-width: 22px;
  width: 22px !important;
}

.agreement .wpcf7-list-item,
.agreement .wpcf7-list-item label,
.agreement .wpcf7-list-item-label {
  max-width: 100%;
  min-width: 0;
}

/* Prevent fixed industry grids and non-breaking labels from widening the page. */
.industries__simple-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.industries__simple-list-item {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 990px) {
  .industries__simple-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .industries__simple-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .industries__simple-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A legacy class-level display rule must never override semantic [hidden]. */
.header__zakaz[hidden],
.header__zakaz[aria-hidden="true"] {
  display: none !important;
}

.contacts .map__frame {
  background: #f7f8f9;
  position: relative;
}

.contacts .map__placeholder {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.contacts .map__placeholder img {
  filter: saturate(0.88);
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.contacts .map__placeholder::after {
  background: rgba(12, 12, 19, 0.22);
  content: "";
  inset: 0;
  position: absolute;
}

.contacts .map__load-button {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.header .logo img,
.footer img.logo,
.mobmenu__header a img {
  height: auto !important;
}

.footer img.logo {
  max-width: 115px;
  width: 100%;
}

.mobmenu__header a img {
  max-width: 86px;
  width: 100%;
}

.mobmenu {
  overflow-y: auto;
}

.mobmenu__wrapper {
  height: auto;
  min-height: 100%;
}

.main-form__img img {
  height: auto;
  max-height: none;
  max-width: 315px;
  width: 100%;
}

.main-form--b2b {
  align-items: flex-start;
  background: #f5f7fa;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  margin-top: 48px;
  min-height: 0;
}

.main-form--b2b .main-form__block {
  max-width: 880px;
  width: 100%;
}

.main-form--b2b .main-form__title {
  letter-spacing: 0;
}

.main-form--b2b .main-form__text {
  color: #4b5563;
  max-width: 760px;
}

.header__menu-item--secondary a {
  color: #4b5563;
}

.mobmenu__group > a {
  font-weight: 700;
}

.mobmenu__submenu {
  border-left: 2px solid #d6dde6;
  display: grid;
  gap: 8px;
  margin: 10px 0 14px 12px;
  padding: 0 0 0 14px;
}

.mobmenu__submenu a {
  color: #374151;
  font-size: 15px;
  line-height: 1.35;
}

.product-top-menu {
  display: none !important;
}

.catalog-toolbar {
  background: #f5f7fa;
  border-bottom: 1px solid #d9e0e8;
  border-top: 1px solid #d9e0e8;
  margin: 18px 0 24px;
}

.catalog-toolbar__wrapper {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 12px 20px;
}

.catalog-toolbar .category-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.catalog-toolbar .category-menu__item {
  list-style: none;
}

.catalog-toolbar .category-menu__item a,
.catalog-toolbar__sort a {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6dde6;
  border-radius: 6px;
  color: #111827;
  display: inline-flex;
  font-size: 14px;
  min-height: 36px;
  padding: 7px 12px;
  text-decoration: none;
}

.catalog-toolbar .category-menu__item.active a,
.catalog-toolbar .category-menu__item a:hover,
.catalog-toolbar__sort a:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.catalog-toolbar__sort {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.catalog-toolbar__sort span {
  color: #4b5563;
  font-size: 13px;
}

.product__single .product__main {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
}

.product__single .products__item,
.product__single .product__info {
  min-width: 0;
}

.product__frame {
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  min-height: 360px;
  padding: 18px;
  position: relative;
}

.product__frame img {
  display: block;
  height: auto;
  margin: 26px auto 0;
  max-height: 460px;
  max-width: 100%;
  object-fit: contain;
}

/* Legacy reference images carry 1x1 HTML attributes despite real source dimensions. */
.product__frame img[width="1"][height="1"] {
  height: auto;
  width: 100%;
}

.product__image-status,
.products__image-status {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  padding: 5px 8px;
}

.product__image-status--exact,
.product__image-status--series_exact,
.products__image-status--exact,
.products__image-status--series_exact {
  background: #ecfdf3;
  border-color: #9bd8b3;
  color: #0f5f3a;
}

.product__image-status--group_placeholder,
.product__image-status--needs_review,
.product__image-status--missing,
.products__image-status--group_placeholder,
.products__image-status--needs_review,
.products__image-status--missing {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.product__rate:empty {
  display: none;
}

.product__title {
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.product__price--by-request {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}

.product__specs,
.products__specs {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.product__specs__item,
.products__specs__item {
  align-items: baseline;
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(110px, 34%) minmax(0, 1fr);
  padding: 7px 0;
}

.product__specs dt,
.products__specs dt {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
}

.product__specs dd,
.products__specs dd {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.product__buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product__certs {
  align-items: center;
  display: flex;
  gap: 10px;
}

.product__buttons .button {
  min-height: 46px;
}

.catalog-help {
  background: #f5f7fa;
  border-top: 1px solid #d9e0e8;
  margin-top: 34px;
  padding: 28px 0;
}

.catalog-help__wrapper {
  align-items: center;
  display: grid;
  gap: 12px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.catalog-help h2 {
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
}

.catalog-help p {
  color: #4b5563;
  grid-column: 1;
  margin: 0;
  max-width: 760px;
}

.catalog-help .button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.woocommerce ul.products {
  align-items: stretch;
}

.woocommerce ul.products li.products__item,
li.products__item {
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.products__frame {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 210px;
  padding: 12px;
  position: relative;
}

.products__frame img {
  display: block;
  height: auto;
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
}

.products__frame img[width="1"][height="1"] {
  height: auto;
  width: 100%;
}

.products__image-status {
  left: 10px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.products__image-status--exact,
.products__image-status--series_exact {
  display: none;
}

.products__title {
  color: #111827;
  text-decoration: none;
}

.products__title h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.products__price-row {
  margin-top: auto;
}

.products__price-row .product__price {
  font-size: 18px;
  margin: 0;
}

.products__actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.products__request,
.products__button-more {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
}

.products__request {
  background: #0c0c13;
  border: 1px solid #0c0c13;
  color: #ffffff;
  cursor: pointer;
}

.products__button-more {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
}

.products__garant {
  color: #374151;
  font-size: 13px;
  margin: 0;
}

.service-hub__hero,
.service-detail__hero {
  background: #f5f7fa;
  border-bottom: 1px solid #d9e0e8;
  padding: 48px 0 36px;
}

.service-hub__eyebrow,
.service-detail__eyebrow,
.search-service-card__type {
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.service-hub h1,
.service-detail h1 {
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 880px;
}

.service-hub__lead,
.service-detail__lead {
  color: #374151;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 860px;
}

.service-hub__hero-grid,
.service-detail__hero-grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
}

.service-hub__media,
.service-detail__media {
  margin: 0;
  justify-self: end;
  max-width: 430px;
  width: 100%;
}

.service-hub__media img,
.service-detail__media img {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 43, 57, 0.13);
  display: block;
  height: auto;
  width: 100%;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-hub__routes,
.service-hub__info,
.service-detail__content {
  padding: 42px 0;
}

.service-route-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 20px 0 0;
  padding: 0;
}

.service-route,
.search-service-card {
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 18px;
}

.service-route__title,
.search-service-card__title {
  color: #111827;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.service-route p,
.search-service-card p {
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.service-route__link {
  color: #0f766e;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
}

.service-info-grid,
.service-detail__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.service-info-grid > div,
.service-detail__aside {
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 20px;
}

.service-detail__article {
  min-width: 0;
}

.service-detail__article h2,
.service-detail__aside h2,
.service-info-grid h2 {
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-detail__aside ul,
.service-info-grid ul,
.service-info-grid ol {
  margin: 0;
  padding-left: 20px;
}

.service-detail__aside li,
.service-info-grid li {
  margin-bottom: 10px;
}

.service-detail__aside .button {
  margin-top: 12px;
  width: 100%;
}

@media (max-width: 900px) {
  .catalog-toolbar__wrapper,
  .catalog-toolbar__sort,
  .catalog-help__wrapper {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-help .button,
  .catalog-help p {
    grid-column: auto;
    grid-row: auto;
  }

  .product__single .product__main {
    grid-template-columns: 1fr;
  }

  .service-info-grid,
  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .product__frame {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .catalog-toolbar {
    overflow-x: clip !important;
  }

  .service-hub,
  .service-detail {
    max-width: 100%;
    overflow-x: hidden;
  }

  .service-hub__hero,
  .service-hub__routes,
  .service-hub__info,
  .service-detail__hero,
  .service-detail__content {
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    width: 100% !important;
  }

  .service-hub .wrapper,
  .service-detail .wrapper {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 32px);
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    width: calc(100vw - 32px);
  }

  .service-hub__hero,
  .service-detail__hero {
    padding: 28px 0;
  }

  .service-hub h1,
  .service-detail h1 {
    font-size: 28px;
    max-width: 100% !important;
    overflow-wrap: break-word;
    width: 100% !important;
  }

  .service-hub__lead,
  .service-detail__lead,
  .service-route p,
  .search-service-card p {
    font-size: 16px;
    max-width: 100% !important;
    overflow-wrap: break-word;
    width: 100% !important;
  }

  .service-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-hub__hero-grid,
  .service-detail__hero-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-hub__media,
  .service-detail__media {
    justify-self: start;
    max-width: 100%;
  }

  .service-cta .button {
    min-width: 0;
    white-space: normal;
    width: 100%;
  }

  .service-route-list {
    grid-template-columns: 1fr;
  }

  .service-route,
  .search-service-card,
  .service-info-grid > div,
  .service-detail__aside {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
  }

  .catalog-toolbar .category-menu__list,
  .catalog-toolbar__sort,
  .product__buttons,
  .products__actions {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar__wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product__specs__item,
  .products__specs__item {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Keep core-owned semantic breadcrumbs readable in the legacy induction shell. */
.muestra-induction-collection__breadcrumbs.four-site-human-copy-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.muestra-induction-collection__breadcrumbs.four-site-human-copy-breadcrumbs ol > li + li::before {
  color: #9aa8ae;
  content: "/";
  margin-right: 7px;
}

.muestra-induction-collection__breadcrumbs.four-site-human-copy-breadcrumbs ol > li > span::before {
  content: none;
}

/* Contact details: retain readable leading when donor font size increases. */
.contacts__item p:not(:first-child), .contacts__item a { line-height: 1.35; }

/* Shared catalogue disclosure keeps all links available without a mobile wall. */
.catalog-toolbar__sections { flex: 1 1 auto; min-width: 0; }
.catalog-toolbar__sections > summary {
  align-items: center; background: #fff; border: 1px solid #d6dde6; border-radius: 8px;
  color: #0f696f; cursor: pointer; display: flex; font-size: 14px; font-weight: 600;
  gap: 16px; justify-content: space-between; list-style: none; padding: 12px 14px;
}
.catalog-toolbar__sections > summary::-webkit-details-marker { display: none; }
.catalog-toolbar__sections > summary::after { content: '+'; font-size: 20px; line-height: 1; }
.catalog-toolbar__sections[open] > summary::after { content: '\2212'; }
.catalog-toolbar__sections > summary:focus-visible { outline: 2px solid #0f696f; outline-offset: 3px; }
.catalog-toolbar__sections > .catalog-toolbar__nav { margin-top: 10px; }
.catalog-toolbar__sections > .catalog-toolbar__nav::before { display: none; }
.catalog-toolbar__sections:not([open]) > .catalog-toolbar__nav { display: none !important; }

.catalog-toolbar:has(.catalog-toolbar__sections)::before { display: none; }
