@font-face {
  font-family: "CoFo Cinema 1909";
  src: url("../fonts/CoFoCinema1909-Regular-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Thin-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Light-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Regular-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Medium-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Bold-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "CoFo Gothic";
  src: url("../fonts/CoFoGothic-Black-Trial.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-main: "CoFo Gothic", Arial, sans-serif;
  --font-buttons: "CoFo Gothic", Arial, sans-serif;
  --font-display: "CoFo Cinema 1909", Arial, sans-serif;
  --color-black: #000;
  --color-white: #fff;
  --color-pink: rgb(225, 66, 159);
  --color-pink-50: rgba(225, 66, 159, 0.5);
  --color-soft-pink: #FFDEE2;
  --color-accent: #e55dad;
  --color-muted: #9a9a9a;
  --color-soft: #f2f1f0;
  /* 200 / 120 @ 1920; пол ~80 / 64 */
  --home-section-vw: min(100vw, 2200px);
  --home-section-pad-y: clamp(80px, calc(var(--home-section-vw) * 200 / 1920), 200px);
  --home-section-pad-bottom: clamp(64px, calc(var(--home-section-vw) * 120 / 1920), 120px);
  --home-edge: 32px;
  /* Видео: база @ 1920 */
  --video-small-w: calc(var(--home-section-vw) * 716 / 1920);
  --video-small-h: calc(var(--home-section-vw) * 220 / 1920);
  --video-featured-w: calc(var(--home-section-vw) * 922 / 1920);
  --video-thumb-w: calc(var(--home-section-vw) * 338 / 1920);
  --video-body-w: calc(var(--home-section-vw) * 346 / 1920);
  --video-gap: calc(var(--home-section-vw) * 24 / 1920);
  --video-card-gap: calc(var(--home-section-vw) * 20 / 1920);
  --video-edge: calc(var(--home-section-vw) * 32 / 1920);
  --video-font-label: calc(var(--home-section-vw) * 12 / 1920);
  --video-font-title: calc(var(--home-section-vw) * 24 / 1920);
  --video-font-title-lg: calc(var(--home-section-vw) * 32 / 1920);
  --video-platform: calc(var(--home-section-vw) * 24 / 1920);
  --video-play: calc(var(--home-section-vw) * 72 / 1920);
  --video-play-icon: calc(var(--home-section-vw) * 34 / 1920);
  --video-featured-body-gap: calc(var(--home-section-vw) * 142 / 1920);
  --video-featured-body-min-h: calc(var(--home-section-vw) * 96 / 1920);
  --video-featured-media-min-h: calc(var(--home-section-vw) * 360 / 1920);
  --video-title-mb: calc(var(--home-section-vw) * 24 / 1920);
  --video-label-mb: calc(var(--home-section-vw) * 10 / 1920);
}

/* Shared full-bleed sections. Parent is already the layout viewport;
   100vw is wider by the scrollbar and opens a horizontal scroll. */
.home-banners,
.home-categories,
.home-discounts,
.home-novinki,
.home-videos,
.home-subscribe {
  width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

.home-discounts,
.home-novinki,
.home-videos {
  background: var(--color-white);
  overflow: hidden;
}

.home-videos {
  padding-bottom: var(--home-section-pad-bottom);
}

.home-discounts__viewport,
.home-novinki__viewport,
.home-videos__viewport {
  width: 100%;
  margin: 0;
  /* верхний зазор под бейджи: 12px @ 1920 */
  padding: clamp(8px, calc(min(100vw, 2200px) * 12 / 1920), 12px) 0 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Тултип HIT над бейджем не должен обрезаться сверху */
.home-discounts__viewport,
.home-novinki__viewport {
  overflow: visible;
}

.home-novinki__viewport,
.home-videos__viewport {
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 1921px) {
  .home-videos__viewport {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .home-discounts__viewport,
  .home-novinki .home-discounts__viewport,
  .home-novinki__viewport {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.home-videos-card--small .home-videos-card__img,
.home-videos-card--featured .home-videos-card__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-banners {
  position: relative;
  /* Тело баннера сжимается: меню (chrome) + баннер = 100vh / 100dvh.
     --home-hero-chrome задаёт JS (анонс + топ + нижнее меню). */
  height: calc(100vh - var(--home-hero-chrome, 160px));
  height: calc(100dvh - var(--home-hero-chrome, 160px));
  min-height: 240px;
  overflow: hidden;
  background: #f7f0f3;
}

.home-banners__slider,
.home-banners__slider .swiper-wrapper,
.home-banners__slide,
.home-banners__slide-inner,
.home-banners__link {
  height: 100%;
}

.home-banners__slider {
  width: 100%;
}

.home-banners__link {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.home-banners__link picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Всегда на весь блок: лишнее режется по бокам или сверху/снизу */
.home-banners__image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.home-gradient-block__labels {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  pointer-events: auto;
}

.home-gradient-block__label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 7px 28px 7px 8px;
  box-sizing: border-box;
  border: 0;
  border-radius: 40px;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.home-gradient-block__label--side {
  background: rgba(222, 188, 200, .55);
  color: var(--color-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-gradient-block__label--main,
.home-gradient-block__label.is-active {
  background: var(--color-white);
  color: var(--color-black);
}

.home-gradient-block__label img {
  display: block;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .home-banners {
    height: calc(100vh - var(--home-hero-chrome, 120px));
    height: calc(100dvh - var(--home-hero-chrome, 120px));
    min-height: 200px;
  }

  .home-gradient-block__labels {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-gradient-block__labels:not(:has(> :nth-child(3))) {
    justify-content: center;
    overflow: visible;
  }

  .home-gradient-block__labels::-webkit-scrollbar {
    display: none;
  }

  .home-gradient-block__label {
    flex: 0 0 auto;
    height: 48px;
    min-height: 48px;
    font-size: 14px;
  }

  .home-gradient-block__label img {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }
}

.home-categories {
  background: var(--color-white);
}

.home-categories__list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 63px 24px 0;
  box-sizing: border-box;
}

.home-categories__item {
  display: flex;
  flex: 0 0 112px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.home-categories__item img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.home-categories__item:hover,
.home-categories__item:focus {
  color: var(--color-pink);
}

@media (max-width: 767px) {
  /* Same scroll pattern as .home-header__bottom + .home-header__links */
  .home-categories {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
  }

  .home-categories__list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    height: auto;
    margin: 0;
    padding: 24px 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-categories__list::-webkit-scrollbar {
    display: none;
  }

  .home-categories__item {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 64px;
  }

  .home-categories__item span {
    display: block;
    max-width: 88px;
  }

  .home-categories__item img {
    width: 64px;
    height: 64px;
  }
}

body:has(.home-header),
body:has(.home-header) #content,
body:has(.home-header) #footer,
.home-announcement,
.home-header,
.home-header * {
  font-family: var(--font-main);
}

/* Stick the whole header shell to the viewport top (parents are short; inner sticky fails). */
body:has(.home-header) .header_wrap {
  position: sticky;
  top: 0;
  z-index: 5200;
  overflow: visible;
  background: var(--color-white);
}

body:has(.home-header) #header {
  position: relative;
  background: var(--color-white);
}

.home-announcement {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
  transition: opacity .25s ease, height .25s ease;
}

.home-announcement.is-hidden {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.home-announcement__close {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-announcement__close::before,
.home-announcement__close::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-white);
}

.home-announcement__close::before {
  transform: rotate(45deg);
}

.home-announcement__close::after {
  transform: rotate(-45deg);
}

.home-header {
  position: relative;
  width: 100%;
  color: var(--color-black);
  padding: 0 var(--home-edge);
  background: var(--color-white);
}

.home-header__top,
.home-header__bottom {
  width: 100%;
  box-sizing: border-box;
}

.home-header__top {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 24px;
  height: 70px;
  background: var(--color-white);
}

.home-header__start {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
  justify-self: start;
}

.home-header__end {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: end;
  margin-right: -32px;
}

.home-header__menu-toggle {
  position: relative;
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: auto;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-header__menu-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  width: 17px;
  box-sizing: border-box;
}

.home-header__menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--color-black);
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.home-header__menu-toggle-label {
  color: var(--color-black);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-header {
    padding: 0;
  }

  .home-header__menu-toggle-label {
    display: none;
  }

  .home-header__top {
    padding: 0 20px;
  }

  .home-header__start {
    gap: 20px;
  }

  .home-header__actions {
    gap: 20px;
  }
}

/* Aspro mobile catalog strip — not used on custom homepage (own drawer) */
@media (max-width: 992px) {
  body:has(.home-header) .mobile--header-bottom {
    display: none;
  }
}

.home-header.is-menu-open .home-header__menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.home-header.is-menu-open .home-header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.home-header.is-menu-open .home-header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-header__drawer {
  position: fixed;
  top: var(--home-drawer-top, 110px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 48px var(--home-edge) 48px;
  overflow: hidden;
  background: var(--color-white);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-header__drawer::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-header.is-menu-open .home-header__drawer {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.home-header.is-menu-open ~ .home-header__bottom,
body.is-home-menu-open .home-header__bottom {
  display: none;
}

body.is-home-menu-open {
  overflow: hidden;
}

.home-drawer--mobile {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  container-type: inline-size;
  container-name: home-drawer;
}

.home-drawer--desktop {
  display: none;
}

.home-drawer__view {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-drawer__view::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-drawer__view.is-active {
  display: flex;
}

.home-drawer__view[data-home-drawer-view="catalog"].is-active {
  overflow: hidden;
}

.home-drawer__panel-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
}

.home-drawer__back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
}

.home-drawer__back-icon {
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.home-drawer__panel-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-drawer__panel-icon {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.home-drawer-catalog {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-drawer-catalog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-drawer-catalog__toggle,
.home-drawer-catalog__leaf {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  box-sizing: border-box;
  cursor: pointer;
}

a.home-drawer-catalog__leaf:hover,
a.home-drawer-catalog__leaf:focus {
  color: var(--color-black);
  opacity: .75;
}

.home-drawer-catalog__icon {
  display: inline-flex;
  flex: 0 0 1em;
  align-items: center;
  justify-content: center;
  width: 1em;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.home-drawer-catalog__title {
  flex: 1 1 auto;
  min-width: 0;
}

.home-drawer-catalog__list {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 0 12px 1.9em;
  list-style: none;
}

.home-drawer-catalog__item.is-open .home-drawer-catalog__list {
  display: flex;
}

/* Keep the opened first-level category and active second-level item prominent. */
.home-drawer-catalog:has(> .home-drawer-catalog__item.is-open)
  > .home-drawer-catalog__item:not(.is-open) {
  opacity: .5;
}

.home-drawer-catalog__child {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-drawer-catalog__list li::before,
.home-drawer-catalog__list li::after,
.home-drawer-catalog__child::before,
.home-drawer-catalog__child::after {
  content: none !important;
  display: none !important;
}

.home-drawer-catalog__link {
  display: inline-block;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .5 !important;
  transition: opacity .2s ease;
}

a.home-drawer-catalog__link:hover {
  color: var(--color-black);
  opacity: 1 !important;
}

.home-drawer__primary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 28px;
}

.home-drawer__primary-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 4px 12px 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.home-drawer__primary-link:hover,
.home-drawer__primary-link:focus {
  color: var(--color-black);
  opacity: .75;
}

.home-drawer__primary-link--new,
.home-drawer__primary-link--new:hover,
.home-drawer__primary-link--new:focus {
  color: var(--color-pink);
  opacity: 1;
}

.home-drawer__primary-icon {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.home-drawer__primary-link--new .home-drawer__primary-icon {
  filter: none;
}

.home-drawer__primary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.home-drawer__primary-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.home-drawer__accordions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 40px;
}

.home-drawer__accordion-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.home-drawer__accordion-icon {
  display: inline-flex;
  flex: 0 0 1em;
  align-items: center;
  justify-content: center;
  width: 1em;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.home-drawer__accordion-title {
  flex: 1 1 auto;
}

.home-drawer__accordion-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 0 12px 1.9em;
  list-style: none;
}

.home-drawer__accordion.is-open .home-drawer__accordion-list {
  display: flex;
}

.home-drawer__accordion-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-drawer__accordion-list li::before,
.home-drawer__accordion-list li::after,
.home-drawer__accordion-item::before,
.home-drawer__accordion-item::after {
  content: none !important;
  display: none !important;
}

.home-drawer__accordion-link {
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}

a.home-drawer__accordion-link:hover,
a.home-drawer__accordion-link:focus {
  color: var(--color-black);
  opacity: .7;
}

.home-drawer__brand {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 24px 0 8px;
  box-sizing: border-box;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 24.27cqi;
  font-weight: 400;
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.home-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.home-drawer__nav-link {
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
}

.home-drawer__nav-link:hover,
.home-drawer__nav-link:focus {
  color: var(--color-black);
  opacity: 0.65;
}

.home-drawer__sections {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.home-drawer__section-title {
  margin: 0 0 16px;
  color: #b3b3b3;
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.home-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-drawer__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-drawer__list li::before,
.home-drawer__list li::after,
.home-drawer__item::before,
.home-drawer__item::after {
  content: none !important;
  display: none !important;
}

.home-drawer__link {
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

a.home-drawer__link:hover,
a.home-drawer__link:focus {
  color: var(--color-black);
  opacity: 0.7;
}

.home-drawer__promo {
  justify-self: end;
  width: 100%;
  min-width: 0;
  max-width: 572px;
}

.home-drawer__promo-card {
  display: flex;
  flex-direction: column;
  color: var(--color-black);
  text-decoration: none;
}

.home-drawer__promo-card:hover,
.home-drawer__promo-card:focus {
  color: var(--color-black);
}

.home-drawer__promo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-soft);
}

.home-drawer__promo-title {
  margin-top: 24px;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .home-header__drawer {
    padding: 48px var(--home-edge) 48px;
    overflow: auto;
  }

  .home-drawer--mobile {
    display: none !important;
  }

  .home-drawer--desktop {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 147px;
    row-gap: 64px;
    align-items: start;
    justify-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }

  .home-drawer__nav,
  .home-drawer__sections {
    justify-self: start;
  }

  .home-drawer__promo {
    justify-self: end;
    width: min(100%, 572px);
    max-width: 572px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .home-drawer--desktop {
    grid-template-columns: auto auto 1fr;
    column-gap: 40px;
    row-gap: 40px;
  }

  .home-drawer__promo {
    width: min(100%, 280px);
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  .home-header__drawer {
    padding: 20px 20px 0;
  }

  .home-drawer--desktop {
    display: none !important;
  }

  .home-drawer__panel-head {
    position: relative;
    justify-content: center;
  }

  .home-drawer__back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .home-drawer__panel-title {
    justify-content: center;
  }
}

.home-header__search-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.home-header__search {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  min-width: 0;
  width: auto;
  margin: 0;
}

.home-header__search-hint {
  display: none;
  flex: 0 0 auto;
  /* Фиксируем ширину: тайпврайтер не должен расширять __start и сдвигать лого */
  box-sizing: border-box;
  width: var(--home-search-hint-w, 12.5em);
  min-width: var(--home-search-hint-w, 12.5em);
  max-width: var(--home-search-hint-w, 12.5em);
  overflow: hidden;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

@media (min-width: 768px) {
  .home-header__search-hint {
    display: block;
  }

  .home-header.is-search-open .home-header__search-hint {
    display: none;
  }
}

.home-header__search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-header__search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--color-white);
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  outline: none;
}

.home-header__search-field:focus,
.home-header__search-field:focus-within {
  border: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  outline: none;
}

.home-header__search-submit,
.home-header__search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-header__search-close {
  width: 20px;
  height: 20px;
  padding: 0;
}

.home-header__search-close-icon {
  display: block;
  width: 10px;
  height: 10px;
}

.home-header__search-submit {
  height: 40px;
  width: 87px;
  padding: 0 20px;
  border-radius: 12px;
  background: #ffdee2;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.home-header__search-submit:hover,
.home-header__search-submit:focus-visible {
  background: var(--color-pink);
  color: var(--color-white);
}

/* Desktop: lupa → field + НАЙТИ на том же уровне, что иконка */
@media (min-width: 768px) {
  .home-header__search-panel {
    position: fixed;
    z-index: 122;
    top: var(--home-search-panel-top, 100px);
    left: var(--home-search-panel-left, 0);
    width: 488px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .home-header.is-search-open .home-header__search-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .home-header.is-search-open .home-header__search-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .home-header__search-field {
    width: auto;
    flex: 1 1 auto;
  }
}

@media (max-width: 767px) {
  .home-header__search-panel {
    display: none !important;
  }

  .home-header__search-wrap {
    flex: 0 0 auto;
  }

  .home-header__search {
    width: auto;
  }
}

.home-header__search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-header__search-icon {
  display: block;
  box-sizing: content-box;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 12px 11px 11px 12px;
  transition: filter 0.2s ease;
}

.home-header__search-toggle:hover .home-header__search-icon,
.home-header__search-toggle:focus-visible .home-header__search-icon {
  filter: invert(48%) sepia(72%) saturate(1800%) hue-rotate(295deg) brightness(98%) contrast(92%);
}

.home-header.is-mobile-search-open .home-header__search-toggle {
  position: relative;
  z-index: 1000;
  border-radius: 50%;
  background-color: #fff;
}

.home-header.is-mobile-search-open .home-header__search-icon {
  filter: invert(48%) sepia(72%) saturate(1800%) hue-rotate(295deg) brightness(98%) contrast(92%);
}

/* Mobile full-screen search sheet (like auth) */
.home-search-sheet {
  display: none;
}

@media (max-width: 767px) {
  .home-search-sheet {
    position: fixed;
    top: var(--home-auth-top, var(--home-drawer-top, 110px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5000;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .home-search-sheet:not(.is-open) {
    clip-path: inset(50%);
  }

  .home-search-sheet.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: none;
  }

  .home-search-sheet__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 20px;
    padding-bottom: 20px;
    border-radius: 0;
    background: var(--color-white);
    overflow: hidden;
  }

  .home-search-sheet__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
  }

  .home-search-sheet__field {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
  }

  .home-search-sheet__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    margin: 0;
    padding: 0 40px 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
  }

  .home-search-sheet__input::-webkit-search-decoration,
  .home-search-sheet__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
  }

  .home-search-sheet__input::placeholder {
    color: var(--color-muted);
    text-transform: uppercase;
    opacity: 1;
  }

  .home-search-sheet__input:focus,
  .home-search-sheet__input:focus-visible {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    outline: none;
  }

  .home-search-sheet__clear {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .home-search-sheet__clear[hidden] {
    display: none !important;
  }

  .home-search-sheet__clear-icon {
    display: block;
    width: 10px;
    height: 10px;
  }

  .home-search-sheet__results {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-search-sheet__results .home-search-modal__results,
  .home-search-sheet__results .title-search-result {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
  }

  /* Desktop results modal is unused on mobile — suggest lives in the sheet. */
  .home-search-modal {
    display: none !important;
  }

  .home-search-sheet__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: #ffdee2;
    color: var(--color-black);
    font-family: var(--font-buttons);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  .home-search-sheet__submit:hover,
  .home-search-sheet__submit:focus-visible {
    background: var(--color-pink);
    color: var(--color-white);
  }

  body.is-home-mobile-search-open {
    overflow: hidden;
  }

  body.is-home-mobile-search-open .home-header__bottom {
    visibility: hidden;
    pointer-events: none;
  }
}

.wrapper1 .home-header input.home-header__search-text[type="text"],
.wrapper1 .home-header input.home-header__search-text[type="text"]:focus,
.wrapper1 .home-header input.home-header__search-text[type="text"]:focus-visible,
.home-header input.home-header__search-text[type="text"],
.home-header input.home-header__search-text[type="text"]:focus,
.home-header input.home-header__search-text[type="text"]:focus-visible {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0;
  border: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.home-header__search-text::placeholder {
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 1;
}

.home-header__search-text::-webkit-search-decoration,
.home-header__search-text::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.home-header__search form,
.home-header__search .search_wrap {
  width: 100%;
}

.home-header__search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.home-header.is-search-open .home-header__search-backdrop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Let the dim backdrop show through the sticky shell; field + submit stay above */
body.is-home-search-open .header_wrap,
body.is-home-search-open #header,
.home-header.is-search-open,
.home-header.is-search-open .home-header__top,
body.is-home-search-open .home-header__bottom {
  background: transparent;
}

.home-header.is-search-open .home-header__top {
  z-index: 120;
}

/* Только z-index: не менять position у логотипа (absolute) —
   иначе он встаёт в поток сетки и __end уезжает вправо. */
.home-header.is-search-open .home-header__menu-toggle,
.home-header.is-search-open .home-header__end,
.home-header.is-search-open .home-header__start {
  position: relative;
  z-index: 121;
}

.home-header.is-search-open .home-header__logo {
  z-index: 121;
}

body.is-home-search-open .title-search-result {
  z-index: 5310 !important;
}

.home-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  /* Above sticky .header_wrap (5200): modal is moved to body in search script */
  z-index: 5300;
  pointer-events: none;
}

.home-search-modal.is-open {
  display: block;
  pointer-events: none;
}

.home-search-modal.is-open .home-search-modal__panel {
  pointer-events: auto;
}

.home-search-modal__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 488px;
  max-width: calc(100vw - 24px);
  padding: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.home-search-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.home-search-modal__results {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

.home-search-suggest {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.home-search-suggest__item {
  display: block;
  padding: 10px 0;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease;
}

.home-search-suggest__empty {
  padding: 10px 0 4px;
  color: var(--color-muted);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-search-suggest__query {
  font-weight: 700;
  color: var(--color-black);
}

.home-search-suggest__rest,
.home-search-suggest__text {
  font-weight: 400;
  color: #9a9a9a;
}

.home-search-suggest__item:hover,
.home-search-suggest__item:focus-visible,
.home-search-suggest__item:hover .home-search-suggest__query,
.home-search-suggest__item:focus-visible .home-search-suggest__query {
  color: var(--color-pink);
}

.home-search-suggest__item:hover .home-search-suggest__rest,
.home-search-suggest__item:focus-visible .home-search-suggest__rest,
.home-search-suggest__item:hover .home-search-suggest__text,
.home-search-suggest__item:focus-visible .home-search-suggest__text {
  color: rgba(225, 66, 159, 0.5);
}

.home-search-suggest__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  background: #ffdee2;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.home-search-suggest__all:hover,
.home-search-suggest__all:focus-visible {
  background: var(--color-pink);
  color: var(--color-white);
}

body.is-home-search-open {
  overflow: hidden;
}

.home-header__logo {
  /* 1/-1: containing block = вся шапка, не средняя колонка сетки
     (иначе при широком __start логотип уезжает вправо от центра) */
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  height: auto;
  margin: 0;
  line-height: 0;
  transform: translateX(-50%);
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.home-header__start,
.home-header__end {
  position: relative;
  z-index: 2;
}

a.home-header__logo:hover,
a.home-header__logo:focus {
  color: inherit;
  text-decoration: none;
}

.home-header__logo-desktop,
.home-header__logo-mobile {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.home-header__logo-desktop {
  width: 161px;
  height: 32px;
  max-width: 161px;
  max-height: 32px;
}

.home-header__logo-mobile {
  display: none;
}

@media (max-width: 767px) {
  .home-header__logo-desktop {
    display: none;
  }

  .home-header__logo-mobile {
    display: block;
    width: 29px;
    height: 32px;
    max-width: none;
    max-height: none;
  }
}

.home-header__phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.home-header__phone img {
  display: block;
  flex-shrink: 0;
  padding: 5px 8px 5px 5px;
}

.home-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.home-header__actions img,
.home-header__cart-toggle img,
.home-header__auth-toggle img {
  display: block;
  width: auto;
  height: auto;
  padding: 12px 11px 11px 12px;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.home-header__cart-toggle img,
.home-header__auth-toggle img {
  box-sizing: content-box;
  height: 19px;
  width: auto;
}

.home-header__cart-toggle,
.home-header__auth-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.home-header__actions img:hover,
.home-header__actions img:focus-visible,
.home-header__cart-toggle:hover img,
.home-header__cart-toggle:focus-visible img,
.home-header__auth-toggle:hover img,
.home-header__auth-toggle:focus-visible img {
  filter: invert(48%) sepia(72%) saturate(1800%) hue-rotate(295deg) brightness(98%) contrast(92%);
}

body.is-home-cart-open .home-header__cart-toggle {
  position: relative;
  z-index: 1000;
  border-radius: 50%;
  background-color: #fff;
}

body.is-home-cart-open .home-header__cart-toggle img {
  filter: invert(48%) sepia(72%) saturate(1800%) hue-rotate(295deg) brightness(98%) contrast(92%);
}

body.is-home-auth-open .home-header__end {
  z-index: 5100;
}

body.is-home-auth-open .home-header__auth-toggle {
  position: relative;
  z-index: 5100;
  border-radius: 50%;
  background-color: #fff;
}

body.is-home-auth-open .home-header__auth-toggle img {
  filter: invert(48%) sepia(72%) saturate(1800%) hue-rotate(295deg) brightness(98%) contrast(92%);
}

.home-cart {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.home-cart:not(.is-open) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-cart.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.home-cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home-cart__panel {
  position: fixed;
  z-index: 1;
  width: 464px;
  height: auto;
  max-height: calc(100vh - var(--home-cart-panel-top, 100px) - 24px);
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--color-white);
  top: var(--home-cart-panel-top, 100px);
  right: var(--home-cart-panel-right, 29px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-cart__body {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.home-cart__panel .home-cart-basket.basket_hover_block {
  position: static !important;
  top: auto;
  right: auto;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  transition: none;
  display: block;
  overflow: visible !important;
}

.home-cart:not(.is-open) .home-cart-basket.basket_hover_block,
.home-cart:not(.is-open) .home-cart-basket.basket_hover_block:hover {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-cart.is-open .home-cart__panel .home-cart-basket.basket_hover_block {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override aspro .basket_hover_block:not(.loaded) * { opacity:0 } inside home cart */
.home-cart .home-cart-basket.basket_hover_block:not(.loaded) .wrap_cont,
.home-cart .home-cart-basket.basket_hover_block:not(.loaded) .item.home-cart-item,
.home-cart .home-cart-basket.basket_hover_block:not(.loaded) .foot,
.home-cart .home-cart-basket.basket_hover_block:not(.loaded) .home-cart-buttons {
  opacity: 1 !important;
}

/* Keep natural document flow so all basket rows stay visible; scroll on .home-cart__body */
.home-cart__panel .home-cart-basket .wrap_cont,
.home-cart__panel .home-cart-basket .basket_wrapp,
.home-cart__panel .home-cart-basket .tabs_content,
.home-cart__panel .home-cart-basket .tabs_content > li,
.home-cart__panel .home-cart-basket .basket_wrap {
  display: block !important;
  height: auto !important;
  min-height: 0;
  overflow: visible !important;
}

.home-cart__panel .home-cart-basket .items_wrap {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.home-cart__panel .home-cart-basket .tabs_content .items {
  display: block;
  height: auto;
  overflow: visible;
}

.home-cart__panel .home-cart-basket .tabs_content .item.home-cart-item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.home-cart__panel .home-cart-basket .cart-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-cart__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
}

@media (max-width: 767px) {
  .home-cart {
    z-index: 5000;
    top: var(--home-cart-top, var(--home-auth-top, var(--home-drawer-top, 110px)));
    right: 0;
    bottom: 0;
    left: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .home-cart__backdrop {
    display: none;
  }

  .home-cart__close {
    display: inline-flex;
  }

  .home-cart__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 44px 0 20px;
    box-sizing: border-box;
    overflow: auto;
  }

  .home-cart:not(.is-open) {
    clip-path: inset(50%);
  }

  .home-cart.is-open {
    clip-path: none;
  }

  .home-cart__panel .home-cart-basket.basket_hover_block {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    flex: 1 1 auto;
    overflow: visible;
    box-shadow: none !important;
    background: #fff !important;
    color: var(--color-black, #000) !important;
  }

  .home-cart.is-open .home-cart__panel .home-cart-basket.basket_hover_block {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .home-cart__body {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-cart__panel .home-cart-basket .wrap_cont,
  .home-cart__panel .home-cart-basket .basket_wrapp,
  .home-cart__panel .home-cart-basket .tabs_content,
  .home-cart__panel .home-cart-basket .tabs_content > li,
  .home-cart__panel .home-cart-basket .basket_wrap {
    display: block !important;
    position: static !important;
    height: auto !important;
    min-height: 0;
  }

  .home-cart.is-open .home-cart__panel .home-cart-basket .wrap_cont,
  .home-cart.is-open .home-cart__panel .home-cart-basket .basket_wrapp,
  .home-cart.is-open .home-cart__panel .home-cart-basket .tabs_content,
  .home-cart.is-open .home-cart__panel .home-cart-basket .tabs_content > li,
  .home-cart.is-open .home-cart__panel .home-cart-basket .basket_wrap {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .home-cart__panel .home-cart-basket .items_wrap {
    max-height: none !important;
    overflow: visible !important;
  }

  .home-cart.is-open .home-cart__panel .home-cart-basket .tabs_content .item.home-cart-item .home-cart-item__bottom {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.is-home-cart-open .home-header__bottom {
    visibility: hidden;
    pointer-events: none;
  }

  /* Fullscreen sheet: keep page locked on mobile */
  body.is-home-cart-open {
    overflow: hidden;
  }
}

/* Auth modal */
.home-auth {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.home-auth:not(.is-open),
.home-auth:not(.is-open) * {
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-auth:not(.is-open) {
  opacity: 0 !important;
}

.home-auth.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.home-auth.is-open .home-auth__panel,
.home-auth.is-open .home-auth__panel * {
  visibility: visible;
}

.home-auth.is-open .home-auth__pane[hidden],
.home-auth.is-open .home-auth__pane[hidden] * {
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-auth__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home-auth__panel {
  position: fixed;
  z-index: 1;
  top: var(--home-auth-panel-top, 100px);
  right: var(--home-auth-panel-right, 150px);
  width: 560px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - var(--home-auth-panel-top, 100px) - 24px);
  box-sizing: border-box;
  padding: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  border-radius: 12px;
  background: var(--color-white);
  overflow: auto;
}

@media (max-width: 767px) {
  .home-auth {
    top: var(--home-auth-top, var(--home-drawer-top, 110px));
    right: 0;
    bottom: 0;
    left: 0;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
  }

  .home-auth:not(.is-open) {
    clip-path: inset(50%);
  }

  .home-auth.is-open {
    clip-path: none;
  }

  .home-auth__backdrop {
    display: none;
  }

  .home-auth__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 24px 20px 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .home-auth__close {
    top: 24px;
    right: 20px;
  }

  .home-auth__tabs {
    flex: 0 0 auto;
    min-height: 32px;
    margin-right: 36px;
    margin-bottom: 32px;
  }

  .home-auth__guest {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .home-auth__pane {
    grid-column: auto;
    grid-row: auto;
  }

  .home-auth__pane[hidden] {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .home-auth__pane.is-active {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .home-auth-sms.bxmaker-authuserphone-login,
  .home-auth-email,
  .home-auth-email__form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .home-auth-sms__actions,
  .home-auth-email__actions {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: auto;
    margin-left: 0;
    margin-bottom: 0;
    padding-top: 28px;
    padding-left: 0;
    padding-bottom: 0;
  }

  .home-auth-sms__btn,
  .home-auth-sms .bxmaker-authuserphone-login-link.home-auth-sms__btn,
  .home-auth-email__btn {
    width: 100%;
  }

  .home-auth-email__eye {
    background-size: 22px 15px;
  }

  .home-auth-email__label {
    min-width: 55px;
  }

  body.is-home-auth-open .home-header__bottom {
    visibility: hidden;
    pointer-events: none;
  }

  /* Fullscreen sheet: keep page locked on mobile */
  body.is-home-auth-open {
    overflow: hidden;
  }
}

.home-auth__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
}

.home-auth__close-icon {
  display: block;
  width: 15px;
  height: 15px;
}

.home-auth__tabs {
  display: flex;
  align-items: center;
  min-height: 32px;
  gap: 16px;
  margin: 0 40px 64px 0;
}

.home-auth__tab {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b3b3b3;
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
}

.home-auth__tab.is-active {
  color: var(--color-black);
}

/* Keep both panes in layout so panel height stays stable across tab switches */
.home-auth__guest {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
}

.home-auth__guest > .home-auth__tabs {
  grid-column: 1;
  grid-row: 1;
}

.home-auth__pane {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.home-auth__pane[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

.home-auth__pane.is-active {
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.home-auth__pane > .home-auth-sms,
.home-auth__pane > .home-auth-email {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.home-auth__pane .home-auth-email__form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.home-auth__pane .home-auth-sms__actions,
.home-auth__pane .home-auth-email__actions {
  margin-top: auto;
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-bottom: 0;
}

.home-auth__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-auth__field {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
}

.home-auth__field.is-invalid {
  border-bottom-color: #d53251;
}

.home-auth__label {
  color: #b3b3b3;
  font-family: var(--font-buttons);
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.home-auth__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.3;
  outline: none;
}

.home-auth__field--password {
  grid-template-columns: 120px 1fr 28px;
}

.home-auth__eye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("../icons/eye_open.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 14px;
  cursor: pointer;
}

.home-auth__eye.is-active {
  background-image: url("../icons/eye_close.svg");
}

.home-auth-email__error {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #EB1717;
  font-family: var(--font-buttons);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.home-auth-email__eye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("../icons/eye_open.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 14px;
  cursor: pointer;
}

.home-auth-email__eye.is-active {
  background-image: url("../icons/eye_close.svg");
}

.home-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.home-auth__remember-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.home-auth__switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #f7cfe6;
  transition: background .2s ease;
}

.home-auth__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-pink);
  transition: transform .2s ease;
}

.home-auth__remember-input:checked + .home-auth__switch::after {
  transform: translateX(20px);
}

.home-auth__remember-input:not(:checked) + .home-auth__switch {
  background: #e8e8e8;
}

.home-auth__remember-input:not(:checked) + .home-auth__switch::after {
  background: #cfcfcf;
  transform: translateX(0);
}

.home-auth__remember-text,
.home-auth__forgot {
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
}

.home-auth__remember-text {
  color: var(--color-black);
}

.home-auth__forgot {
  color: #b3b3b3;
  white-space: nowrap;
}

.home-auth__forgot:hover,
.home-auth__forgot:focus {
  color: var(--color-pink);
}

.home-auth__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.home-auth__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  border: 0;
  border-radius: 12px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color .25s ease, color .25s ease;
}

.home-auth__btn--primary {
  background: #ffdee2;
}

.home-auth__btn--secondary {
  background: var(--color-soft);
}

.home-auth__btn:hover,
.home-auth__btn:focus {
  background: var(--color-pink, #e1429f);
  color: #fff;
  text-decoration: none;
  filter: none;
}

.home-auth__authorized {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.home-auth__authorized.is-visible,
.home-auth__authorized:not([hidden]) {
  display: flex;
}

.home-auth__authorized[hidden] {
  display: none !important;
}

.home-auth__guest[hidden] {
  display: none !important;
}

.home-auth__authorized-title {
  font-family: var(--font-buttons);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--color-black);
}

.home-auth__authorized-name {
  font-family: var(--font-main);
  font-size: 24px;
  color: var(--color-black);
}

.home-auth__authorized-name[hidden] {
  display: none !important;
}

/* Cabinet dropdown (same bitrix:menu / cabinet_dropdown as old header) */
.home-auth--cabinet .home-auth__panel {
  width: 320px;
  padding: 8px 0;
}

.home-auth--cabinet .home-auth__close {
  display: none !important;
}

.home-auth--cabinet .home-auth__authorized {
  gap: 0;
  padding: 0;
}

.home-auth__cabinet,
.home-auth__cabinet.with_dropdown,
.home-auth--cabinet .with_dropdown {
  position: static;
  width: 100%;
  padding-right: 0 !important;
}

.home-auth__cabinet .dropdown-menu {
  display: block !important;
  position: static !important;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: 1 !important;
  visibility: visible !important;
  list-style: none;
}

.home-auth__cabinet .dropdown-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-auth__cabinet .dropdown-menu > li:first-child {
  border-top: 0;
}

.home-auth__cabinet .dropdown-menu > li > a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 20px !important;
  border: 0 !important;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
}

.home-auth__cabinet .dropdown-menu > li > a:hover,
.home-auth__cabinet .dropdown-menu > li > a:focus,
.home-auth__cabinet .dropdown-menu > li.active > a {
  background: transparent;
  color: var(--color-black) !important;
  opacity: 0.5;
  text-decoration: none;
}

.home-auth__cabinet .dropdown-menu li .icons {
  display: none !important;
}

@media (max-width: 767px) {
  .home-auth--cabinet .home-auth__panel {
    width: 100%;
    max-width: none;
    padding: 8px 0 !important;
  }
}

.home-auth__pane .bxmaker-authuserphone-enter {
  margin: 0;
}

/* BX.PhoneNumber creates a full-page overlay with opacity:0 that blocks clicks/contextmenu if left behind */
#popup-window-overlay-phoneNumberInputSelectCountry {
  pointer-events: auto;
}

body.is-home-auth-open #phoneNumberInputSelectCountry {
  z-index: 5120 !important;
}

body.is-home-auth-open #popup-window-overlay-phoneNumberInputSelectCountry {
  z-index: 5110 !important;
}

.home-header__account,
.home-header__commerce {
  display: flex;
  align-items: center;
}

.home-header__action-link,
.home-header__action-icon {
  color: var(--color-black);
}

.home-header__bottom {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  width: 100%;
  max-height: 120px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  opacity: 1;
  transition:
    opacity 0.23s ease,
    grid-template-rows 0.23s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.23s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.23s ease;
}

body.is-home-nav-collapsed .home-header__bottom {
  grid-template-rows: 0fr;
  max-height: 0;
  opacity: 0;
  border-color: transparent;
  pointer-events: none;
}

.home-header__bottom-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--home-edge);
  box-sizing: border-box;
}

.home-header__links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 50px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.23s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-home-nav-collapsed .home-header__links {
  transform: translate3d(0, -10px, 0);
}

/* While open (and not mid-animation), allow catalog dropdown to escape */
body:not(.is-home-nav-collapsed):not(.is-home-nav-animating) .home-header__bottom {
  overflow: visible;
}

body:not(.is-home-nav-collapsed):not(.is-home-nav-animating) .home-header__bottom-inner {
  overflow: visible;
}

.home-header__links::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--home-edge));
  z-index: 21;
  width: calc(100% + 2 * var(--home-edge));
  height: 1px;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.home-header__links:has(.home-header__catalog:hover)::after,
.home-header__links:has(.home-header__catalog:focus-within)::after {
  opacity: .5;
}

.home-header__catalog {
  display: flex;
  align-items: center;
  height: 100%;
}

.home-header__links > a,
.home-header__catalog > a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .6px;
}

.home-header__links > a > img,
.home-header__catalog > a > img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.home-header__links > a:hover,
.home-header__links > a:focus,
.home-header__catalog > a:hover,
.home-header__catalog > a:focus {
  opacity: 0.5;
}

.home-header__links > a[href="/new/"] {
  color: var(--color-accent);
}

.home-header__links > a[href="/new/"]:hover,
.home-header__links > a[href="/new/"]:focus {
  opacity: 0.5;
}

.home-header__catalog-dropdown {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--home-edge));
  z-index: 20;
  visibility: hidden;
  width: calc(100% + 2 * var(--home-edge));
  min-height: 272px;
  padding: 32px 56px;
  box-sizing: border-box;
  background: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.home-header__catalog-dropdown::before {
  content: none;
}

.home-header__catalog:hover .home-header__catalog-dropdown,
.home-header__catalog:focus-within .home-header__catalog-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home-header__overlay {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--home-edge));
  z-index: 10;
  visibility: hidden;
  width: calc(100% + 2 * var(--home-edge));
  height: 100vh;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.home-header__catalog:hover ~ .home-header__overlay,
.home-header__catalog:focus-within ~ .home-header__overlay {
  visibility: visible;
  opacity: 1;
}

.home-header__catalog-dropdown .home-catalog-menu {
  position: relative;
  width: 650px;
  min-height: 150px;
  margin: 0 auto;
  padding: 0;
}

.home-header__catalog-dropdown .home-catalog-menu__level1,
.home-header__catalog-dropdown .home-catalog-menu__level2 ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.home-header__catalog-dropdown .home-catalog-menu li::before {
  display: none;
  content: none;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 {
  width: 220px;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 > li {
  position: static;
  margin: 0;
  padding: 0;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 > li > a,
.home-header__catalog-dropdown .home-catalog-menu__level2 a {
  display: block;
  color: rgba(0, 0, 0, .5);
  font-family: var(--font-main);
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 > li > a {
  display: inline-block;
  margin-left: -12px;
  padding: 8px 16px 8px 12px;
}

.home-header__catalog-dropdown .home-catalog-menu__level2 {
  position: absolute;
  top: 0;
  left: 150px;
  display: none;
  width: auto;
  min-height: 150px;
  padding-left: 186px;
  box-sizing: border-box;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 > li.is-current > .home-catalog-menu__level2,
.home-header__catalog-dropdown .home-catalog-menu__level1 > li:focus-within > .home-catalog-menu__level2 {
  display: block;
}

.home-header__catalog-dropdown .home-catalog-menu__level2 li {
  margin: 0;
  padding: 0;
}

.home-header__catalog-dropdown .home-catalog-menu__level2 a {
  padding: 8px 0;
  opacity: .5;
  transition: opacity .2s ease;
}

.home-header__catalog-dropdown .home-catalog-menu__level1 > li.active > a,
.home-header__catalog-dropdown .home-catalog-menu__level1 > li.is-current > a,
.home-header__catalog-dropdown .home-catalog-menu__level1 > li:focus-within > a,
.home-header__catalog-dropdown .home-catalog-menu__level2 a:hover,
.home-header__catalog-dropdown .home-catalog-menu__level2 a:focus {
  color: var(--color-black);
}

.home-header__catalog-dropdown .home-catalog-menu__level2 a:hover {
  opacity: 1;
}

.home-header__catalog-dropdown .table-menu,
.home-header__catalog-dropdown .table-menu table {
  width: 100%;
  border-collapse: collapse;
}

.home-header__catalog-dropdown .table-menu td {
  vertical-align: top;
  padding: 0;
}

.home-header__catalog-dropdown .table-menu td:first-child {
  padding-left: 0;
}

.home-header__catalog-dropdown .table-menu td:last-child {
  padding-right: 0;
}

.home-header__catalog-dropdown .table-menu > table > tbody > tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.home-header__catalog-dropdown .table-menu > table > tbody > tr > td {
  display: block;
}

.home-header__catalog-dropdown .table-menu td > .wrap > a {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-buttons);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.home-header__catalog-dropdown .table-menu td > .wrap > a .line-wrapper,
.home-header__catalog-dropdown .table-menu td > .wrap > a .svg-inline-down {
  display: none;
}

.home-header__catalog-dropdown .dropdown-menu,
.home-header__catalog-dropdown .dropdown-menu.toggle_menu {
  position: static !important;
  display: block !important;
  width: auto !important;
  min-width: 0;
  max-height: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.home-header__catalog-dropdown .menu-wrapper,
.home-header__catalog-dropdown .menu-wrapper li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-header__catalog-dropdown .menu-wrapper li a {
  display: block;
  padding: 3px 0;
  color: #929292;
  font-family: var(--font-main);
  font-size: 9px;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: none;
}

.home-header__catalog-dropdown .menu-wrapper li a:hover,
.home-header__catalog-dropdown .menu-wrapper li a:focus {
  color: var(--color-pink);
}

@media (max-width: 767px) {
  .home-header__bottom {
    max-height: 140px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    /* Height tween on the sticky header shifts the page under the finger. */
    transition: none;
  }

  /* Desktop lets the catalog dropdown escape. On mobile that dropdown is
     hidden, and overflow:visible lets the nowrap links widen the page. */
  body:not(.is-home-nav-collapsed):not(.is-home-nav-animating) .home-header__bottom,
  body:not(.is-home-nav-collapsed):not(.is-home-nav-animating) .home-header__bottom-inner {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  body.is-home-nav-collapsed .home-header__bottom {
    max-height: 0;
    border-top-color: transparent;
  }

  .home-header__bottom-inner {
    padding: 0;
  }

  .home-header__links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 12px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.is-home-nav-collapsed .home-header__links {
    transform: translate3d(0, -6px, 0);
  }

  .home-header__links::-webkit-scrollbar {
    display: none;
  }

  .home-header__catalog,
  .home-header__links > a {
    position: relative;
    flex: 0 0 auto;
  }

  .home-header__links > a,
  .home-header__catalog > a {
    gap: 6px;
    white-space: nowrap;
    line-height: 16px;
  }

  .home-header__links > a > img,
  .home-header__catalog > a > img {
    display: none;
  }

  .home-header__catalog-dropdown,
  .home-header__overlay {
    display: none;
  }
}

/* Discounts */
.home-discounts {
  padding: var(--home-section-pad-y) 0;
}

@media (max-width: 900px) and (min-width: 768px) {
  .home-discounts {
    padding-top: 48px;
  }
}

@media (max-width: 767px) {
  .home-discounts {
    margin-top: 80px;
    padding-top: 0;
    padding-bottom: 80px;
  }
}

.home-slider-head {
  /* Кнопки шапки: 40px / 12px @ 1920, пол 32 / 10 */
  --home-head-vw: min(100vw, 2200px);
  --home-head-btn: clamp(32px, calc(var(--home-head-vw) * 40 / 1920), 40px);
  --home-head-btn-font: clamp(10px, calc(var(--home-head-vw) * 12 / 1920), 12px);
  --home-head-btn-radius: clamp(8px, calc(var(--home-head-vw) * 12 / 1920), 12px);
  --home-head-btn-icon: clamp(16px, calc(var(--home-head-vw) * 22 / 1920), 22px);
  --home-head-btn-pad-x: clamp(14px, calc(var(--home-head-vw) * 20 / 1920), 20px);
  --home-head-btn-gap: clamp(10px, calc(var(--home-head-vw) * 16 / 1920), 16px);
  /* Отступ до слайдов: 64px @ 1920 */
  --home-head-after: clamp(32px, calc(var(--home-head-vw) * 64 / 1920), 64px);
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto var(--home-head-after);
  padding: 0 var(--home-edge);
  box-sizing: border-box;
}

.home-slider-head__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--home-head-btn-gap);
  flex: 1 1 0;
  min-width: 0;
}

.home-slider-head__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--home-head-btn);
  height: var(--home-head-btn);
  padding: 0;
  border: 0;
  border-radius: var(--home-head-btn-radius);
  background: var(--color-soft);
  color: var(--color-black);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.home-slider-head__arrow img {
  display: block;
  width: var(--home-head-btn-icon);
  height: auto;
}

.home-slider-head__arrow--next img {
  transform: rotate(180deg);
}

.home-slider-head__arrow:hover {
  background: #ffdee2;
}

.home-slider-head__arrow:focus {
  outline: none;
}

.home-slider-head__arrow.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

.home-slider-head__title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 400;
  /* 160px @ 1920px → ~64px @ 770px; потолок 160, пол 64 (мобилка ниже переопределяет) */
  font-size: clamp(64px, calc(min(100vw, 2200px) * 160 / 1920), 160px);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.home-slider-head__all-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 0;
  min-width: 0;
}

.home-slider-head__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: var(--home-head-btn);
  padding: 0 var(--home-head-btn-pad-x);
  border-radius: var(--home-head-btn-radius);
  background: var(--color-soft);
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: var(--home-head-btn-font);
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(var(--home-head-vw) * 0.6 / 1920);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.home-slider-head__all:hover,
.home-slider-head__all:focus {
  color: var(--color-black);
  background: #ffdee2;
}

@media (max-width: 767px) {
  .home-novinki .home-slider-head__nav,
  .home-novinki .home-slider-head__all-wrap,
  .home-discounts .home-slider-head__nav,
  .home-discounts .home-slider-head__all-wrap,
  .home-videos .home-slider-head__nav,
  .home-videos .home-slider-head__all-wrap {
    display: none;
  }

  .home-novinki .home-slider-head,
  .home-discounts .home-slider-head,
  .home-videos .home-slider-head {
    justify-content: center;
  }

  .home-novinki .home-slider-head__title,
  .home-discounts .home-slider-head__title,
  .home-videos .home-slider-head__title {
    font-size: 64px;
    text-align: center;
    white-space: normal;
  }
}

.home-discounts__slider {
  width: 100%;
  overflow: visible;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}

.home-discounts__slider .swiper-wrapper {
  display: flex;
  box-sizing: border-box;
}

.home-discounts__slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 20px;
}

.home-discounts__slide {
  flex-shrink: 0;
  width: 384px;
  max-width: 384px;
  height: auto;
  box-sizing: border-box;
  padding: 12px;
  overflow: visible;
}

.home-discounts__slide--featured {
  width: 596px;
  max-width: 596px;
}

.home-discounts-card--featured .home-discounts-card__media {
  width: 100%;
  height: 572px;
}

.home-discounts-card--featured .home-discounts-card__image {
  object-fit: cover;
}

/* ≥770: при загрузке видно 1 большой + 3 обычных + ½ обычного (4.5 слота) */
@media (min-width: 770px) {
  .home-discounts__slider {
    --hd-gap: 20px;
    --hd-edge-before: 32px;
    /* featured/regular = 596/384; gaps: 4 между большим, тремя полными и половиной */
    --hd-slide: calc(
      (100% - var(--hd-edge-before) - 4 * var(--hd-gap))
      / (596 / 384 + 3.5)
    );
    --hd-slide-featured: calc(var(--hd-slide) * 596 / 384);
  }

  .home-discounts__slide {
    width: var(--hd-slide);
    max-width: var(--hd-slide);
  }

  .home-discounts__slide--featured {
    width: var(--hd-slide-featured);
    max-width: var(--hd-slide-featured);
  }
}

.home-discounts-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  overflow: visible;
}

.home-discounts-card:hover,
.home-discounts-card:focus {
  color: inherit;
  text-decoration: none;
}

.home-discounts-card__media {
  position: relative;
  width: 360px;
  height: 360px;
  background: #f5f5f5;
  overflow: visible;
}

/* Картинки малых/большого слайда — пропорционально ширине слайда (≥770) */
@media (min-width: 770px) {
  .home-discounts__slide:not(.home-discounts__slide--featured) .home-discounts-card__media {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .home-discounts__slide--featured .home-discounts-card__media,
  .home-discounts-card--featured .home-discounts-card__media {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.home-discounts-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f5f5f5;
}

.home-discounts-card__badges {
  position: absolute;
  top: calc(0% - 20px);
  left: calc(0% - 20px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.home-discounts-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-sizing: border-box;
}

.home-discounts-card__badge--flash {
  background: #EFBB5E;
}

.home-discounts-card__badge--flash img {
  display: block;
  width: 17px;
  height: 23px;
  object-fit: contain;
}

.home-discounts-card__badge--sale {
  background: var(--color-white);
  border: 1px solid var(--color-pink);
}

.home-discounts-card__badge--sale img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-discounts-card__badge--hl {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-discounts-card__badge--hl img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Бейджи и типографика карточек — от ширины окна, одинаково на большом/малом слайде */
@media (min-width: 770px) {
  .home-discounts__slider {
    /* та же формула, что у обычного слайда, но на vw (не %), чтобы размер не зависел от карточки */
    --hd-slide-vw: calc(
      (min(100vw, 2200px) - 32px - 4 * 20px)
      / (596 / 384 + 3.5)
    );
    --hd-badge: calc(var(--hd-slide-vw) * 48 / 384);
    /* 24 / 16 @ слайд 384 */
    --hd-font-title: calc(var(--hd-slide-vw) * 24 / 384);
    --hd-font-meta: calc(var(--hd-slide-vw) * 16 / 384);
  }

  .home-discounts__slider .home-discounts-card__badges {
    top: calc(var(--hd-slide-vw) * -20 / 384);
    left: calc(var(--hd-slide-vw) * -20 / 384);
  }

  .home-discounts__slider .home-discounts-card__badge {
    width: var(--hd-badge);
    height: var(--hd-badge);
  }

  .home-discounts__slider .home-discounts-card__badge--hl img {
    width: 100%;
    height: 100%;
  }

  .home-discounts__slider .home-discounts-card__badge--flash img {
    width: calc(var(--hd-slide-vw) * 17 / 384);
    height: calc(var(--hd-slide-vw) * 23 / 384);
  }

  .home-discounts__slider .home-discounts-card__badge--sale img {
    width: calc(var(--hd-slide-vw) * 24 / 384);
    height: calc(var(--hd-slide-vw) * 24 / 384);
  }

  .home-discounts__slider .home-discounts-card__name,
  .home-discounts__slider .home-discounts-card__price {
    font-size: var(--hd-font-title);
  }

  .home-discounts__slider .home-discounts-card__desc,
  .home-discounts__slider .home-discounts-card__old,
  .home-discounts__slider .home-discounts-card__discount {
    font-size: var(--hd-font-meta);
  }
}

.home-discounts-card__badge.hit-badge-wrap--tip {
  position: relative;
}

.home-discounts-card__badge.hit-badge-wrap--tip:hover {
  z-index: 6;
}

.home-discounts-card__badge .hit-badge-tip {
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 12px);
  z-index: 5;
  box-sizing: border-box;
  width: 300px;
  max-width: 300px;
  padding: 10px 12px;
  border: 1px solid var(--color-pink);
  border-radius: 8px;
  background: var(--color-white);
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.home-discounts-card__badge.hit-badge-wrap--tip:hover .hit-badge-tip,
.home-discounts-card__badge.hit-badge-wrap--tip.is-open .hit-badge-tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-discounts-card__badge.hit-badge-wrap--tip:hover,
.home-discounts-card__badge.hit-badge-wrap--tip.is-open {
  z-index: 10;
}

.home-discounts-card__badge .hit-badge-tip__title {
  display: block;
  margin: 0 0 4px;
  color: inherit;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-discounts-card__badge .hit-badge-tip__text {
  display: block;
  margin: 0;
  color: inherit;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

.home-discounts-card__badge.hit-badge-wrap--uni .hit-badge-tip,
.home-discounts-card__badge .hit-badge-tip:not(:has(.hit-badge-tip__text)) {
  display: flex;
  align-items: center;
}

.home-discounts-card__badge.hit-badge-wrap--uni .hit-badge-tip__title,
.home-discounts-card__badge .hit-badge-tip:not(:has(.hit-badge-tip__text)) .hit-badge-tip__title {
  margin: 0;
  line-height: normal;
}

.home-discounts__slide--more {
  display: none;
}

.home-discounts-more {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 239px;
  height: 239px;
  padding: 24px;
  border-radius: 50%;
  background: #F2F1F0;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.home-discounts-more:hover,
.home-discounts-more:focus {
  color: var(--color-black);
  text-decoration: none;
}

.home-discounts-more__text {
  display: block;
  max-width: 9em;
}

.home-discounts-card__body {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}

.home-discounts-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.home-discounts-card__top .home-discounts-card__name {
  margin: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.home-discounts-card__top .home-discounts-card__price-row {
  flex: 0 0 auto;
  margin-top: 0;
  white-space: nowrap;
}

.home-discounts-card--featured .home-discounts-card__desc {
  margin-bottom: 0;
}

.home-discounts-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.2em * 2);
  margin: 0 0 12px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
}

.home-discounts-card__desc {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: calc(1.2em * 2);
  margin: 0 0 24px;
  color: var(--color-muted);
  font-family: var(--font-buttons);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}

.home-discounts-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.home-discounts-card__price {
  color: var(--color-black);
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  margin-right: 8px;
}

@media (max-width: 767px) {
  .home-discounts__slider .swiper-wrapper {
    align-items: stretch;
  }

  .home-discounts__slide,
  .home-discounts__slide--featured {
    display: flex;
    width: 239px;
    max-width: 239px;
    height: auto;
    min-height: 0;
    padding: 20px 0 0;
  }

  .home-discounts-card,
  .home-discounts-card--featured {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }

  .home-discounts-card__media,
  .home-discounts-card--featured .home-discounts-card__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 240px;
  }

  .home-discounts-card__badges {
    top: -16px;
    left: -8px;
  }

  .home-discounts-card--featured .home-discounts-card__image {
    object-fit: cover;
  }

  .home-discounts-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 16px;
  }

  .home-discounts-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .home-discounts-card__top .home-discounts-card__name {
    width: 100%;
  }

  .home-discounts-card__top .home-discounts-card__price-row {
    width: 100%;
    white-space: normal;
  }

  .home-discounts-card__price-row {
    margin-top: 0;
  }

  .home-discounts-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 20px;
  }

  .home-discounts-card--featured .home-discounts-card__desc {
    margin-bottom: 16px;
  }

  .home-discounts-card__name {
    font-size: 20px;
  }

  .home-discounts-card__price {
    font-size: 20px;
  }

  .home-discounts-card__badge {
    width: 32px;
    height: 32px;
  }

  .home-discounts-card__badge--hl img {
    width: 32px;
    height: 32px;
  }

  .home-discounts-card__badge--flash img {
    width: 11px;
    height: 15px;
  }

  .home-discounts-card__badge--sale img {
    width: 16px;
    height: 16px;
  }

  .home-novinki-card__badge {
    width: 32px;
    height: 32px;
  }

  .home-novinki-card__badge--hl img {
    width: 32px;
    height: 32px;
  }

  .home-novinki-card__badge--flash img,
  .home-novinki-card__badge--new img {
    width: 11px;
    height: 15px;
  }

  .home-novinki-card__badge--sale img {
    width: 16px;
    height: 16px;
  }

  .home-discounts__slide--more {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 239px;
    max-width: 239px;
    padding: 0;
    box-sizing: border-box;
  }

  /* Tip is wider than the card and crosses the next slide. Slides are separate
     stacking contexts, so the next card's badge paints through the tip. */
  .home-discounts__slide:has(.hit-badge-wrap--tip.is-open),
  .home-novinki__item:has(.hit-badge-wrap--tip.is-open) {
    position: relative;
    z-index: 6;
  }

  .home-discounts-card__badge .hit-badge-tip,
  .home-novinki-card__badge .hit-badge-tip {
    width: min(260px, calc(100vw - 40px));
    max-width: min(260px, calc(100vw - 40px));
  }
}

.home-discounts-card__old {
  color: var(--color-muted);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: line-through;
}

.home-discounts-card__discount {
  color: var(--color-pink);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

/* Novinki */
.home-novinki {
  padding: var(--home-section-pad-y) 0;
  padding-bottom: var(--home-section-pad-bottom);
}

.home-novinki__slider {
  width: 100%;
  overflow: visible;
}

.home-novinki__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.home-novinki__slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 0;
}

.home-novinki__slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 12px var(--home-edge) 0;
  overflow: visible;
}

.home-novinki__grid {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  width: 100%;
  box-sizing: border-box;
}

.home-novinki__item {
  flex: 384 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px;
  overflow: visible;
}

.home-novinki__item--featured {
  flex: 596 1 0;
}

.home-novinki-card {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  overflow: visible;
}

.home-novinki-card:hover,
.home-novinki-card:focus {
  color: inherit;
  text-decoration: none;
}

.home-novinki-card__media {
  position: relative;
  width: 100%;
  height: 384px;
  background: #f5f5f5;
  overflow: visible;
}

.home-novinki-card--featured .home-novinki-card__media {
  width: 572px;
  max-width: 100%;
  height: 572px;
}

.home-novinki-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f5f5f5;
}

.home-novinki-card--featured .home-novinki-card__image {
  object-fit: cover;
}

.home-novinki-card__badges {
  position: absolute;
  top: calc(0% - 20px);
  left: calc(0% - 20px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.home-novinki-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-sizing: border-box;
}

.home-novinki-card__badge--flash {
  background: #EFBB5E;
}

.home-novinki-card__badge--flash img,
.home-novinki-card__badge--new img {
  display: block;
  width: 17px;
  height: 23px;
  object-fit: contain;
}

.home-novinki-card__badge--new {
  background: var(--color-pink);
}

.home-novinki-card__badge--sale {
  background: var(--color-white);
  border: 1px solid var(--color-pink);
}

.home-novinki-card__badge--sale img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-novinki-card__badge--hl {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-novinki-card__badge--hl img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-novinki-card__badge.hit-badge-wrap--tip {
  position: relative;
}

.home-novinki-card__badge.hit-badge-wrap--tip:hover {
  z-index: 6;
}

.home-novinki-card__badge .hit-badge-tip {
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 12px);
  z-index: 5;
  box-sizing: border-box;
  width: 300px;
  max-width: 300px;
  padding: 10px 12px;
  border: 1px solid var(--color-pink);
  border-radius: 8px;
  background: var(--color-white);
  text-align: left;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.home-novinki-card__badge.hit-badge-wrap--tip:hover .hit-badge-tip,
.home-novinki-card__badge.hit-badge-wrap--tip.is-open .hit-badge-tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-novinki-card__badge.hit-badge-wrap--tip:hover,
.home-novinki-card__badge.hit-badge-wrap--tip.is-open {
  z-index: 10;
}

.home-novinki-card__badge .hit-badge-tip__title {
  display: block;
  margin: 0 0 4px;
  color: inherit;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-novinki-card__badge .hit-badge-tip__text {
  display: block;
  margin: 0;
  color: inherit;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

.home-novinki-card__badge.hit-badge-wrap--uni .hit-badge-tip,
.home-novinki-card__badge .hit-badge-tip:not(:has(.hit-badge-tip__text)) {
  display: flex;
  align-items: center;
}

.home-novinki-card__badge.hit-badge-wrap--uni .hit-badge-tip__title,
.home-novinki-card__badge .hit-badge-tip:not(:has(.hit-badge-tip__text)) .hit-badge-tip__title {
  margin: 0;
  line-height: normal;
}

.home-novinki-card__body {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.home-novinki-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.home-novinki-card__top .home-novinki-card__name {
  margin: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.home-novinki-card__top .home-novinki-card__price-row {
  flex: 0 0 auto;
  margin-top: 0;
  white-space: nowrap;
}

.home-novinki-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.2em * 2);
  margin: 0 0 12px;
  color: var(--color-black);
  font-family: var(--font-buttons);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
}

.home-novinki-card__desc {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: calc(1.2em * 2);
  margin: 0 0 24px;
  color: var(--color-muted);
  font-family: var(--font-buttons);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}

.home-novinki-card--featured .home-novinki-card__desc {
  margin-bottom: 0;
}

.home-novinki-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.home-novinki-card__price {
  color: var(--color-black);
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  margin-right: 8px;
}

.home-novinki-card__old {
  color: var(--color-muted);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: line-through;
}

.home-novinki-card__discount {
  color: var(--color-pink);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

/* Videos */
.home-videos {
  padding: 0 0 var(--home-section-pad-bottom);
}

.home-videos__mobile {
  display: none;
}

.home-videos__desktop {
  padding: calc(var(--home-section-vw) * 12 / 1920) var(--video-edge) 0;
  box-sizing: border-box;
}

.home-videos__slider {
  width: 100%;
  overflow: hidden;
}

.home-videos__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.home-videos__slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 0;
}

.home-videos__slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: calc(var(--home-section-vw) * 12 / 1920) var(--video-edge) 0;
  overflow: visible;
}

.home-videos__grid {
  display: flex;
  align-items: stretch;
  gap: var(--video-gap);
  width: 100%;
  box-sizing: border-box;
}

.home-videos__grid--solo {
  justify-content: flex-end;
}

.home-videos__list {
  display: flex;
  flex: 607 1 0;
  flex-direction: column;
  gap: var(--video-gap);
  min-width: 0;
  width: auto;
  /* Keep full 2-card height so last odd page (1 card) does not shrink the column */
  min-height: calc(var(--video-small-h) * 2 + var(--video-gap));
}

.home-videos-card {
  display: flex;
  color: var(--color-black);
  text-decoration: none;
  transition: opacity .2s ease;
}

.home-videos-card:hover,
.home-videos-card:focus {
  color: var(--color-black);
  opacity: .92;
  outline: none;
}

.home-videos-card--small {
  flex: 0 0 auto;
  align-items: stretch;
  gap: var(--video-card-gap);
  width: 100%;
  height: var(--video-small-h);
  box-sizing: border-box;
}

.home-videos-card--small.is-hidden,
.home-videos-card--featured.is-hidden {
  display: none;
}

.home-videos-card--small .home-videos-card__media {
  position: relative;
  display: block;
  flex: 0 0 var(--video-thumb-w);
  width: var(--video-thumb-w);
  max-width: 56%;
  height: var(--video-small-h);
  overflow: hidden;
  background: var(--color-white);
}

.home-videos-card--small.is-loading .home-videos-card__media::after,
.home-videos-card--featured.is-loading .home-videos-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.home-videos-card--small.is-loading .home-videos-card__media::before,
.home-videos-card--featured.is-loading .home-videos-card__media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: calc(var(--home-section-vw) * 28 / 1920);
  height: calc(var(--home-section-vw) * 28 / 1920);
  margin: calc(var(--home-section-vw) * -14 / 1920) 0 0 calc(var(--home-section-vw) * -14 / 1920);
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--color-pink, #e1429f);
  border-radius: 50%;
  pointer-events: none;
  animation: home-videos-media-spin 0.7s linear infinite;
}

.home-videos-card--small.is-loading .home-videos-card__body,
.home-videos-card--featured.is-loading .home-videos-card__body {
  opacity: 0.4;
}

@keyframes home-videos-media-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-videos-card--small .home-videos-card__media-layer,
.home-videos-card--featured .home-videos-card__media-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.home-videos-card--small .home-videos-card__media-layer.is-next,
.home-videos-card--featured .home-videos-card__media-layer.is-next {
  z-index: 2;
  pointer-events: none;
  transform: translate3d(-100%, 0, 0);
}

.home-videos-card--small .home-videos-card__media-layer.is-animating,
.home-videos-card--featured .home-videos-card__media-layer.is-animating {
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.home-videos-card--small .home-videos-card__media-layer .home-videos-card__img,
.home-videos-card--featured .home-videos-card__media-layer .home-videos-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-videos-card--small .home-videos-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: var(--video-body-w);
  height: var(--video-small-h);
  padding: calc(var(--home-section-vw) * 4 / 1920) 0;
  box-sizing: border-box;
  transition: opacity 0.28s ease;
}

.home-videos-card--small .home-videos-card__body.is-fading,
.home-videos-card--featured .home-videos-card__body.is-fading {
  opacity: 0;
}

.home-videos-card__label {
  display: block;
  margin: 0 0 var(--video-label-mb);
  color: #b3b3b3;
  font-family: var(--font-buttons);
  font-size: var(--video-font-label);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .6px;
  text-transform: uppercase;
  width: 100%;
}

.home-videos-card__title {
  width: 100%;
  overflow: hidden;
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-main);
  font-size: var(--video-font-title);
  font-weight: 400;
  line-height: 1.2;
}

.home-videos-card--small .home-videos-card__title,
.home-videos-card--featured .home-videos-card__title {
  position: relative;
  display: block;
  margin-bottom: var(--video-title-mb);
  overflow: hidden;
  cursor: pointer;
}

.home-videos-card--small .home-videos-card__title-row,
.home-videos-card--featured .home-videos-card__title-row {
  /* 5.25s на одну ступень × 2 ступени (blank + in) */
  --roll-duration: .55s;
  /* Высота видимого окна и каждой ступени трека (out / blank / in) */
  --roll-line: 1.2em;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: var(--roll-line);
  /* Зазор между разными строками заголовка */
  margin-bottom: 0.2em;
}

.home-videos-card--small .home-videos-card__title-row:last-child,
.home-videos-card--featured .home-videos-card__title-row:last-child {
  margin-bottom: 0;
}

/* Колонка: текст → пустая → дубль; сдвиг на −2×line */
.home-videos-card--small .home-videos-card__title-row-track,
.home-videos-card--featured .home-videos-card__title-row-track {
  display: block;
  width: 100%;
  transform: translateY(0);
  transition: transform var(--roll-duration) cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.home-videos-card--small .home-videos-card__title.is-rolled .home-videos-card__title-row-track,
.home-videos-card--featured .home-videos-card__title.is-rolled .home-videos-card__title-row-track {
  transform: translateY(calc(-2 * var(--roll-line)));
}

.home-videos-card--small .home-videos-card__title-row-text,
.home-videos-card--small .home-videos-card__title-row-blank,
.home-videos-card--featured .home-videos-card__title-row-text,
.home-videos-card--featured .home-videos-card__title-row-blank {
  display: block;
  width: 100%;
  height: var(--roll-line);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .home-videos-card--small .home-videos-card__title-row-track,
  .home-videos-card--featured .home-videos-card__title-row-track {
    transition: none;
  }

  .home-videos-card--small .home-videos-card__title.is-rolled .home-videos-card__title-row-track,
  .home-videos-card--featured .home-videos-card__title.is-rolled .home-videos-card__title-row-track {
    transform: none;
  }
}

.home-videos-card__platforms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: calc(var(--home-section-vw) * 8 / 1920);
  min-height: var(--video-platform);
  width: 100%;
}

.home-videos-card__platform {
  display: block;
  width: var(--video-platform);
  height: var(--video-platform);
  object-fit: contain;
  margin-left: 0;
}

.home-videos-card--featured {
  flex: 0 0 var(--video-featured-w);
  width: var(--video-featured-w);
  max-width: var(--video-featured-w);
  flex-direction: column;
  gap: calc(var(--home-section-vw) * 16 / 1920);
  min-width: 0;
  min-height: 100%;
  box-sizing: border-box;
}

.home-videos-card--featured .home-videos-card__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: var(--video-featured-media-min-h);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-white);
}

.home-videos-card--featured .home-videos-card__img {
  position: absolute;
  inset: 0;
}

.home-videos-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--video-play);
  height: var(--video-play);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-videos-card__play img {
  display: block;
  width: var(--video-play-icon);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35));
}

.home-videos-card--featured .home-videos-card__body {
  display: flex;
  gap: var(--video-featured-body-gap);
  min-height: var(--video-featured-body-min-h);
  transition: opacity 0.28s ease;
}

.home-videos-card--featured.is-loading .home-videos-card__play {
  opacity: 0;
}

.home-videos-card--featured .home-videos-card__label {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.home-videos-card--featured .home-videos-card__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--video-font-title-lg);
}

@media (max-width: 767px) {
  .home-videos {
    padding-bottom: 64px;
  }

  .home-videos__desktop {
    display: none;
  }

  .home-videos__mobile {
    display: block;
  }

  .home-videos__viewport {
    margin-top: 40px;
    padding: 0 20px;
  }

  .home-videos__slider--mobile {
    overflow: hidden;
    touch-action: pan-y;
  }

  .home-videos__slide--mobile {
    width: 100%;
    height: auto;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .home-videos-card--mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 40px;
    color: var(--color-black);
    text-decoration: none;
    cursor: pointer;
    -webkit-user-drag: none;
    user-select: none;
  }

  .home-videos-card--mobile .home-videos-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-white);
    pointer-events: none;
  }

  .home-videos-card--mobile .home-videos-card__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-videos-card--mobile .home-videos-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 72px;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
  }

  .home-videos-card--mobile .home-videos-card__label {
    width: auto;
    margin: 0;
  }

  .home-videos-card--mobile .home-videos-card__title {
    -webkit-line-clamp: 2;
    font-size: 18px;
  }

  .home-videos__pagination {
    position: relative;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0;
  }

  .home-videos__pagination .swiper-pagination-bullet {
    flex: 0 0 auto;
    position: relative;
    width: 6px;
    height: 6px;
    margin: 0;
    border-radius: 50%;
    background: #d9d9d9;
    opacity: 1;
    transform: none;
  }

  .home-videos__pagination .swiper-pagination-bullet:before {
    content: none;
    display: none;
  }

  .home-videos__pagination .swiper-pagination-bullet-active,
  .home-videos__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
    transform: none;
  }

  .home-videos__pagination .swiper-pagination-bullet-active:before,
  .home-videos__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    content: none;
    display: none;
  }
}

/* Advantages */
.home-advantages {
  width: 100%;
  margin-left: 0;
  height: 432px;
  padding: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  background: #FBF7F0;
}

.home-advantages__viewport {
  width: 100%;
  overflow: hidden;
}

.home-advantages__track {
  display: flex;
  width: max-content;
  animation: home-advantages-marquee 40s linear infinite;
}

.home-advantages__group {
  display: flex;
  align-items: flex-start;
  flex: none;
  gap: 240px;
  padding-right: 240px;
  box-sizing: content-box;
}

.home-advantages__item {
  display: grid;
  grid-template-rows: 160px auto;
  grid-template-columns: 220px;
  flex: 0 0 220px;
  align-items: center;
  justify-items: center;
  gap: 20px;
  width: 220px;
  box-sizing: border-box;
  text-align: center;
}

.home-advantages__media {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  overflow: hidden;
}

.home-advantages__img,
.home-advantages__media img {
  display: block;
  float: none;
  width: auto;
  max-width: 160px;
  max-height: 160px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.home-advantages__caption {
  grid-row: 2;
  align-self: start;
  width: 100%;
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

@keyframes home-advantages-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-advantages__track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .home-advantages {
    height: auto;
    min-height: 0;
    padding: 40px 0 48px;
    overflow: hidden;
  }

  .home-advantages__group {
    gap: 240px;
    padding-right: 240px;
  }

  .home-advantages__item {
    flex: 0 0 220px;
    margin: 0;
  }

  .home-advantages__caption {
    font-size: 30px;
  }
}

/* Subscribe — монстр + бегущая строка; база @ 1920 */
.home-subscribe {
  --subscribe-h: calc(var(--home-section-vw) * 600 / 1920);
  --subscribe-title: calc(var(--home-section-vw) * 112 / 1920);
  --subscribe-title-gap: calc(var(--home-section-vw) * 120 / 1920);
  --subscribe-btn-w: calc(var(--home-section-vw) * 400 / 1920);
  --subscribe-btn-h: calc(var(--home-section-vw) * 200 / 1920);
  --subscribe-btn-radius: calc(var(--home-section-vw) * 40 / 1920);
  --subscribe-btn-font: calc(var(--home-section-vw) * 24 / 1920);
  position: relative;
  height: var(--subscribe-h);
  overflow: visible;
}

.home-subscribe.is-cursor-btn {
  z-index: 5;
  cursor: none;
}

.home-subscribe__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-subscribe__marquee {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  transform: translateY(-50%);
}

.home-subscribe__track {
  display: flex;
  width: max-content;
  animation: home-subscribe-marquee 28s linear infinite;
}

.home-subscribe__title {
  flex: none;
  padding-right: var(--subscribe-title-gap);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--subscribe-title);
  line-height: 100%;
  letter-spacing: .3px;
  color: var(--color-black);
  white-space: nowrap;
}

@keyframes home-subscribe-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-subscribe__track {
    animation: none;
  }
}

.home-subscribe__image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  height: 100%;
  width: auto;
  display: block;
}

.home-subscribe__btn {
  position: absolute;
  top: var(--btn-y, 0px);
  left: var(--btn-x, 0px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--subscribe-btn-w);
  height: var(--subscribe-btn-h);
  padding: 0;
  border-radius: var(--subscribe-btn-radius);
  background: #FFDEE2;
  color: #555;
  font-family: var(--font-buttons);
  font-size: var(--subscribe-btn-font);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}

a.home-subscribe__btn:hover,
a.home-subscribe__btn:focus,
a.home-subscribe__btn:active,
a.home-subscribe__btn:visited {
  color: #555;
}

.home-subscribe.is-cursor-btn .home-subscribe__btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 767px) {
  .home-subscribe {
    height: 290px;
  }

  .home-subscribe.is-cursor-btn {
    z-index: auto;
    cursor: auto;
  }

  .home-subscribe__marquee {
    top: 30%;
    transform: translateY(-30%);
  }

  .home-subscribe__title {
    padding-right: 48px;
    font-size: 48px;
  }

  .home-subscribe__image {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    height: 200px;
    width: auto;
    transform: translateX(-50%);
  }

  .home-subscribe__btn,
  .home-subscribe.is-cursor-btn .home-subscribe__btn {
    position: absolute;
    top: 225px;
    left: 50%;
    z-index: 2;
    width: 240px;
    height: 64px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
    will-change: auto;
    cursor: pointer;
    font-size: 12px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1400px) {
  .home-videos__list,
  .home-videos-card--small {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 1100px) {
  .home-header__top {
    gap: 14px;
    padding: 0 20px;
  }

  .home-header__end {
    margin-right: -20px;
  }

  .home-header__phone {
    display: none;
  }

  .home-slider-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-videos__grid {
    gap: 32px;
  }

  .home-videos__list {
    flex: 1 1 0;
  }

  .home-videos-card--featured {
    flex: 1.2 1 0;
  }

  .home-videos-card--small {
    height: auto;
    min-height: 160px;
  }

  .home-videos-card--small .home-videos-card__media {
    flex-basis: 42%;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 140px;
    aspect-ratio: 16 / 10;
  }

  .home-videos-card--small .home-videos-card__body {
    height: auto;
  }

  .home-videos-card__title {
    font-size: 18px;
  }

  .home-videos-card--featured .home-videos-card__title {
    font-size: 20px;
  }

  .home-videos-card--featured .home-videos-card__media {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .home-videos__grid {
    flex-direction: column;
  }

  .home-videos__list,
  .home-videos-card--featured {
    flex: 1 1 auto;
    width: 100%;
  }

  .home-videos-card--featured {
    order: -1;
  }

  .home-videos-card--featured .home-videos-card__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .home-videos-card--small .home-videos-card__media {
    flex-basis: 42%;
    width: auto;
    height: auto;
    min-height: 120px;
  }
}

@media (max-width: 700px) {
  .home-header__top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 20px;
  }

  .home-header__end {
    margin-right: -12px;
  }

  .home-header__actions {
    gap: 8px;
  }

  .home-header__actions .header--icon-title,
  .home-header__actions .title {
    display: none;
  }

  .home-novinki {
    padding: 80px 0;
  }

  .home-novinki__slide {
    padding: 8px 16px 0;
  }

  .home-novinki__grid {
    gap: 16px;
  }

  .home-novinki__item {
    padding: 8px;
  }

  .home-novinki-card__media,
  .home-novinki-card--featured .home-novinki-card__media {
    height: 280px;
  }

  .home-novinki-card__name {
    font-size: 18px;
    min-height: calc(1.2em * 2);
  }

  .home-novinki-card__desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .home-novinki-card__price {
    font-size: 18px;
  }

  .home-novinki-card__top {
    flex-direction: column;
    gap: 8px;
  }

  .home-slider-head {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .home-slider-head__nav {
    order: 1;
  }

  .home-slider-head__title {
    order: 2;
    width: 100%;
    font-size: 48px;
    text-align: left;
  }

  .home-slider-head__all {
    position: static;
    order: 3;
    transform: none;
  }

  .home-videos {
    padding-bottom: 80px;
  }

  .home-videos-card--small {
    gap: 14px;
  }

  .home-videos-card__title {
    font-size: 16px;
  }

  .home-videos-card--featured .home-videos-card__title {
    font-size: 18px;
  }

  .home-videos-card__play {
    width: 56px;
    height: 56px;
  }

  .home-videos-card__play img {
    width: 26px;
  }

  .home-advantages {
    height: auto;
    min-height: 0;
    padding: 40px 0 48px;
  }

  .home-advantages__group {
    gap: 64px;
    padding-right: 64px;
  }

  .home-advantages__item {
    flex: 0 0 220px;
    margin: 0;
  }

  .home-advantages__caption {
    font-size: 30px;
  }
}

/* Footer */
.home-footer {
  width: 100%;
  /* Масштаб только 1400–2200; ниже 1400 — как при 1400. База макета 1920. */
  --home-footer-vw: clamp(1400px, 100vw, 2200px);
  --home-footer-h: calc(var(--home-footer-vw) * 1080 / 1920);
  --home-footer-logo-h: calc(var(--home-footer-vw) * 367 / 1920);
  --home-footer-mascot-h: calc(var(--home-footer-vw) * 922 / 1920);
  --home-footer-title-mt: calc(var(--home-footer-vw) * 32 / 1920);
}

.home-footer__container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: var(--home-footer-h);
  min-height: var(--home-footer-h);
  padding: 0;
  box-sizing: border-box;
  background: #000;
  overflow: hidden;
  flex-direction: column;
}

.home-footer__menu-container {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 64px 20px;
}

.home-footer__menu-left,
.home-footer__menu-right {
  display: flex;
  flex-direction: row;
  gap: 90px;
}

.home-footer__menu-col {
  min-width: 0;
}

/* Desktop: match pre-mobile menu-right (contacts | shops), hide socials */
.home-footer__meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 90px;
}

.home-footer__socials {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-family: var(--font-main);
}

.home-footer__socials-title {
  margin: 0 0 20px;
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.home-footer__socials-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-footer__socials-link {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.home-footer__socials-link:hover,
.home-footer__socials-link:focus {
  color: #fff;
  opacity: .8;
}

.home-footer__meta-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 90px;
}

.home-footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-family: var(--font-main);
}

.home-footer-menu__title {
  margin: 0 0 32px;
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.home-footer-menu__toggle {
  display: none;
}

.home-footer-menu__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-footer-menu__list li,
.home-footer-menu__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-footer-menu__list li::before,
.home-footer-menu__list li::after,
.home-footer-menu__item::before,
.home-footer-menu__item::after {
  content: none !important;
  display: none !important;
}

.home-footer-menu__link {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

a.home-footer-menu__link:hover,
a.home-footer-menu__link:focus {
  color: #fff;
  opacity: .8;
}

.home-footer-menu .bottom-menu,
.home-footer-menu .compact_arrow {
  display: none;
}

.home-footer__shops {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-family: var(--font-main);
}

.home-footer__shops-title {
  margin: 0 0 28px;
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.home-footer__shop {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 28px;
}

.home-footer__shop:last-child {
  margin-bottom: 0;
}

.home-footer__shop-city {
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.home-footer__shop-line {
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.home-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-main);
}

.home-footer__contacts-hours {
  color: #808080;
  font-size: 16px;
  line-height: 1.3;
}

.home-footer__contacts-phone {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.home-footer__contacts-phone:hover,
.home-footer__contacts-phone:focus {
  color: #fff;
  opacity: .85;
}

.home-footer__title {
  position: relative;
  z-index: 0;
  width: 100%;
  margin-top: var(--home-footer-title-mt);
  line-height: 0;
  padding: 0 20px;
}

.home-footer__title img.home-footer__title-logo {
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  width: min(100%, calc(var(--home-footer-vw) * 1856 / 1920));
  height: auto;
  max-height: var(--home-footer-logo-h);
  aspect-ratio: 1856 / 367;
  object-fit: contain;
  object-position: center;
}

.home-footer__mascot {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  line-height: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-footer__image {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 0;
  display: block;
  height: var(--home-footer-mascot-h);
  width: auto;
  max-width: none;
  transform: none;
}

.home-footer__eye {
  position: absolute;
  z-index: 1;
  width: 5.25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at var(--sclera-x, 42%) var(--sclera-y, 38%),
      #ffffff 0%,
      #f2f2f2 22%,
      #d9d9d9 48%,
      #b0b0b0 72%,
      #7e7e7e 100%
    );
  box-shadow:
    inset 0 -12% 22% rgba(0, 0, 0, .32),
    inset 0 10% 14% rgba(255, 255, 255, 1),
    0 0 0 1px rgba(255, 255, 255, .95),
    0 0 6px 3px rgba(0, 0, 0, .6),
    0 0 14px 5px rgba(0, 0, 0, .4);
  overflow: hidden;
  transform: translate(-50%, -50%);
  filter: blur(0.2px);
}

.home-footer__eye::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background: rgba(0, 0, 0, .05);
  pointer-events: none;
}

.home-footer__eye--left {
  left: 45.85%;
  top: 27.95%;
}

.home-footer__eye--right {
  left: 55.25%;
  top: 28.05%;
}

.home-footer__pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at var(--pupil-glow-x, 35%) var(--pupil-glow-y, 30%),
      #3a3a3a 0%,
      #1a1a1a 38%,
      #0a0a0a 72%,
      #000 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 1px 2px rgba(0, 0, 0, .25);
  transform: translate(calc(-50% + var(--pupil-x, -32%)), calc(-50% + var(--pupil-y, 8%)));
  will-change: transform;
}

.home-footer__pupil::after {
  content: "";
  position: absolute;
  top: var(--glint-y, 16%);
  left: var(--glint-x, 20%);
  width: 31%;
  height: 31%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 40% 35%,
      rgba(255, 255, 255, .55) 0%,
      rgba(255, 255, 255, .22) 40%,
      rgba(255, 255, 255, 0) 70%
    );
  box-shadow:
    10px 12px 0 -3px rgba(255, 255, 255, .18);
  pointer-events: none;
}

.home-footer__bottom-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 100%;
  padding: 0 32px 32px;
  position: absolute;
  bottom: 0;
  z-index: 2;
}

.home-footer__bottom-left,
.home-footer__bottom-right {
  display: flex;
  gap: 32px;
  color: rgba(255, 255, 255, 0.5);
}

.home-footer__bottom-left {
  margin-right: 164px;
}

.home-footer__bottom-meta {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
}

.home-footer__bottom-left a,
.home-footer__bottom-right a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.home-footer__bottom-left a:hover,
.home-footer__bottom-left a:focus,
.home-footer__bottom-right a:hover,
.home-footer__bottom-right a:focus {
  color: #fff;
  opacity: .85;
}

@media (max-width: 767px) {
  .home-footer__title {
    margin-top: 10px;
  }

  .home-footer__title img.home-footer__title-logo {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .home-footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 20px;
    row-gap: 0;
    height: auto;
    min-height: 0;
    padding: 0 20px 24px;
    overflow: hidden;
  }

  .home-footer__title,
  .home-footer__menu-left,
  .home-footer__mascot {
    grid-column: 1 / -1;
  }

  .home-footer__menu-container,
  .home-footer__meta,
  .home-footer__bottom-container {
    display: contents;
  }

  .home-footer__menu-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 24px;
  }

  .home-footer__menu-col {
    width: 100%;
  }

  .home-footer-menu {
    width: 100%;
  }

  .home-footer-menu__title {
    display: none;
  }

  .home-footer-menu__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }

  .home-footer-menu__toggle-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1em;
    color: #fff;
    font-size: 18px;
    line-height: 1;
  }

  .home-footer-menu__toggle-text {
    flex: 1 1 auto;
  }

  .home-footer-menu__list {
    display: none;
    padding: 0 0 12px 1.75em;
  }

  .home-footer-menu.is-open .home-footer-menu__list {
    display: flex;
  }

  .home-footer-menu.is-open .home-footer-menu__toggle-icon {
    transform: none;
  }

  .home-footer__socials {
    display: flex;
    grid-column: 1;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
    box-sizing: border-box;
  }

  .home-footer__meta-right {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    gap: 32px;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
    box-sizing: border-box;
  }

  .home-footer__socials-title,
  .home-footer__shops-title {
    margin-bottom: 16px;
  }

  .home-footer__shop {
    margin-bottom: 20px;
  }

  .home-footer__shop-city {
    font-size: 16px;
  }

  .home-footer__contacts-phone {
    font-size: 18px;
  }

  .home-footer__contacts {
    align-items: flex-start;
  }

  .home-footer__contacts-hours {
    text-align: left;
  }

  .home-footer__bottom-left,
  .home-footer__bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin-top: 40px;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
  }

  .home-footer__bottom-left {
    grid-column: 1;
    color: #808080;
  }

  .home-footer__bottom-right {
    grid-column: 2;
  }

  .home-footer__bottom-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .home-footer__bottom-brand {
    color: #808080;
  }

  .home-footer__bottom-right a {
    display: block;
    width: 100%;
    color: #808080;
    text-align: left;
    text-decoration: none;
  }

  .home-footer__mascot {
    position: relative;
    left: auto;
    bottom: -24px;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    transform: none;
  }

  .home-footer__image {
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
    object-fit: contain;
    object-position: bottom center;
  }

  .home-footer__eye {
    display: none;
  }
}