/**
 * /catalog/ only: «Направления Shokeri» — яркие золотые карточки в одну линию (скролл).
 * Scoped: html body.sk-catalog … не трогает главную и другие витрины.
 */

html.sk-vw-phone body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners,
html.sk-vw-tablet body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners,
html body.sk-catalog .sk-shop__stage .sk-side-banners {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  grid-template-columns: none !important;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 16px 22px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
}

html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-side-banners__item--hero,
html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-rail-world {
  flex: 0 0 clamp(148px, 38vw, 220px);
  width: clamp(148px, 38vw, 220px);
  min-height: 0;
  scroll-snap-align: start;
  aspect-ratio: 2 / 3 !important;
  max-height: none !important;
  border-radius: 16px;
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.72),
    0 0 22px rgba(212, 175, 55, 0.38),
    0 16px 34px rgba(74, 59, 82, 0.28);
}

html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-side-banners__item--hero::after,
html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-rail-world::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 212, 0.55);
}

html body.sk-catalog .sk-shop__stage .sk-side-banners__item--hero img,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-world img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.04);
}

html body.sk-catalog .sk-shop__stage .sk-side-banners__item--hero .sk-side-banners__sunset,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-world .sk-side-banners__sunset {
  height: 52% !important;
  background: linear-gradient(
    0deg,
    rgba(42, 28, 38, 0.9) 0%,
    rgba(42, 28, 38, 0.42) 46%,
    transparent 100%
  ) !important;
}

html body.sk-catalog .sk-shop__stage .sk-side-banners__item--hero .sk-side-banners__brand,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-world .sk-side-banners__brand {
  font-size: 15px !important;
  background-image: linear-gradient(
    105deg,
    #f9f6f0 0%,
    #d4af37 42%,
    #f7ecd0 72%,
    #d4b5b0 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 3px rgba(42, 28, 38, 0.9));
}

html body.sk-catalog .sk-shop__stage .sk-side-banners__item--hero .sk-side-banners__line,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-world .sk-side-banners__line {
  font-size: 13px !important;
  color: #f0d060 !important;
  -webkit-text-fill-color: #f0d060 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.75), 0 1px 2px rgba(42, 28, 38, 0.95) !important;
}

html body.sk-catalog .sk-shop__stage .sk-side-banners__item--hero .sk-side-banners__note,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-world .sk-side-banners__note {
  font-size: 10px !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
}

html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-tg-bot--rail,
html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-extras {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: none;
}

html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-tg-bot--rail {
  max-width: none;
}

@media (min-width: 1200px) {
  html body.sk-catalog .sk-shop__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 20px;
  }

  html body.sk-catalog .sk-shop__stage .sk-side-banners {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden;
    overflow-y: visible;
    grid-column: 2;
    grid-row: 1;
    width: 220px;
    max-width: 220px;
    padding: 0;
    gap: 24px;
    scroll-snap-type: none;
  }

  html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-side-banners__item--hero,
  html body.sk-catalog .sk-shop__stage .sk-side-banners > a.sk-rail-world {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2 / 3 !important;
    max-height: none !important;
  }

  html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-tg-bot--rail,
  html body.sk-catalog .sk-shop__stage .sk-side-banners .sk-rail-extras {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 1199px) {
  html.sk-vw-phone body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners__item--hero,
  html.sk-vw-tablet body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners__item--hero,
  html.sk-vw-phone body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners .sk-rail-world,
  html.sk-vw-tablet body.sk-catalog.sk-gems .sk-shop__stage .sk-side-banners .sk-rail-world {
    aspect-ratio: 2 / 3 !important;
    max-height: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.sk-catalog .sk-shop__stage .sk-side-banners {
    scroll-snap-type: none;
  }
}