/* Commercial homepage for PolimerPortal. */
body.home #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.home #main > .fusion-row,
body.home #content,
body.home .pp-home-redesign > .fusion-builder-row,
body.home .pp-home-redesign .fusion-layout-column,
body.home .pp-home-redesign .fusion-column-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .fusion-header-wrapper.fusion-is-sticky .fusion-header,
body.home .fusion-header-wrapper.fusion-is-sticky .fusion-secondary-main-menu {
  background: var(--awb-color1) !important;
  box-shadow: 0 8px 24px hsla(var(--awb-color8-h), var(--awb-color8-s), var(--awb-color8-l), calc(var(--awb-color8-a) - 90%));
}

.pp-home {
  --pp-ink: var(--awb-color8);
  --pp-muted: var(--awb-color5);
  --pp-line: var(--awb-color3);
  --pp-surface: var(--awb-color2);
  --pp-orange: var(--awb-color4);
  --pp-link: var(--awb-color6);
  color: var(--pp-ink);
  background: var(--awb-color1);
  overflow: hidden;
}

.pp-home *,
.pp-home *::before,
.pp-home *::after {
  box-sizing: border-box;
}

.pp-home a {
  text-underline-offset: 3px;
}

.pp-home-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.pp-home-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: stretch;
  color: var(--awb-color1);
  background: var(--awb-color8);
}

.pp-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsla(var(--awb-color8-h), var(--awb-color8-s), var(--awb-color8-l), calc(var(--awb-color8-a) - 32%));
  pointer-events: none;
}

.pp-home-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.pp-home-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 148px;
  align-self: center;
}

.pp-home-hero__eyebrow,
.pp-home-kicker,
.pp-home-product__type {
  margin: 0 0 14px;
  color: var(--pp-orange);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pp-home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--awb-color1);
  font-size: 58px !important;
  line-height: 1.04 !important;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.pp-home-hero__lead {
  max-width: 820px;
  margin: 26px 0 0;
  color: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 6%));
  font-size: 21px;
  line-height: 1.6;
  text-wrap: pretty;
}

.pp-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pp-home-button,
.pp-home-button:visited {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pp-home-button:hover,
.pp-home-button:focus-visible {
  transform: translateY(-1px);
}

.pp-home-button--primary,
.pp-home-button--primary:visited {
  color: var(--awb-color1) !important;
  background: var(--pp-orange);
  border-color: var(--pp-orange);
}

.pp-home-button--primary:hover,
.pp-home-button--primary:focus-visible {
  color: var(--awb-color1) !important;
  background: var(--awb-color7);
  border-color: var(--awb-color7);
}

.pp-home-button--light,
.pp-home-button--light:visited {
  color: var(--awb-color1) !important;
  background: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 88%));
  border-color: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 38%));
}

.pp-home-button--light:hover,
.pp-home-button--light:focus-visible {
  color: var(--pp-ink) !important;
  background: var(--awb-color1);
  border-color: var(--awb-color1);
}

.pp-home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 12%));
  font-size: 15px;
  line-height: 1.5;
}

.pp-home-hero__facts li {
  position: relative;
  padding-left: 16px;
}

.fusion-text .pp-home-hero__facts > li {
  margin: 0;
}

.pp-home-hero__facts li::before {
  content: "";
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pp-orange);
}

.pp-home-hero__nav {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(1280px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 65%));
}

.pp-home-hero__nav a,
.pp-home-hero__nav a:visited {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  color: var(--awb-color1) !important;
  border-right: 1px solid hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 72%));
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  text-decoration: none !important;
  background: hsla(var(--awb-color8-h), var(--awb-color8-s), var(--awb-color8-l), calc(var(--awb-color8-a) - 60%));
}

.pp-home-hero__nav a:first-child {
  border-left: 1px solid hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 72%));
}

.pp-home-hero__nav a:hover,
.pp-home-hero__nav a:focus-visible {
  color: var(--awb-color1) !important;
  background: var(--awb-color4);
}

.pp-home-section {
  padding: 68px 0;
}

.pp-home-section__heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.pp-home-section__heading--row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 48px;
  align-items: end;
}

.pp-home-section__heading h2,
.pp-home-selection h2,
.pp-home-contact h2 {
  margin: 0;
  color: var(--pp-ink);
  font-size: 38px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.pp-home-section__heading > p,
.pp-home-section__heading--row > p,
.pp-home-selection p,
.pp-home-contact p {
  margin: 16px 0 0;
  color: var(--pp-muted);
  font-size: 18px;
  line-height: 1.65;
}

.pp-home-section__heading--row > p {
  margin: 0;
}

.pp-home-direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pp-home-direction {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pp-line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--awb-color1);
}

.pp-home-direction__media {
  display: block;
  height: 250px;
  overflow: hidden;
  line-height: 0;
  background: var(--pp-surface);
}

.pp-home-direction__media > a,
.pp-home-product__media > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.pp-home-direction__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 240ms ease;
}

.pp-home-direction__media:hover img,
.pp-home-direction__media:focus-visible img {
  transform: scale(1.025);
}

.pp-home-direction__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.pp-home-direction h3,
.pp-home-product h3 {
  margin: 0;
  color: var(--pp-ink);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.pp-home-direction h3 a,
.pp-home-direction h3 a:visited,
.pp-home-product h3 a,
.pp-home-product h3 a:visited {
  color: var(--pp-ink) !important;
  text-decoration: none !important;
}

.pp-home-direction h3 a:hover,
.pp-home-direction h3 a:focus-visible,
.pp-home-product h3 a:hover,
.pp-home-product h3 a:focus-visible {
  color: var(--pp-orange) !important;
}

.pp-home-direction__body > p,
.pp-home-product__body > p:not(.pp-home-product__type) {
  margin: 14px 0 20px;
  color: var(--pp-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pp-home-text-link,
.pp-home-text-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--pp-link) !important;
  font-weight: 500;
  text-decoration: none !important;
}

.pp-home-text-link:hover,
.pp-home-text-link:focus-visible {
  color: var(--pp-orange) !important;
  text-decoration: underline !important;
}

.pp-home-products {
  background: var(--pp-surface);
}

.pp-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pp-home-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 250px;
  border: 1px solid var(--pp-line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--awb-color1);
}

.pp-home-product__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--awb-color2);
}

.pp-home-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 220ms ease;
}

.pp-home-product__media:hover img,
.pp-home-product__media:focus-visible img {
  transform: scale(1.03);
}

@media (min-width: 1181px) {
  .pp-home-product__media > a[href="https://www.polimerportal.ru/ads/trubki-iz-termoplastichnogo-poliuretana-vitur/"] img,
  .pp-home-product__media > a[href="https://www.polimerportal.ru/ads/poliuretanovaya-lenta-dlya-styazhek-zhgutov-elektroprovodov-ltpu-18-tu-6-55-221-1109-90/"] img {
    transform: scale(1.36);
  }

  .pp-home-product__media > a[href="https://www.polimerportal.ru/ads/trubki-iz-termoplastichnogo-poliuretana-vitur/"]:hover img,
  .pp-home-product__media > a[href="https://www.polimerportal.ru/ads/poliuretanovaya-lenta-dlya-styazhek-zhgutov-elektroprovodov-ltpu-18-tu-6-55-221-1109-90/"]:hover img {
    transform: scale(1.4);
  }
}

.pp-home-product__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.pp-home-product__type {
  margin-bottom: 9px;
  color: var(--pp-orange);
}

.pp-home-product h3 {
  font-size: 21px;
}

.pp-home-selection {
  padding: 50px 0;
  color: var(--awb-color1);
  background: var(--awb-color8);
}

.pp-home-selection__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 52px;
  align-items: center;
}

.pp-home-selection .pp-home-kicker {
  color: var(--awb-color4);
}

.pp-home-selection h2,
.pp-home-selection p {
  color: var(--awb-color1);
}

.pp-home-selection p {
  max-width: 880px;
  color: var(--awb-color3);
}

.pp-home-selection__action,
.pp-home-contact__action {
  justify-self: end;
}

.pp-home-catalog {
  background: var(--awb-color1);
}

.pp-home-catalog .pp-home-category-grid {
  width: min(1280px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
  gap: 22px 16px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.pp-home-catalog .pp-home-category-grid__item {
  display: flex;
  height: 100%;
}

.pp-home-catalog .pp-home-category-grid__link,
.pp-home-catalog .pp-home-category-grid__link:visited {
  flex: 1 1 auto;
  height: 100%;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  padding-bottom: 16px;
  border: 1px solid var(--pp-line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--awb-color1);
}

.pp-home-catalog .pp-home-category-grid__image {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  border-radius: 0;
}

.pp-home-catalog .pp-home-category-grid__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
}

.pp-home-catalog .pp-home-category-grid__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.pp-home-catalog .pp-home-category-grid__title-text {
  font-weight: 500;
}

.pp-home-catalog__action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pp-home-button--outline,
.pp-home-button--outline:visited {
  color: var(--pp-ink) !important;
  border-color: var(--awb-color5);
  background: var(--awb-color1);
}

.pp-home-button--outline:hover,
.pp-home-button--outline:focus-visible {
  color: var(--awb-color1) !important;
  border-color: var(--awb-color4);
  background: var(--awb-color4);
}

.pp-home-contact {
  padding: 52px 0;
  border-top: 1px solid var(--pp-line);
  background: var(--awb-color2);
}

.pp-home-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.pp-home-contact p {
  max-width: 880px;
}

.pp-home-button--dark,
.pp-home-button--dark:visited {
  color: var(--awb-color1) !important;
  background: var(--pp-ink);
  border-color: var(--pp-ink);
}

.pp-home-button--dark:hover,
.pp-home-button--dark:focus-visible {
  color: var(--awb-color1) !important;
  background: var(--awb-color4);
  border-color: var(--awb-color4);
}

@media (max-width: 1180px) {
  .pp-home-product {
    grid-template-columns: 1fr;
  }

  .pp-home-product__media,
  .pp-home-product__media img {
    min-height: 0;
  }

  .pp-home-product__media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 960px) {
  .pp-home-hero {
    min-height: 680px;
  }

  .pp-home-hero__inner {
    padding-top: 68px;
    padding-bottom: 230px;
  }

  .pp-home-hero h1 {
    font-size: 48px !important;
  }

  .pp-home-hero__nav {
    grid-template-columns: 1fr;
  }

  .pp-home-hero__nav a,
  .pp-home-hero__nav a:first-child {
    min-height: 56px;
    padding: 12px 16px;
    border: 0;
    border-top: 1px solid hsla(var(--awb-color1-h), var(--awb-color1-s), var(--awb-color1-l), calc(var(--awb-color1-a) - 72%));
  }

  .pp-home-direction-grid,
  .pp-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-home-section__heading--row,
  .pp-home-selection__inner,
  .pp-home-contact__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pp-home-section__heading--row > p {
    max-width: 760px;
  }

  .pp-home-selection__action,
  .pp-home-contact__action {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .pp-home-inner,
  .pp-home-hero__inner,
  .pp-home-hero__nav {
    width: min(100% - 32px, 1280px);
  }

  .pp-home-hero {
    min-height: 0;
    flex-direction: column;
  }

  .pp-home-hero__inner {
    align-self: auto;
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .pp-home-hero h1 {
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  .pp-home-hero__lead {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.52;
  }

  .pp-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .pp-home-button {
    width: 100%;
  }

  .pp-home-selection__action,
  .pp-home-contact__action {
    width: 100%;
  }

  .pp-home-hero__facts {
    gap: 7px 18px;
    margin-top: 20px;
    font-size: 14px;
  }

  .pp-home-hero__nav a {
    font-size: 14px;
  }

  .pp-home-hero__nav {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 32px, 1280px);
    margin: 0 auto 20px;
    transform: none;
  }

  .pp-home-section {
    padding: 48px 0;
  }

  .pp-home-section__heading {
    margin-bottom: 28px;
  }

  .pp-home-section__heading h2,
  .pp-home-selection h2,
  .pp-home-contact h2 {
    font-size: 31px;
  }

  .pp-home-section__heading > p,
  .pp-home-section__heading--row > p,
  .pp-home-selection p,
  .pp-home-contact p {
    font-size: 16px;
  }

  .pp-home-direction-grid,
  .pp-home-product-grid {
    grid-template-columns: 1fr;
  }

  .pp-home-direction__body,
  .pp-home-product__body {
    padding: 22px;
  }

  .pp-home-direction__media {
    height: 220px;
  }

  .pp-home-direction__media img {
    height: 100%;
  }

  .pp-home-selection,
  .pp-home-contact {
    padding: 42px 0;
  }

  .pp-home-catalog .pp-home-category-grid {
    width: min(100% - 32px, 1280px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .pp-home-catalog .pp-home-category-grid__title-text {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 380px) {
  .pp-home-hero h1 {
    font-size: 29px !important;
  }

  .pp-home-catalog .pp-home-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-home *,
  .pp-home *::before,
  .pp-home *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
