/* Galich Tools extracted footer/responsive layer. Source: gt-core.css before core/footer split. */

/* GT extracted non-home premium footer v13. */
/* Unified premium footer v34 */
body:not(.page-homepage) .footer--v6 {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #0b1426 !important;
  color: #d8e0ec !important;
  overflow: hidden !important;
}

body:not(.page-homepage) .footer--v6 .container-fluid {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium {
  width: 100% !important;
  min-height: 0 !important;
  padding: 36px 0 26px !important;
  background: #0b1426 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__inner {
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__top {
  display: grid !important;
  grid-template-columns: 190px repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: start !important;
  min-height: 0 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__logo {
  display: inline-flex !important;
  width: 148px !important;
  height: auto !important;
  padding: 10px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.06) !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__logo img {
  display: block !important;
  width: 128px !important;
  height: auto !important;
  max-width: 128px !important;
  object-fit: contain !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__title {
  display: block !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__links,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__contacts {
  display: grid !important;
  gap: 8px !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__links a,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__legal a,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__copy,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__social span {
  color: #b8c3d3 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__links a:hover,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__links a:focus-visible,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__legal a:hover,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__legal a:focus-visible {
  color: #fff !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  color: #d8e0ec !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact svg {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  stroke: #ff8a2b !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact span {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact strong,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact small {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact strong {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__contact small {
  color: #9daabd !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__bottom {
  display: grid !important;
  grid-template-columns: minmax(180px, .7fr) minmax(220px, 1fr) minmax(260px, 1.1fr) !important;
  gap: 20px !important;
  align-items: center !important;
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__legal {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__social {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 0 !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__social-list {
  display: flex !important;
  gap: 8px !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__social-link {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.08) !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__social-link:hover,
body:not(.page-homepage) .footer--v6 .gt-footer-premium__social-link:focus-visible {
  background: rgba(255,138,43,.18) !important;
}

body:not(.page-homepage) .footer--v6 .gt-footer-premium__social-link img {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
}

@media (max-width: 1199px) {
  body:not(.page-homepage) .footer--v6 .gt-footer-premium__top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body:not(.page-homepage) .footer--v6 .gt-footer-premium {
    padding: 28px 0 24px !important;
  }

  body:not(.page-homepage) .footer--v6 .gt-footer-premium__inner {
    width: min(100% - 28px, 520px) !important;
  }

  body:not(.page-homepage) .footer--v6 .gt-footer-premium__top,
  body:not(.page-homepage) .footer--v6 .gt-footer-premium__bottom {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body:not(.page-homepage) .footer--v6 .gt-footer-premium__brand {
    display: flex !important;
    justify-content: center !important;
  }

  body:not(.page-homepage) .footer--v6 .gt-footer-premium__legal {
    flex-direction: column !important;
    gap: 8px !important;
  }

  body:not(.page-homepage) .footer--v6 .gt-footer-premium__social {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 1199px) {
  body.page-homepage .gt-consumables-shortcut__body,
  body.page-homepage .gtm-consult {
    grid-template-columns: 1fr 1fr !important;
  }

  body.page-homepage .gt-consumables-shortcut__copy,
  body.page-homepage .gtm-consult > div:first-child {
    grid-column: 1 / -1 !important;
  }

  body.page-homepage .gtm-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-homepage .gt-footer-premium__top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.page-homepage .gt-consumables-shortcut {
    margin-top: 0 !important;
  }

  body.page-homepage .gt-consumables-shortcut__body,
  body.page-homepage .gtm-consult,
  body.page-homepage .gtm-material-grid,
  body.page-homepage .gt-footer-premium__top,
  body.page-homepage .gt-footer-premium__bottom {
    grid-template-columns: 1fr !important;
  }

  body.page-homepage .gt-consumables-shortcut__body,
  body.page-homepage .gtm-consult {
    padding: 18px !important;
  }

  body.page-homepage .gtm-company-image {
    height: 220px !important;
  }

  body.page-homepage .gt-footer-premium__social {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}
