.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  display: none;
}
.custom-overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(33, 33, 33, 0.35);
  z-index: 20;
  display: none;
}
body * {
  margin-block-start: 0;
}
.sidebar-modal {
  padding: 80px 0px;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffff;
  overflow-y: auto;
}
.sidebar-modal::-webkit-scrollbar {
  display: none;
}
  
/**/
body {
  max-width: 100%;
  overflow-x: hidden;
}
body.overflow-hidden {
  overflow-y: hidden;
}








h1, h2, h3 {
  margin: 0;
  word-break: break-word;
}
.text {
  font-size: 16px;
  line-height: 21px;
}

ul {
  margin: 0;
  padding: 0;
}
.articles-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.custom-list {
  font-size: 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 21px;
}
.custom-list li::marker {
  color: #FF661F;
}

p {
  margin: 0;
}
a {
  color: #FF661F;
  text-decoration: none!important;
}

* {
  font-family: Onest, sans-serif;
  box-sizing: border-box;
}

.main-title {
  font-size: 54px;
  font-weight: 700px;
  line-height: 49px;
}
.medium-title {
  font-size: 32px;
  line-height: 1em;
}

.viewport {
  width: calc(100% - min(24%, 352px));
  max-width: 100%;
}

.container {
  padding: 0px 44px;
  margin: 0 auto;
  width: 1088px;
  max-width: 100%;
}
#breadcrumbs {
  margin-top: 97px;
  margin-bottom: 3em;
  display: flex;
  gap: 10px;
  overflow-x:auto;
  font-size: 14px;
  line-height: 17.85px;
  font-weight: 400;
  color:rgba(156, 163, 175, 1);
  list-style: none;
  padding: 0;
}
#breadcrumbs>span {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  -ms-overflow-style: none;
}
#breadcrumbs li {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
#breadcrumbs::-webkit-scrollbar {
  display: none;
}
#breadcrumbs a {
  color:rgba(156, 163, 175, 1);
}
body {
  padding: 0;
  margin: 0;
}
/* список меток в категории*/

.category-tags {
  overflow-x: auto;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  list-style: none;
  
}
.category-tags::-webkit-scrollbar {
  display: none;
}
.category-tags li {
  padding: 15px 24px;
  background-color: rgba(246, 248, 250, 1);
  flex-shrink: 0;
}
.category-tags li a {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  text-align: center;
  color: #212121;
}

/* */
/* пагинация */
.pagination {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #212121;
  font-size: 16px;
  line-height: 1em;
  font-weight: 500;
}
.next.page-numbers {
  width: auto;
  padding: 16px 28px;
  border: 1px solid #FF661F;
} 
.prev.page-numbers {
  width: auto;
  padding: 16px 28px;
  border: 1px solid #FF661F;
} 
.page-numbers.current {
  border-radius: 50%;
  color: #ffff;
  background-color: #FF661F;
}
/**/
.title {
  font-size: 36px;
  font-weight: 700;
  line-height: 36px;
  text-align: left;
  color: #212121;
}


.small-title {
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
}
.very-small-title {
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  color: #212121;
}

.descr {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  text-align: left;
  color: #212121;
}

.flex-wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

@media(max-width:1120px) {
  .viewport {
    width: 100%;
  }
  .first-screen {
    height: 750px;
  }
}

@media (max-width: 1300px) {
  .container {
    padding: 0 18px;
  }
}
@media (max-width: 800px) {
  .viewport {
    width: 100%;
  }
}
@media (max-width: 475px) {
  .text {
    font-size: 14px;
    line-height: 18px;
  }
  .flex-wrapper .goods-carousel-item {
    width: calc(50% - 8px);
  }
  .delivery-banner {
    margin-top: 80px;
  }
  body {
    padding-bottom: 119px;
  }
  .articles-wrapper {
    gap: 10px;
    flex-direction: column;
  }
  /*пагинация*/
  .pagination {
    margin-top: 30px;
    gap:6px;
  }
  .page-numbers {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .next.page-numbers {
    padding: 12.5px 24px;
  } 
  .prev.page-numbers {
    padding: 12.5px 24px;
  } 
  .mobile-nowrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
  }
  .flex-wrapper {
    gap: 8px;
    
  }
  .mobile-margin-top {
    margin-top: 64px;
  }
  
  .flex-wrapper > .half {
    width: calc(50% - 8px);
  }
  .mobile-nowrap::-webkit-scrollbar {
    display: none;
  }
  .title {
    font-size: 24px;
    line-height: 24px;
  }
  .small-title {
    font-size: 20px;
    line-height: 20px;
  }
  .very-small-title {
    font-size: 18px;
    line-height: 18px;
  }
  .medium-title {
    font-size: 24px;
  }
  .main-title {
    font-size: 32px;
    line-height: 32px;
    word-break: break-word;
  }

  .container {
    width: 100%;
    margin: 0;
    padding: 0px 16px;
  }
}
.flex-column {
  flex-direction: column;
  align-items: flex-start!important;
}

.comments-area {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.author-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 19.8px;
    text-align: left;
    color: #212121;
}
.comment-header .comment-date {
  margin-top: 4px!important;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  text-align: left;
  color: #818793;

}
.comment-header {
  align-items: center;
  gap: 16px;
  display: flex;
  flex-direction: row;
}
.wp-block-comment-template {
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.wp-block-comment-template li {
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.comment-content {
  flex-direction: column!important;
  align-items: flex-start!important;

  gap: 14px;
}
.comment-content p, .comment-content a{
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;

}

.comments-area .comment-respond {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comments-area .comment-respond .comment-reply-title {
  font-size: 32px;
}
.comments-area .comment-respond textarea {
  width: 100%;
  margin-top: 20px;
}
.comments-area .comment-respond .form-submit {
  margin-top: 12px;
}
.comments-area .comment-respond .form-submit input[type=submit] {
  display: block;
  font-size: 14px;
  color: #ffff;
  background: #FF661F;
  width: auto;
  height: auto;
  text-align: center;
  padding: 20px 30px;
  border: none;

}
.comments-area .comment-respond .form-submit input[type=submit]:focus {
  outline: none;
}

.sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 24%;
  max-width: 352px;
  height: 100vh;
  background-color: #312d2d;
  padding: 28px;
  z-index: 5;
}

.sidebar form {
  margin: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar form label {
  padding-top: 11px;
  display: block;
  width: 100%;
  height: 60px;
  font-size: 12px;
  font-weight: 400;
  line-height: 15.3px;
  text-align: left;
  color: #9CA3AF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}
.sidebar form label input {
  width: 100%;
  margin-top: 2px;
  background-color: transparent;
  border: none;
  padding-bottom: 11px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.4px;
  text-align: left;
  color: #ffff;

}
.sidebar form label input:focus {
  outline: none;
}
.sidebar form label input::placeholder {
  color: #ffff;
}
.sidebar form input[type=submit] {
  width: 100%;
  margin-top: 4px;
  border: none;
  background-color:rgba(255, 255, 255, 0.08) ;
  height: 60px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.4px;
  color: #fff;
  cursor: pointer;


}
@media(max-width:1371px) {
  .sidebar {
    padding: 12px;
  }
}
@media(max-width:475px) {
  .sidebar form {
    margin-top: 12px;
    gap: 10px;
  }
  .wp-block-comment-template {
    gap: 20px;
  }
  .wp-block-comment-template li {
    gap: 20px;
  }
  .author-name {
    margin-top: 4px;
    font-size: 16px;
    line-height: 18px;
  }
  .comment-date {
    font-size: 14px;
    line-height: 18px;
  }
  .comment-content p {
    font-size: 14px;
    line-height: 21px;
  }
  .sidebar form label {
    font-size: 12px;
    line-height: 15px;
    padding-top: 7.5px;
    display: block;
    width: 100%;
    height: 50px;
  }
  .sidebar form label input {
    padding-bottom: 7.5px;
    font-size: 14px;
    line-height: 18px;
  }

  .sidebar form input[type=submit] {
    margin-top: 6px;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;

  }
}
.wpcf7-spinner {
  display: none;
}
.tab-item {
  display: none;
}
.tab-item.active {
  display: block!important;
}

@media (max-width: 1340px) {
 
}
@media (max-width: 1120px) {
  .sidebar {
    display: none;
  }
}
@media(max-width:475px) {
  .custom-list {
    font-size: 14px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 18px;
  }
}
@media(min-width:1475px) {
  .container {
    width: 95%;
  }
  .main-title {
    font-size: 3.75vw;
    line-height: 1em;
  }
  .title {
    line-height: 1em;
    font-size: 2.5vw;
  }
  .text {
    font-size: 1.1vw;
    line-height: 1.25em;
  }

  .comment-header {
    gap: 1.1vw;
  }
  .comment-content p, .comment-content a {
    margin-top: 0.6vw;
    font-size: .85vw;
    line-height: 1.1em;
  }
  
  #breadcrumbs {
    margin-top: 6.73vw;
    gap: 0.69vw;
    font-size: 0.97vw;
    line-height: 1.25em;
  }
  #breadcrumbs>span {
    gap: 0.67vw;
  }
  #breadcrumbs li {
    gap: 0.67vw;
  }
    .viewport {
      width: 76%;
    }
    .sidebar {
      width: 24%;
      max-width: none;
      padding: 1.94vw;
    }
    .sidebar form {
      margin-top: 0.83vw;
      gap: 1.1vw;
    }
    .sidebar form label {
      padding-top: 0.76vw;
      height: 4.16vw;
      font-size: 0.83vw;
      line-height: 1.5em;
    }
    .sidebar form label input {
      margin-top: 0.14vw;
      padding-bottom: 0.76vw;
      font-size: 1.1vw;
      line-height: 1.25em;
    }
    .sidebar form input[type=submit] {
      margin-top: 0.28vw;
      height: 4.16vw;
      font-size: 1.1vw;
      line-height: 1.25em;
    }
}