:root {
  /*--transition: all .5s ease;*/
  --transition: all .5s ease;
  --shadow: rgba(0, 0, 0, .2);
  --h1--font--size: 2.5rem;
  --h2--font--size: 2rem;
  --h3--font--size: 1.25rem;
  --h4--font--size: 1rem;
  --base--font--size: 1.15rem;
  --bg-color: #fefefe;
  --accent-color: #baa081;
  --grey-light: #5C5C5C;
  --grey-dark: #000000;
  --text-color: #313131;
  --first-color: #8CC044;
  --second-color: #0E91CB;
  --color-divider: #2C2C2C;

  --sub-cover: #d7d7d780;

  --dark-grey: #333;
  
  --bg-banner: rgba(255,255,255, .75);  
}

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

html,
body {
  font-family: 'Inter', sans-serif;
  font-size: 100%;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 0;
}

body {
  /* display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-color);
  cursor: none;
  transition: none; */
}

div,
p,
form,
input,
a,
span,
button {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

ul,
li {
display: block;
padding: 0;
margin: 0;
}

a,
a:hover,
a:active,
a:focus {
text-decoration: none;
-webkit-transition: var(--transition);
-o-transition: var(--transition);
transition: var(--transition);
color: var(--text-color);
}

a,
button,
input,
select,
textarea {
-webkit-transition: var(--transition);
-o-transition: var(--transition);
transition: var(--transition);
outline: none;
}

textarea,
textarea:hover,
textarea:focus,
textarea:active,
input,
input:hover,
input:focus,
input:active,
button,
button:hover,
button:focus,
button:active,
select,
select:hover,
select:focus,
select:active {
outline: none;
background: none;
}

.fw-400 {
font-weight: 400;
}

.fz-20 {
font-size: 20px;
}

input {
border: none;
color: var(--text-color);
}

button {
cursor: pointer;
border: none;
}

button:focus {
outline: none;
}

textarea {
resize: none;
border: none;
height: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-style: normal;
font-weight: 300;
letter-spacing: 0;
margin: 0;
padding: 0;
color: var(--text-color);
}

h1 {
font-size: var(--h1--font--size);
line-height: calc(var(--h1--font--size) * 1.4);
}

h2 {
font-size: var(--h2--font--size);
line-height: calc(var(--h2--font--size) * 1.4);
}

h3 {
font-size: var(--h3--font--size);
line-height: calc(--var(h3--font--size) * 1.4);
}

h4 {
font-size: var(--h4--font--size);
line-height: calc(--var(h4--font--size) * 1.4);
}

p {
font-size: var(--base--font--size);
line-height: calc(var(--base--font--size) * 1.4);
margin: 0;
padding: 0;
/* letter-spacing: 0.02rem; */
color: var(--text-color);
font-weight: 300;
}

.burger-menu {
  display: none;
}

.overlay {
  width: 100%;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 110px;
  background-color: #fff;
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
  visibility: hidden;
}

.opacity-1 {
  opacity: .75;
  visibility: visible;
}

.container {
  width: 1200px;
  position: relative;
  margin: 0 auto;
  /* outline: 2px solid rgba(0,0,0,.09); */
}

.container-fluid {
  padding: 0;
  width: 100% !important;
  outline: 2px solid rgba(255,0,0,.09);
  margin: 0 auto;
}

header,
section,
footer {
  width: 100%;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.ttu {
  text-transform: uppercase;
}

.tac {
  text-align: center;
}

.lock {
  overflow: hidden;
}

.align-items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.justify-content-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

header {
  padding: 40px 50px;
  box-sizing: border-box;
}

.logo {
  display: block;
  /* margin-left: 50px; */
  height: 60px;
}

.menu-list {
  display: flex;
  /* margin-right: 50px; */

  li {
      &:not(:last-child) {
          margin-right: 30px;
      }
  }

  a {
      transition: all .5s ease;
      border-bottom: 3px solid transparent;
      padding-bottom: 6px;
      text-transform: uppercase;

      &:hover {
          transition: all .5s ease;
          border-bottom: 2px solid #000;
      }
  }
}


.section-title {
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 10px;
}

.s-contact {
  display: flex;
  align-items: center;
  /* padding: 90px 0; */
  min-height: 100vh;
  background-color: #E8E8E8;
}

.s-gallery {
  padding: 60px 0 90px 0;
}

.s-products {
  padding: 60px 0 90px 0;
}

.s-product-single {
  padding: 60px 0 90px 0;
}

/* .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
} */

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 элемента в строке */
  grid-template-rows: repeat(2, auto); /* максимум 2 строки */
  gap: 16px; /* отступы между элементами */
  max-width: 100%;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr); /* 3 элемента в строке на средних экранах */
  }
}

@media (max-width: 768px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr); /* 2 элемента в строке на маленьких экранах */
  }
}

@media (max-width: 480px) {
  .product-list {
    grid-template-columns: 1fr; /* 1 элемент в строке на самых маленьких экранах */
  }
}

.product-list__item {
  /* height: 360px; */
}

.product-list__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-about {
  padding: 120px 0 100px 0;
}

.about-block {
  display: flex;
  justify-content: center;
}

.about-block__photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.about-block__description {
  width: 600px;
  margin-left: 30px;
}

.about-block__text {

  p:not(:last-child) {
      margin-bottom: 20px;
  }
}

.btn {
  font-family: 'Inter', sans-serif;
  display: block;
  width: max-content;
  font-size: 1rem;
  line-height: 24px;
  padding: 15px 30px;
  border-radius: 0;
  border: 2px solid var(--accent-color);
  background-color: #fff;
  color: var(--accent-color);
  transition: var(--transition);
  text-transform: uppercase;
  font-weight: 500;

  &:hover {
      color: #fff;
      background-color: var(--accent-color);
  }
}

.btn_centered {
  margin: 40px auto 0 auto;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.contact-info__divider {
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  position: relative;
  height: 400px;

  span {
      display: flex;        
      width: 1px;
      border: 1px dashed rgb(145, 145, 145);
      height: 100%;
      margin: 10px;

  }
}

input, textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
}

.form {
  width: 500px;
  /* min-height: 520px; */
  border-radius: 10px;
  background-color: #fff;
  padding: 40px;
  color: rgb(103, 103, 103);
}

.form__title {
  font-weight: 600;
  font-size: var(--h2--font--size);
  margin-bottom: 20px;
}

.form__field-wrapper {
  display: flex;
  flex-direction: column;

  label {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 6px;
  }

  input, textarea {
      font-size: 14px;
      border: 1.5px solid rgb(203, 203, 203);
      border-radius: 3px;
      background: rgb(250, 250, 250);
      padding: 4px 12px;
      font-weight: 500;
      width: 100%;
  }

  input {
      height: 40px;
  }

  textarea {
    box-sizing: border-box;
      min-height: 120px;
      padding-top: 10px;
  }

  &:not(:last-child) {
      margin-bottom: 20px;
  }
}

.form__button {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-info__info {
  width: 600px;

}

.contact-info__contacts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;

  li {
      display: flex;
      align-items: center;
      margin-bottom: 30px;

      img {
          margin-right: 10px;
      }

      a {
          display: flex;
          align-items: center;

          img {
              margin-right: 10px;
          }
          
      }
      

      &:not(:last-child) {
          margin-right: 50px;
          ;
      }

      &:last-child {
          /* margin-top: 20px; */
      }
  }
}

.contact-info__map {
  margin-top: 30px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}


/* gallery page */

.category-list {
  display: flex;
  text-transform: uppercase;
  justify-content: center;
}

.category-list__item {
  font-size: var(--h3--font--size);
  cursor: pointer;
  position: relative;
  transition: var(--transition);

  &:not(:last-child) {
      margin-right: 30px;

      &:after {
        position: absolute;
        content: '';
        width: 2px;
        height: 100%;
        right: -16px;
        background-color: #000;
      }
  }

  &:hover {
    color: var(--accent-color);
    transition: var(--transition);
}
}



/* single page */
.product-single {
  display: flex;
  margin: 0 auto;
  max-width: 900px;

}

.product-single__info {
  margin-left: 30px;
  width: 100%;
}

.product-single__title {
  margin-bottom: 10px;
}

.product-single__text {
  
}

.product-single__cover-image {
    max-width: 400px;
}

.product-single__image {
   width: 100%;
   height: 100%;
   object-fit: contain;
}


/* --- Taxonomy Projects --- */

.tabs__caption {
  display: flex;
}

.tabs__caption li {
  font-size: 15px;
  font-weight: 600;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  cursor: pointer;
}

.tabs__caption li:hover {
  color: var(--accent-color);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.tabs__caption li:not(:last-child) {
  margin-right: 24px;
}

.tabs__caption li.active:after,
.wc-tabs li.active:after {
  /* opacity: 0; */
}

.tabs__content {
  display: none;
  opacity: 0;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.tabs__content.active {
  -webkit-animation: .2s linear .1s forwards show;
  animation: .2s linear .1s forwards show;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@-webkit-keyframes show {
  to {
    opacity: 1;
  }
}

@keyframes show {
  to {
    opacity: 1;
  }
}


.taxonomy-categories-list {
  display: flex;
  margin-bottom: 30px;
}

.taxonomy-categories-list__item {
  font-size: 15px;
  font-weight: 600;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  cursor: pointer;
}

.taxonomy-categories-list__item.active {
  color: var(--accent-color);
  font-weight: 600;
}

.taxonomy-categories-list__item:hover {
  color: var(--accent-color);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.wpcf7-response-output {
  width: 500px;
}




.menu-list.active {
  height: 100vh;
  z-index: 2;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  padding-top: 20px;
}
.burger-menu.active {
  /* margin-right: 55px; */
}




/* .product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
} */

/* .product-list__item {
  width: 270px;
} */

@media screen and (max-width: 1240px) {
  .container {
    max-width: 960px;
  }

  /* .product-list__item {
    width: calc(100% / 3 - 20px)
  } */


  .contact-info {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .contact-info__contacts {
    margin-top: 0;
  }

  .contact-info__divider {
    flex-direction: row;
    height: 2px;
    width: 100%;
  }

  .contact-info__divider {

    margin: 40px 0;

    span {
      height: 1px;
      width: 100%;
    }
  }

  .contact-info__info {
    width: 100%;
  }

  .contact-info__contacts {
      /* justify-content: space-between; */
    & li {
        &:last-child {
            margin-top: 0;
        }
    }
  }

  /* .contact-info__contacts {
    & li {
        &:not(:last-child) {
            margin-right: 0;
        }
    }
  } */

  .form {
    width: 100%;
  }

}


/* 768 - 992 px */
@media screen and (max-width: 992px) {
  .container {
    max-width: 760px;
  }
  .focused .form-label {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  .form-group_textarea.focused .form-label {
    -webkit-transform: translateY(-15%);
    -ms-transform: translateY(-15%);
    transform: translateY(-15%);
  }
  .burger-menu {
    display: block;
    z-index: 15;
    position: relative;
    width: 30px;
    height: 23px;
    margin-left: auto;
    cursor: pointer;
  }
  .burger-menu::before,
  .burger-menu::after {
    content: '';
    background-color: var(--dark-grey);
    position: absolute;
    width: 100%;
    height: 3px;
    right: 0;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .burger-menu span {
    position: absolute;
    background-color: var(--dark-grey);
    right: 0;
    top: 10px;
    width: 100%;
    height: 3px;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .burger-menu:before {
    top: 0;
  }
  .burger-menu:after {
    bottom: 0;
  }
  .burger-menu.active:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    background-color: var(--dark-grey);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .burger-menu.active:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 10px;
    background-color: var(--dark-grey);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .burger-menu.active span {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
  }
  .menu-list {
    /* display: block;
    position: absolute;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 100vw;
    height: 0;
    top: 110px;
    overflow: auto;
    background-color: var(--bg-color);
    text-align: center; */

    display: flex !important;
    flex-direction: column;
    position: absolute;
    left: -100%;
    top: 110px;
    z-index: 10;
    height: calc(60vh - 80px);
    background-color: var(--bg-color);
    width: 100%;
    padding: 30px 0;
    opacity: 0;
    transition: all 0.5s ease;
    text-align: center;


  }
  .menu-list.active {
    /* height: 100vh;
    z-index: 2;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    padding-top: 20px; */

    display: flex !important;
    flex-direction: column;
    left: 0;
    top: 110px;
    z-index: 10;
    transition: all .5s ease;
    height: calc(100vh - 80px);
    min-height: 50%;
    width: 100%;
    padding: 30px 0;
    opacity: 1;
    transition: all 0.5s ease;

    padding-top: 20px;

    height: 100vh;

    a {
      transition: all .5s ease;
      border-bottom: none;
      padding-bottom: 6px;
      text-transform: uppercase;

      &:hover {
          transition: all .5s ease;
          border-bottom: none;
      }
  }


  }
  .burger-menu.active {
    /* margin-right: 55px; */
  }
  .menu-list_header .menu-item:not(:last-child) {
    /* margin-bottom: 20px; */
  }
  .menu-list .menu-item:not(:last-child) {
    margin-right: auto;
  }
  .menu-list .menu-item {
    border-bottom: 1px solid rgba(33, 117, 155, .25);
    width: calc(100% - 30px);
    margin: 0 auto;
  }
  .menu-list .menu-item a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .menu-list .menu-item a:hover {
    /* border-bottom: none; */
  }


  /* .product-list__item {
    width: calc(100% / 2 - 20px)
  } */

  .s-about {
    padding: 60px 0;
  }

  .about-block {
    display: flex;
    flex-wrap: wrap;
  }
  
  .about-block__description {
    margin-top: 30px;
  }

  .s-contact {
    padding: 60px 0;
  }


  

  .contact-info__map {
    display: none;
  }


  .contact-info__contacts {
    /* justify-content: space-between; */
    & li {
        &:last-child {
            /* margin-top: 50px; */
        }
    }
  }


  .product-single {
    flex-wrap: wrap;
  }

  .product-single__info {
    margin-left: 0;
    margin-top: 30px;
  }

  

}


/* 768 - 992 px */
@media screen and (max-width: 834px) {
  .container {
    max-width: 760px;
  }
}


/* 576 - 768 px */
@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  .burger-menu,
  .burger-menu.active {
    /* margin-right: 30px; */
  }

  header {
    padding: 40px 20px;
  }

  .product-list__item {
    width: 100%;
  }

  .contact-info__info {
    width: 100%;
  }

  
}


/* 320 - 576 px */

@media screen and (max-width: 576px) {

  .container {
    max-width: 440px;
  }

  

}

@media screen and (max-width: 460px) {
  :root {
    /*--h1--font--size: 2.2rem;*/
    --h1--font--size: 1.75rem;
    --h2--font--size: 1.5rem;
    /* --h3--font--size: 1.25rem;
    --h4--font--size: 1rem;
    --base--font--size: .95rem; */
  }
  .container {
    max-width: 400px;
  }
  .burger-menu,
  .burger-menu.active {
    margin-right: 15px;
  }
}

@media screen and (max-width: 375px) {
  .container {
    max-width: 320px;
  }
  .burger-menu,
  .burger-menu.active {
    margin-right: 20px;
  }
}

@media screen and (max-width: 320px) {
  .container {
    max-width: 270px;
  }
  .burger-menu,
  .burger-menu.active {
    margin-right: 20px;
  }
}