/* header-menu */

/* правки ввыпадающий список телефонов битрикс */
.with_dropdown .dropdown {
  padding-top: 28px;
  top: 0px!important;
 }

header a {
  text-decoration: none;
}
.header {
  position: relative;
  background-color: #fff;
}
.header .container{
width: 100%!important;
max-width: 1700px!important;
}
@keyframes fade {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
.header.fixed {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease 0s;
  animation: fade 0.5s ease;
}

.header.mobile:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
}
.header__menu {
  font-family: Arial, Helvetica, sans-serif;
}
@media (max-width: 992px) {
  .header__menu {
      position: fixed;
      top: 0;
      width: 100%;
      height: 100%;
      left: -100%;
      transition: left 0.3s ease 0s;
      background-color: #fff;
      z-index: 99;
      overflow: auto;
  }
  .header__menu .menu__list {
      background-color: #fff;
      padding: 60px 10px 10px;
      margin: 0;
  }
  .header__menu._open {
      left: 0%;
  }
}
.menu__sub-list {
  list-style: none;
  background-color: #fff;
  position: relative;
  z-index: 10;
}
.menu__list,
.menu__sub-list{
  margin:0 0 0;
}
@media (min-width: 767.98px) {
  .menu__list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
      column-gap: 7px;
  }
}
.menu__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0px 3px;
  padding: 5px 10px 5px 0px;
  position: relative;
}
.menu__item a {
  color: inherit;
  text-decoration: none;
}

@media (any-hover: hover) {
  .menu__item:hover .menu__sub-list {
      transform: translateY(0px);
      opacity: 1;
      visibility: visible;
  }
  .menu__item:hover .menu__arrow {
    transform: rotate(135deg);
      color: #54b7f1;
  }
  .menu__item:hover .menu__link {
      color: #54b7f1;
  }
}
@media (min-width: 767.98px) {
  .menu__item._hover .menu__sub-list {
      transform: translateY(0px);
      opacity: 1;
      visibility: visible;
  }
  .menu__item._hover .menu__arrow {
    transform: rotate(135deg);
      color: #54b7f1;
  }
  .menu__item._hover .menu__link {
      color: #54b7f1;
  }
}
@media (max-width: 767.98px) {
  .menu__item._hover .menu__sub-list {
      transition:
          all 0.3s ease 0s,
          opacity 0.1s ease 0s;
      transform: translateY(0px);
      opacity: 1;
      visibility: visible;
      height: -moz-fit-content;
      height: fit-content;
      padding: 12px 12px;
  }
  .menu__item._hover .menu__arrow {
    transform: rotate(135deg);
      color: #54b7f1;
  }
  .menu__item._hover .menu__link {
      color: #54b7f1;
  }
}
.menu__link {
  font-weight: 700;
  transition: color 0.3s ease 0s;
}
@media (max-width: 767.98px) {
  .menu__link {
      font-size: 15px;
  }
}

.menu__arrow:active,
.menu__arrow:focus {
  border: none;
  outline: none;
}
.menu__arrow {
  padding:0;
  border: none;
  font-size: 10px;
  margin: 0 0 0 9px;
  transition: all 0.3s ease 0s;
  display: block;
  border: none;
  outline: none;
  width: 8px;
  height: 8px;
  transform:translateY(-3px) rotate(-45deg);
  border-left:1px solid #54b7f1;
  border-bottom:1px solid #54b7f1;
  background: #fff;
}
@media (max-width: 767px) {
  .menu__arrow {
      font-size: 14px;
      position: relative;
      z-index: 3;
      width: 7px;
      height: 7px;
  }
}
@media (min-width: 767px) {
  .menu__sub-list {
      background-color: #fff;
      border-radius: 12px;
      padding: 15px;
      flex: 1 1 100%;
      position: absolute;
      left: 0;
      top: 100%;
      opacity: 0;
      visibility: hidden;
      transition:
          all 0.3s ease 0s,
          opacity 0.1s ease 0s;
      transform: translateY(10px);
      /* min-width: 150px; */
      z-index: 10;
      box-shadow: 2px 2px 15px 5px #c2c2c2a6;
  }
}
@media (max-width: 767px) {
  .menu__sub-list {
      background-color: #fff;
      border-radius: 12px;
      padding: 0px 15px;
      flex: 1 1 100%;
      position: relative;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease 0s;
      transform: translateY(10px);
      z-index: 1000;
      height: 0;
  }
}
.menu__sub-item:not(:last-child) {
  margin-bottom: 6px;
}
.menu__sub-link {
  white-space: nowrap;
  color: #fff;
  line-height: 120%;
  transition: all 0.15s ease 0s;
}
@media (any-hover: hover) {
  .menu__sub-link:hover {
      color: #54b7f1;
  }
}
@media (max-width: 767px) {
  .menu__sub-link {
      font-size: 15px;
  }
}

/* =====================================верхняя часть шапки==================================== */

.header__top {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: space-around;
  align-items: center;
  column-gap: 12px;
  padding: 20px 0 5px;
}
.header__logo {
  width: 115px;
  position: relative;
  z-index: 100;
}
.header__logo a{
 display: block;
}
.header__logo img {
  max-width: 100%;
}
.header__text {
  font-size: 12px;
  padding-top: 2px;
}

.header__contacts {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.header__contacts--mobile {
  display: none;
}
@media (max-width: 992px) {
  .header__text {
      display: none;
  }
  .header__top {
      padding: 10px 0 5px;
  }
  .header__logo {
      width: 105px;
  }

  .header__contacts--mobile {
      transition: all 0.3s ease 0s;
      display: flex;
      flex-direction: column-reverse;
      align-items: flex-end;
      background-color: #fff;
      gap: 12px;
      padding: 25px 15px 15px;
  }
  .header__contacts {
      display: none;
  }
  .header__contacts-actions {
      flex-direction: column;
  }
  .header__contacts._open {
      right: 0;
      left: 0%;
  }
}
@media (max-width: 767px) {
  .header__logo {
      width: 100px;
  }
}
@media (max-width: 480px) {
  .header__logo {
      width: 95px;
  }
}
.header__contacts-item {
  position: relative;
  height: 100%;
  /* padding-bottom: 8px; */
  cursor: pointer;
}
.header__contacts--mobile .header__contacts-item {
  text-align: right;
}
.header__contacts-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.header__contacts--mobile .header__contacts-actions {
  align-items: flex-end;
}
.header__contacts--mobile .header__contacts-actions .header__links {
  align-items: flex-end;
}
.header__geo {
  font-weight: 500;
  line-height: 1.3;
  position: relative;
  color: #54b7f1;
  cursor: pointer;
  font-size: 14px;
  padding-left: 18px;
  background: url("https://xn----7sblfajgdhlos4bfjfr7n3b.xn--p1ai/upload/add_img/img/adress.svg") left top / 15px 15px no-repeat;
}
.header__geo-list {
  margin-right:auto;
display: flex;
align-items: center;
align-self:flex-end;
}
.header__geo-list img{
  flex:0 0 17px;
width: 17px;
height: 17px;
}
.header__geo-list .header__top-item {
  margin: 0 0px;
}
.personal-link{
  display: flex;
    align-items: center;
    gap: 5px;
    opacity:0.7;
    transform: scale(0.8);
}
.pull-right {
    float: right !important;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
.header-cart .basket_fly .buttons  .pull-right {
    flex-direction: column;
}
.header__top-item{
 
}

.header__time {
  font-weight: 500;
  display: block;
  font-size: 14px;
  padding-left: 18px;
}
.header__cities {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition:
      all 0.3s ease 0s,
      opacity 0.1s ease 0s;
  /* transform: translateY(10px); */
  /* min-width: 170px; */
  z-index: 1;
  box-shadow: 2px 2px 15px 5px #c2c2c2a6;
}
.header__contacts-item:hover .header__cities {
  display: block;
  opacity: 1;
  visibility: visible;
}
.header__cities-list {
  padding: 0;
  margin: 0;
}
.header__cities-list-item {
  list-style: none;
  margin-bottom: 8px;
}
.header__cities-list-item a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease 0s;
}
@media (any-hover: hover) {
  .header__cities-list-item a:hover {
      color: #54b7f1;
  }
}
.header__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media (max-width: 1200px) {
  .header__photo {
      display: none;
  }
}
.header__photo-text {
  line-height: 1.2;
  font-size: 14px;
}
.header__photo-wrap {
  width: 38px;
  height: 38px;
  overflow: hidden;
  position: relative;
}
.header__photo-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background: #96df92;
  -webkit-box-shadow: 0 0 0 2px #f9f9f9;
  box-shadow: 0 0 0 2px #f9f9f9;
  border-radius: 50%;
}
.header__photo-wrap img {
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.header__icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.footer__topRightTop .header__icons {
  justify-content: flex-start;
}
.header__icon {
  width: 32px;
  height: 32px;
}
.header__links {
  display: flex;
  gap: 2px;
  flex-direction: column;
}
.header__phone {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: #4b1546;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.header__email {
  font-size: 14px;
  line-height: 1.2;
  color: #4b1546;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  margin:0 16px;
}
.top-btn{ 
  border:none;
  opacity:0.7;
  background: transparent;
  transform:scale(0.8);
}
.top-btn span.title:hover{
  color:#365edc;
}
@media (any-hover: hover) {
  .header__email:hover {
      color: #4b1546;
  }
  .header__phone:hover {
      color: #4b1546;
  }
}
.header__btn {
  border:none!important;
  margin-left: 15px;
  min-width: 183px;
  height: 36px;
  color: #fff !important;
  background: #fff;
  -webkit-box-shadow: 0 5px 15px 0 rgba(255, 133, 98, 0.3);
  box-shadow: 0 5px 15px 0 rgba(255, 133, 98, 0.3);
  background: -webkit-gradient(linear, left top, right top, from(#fa7b79), to(#ff9e5f))!important;
  background: linear-gradient(90deg, #fa7b79 0%, #ff9e5f 100%)!important;
  -webkit-transition: all 0.3s;
}
@media (max-width: 992px) {
  .header__btn {
      height: 32px;
      min-width: 150px;
  }
}
@media (any-hover: hover) {
  .header__btn:hover {
      background: -webkit-gradient(linear, left top, right top, from(#ff9e5f), to(#fa7b79));
      background: linear-gradient(90deg, #ff9e5f 0%, #fa7b79 100%);
  }
}

.header__hidden-block {
  display: none;
}
@media (max-width: 992px) {
  .header__hidden-block {
      display: flex;
      align-items: center;
      gap: 15px;
  }
}
.header__mobile-phone {
  min-height: 30px;
  padding: 3px 10px;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-left: auto;
  background: #ff8562;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  position: relative;
  z-index: 100;
}
@media (max-width: 767px) {
  .header__mobile-phone {
      min-height: 22px;
  }
}
.openModal {
}

/* меню бургер */
@media (max-width: 992px) {
  .menu__icon {
      flex: 0 0 24px;
      display: block;
      text-align: right;
      position: relative;
      z-index: 51;
      width: 24px;
      height: 18px;
      border-radius: 3px;
      cursor: pointer;
      z-index: 999;
  }
  .menu__icon span,
  .menu__icon::before,
  .menu__icon::after {
      content: "";
      transition: all 0.3s ease 0s;
      right: 0;
      position: absolute;
      width: 100%;
      height: 2px;
      background-color: #000;
  }
  .menu__icon::before {
      top: 0;
  }
  .menu__icon::after {
      bottom: 0;
  }
  .menu__icon span {
      top: calc(50% - 1px);
  }
  .menu__icon.menu-open span {
      transform: rotate(-45deg);
  }
  .menu__icon.menu-open::before {
      top: calc(50% - 1px);
      transform: rotate(45deg);
  }
  .menu__icon.menu-open::after {
      bottom: calc(50% - 1px);
      width: 0;
  }
}

.hidden {
  display: none;
}
.visible {
  display: block;
}
.container {
  max-width: 1920px;
  padding: 0 15px;
  margin: 0 auto;
}
#header {
    background-color: #fff;
}
.logo_and_menu-row .inner-table-block {
    height: auto !important;
}
.logo_and_menu-row .phone-block.blocks {
    margin: 0 !important;
}
