body {
  font-family: "Roboto", sans-serif;
}

.display {
  letter-spacing: 1px;
  color: #14142b;
}
.display_large {
  font-size: 32px;
  line-height: 34px;
  font-weight: 700;
}
.display_large.display_bold {
  font-size: 64px;
  line-height: 66px;
}
@media screen and (max-width: 768px) {
  .display_large.display_bold {
    font-weight: 700;
  }
}
@media screen and (max-width: 768px) {
  .display_large {
    font-weight: 400;
  }
  .display_large, .display_large.display_bold {
    font-size: 48px;
    line-height: 50px;
  }
}
.display_medium {
  font-size: 42px;
  line-height: 50px;
  font-weight: 400;
}
.display_medium.display_bold {
  font-size: 48px;
  line-height: 50px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .display_medium, .display_medium.display_bold {
    font-size: 32px;
    line-height: 36px;
  }
}
.display_small {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.display_small.display_bold {
  font-size: 32px;
  line-height: 34px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .display_small, .display_small.display_bold {
    font-size: 24px;
    line-height: 32px;
  }
}

.text {
  letter-spacing: 0.75px;
  font-weight: 300;
  font-size: 18px;
  color: #4e4b66;
}
.text_large {
  line-height: 24px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .text_large {
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
  }
}
.text_medium {
  line-height: 28px;
}
@media screen and (max-width: 768px) {
  .text_medium {
    font-size: 16px;
  }
}
.text_small {
  font-size: 16px;
  line-height: 22px;
}
@media screen and (max-width: 768px) {
  .text_small {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
  }
}
.text_x-small {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.25px;
}
@media screen and (max-width: 768px) {
  .text_x-small {
    font-size: 13px;
    line-height: 22px;
  }
}

.link {
  color: #14142b;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-decoration: none;
}
.link:hover {
  text-decoration: none;
  color: #14142b;
}
.link_large {
  font-size: 24px;
  line-height: 38px;
}
@media screen and (max-width: 768px) {
  .link_large {
    font-size: 20px;
    line-height: 32px;
  }
}
.link_medium {
  font-size: 18px;
  line-height: 34px;
}
@media screen and (max-width: 768px) {
  .link_medium {
    font-size: 16px;
    line-height: 28px;
  }
}
.link_small {
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}
@media screen and (max-width: 768px) {
  .link_small {
    font-size: 14px;
    line-height: 26px;
    font-weight: 600;
  }
}
.link_x-small {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.25px;
}
@media screen and (max-width: 768px) {
  .link_x-small {
    font-size: 13px;
    line-height: 22px;
  }
}

.header {
  z-index: 3;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  align-items: center;
  margin-bottom: 5px;
}
.header .search_mobile {
  display: none;
}
.header .search_mobile .search__toggle {
  display: none;
}
.header__search_mobile__show .search_mobile {
  display: block;
}
.header__logotype {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  align-items: flex-start;
}
.header__logotype:hover {
  text-decoration: none;
}
.header__logotype-title {
  display: none;
  color: #6e7191;
  letter-spacing: 0.25px;
  font-weight: 300;
  font-size: 12px;
  line-height: 13px;
  margin-bottom: 0;
  max-width: min-content;
  text-align: center;
}
.header__logotype-image {
  max-width: 109px;
  max-height: 47px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.header__user {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end;
  color: #4e4b66;
  font-size: 14px;
  margin-bottom: 0;
  margin-right: 0;
  line-height: 20px;
}
.header__user:hover {
  color: #14142b;
}
.header__user-image {
  display: block;
  border-radius: 100%;
  max-width: 28px;
  max-height: 28px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header__user-field {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 42px;
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
}
.header__login {
  border: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: transparent;
  padding: 0;
  color: #000000;
  letter-spacing: 0.25px;
}
.header__login .navigation__icon {
  display: none;
}
.header__login:hover .navigation__icon {
  color: #14142b;
  fill: #14142b;
}
.header__navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__navigation .navigation .navigation__item:not(.navigation__profile) {
  display: none;
}
.header__username {
  display: none;
  margin-bottom: 0;
}
.header__search.search {
  max-width: 240px;
  display: flex;
  align-items: center;
}
.header__search.search .search__input {
  display: none;
}
.header__search.search .search__button {
  display: none;
}
.header__search.search .search__clear {
  display: none;
}
.header__container {
  width: 100%;
  max-width: 980px;
  padding: 12px;
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (min-width: 992px) {
  .header .header__container {
    gap: 72px;
  }
  .header .header__logotype {
    flex-grow: unset;
    align-items: center;
  }
  .header .header__navigation {
    gap: 12px;
  }
}
@media screen and (min-width: 768px) {
  .header {
    margin-bottom: 40px;
  }
  .header__logotype-title {
    display: block;
  }
  .header__login {
    border-bottom: 2px solid transparent;
  }
  .header__username {
    display: block;
  }
  .header__search.search .search__input {
    display: block;
  }
  .header__search.search .search__button {
    display: block;
    position: absolute;
  }
  .header__search.search .search__toggle {
    display: none;
  }
  .header__search.search .search__clear {
    display: block;
  }
  .header__login .navigation__icon {
    display: block;
  }
  .header__search_mobile__show .search_mobile {
    display: none;
  }
  .header__container {
    flex-wrap: nowrap;
  }
  .header__navigation {
    flex-grow: 1;
    justify-content: space-between;
  }
  .header__navigation .navigation .navigation__item:not(.navigation__profile) {
    display: block;
  }
}

.footer {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 980px;
  padding: 28px 12px;
}
.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  letter-spacing: 0.25px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
  margin-bottom: 8px;
}
.footer__social:hover {
  text-decoration: none;
  color: #000000;
}
.footer__button {
  padding: 0;
  border: none;
  background-color: transparent;
  color: #2a00a2;
  letter-spacing: 0.25px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 8px;
}
.footer__button:hover {
  text-decoration: none;
  color: #2a00a2;
}
.footer__email {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #000000;
  margin-bottom: 20px;
}
.footer__email:hover {
  text-decoration: none;
  color: #000000;
}
.footer__navigation {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style-type: none;
  padding-left: 0;
  line-height: 20px;
}
.footer__doc {
  text-align: center;
}
.footer__link {
  font-weight: 300;
  font-size: 13px;
  line-height: 22px;
  letter-spacing: 0.25px;
  color: #000000;
}
.footer__link:hover {
  text-decoration: none;
  color: #000000;
}
.footer__copyright {
  margin-bottom: 0;
  font-weight: 300;
  font-size: 13px;
  line-height: 22px;
  letter-spacing: 0.25px;
  color: #000000;
}
.footer__vk-logo {
  padding: 12px 8px;
  border: 1px solid #000000;
  border-radius: 8px;
  max-width: 38px;
  max-height: 38px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (min-width: 768px) {
  .footer__container {
    padding-top: 36px;
    padding-bottom: 36px;
    display: grid;
    grid-row-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__copyright {
    grid-column-start: 1;
    grid-row-start: 1;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #000000;
  }
  .footer__email {
    grid-template-columns: 1;
    grid-row-start: 2;
    margin-bottom: 0;
  }
  .footer__button {
    grid-template-columns: 1;
    grid-row-start: 3;
    margin-bottom: 0;
    justify-self: start;
  }
  .footer__navigation {
    grid-template-columns: 3;
    grid-row-start: 1;
    grid-row-end: 4;
    margin-bottom: 0;
    font-size: 14px;
    gap: 8px;
  }
  .footer__social {
    grid-template-columns: 2;
    grid-row-start: 1;
    grid-row-end: 4;
    margin-bottom: 0;
    width: max-content;
    justify-self: center;
    align-self: flex-start;
  }
  .footer__doc {
    text-align: right;
  }
  .footer__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
  }
}

.button {
  display: block;
  width: max-content;
  height: max-content;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.75px;
  border-radius: 40px;
  border: none;
}
.button:hover {
  text-decoration: none;
}
.button_large {
  color: #14142b;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-decoration: none;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  padding: 18px 32px;
}
@media screen and (max-width: 768px) {
  .button_large {
    font-size: 14px;
    line-height: 26px;
    font-weight: 600;
  }
}
.button_medium {
  color: #14142b;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-decoration: none;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  padding: 14px 32px;
}
@media screen and (max-width: 768px) {
  .button_medium {
    font-size: 14px;
    line-height: 26px;
    font-weight: 600;
  }
}
.button_small {
  color: #14142b;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.25px;
  padding: 8px 24px;
}
@media screen and (max-width: 768px) {
  .button_small {
    font-size: 13px;
    line-height: 22px;
  }
}
.button_large, .button_medium {
  font-size: 16px;
  line-height: 28px;
}
.button_large, .button_medium, .button_small {
  font-weight: 600;
}
.button_primary {
  background-color: #5f2eea;
  color: #f7f7fc;
}
.button_primary:hover {
  background-color: #2a00a2;
  color: #ffffff;
}
.button_primary:focus {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  -moz-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  background-color: #5f2eea;
}
.button_primary:active {
  background-color: #14142b;
}
.button_secondary {
  border: 2px solid #5f2eea;
  color: #5f2eea;
}
.button_secondary:hover {
  border-color: #2a00a2;
  color: #2a00a2;
}
.button_secondary:focus {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  -moz-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  box-shadow: 0px 0px 0px 8px rgb(239, 240, 255);
}
.button_secondary:active {
  border-color: #14142b;
  color: #14142b;
}
.button_subtle {
  border: 2px solid #d9dbe9;
  color: #5f2eea;
}
.button_subtle:hover {
  color: #2a00a2;
}
.button_subtle:focus {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  -moz-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  box-shadow: 0px 0px 0px 8px rgb(239, 240, 255);
}
.button_subtle:active {
  color: #14142b;
}
.button_text {
  color: #5f2eea;
}
.button_text:hover {
  color: #2a00a2;
}
.button_text:focus {
  background-color: #f7f7fc;
}
.button_text:active {
  color: #14142b;
}
.button:focus {
  outline: none;
}
.button.button_disabled {
  opacity: 0.5;
  pointer-events: none;
}
.button:disabled {
  opacity: 0.5;
}

.input {
  font-size: 16px;
  letter-spacing: 0.75px;
  line-height: 28px;
  min-height: 64px;
  border: none;
  background-color: #eff0f7;
  border-radius: 16px;
  font-family: "Roboto", sans-serif;
  padding-bottom: 12px !important;
}
.input_large {
  padding: 18px 24px;
}
.input_small {
  padding: 6px 24px;
}
.input::placeholder {
  color: #a0a3bd;
}
.input__placeholder {
  position: absolute;
  pointer-events: none;
  left: 24px;
  top: 0;
  bottom: 0;
  transition: 0.2s ease all;
  color: #a0a3bd;
  display: flex;
  align-items: center;
}
.input:focus {
  outline: 2px solid #14142b;
  background-color: #fcfcfc;
}
.input:focus ~ a .icon {
  stroke: #000000;
  color: #000000;
}

.input:focus ~ .input__placeholder,
.input:not(:focus):not(:placeholder-shown) ~ .input__placeholder {
  font-weight: 500;
  color: #6e7191;
  font-size: 14px;
  margin: unset;
  top: 12px;
  height: fit-content;
}

.input:focus,
.input:not(:focus):not(:placeholder-shown) {
  padding-top: 24px !important;
}

.item-card {
  position: relative;
}
.item-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.item-card__price {
  display: flex;
  align-items: flex-end;
}
.item-card__old-price {
  color: #a0a3bd;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  position: relative;
  padding-left: 8px;
}
.item-card__old-price::before {
  content: "";
  border-bottom: 1px solid #a0a3bd;
  position: absolute;
  width: 100%;
  height: 50%;
  transform: rotate(-12deg);
}
.item-card__bought {
  padding: 6px;
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #ed2e7e;
  border-radius: 100%;
}
.item-card__bought .icon {
  width: 18px;
  height: 18px;
  stroke: #f7f7fc;
  color: #f7f7fc;
}
.item-card__no_image {
  height: 100%;
  background-color: #eff0f7;
}
.item-card__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  color: #eff0f7;
}
.item-card__cover {
  position: relative;
  margin-bottom: 6px;
  width: 100%;
  aspect-ratio: 21/26;
}
.item-card__name {
  margin-bottom: 8px;
}
.item-card__difficulty {
  display: flex;
  position: absolute;
  padding: 8px;
  bottom: 0;
}
.item-card__difficulty .difficulty {
  flex-direction: row-reverse;
}

.difficulty {
  display: flex;
}
.difficulty__level {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fcfcfc;
  border: 2px solid #a0a3bd;
}
.difficulty__level:not(:last-child) {
  margin-left: 6px;
}
.difficulty__level_active {
  border-color: #5f2eea;
}

.search {
  position: relative;
}
.search__input {
  width: 100%;
  padding: 8px 64px 8px 64px;
  border: none;
  background-color: #eff0f7;
  border-radius: 16px;
  letter-spacing: 0.75px;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
}
.search__input::-webkit-search-cancel-button {
  display: none;
}
.search__input::placeholder {
  color: #a0a3bd;
}
.search__icon {
  width: 20px;
  height: 20px;
}
.search__button {
  padding: 0;
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
}
.search__toggle {
  padding: 0;
  background-color: transparent;
  border: none;
}
.search__toggle_off {
  display: none;
}
.search__clear {
  padding: 0;
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 24px;
}
.search_mobile {
  width: 100%;
}
.search_mobile .search__input {
  padding-top: 16px;
  padding-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .search_mobile {
    display: none;
  }
}

.user {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 17px;
  text-decoration: none;
  letter-spacing: 0.75px;
  color: #000000;
  text-align: right;
  font-weight: 300;
}
.user__name {
  margin-right: 12px;
  word-spacing: 100vw;
  max-width: min-content;
}
.user__image {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 100%;
}

.item-card .user,
.item .user {
  margin-bottom: 8px;
}
.item-card .user__name,
.item .user__name {
  order: 2;
  margin-right: 0;
  word-spacing: unset;
  text-align: left;
  max-width: fit-content;
}
.item-card .user__image,
.item .user__image {
  order: 1;
  margin-right: 12px;
}

.item .user {
  margin-bottom: unset;
}

.toggle {
  margin-bottom: 0;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 36px;
  line-height: 24px;
  cursor: pointer;
}
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.toggle input:checked + .slider {
  background-color: #5f2eea;
}
.toggle input:checked + .slider::before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}
.toggle input:checked:hover + .slider {
  background-color: #2a00a2;
}
.toggle input:checked:focus + .slider {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  -moz-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
}
.toggle input:not(:checked):hover:not(:disabled) + .slider {
  background-color: #a0a3bd;
}
.toggle input:not(:checked):focus + .slider {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  -moz-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
}
.toggle input:disabled + .slider {
  opacity: 0.4;
}
.toggle .slider {
  position: absolute;
  cursor: pointer;
  left: 0;
  right: 0;
  width: 40px;
  height: 24px;
  background-color: #d9dbe9;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 40px;
}
.toggle .slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #f7f7fc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}
.toggle_small input:checked + .slider::before {
  -webkit-transform: translateX(10px);
  -ms-transform: translateX(10px);
  transform: translateX(10px);
}
.toggle_small .slider {
  width: 26px;
  height: 15px;
}
.toggle_small .slider::before {
  height: 11px;
  width: 11px;
  top: 2px;
  bottom: 2px;
}

.tooltip-custom {
  position: relative;
}
.tooltip-custom__text {
  position: absolute;
  z-index: 2;
  visibility: hidden;
  background-color: #4e4b66;
  padding: 16px 24px;
  color: #fcfcfc;
  font-size: 16px;
  line-height: 28px;
  border-radius: 16px;
  letter-spacing: 0.75px;
  font-weight: 400;
  max-width: 336px;
  top: 150%;
  left: -150%;
}
.tooltip-custom__text::after {
  content: " ";
  position: absolute;
  bottom: 90%;
  left: 24px;
  margin-left: -24px;
  border-width: 28px;
  border-style: solid;
  border-color: transparent transparent #4e4b66 transparent;
}
.tooltip-custom:hover .tooltip-custom__text {
  visibility: visible;
}

.loader {
  display: flex;
  justify-content: center;
  padding-top: 86px;
  opacity: 0;
}
.loader__icon {
  stroke: #bca4ff;
  color: #bca4ff;
  width: 58px;
  height: 58px;
}

.loader.show {
  opacity: 1;
}

@-webkit-keyframes loader /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loader {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.loader__icon {
  -webkit-animation: loader 2s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -ms-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 2s linear infinite;
}

.checkbox {
  display: block;
  line-height: 32px;
  position: relative;
  padding-left: 50px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  cursor: pointer;
}
.checkbox input:checked ~ .checkmark {
  background-color: #5f2eea;
}
.checkbox input:checked ~ .checkmark::after {
  display: block;
}
.checkbox input:disabled ~ .checkmark {
  opacity: 0.5;
  cursor: default;
}
.checkbox input:focus:not(:checked) ~ .checkmark {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  -moz-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
}
.checkbox input:focus:checked ~ .checkmark {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  -moz-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
}
.checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 32px;
  width: 32px;
  background-color: #d9dbe9;
  border-radius: 50%;
  cursor: pointer;
}
.checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxNCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDFMNC43NSAxMEwxIDUuOTA5MDkiIHN0cm9rZT0iI0Y3RjdGQyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
}
.checkbox:hover input:not(:disabled):not(:checked) ~ .checkmark {
  background-color: #a0a3bd;
}
.checkbox:hover input:not(:disabled):checked ~ .checkmark {
  background-color: #2a00a2;
}

.radio {
  display: block;
  line-height: 32px;
  position: relative;
  padding-left: 50px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.radio input {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0;
  cursor: pointer;
}
.radio input:checked ~ .checkmark {
  background-color: #5f2eea;
}
.radio input:checked ~ .checkmark::after {
  display: block;
}
.radio input:disabled ~ .checkmark {
  opacity: 0.5;
  cursor: default;
}
.radio input:focus:not(:checked) ~ .checkmark {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  -moz-box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
  box-shadow: 0px 0px 0px 8px rgb(239, 240, 246);
}
.radio input:focus:checked ~ .checkmark {
  -webkit-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  -moz-box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
  box-shadow: 0px 0px 0px 8px rgb(228, 218, 255);
}
.radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 32px;
  width: 32px;
  background-color: #d9dbe9;
  border-radius: 50%;
  cursor: pointer;
}
.radio .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f7f7fc;
}
.radio:hover input:not(:disabled):not(:checked) ~ .checkmark {
  background-color: #a0a3bd;
}
.radio:hover input:not(:disabled):checked ~ .checkmark {
  background-color: #2a00a2;
}

.item-gallery {
  position: relative;
  margin-right: 56px;
  flex: 1;
  display: flex;
}
.item-gallery__unit {
  display: none;
}
@media screen and (max-width: 768px) {
  .item-gallery__unit {
    display: block;
  }
}
.item-gallery__left {
  margin-right: 28px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .item-gallery__left {
    margin-right: 0;
    width: 100%;
  }
}
.item-gallery__left .tns-outer {
  position: relative;
}
.item-gallery__left .tns-outer .tns-ovh {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .item-gallery__left .tns-outer .tns-ovh {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {
  .item-gallery__main {
    display: none;
  }
}
.item-gallery__main .item-image__hide {
  display: none;
}
.item-gallery__main img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .item-gallery {
    margin-bottom: 28px;
    margin-right: 0;
  }
}
.item-gallery__images {
  padding-left: 0;
}
@media screen and (min-width: 768px) {
  .item-gallery__images {
    display: grid;
    grid-row-gap: 8px;
    grid-template-columns: min-content auto;
  }
}
.item-gallery__item {
  position: relative;
  height: 340px;
  list-style: none;
  width: 70px;
  margin-right: 24px;
}
@media screen and (max-width: 768px) {
  .item-gallery__item {
    width: 100%;
  }
}
.item-gallery__item a:focus {
  outline: 2px solid #5f2eea;
}
@media screen and (min-width: 768px) {
  .item-gallery__item:not(.item-gallery__item_main) {
    grid-column: 1;
    height: 86px;
  }
}
.item-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-gallery__item_main {
  grid-row-start: 1;
  grid-column: 2;
  grid-row-end: 12;
  width: 100%;
  max-width: 360px;
  margin-right: 0;
}
.item-gallery__item_main:first-child {
  max-width: 360px;
}
@media screen and (min-width: 768px) {
  .item-gallery__item_main {
    height: 450px;
  }
  .item-gallery__item_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.item-gallery__item a,
.item-gallery__item img {
  display: block;
}
.item-gallery__item a {
  height: 100%;
}
@media screen and (min-width: 768px) {
  .item-gallery__item {
    display: unset;
  }
}
@media screen and (max-width: 768px) {
  .item-gallery__item {
    padding-right: 32px;
    padding-left: 32px;
  }
  .item-gallery__item:not(:first-child) {
    display: none;
  }
}
.item-gallery__caption {
  display: none;
  position: absolute;
  right: 0;
  left: 0;
  padding: 6px 16px;
  background-color: #a0a3bd;
  border-radius: 16px;
  color: #ffffff;
  width: fit-content;
  bottom: 12px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .item-gallery__caption {
    display: unset;
  }
}
.item-gallery__action {
  display: none;
}
@media screen and (max-width: 768px) {
  .item-gallery__action {
    display: unset;
  }
}
.item-gallery__back, .item-gallery__next {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  stroke: #14142b;
  color: #14142b;
}
.item-gallery__back {
  left: 0;
}
.item-gallery__next {
  right: 0;
}

.item-gallery__thumbnail {
  display: grid;
  grid-row-gap: 12px;
  padding-left: 0;
  list-style-type: none;
}
.item-gallery__thumbnail-controls {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}
.item-gallery__thumbnail-controls li {
  display: flex;
  justify-content: center;
}
.item-gallery__thumbnail-controls li .icon {
  transform: rotate(90deg);
  cursor: pointer;
  stroke: #14142b;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail-controls li .icon {
    transform: rotate(0deg);
  }
}
.item-gallery__thumbnail-controls li[aria-disabled=true]:not(:first-child) {
  padding-top: 12px;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail-controls li[aria-disabled=true]:not(:first-child) {
    padding-top: 0;
  }
}
.item-gallery__thumbnail-controls li[aria-disabled=true] .icon {
  stroke: #a0a3bd;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail-controls .next {
    bottom: 0;
    top: 0;
    right: 0;
    position: absolute;
    align-items: center;
  }
}
.item-gallery__thumbnail-controls .prev {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail-controls .prev {
    bottom: 0;
    right: unset;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail {
    grid-row-gap: 0;
  }
}
.item-gallery__thumbnail .tns-item {
  position: relative;
}
.item-gallery__thumbnail .tns-item img {
  width: 70px;
  height: 86px;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail .tns-item img {
    width: 100%;
    height: 340px;
    padding-left: 28px;
    padding-right: 28px;
  }
}
.item-gallery__thumbnail .tns-item a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.item-gallery__thumbnail .img__current {
  outline: 2px solid #5f2eea;
  outline-offset: -2px;
}
@media screen and (max-width: 768px) {
  .item-gallery__thumbnail .img__current {
    outline: unset;
    outline-offset: unset;
  }
}

@media screen and (max-width: 768px) {
  .tns-moving {
    -webkit-transition: all 4.25s;
    -moz-transition: all 4.25s;
    transition: all 4.25s;
  }
}
.header-page__subtitle {
  flex: 100%;
  color: #a0a3bd;
}

.filter {
  display: none;
  justify-content: space-between;
  margin-bottom: 46px;
}
.filter.open {
  display: flex;
}
.filter .difficulty {
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .filter .difficulty {
    justify-content: flex-end;
  }
}
.filter .difficulty__level {
  margin-left: 0;
}
.filter .difficulty__level:hover, .filter .difficulty__level:hover ~ .difficulty__level {
  border-color: #5f2eea;
}
.filter .difficulty__level:not(:first-child) {
  margin-right: 6px;
}
.filter__heading {
  margin-bottom: 4px;
}
.filter__item:first-child {
  max-width: 600px;
}
.filter__item:not(:last-child) {
  margin-right: 32px;
}
@media screen and (max-width: 768px) {
  .filter__item:not(:last-child) {
    margin-right: unset;
    margin-bottom: 12px;
  }
}
.filter__size {
  position: relative;
  flex: 1;
}
.filter__category {
  flex: 2;
}
@media screen and (max-width: 768px) {
  .filter {
    flex-direction: column;
  }
}

.category-list__category:nth-child(n+9):not(.category-list__more) {
  display: none;
}
.category-list__more .tag {
  cursor: pointer;
}
.category-list #test {
  display: none;
}
.category-list #test:checked ~ .category-list__category {
  display: unset;
}
.category-list #test:checked ~ .category-list__more {
  display: none;
}

.category {
  margin-bottom: 0;
}
.category input {
  display: none;
}
.category input:checked + span {
  color: #2a00a2;
  background-color: #e4daff;
}
.category span {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #eff0f6;
  border-radius: 40px;
  width: max-content;
  cursor: pointer;
}
.category span:hover {
  color: #2a00a2;
  background-color: #e4daff;
}

.size-table {
  display: none;
  position: relative;
}
.size-table.open {
  display: block;
}
.size-table__container {
  display: flex;
  background-color: #ffffff;
  position: absolute;
  z-index: 2;
  border-radius: 20px;
  padding: 48px;
  right: 0;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 768px) {
  .size-table__container {
    flex-direction: column;
    left: 0;
  }
}
.size-table__type {
  list-style: none;
}
.size-table__type:not(:last-child) {
  margin-right: 48px;
}
@media screen and (max-width: 768px) {
  .size-table__type:not(:last-child) {
    margin-right: 0;
    margin-bottom: 32px;
  }
}
.size-table__title {
  margin-bottom: 16px;
}
.size-table__close {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 3;
  cursor: pointer;
}
.size-table__close .icon {
  stroke: #14142b;
  color: #14142b;
}
.size-table__list {
  display: grid;
  grid-template-columns: repeat(4, min-content);
  grid-column-gap: 8px;
  grid-row-gap: 10px;
  padding-left: 0;
  list-style: none;
}
.size-table__list .tag {
  cursor: pointer;
  color: #4e4b66;
}
.size-table input:checked ~ .tag {
  color: #2a00a2;
  background-color: #e4daff;
}

.tag {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #eff0f6;
  border-radius: 40px;
  width: max-content;
  cursor: default;
}
.tag_selected {
  color: #2a00a2;
  background-color: #e4daff;
}
.tag__close {
  margin-left: 6px;
  display: inline-block;
  cursor: pointer;
}

.size__button {
  color: #2a00a2;
  text-decoration: none;
  cursor: pointer;
}
.size__button:hover {
  text-decoration: none;
  color: #2a00a2;
}

.modal-dialog {
  max-width: 467px;
}
@media screen and (max-width: 768px) {
  .modal-dialog {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 0;
    height: inherit;
  }
}
.modal__input {
  position: relative;
  margin-bottom: 16px;
  display: flex;
}
.modal-content {
  background-color: #ffffff;
  border-radius: 20px;
  border: none;
  align-items: center;
  padding: 64px 32px 32px 32px;
}
@media screen and (max-width: 768px) {
  .modal-content {
    align-self: flex-end;
    border-radius: 24px 24px 0 0;
    padding-bottom: 56px;
    padding-top: 56px;
  }
}
.modal__link {
  margin-bottom: 0;
  border: none;
  padding: 0;
  width: fit-content;
  background-color: transparent;
}
.modal__link:hover {
  text-decoration: none;
  color: #4e4b66;
}
.modal__button:not(:last-child) {
  margin-bottom: 48px;
}
.modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.modal-body form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-body hr {
  width: 100%;
  border-top: 1px solid #a0a3bd;
  margin-bottom: 42px;
  margin-top: 18px;
}
.modal-body .text {
  text-align: center;
}
.modal-body .text:not(:last-child) {
  margin-bottom: 24px;
}
.modal-body .text strong {
  font-weight: 700;
}
.modal-body .modal__input:not(:last-child) {
  margin-bottom: 16px;
}
.modal-body .modal__input,
.modal-body .modal__button {
  max-width: 240px;
  width: 100%;
  border: none;
}
.modal-header {
  border: none;
  padding: 0;
}
.modal-header h5 {
  text-align: center;
  max-width: 300px;
}
.modal-header h5:not(:last-child) {
  margin-bottom: 32px;
}
.modal-header .close {
  position: absolute;
  margin: 0;
  padding: 0;
  top: 24px;
  right: 32px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgNkwxOC43NzQyIDE4Ljc3NDIiIHN0cm9rZT0iIzE0MTQyQiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTYgMTguNzc0MkwxOC43NzQyIDUuOTk5OTgiIHN0cm9rZT0iIzE0MTQyQiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
}
@media screen and (max-width: 768px) {
  .modal-header .close {
    top: 24px;
    right: 24px;
  }
}
.modal-title {
  text-align: center;
  max-width: 300px;
}
.modal-title:not(:last-child) {
  margin-bottom: 32px;
}

.form_login__step_1, .form_login__step_2,
.form_confirm__step_1,
.form_confirm__step_2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form_login_template__hidden,
.form_confirm_template__hidden {
  display: none;
}

.form_login .modal__input {
  margin-bottom: 0 !important;
}
.form_login input {
  max-width: inherit;
}
.form_login .button {
  margin-top: 16px;
}
.form_login__step_2 .button {
  margin-bottom: 8px;
}
.form_login__change_contact {
  border: none;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  color: #4e4b66;
  font-size: 13px;
  margin-bottom: 48px;
}
.form_login__message {
  margin-top: 4px;
  font-size: 12px;
}
.form_login__message_error {
  color: #ff0000;
}

.pattern-catalog {
  background-color: #fcfcfc;
  display: flex;
  flex-direction: column;
  position: relative;
  height: max-content;
}
.pattern-catalog_hide-mobile {
  display: none;
}
.pattern-catalog_open .pattern-catalog__navigation {
  display: block;
}
.pattern-catalog__back {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.75px;
  color: #6e7191;
}
.pattern-catalog__back .icon {
  width: 12px;
  height: 12px;
}
.pattern-catalog__collapse {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.75px;
  color: #6e7191;
}
.pattern-catalog__collapse .icon {
  width: 14px;
  height: 12px;
}
.pattern-catalog__subcategory {
  margin-bottom: 0;
  flex-basis: 100%;
  display: flex;
  font-weight: 300;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.75px;
  color: #a0a3bd;
  width: min-content;
}
.pattern-catalog__navigation {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #ffffff;
  z-index: 2;
  width: auto;
}
.pattern-catalog__navigation header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 20px;
  border-bottom: 1px solid #f3efff;
}
.pattern-catalog__navigation header .pattern-catalog__heading {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #6e7191;
  letter-spacing: 0.75px;
}
.pattern-catalog__header > .pattern-catalog__heading {
  display: none;
}
.pattern-catalog__header_mobile {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pattern-catalog__header_mobile .pattern-catalog__count {
  padding-left: 4px;
  align-self: flex-start;
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.75px;
  color: #6e7191;
}
.pattern-catalog__header-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.pattern-catalog__icon {
  stroke: none;
  width: 16px;
  height: 12px;
  fill: #14142b;
}
.pattern-catalog__heading {
  color: #14142b;
  letter-spacing: 0.75px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  margin-bottom: 0;
}
.pattern-catalog__category-list, .pattern-catalog__item-list {
  padding-left: 0;
  list-style-type: none;
  margin-bottom: 0;
}
.pattern-catalog__count {
  color: #6e7191;
  font-weight: 300;
  font-size: 13px;
}
.pattern-catalog__link {
  padding: 0;
  border: none;
  background-color: transparent;
  width: 100%;
  color: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
  gap: 16px;
  transition: all 0.1s ease-out;
}
.pattern-catalog__link:hover {
  color: inherit;
  text-decoration: none;
  background-color: #e4daff;
  color: #14142b;
}
.pattern-catalog__link:hover .pattern-catalog__count {
  color: inherit;
}
.pattern-catalog__category-name {
  color: #14142b;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 100%;
}
.pattern-catalog__category:not(.pattern-catalog__category_open) .pattern-catalog__item-list {
  display: none;
}
.pattern-catalog__category:not(:last-of-type) {
  border-bottom: 1px solid #f3efff;
}
.pattern-catalog__category:not(:last-of-type) .pattern-catalog__item-list {
  padding-bottom: 14px;
}
.pattern-catalog__category:last-of-type:not(.pattern-catalog__category_open) .pattern-catalog__link {
  border-radius: 0 0 5px 5px;
}
.pattern-catalog__category:last-of-type.pattern-catalog__category_open .pattern-catalog__item:last-of-type .pattern-catalog__link {
  border-radius: 0 0 5px 5px;
}
.pattern-catalog__category > .pattern-catalog__link {
  padding-top: 16px;
  padding-bottom: 16px;
  letter-spacing: 0.75px;
}
.pattern-catalog__category > .pattern-catalog__link .pattern-catalog__count {
  line-height: 20px;
}
.pattern-catalog__item {
  color: #4e4b66;
  font-size: 14px;
  line-height: 143%;
  letter-spacing: 0.25px;
}
.pattern-catalog__item_active .pattern-catalog__link {
  color: inherit;
  text-decoration: none;
  background-color: #e4daff;
  color: #14142b;
}
.pattern-catalog__item_active .pattern-catalog__link .pattern-catalog__count {
  color: inherit;
}
.pattern-catalog__item .pattern-catalog__link {
  padding-top: 6px;
  padding-bottom: 6px;
  letter-spacing: 0.25px;
}
.pattern-catalog__item .pattern-catalog__count {
  line-height: 18px;
}
@media screen and (min-width: 768px) {
  .pattern-catalog {
    border-radius: 5px;
  }
  .pattern-catalog_hide-mobile {
    display: flex;
  }
  .pattern-catalog__header_mobile {
    display: none;
  }
  .pattern-catalog__heading {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6e7191;
  }
  .pattern-catalog__header {
    border-bottom: 1px solid #f3efff;
    padding: 8px 20px;
  }
  .pattern-catalog__header > .pattern-catalog__heading {
    display: block;
  }
  .pattern-catalog__navigation {
    display: block;
    position: initial;
    border-radius: 0 0 5px 5px;
  }
  .pattern-catalog__navigation header {
    display: none;
  }
}

.navigation__icon {
  max-width: 42px;
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  stroke: unset;
  color: unset;
  color: #6e7191;
  fill: #6e7191;
}
.navigation__list {
  list-style-type: none;
  display: flex;
  gap: 30px;
  padding-left: 0;
  margin-bottom: 0;
}
.navigation__item {
  border-bottom: 2px solid transparent;
  display: flex;
}
.navigation__item_active {
  border-color: #14142b;
}
.navigation__item_active .navigation__link {
  color: #14142b;
  font-weight: 500;
}
.navigation__item_active .navigation__icon {
  color: #14142b;
  fill: #14142b;
}
.navigation__button {
  border: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: transparent;
  padding: 0;
}
.navigation__button:hover .navigation__icon {
  color: #14142b;
  fill: #14142b;
}
.navigation__link {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4e4b66;
  font-size: 14px;
  line-height: 20px;
}
.navigation__link:hover {
  text-decoration: none;
  color: #14142b;
}
.navigation__link:hover .navigation__icon {
  color: #14142b;
  fill: #14142b;
}

.navigation-bar {
  background-color: #ffffff;
  z-index: 1;
  position: sticky;
  bottom: 0;
  width: 100%;
}
.navigation-bar__item-title {
  margin-bottom: 0;
  border-bottom: 1px solid transparent;
}
.navigation-bar__list {
  list-style-type: none;
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 16px;
}
.navigation-bar .navigation__item {
  flex-basis: 100%;
  border-bottom: none;
}
.navigation-bar .navigation__item_active .navigation-bar__item-title {
  border-color: #14142b;
}
.navigation-bar .navigation__item:first-of-type .navigation__link {
  padding-left: 12px;
}
.navigation-bar .navigation__item:last-of-type .navigation__link {
  padding-right: 12px;
}
.navigation-bar .navigation__link {
  font-size: 12px;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 100%;
}
.navigation-bar .navigation__icon {
  max-width: 32px;
}
@media screen and (min-width: 768px) {
  .navigation-bar {
    display: none;
  }
}

.pattern-filter {
  position: relative;
}
.pattern-filter__container {
  display: flex;
  justify-content: flex-end;
  background-color: #fcfcfc;
  border-radius: 5px;
}
.pattern-filter_open .pattern-filter__navigation {
  display: block;
}
.pattern-filter__collapse {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.75px;
  color: #6e7191;
}
.pattern-filter__collapse .icon {
  width: 14px;
  height: 12px;
}
.pattern-filter__navigation {
  display: none;
  z-index: 2;
  width: auto;
  position: absolute;
  top: 100%;
  background-color: #ffffff;
}
.pattern-filter__navigation header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3efff;
}
.pattern-filter__navigation header .pattern-filter__heading {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #6e7191;
  letter-spacing: 0.75px;
}
.pattern-filter__list {
  padding-left: 0;
  list-style-type: none;
  margin-bottom: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pattern-filter__list .custom-field label,
.pattern-filter__list .toggle .text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}
.pattern-filter__apply-button {
  padding: 0;
  border: none;
  background-color: transparent;
  padding: 8px 36px;
  border: 2px solid #bca4ff;
  border-radius: 20px;
  color: #bca4ff;
  letter-spacing: 0.75px;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
}
.pattern-filter__open-button {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.75px;
  color: #14142b;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
}
.pattern-filter__open-button .icon {
  color: inherit;
  stroke: #14142b;
  width: 18px;
  height: 18px;
}
@media screen and (min-width: 768px) {
  .pattern-filter__open-button {
    display: none;
  }
  .pattern-filter__list {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    gap: 16px;
    height: 100%;
  }
  .pattern-filter__list .custom-select2,
  .pattern-filter__list .custom-field {
    height: 100%;
  }
  .pattern-filter__list > li {
    flex-basis: 100%;
    height: 100%;
  }
  .pattern-filter__list > li label {
    width: max-content;
    height: 100%;
  }
  .pattern-filter__list > li:last-of-type {
    display: none;
  }
  .pattern-filter__navigation {
    width: 100%;
    display: block;
    position: initial;
    border-radius: 5px;
  }
  .pattern-filter__navigation header {
    display: none;
  }
}

.custom-field,
.custom-field .field {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.custom-field {
  position: relative;
}

.custom-field .field {
  color: #000;
  background-color: #fff;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  height: 100%;
  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;
}

.custom-field.no-placeholder .field {
  padding-top: 0;
}

.custom-field .error-msg,
.custom-field label {
  line-height: 20px;
}

.custom-field label {
  font-size: 16px;
  width: 100%;
  height: 100%;
  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;
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: 300ms all;
  -o-transition: 300ms all;
  -moz-transition: 300ms all;
  transition: 300ms all;
}

.custom-field.active label,
.custom-field.filled label {
  height: 45%;
  font-size: 11px;
}

.custom-field .error-msg {
  display: none;
  font-size: 11px;
  color: red;
  white-space: nowrap;
}

.custom-field.invalid:not(.active) {
  border-color: red;
  margin-bottom: 22px;
}

.custom-field.invalid:not(.active) .error-msg {
  display: block;
}

.custom-field.active {
  border-color: #efbf42;
}

.custom-select2 {
  position: relative;
}

.custom-select2 * {
  cursor: pointer;
}

.custom-select2 .custom-field {
  margin-bottom: 0;
}

.custom-select2 .custom-field .field .title,
.custom-select2 .options {
  font-size: 14px;
  line-height: 16px;
  color: #1e252c;
}

.custom-select2 .custom-field .field .dropdown {
  margin-left: auto;
  font-size: 15px;
}

.custom-select2 .custom-field.invalid {
  margin-bottom: 22px;
}

.custom-select2 .custom-field label {
  -webkit-transition: unset;
  -o-transition: unset;
  -moz-transition: unset;
  transition: unset;
}

.custom-select2 .options {
  visibility: hidden;
  -webkit-transform: translateY(-0.75rem);
  -moz-transform: translateY(-0.75rem);
  -ms-transform: translateY(-0.75rem);
  -o-transform: translateY(-0.75rem);
  transform: translateY(-0.75rem);
  opacity: 0;
  -webkit-transition: opacity 300ms, -webkit-transform 300ms;
  -o-transition: opacity 300ms, -o-transform 300ms;
  -moz-transition: transform 300ms, opacity 300ms, -moz-transform 300ms;
  transition: transform 300ms, opacity 300ms;
  transition: transform 300ms, opacity 300ms, -webkit-transform 300ms, -moz-transform 300ms, -o-transform 300ms;
  z-index: 100;
  position: absolute;
  left: 0;
  right: 0;
  color: #333333;
  background-color: #ffffff;
  padding: 8px 0;
  -webkit-box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  -moz-box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: max-content;
}

.custom-select2 .options .item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  padding: 13px 18px;
}

.custom-select2 .options .item:hover {
  background-color: #F6F6F6;
}

.custom-select2 .options .item .icons {
  width: -webkit-calc( var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px) );
  width: -moz-calc(var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px));
  width: calc(var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px));
}

.custom-select2 .icons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 18px;
}

.custom-select2 .icons svg {
  margin-right: 3px;
}

.custom-select2.show-options .custom-field {
  border-color: #efbf42;
}

.custom-select2.show-options .custom-field.invalid {
  margin-bottom: 0;
}

.custom-select2.show-options .custom-field.invalid .error-msg {
  display: none;
}

.custom-select2.show-options .options {
  visibility: visible;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.icon_select-level {
  width: 12px;
  height: 10px;
  fill: none;
  stroke: #A0A3BD;
  color: #A0A3BD;
}

.icon_select-sort {
  width: 16px;
  height: 12px;
  color: #A0A3BD;
  fill: #A0A3BD;
}

.pattern-help {
  background-color: #fcfcfc;
}
.pattern-help__list {
  padding-left: 0;
  list-style-type: none;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  gap: 24px;
}
.pattern-help__button {
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  gap: 16px;
  color: #000000;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.75px;
  text-align: left;
  align-items: center;
}
.pattern-help__icon {
  max-width: 30px;
  max-height: 30px;
  color: #4e4b66;
  fill: #4e4b66;
}
@media screen and (min-width: 768px) {
  .pattern-help {
    border-radius: 5px;
  }
  .pattern-help__list {
    flex-direction: row;
    justify-content: space-between;
    padding: 24px 30px;
  }
  .pattern-help__button {
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
  }
  .pattern-help__icon {
    max-width: 40px;
    max-height: 40px;
  }
}

.author-card {
  position: relative;
}
.author-card_large {
  padding: 21px 15px;
  background: #ffffff;
  display: grid;
  align-items: start;
  grid-template-columns: 115px auto;
  grid-column-gap: 20px;
  grid-row-gap: 7px;
  grid-area: d;
}
.author-card_large .author-card__image {
  width: 115px;
  margin-bottom: 0;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
}
.author-card_large .author-card__button {
  color: #6e7191;
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.75px;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
}
.author-card_large .author-card__button .icon {
  stroke: #6e7191;
  color: #6e7191;
}
.author-card_large .author-card__button:hover {
  text-decoration: none;
}
.author-card_large .author-card__header {
  display: flex;
  flex-direction: column;
  gap: 7px;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}
.author-card_large .author-card__heading {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 0;
}
.author-card_large .author-card__more {
  background-color: transparent;
  padding: 0;
  border: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #2a00a2;
  justify-self: start;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 5;
}
.author-card_large .author-card__about {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 0;
  height: 120px;
  overflow: hidden;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
}
.author-card_large .author-card__about:focus {
  height: auto;
}
.author-card_large .author-card__about_open {
  height: auto;
}
.author-card_large .author-card__patterns {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.75px;
  color: #000000;
}
.author-card_large .author-card__name {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.author-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.author-card__image {
  border-radius: 5px;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 11px;
}
.author-card__patterns {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #000000;
}
.author-card__name {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.75px;
  color: #000000;
}
.author-card__name:hover {
  text-decoration: none;
  color: #000000;
}
@media screen and (min-width: 768px) {
  .author-card_large {
    grid-column-gap: 30px;
    grid-row-gap: 11px;
    padding: 28px 30px;
    border-radius: 5px;
    grid-template-columns: 210px auto;
  }
  .author-card_large .author-card__image {
    width: 210px;
    grid-row-end: 5;
  }
  .author-card_large .author-card__button {
    gap: 15px;
    color: #000000;
  }
  .author-card_large .author-card__button .icon {
    stroke: #000000;
    color: #000000;
  }
  .author-card_large .author-card__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .author-card_large .author-card__heading {
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
  }
  .author-card_large .author-card__more {
    grid-column-start: 2;
    grid-row: 4/5;
  }
  .author-card_large .author-card__about {
    grid-column-start: 2;
  }
  .author-card_large .author-card__about_open {
    grid-row-end: 5;
  }
}

.custom-size_range_filter {
  height: 100%;
}
.custom-size_range_filter .options {
  padding: 16px 22px !important;
  max-width: 208px;
  width: 100%;
}
.custom-size_range_filter .size__group {
  display: none;
}
.custom-size_range_filter .size__group.active {
  display: block;
}
.custom-size_range_filter .size_range {
  display: flex;
  gap: 28px;
}
.custom-size_range_filter .caption {
  margin-bottom: 26px;
  color: #14142b;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.custom-size_range_filter .item {
  color: #000000;
  padding: 2px 12px !important;
  border-radius: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1px;
}
.custom-size_range_filter .item:hover, .custom-size_range_filter .item.active {
  background-color: #eff0f6;
}

.custom-field,
.custom-field .field {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.custom-field {
  position: relative;
}

.custom-field .field {
  color: #000;
  background-color: #fff;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  height: 100%;
  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;
}

.custom-field.no-placeholder .field {
  padding-top: 0;
}

.custom-field .error-msg,
.custom-field label {
  line-height: 20px;
}

.custom-field label {
  font-size: 16px;
  width: 100%;
  height: 100%;
  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;
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: 300ms all;
  -o-transition: 300ms all;
  -moz-transition: 300ms all;
  transition: 300ms all;
}

.custom-field.active label,
.custom-field.filled label {
  height: 45%;
  font-size: 11px;
}

.custom-field .error-msg {
  display: none;
  font-size: 11px;
  color: red;
  white-space: nowrap;
}

.custom-field.invalid:not(.active) {
  border-color: red;
  margin-bottom: 22px;
}

.custom-field.invalid:not(.active) .error-msg {
  display: block;
}

.custom-field.active {
  border-color: #efbf42;
}

.custom-size_range_filter {
  position: relative;
}

.custom-size_range_filter .size_range {
  cursor: pointer;
}

.custom-size_range_filter .custom-field {
  margin-bottom: 0;
}

.custom-size_range_filter .custom-field .field .title,
.custom-size_range_filter .options {
  font-size: 14px;
  line-height: 16px;
  color: #1e252c;
}

.custom-size_range_filter .custom-field .field .dropdown {
  margin-left: auto;
  font-size: 15px;
}

.custom-size_range_filter .custom-field.invalid {
  margin-bottom: 22px;
}

.custom-size_range_filter .custom-field label {
  -webkit-transition: unset;
  -o-transition: unset;
  -moz-transition: unset;
  transition: unset;
}

.custom-size_range_filter .options {
  visibility: hidden;
  -webkit-transform: translateY(-0.75rem);
  -moz-transform: translateY(-0.75rem);
  -ms-transform: translateY(-0.75rem);
  -o-transform: translateY(-0.75rem);
  transform: translateY(-0.75rem);
  opacity: 0;
  -webkit-transition: opacity 300ms, -webkit-transform 300ms;
  -o-transition: opacity 300ms, -o-transform 300ms;
  -moz-transition: transform 300ms, opacity 300ms, -moz-transform 300ms;
  transition: transform 300ms, opacity 300ms;
  transition: transform 300ms, opacity 300ms, -webkit-transform 300ms, -moz-transform 300ms, -o-transform 300ms;
  z-index: 100;
  position: absolute;
  left: 0;
  right: 0;
  color: #333333;
  background-color: #ffffff;
  padding: 8px 0;
  -webkit-box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  -moz-box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  box-shadow: 1px 1px 5px rgba(85, 85, 85, 0.25);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: max-content;
}

.custom-size_range_filter .options .item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  padding: 13px 18px;
}

.custom-size_range_filter .options .item:hover {
  background-color: #f6f6f6;
}

.custom-size_range_filter .options .item .icons {
  width: -webkit-calc( var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px) );
  width: -moz-calc(var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px));
  width: calc(var(--max-option-icons, 0) * (var(--icon-width, 0) + 3px));
}

.custom-size_range_filter .icons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 18px;
}

.custom-size_range_filter .icons svg {
  margin-right: 3px;
}

.custom-size_range_filter.show-options .custom-field {
  border-color: #efbf42;
}

.custom-size_range_filter.show-options .custom-field.invalid {
  margin-bottom: 0;
}

.custom-size_range_filter.show-options .custom-field.invalid .error-msg {
  display: none;
}

.custom-size_range_filter.show-options .options {
  visibility: visible;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.icon_select-level {
  width: 12px;
  height: 10px;
  fill: none;
  stroke: #a0a3bd;
  color: #a0a3bd;
}

.icon_select-sort {
  width: 16px;
  height: 12px;
  color: #a0a3bd;
  fill: #a0a3bd;
}

.catalog__content {
  grid-column-start: 1;
  grid-column-end: 3;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (min-width: 768px) {
  .catalog__content {
    padding-left: 0;
    padding-right: 0;
  }
}
.catalog__items .list-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 16px;
  justify-content: center;
}
@media screen and (min-width: 540px) {
  .catalog__items .list-view {
    grid-template-columns: repeat(2, minmax(165px, 1fr));
    grid-gap: 24px;
  }
}
@media screen and (min-width: 720px) {
  .catalog__items .list-view {
    grid-template-columns: repeat(3, minmax(165px, 1fr));
    grid-gap: 32px;
  }
}
@media screen and (min-width: 768px) {
  .catalog {
    grid-template-columns: 250px auto;
    grid-template-rows: max-content max-content;
    grid-column-gap: 40px;
    grid-row-gap: 30px;
  }
  .catalog .pattern-catalog {
    grid-row-start: 1;
    grid-row-end: 3;
  }
  .catalog .pattern-filter__container {
    height: auto;
    border-radius: 5px;
  }
  .catalog__content {
    grid-column-start: 2;
  }
}

.pattern .item {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 5px;
}
.pattern .item__old-price {
  color: #a0a3bd;
  position: relative;
  font-size: 13px;
  line-height: 16px;
  display: inline-block;
}
.pattern .item__old-price::before {
  content: "";
  border-bottom: 1px solid #a0a3bd;
  position: absolute;
  width: 100%;
  height: 50%;
  transform: rotate(-12deg);
}
.pattern .item__header {
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .pattern .item__header h1 {
    margin-bottom: 8px;
  }
}
.pattern .item__content {
  display: flex;
  margin-bottom: 48px;
}
@media screen and (max-width: 768px) {
  .pattern .item__content {
    flex-direction: column;
  }
}
.pattern .item__back {
  display: flex;
  align-items: center;
  width: max-content;
}
.pattern .item__back .icon {
  display: inline-block;
  margin-right: 8px;
}
.pattern .item__info {
  flex: 1;
}
.pattern .item__info .custom-select2 {
  margin-bottom: 10px;
}
.pattern .item__info .custom-select2 .title {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #14142b;
}
.pattern .item__info .item__params button {
  border: none;
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.pattern .item__info .category-list {
  margin-bottom: 12px;
}
.pattern .item__info .category-list .tag {
  cursor: pointer;
}
.pattern .item__info .category-list .tag:hover {
  text-decoration: none;
  color: #2a00a2;
  background-color: #e4daff;
}
.pattern .item__download {
  color: #c30052;
  text-decoration: none;
}
.pattern .item__download:hover {
  text-decoration: none;
  color: #c30052;
}
.pattern .item__params {
  border-top: 1px solid #d9dbe9;
  padding-top: 24px;
  padding-bottom: 24px;
}
.pattern .item__params {
  display: flex;
  flex-direction: column;
}
.pattern .item__size {
  padding: 4px 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.pattern .item__size .item__info {
  text-align: right;
}
.pattern .item__size .checkbox .checkmark.bought {
  opacity: 1 !important;
  background-color: #ed2e7e;
}
@media screen and (max-width: 768px) {
  .pattern .item__size .checkbox {
    margin-right: 8px;
  }
  .pattern .item__size .checkbox > .checkmark {
    margin-top: auto;
    margin-bottom: auto;
    right: 0;
    bottom: 0;
  }
}
.pattern .item__images {
  display: flex;
  flex: 1;
}
.pattern .item__images-all {
  margin-right: 28px;
  max-width: 70px;
}
.pattern .item__image-main {
  margin-right: 48px;
  width: 100%;
  height: 100%;
}
.pattern .item__image-main a {
  display: block;
}
.pattern .item__image-main a img {
  height: 100%;
  display: block;
  width: 100%;
}
.pattern .item__purchase {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.pattern .item__purchase .text {
  flex: 100%;
}
.pattern .item__purchase-price {
  margin-bottom: 12px;
  color: #6e7191;
  font-weight: 700;
  font-size: 32px;
  line-height: 34px;
}
.pattern .item__purchase__old-price {
  flex: 100%;
  display: flex;
  justify-content: flex-end;
}
.pattern .item__purchase__old-price p {
  position: relative;
  height: fit-content;
  color: #a0a3bd;
  width: max-content;
  margin-bottom: 0;
}
.pattern .item__purchase__old-price p::before {
  content: "";
  border-bottom: 1px solid #a0a3bd;
  position: absolute;
  width: 100%;
  height: 50%;
  transform: rotate(-12deg);
}
.pattern .item__purchase .price__active {
  color: #14142b;
}
.pattern .item__purchase-button {
  margin-bottom: 24px;
  padding: 8px 24px;
}
.pattern .item__description {
  border-top: 1px solid #d9dbe9;
  padding-top: 32px;
}
.pattern .item__description .text {
  max-width: 700px;
}
.pattern .item__description .text:not(:last-child) {
  margin-bottom: 28px;
}
.pattern .item__author {
  border-top: 1px solid #d9dbe9;
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
}
.pattern .item__author .user {
  margin-right: 24px;
}
.pattern .item__author .user__image {
  height: 50px;
  width: 50px;
}
.pattern .item__author .user__name {
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
}
@media screen and (max-width: 768px) {
  .pattern .item__author .user {
    margin-right: 48px;
  }
}
.pattern .item__author .difficulty {
  align-items: center;
}
.pattern .item__author .difficulty__level {
  margin-left: 0;
}
.pattern .item__author .difficulty__level:not(:last-child) {
  margin-right: 6px;
}
.pattern .item__author .difficulty .text {
  margin-right: 24px;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .pattern .item__author .difficulty .text {
    flex: 100%;
    text-align: right;
    margin-right: 0px;
    margin-bottom: 6px;
  }
}
@media screen and (max-width: 768px) {
  .pattern .item__author .difficulty {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media screen and (min-width: 768px) {
  .pattern .item {
    border-radius: 5px;
    padding: 30px;
  }
}

.profile {
  display: flex;
  grid-area: b;
  background-color: white;
  padding: 32px;
  border-radius: 5px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 58px;
}
.profile .form-group {
  margin-bottom: 0;
}
.profile__left, .profile__right {
  display: flex;
  flex-direction: column;
}
.profile__left {
  align-items: center;
}
.profile__left a {
  color: #ed2e7e;
  text-decoration: none;
}
.profile__left a:not(:last-child) {
  margin-bottom: 24px;
}
.profile__field {
  margin-bottom: 16px;
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .profile__field {
    flex-direction: row;
    gap: 0;
  }
}
.profile__message {
  display: flex;
  align-items: center;
  padding-left: 24px;
  max-width: 120px;
}
.profile__message .icon {
  margin-right: 8px;
  flex-shrink: 0;
}
.profile__message.success .icon {
  stroke: #00966d;
  color: #00966d;
}
.profile__message.success .text {
  color: #00966d;
}
.profile__message.error .icon {
  stroke: #ed2e7e;
  color: #ed2e7e;
}
.profile__message.error .text {
  color: #ed2e7e;
}
.profile .button,
.profile .input {
  max-width: 240px;
}
.profile .input[type=date] {
  width: 240px;
}
.profile .button {
  width: 100%;
  margin-bottom: 48px;
}
.profile__image {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  margin-bottom: 28px;
}
.profile__vk {
  display: flex;
  align-items: center;
  max-width: 240px;
}
.profile__vk img {
  margin-right: 16px;
  padding: 12px 8px;
  border: 1px solid #000000;
  border-radius: 8px;
}

.pattern {
  display: flex;
  flex-direction: column;
}
.pattern .pattern-catalog {
  display: none;
}
.pattern .pattern-catalog__header_mobile {
  width: 100%;
  padding: 12px;
}
.pattern .pattern-catalog__navigation {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .pattern {
    display: grid;
    grid-column-gap: 40px;
    grid-row-gap: 30px;
  }
  .pattern .pattern-catalog {
    display: block;
  }
}

.authors-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 15px;
  padding-right: 15px;
  grid-area: b;
  grid-row-start: 2;
  grid-row-end: 4;
  grid-column-start: 1;
  grid-column-end: 3;
}
@media screen and (min-width: 768px) {
  .authors-page {
    padding-left: 0;
    padding-right: 0;
    grid-column-start: unset;
    grid-column-end: unset;
  }
}
.authors-page__header {
  display: flex;
  gap: 8px;
}
.authors-page__heading {
  font-weight: 700;
  font-size: 32px;
  line-height: 34px;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 0;
}
.authors-page__caption {
  color: #6e7191;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.75px;
}
.authors-page .list-view {
  display: grid;
  grid-column-gap: 29px;
  grid-row-gap: 74px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-content: center;
}
@media screen and (min-width: 540px) {
  .authors-page .list-view {
    grid-template-columns: repeat(2, minmax(165px, 1fr));
    grid-gap: 24px;
  }
}
@media screen and (min-width: 720px) {
  .authors-page .list-view {
    grid-template-columns: repeat(3, minmax(165px, 1fr));
    grid-gap: 32px;
  }
}
.purchases-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 15px;
  padding-right: 15px;
  grid-area: b;
}
@media screen and (min-width: 768px) {
  .purchases-page {
    padding-left: 0;
    padding-right: 0;
  }
}
.purchases-page__header {
  display: flex;
  gap: 8px;
}
.purchases-page__heading {
  font-weight: 700;
  font-size: 32px;
  line-height: 34px;
  letter-spacing: 1px;
  color: #000000;
  margin-bottom: 0;
}
.purchases-page__caption {
  color: #6e7191;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.75px;
}
.purchases-page__list {
  padding-left: 0;
  margin-bottom: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 210px);
  grid-column-gap: 29px;
  grid-row-gap: 74px;
}

.aside {
  max-width: 250px;
}

.body {
  display: flex;
  flex-direction: column;
}

.site-login {
  grid-area: b;
}

.main {
  background-color: #edeef0;
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.main__container {
  box-sizing: content-box;
  height: max-content;
  display: grid;
  grid-template-areas: "d d" "a b" "c c";
  grid-row-gap: 20px;
  width: 100%;
}
.main__container.container_profile {
  grid-template-rows: unset;
  grid-template-areas: "b";
}
@media screen and (min-width: 768px) {
  .main__container.container_profile {
    grid-template-areas: "a b" "c c";
  }
}
.main__container .pattern-catalog {
  grid-area: a;
}
.main__container .pattern-catalog__header_mobile {
  padding-left: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main__container .pattern-filter__open-button {
  padding-right: 12px;
  width: 100%;
  height: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  justify-content: flex-end;
}
.main__container .pattern-filter {
  grid-area: b;
}
.main__container .pattern-filter__container {
  height: 100%;
  border-radius: 0;
}
.main__container .content {
  grid-area: c;
}

.num-elem {
  letter-spacing: 0.25px;
  color: #a0a3bd;
  font-weight: 300;
  font-size: 13px;
  line-height: 16px;
  position: absolute;
  left: 100%;
  bottom: 60%;
}

@media screen and (min-width: 768px) {
  .main {
    margin-bottom: 40px;
  }
  .main__container {
    max-width: 980px;
    grid-column-gap: 40px;
    grid-template-areas: "d d" "a b" "a c";
    grid-row-gap: 30px;
    grid-template-columns: 250px auto;
    grid-template-rows: max-content 50px max-content;
  }
  .main__container .author-card_large {
    grid-area: d;
  }
  .main__container .pattern-catalog {
    grid-area: a;
  }
  .main__container .pattern-filter {
    grid-area: b;
  }
  .main__container .pattern-filter__container {
    border-radius: 5px;
  }
  .main__container .content {
    grid-area: c;
  }
  .main__container .pattern {
    grid-column-start: b-start;
    grid-column-end: b-end;
    grid-row-start: b-start;
    grid-row-end: c-end;
  }
}

/*# sourceMappingURL=main.css.map */
