.header {
  top: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

@media (min-width: 1421px) {
  .header {
    min-height: 158px;
  }
}

.header__main {
  padding: 0 70px;
  transition: top 0.4s;
  z-index: 10;
}

@media (max-width: 1580px) {
  .header__main {
    padding: 0 40px;
  }
}

@media (max-width: 1420px) {
  .header__main--fixed {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 1024px) {
  .header__main {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .header__main {
    padding: 16px 10px;
  }
}

.header__submenu-background {
  background-color: var(--bg-color);
}

.header__submenu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  margin: 0 auto;
  padding: 0 70px;
  pointer-events: auto;
}

@media (max-width: 1440px) {
  .header__submenu-wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 1420px) {
  .header__submenu-wrapper {
    display: none;
  }
}

.header__catalog-link:hover {
  color: black;
  font-weight: 700;
}

.header__submenu-item--callback {
  display: flex;
  align-items: center;
  column-gap: 4px;
  cursor: pointer;
}

.header__submenu-item--callback:hover .header__submenu-link {
  font-weight: 700;
}

.video_specialist_item {
  font-size: 13px;
}

.video_specialist_item:hover {
  font-weight: 700;
  cursor: pointer;
}

.header__submenu-item--callback:hover svg {
  transform: scale(1.5);
}

.header__main,
.header__menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu-wrapper {
  height: 100%;
}

@media (max-width: 1024px) {
  .header__menu-wrapper {
    height: calc(50% - 40px);
  }
}

.header__main {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-top: 16px;
  background-color: #FFFFFF;
  pointer-events: auto;
}

.header__main--fixed {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--bg-color);
}

.header__logo-container {
  display: block;
  width: 180px;
  height: 50px;
  margin-right: 68px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .header__logo-container {
    order: 3;
    margin: 0;
  }

  .block__feedback_and_basket {
    order: 1;
  }
}

@media (max-width: 1024px) {
  .header__logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.header__logo {
  transition: background-position .5s cubic-bezier(.215,.61,.355,1);
}

.header__personal-wrapper {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.header__personal-links {
  display: flex;
  margin-left: 32px;
}

.header__personal-link:not(:last-child) {
  margin-right: 20px;
}

@media (max-width: 425px) {
  .header__personal-links {
    height: 30px;
  }

  .header__personal-link:not(:last-child) {
    margin-right: 16px;
  }
}

.header__personal-link {
  color: #989898;
  cursor: pointer;
}

.header__personal-link svg * {
  transition: 0.2s ease-in-out;
}

/* delay link */

.header__personal-link--delay {
  position: relative;
}

.header__personal-link--delay path {
  transition: fill 0s, stroke 0.2s ease-in-out;
}

.header__personal-link--delay:hover path {
  stroke: #989898;
}

.header__personal-link--delay:active path {
  fill: #000000;
  stroke: #000000;
}

@media (max-width: 425px) {
  .header__personal-link--delay svg {
    width: 20px !important;
  }
}

/* basket link */

.header__personal-link--basket svg path,
.header__personal-link--basket svg rect {
  stroke: #000000;
  fill: none;
}

.header__personal-link--basket:hover svg path,
.header__personal-link--basket:hover svg rect {
  stroke: #989898;
}

.header__personal-link--basket:active rect {
  stroke: #000000 !important;
  fill: #000000;
}

.header__personal-link--basket:active path {
  stroke: #000000 !important;
}

.header__personal-link--basket.header__personal-link--basket-has-items svg rect {
  fill: #000000;
}

.header__personal-link--basket.header__personal-link--basket-has-items:hover svg rect,
.header__personal-link--basket.header__personal-link--basket-has-items:hover svg path {
  stroke: #989898 !important;
}

.header__personal-link--basket.header__personal-link--basket-has-items:hover svg rect {
  fill: #989898 !important;
}

@media (max-width: 425px) {
  .header__personal-link--basket svg {
    width: 20px !important;
  }
}

.header__personal-link:hover,
.header__personal-link:active,
.header__personal-link:focus {
  color: #989898;
}

.header__personal-link--city {
  cursor: pointer;
}

.header__personal-link--city:hover,
.header__personal-link--city:active {
  border-bottom: 1px solid transparent;
}

.header__personal-link--city {
  margin-right: 20px;
  border-bottom: 1px solid #989898;
}

@media (max-width: 1420px) {
  .header__personal-link--city {
    display: none;
  }
}

.header__personal-link--phone {
  white-space: nowrap;
}

.header__personal-link--phone:hover,
.header__personal-link--phone:active {
  color: #000000;
}

@media (max-width: 1024px) {
  .header__personal-link--phone {
    display: none;
  }
}

.header__personal-link--profile {
  position: relative;
}

.header__personal-link--profile:hover circle,
.header__personal-link--profile:hover path {
  stroke: #989898;
}

@media (max-width: 1024px) {
  .header__personal-link--profile {
    display: none;
  }
}

.header__personal-link--logged-in {
  position: relative;
  cursor: pointer;
}

.header__personal-link--logged-in svg {
  position: relative;
  top: 3px;
}

.header__personal-link--logged-in:hover path,
.header__personal-link--logged-in:hover circle {
  stroke: #989898;
  fill: #989898;
}

@media (max-width: 1024px) {
  .header__personal-link--logged-in {
    display: none;
  }
}

.header__fixed-placeholder {
  display: none;
  height: 158px;
}

@media (max-width: 1420px) {
  .header__fixed-placeholder {
    height: 66px;
  }
}

/* personal popup start */

.personal-popup__wrapper {
  position: absolute;
  right: 0;
  padding-top: 10px;
  z-index: 1;
}

.personal-popup {
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 10000;
}

.personal-popup__header {
  padding: 15px 15px 10px 15px;
  background: #FFFFFF;
  color: #000000;
  white-space: nowrap;
  text-align: center;
}

.personal-popup__links-container {
  padding: 10px 15px;
  background: #404040;
  color: #FFFFFF;
  text-align: center;
  line-height: 24px;
}

.personal-popup__link {
  font-size: 14px;
  color: inherit;
  border-bottom: 1px solid #FFFFFF;
}

/* personal popup end */

/* auth form start */

.auth-sidebar {
  align-self: flex-start;
  overflow: hidden;
}

.auth-sidebar--signup .auth-sidebar__input-label {
  height: 42px;
}

.auth-sidebar__input-title {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 16px;
}

.auth-sidebar__input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 320px;
  height: 50px;
  margin-bottom: 20px;
  padding: 0 15px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  transition: border-color 0.2s;
  cursor: text;
}

.auth-sidebar__input-label:focus-within {
  border-color: #000000;
}

.auth-sidebar__input {
  flex-grow: 1;
  font-size: 14px;
}

.auth-sidebar__input::placeholder {
  color: #989898;
}

.auth-sidebar__input-label:focus-within:hover,
.auth-sidebar__input-label:focus-within:focus,
.auth-sidebar__input-label:focus-within:active {
  border-color: #c4c4c4;
}

.auth-sidebar__button {
  display: block;
  width: 320px;
  height: 50px;
  margin-bottom: 20px;
  color: #ffffff;
  border-radius: 5px;
  border: none;
  background-color: #404040;
  transition: background-color 0.2s;
}

.auth-sidebar__button:hover,
.auth-sidebar__button:focus,
.auth-sidebar__button:active {
  background-color: #000000;
}

.auth-sidebar__caption {
  max-width: 320px;
  margin-bottom: 20px;
  color: #000000;
  font-size: 16px;
  line-height: 24px;
}

.auth-sidebar__caption--small {
  font-size: 14px;
}

.auth-sidebar__link {
  padding-bottom: 2px;
  border-bottom: 1px solid #000000;
}

.auth-sidebar__link:hover,
.auth-sidebar__link:active,
.auth-sidebar__link:focus {
  color: #000000;
  border-bottom: 1px solid transparent;
}

.auth-sidebar__text--small {
  max-width: 320px;
  margin-bottom: 40px;
  font-size: 12px;
  color: #989898;
}

.auth-sidebar__text--small a {
  color: #157ee9;
}

.auth-sidebar__text--small a:hover,
.auth-sidebar__text--small a:focus,
.auth-sidebar__text--small a:active {
  color: #000000;
}

.auth-sidebar__checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  cursor: pointer;
}

.auth-sidebar__checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  transition: all 0.2s;
}

.auth-sidebar__checkbox-text {
  font-size: 14px;
}

.auth-sidebar__checkbox-input:checked + .auth-sidebar__checkbox {
  border-color: #404040;
  background-color: #404040;
}

.auth-sidebar__button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.auth-sidebar__link--small {
  color: #989898;
  border-bottom: 1px solid #989898;
  font-size: 14px;
}

.auth-sidebar__link--small:hover,
.auth-sidebar__link--small:focus,
.auth-sidebar__link--small:active {
  color: #989898;
  border-bottom: 1px solid transparent;
}

.auth-sidebar__input-clear {
  display: none;
  padding: 0;
  border: none;
  background: none;
}

.auth-sidebar__input-clear svg {
  display: block;
  transition: 0.3s ease-out;
}

.auth-sidebar__input-clear:hover svg {
  transform: rotateZ(360deg);
}
/* mobile menu start */
.header__mobile-menu-button {
  display: none;
  margin-right: 30px;
  padding: 0 5px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1420px) {
  .header__mobile-menu-button {
    display: block;
  }
}

@media (max-width: 425px) {
  .header__mobile-menu-button {
    margin-right: 7px;
  }
}

.header__mobile-menu-button svg {
  display: block;
}
/* mobile menu end */

/* fixed bottom bar start */

.header__fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 10px 15px;
  z-index: 9;
}

@media (max-width: 1024px) {
  .header__fixed-bottom-bar {
    display: flex;
  }
}

.header__fixed-bottom-bar {
  background: #FFFFFF;
}

.header__fixed-bottom-button {
  background: none;
  border: none;
}

.header__fixed-bottom-button svg * {
  display: block;
  transition: all 0.2s;
}

.header__fixed-bottom-button--region:hover path,
.header__fixed-bottom-button--region:active path,
.header__fixed-bottom-button--phone:hover path,
.header__fixed-bottom-button--phone:active path {
  stroke: #000000;
}

.header__fixed-bottom-button--auth:hover path,
.header__fixed-bottom-button--auth:hover circle,
.header__fixed-bottom-button--auth:active path,
.header__fixed-bottom-button--auth:active circle {
  stroke: #000000;
}

.header__fixed-bottom-button--share:hover path,
.header__fixed-bottom-button--share:active path {
  stroke: #000000;
}

.header__fixed-bottom-button--share:hover circle,
.header__fixed-bottom-button--share:active circle {
  fill: #000000;
}

/* fixed bottom bar end */

/* logged in profile popup start */

.logged-dropdown {
  position: absolute;
  top: 35px;
  right: 0;
  min-width: 175px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
}


.logged-dropdown__header {
  padding: 20px 25px;
  background: var(--bg-color);
}

.logged-dropdown__name {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.logged-dropdown__menu {
  background: #FFFFFF;
}

.logged-dropdown__list,
.logged-dropdown__item {
  margin: 0;
  padding: 0;
}

.logged-dropdown__list {
  padding: 20px 25px;
}

.logged-dropdown__item:not(:last-of-type) {
  margin-bottom: 5px;
}

.logged-dropdown__link {
  display: flex;
  flex-direction: column;
  color: #000000 !important;
  white-space: nowrap;
}

.logged-dropdown__link::after {
  content: attr(data-text);
  visibility: hidden;
  line-height: 0;
  font-weight: 700;
}

.logged-dropdown__link:hover,
.logged-dropdown__link:focus,
.logged-dropdown__link:active {
  font-weight: 700;
}

/* logged in profile popup end */

/* product added in sidebar basket start */

.basket-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 643px;
  color: #000000;
  overflow: hidden;
}

.basket-sidebar-header {
  padding-bottom: 40px;
}

.basket-sidebar__content:not(:last-child) {
  margin-bottom: 30px;
}

.basket-sidebar__product {
  display: flex;
  align-items: center;
  column-gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px dashed #c4c4c4;
}

.basket-sidebar__product-data {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.basket-sidebar__product-image-container {
  display: block;
  flex-shrink: 0;
  max-width: 210px;
  max-height: 210px;
  border-radius: 5px;
  overflow: hidden;
}

.basket-sidebar__product-image {
  width: 100%;
  background: #f4f3f1;
}

.basket-sidebar__product-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.basket-sidebar__product-quantity {
  display: flex;
  border: 1px solid #989898;
  border-radius: 4px;
  width: 100px;
  height: 33px;
}

.basket-sidebar__product-quantity:hover {
  border-color: #000000;
}

.basket-sidebar__product-quantity-button {
  padding: 0 10px;
  border: none;
  background: none;
  color: #989898;
  font-size: 25px;
  line-height: 1;
  user-select: none;
  transition: color 0.2s;
}

.basket-sidebar__product-quantity-button:hover,
.basket-sidebar__product-quantity-button:focus,
.basket-sidebar__product-quantity-button:active {
  color: #000000;
}

.basket-sidebar__product-quantity-input {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

.basket-sidebar__product-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .basket-sidebar__product-bottom {
    flex-direction: column;
    row-gap: 20px;
  }
}

.basket-sidebar__product-price {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.basket-sidebar__order {
  margin-top: 30px;
}

.basket-sidebar__order-info {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .basket-sidebar__order-info {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
  }

  .basket-sidebar__order-caption {
    max-width: 100% !important;
  }

  .basket-sidebar__order-price-container {
    align-items: flex-start !important;
  }

  .basket-sidebar__product-image-container {
    max-width: 160px;
    max-height: 160px;
  }
}

.basket-sidebar__order-caption {
  max-width: 190px;
  color: #989898;
  font-size: 14px;
  line-height: 1.5;
}

.basket-sidebar__order-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.basket-sidebar__order-price {
  font-size: 35px;
  font-weight: 700;
}

.basket-sidebar__order-button {
  width: 100%;
  height: 50px;
  margin-top: 20px;
}

.basket-sidebar__slider-header {
  display: flex;
  justify-content: space-between;
}

.basket-sidebar__slider-title {
  font-size: 25px;
  line-height: 33px;
  font-weight: 700;
}

.basket-sidebar__slider-arrows {
  display: flex;
  column-gap: 10px;
}

.basket-sidebar__slider-arrow.swiper-button-prev {
  margin-right: 20px;
}

.basket-sidebar__slider-arrow {
  position: relative;
  padding: 0;
  border: none;
  background: none;
}

.basket-sidebar__slider-arrow svg {
  display: block;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.basket-sidebar__slider-arrow:hover svg {
  opacity: 1;
}

.basket-sidebar__slider-arrow:hover svg circle {
  fill: none !important;
}

.basket-sidebar__slider-arrow:hover svg path {
  fill: #000000 !important;
}

.basket-sidebar__slider-container {
  margin-top: 30px;
}

.basket-sidebar__slider-wrapper {
  display: flex;
  align-items: flex-end;
  grid-gap: 20px;
}

.basket-sidebar__slider-item {
  display: grid;
  flex-shrink: 0;
  width: 210px;
}

.basket-sidebar__slider-image {
  width: 100%;
  background: #f4f3f1;
}

.basket-sidebar__slider-item-title {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #000000 !important;
  min-height: 42px;
}

.basket-sidebar__slider-item-price-container {
  margin-top: 5px;
}

.basket-sidebar__slider-item-price {
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
}

.basket-sidebar__slider-item-price-discount {
  margin-left: 10px;
  color: #989898;
  text-decoration: line-through;
  font-size: 16px;
  line-height: 24px;
}

.basket-sidebar__slider-item-add {
  width: 100%;
  height: 42px;
  margin-top: 10px;
}

.basket-sidebar__slider-track {
  margin-top: 30px;
  height: 1px;
  background: #989898;
}

.basket-sidebar__slider-track .swiper-scrollbar-drag {
  position: relative;
  top: -500%;
  height: 1px;
  cursor: pointer;
  padding: 5px 0 7px;
  background: none;
}

.basket-sidebar__slider-track .swiper-scrollbar-drag::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #404040;
  transition: height 0.1s;
}

.basket-sidebar__slider-track .swiper-scrollbar-drag:hover,
.basket-sidebar__slider-track .swiper-scrollbar-drag:active {
  top: -600%;
}

.basket-sidebar__slider-track .swiper-scrollbar-drag:hover::after,
.basket-sidebar__slider-track .swiper-scrollbar-drag:active::after {
  height: 3px;
}

/* product added in sidebar basket end */

.logo--mobile {
  display: none;
  width: 130px;
  height: 36px;
  background-image: url("/include/sotbit_origami/images/logo_mobile.svg");
  background-size: contain;
}

@media (max-width: 1024px) {
  .logo--mobile {
    display: block;
  }

  .header__logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__logo-container .header__logo,
  .header__logo-container [alt="logo"] {
    display: none;
  }
}

@media (max-width: 320px) {
  .logo--mobile {
    width: 112px;
    height: 31px;
  }
}