.header {
  position: relative;
  background: var(--main-bg-color);
  z-index: 109;
}
body.main .header {
  background: #ffeae7;
}

.header {
  background: #ffeae7;
}

.header .header__top-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 0;
}

.header .header__logo {
  height: 60px;
}

.header .header__actions {
  position: relative;
  display: flex;
  column-gap: 30px;
  margin-bottom: 9px;
}

.header .header__actions-item {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
}

.header .header__actions-item.open {
  color: var(--main-pressed-color) !important;
}

.header .header__actions-item .name {
  display: flex;
  margin-left: 10px;
  color: currentColor;
}

.header .header__actions-item .quantity {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 2px;
  color: #fffdfc;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.header .header__actions-item .quantity ~ i {
  color: var(--main-hover-color);
}

.header .header__actions-modal {
  position: absolute;
  top: calc(100% + 15px);
  display: none;
  flex-direction: column;
  row-gap: 25px;
  background: #fff3ef;
  box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.header .header__actions-modal.open {
  display: flex;
}

.header .header__actions-modal.placement {
  padding: 30px 20px 20px 20px;
  width: 454px;
}

.header [data-action="placement"] > .c-p7 > .c-p4 {
  margin-bottom: 10px;
}

.header .header__actions-modal.cart {
  max-height: 85vh;
  width: 551px;
  right: 0;
  row-gap: 30px;
  padding: 40px 30px 30px 30px;
  overflow: hidden auto;
}

.header .header__actions-modal.cart::-webkit-scrollbar {
  width: 3px;
}

.header .header__actions-modal.cart::-webkit-scrollbar-track {
  background: #ffeae7;
}

.header .header__actions-modal.cart::-webkit-scrollbar-thumb {
  background: #e8cdc8;
}

.header .header__actions-modal.cart::-webkit-scrollbar-thumb:hover {
  background: #e8cdc8;
}

.header .header__actions-modal.cart.empty {
  padding: 40px 30px;
  height: auto;
  width: 531px;
}

.header .header__actions-modal.cart .cart-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 30px;
}

.cart-modal__wrap {
  max-height: 300px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding-right: 10px;
}

.cart-modal__wrap::-webkit-scrollbar {
  width: 3px;
}

.cart-modal__wrap::-webkit-scrollbar-thumb {
  background: #e8cdc8;
}

.cart-modal__wrap::-webkit-scrollbar-track {
  background: #ffeae7;
}

.header .header__actions-modal.cart .cart-modal__item > img {
  width: 88px;
  border-radius: 1px;
}

.header .header__actions-modal.cart .cart-modal__item-info,
.header .header__actions-modal.cart .cart-modal__item-info .desc,
.header .header__actions-modal.cart .cart-modal__item-info .price,
.header .header__actions-modal.cart .cart-modal__item-info .price .counter,
.header .header__actions-modal.cart .cart-modal__footer {
  display: flex;
  justify-content: space-between;
}

.header .header__actions-modal.cart .cart-modal__item-info {
  flex: 1;
}

.header .header__actions-modal.cart .cart-modal__item-info .opacity-0\.5 {
  opacity: 0.5;
  pointer-events: none;
}

.header .header__actions-modal.cart .cart-modal__item-info .desc p.opacity {
  max-width: 197px;
}

.header .header__actions-modal.cart .cart-modal__item-info .desc,
.header .header__actions-modal.cart .cart-modal__item-info .price {
  flex-direction: column;
}

.header .header__actions-modal.cart .cart-modal__item-info .price {
  text-align: right;
  min-width: fit-content;
}

.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .price
  > .opacity.old-price {
  color: var(--main-hover-color);
}

.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .price
  > .opacity.old-price
  .c-bread {
  display: block;
  text-decoration: line-through;
  opacity: 0.68;
}

.header .header__actions-modal.cart .cart-modal__item-info .desc {
  row-gap: 5px;
}

.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"] {
  cursor: pointer;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid #ec857e;
  opacity: 0.6;

  color: #ec857e;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .header
    .header__actions-modal.cart
    .cart-modal__item-info
    .desc
    [data-action="remove"] {
    font-size: 12px;
  }
}
.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"]:after {
  content: "\e905";
  font-size: 10px;
  margin-left: 16px;
  font-family: "icomoon" !important;
  line-height: 1;
}
.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"].active:after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='19' viewBox='0 0 18 19' fill='none'%3E%3Cpath d='M3 8C3 4.7 5.7 2 9 2C12.3 2 15 4.7 15 8C15 11.3 12.3 14 9 14H3M3 14L6 17M3 14L6 11' stroke='%234F947B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"].active {
  color: #3b8067;
  border: 1px solid #3b8067;
  opacity: 1;
}
.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"].active:hover {
  color: #ffeae7 !important;
  background: #3b8067;
  border: 1px solid #4e4e4c;
}
.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"].active:hover:after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='19' viewBox='0 0 18 19' fill='none'%3E%3Cpath d='M3 8C3 4.7 5.7 2 9 2C12.3 2 15 4.7 15 8C15 11.3 12.3 14 9 14H3M3 14L6 17M3 14L6 11' stroke='%23FFEAE7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.header
  .header__actions-modal.cart
  .cart-modal__item-info
  .desc
  [data-action="remove"]:hover {
  color: #ffeae7 !important;
  background: #f04438;
  border: 1px solid #f04438;
}

.header .header__actions-modal.cart .cart-modal__item-info .price .counter {
  column-gap: 25px;
}

.header .header__actions-modal.cart .cart-modal__divider {
  height: 2px;
  background: #ffeae7;
  border-radius: 5px;
}

.header .header__actions-modal__buttons {
  display: flex;
  column-gap: 10px;
}

.header .header__navigation {
  position: relative;
  padding: 15px 0;
}

.header .header__navigation > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .header__navigation-item {
  white-space: nowrap;
  list-style: none;
}

.header .header__navigation-item.active a {
  color: var(--main-hover-color);
  color: var(--main-blue-color);
}

.header .header__navigation-divider {
  width: 2px;
  height: 2px;
  background: var(--main-text-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.header .header__navigation .search-container {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #fffdfc;
}

.header .header__navigation .search-container.active {
  display: block;
}

.header .header__navigation .search-container input {
  width: 90%;
  height: 100%;
}

.header .header__navigation .search-container > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  color: var(--main-text-color);
}

.header .header__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  padding: 50px 0;
  background: #fff3ef;
  border-radius: 0px 0px 1px 1px;
  z-index: 99999;
}

.header .header__menu.open {
  display: flex;
}

.header .header__menu-container {
  display: flex;
  justify-content: space-between;
  width: 1158px;
  margin: 0 auto;
}

.header .header__menu-search {
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 20px;
  margin-bottom: 30px;
  color: var(--main-text-color);
  background: #fffdfc;
  border-radius: 1px;
}

.header .header__menu-search input {
  margin-left: 20px;
  flex: 1;
  background: none;
}

.header .header__menu-list {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
}

.header .header__bottom-navigation {
  position: fixed;
  bottom: 0;
  width: 100%;
  flex-direction: column;
  background: #4e4e4c;
  border-radius: 50px 50px 0px 0px;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.header .header__bottom-navigation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 42px;
}

.header .header__bottom-navigation-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 10px;
  color: var(--main-text-color);
}

.header .header__bottom-navigation-item p {
  color: currentColor;
}

.header .header__bottom-navigation-modal {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  row-gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid #bfded6;
  color: var(--main-text-color);
}

.header .header__bottom-navigation-modal.open {
  display: flex;
}

.header .header__bottom-navigation-modal.c-modal {
  row-gap: 0;
  align-items: flex-start;
}

.header .header__bottom-navigation-modal.cart-counter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 25px;
}

.header .header__bottom-navigation-modal[data-action="catalog"] ul {
  display: flex;
  flex-flow: column wrap;
  row-gap: 25px;
  column-gap: 86px;
  height: 67px;
}

.header__bottom-navigation-modal .c-link {
  color: #bfded6;
}
.header__bottom-navigation-modal input:checked ~ .checkmark {
  background: url(../icons/checkbox-light.svg) no-repeat !important;
  background-size: 100% 100% !important;
}

.header .show-md,
.header .show-sm {
  display: none !important;
}

@media (hover: hover) {
  .header .header__navigation-item:hover,
  .header .header__navigation .search-container i:hover {
    color: var(--main-hover-color);
    cursor: pointer;
  }
}

@media screen and (max-width: 1439px) {
  .header .header__top-container {
    padding: 14px 0 17px;
  }

  .header .header__logo {
    height: 54px;
  }

  .header .header__actions {
    margin-bottom: 3px;
  }

  .header .header__actions-modal {
    row-gap: 20px;
  }

  .header .header__actions-modal.cart {
    width: 500px;
    row-gap: 20px;
  }

  .header .header__actions-modal.cart.empty {
    width: 450px;
  }

  .header .header__actions-modal.cart .cart-modal__item {
    column-gap: 20px;
  }

  .header .header__actions-modal.cart .cart-modal__item > img {
    width: 73px;
  }

  .header .header__navigation {
    padding: 13px 0;
  }

  .header .header__menu {
    top: 85px;
  }

  .header .header__menu-container {
    width: 992px;
  }

  .header .header__menu-list {
    row-gap: 20px;
  }

  .header .header__actions-modal.cart .cart-modal__item-info .desc p.opacity {
    max-width: 164px;
  }

  .cart-modal__wrap {
    max-height: 280px;
    row-gap: 20px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 1279px) {
  .header .hide-md {
    display: none !important;
  }

  .header .show-md {
    display: flex !important;
  }
  body .b24-widget-button-wrapper .b24-widget-button-inner-container,
  body
    .b24-widget-button-wrapper
    .b24-widget-button-popup.b24-widget-button-popup-show {
    display: none;
  }
  .header .header__top-container {
    padding: 10px 0 20px;
  }

  .header .header__actions {
    margin-bottom: 10px;
    column-gap: 30px;
  }

  .header .header__actions-item .name {
    font-size: 16px;
  }

  .header .header__menu {
    top: 84px;
    padding: 0 0 40px;
  }

  .header .header__menu-container {
    width: 700px;
  }

  .header .c-p5,
  .header .c-p4 {
    font-size: 14px;
  }

  .header .c-p6,
  .header .c-p7 {
    font-size: 12px;
  }
}

.header
  .header__bottom-navigation-modal
  .card__mainInfoBlock-countBlock
  .countBlock__minus {
  color: #bfded6;
}
.header
  .header__bottom-navigation-modal
  .card__mainInfoBlock-countBlock
  .countBlock__count {
  color: #bfded6;
}
.header
  .header__bottom-navigation-modal
  .card__mainInfoBlock-countBlock
  .countBlock__plus {
  color: #bfded6;
}
.header
  .header__bottom-navigation-modal
  .card__mainInfoBlock-countBlock
  .countBlock__result_text {
  color: #bfded6;
}
.header
  .header__bottom-navigation-modal
  .card__mainInfoBlock-countBlock
  .js-card-result {
  color: #bfded6;
  font-weight: 700;
}
.header .header__bottom-navigation .header__bottom-navigation-item {
  color: #bfded6;
}
.header .header__bottom-navigation .header__bottom-navigation-item.open {
  color: #ffeae7;
}
.header .header__bottom-navigation .header__bottom-navigation-item .quantity {
  color: #4e4e4c;
}

.header .header__bottom-navigation .btn-blue {
  background: #fff3ef;
  color: #4e4e4c;
}
.header .header__bottom-navigation-modal li a {
  color: #bfded6;
}

.header .header__bottom-navigation-modal p {
  color: #bfded6;
}

@media screen and (max-width: 1279px) {
  .header .header__menu-search {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  body .bx-livechat-wrapper.bx-livechat-show {
    right: 0 !important;
  }
  .header .hide-sm {
    display: none !important;
  }

  .header .show-sm {
    display: flex !important;
  }

  .header .header__top-container {
    align-items: center;
    padding: 14px 0;
  }

  .header .header__logo {
    height: 32px;
  }

  .header .header__actions {
    margin-bottom: 0;
    column-gap: 20px;
  }

  .header .header__menu {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 5px 0 30px;
    overflow: hidden auto;
  }

  .header .header__menu-container {
    width: 330px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    flex-grow: 1;
    row-gap: 30px;
  }

  .header .header__menu-list {
    align-items: center;
  }

  .header .header__menu-list .c-p4 {
    display: flex;
    align-items: center;
    font-size: 16px;
  }

  .header .header__menu-list .c-p4.open {
    color: var(--main-pressed-color);
  }

  .header .header__menu-list .c-p4 svg {
    transform: rotate(0);
  }

  .header .header__menu-list .c-p4.open svg {
    transform: rotate(180deg);
  }

  .header .header__menu-search {
    height: 48px;
    padding: 0 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .header .header__menu-search input {
    margin-left: 15px;
  }

  .header .header__bottom-navigation {
    border-radius: 30px 30px 0px 0px;
  }

  .header .header__bottom-navigation-container {
    padding: 12px;
  }

  .header .header__bottom-navigation-item {
    row-gap: 6px;
    font-size: 10px;
  }
  .header .header__bottom-navigation-item.cartNv {
    position: relative;
  }
  .header .header__bottom-navigation-item.cartNv .quantity {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -11px;
    color: #fffdfc;
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .header .header__bottom-navigation-item.cartNv .quantity ~ i {
    color: var(--main-hover-color);
  }

  .header .header__bottom-navigation-modal {
    row-gap: 20px;
    padding: 30px 0;
  }

  .header .header__bottom-navigation-modal[data-action="catalog"] ul {
    display: flex;
    flex-flow: column nowrap;
    row-gap: 25px;
    column-gap: 0;
    height: auto;
  }

  .header .header__bottom-navigation-modal.cart-counter {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
  }

  .header .header__bottom-navigation-modal.cart-counter {
    padding: 10px 15px;
  }

  .header
    .header__bottom-navigation-modal.cart-counter
    .card__mainInfoBlock-countBlock {
    flex-wrap: wrap;
    column-gap: 20px;
  }

  .header
    .header__bottom-navigation-modal.cart-counter
    .card__mainInfoBlock-countBlock
    .countBlock__result_text {
    display: none;
  }

  .header
    .header__bottom-navigation-modal.cart-counter
    .card__mainInfoBlock-countBlock
    .js-count-button {
    padding: 5px;
  }

  .header .header__bottom-navigation-modal.cart-counter .js-add-to-basket {
    padding: 10px 12px;
    text-align: center;
    max-width: 100px;
  }
  .header .header__bottom-navigation-modal.cart-counter .js-go-to-cart {
    padding: 10px 12px;
    text-align: center;
    max-width: 100px;
  }
  .header
    .header__bottom-navigation-modal.cart-counter
    .js-snippet-buttons-order {
    padding: 10px 12px;
    text-align: center;
    max-width: 100px;
  }
}

.test_mode-popup {
  display: none;
  opacity: 0;
  width: 644px;
  padding: 40px 60px;
  z-index: 2;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  background: #fffdfc;
  transition: 0.3s;
}

.test_mode-popup__close {
  position: absolute;
  right: 66px;
  top: 40px;
  cursor: pointer;
}

.test_mode-popup.active {
  display: block;
}

.test_mode-popup.fade {
  opacity: 1;
}

body.fixed {
  overflow: hidden;
}

body.fixed > *:not(.test_mode-popup) {
  filter: blur(3.5px);
  pointer-events: none;
}

.test_mode-popup .c-p1 {
  font-size: 30px;
  line-height: 150%;
  margin-bottom: 23px;
}

.test_mode-popup .c-p5 {
  margin-bottom: 23px;
}

.profile-action .icon-profile {
  cursor: pointer;
}
.profile-action .icon-profile:before {
  transition: 300ms;
}
.profile-action:hover .icon-profile:before,
.profile-action.is-active .icon-profile:before {
  filter: invert(41%) sepia(36%) saturate(420%) hue-rotate(107deg)
    brightness(95%) contrast(90%);
}
.profile-action .profile-action-collapse {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0fr;
  grid-template-rows: 0fr;
  z-index: 1;
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  -moz-transition: 300ms;
  transition: 300ms;
  position: absolute;
  top: 100%;
  right: 0;
}
.profile-action:hover .profile-action-collapse,
.profile-action.is-active .profile-action-collapse {
  grid-template-rows: 1fr;
}
.profile-action .profile-action-wrapper {
  overflow: hidden;
  width: 260px;
}
.profile-action .profile-action-tooltip {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0.625em;
  padding: 1.25em;
  background: #fff;
}
.profile-action .profile-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.profile-action .profile-name {
  font-size: 1.25em;
  font-weight: 500;
}
.profile-action .profile-phone {
  font-size: 0.85em;
}
.profile-action .profile-action-href {
  height: 2em;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1em;
}
.profile-action .js-auth {
  cursor: pointer;
}
.header
  .header__bottom-navigation
  .header__bottom-navigation-item
  .icon-profile:before {
  filter: invert(93%) sepia(20%) saturate(230%) hue-rotate(107deg)
    brightness(125%) contrast(84%);
}

@media (max-width: 1439px) {
  .test_mode-popup {
    width: 560px;
  }
  .test_mode-popup__close {
    width: 20px;
    height: 20px;
    right: 60px;
    top: 52px;
  }
  .test_mode-popup .c-p1 {
    margin-bottom: 15px;
  }

  .test_mode-popup .c-p5 {
    margin-bottom: 15px;
  }

  .test_mode-popup .btn {
    margin-top: 15px;
  }
}

@media screen and (max-width: 1279px) {
  .test_mode-popup--mobile {
    display: none;
    position: relative;
    padding: 40px 0;
    border-bottom: 1px solid #ffeae7;
  }

  .test_mode-popup--mobile.active {
    display: block;
  }

  .test_mode-popup--mobile__close {
    position: absolute;
    right: 0;
    top: 44px;
  }

  .test_mode-popup--mobile > p {
    max-width: 493px;
    margin-bottom: 10px;
  }

  .test_mode-popup--mobile > .btn {
    margin-top: 20px;
  }

  body.fixed {
    overflow: hidden;
  }

  body.fixed .header {
    filter: none;
    pointer-events: all;
  }
}

@media screen and (max-width: 767px) {
  .test_mode-popup--mobile {
    padding: 30px 0;
  }

  .test_mode-popup--mobile__close {
    top: 30px;
  }

  .test_mode-popup--mobile > p {
    max-width: 303px;
  }

  .header
    .header__bottom-navigation-modal
    .card__mainInfoBlock-countBlock
    .js-card-result {
    font-size: 14px;
  }
}

.header ul {
  list-style: none !important;
}
