@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100;
  src: url("../fonts/montserrat/Montserrat-ThinItalic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/montserrat/Montserrat-Thin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100;
  src: url("../fonts/montserrat/Montserrat-ThinItalic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/montserrat/Montserrat-ExtraLight.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 200;
  src: url("../fonts/montserrat/Montserrat-ExtraLightItalic.woff2")
    format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/montserrat/Montserrat-Light.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/montserrat/Montserrat-LightItalic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat/Montserrat-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/montserrat/Montserrat-Italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/montserrat/Montserrat-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/montserrat/Montserrat-MediumItalic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/montserrat/Montserrat-SemiBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 600;
  src: url("../fonts/montserrat/Montserrat-SemiBoldItalic.woff2")
    format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat/Montserrat-Bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/montserrat/Montserrat-BoldItalic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/montserrat/Montserrat-ExtraBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 800;
  src: url("../fonts/montserrat/Montserrat-ExtraBoldItalic.woff2")
    format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/montserrat/Montserrat-Black.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/montserrat/Montserrat-BlackItalic.woff2") format("woff2");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #111111;
  scrollbar-width: thin;
  scrollbar-color: #95c11f #f0f0f0;
}
::selection {
  background-color: #95c11f;
  color: #ffffff;
}
::-moz-selection {
  background-color: #95c11f;
  color: #ffffff;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

h2,
.h2 {
  font-size: 2.4rem;
  padding-bottom: 1rem;
  color: #111111;
}

p,
span {
  line-height: 1.8rem;
  font-size: 1.2rem;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-button {
  background: #95c11f;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  height: 100%;
}

@media (max-width: 800px) {
  .container {
    padding: 0 1rem;
  }
}

.header {
  background-color: #151914;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  max-height: 120px;
  height: 100%;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
  padding-right: 4rem;
}

.header__logo {
}

.header__nav {
  display: flex;
  justify-content: space-between;
  /* max-width: 650px; */
  max-width: 520px;
  width: 100%;
}

.header__nav > a,
.order-btn,
.order-btn--mobile {
  color: #6c6d70;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 130%;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s ease;
}

.header__nav > a::before {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #97bf0d;
  transition: width 0.3s ease;
}
.order-btn,
.order-btn--mobile {
  color: #ffffff;
  background-color: #95c11f;
  padding: 0.8rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.order-btn--mobile {
  display: none;
  width: 100%;
  padding: 1rem;
}
@media (max-width: 600px) {
  .order-btn {
    display: none;
  }
  .order-btn--mobile {
    display: block;
  }
}
.header__phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 850px) {
  .header__phones {
    display: none;
  }
}

.header__phones > a {
  font-weight: 400;
  font-size: 1rem;
  line-height: 130%;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.header__burger-menu {
  width: 42px;
  height: 25px;
  cursor: pointer;
  display: none;
  align-items: center;
  position: absolute;
  right: 0;
}

@media (max-width: 1330px) {
  .header__inner {
    justify-content: start;
    gap: 20px;
  }
  .header__nav {
    display: none;
  }
  .header__burger-menu {
    display: flex;
  }
}

.header__burger-menu .header__burger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 100px;
}
.header__burger-menu .header__burger-line::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 100px;
  top: 0;
}
.header__burger-menu .header__burger-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 100px;
  bottom: 0;
}

.header__burger-menu.active .header__burger-line::before {
  transform: rotate(45deg);
  transition: transform 0.5s ease;
  top: 55%;
  z-index: 999;
}

.header__burger-menu.active .header__burger-line::after {
  transform: rotate(-45deg);
  transition: transform 0.5s ease;
  bottom: 30%;
  z-index: 999;
}

.header__burger-menu.active .header__burger-line {
  background-color: transparent;
}

.popup-menu {
  position: absolute;
  width: 100vw;
  left: -1rem;
  top: 120px;
  transform: translateX(1000%);
  transition: transform 0.5s ease;
  background-color: white;
  overflow: hidden;
  z-index: 9999;
}

.popup-menu.open {
  transform: translateX(0);
  height: 100vh;
}

.popup-menu__content-header {
  height: 65px;
  border-bottom: 1px solid #9e9e9e;
  margin-bottom: 3rem;
}

.popup-menu__content-header > p {
  color: #9e9e9e;
  font-size: 1.2rem;
  text-align: center;
  line-height: 80px;
}
.popup-menu__content-links {
  margin-bottom: 3rem;
}

.popup-menu__content-links a {
  display: block;
  padding: 10px 0;
  color: #272727;
  transition: 0.3s ease;
}
.popup-menu__content-phones {
  display: none;
  justify-content: start;
  gap: 2rem;
  color: #272727;
  margin-bottom: 3rem;
}
@media (max-width: 850px) {
  .popup-menu__content-phones {
    display: flex;
    flex-wrap: wrap;
  }
}
@media (hover: hover) {
  .header__nav > a:hover {
    color: #fff;
    transition: 0.3s ease;
  }
  .header__nav > a:hover::before {
    width: 100%;
    transition: 0.3s ease;
  }
  .header__phones > a:hover {
    border-bottom-color: #fff;
    transition: 0.3s ease;
  }
  .popup-menu__content-links a:hover,
  .popup-menu__content-phones a:hover {
    color: #97bf0d;
    transition: 0.3s ease;
  }
}

/* front-page */

.introduction {
  background-image: url("../images/main-banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: calc(100vh - 120px);
  margin-top: 120px;
}
.introduction__inner {
  display: flex;
  justify-content: end;
  align-items: end;
  height: 100%;
}
.introduction__block {
  max-width: 685px;
  width: 100%;
  margin-bottom: 2.5rem;
}
.introduction__block-header {
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 110%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2.5rem;
  padding: 0.6rem 0 0.6rem 2.2rem;
  max-width: 438px;
  position: relative;
}
.introduction__block-header::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  width: 20px;
  height: 20px;
}

.introduction__block-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  border-left: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  width: 20px;
  height: 20px;
}
@media (max-width: 600px) {
  .introduction__block-header {
    font-size: 3rem;
  }
}

.introduction__block-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  margin-left: 2.2rem;
}
.introduction__block-content > p {
  font-weight: 400;
  font-size: 2rem;
  line-height: 130%;
  color: #ebebeb;
}
.introduction__block-content > a {
  padding: 20px 52px;
  background-color: #97bf0d;
  color: #272727;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 130%;
  text-transform: uppercase;
  width: fit-content;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .introduction__block-content > a:hover {
    filter: brightness(1.1);
    transition: 0.3s ease;
  }
}
.welcome {
  padding-top: 6.25rem;
  padding-bottom: 3.8rem;
}
.welcome__inner {
  max-width: 985px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.welcome__title p {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 120%;
  color: #9e9e9e;
  margin-bottom: 0.6rem;
}
.welcome__title h1,
.collab__content-title,
.page-title {
  font-weight: 500;
  font-size: 3.8rem;
  line-height: 120%;
  text-transform: uppercase;
  color: #97bf0d;
}
.welcome__desc {
  max-width: 325px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.welcome__desc > p {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 140%;
  color: #272727;
}
@media (max-width: 950px) {
  .welcome__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.3rem;
  }
  .welcome__desc {
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .welcome__title h1 {
    font-size: 3rem;
  }
}
.tools,
.cable {
  padding: 6.25rem 0;
}
.tools {
  background-color: #242424;
}
.products__images {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 6.25rem;
}

@media (max-width: 1000px) {
  .products__images {
    flex-direction: column;
  }
}
.products__images div {
  background-color: #e2e4e8;
  width: 100%;
  text-align: center;
}
.products__images div img {
  height: 100%;
}
.products__text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 3.75rem;
}
.products__text-title {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 120%;
  text-transform: uppercase;
  color: #9e9e9e;
}
.cable .products__text-title {
  color: #009fe3;
}
.products__text-desc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.products__text-desc p {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 140%;
  color: #bdbebd;
}
.cable .products__text-desc p {
  color: #272727;
}
@media (max-width: 1350px) {
  .products__text-desc {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1200px) {
  .products__text {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .products__text-title {
    font-size: 1.5rem;
  }
}
.products__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.products__item {
  text-align: center;
  height: 320px;
  padding: 0 1rem 1rem 1rem;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tools .products__item {
  border: 1px solid #95c11f66;
}
.cable .products__item {
  border: 1px solid #009fe366;
}
.tools .products__item:nth-child(1)::before,
.tools .products__item:nth-child(5)::before,
.tools .products__item:nth-child(9)::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  max-width: 240px;
  width: 100%;
  height: 240px;
  background-color: #95c11f;
  filter: blur(100px);
}
.tools .products__item:nth-child(2)::before,
.tools .products__item:nth-child(6)::before,
.tools .products__item:nth-child(10)::before,
.tools .products__item:nth-child(4)::before,
.tools .products__item:nth-child(8)::before,
.tools .products__item:nth-child(12)::before {
  content: "";
  position: absolute;
  bottom: 0;
  max-width: 160px;
  width: 100%;
  height: 160px;
  background-color: #95c11f;
  filter: blur(260px);
}
.tools .products__item:nth-child(3)::before,
.tools .products__item:nth-child(7)::before,
.tools .products__item:nth-child(11)::before {
  content: "";
  position: absolute;
  top: -75px;
  right: -165px;
  max-width: 160px;
  width: 100%;
  height: 160px;
  background-color: #95c11f;
  filter: blur(140px);
}
.products__item-link {
  display: block;
  height: 100%;
}
.products__item-link div {
  height: 220px;
  display: flex;
  align-items: end;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.products__item-name {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 130%;
  text-transform: uppercase;
  color: #bdbebd;
  transition: 0.3s ease;
}

@media (hover: hover) {
  .tools .products__item-link:hover .products__item-name {
    color: #95c11f;
    transition: 0.3s ease;
  }
  .cable .products__item-link:hover .products__item-name {
    color: #009ee0;
    transition: 0.3s ease;
  }
  .tools .products__item:hover {
    border-color: #95c11f;
    transition: 0.3s ease;
  }
  .cable .products__item:hover {
    border-color: #009ee0;
    transition: 0.3s ease;
  }
}
@media (max-width: 1300px) {
  .products__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .products__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .products__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* single-product page */

.product-maincontent__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 50px;
}

@media (max-width: 800px) {
  .product-maincontent__inner {
    grid-template-columns: 1fr;
  }
  .product-maincontent__slider {
    order: 1;
  }
  .product-maincontent__desc {
    order: 0;
  }
  .product-maincontent__characts {
    order: 2;
  }

  .product-maincontent__decor {
    order: 3;
  }

  .product-maincontent__docs {
    order: 4;
  }
}

.unslider-carousel {
  display: flex !important;
  align-items: center !important;
}

.product-maincontent__desc-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .product-maincontent__desc-title {
    font-size: 2rem;
  }
}
.product-maincontent__desc-code,
.product-code {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
  line-height: 1.8rem;
  font-size: 1.2rem;
}

.product-maincontent__desc-code span,
.product-code span {
  display: flex;
}
.product-maincontent__desc-price {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
}
.product-maincontent__desc-list {
  padding-left: 1.2rem;
}

.product-maincontent__desc-item {
  margin-bottom: 0.5rem;
  color: #111111;
  word-wrap: break-word;
  line-height: 1.8rem;
  font-size: 1.2rem;
  list-style: disc;
}

.product-maincontent__characts-item {
  border-top: 1px solid #dee2e6;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-maincontent__characts-item .prop {
  font-weight: bold;
}

.document__bild {
  width: 20%;
  margin-right: 5%;
  float: left;
}

.document__text {
  float: left;
  width: 75%;
}

.document__text a {
  position: relative;
  font-weight: bold;
  display: inline-block;
}

.document .document__text a:after {
  content: "";
  border-bottom: 2px solid #111111;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0px;
  left: 0;
  transition: all 0.2s ease-in-out;
}

.document .document__text a:hover:after {
  content: "";
  border-bottom: 2px solid #111111;
  width: 0%;
  height: 1px;
  position: absolute;
  bottom: 0px;
  left: 0;
  transition: all 0.2s ease-in-out;
}
.catalog,
.product-maincontent,
.contacts,
.policy,
.tech-recomms,
.about,
.catalogs,
.video {
  margin: 10rem 0;
}
.catalog__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .catalog__products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .catalog__products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .catalog__products {
    grid-template-columns: repeat(1, 1fr);
  }
}
.catalog__products-item {
  border-top: 1px solid #ccc;
  padding: 1rem;
  margin-bottom: 3rem;
}
.catalog__products-item .product-image {
  text-align: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem;
}
.catalog__products-item .product-title {
  margin-bottom: 1rem;
  line-height: 1.6rem;
}
.catalog__products-item .product-extra-info li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.4rem;
}
.product-price {
  font-weight: 700;
}
.collab {
  padding: 6.25rem 0;
  background-image: url("../images/collab-section-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.collab__content {
  max-width: 790px;
  width: 100%;
}
.collab__content-title {
  color: #009fe3;
  margin-bottom: 1.25rem;
}
.collab__content-subtitle {
  font-weight: 400;
  font-size: 2rem;
  line-height: 130%;
  color: #272727;
  margin-bottom: 3.75rem;
}
.collab__content a {
  display: block;
  max-width: 650px;
  width: 100%;
  padding: 1.25rem 0;
  background-color: #009fe3;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 130%;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .collab__content a:hover {
    filter: brightness(1.1);
    transition: 0.3s ease;
  }
}
@media (max-width: 1000px) {
  .collab__content-title {
    font-size: 2rem;
  }
  .collab__content-subtitle {
    font-size: 0.9rem;
  }
}
@media (max-width: 500px) {
  .collab__content-title {
    font-size: 1.5rem;
  }
}

/* footer */
.footer {
  background-color: #242424;
  padding: 4rem 4rem 2.5rem 4rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  background-image: url("../icons/footer-logo.svg");
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
  max-width: 550px;
  width: 100%;
  height: 100%;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.footer__logo a {
  display: block;
  position: relative;
}
.footer__info {
  max-width: 840px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7.8rem;
}
.footer__info a {
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}
.footer__info p,
.footer__info a,
.footer__copyright span {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 120%;
  color: #ffffff80;
}
.footer__contacts a {
  line-height: 130%;
}
.footer__contacts ul li:nth-child(1) {
  margin-bottom: 0.8rem;
}
.footer__copyright {
  max-width: 840px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-left: auto;
}
.footer__copyright span {
  display: block;
}
@media (hover: hover) {
  .footer__info a:hover {
    border-color: #ffffff80;
    transition: 0.3s ease;
  }
}
@media (max-width: 1200px) {
  .footer__inner {
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .footer {
    padding: 2rem 2rem 2.5rem 2rem;
  }
  .footer__info {
    flex-direction: column;
    gap: 2rem;
  }
}

/* search button */
.search-button {
  width: 50px;
  height: 50px;
  border: none;
  background: #97bf0d;
  border-radius: 50%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  right: 0;
}

.search-input {
  width: 0;
  height: 50px;
  padding: 0;
  border: none;
  font-size: 1.1rem;
  outline: none;
  transition:
    width 0.3s ease,
    padding 0.3s ease,
    opacity 0.3s ease;
  background-color: #97bf0d;
  opacity: 0;
  color: #fff;
  font-weight: 500;
  visibility: hidden;
}

.search-input::placeholder {
  color: #fff;
  font-weight: 500;
  opacity: 0.8;
}

.close-button {
  width: 0;
  height: 50px;
  border: none;
  background: #97bf0d;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  flex-shrink: 0;
}

.search-container.active .search-input {
  width: 500px;
  padding: 0 15px;
  opacity: 1;
  visibility: visible;
}

.search-container.active .search-button {
  border-radius: 0;
  background-color: #97bf0d;
}

.search-container.active .close-button {
  width: 50px;
  opacity: 1;
  visibility: visible;
  background-color: #97bf0d;
  border-radius: 0 25px 25px 0;
}
@media (max-width: 1330px) {
  .search-container {
    right: 3.75rem;
  }
}
@media (max-width: 800px) {
  .search-container.active .search-input {
    width: 100%;
  }
}
/* modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* Белое окно с формой */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-sizing: border-box;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.close:hover {
  color: #000;
}

/* Стили для полей CF7 (минимальные, чтобы форма выглядела аккуратно) */
.wpcf7-form span {
  font-size: 1rem;
}
input[type="submit"] {
  font-size: 1.2rem;
  font-weight: 600;
}
.wpcf7-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.wpcf7-form input[type="checkbox"] {
  margin-right: 5px;
}

.wpcf7-form input[type="submit"] {
  background-color: #95c11f;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #7a9c19;
}

.acceptance {
  margin: 15px 0;
}

/* contacts page */
.contacts__title {
  color: #95c11f;
}
.contacts__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.contacts__content-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contacts__content-info ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contacts__content-info a {
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .contacts__content-info a:hover {
    color: #95c11f;
    border-color: #95c11f;
    transition: 0.3s ease;
  }
}
@media (max-width: 900px) {
  .contacts__content {
    grid-template-columns: 1fr;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.page-numbers {
  font-size: 1.5rem;
}
.page-numbers.current {
  font-size: 2rem;
  color: #95c11f;
}

/* catalogs page */
.catalogs__list,
.video__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 2rem;
}
.catalogs__item {
  display: block;
}
.catalogs__item img {
  width: 100%;
}
.catalogs__title,
.video__title {
  margin-bottom: 3rem;
}
@media (max-width: 1300px) {
  .catalogs__list,
  .video__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .catalogs__list,
  .video__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .catalogs__list,
  .video__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* video page */
.video__item {
  display: block;
  height: 100%;
}
.video__item-image {
  overflow: hidden;
}
.video__item-image img {
  width: 100%;
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}
.video__item-text {
  padding: 1rem;
  background: #4d4d4d;
}
.video__item-text.--cable {
  background-color: #009ee0;
}
.video__item-text.--tools {
  background-color: #97bf0e;
}
.video__item-text p,
.video__item-text strong {
  text-align: center;
  color: #fff;
}
@media (hover: hover) {
  .video__item:hover img {
    transform: scale(1.2);
    transition: all 0.2s ease-in-out;
  }
}
