/* ОБНУЛЕНИЕ И ОЧИЩЕНИЕ */

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

/* ПОДКЛЮЧЕНИЕ ШРИФТОВ */

/* Montserrat */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2"),
    url("../fonts/Montserrat-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
    url("../fonts/Montserrat-Bold.woff2") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.514;
  position: relative;
}

a {
  text-decoration: none;
}

button {
  outline: none;
  border-style: none;
  background: transparent;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

input:active,
input:focus {
  outline: none !important;
}

::after {
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1em;
  text-align: center;
}

/* Цвета спанов текстов */
.text-bold {
  font-weight: bold;
}

.upper-text {
  text-transform: uppercase;
  font-size: 32px;
}

/* Цвета текста на сайте */
:root {
  --color-first: #2A2A2A;
  --color-white: #ffffff;
  --color-placeholder: #7E7E7E;
  --brown-color: #86392B;
  --header-h: 90px; 
  --header-h-mob: 70px; 

}


/* ---------------------------------------------------------------------------------- Шапка ---------------------------------------------------------------------------------------*/
.header {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0px;
  z-index: 7890789078;
  background: #ffffff;
}

.hd-top-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 1.5em 0;
}

.hd-top {
  background: url(/assets/img/hd-top-bg.png) no-repeat center;
  background-size: cover;
}

.hd-top-descr {
  font-weight: 500;
  font-size: 12px;
  color: #ffffff;
}

.top_header_block__language-title-block p {
  font-weight: 400;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
}

.hd-top-location-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5em;
}

.location-texts {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: flex-start;
}

.hd-top-location-title {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}

.hd-top-location-description {
  text-align: left;
  font-weight: 300;
  font-size: 14px;
  color: #ffffff;
}

.hd-top-location-block:hover a {
  text-decoration: underline;
  transition: all .3s ease;
}

.hd-top-tel-block a {
  font-weight: 300;
  font-size: 14px;
  color: #ffffff;
  transition: all .3s ease;
}

.location-texts a {
  font-weight: 300;
  font-size: 14px;
  color: #ffffff;
  transition: all .3s ease;
}

.hd-top-tel-block {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.hd-top-tel-block:hover a {
  text-decoration: underline;
  transition: all .3s ease;
}

.hd-top-free-tel-block p {
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}

.hd-top-modal-block:hover a {
  background-color: #5ECC62;
  transition: all .3s ease;
}

.hd-top-modal-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hd-top-modal-tr {
  padding: 10px 32px;
  background-color: #31AC35;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: all .3s ease;
}

.top_header_block__language-title-block {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.top_header_block__language {
  position: relative;
}

.top_header__language--list {
  position: fixed;
  display: none;
  flex-direction: column;
  text-align: left;
  font-size: 14px;
  width: 100%;
}

.top_header_block__language-title-block.active+.top_header__language--list {
  display: flex;
  width: auto;
}

i {
  border: solid 1px #ffffff;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  position: relative;
  top: -2px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: all .3s ease;
}

.arrow.down.open {
  transform: rotate(225deg);
  top: 0px;
  -webkit-transform: rotate(225deg);
  transition: all .3s ease;
}

.top_header__language--list a {
  font-weight: 400;
  font-size: 12px;
  color: #ffffff;
  transition: all .3s ease;
}

.top_header__language--item:hover {
  color: #2A72B5;
  transition: all .3s ease;
}

.hd-middle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2cqi, 2em);
}

.hd-middle-menu-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3cqi, 24px);
  width: fit-content;
}

.hd-middle-menu-item {
  font-weight: 400;
  font-size: clamp(14px, 2cqi, 15px);
  color: #010613;
  transition: all .3s ease;
}

.hd-middle-menu-item:hover {
  color: #006333;
  transition: all .3s ease;
}

.srch-modal:hover svg path {
  stroke: #779BE9;
  transition: all .3s ease;
}

.hd-adapt-container {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  z-index: 99;
  visibility: hidden;
}

.hd-adpt-menu {
  position: fixed;
  background: #27313D;
  width: 100%;
  height: 100vh;
  top: 0;
  z-index: 656565;
  transform: translateX(-100%);
  transition: all 0.3s ease;
  overflow-y: scroll;

}

.adapt-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.adapt-lg-blck {
  display: flex;
  width: 100%;
}

.lg-block__adapt {
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

.hd-adapt-wrap-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2em;
  padding: 16px;
  width: 100%;
}

.hd-adapt-container.show {
  visibility: visible;
  background: rgba(42, 42, 42, 0.5);
  transition: all 0.1s ease;
  z-index: 9999999999999999999;
}

.hd-adpt-menu.show {
  transform: translateX(0%);
  transition: all 0.3s ease;
}

.burger {
  position: relative;
  width: 50px;
  height: 20px;
  background: transparent;
  cursor: poMontserrat;
  display: none;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;

}

.burger span:nth-of-type(3) {
  top: 100%;
  transform: translateY(-100%);
  transform-origin: left center;
}

.logo-block-hd img {
  object-fit: scale-down;
  max-width: 250px;
  height: clamp(20px, 4cqi, 55px);
}

.btn-order {
  width: 200px;
  height: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  color: #ffffff;
  background-color: #006333;
  transition: all 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
}

.btn-order:hover,
.btn-order:active {
  background-color: #03944e;
  transition: all .3s ease;
}

.tel-block-hd {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all .3s ease;
}

.tel-block-hd svg path {
  transition: all .3s ease;
}

.tel-block-hd:hover,
.tel-block-hd:active {
  color: #03944e;
  transition: all .3s ease;
}

.tel-block-hd:hover svg path,
.tel-block-hd:active svg path {
  fill: #03944e;
  transition: all .3s ease;

}

.hd-middle {
  padding: 1em 0;
  z-index: 654634564356;
}

/* Изменение текста при адаптиве + адаптив шапки */

@media screen and (max-width: 1200px) {
  .hd-middle-menu-nav {
    display: none;
  }

  .adapt-lg-blck {
    flex-direction: row-reverse;
    align-items: center;
  }

  .hd-middle-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .burger {
    display: block;
  }

  .burger.menu-mb {
    order: 3;
    justify-self: flex-end;
  }

  .logo-block-hd {
    order: 1;
    justify-self: flex-start;
  }

  .btn-order {
    order: 2;
    justify-self: center;
  }

  .srch-modal {
    order: 5;
  }

  .wts-text-hd {
    display: none;
  }

  .hd-top {
    display: none;
  }

  .close-mod {
    width: 100%;
    height: 50px;
  }

  .tel-block-hd {
    display: none;
  }

  .hd-adapt-wrap-menu * {
    display: flex;
  }

  .hd-adapt-wrap-menu .hd-middle-menu-nav {
    flex-direction: column;
  }

  .hd-top-location-block p,
  .hd-top-location-block a {
    font-size: unset;
    color: unset;
  }

  .hd-adapt-wrap-menu .hd-top-tel-block a,
  .hd-adapt-wrap-menu .hd-top-modal-block a {
    font-size: unset;
    color: unset;
    font-weight: unset;
  }

  .hd-adapt-wrap-menu .hd-top-free-tel-block p {
    font-size: unset;
    color: unset;
  }

  .hd-adapt-wrap-menu * {
    /* font-size: 18px; */
    color: #ffffff;
  }

  .hd-middle-menu-nav a {
    font-size: 18px;
  }

  .hd-adapt-wrap-menu .hd-middle-menu-nav {
    align-items: flex-start;
    gap: 1em;
  }

  .hd-top-location-title {
    font-weight: 300;
    font-size: 12px;
  }

  .hd-top-location-description {
    font-weight: 500;
    font-size: 14px;
  }

  .location-texts a {
    font-weight: 500;
    font-size: 14px;
  }

  .lg-block__adapt img {
    height: clamp(20px, 4cqi, 55px);
  }
}

@media screen and (max-width: 960px) {
  .logo-block-hd img {
    height: clamp(32px, 7cqi, 50px);
  }

  .burger {
    height: 32px;
  }

  .hd-middle-wrapper {
    gap: 24px;
  }
}

@media screen and (max-width: 600px) {
  .burger {
    width: 100%;
    max-width: 32px;
  }

  .hd-middle .btn-order {
    width: 100%;
    white-space: nowrap;
    display: none;
  }

  .hd-middle-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .adapt-wrapper .hd-middle-wrapper .btn-order {
    display: flex !important;
  }

  .lg-block__adapt {
    justify-content: flex-start;

  }

  .lg-block__adapt img {
    height: clamp(32px, 7cqi, 50px);
  }

  .close-mod {
    max-width: 32px;
  }
}

@media screen and (max-width:500px) {
  .burger {
    height: clamp(24px, 3cqi, 32px);
  }

  .hd-middle {
    padding: unset;
  }
  html {
    scroll-padding-top: var(--header-h-mob);
  }
}

/* PODVAL */
footer {
  background: #27313D;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 2em;
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.footer-block:first-child {
  justify-content: space-between;
}

.footer-block:last-child {
  justify-self: flex-end;
}

.footer-block img {
  object-fit: scale-down;
  max-width: 300px;
  height: 55px;
}

.footer-text-block {
  text-align: left;
  width: 100%;
}

.footer-title {
  font-weight: 300;
  font-size: 12px;
  color: #ffffff;
}

.top-footer {
  padding: 80px 0;
}

.footer-descr {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}

.footer-block:nth-child(2) {
  gap: 1em;
}

.footer-link {
  text-align: left;
  width: 100%;
}

.footer-block:has(.footer-link) {
  gap: 0.5em;
}

.footer-link {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  transition: all .3s ease;
}

.footer-link:hover {
  color: #31AC35;
  transition: all .3s ease;
}

.tels-block {
  display: flex;
  flex-direction: column;
}

.footer-block a {

  transition: all .3s ease;
}

.footer-block a:hover,
.footer-block a:active {
  color: #03944e;
  transition: all .3s ease;
}

.footer_copy {
  text-align: left;
  color: #FFFFFF7A;
  font-size: 14px;
  padding-top: 30px;
}

@media screen and (max-width:780px) {
  .footer-wrapper {
    display: flex;
    flex-direction: column;
  }

  .footer-block {
    align-items: center;
    justify-content: center;
  }

  .footer-text-block {
    text-align: center;
  }

  .footer_copy {
    text-align: center;
  }

  .top-footer {
    padding: 40px 0;
  }
}

body.lock {
  overflow: hidden;
}

.menu-more-content {
  height: 100vh;
  background: #242424DE;
  opacity: 0;
  transition: all .5s ease;
  position: absolute;
}

.menu-more-content.active {
  transition: all .5s ease;
  opacity: 100;
  position: relative;
}

.menu-more-container {
  background: white;
  height: 450px;
  z-index: 6563456;
  opacity: 0;
  position: fixed;
  top: 93px;
  width: 100%;
  transform: translateY(-100%);
  transition: all .3s ease;
  border-top: 1px solid #EBEBEB;
}

.menu-more-container.active {
  display: block;
  transform: translateY(0);
  transition: all .3s ease;
  opacity: 100;
}

.menu-more-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin: 3em 0;
}

.menu-more-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 24px;
  color: #010613;
}

.menu-more-gr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.menu-more-gr-block {
  display: flex;
  flex-direction: column;
  gap: 1em;
  text-align: left;
}

.menu-more-gr-links {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.menu-more-gr-title {
  font-weight: 600;
  font-size: 16px;
  color: #010613;
}

.menu-more-gr-item {
  font-weight: 400;
  font-size: 16px;
  color: #010613;
  transition: all .3s ease;
}

.menu-more-gr-item:hover {
  color: #31AC35;
  transition: all .3s ease;
}

.menu-more-title svg:hover {
  cursor: pointer;

}

.hd-middle-menu-item:is(.hd-menu-more, .hd-menu-remont) {
  display: flex;
  align-items: center;
  gap: 0.1em;
}

.catalog-wrapper {
  display: flex;
  gap: 2em;
}

.catalog-category-items-product-block {
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.catalog-category-items-product-block.hovered {
  display: flex;
  opacity: 1;
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

.catalog-categories-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.remont-container {
  padding: 2em 0;
}

.catalog-wrap-cont {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.catalog-categories-title {
  font-weight: 500;
  font-size: 24px;
  color: #010613;
}

.catalog-category-blocks {
  max-width: 310px;
  width: 100%;
}

.catalog-category-blocks-items {
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: flex-start;
}

.catalog-category-blocks-items a {
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  color: #010613;
}

.catalog-categories-block {
  padding: 0 1em;
}

.catalog-category-link {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.catalog-category-link img {
  opacity: 0;
  transform: translateX(0);
  transition: all .3s ease;
}

.catalog-category-link:hover img {
  transform: translateX(30%);
  opacity: 100;
  transition: all .3s ease;
}

.catalog-category-items-title {
  font-weight: 500;
  font-size: 24px;
  color: #010613;
}

.catalog-category-items-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5em;
}

.catalog-category-item-link {
  font-weight: 400;
  font-size: 16px;
  color: #010613;
  transition: all .3s ease;
}

.catalog-category-item-link:hover {
  color: #31AC35;
  transition: all .3s ease;
}

.hd-menu-more-list {
  display: none;
}

.hd-menu-more-list.active {
  display: block;
}

.hd-menu-more-lists {
  display: flex;
  flex-direction: column;
}

.hd-menu-more-lists {
  display: none;
}

@media screen and (max-width: 990px) {
  .menu-more-content {
    display: none;
  }

  .hd-middle {
    z-index: unset;
  }

  .hd-middle-wrapper {
    min-height: 70px;
  }

  .hd-menu-more-list li:not(:first-child) {
    font-size: clamp(14px, 3cqi, 16px);
    color: #FFFFFF;
    font-weight: 400;
    margin-top: 0.5em;
  }
}
.just-validate-error-field {
  border: 1px solid red !important;
}