﻿/* Хэдер */

.lavrus-header {
  position: relative;
}

.lavrus-header > .lavrus-container {
  z-index: 40;
}

.lavrus-header__top-box {
  height: 134px;
  padding: 37px 0 18px;
  transition: all 0.3s ease;
}

.lavrus-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lavrus-header__logos {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.lavrus-logo__link {
  display: block;
  width: 116px;
  height: 36px;
}

.lavrus-logo {
  position: relative;
  width: 100%;
  height: 100%;
}

.lavrus-logo__animation,
.lavrus-logo__fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.lavrus-logo__animation-image {
  display: block;
  width: 100%;
  height: 100%;
}

.lavrus-logo__fallback {
  transition: all 0.3s ease;
}

.lavrus-logo__mobile {
  display: none;
}

.lavrus-logo--animated .lavrus-logo__fallback {
  opacity: 0;
}

@media (min-width: 768px) {
  .lavrus-logo__link {
    width: 226px;
    height: 75px;
  }
}

@media (min-width: 1200px) {
  .lavrus-logo__link {
    width: 240px;
    height: 79px;
  }
}

.lavrus-logo__text-box {
  position: absolute;
  right: 0;
  bottom: 5px;
  z-index: 99;
  background-color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-logo__text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 14.3px;
  line-height: 20px;
  text-align: right;
  color: var(--lavrus-tretyakov-ru-dove-gray);
}

.lavrus-header__partner-link {
  display: inline-block;
}

.lavrus-header__partner-logo {
  margin-top: 5px;
}

.lavrus-header__top-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.lavrus-header__top-menu-item {
  position: relative;
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 13px;
  line-height: 23px;
  text-transform: uppercase;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  cursor: pointer;
}

@media (min-width: 1600px) {
  .lavrus-header__top-menu {
    gap: 40px;
  }

  .lavrus-header__top-menu-item {
    font-size: 17px;
  }
}

.lavrus-header__top-menu-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lavrus-header__top-menu-item::after {
  content: "";
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  opacity: 0;
  transition: all 0.3s ease;
}

.lavrus-header__top-menu-item:hover::after,
.lavrus-header__top-menu-item:focus-within::after {
  opacity: 1;
}

.lavrus-header__top-right {
  display: flex;
  align-items: center;
  gap: 31px;
}

.lavrus-header__actions {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 39px;
  line-height: 0;
  transform: translateY(2px);
}

.lavrus-header__actions-item--notifications {
  position: relative;
}

.lavrus-header__actions-btn,
.lavrus-header__burger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
}

.lavrus-header__burger-arrow {
  display: none;
}

.lavrus-header__top-box {
  position: relative;
  z-index: 30;
}

.lavrus-header__bottom {
  position: relative;
  z-index: 20;
}

.lavrus-header__actions-icon {
  display: block;
  transition: all 0.3s ease;
}

.lavrus-header__actions-item--favorites .lavrus-header__actions-icon,
.lavrus-menu-drawer__action[data-menu-drawer-action="favorites"]
  .lavrus-menu-drawer__icon {
  content: url("../assets/icons/heart-header.svg");
}

.lavrus-header__actions-btn:hover .lavrus-header__actions-icon,
.lavrus-header__actions-btn:focus-visible .lavrus-header__actions-icon,
.lavrus-header__actions-btn[aria-expanded="true"] .lavrus-header__actions-icon {
  filter: invert(37%) sepia(16%) saturate(2276%) hue-rotate(249deg)
    brightness(89%) contrast(82%);
}

.lavrus-header__actions-item--account {
  position: relative;
}

.lavrus-account-menu {
  position: absolute;
  top: 55px;
  left: 50%;
  z-index: 50;
  display: flex;
  height: 274px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 288px;
  padding: 22px;
  border-radius: 15px;
  color: var(--lavrus-tretyakov-ru-dusty-gray);
  background: var(--lavrus-tretyakov-ru-black);
  transform: translateX(-50%);
}

.lavrus-account-menu[hidden] {
  display: none;
}

.lavrus-account-menu__arrow {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.lavrus-account-menu__title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 135%;
  text-align: center;
  text-transform: uppercase;
  color: var(--lavrus-tretyakov-ru-dusty-gray);
}

.lavrus-account-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.lavrus-account-menu__link,
.lavrus-account-menu__logout {
  border: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 127%;
  text-align: center;
  text-decoration: none;
  color: var(--lavrus-tretyakov-ru-dusty-gray);
  background: transparent;
}

.lavrus-account-menu__link:hover,
.lavrus-account-menu__link:focus-visible,
.lavrus-account-menu__logout:hover,
.lavrus-account-menu__logout:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.lavrus-account-menu__logout {
  display: block;
  color: var(--lavrus-tretyakov-ru-white);
  cursor: pointer;
}

.lavrus-header__notifications-count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  padding-top: 3px;
  border: 2px solid var(--lavrus-tretyakov-ru-white);
  border-radius: 50%;
  font-family: var(--font-family);
  font-size: 10px;
  line-height: 14px;
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-affair);
}

.lavrus-header__notifications-count[hidden] {
  display: none;
}

.lavrus-header__bottom {
  background: var(--lavrus-tretyakov-ru-black);
  height: 73.8px;
}

.lavrus-header__bottom-nav-list {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  padding: 30px 0 20px;
}

.lavrus-header__bottom-nav-item {
  flex-shrink: 0;
}

.lavrus-header__bottom-nav-link {
  display: inline-block;
  position: relative;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 21.6px;
  color: var(--lavrus-tretyakov-ru-white);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1400px) {
  .lavrus-header__top-box {
    height: 102px;
    padding-top: 18px;
    padding-bottom: 5px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .lavrus-header__top-box {
    height: 98px;
  }
}

/* Адаптив хедера */
@media (min-width: 1024px) and (max-width: 1400px) {
  .lavrus-header__top-nav {
    min-width: 0;
    flex: 1 1 auto;
  }

  .lavrus-header__top-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
  }

  .lavrus-header__bottom-nav-list {
    gap: 12px;
  }

  .lavrus-header__bottom-nav-link {
    font-size: 14px;
  }
}

/* Логотип галереи */
@media (min-width: 1024px) and (max-width: 1200px) {
  .lavrus-header__logos {
    gap: 0;
  }

  .lavrus-header__partner-link {
    width: 70px;
    overflow: hidden;
  }

  .lavrus-header__partner-logo {
    width: 132px;
    margin-left: 35px;
  }
}

/* Планшетный хэдер */
@media (min-width: 768px) and (max-width: 1023px) {
  .lavrus-header,
  .lavrus-header > .lavrus-container,
  .lavrus-header__top-box {
    height: 98px;
  }

  .lavrus-header__top-nav,
  .lavrus-header__bottom {
    display: none;
  }

  .lavrus-header__top {
    min-width: 0;
  }

  .lavrus-header__logos,
  .lavrus-header__top-right {
    flex: 0 0 auto;
  }
}

.lavrus-header__bottom-nav-link::after {
  content: "";
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0;
  transition: all 0.3s ease;
}

.lavrus-header__bottom-nav-link:hover::after,
.lavrus-header__bottom-nav-link:focus-within::after {
  opacity: 1;
}

/* Мобильный хэдер */
@media (max-width: 767px) {
  .lavrus-header,
  .lavrus-header > .lavrus-container,
  .lavrus-header__top-box {
    height: 56px;
  }

  .lavrus-header__top-box {
    padding: 10px 0;
  }

  .lavrus-header__top {
    height: 36px;
    align-items: center;
  }

  .lavrus-header__logos {
    gap: 19.5px;
  }

  .lavrus-logo__link {
    width: 116px;
    height: 36px;
    transform: translateY(0.5px);
  }

  .lavrus-logo__animation,
  .lavrus-logo__fallback {
    display: none;
  }

  .lavrus-logo__mobile {
    position: relative;
    display: block;
    width: 116px;
    height: 36px;
    overflow: hidden;
  }

  .lavrus-logo__mobile-image {
    display: block;
    width: 116px;
    height: 36px;
  }

  .lavrus-logo__text-box {
    display: none;
  }

  .lavrus-header__partner-link {
    width: 20px;
    height: 27.5px;
    overflow: hidden;
  }

  .lavrus-header__partner-logo {
    width: 85.16px;
    height: 20px;
    margin-top: 7.5px;
  }

  .lavrus-header__top-nav,
  .lavrus-header__bottom,
  .lavrus-header__actions-item--favorites,
  .lavrus-header__actions-item--account {
    display: none;
  }

  .lavrus-header__top-right {
    align-items: center;
    gap: 15px;
  }

  .lavrus-header__actions {
    gap: 15px;
    transform: none;
  }

  .lavrus-header__burger,
  .lavrus-header__burger-icon {
    width: 35px;
    height: 30px;
  }

  .lavrus-header__burger .lavrus-header__burger-arrow {
    position: absolute;
    top: 26px;
    left: 50%;
    z-index: 2;
    display: none;
    width: 40px;
    height: 23px;
    overflow: visible;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .lavrus-header__burger[aria-expanded="true"] .lavrus-header__burger-arrow,
  .lavrus-page__body--notifications-open .lavrus-header__burger-arrow {
    display: block;
  }
}

/* Уведомления */

.lavrus-notifications {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99997;
  width: 100%;
  max-width: 423px;
  padding-top: 57px;
  overflow-y: auto;
  border: 1px solid var(--lavrus-tretyakov-ru-mercury);
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 5px;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  background-color: var(--lavrus-tretyakov-ru-white);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.lavrus-notifications[hidden] {
  display: none;
}

.lavrus-notifications--open {
  opacity: 1;
  transform: translateX(0);
}

.lavrus-notifications__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 44px;
  padding: 0 50px;
}

.lavrus-notifications__close,
.lavrus-notifications__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--lavrus-tretyakov-ru-black);
  background: transparent;
  cursor: pointer;
}

.lavrus-notifications__close {
  width: 48px;
  height: 37px;
}

.lavrus-notifications__close-icon,
.lavrus-notifications__item-remove-icon {
  display: block;
}

.lavrus-notifications__item-remove-icon {
  filter: brightness(0) invert(88%);
}

.lavrus-notifications__title {
  margin: 25px 0 20px;
  padding: 0 50px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 34px;
  line-height: 50px;
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-notifications__item {
  position: relative;
  width: 100%;
  padding: 21px 122px 21px 50px;
  border-top: 1px solid var(--lavrus-tretyakov-ru-mercury);
  border-bottom: 1px solid var(--lavrus-tretyakov-ru-mercury);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 21.6px;
}

.lavrus-notifications__item::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 10px;
  background-color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-notifications__item-remove {
  position: absolute;
  top: 21px;
  right: 50px;
  width: 22px;
  height: 22px;
  color: var(--lavrus-tretyakov-ru-dusty-gray);
}

.lavrus-notifications__item-remove:hover,
.lavrus-notifications__item-remove:focus-visible {
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-notifications__empty {
  padding: 0 30px 40px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--lavrus-tretyakov-ru-dove-gray);
}

.lavrus-notifications__empty[hidden] {
  display: none;
}

/* Мобильные уведомления */
@media (max-width: 767px) {
  .lavrus-notifications {
    top: 56px;
    bottom: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    color: var(--lavrus-tretyakov-ru-white);
    background: var(--lavrus-tretyakov-ru-black);
    scrollbar-width: none;
  }

  .lavrus-notifications::-webkit-scrollbar {
    display: none;
  }

  .lavrus-notifications {
    padding-top: 0;
  }

  .lavrus-notifications__top {
    height: 38px;
    margin-top: 35px;
    padding: 0 15px;
  }

  .lavrus-notifications__close {
    width: 38px;
    height: 38px;
    color: var(--lavrus-tretyakov-ru-white);
  }

  .lavrus-notifications__close-icon {
    width: 38px;
    height: 38px;
  }

  .lavrus-notifications__title {
    margin: 35px 0 34px;
    padding: 0 15px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--lavrus-tretyakov-ru-white);
  }

  .lavrus-notifications__item {
    padding: 33px 124px 34px 15px;
    border-color: var(--lavrus-tretyakov-ru-white);
    font-size: 17px;
    line-height: 21.6px;
  }

  .lavrus-notifications__item::before {
    display: none;
  }

  .lavrus-notifications__item-remove {
    top: 33px;
    right: 52px;
    color: var(--lavrus-tretyakov-ru-white);
  }

  .lavrus-notifications__empty {
    padding: 32px 15px;
    color: var(--lavrus-tretyakov-ru-white);
  }
}

/* Мобильное меню */

.lavrus-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  width: 100%;
  max-width: 430px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid var(--lavrus-tretyakov-ru-mercury);
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  background: var(--lavrus-tretyakov-ru-white);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.lavrus-menu-drawer[hidden] {
  display: none;
}

.lavrus-menu-drawer--open {
  opacity: 1;
  transform: translateX(0);
}

.lavrus-menu-drawer__actions {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: 57px 57px 0;
}

.lavrus-menu-drawer__action,
.lavrus-menu-drawer__close {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--lavrus-tretyakov-ru-black);
  background: transparent;
  cursor: pointer;
}

.lavrus-menu-drawer__icon {
  display: block;
  transition: all 0.3s ease;
}

.lavrus-menu-drawer__action:hover .lavrus-menu-drawer__icon,
.lavrus-menu-drawer__action:focus-visible .lavrus-menu-drawer__icon,
.lavrus-menu-drawer__close:hover .lavrus-menu-drawer__icon,
.lavrus-menu-drawer__close:focus-visible .lavrus-menu-drawer__icon {
  filter: invert(37%) sepia(16%) saturate(2276%) hue-rotate(249deg)
    brightness(89%) contrast(82%);
}

.lavrus-menu-drawer__action--notifications {
  width: 28px;
  height: 33px;
}

.lavrus-menu-drawer__count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
  border: 2px solid var(--lavrus-tretyakov-ru-white);
  border-radius: 50%;
  font-family: var(--third-family);
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  color: var(--lavrus-tretyakov-ru-white);
  background: var(--lavrus-tretyakov-ru-affair);
}

.lavrus-menu-drawer__count[hidden] {
  display: none;
}

.lavrus-menu-drawer__close {
  width: 38px;
  height: 38px;
}

.lavrus-menu-drawer__divider {
  height: 1px;
  margin: 34px 57px 29px;
  background: var(--lavrus-tretyakov-ru-mercury);
}

.lavrus-menu-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 57px 50px;
}

.lavrus-menu-drawer__link {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 21.6px;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  text-decoration: none;
}

.lavrus-menu-drawer__link:hover,
.lavrus-menu-drawer__link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.lavrus-menu-drawer__nav--primary,
.lavrus-menu-drawer__nav--secondary,
.lavrus-menu-drawer__divider--secondary,
.lavrus-menu-drawer__divider--tertiary {
  display: none;
}

/* Планшетное меню */
@media (min-width: 768px) and (max-width: 1024px) {
  .lavrus-menu-drawer__nav--primary,
  .lavrus-menu-drawer__nav--secondary {
    display: flex;
    padding-bottom: 0;
  }

  .lavrus-menu-drawer__divider--secondary,
  .lavrus-menu-drawer__divider--tertiary {
    display: block;
    margin-top: 34px;
  }

  .lavrus-menu-drawer__section-link {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 17px;
    line-height: 21.6px;
    color: var(--lavrus-tretyakov-ru-mine-shaft);
    text-decoration: none;
  }

  .lavrus-menu-drawer__section-link:hover,
  .lavrus-menu-drawer__section-link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}

@media (max-width: 767px) {
  .lavrus-menu-drawer {
    top: 56px;
    bottom: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    color: var(--lavrus-tretyakov-ru-white);
    background: var(--lavrus-tretyakov-ru-black);
    scrollbar-width: none;
  }

  .lavrus-menu-drawer::-webkit-scrollbar {
    display: none;
  }

  .lavrus-menu-drawer__actions {
    height: 38px;
    margin: 35px 15px 0;
    justify-content: flex-start;
    gap: 20px;
  }

  .lavrus-menu-drawer__action[data-menu-drawer-action="search"],
  .lavrus-menu-drawer__action[data-menu-drawer-action="notifications"] {
    display: none;
  }

  .lavrus-menu-drawer__close {
    margin-left: auto;
  }

  .lavrus-menu-drawer__icon:not(.lavrus-menu-drawer__icon--close) {
    filter: brightness(0) invert(1);
  }

  .lavrus-menu-drawer__divider {
    display: block;
    height: 1px;
    margin: 30px 0 0;
    background: var(--lavrus-tretyakov-ru-dove-gray);
  }

  .lavrus-menu-drawer__nav {
    align-items: flex-start;
    padding: 0 15px;
  }

  .lavrus-menu-drawer__nav--primary,
  .lavrus-menu-drawer__nav--secondary {
    display: flex;
    gap: 10px;
    margin-top: 33px;
  }

  .lavrus-menu-drawer__divider--secondary,
  .lavrus-menu-drawer__divider--tertiary {
    margin-top: 34px;
  }

  .lavrus-menu-drawer__nav--additional {
    gap: 15px;
    margin-top: 33px;
    padding-bottom: 50px;
  }

  .lavrus-menu-drawer__section-link {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    color: var(--lavrus-tretyakov-ru-white);
    text-decoration: none;
  }

  .lavrus-menu-drawer__link {
    font-size: 17px;
    line-height: 21.6px;
    color: var(--lavrus-tretyakov-ru-white);
  }

  .lavrus-menu-drawer__section-link:hover,
  .lavrus-menu-drawer__section-link:focus-visible,
  .lavrus-menu-drawer__link:hover,
  .lavrus-menu-drawer__link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
}

/* Поиск */

.lavrus-search {
  position: fixed;
  inset: 0;
  z-index: 99999;
  padding: 20px 10px;
  overflow: auto;
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-black);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lavrus-search[hidden] {
  display: none;
}

.lavrus-search--open {
  opacity: 1;
  visibility: visible;
}

.lavrus-search__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
  text-align: left;
}

.lavrus-search__form {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.lavrus-search__submit,
.lavrus-search__close {
  flex: 0 0 auto;
  border: 0;
  color: var(--lavrus-tretyakov-ru-white);
  background: transparent;
  cursor: pointer;
}

.lavrus-search__submit {
  display: flex;
  padding: 0 14px 4px 0;
  transition: all 0.3s ease;
}

.lavrus-search__submit:disabled {
  pointer-events: none;
}

.lavrus-search__submit-icon,
.lavrus-search__close-icon {
  display: block;
}

.lavrus-search__submit-icon {
  filter: brightness(0) invert(60%);
}

.lavrus-search__close-icon {
  filter: brightness(0) invert(100%);
}

.lavrus-search__input {
  width: 100%;
  margin: 0;
  padding: 8px 0 9px;
  border: 0;
  border-bottom: 1.5px solid var(--lavrus-tretyakov-ru-dusty-gray);
  border-radius: 0;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 114%;
  color: var(--lavrus-tretyakov-ru-white);
  background-color: transparent;
  appearance: none;
}

.lavrus-search__input::-webkit-search-cancel-button {
  display: none;
}

.lavrus-search__input::placeholder {
  font-weight: 800;
  color: var(--lavrus-tretyakov-ru-white);
  opacity: 1;
}

.lavrus-search__close {
  display: flex;
  align-items: flex-end;
  padding: 0 0 25px 32px;
}

.lavrus-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lavrus-search__tag {
  padding: 7px 15px;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--lavrus-tretyakov-ru-black);
  text-decoration: none;
  background-color: var(--lavrus-tretyakov-ru-white);
  transition: all 0.3s ease;
}

.lavrus-search__tag:hover,
.lavrus-search__tag:focus-visible {
  background-color: var(--lavrus-tretyakov-ru-concrete);
}

.lavrus-search__results {
  padding: 85px 0 60px;
}

.lavrus-search__group + .lavrus-search__group {
  margin-top: 110px;
}

.lavrus-search__group-title {
  margin: 0 0 48px;
  font-family: var(--second-family);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.lavrus-search__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 70px 30px;
}

.lavrus-search__group-more {
  display: flex;
  margin-top: 75px;
  justify-content: center;
}

.lavrus-search-card {
  display: flex;
  width: 100%;
  min-width: 0;
  max-height: 90vh;
  padding: 0 0 30px;
  flex-direction: column;
  text-align: center;
}

.lavrus-search .lavrus-search-card:hover,
.lavrus-search .lavrus-search-card:focus-within {
  background-color: transparent;
  box-shadow: none;
}

.lavrus-search-card .lavrus-material-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--lavrus-tretyakov-ru-white);
  text-decoration: none;
}

.lavrus-search-card .lavrus-material-card__image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  min-height: 0;
  margin-bottom: 20px;
  overflow: hidden;
  flex-grow: 0;
  border-radius: 10px;
  background-color: var(--lavrus-tretyakov-ru-mine-shaft);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lavrus-search-card .lavrus-material-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lavrus-search-card .lavrus-material-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 0 5px;
}

.lavrus-search-card .lavrus-material-card__type,
.lavrus-search-card .lavrus-material-card__date {
  font-family: var(--second-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.lavrus-search-card .lavrus-material-card__type {
  margin-top: 20px;
  color: var(--lavrus-tretyakov-ru-dove-gray);
}

.lavrus-search-card .lavrus-material-card__title {
  margin-top: 15px;
  font-size: 28px;
  font-weight: 400;
  line-height: 28px;
}

.lavrus-search-card .lavrus-material-card__title-italic {
  display: inline;
  font-family: var(--font3);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-search-card .lavrus-material-card__title-accent {
  font-family: var(--second-family);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--lavrus-tretyakov-ru-white);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.lavrus-search-card:hover .lavrus-material-card__title-accent,
.lavrus-search-card:focus-within .lavrus-material-card__title-accent {
  text-decoration: none;
}

.lavrus-search-card .lavrus-material-card__date {
  margin-top: 20px;
  color: var(--lavrus-tretyakov-ru-dusty-gray);
}

.lavrus-search-card .lavrus-material-card__more {
  display: flex;
  margin-top: auto;
  padding-top: 32px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-search-card .lavrus-material-card__more-txt {
  font-family: var(--second-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: var(--lavrus-tretyakov-ru-white);
}

.lavrus-search-card .lavrus-material-card__more-icon {
  display: inline-block;
  width: 25px;
  height: 10px;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 1199px) {
  .lavrus-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lavrus-search {
    padding: 20px 26px;
  }

  .lavrus-search__form {
    padding-top: 59px;
  }

  .lavrus-search__submit {
    padding: 0 14px 0 0;
  }

  .lavrus-search__input {
    font-size: 22px;
  }

  .lavrus-search__close {
    position: absolute;
    top: 15px;
    right: 0;
    padding: 0;
  }

  .lavrus-search__tags {
    margin-top: 15px;
  }

  .lavrus-search__results {
    padding: 55px 0 40px;
  }

  .lavrus-search__group + .lavrus-search__group {
    margin-top: 70px;
  }

  .lavrus-search__group-title {
    margin-bottom: 30px;
    font-size: 29px;
  }

  .lavrus-search__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .lavrus-search__group-more {
    margin-top: 45px;
  }

  .lavrus-search-card {
    max-height: none;
  }

  .lavrus-search-card .lavrus-material-card__image-wrapper {
    max-height: 55vh;
  }

  .lavrus-search-card .lavrus-material-card__more {
    padding-top: 20px;
  }
}

@media (min-width: 768px) {
  .lavrus-search {
    padding: 30px 20px;
  }

  .lavrus-search__submit {
    padding: 0 34px 12px 0;
  }
}

@media (min-width: 1024px) {
  .lavrus-search {
    padding: 75px 50px;
  }
}

@media (min-width: 1500px) {
  .lavrus-search__input {
    font-size: 32px;
  }
}

/* Окно авторизации */

.lavrus-auth {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
  background-color: var(--lavrus-tretyakov-ru-black-500);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lavrus-auth[hidden] {
  display: none;
}

.lavrus-auth--open {
  opacity: 1;
  visibility: visible;
}

.lavrus-auth__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 95%;
  max-width: 554px;
  max-height: 96vh;
  padding: 70px 40px 35px 94px;
  overflow: hidden;
  border: 1px solid var(--lavrus-tretyakov-ru-mischka);
  border-radius: 8px;
  color: var(--lavrus-tretyakov-ru-mine-shaft);
  background-color: var(--lavrus-tretyakov-ru-white);
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.lavrus-auth--open .lavrus-auth__content {
  transform: scale(1);
}

.lavrus-auth__close {
  position: absolute;
  top: 35px;
  right: 41px;
  z-index: 2;
  padding: 0;
  border: 0;
  color: var(--lavrus-tretyakov-ru-black);
  background: transparent;
  cursor: pointer;
}

.lavrus-auth__close-icon {
  display: block;
}

.lavrus-auth__header {
  padding: 0 54px 40px 0;
}

.lavrus-auth__title {
  margin: 0;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 34px;
  line-height: 40px;
  text-align: center;
  color: var(--lavrus-tretyakov-ru-black);
}

.lavrus-auth__panel--recovery .lavrus-auth__title {
  font-weight: 400;
  font-size: 36px;
}

.lavrus-auth__panel--login .lavrus-auth__title {
  font-weight: 400;
  font-size: 36px;
}

.lavrus-auth__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.lavrus-auth__form {
  min-height: 0;
  overflow-y: auto;
  padding: 10px 54px 0 0;
  scrollbar-width: thin;
  scrollbar-color: var(--lavrus-tretyakov-ru-silver) transparent;
}

.lavrus-auth__panel[hidden] {
  display: none;
}

/* Стили .lavrus-auth__field, __input, __field-label, __show-password, __eye
   вынесены в css/auth-fields.css — их же переиспользует личный кабинет (lk.css). */

.lavrus-auth__required {
  font-size: inherit;
}

.lavrus-auth__phone {
  position: relative;
  margin-bottom: 22px;
}

.lavrus-auth__phone-input {
  padding-left: 47px;
}

.lavrus-auth__flag {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  width: 21px;
  height: 14px;
  margin-top: -7px;
  background: linear-gradient(
    to bottom,
    var(--lavrus-tretyakov-ru-white) 0 33.333%,
    #1769b0 33.333% 66.666%,
    #e3233e 66.666% 100%
  );
  box-shadow: 0 0 0 1px var(--lavrus-tretyakov-ru-black-80);
}

.lavrus-auth__check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  line-height: 19px;
  color: var(--lavrus-tretyakov-ru-dove-gray);
  cursor: pointer;
}

.lavrus-auth__checkbox {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  accent-color: var(--lavrus-tretyakov-ru-mine-shaft);
}

.lavrus-auth__panel--login .lavrus-auth__checkbox {
  position: relative;
  appearance: none;
  border: 1px solid var(--lavrus-tretyakov-ru-tangaroa);
  border-radius: 0;
  background: var(--lavrus-tretyakov-ru-white);
}

.lavrus-auth__panel--login .lavrus-auth__checkbox::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--lavrus-tretyakov-ru-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
}

.lavrus-auth__panel--login .lavrus-auth__checkbox:checked {
  background: var(--lavrus-tretyakov-ru-black);
}

.lavrus-auth__panel--login .lavrus-auth__checkbox:checked::after {
  transform: rotate(45deg) scale(1);
}

.lavrus-auth__check--agreement {
  justify-content: flex-start;
}

.lavrus-auth__check--agreement + .lavrus-auth__check--agreement {
  margin-top: 12px;
}

.lavrus-auth__agreement-link {
  color: inherit;
  text-decoration: underline;
}

.lavrus-auth__submit-row {
  padding: 20px 0;
  text-align: center;
}

.lavrus-auth__submit {
  display: inline-flex;
  min-width: 140px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1.5px solid var(--lavrus-tretyakov-ru-black);
  border-radius: 22px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--lavrus-tretyakov-ru-white);
  background-color: var(--lavrus-tretyakov-ru-black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lavrus-auth__submit:hover {
  background-color: var(--lavrus-tretyakov-ru-mine-shaft);
}

.lavrus-auth__submit:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.lavrus-auth__panel--login .lavrus-auth__submit {
  border-width: 1px;
  border-radius: 20px;
  font-weight: 400;
}

.lavrus-auth__recovery-message {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  color: #78ba8a;
}

.lavrus-auth__recovery-message[hidden],
.lavrus-auth__submit-row[hidden] {
  display: none;
}

.lavrus-auth__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
}

.lavrus-auth__link-button {
  padding: 12px 0 0;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--lavrus-tretyakov-ru-french-lilac);
  -webkit-text-stroke: 1px var(--lavrus-tretyakov-ru-heliotrope-880);
  background: transparent;
  cursor: pointer;
}

.lavrus-auth__link-button:hover,
.lavrus-auth__link-button:focus-visible {
  text-decoration: underline;
}

.lavrus-auth__panel--recovery .lavrus-auth__link-button {
  font-weight: 400;
}

.lavrus-auth__panel--login .lavrus-auth__link-button {
  font-weight: 400;
}

@media (max-width: 553px) {
  .lavrus-auth__content {
    padding: 60px 0 35px 20px;
  }

  .lavrus-auth__close {
    top: 21px;
    right: 21px;
  }

  .lavrus-auth__header {
    padding: 0 20px 10px 0;
  }

  .lavrus-auth__title {
    font-size: 26px;
    line-height: 30px;
  }

  .lavrus-auth__panel--recovery .lavrus-auth__title {
    font-size: 26px;
  }

  .lavrus-auth__panel--login .lavrus-auth__title {
    font-size: 26px;
  }

  .lavrus-auth__form {
    padding: 10px 20px 0 0;
  }

  .lavrus-auth__panel--recovery .lavrus-auth__field {
    padding-top: 16px;
  }

  .lavrus-auth__panel--recovery
    .lavrus-auth__input:focus
    + .lavrus-auth__field-label,
  .lavrus-auth__panel--recovery
    .lavrus-auth__input:not(:placeholder-shown)
    + .lavrus-auth__field-label {
    top: 18px;
    font-size: 15px;
  }

  .lavrus-auth__recovery-message {
    width: 100%;
    max-width: 313px;
    margin: 0 auto;
    padding-top: 7px;
  }
}
