.away {
  padding: 20px 20px 35px;
  line-height: 160%;
  text-align: center;
  background: #fff;
}
.away-wrapper {
  margin: 50px auto;
}
.away__header {
  margin-bottom: 7px;
  font-weight: 700;
}
.away__browsers {
  padding: 20px 24px;
}
.away__browser {
  display: inline-block;
  margin: 0 10px;
  padding: 20px 20px 15px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s;
}
.away__browser:hover {
  background: #fafafa;
}
.away__browser-ico {
  display: block;
  margin-bottom: 10px;
  width: 80px;
  height: 80px;
  background-image: url(../img/browsers.png);
}
.away__browser-ico.atom {
  background-position: 0 -400px;
}
.away__browser-ico.chrome {
  background-position: 0 -160px;
}
.away__browser-ico.firefox {
  background-position: 0 -80px;
}
.away__browser-ico.opera {
  background-position: 0 -240px;
}

.error-page {
  display: flex;
  z-index: 9999999999;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 1rem;
  color: var(--clr-text);
  line-height: 1;
  text-align: center;
  background-color: #fff;
}
.error-page__title {
  margin-bottom: 1.8rem;
  color: var(--clr-accent);
  font-weight: bold;
  font-size: min(7.5em, 16vw);
}
.error-page__description {
  font-weight: 500;
  font-size: min(1.6em, 6vw);
}

.pageup {
  display: block;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: 90;
  position: fixed;
  right: 3vw;
  bottom: 3vw;
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  background: var(--clr-accent);
  transition: opacity 0.3s, visibility 0.3s, bottom 0.3s;
}

.pageup:hover::after {
  opacity: 0.08;
}

.pageup:active::after {
  opacity: 0.1;
}

.pageup.is-active {
  opacity: 1;
  visibility: visible;
  bottom: 4.6vw;
}

.pageup::after {
  display: block;
  opacity: 0;
  z-index: 0;
  position: absolute;
  content: "";
  background: #000;
  transition: opacity 0.3s;
  inset: 0;
}

#header {
  display: flex;
  flex-direction: column;
}

header .btn {
    background-color: var(--clr-primary);
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
}

header .btn:hover {
    background-color: transparent;
    color: var(--clr-text) !important;
}

.header_bottom {
  margin-top: 2em;
}

.logo-up {
    gap: 20px;
    /* flex-wrap: wrap; */
    align-items: center;
}

.pageup:before {
  display: block;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  margin-top: -0.3em;
  margin-left: -0.5em;
  border-top: solid 0.19em #fff;
  border-left: solid 0.19em #fff;
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
}

.header_bottom-wrapper {
  padding: 12px 0;
  background-color: var(--header-bottom-color);
  border-radius: var(--header_border-radius);
}

.nav__item .nav__link{
/*     padding: 10px;
 */}
.nav__list > .nav__item {
     /* padding-bottom: 10px;
     margin-top: 10px; */
 }

.header_nav {
  position: relative;
}

.nav__list {
  list-style-type: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  /* margin-top: 10px; */
}

.nav__submenu_item {
  display: inline-block;
  position: relative;
  color: #fff;
  /* padding-bottom: 10px; */
}

.nav__submenu {
      position: absolute;
      top: 100%;
      width: max-content;
      max-width: 300px;
      border-radius: 7px;
      z-index: 200;
      
      display: flex;
      flex-direction: column;
      gap: 10px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    transform: translateY(1em);
    z-index: 8;
    padding-top: 1.8em;
}

.nav__submenu .nav__item {
    border-bottom: solid 1px #f7f7f7;
    padding-bottom: 3px;
    padding: 10px 15px;
    background: #fff;
    padding: 10;
    transition: margin .3s;
    white-space: normal;
    line-height: 1.3;
/*     margin-bottom: 1px;
 */    transition: background .3s, opacity .3s;
}

.nav__submenu .nav__item:first-child{
    border-radius: 5px 5px 0 0;
    position: relative;
} 

.nav__submenu .nav__item:first-child::before {
    content: "";
    display: block;
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    background: #fff;
    transform-origin: bottom left;
    transform: rotate(45deg);
    bottom: 100%;
    left: 1em;
}

.nav__submenu .nav__item:last-child {
    border-radius: 0 0 5px 5px;
}

.nav__submenu .nav__item:last-child {
  border: none;
}

.nav__submenu_item:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
     transition: all .3s;
    box-shadow: 0px 2px 0px 0px #00000012;
}

.nav__submenu_item:hover .nav__submenu .nav__item {
    margin-bottom: 0;
    transition: all .3s;
}

.header-arrow {
  transition: rotate .3s;
  margin-left: 5px;
  height: 10px;
  width: 8px;
}

/* .nav__submenu_item:hover .header-arrow {
  rotate: 180deg;
  transition: .3s rotate;
} */

.header-arrow path {
  transition: .3s stroke;
}

.catalog-item {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--clr-primary);
    padding: 5px 8px;
    border-radius: var(--border-radius);
}

.nav__submenu_item:hover .header-arrow path {
  stroke: var(--clr-accent);
  transition: .5s stroke;
}


.callback-search {
  width: 257px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search_form_f {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search_form_f input {
    padding: 10px;
}

#search_form {
    border-radius: 10px;
}

.main_search {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.main_search input {
    border-bottom: 1px solid #bfbfbf;
    padding: 10px 15px;
    padding-left: 0;
    font-size: 18px;
    width: 100%;
}

.search_form {
    width: 100%;
    max-width: 600px;
}

.header_nav_mobile .main_search input {
    border-radius: 0px;
    margin-right: 0;
    font-size: 17px;
    padding: 10px;
    width: 100%;
    padding-left: 0;
}

.header_nav_mobile .btn {
    padding: 15px;
}

.header-top {
  padding-top: 24px;
}


.hidden_phones {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    display: flex;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    position: absolute;
    transform: translateY(1em);
    padding-top: 10px;
}

.hidden_phones a {
    background-color: #fff;
    padding: 10px;
}

.header-contacts_phone svg {
    height: 15px;
    width: 10px;
}

.header-contacts_phone:hover .hidden_phones {
    visibility: visible;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all .3s;
    box-shadow: 0px 2px 0px 0px #00000012;
}

.hidden_phones a:first-child {
    position: relative;
    border-radius: 5px 5px 0px 0px;
    padding-bottom: 5px;
}

.hidden_phones a:last-child {
    border-radius: 0px 0px 5px 5px;
    padding-top: 5px;
}

.hidden_phones a:first-child::before {
    content: "";
    display: block;
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    background: #fff;
    transform-origin: bottom left;
    transform: rotate(45deg);
    bottom: 100%;
    left: 1em;
}

.header-locmail {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-location br {
    display: none;
}

.header-top_icon {
  display: flex;
  gap: 12px;
}

.header-top_icon svg {
  min-width: 26px;
}

.header-contacts {
  display: flex;
  gap: 12px;
}

.header-contacts_icons {
  display: flex;
  gap: 5px;
}

.callback-search {
  position: relative;
}

.callback_box .input-box {
  /* display: none; */
}

.btn_search:hover svg,
.btn_search:hover rect,
.btn_search:hover path {
    transition: all .3s;
}

.callback_box button svg,
.callback_box button rect,
.callback_box button path {
    transition: all .3s;
}

.callback_box button:hover svg rect,
.btn_search:hover svg rect {
    fill: var(--clr-primary);
}

.callback_box button:hover svg path,
.btn_search:hover svg path {
    fill: #fff;
    stroke: #fff;
}

.input-box {
  position: relative;
  width: 100%;
  max-width: 40px;
  min-height: 40px;
  margin: 0 20px;
  margin-left: 0;
  background-color: transparent;
  border-radius: 6px;
  transition: all 0.5s ease-in-out;
}
.input-box.open {
  max-width: 250px;
}
.input-box input {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 40px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  padding: 0 15px;
  border: none;
  border-radius: 60px;
  outline: none;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
}
.input-box.open input {
  padding: 0 10px 0 45px;
}

.input-box .search {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.input-box.open .search {
}

.search .search-icon {
    height: 100%;
    display: block;
}
.input-box .close-icon {
  position: absolute;
  top: 50%;
  right: 2%;
  color: #1c1c1c;
  padding: 5px;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  width: 26px;
  height: 26px;
}
.input-box.open .close-icon {
  transform: translateY(-50%) rotate(180deg);
  pointer-events: auto;
  opacity: 1;
}
.search_hide_submit {
    display: none;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}
.search_ico_dn {
    display: block;
}

.header_bottom_container {
  gap: 20px;
  padding: 0 15px;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--header-bottom-color);
    z-index: 97;
    transition: transform 0.5s, box-shadow 0.5s;
    transform: translateY(-150%);
    margin: 0;
}

.fixed-header.is-active {
    transform: translateY(0);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.header-contacts_phone {
  font-weight: 500;
  font-size: 1.3em;
  font-weight: bold;
    display: flex;
    gap: 1rem;
}
.header_nav_mobile .header-contacts_phone{
    flex-direction: column;
    gap: 10px;
}
.burger {
  position: relative;
  display: none;
  cursor: pointer;
  user-select: none;
  width: 30px;
  height: 20px;
  opacity: 0;
  visibility: hidden;
  background: transparent;
  position: relative;
  z-index: 1000;
}

.burger-line {
  position: absolute;
  display: block;
  right: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  border: none;
  outline: none;
  border-radius: 1rem;
  background: #000;
  transition: 0.5s ease-in-out;
}

.burger-line:nth-child(1) {
  top: 0px;
}

.burger-line:nth-child(2) {
  top: 0.5em;
  width: 70%;
}

.burger-line:nth-child(3) {
  top: 1em;
}

.mobile_menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  background-color: rgba(0, 0, 0, 0.65);
}

/* MOBILE DROPDOWN */
.nav__submenu_mobile {
  display: none;
}
/* MOBILE DROPDOWN */

.header_nav_mobile-logo {
  max-width: 180px;
}

.header_bottom_hidden_icons a,
.header-contacts_icons a {
  display: flex;
}

.header_bottom_hidden_icons {
  display: none;
  gap: 5px;
}

.callback_modal {
  max-width: 470px;
  width: 95%;
  background-color: #fff;
  padding: 34px 26px clamp(2.125rem, 1.988rem + 0.69vw, 2.813rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--clr-wrapper);
  display: none;
}

.callback_modal_title {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 110%;
  padding-bottom: 1em;
}

.callback_modal_subtitle {
  text-align: center;
  padding-bottom: clamp(1.25rem, 1.05rem + 1vw, 2.25rem);
}

.callback_modal_form {
  width: 100%;
  max-width: 345px;
}

.callback_modal_form_inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.callback_modal_form_inputs input {
  padding: 20px 35px 20px 35px ;
  background-color: #fff;
  border-radius: var(--border-radius);
  font-weight: 700;
  line-height: 110%;
  border: 1px solid transparent;
}


.btn-with_arrow {
  line-height: 110%;
  width: max-content;
  padding: 10px 10px 10px 38px;
  gap: 30px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-with_arrow:hover .btn_arrow path {
    fill:#fff;
}

.btn-with_arrow:hover .btn_arrow rect {
    fill: var(--clr-primary);
    
}

form input:focus {
  border: 1px solid var(--clr-primary);
}

.callback_modal button {
  width: 100% !important; 
}



.fancybox__content>.carousel__button.is-close svg {
  filter: none;
}

.carousel__button.is-close {
  justify-content: end;
}
/* 
.logo img {
  max-width: 180px;
  height: 50px;
  object-fit: contain;
} */

.policy_text a {
  text-decoration: underline;
}

#footer {
  background-color: var(--footer-color);
  border-radius: var(--border-radius);
  -webkit-border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  -ms-border-radius: var(--border-radius);
  -o-border-radius: var(--border-radius);
  margin-top: var(--main-content-gap);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#footer hr {
    opacity: 0.5;
}

.footer a {
  color: #fff;
}

.footer ul {
      opacity: 0.9;
}

.footer-social svg {
    width: 40px;
    height: 40px;
}

.footer a:hover {
  color: var(--clr-accent);
}

.footer_container {
  padding: var(--block-vertical-padding) var(--block-horizontal-padding);
}

.footer_content {
  color: #fff;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: clamp(1.875rem, 1.6rem + 1.38vw, 3.25rem);
  gap: 50px;
  justify-content: space-between;
}

.footer-list > *:first-child {
  font-weight: bold;
  padding-bottom: 30px;
  font-size: 24px;
}

.footer_contacts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer_contacts > *:first-child {
  padding: 0;
}

.footer_nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer_nav a {
  text-decoration: underline;
}

.footer_nav a:hover {
    text-decoration: none;
}

.footer-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_container.copyright {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.footer_container.copyright a:hover svg {
    filter: drop-shadow(0px 0px 5px var(--clr-accent));
}


.footer_container.copyright svg {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.footer_container.copyright a:hover {
    color: #fff !important;
}

.footer-uptop {
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font_accent);
    background-color: transparent;
    padding-right: 10px;
    padding-left: 40px;
    height: 60px;
}

.footer-uptop:hover {
    color: #fff;
    border: 1px solid #fff;
}

.footer-uptop svg {
    rotate: 180deg;
}


.breadcrumbs svg {
    height: 7px;
    opacity: 0.5;
}

.breadcrumbs {
    padding-top: clamp(1.563rem, 1.413rem + 0.75vw, 2.313rem);
    padding-bottom: clamp(1.875rem, 1.5rem + 1.88vw, 3.75rem);
    padding-top: 15px;
    padding-bottom: clamp(1.25rem, 1.063rem + 0.94vw, 2.188rem);
}

.breadcrumbs a {
    opacity: 0.7;
}

.breadcrumb-item.active {
    color: var(--clr-accent);
    opacity: 1;
}

.breadcrumbs_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
}

.footer-uptop:hover svg {
    transform: translate(0px, 3px);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.footer-uptop svg {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}