/* REALPUNCHER — main.html: тёмный хедер и hero-слайдер */

:root {
  --rp-black: #000000;
  --rp-red: #e51b23;
  --rp-red-hover: #ff2125;
  --rp-white: #ffffff;
  --rp-muted: rgba(255, 255, 255, 0.72);
  --rp-font: "Montserrat", system-ui, -apple-system, sans-serif;
  --rp-radius: 5px;
  --rp-header-h: auto;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* stable без both-edges: не сужаем весь макет */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--rp-white);
  background: var(--rp-black);
  -webkit-font-smoothing: antialiased;
}
.body-light {
  background: var(--rp-white);
  color: var(--rp-black);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-only,
.rp-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;
}

/* --- Header --- */

.rp-header {
  position: relative;
  z-index: 100;
  background: var(--rp-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-header__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding: 0.75rem clamp(0.75rem, 2vw, 1.25rem) 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rp-header__row--top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
}

.rp-header__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--rp-white);
  justify-self: start;
}

.rp-header__phone-link:hover {
  opacity: 0.88;
}

.rp-header__icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.rp-header__brand {
  justify-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.rp-header__logo-img {
  height: auto;
}

.rp-header__tagline {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--rp-muted);
}

.rp-header__address-block {
  justify-self: end;
  text-align: right;
}

.rp-header__address,
.rp-header__hours {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--rp-white);
}

.rp-header__address {
  font-weight: 600;
}

.rp-header__hours {
  font-weight: 400;
  color: var(--rp-muted);
}

.rp-header__row--bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 0.1rem;
}

.rp-header__cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
}

.rp-btn--shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--rp-red);
  color: var(--rp-white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--rp-radius);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.rp-btn--shop:hover {
  background: var(--rp-red-hover);
}

.rp-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rp-radius);
  background: var(--rp-red);
  color: var(--rp-white);
  transition: opacity 0.2s ease;
}

.rp-header__icon-btn:hover {
  opacity: 0.92;
}

.rp-header__nav {
  justify-self: center;
}

.rp-header__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.rp-header__nav-list a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--rp-white);
  white-space: nowrap;
}

.rp-header__nav-list a:hover {
  opacity: 0.8;
}

.rp-header__nav-list li {
  display: inline-flex;
  align-items: center;
}

.rp-header__nav-list li + li::before {
  content: "|";
  margin-inline: 0.45rem 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  font-size: 0.85rem;
}

.rp-header__tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
}

.rp-header__icon-btn--telegram {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  padding: 0;
}

.rp-header__login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--rp-white);
}

.rp-header__login:hover {
  opacity: 0.85;
}

.rp-header__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rp-white);
  position: relative;
}

.rp-header__cart:hover {
  opacity: 0.85;
}

button.rp-header__cart {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a.rp-header__cart {
  text-decoration: none;
}

.rp-header__cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #ed1c24;
  color: #fff;
  font-family: var(--rp-font);
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  pointer-events: none;
}

button.rp-header__login {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.rp-header__login-svg {
  display: block;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}

/* Mega menu: desktop — под шапкой по hover; mobile — внутри выпадающего #rp-site-nav */
.rp-header__mega-menu {
  display: none;
}

.rp-mega__col--nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rp-mega__heading--stacked {
  margin-top: 1rem;
  padding-top: 1rem;
}

@media (min-width: 901px) {
  .rp-header__nav-close {
    display: none !important;
  }

  .rp-header__nav-scroll {
    display: contents;
  }

  .rp-header__mega-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    z-index: 120;
    margin-top: -2px;
    padding-top: 10px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .rp-header--mega-open .rp-header__mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rp-header__mega-inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-block: 1.25rem 1.5rem;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .rp-header__mega-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 5.0fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
  }

  .rp-mega__list--dense {
    gap: 0.32rem;
  }

  .rp-mega__link--nav-caps {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
  }

  .rp-mega__heading {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
  }

  .rp-mega__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .rp-mega__catalog-full {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem 1.1rem;
    align-content: start;
  }

  .rp-mega__catalog-full .rp-mega__link {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  @media (min-width: 1320px) {
    .rp-mega__catalog-full {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .rp-mega__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rp-white);
    text-decoration: none;
    line-height: 1.35;
    transition: opacity 0.15s ease, color 0.15s ease;
  }

  .rp-mega__link:hover {
    opacity: 0.85;
    color: var(--rp-red);
  }

  .rp-mega__link:focus-visible {
    outline: 2px solid var(--rp-red);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .rp-mega__link--muted {
    font-weight: 500;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .rp-mega__link--muted:hover {
    color: var(--rp-white);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .rp-header__mega-grid {
    grid-template-columns: 1fr;
  }

  .rp-mega__catalog-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html.rp-nav-drawer-open,
html.rp-nav-drawer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Mobile nav — полноэкранный drawer */
@media (max-width: 900px) {
  .rp-header__nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0a0a0a;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .rp-header[data-nav-open="true"] .rp-header__nav {
    display: flex;
  }

  .rp-header__nav-close {
    flex-shrink: 0;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: max(0.35rem, env(safe-area-inset-top, 0px)) max(0.35rem, env(safe-area-inset-right, 0px)) 0
      max(0.35rem, env(safe-area-inset-left, 0px));
    padding: 0;
    border: 0;
    border-radius: var(--rp-radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--rp-white);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
  }

  .rp-header__nav-close:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .rp-header__nav-close:focus-visible {
    outline: 2px solid var(--rp-red);
    outline-offset: 2px;
  }

  .rp-header__nav-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.65rem clamp(1rem, 4vw, 1.35rem) max(1.25rem, env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }

  .rp-header__mega-menu {
    display: block;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.85rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: auto;
  }

  .rp-header__mega-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .rp-header__mega-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .rp-mega__catalog-full {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
  }

  .rp-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .rp-header__nav-list li + li::before {
    display: none;
  }

  .rp-header__row--bottom {
    position: relative;
  }
}

@media (max-width: 1024px) {
  .rp-header__row--top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .rp-header__phone-link {
    justify-self: center;
  }

  .rp-header__address-block {
    justify-self: center;
    text-align: center;
  }
}

/* --- Компактная панель при скролле (основной хедер вне экрана) --- */

.rp-scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  height: 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: var(--rp-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s step-end;
}

.rp-scroll-nav.is-visible {
  transform: translateY(0);
  opacity: 0.5;
  pointer-events: auto;
  visibility: visible;
  transition: transform 0.22s ease, opacity 0.2s ease, visibility 0s step-start;
}

.rp-scroll-nav.is-visible:hover {
  opacity: 1;
}

/* Курсор с бургера на выпадающий каталог — компактная панель не возвращается к 0.5 */
header.rp-header--mega-open ~ .rp-scroll-nav.is-visible {
  opacity: 1;
}

.rp-scroll-nav__inner {
  width: min(90rem, calc(100% - 24px));
  margin-inline: auto;
  padding-inline: max(0.5rem, env(safe-area-inset-left, 0px)) max(0.5rem, env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  height: 36px;
}

.rp-scroll-nav__left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rp-scroll-nav .rp-btn--shop {
  min-height: 0;
  height: 26px;
  padding: 0 0.55rem;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
}

.rp-scroll-nav .rp-header__icon-btn {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.rp-scroll-nav .rp-header__icon-btn--telegram {
  width: 26px;
  height: 26px;
}

.rp-scroll-nav__nav {
  min-width: 0;
  justify-self: center;
}

.rp-scroll-nav__nav-list {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
}

.rp-scroll-nav__nav-list a {
  font-size: 0.6875rem;
  font-weight: 500;
}

.rp-scroll-nav__nav-list li + li::before {
  margin-inline: 0.28rem 0.36rem;
  font-size: 0.7rem;
}

.rp-scroll-nav__tools {
  gap: 0.4rem;
  flex-shrink: 0;
}

.rp-scroll-nav .rp-header__login {
  font-size: 0.6875rem;
  gap: 0.2rem;
}

.rp-scroll-nav .rp-header__login-svg {
  width: 1.1rem;
  height: 1.1rem;
}

.rp-scroll-nav .rp-ico--22 {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .rp-scroll-nav__nav {
    display: none;
  }

  .rp-scroll-nav__inner {
    grid-template-columns: auto 1fr;
  }

  .rp-scroll-nav__tools {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .rp-scroll-nav .rp-header__login span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 901px) {
  html.rp-scroll-nav-visible .rp-header--mega-open .rp-header__mega-menu {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
}

/* --- Catalog page (catalog.html) --- */

.rp-catalog-page {
  margin: 0;
  padding: 0;
}

.rp-catalog-page:has(.rp-catalog-intro--top) .rp-catalog-intro--bread {
  padding-bottom: 0;
}


.rp-catalog-intro {
  background: #ffffff;
  color: #0a0a0a;
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 clamp(2rem, 6vw, 3.25rem);
}

.rp-catalog-intro--top.rp-catalog-intro  {
  padding-top: 0;
}

.rp-catalog-intro__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.rp-catalog-intro__breadcrumbs {
  margin: 0 0 clamp(0.85rem, 2.2vw, 1.35rem);
}

.rp-catalog-intro__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.rp-catalog-intro__crumbs a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rp-catalog-intro__crumbs a:hover {
  color: #0a0a0a;
}

.rp-catalog-intro__crumbs [aria-current="page"] {
  color: #0a0a0a;
  font-weight: 500;
}

.rp-catalog-intro__sep {
  color: rgba(0, 0, 0, 0.32);
  user-select: none;
}

.rp-catalog-intro__title {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  font-family: var(--rp-font);
  font-size: 32px;
  font-weight: 400;
  color: #0a0a0a;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.rp-catalog-intro__text {
  margin: 0;
  max-width: 65rem;
  font-family: var(--rp-font);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  color: #0a0a0a;
}

/* Интро страницы акций (promo.html) */
.rp-catalog-intro--promo .rp-catalog-intro__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.35rem;
}

.rp-catalog-intro--promo .rp-catalog-intro__title {
  margin: 0;
}

.rp-catalog-intro--promo .rp-catalog-intro__cta-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  border-radius: 4px;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: #fff;
  background: var(--rp-red);
  border: 1px solid var(--rp-red);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-catalog-intro--promo .rp-catalog-intro__cta-btn:hover {
  background: var(--rp-red-hover);
  border-color: var(--rp-red-hover);
}

/* Блок текста на promo.html — колонка «Наш подход» + 1px + две равные колонки текста */
.rp-approach--promo-solo .rp-approach__band--solo {
  display: block;
}

.rp-approach--promo-solo .rp-approach__copy--solo {
  width: 100%;
}

.rp-promo-approach--with-label {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: stretch;
  column-gap: clamp(1rem, 2.8vw, 1.85rem);
}

.rp-promo-approach__sidebar {
  padding-right: clamp(1rem, 2.8vw, 1.85rem);
  border-right: 1px solid #e0e0e0;
}

.rp-promo-approach__label {
  margin: 0;
  max-width: 9rem;
  font-family: var(--rp-font);
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #c6c6c6;
}

.rp-promo-approach__columns {
  min-width: 0;
}

/* Вложенность колонок без лишнего уровня в grid/flex: дети участвуют в раскладке --flat */
.rp-promo-approach__lane {
  display: block;
}

.rp-promo-approach--flat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3.5vw, 2.75rem);
  row-gap: 0;
  align-items: start;
}

/* Меньший вертикальный зазор между заголовком и l1 / между r1 и r2; больший между l1 и l2 */
.rp-promo-approach--flat .rp-promo-approach__cell--l1,
.rp-promo-approach--flat .rp-promo-approach__cell--r2 {
  margin-top: clamp(0.35rem, 1vw, 0.55rem);
}

.rp-promo-approach--flat .rp-promo-approach__cell--l2 {
  margin-top: clamp(0.85rem, 2vw, 1.2rem);
}

.rp-promo-approach--flat .rp-promo-approach__cell--h {
  grid-column: 1;
  grid-row: 1;
}

.rp-promo-approach--flat .rp-promo-approach__cell--r1 {
  grid-column: 2;
  grid-row: 1;
}

.rp-promo-approach--flat .rp-promo-approach__cell--l1 {
  grid-column: 1;
  grid-row: 2;
}

.rp-promo-approach--flat .rp-promo-approach__cell--r2 {
  grid-column: 2;
  grid-row: 2;
}

.rp-promo-approach--flat .rp-promo-approach__cell--l2 {
  grid-column: 1;
  grid-row: 3;
}

.rp-promo-approach__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.875rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #000000;
}

.rp-promo-approach__text {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #0a0a0a;
}

@media (max-width: 720px) {
  .rp-promo-approach--with-label {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1rem, 2.2vw, 1.35rem);
  }

  .rp-promo-approach__sidebar {
    padding-right: 0;
    padding-bottom: clamp(0.85rem, 2vw, 1.15rem);
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  /* Порядок в потоке: primary (h2 → l1 → l2), затем secondary (r1 → r2) — отступы как на desktop-сетке */
  .rp-promo-approach--flat {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--l1,
  .rp-promo-approach--flat .rp-promo-approach__cell--r2 {
    margin-top: 0;
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--l2 {
    margin-top: 0;
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--h {
    margin-bottom: clamp(0.35rem, 1vw, 0.55rem);
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--l1 {
    margin-bottom: clamp(0.85rem, 2vw, 1.2rem);
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--l2 {
    margin-bottom: clamp(0.85rem, 2vw, 1.2rem);
  }

  .rp-promo-approach--flat .rp-promo-approach__cell--r1 {
    margin-bottom: clamp(0.35rem, 1vw, 0.55rem);
  }
}

/* Интро категории: преимущества и фильтр классификации (products.html) */
.rp-catalog-intro-benefits {
  margin-top: clamp(1.35rem, 3.5vw, 2rem);
  width: 100%;
}

.rp-catalog-intro-benefits__title {
  margin: 0 0 clamp(0.65rem, 2vw, 0.85rem);
  font-family: var(--rp-font);
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-catalog-intro-benefits__pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media (min-width: 901px) {
  .rp-catalog-intro-benefits__pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

@media (max-width: 900px) {
  .rp-catalog-intro-benefits__pills {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.5rem;
    overflow-x: visible;
  }
}

.rp-catalog-intro-benefits__pills > li {
  flex: 0 0 auto;
  background: #f5f5f5;
  border-radius: 999px;
}

.rp-catalog-intro-benefits__pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.42rem 0.85rem 0.42rem 0.65rem;
  border-radius: 999px;
  background: transparent;
  font-family: var(--rp-font);
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.25;
}

@media (min-width: 901px) {
  .rp-catalog-intro-benefits__pill {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .rp-catalog-intro-benefits__pill {
    overflow-wrap: break-word;
  }
}

.rp-catalog-intro-benefits__ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}

.rp-catalog-intro-benefits__ico--font {
  font-size: 1rem;
  line-height: 1;
}

.rp-catalog-intro-filter {
  margin-top: clamp(1.35rem, 3.5vw, 2rem);
  padding-top: clamp(1rem, 3vw, 1.35rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.rp-catalog-intro-filter__lead {
  font-family: var(--rp-font);
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  flex-shrink: 0;
}

.rp-catalog-intro-filter__checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  flex: 0 1 auto;
}

.rp-catalog-intro-filter__check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-family: var(--rp-font);
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-catalog-intro-filter__check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: #0a0a0a;
  cursor: pointer;
}

.rp-catalog-intro-filter__apply {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0.45rem 1.35rem;
  border-radius: 10px;
  border: 1px solid #0a0a0a;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rp-catalog-intro-filter__apply:hover {
  background: #0a0a0a;
  color: #ffffff;
}


/* --- Каталог: сетка товаров (products.html) --- */
.rp-products-catalog {
  background: #ffffff;
  color: #0a0a0a;
  padding: clamp(1.25rem, 3.5vw, 2rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.rp-products-catalog__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.rp-products-catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.rp-products-catalog__filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid #0a0a0a;
  border-radius: 10px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rp-products-catalog__filters-btn:hover {
  background: #f5f5f5;
}

.rp-catalog-filter {
  position: fixed;
  inset: 0;
  z-index: 12020;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
  overflow-x: hidden;
  box-sizing: border-box;
}

.rp-catalog-filter.is-open {
  pointer-events: auto;
}

.rp-catalog-filter__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rp-catalog-filter.is-open .rp-catalog-filter__backdrop {
  opacity: 1;
}

.rp-catalog-filter__panel {
  position: relative;
  width: min(26rem, 100%);
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity;
}

.rp-catalog-filter.is-open .rp-catalog-filter__panel {
  opacity: 1;
}

.rp-catalog-filter__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.65rem;
  flex-shrink: 0;
  min-width: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-catalog-filter__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 0;
  flex: 1;
}

.rp-catalog-filter__close {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

.rp-catalog-filter__close:hover {
  opacity: 0.85;
}

.rp-catalog-filter__close:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}

.rp-catalog-filter__form {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1rem 1.5rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.rp-catalog-filter__block {
  border: none;
  margin: 0 0 1.15rem;
  padding: 0;
  min-width: 0;
  min-inline-size: 0;
}

.rp-catalog-filter__legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 800;
}

.rp-catalog-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
}

.rp-catalog-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
  font-family: var(--rp-font);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0a0a;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rp-catalog-filter__chip:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.rp-catalog-filter__chip:has(input:checked) {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

.rp-catalog-filter__chip:focus-within {
  outline: 2px solid #0a0a0a;
  outline-offset: 0;
  border-radius: 11px;
}

.rp-catalog-filter__price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  min-width: 0;
}

.rp-catalog-filter__price-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  min-width: 0;
}

.rp-catalog-filter__price-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.5);
}

.rp-catalog-filter__price-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  box-sizing: border-box;
}

.rp-catalog-filter__submit-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.rp-catalog-filter__reset {
  flex: 1 1 8rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.rp-catalog-filter__reset:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.35);
}

.rp-catalog-filter__reset:active {
  transform: scale(0.99);
}

.rp-catalog-filter__apply {
  flex: 1 1 10rem;
  min-height: 2.75rem;
  border: none;
  border-radius: 10px;
  background: #b91c1c;
  color: #ffffff;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.rp-catalog-filter__apply:hover {
  background: #991b1b;
}

.rp-catalog-filter__apply:active {
  transform: scale(0.99);
}

html.rp-catalog-filter-open,
html.rp-catalog-filter-open body {
  overflow: hidden;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .rp-catalog-filter__backdrop,
  .rp-catalog-filter__panel {
    transition: none;
  }

  .rp-catalog-filter.is-open .rp-catalog-filter__panel {
    opacity: 1;
  }

  .rp-catalog-filter:not(.is-open) .rp-catalog-filter__panel {
    opacity: 0;
  }
}

.rp-products-catalog__toolbar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.rp-products-catalog__layout {
  display: inline-flex;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.rp-products-catalog__layout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: #ffffff;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rp-products-catalog__layout-btn + .rp-products-catalog__layout-btn {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.rp-products-catalog__layout-btn.is-active {
  background: #0a0a0a;
  color: #ffffff;
}

.rp-products-catalog__layout-btn:hover:not(.is-active) {
  background: #fafafa;
}

.rp-products-catalog__per-page {
  display: inline-flex;
  align-items: center;
}

.rp-products-catalog__sort {
  display: inline-flex;
  align-items: center;
}

.rp-products-catalog__select {
  min-height: 2.5rem;
  padding: 0.35rem 2.15rem 0.35rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background-color: #ffffff;
  color: #0a0a0a;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.rp-products-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rp-products-catalog__grid > li {
  display: flex;
  min-width: 0;
}

.rp-products-catalog__grid > li.is-hidden {
  display: none;
}

.rp-products-catalog__grid > li.is-revealing {
  animation: rp-products-item-reveal 0.35s ease both;
}

.rp-products-catalog__grid.is-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.rp-products-catalog__grid.is-list > li .rp-arrivals-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas:
    "text text"
    "desc desc"
    ". ."
    "colors cart"
    "sizes cart";
  align-content: stretch;
  align-items: start;
  min-height: 0;
  height: 100%;
  padding-top: 0;
  column-gap: 0.6rem;
  row-gap: 0.45rem;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__text-hit {
  grid-area: text;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__desc {
  grid-area: desc;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__colors {
  grid-area: colors;
  align-self: end;
  justify-self: start;
  margin-top: 0;
  margin-bottom: 0;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__sizes {
  grid-area: sizes;
  align-self: start;
  justify-self: start;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__colors + .rp-arrivals-card__sizes {
  margin-top: 0.18rem;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__body-actions {
  grid-area: cart;
  align-self: end;
  justify-self: end;
  margin-top: 0;
  width: auto;
}

.rp-arrivals-card__desc {
  display: none;
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__desc {
  display: block;
  margin: 0.45rem 0 0.25rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.64);
}

.rp-products-catalog__grid.is-list .rp-arrivals-card__media {
  aspect-ratio: 4 / 5;
}

@media (max-width: 720px) {
  .rp-products-catalog__grid.is-list > li .rp-arrivals-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@keyframes rp-products-item-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-products-catalog__grid > li.is-revealing {
    animation: none;
  }
}

.rp-products-catalog .rp-arrivals-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.rp-products-catalog .rp-arrivals-card__hit {
  flex: 0 0 auto;
  height: auto;
}

.rp-products-catalog .rp-arrivals-card__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas:
    "text text"
    "colors colors"
    "sizes actions";
  align-content: stretch;
  row-gap: 0.45rem;
  column-gap: 0.6rem;
  min-height: 0;
}
.catalog__products-list .rp-arrivals-card__body {
  display: flex;
  flex-direction: column;
}
.rp-products-catalog .rp-arrivals-card__text-hit {
  grid-area: text;
}

.rp-products-catalog .rp-arrivals-card__colors {
  grid-area: colors;
  margin: 0;
}

.rp-products-catalog .rp-arrivals-card__sizes {
  grid-area: sizes;
  margin: 0;
  align-self: end;
}

.rp-products-catalog .rp-arrivals-card__body-actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  align-self: end;
  margin: auto 0 0;
  padding: 0;
}

@media (max-width: 960px) {
  .rp-products-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .rp-products-catalog__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rp-products-catalog__pager {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  min-height: 3.25rem;
}

.rp-products-catalog__pager-cell {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 clamp(0.65rem, 2vw, 1rem);
}

.rp-products-catalog__pager-cell--pages {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 0.25rem;
  padding-right: clamp(0.75rem, 2vw, 1.15rem);
}

.rp-products-catalog__pager-cell--meta {
  flex: 0 0 auto;
  justify-content: center;
  border-inline: 1px solid rgba(0, 0, 0, 0.12);
  padding-inline: clamp(1rem, 3vw, 1.75rem);
}

.rp-products-catalog__pager-cell--more {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  padding-left: clamp(0.75rem, 2vw, 1.15rem);
}

.rp-products-catalog__page-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0 0.15rem;
}

.rp-products-catalog__page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: rgba(10, 10, 10, 0.55);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rp-products-catalog__page-arrow:hover {
  background: #ebebeb;
  color: #0a0a0a;
}

.rp-products-catalog__page-arrow--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.rp-products-catalog__page-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 0.15rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(10, 10, 10, 0.42);
  line-height: 1.2;
}

.rp-products-catalog__page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: auto;
  padding: 0 0.15rem;
  border-radius: 0;
  background: transparent;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(10, 10, 10, 0.42);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.rp-products-catalog__page-num:hover {
  color: rgba(10, 10, 10, 0.72);
}

.rp-products-catalog__page-num.is-current {
  background: transparent;
  color: #0a0a0a;
  font-weight: 700;
  cursor: default;
}

.rp-products-catalog__shown {
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.rp-products-catalog__more {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0a0a0a;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-products-catalog__more:hover {
  background: #ebebeb;
}

.rp-products-catalog__more.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent;
}

.rp-products-catalog__more.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.22);
  border-top-color: #0a0a0a;
  animation: rp-catalog-spin 0.65s linear infinite;
}

.rp-products-catalog__more.is-loading::after {
  content: "Загружаем...";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 1rem;
  color: #0a0a0a;
}

@keyframes rp-catalog-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .rp-products-catalog__pager {
    flex-wrap: wrap;
    text-align: center;
    row-gap: 0;
  }

  .rp-products-catalog__pager-cell {
    flex: 1 1 100%;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  .rp-products-catalog__pager-cell--pages {
    order: 1;
    padding-bottom: 0.65rem;
  }

  .rp-products-catalog__pager-cell--meta {
    order: 2;
    border-inline: none;
    border-block: 1px solid rgba(0, 0, 0, 0.08);
    padding-block: 0.75rem;
  }

  .rp-products-catalog__pager-cell--more {
    order: 3;
    padding-top: 0.75rem;
    padding-left: 0.5rem;
  }

  .rp-products-catalog__more {
    max-width: 100%;
  }
}



/* Каталог: больше воздуха под блоком «Почему стоит…» перед футером */
.rp-catalog-page .rp-why {
  padding-bottom: clamp(3.5rem, 9vw, 6.5rem);
}

/* Светлая шапка каталога (инверсия к главной) */
.rp-header--catalog-light {
  background: #ffffff;
  color: #0a0a0a;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.rp-header--catalog-light .rp-header__phone-link {
  color: #0a0a0a;
}

.rp-header--catalog-light .rp-header__tagline {
  color: rgba(0, 0, 0, 0.55);
}

.rp-header--catalog-light .rp-header__address,
.rp-header--catalog-light .rp-header__hours {
  color: #0a0a0a;
}

.rp-header--catalog-light .rp-header__hours {
  color: rgba(0, 0, 0, 0.55);
}

.rp-header--catalog-light .rp-header__nav-list a {
  color: #0a0a0a;
}

.rp-header--catalog-light .rp-header__nav-list li + li::before {
  color: rgba(0, 0, 0, 0.28);
}

.rp-header--catalog-light .rp-header__login,
.rp-header--catalog-light .rp-header__cart {
  color: #0a0a0a;
}

.rp-header--catalog-light .rp-header__icon-btn--telegram {
  background: rgba(0, 0, 0, 0.06);
  color: #0a0a0a;
}

.rp-header--catalog-light .rp-header__icon-btn--telegram:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.rp-scroll-nav--catalog-light {
  background: #ffffff;
  color: #0a0a0a;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.rp-scroll-nav--catalog-light .rp-header__nav-list a {
  color: #0a0a0a;
}

.rp-scroll-nav--catalog-light .rp-header__nav-list li + li::before {
  color: rgba(0, 0, 0, 0.28);
}

.rp-scroll-nav--catalog-light .rp-header__login,
.rp-scroll-nav--catalog-light .rp-header__cart {
  color: #0a0a0a;
}

.rp-scroll-nav--catalog-light .rp-header__icon-btn--telegram {
  background: rgba(0, 0, 0, 0.06);
  color: #0a0a0a;
}

.rp-scroll-nav--catalog-light .rp-header__icon-btn--telegram:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

/* --- Hero slider --- */

.hero {
  position: relative;
  min-height: min(872px, 100svh);
  background: var(--rp-black);
  /* без горизонтального скролла страницы; мега-текст режется по краю секции */
  overflow-x: clip;
  overflow-y: hidden;
  container-type: inline-size;
  container-name: hero;
}


.hero__slides.swiper {
  position: relative;
  z-index: 2;
  min-height: min(872px, 100svh);
  overflow: hidden;
}

.hero__slides .swiper-wrapper {
  min-height: min(872px, 100svh);
}

.hero-slide.swiper-slide {
  position: relative;
  min-height: min(872px, 100svh);
  height: auto;
}

.hero__bottom-stack {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.35rem, 1.2vh, 0.75rem);
  padding-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;
}

.hero__bottom-actions {
  pointer-events: auto;
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

.hero-slide__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding-right: clamp(0, 4vw, 4rem);
  pointer-events: none;
}

.hero-slide__photo {
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05);
}

.hero-slide__photo-wrap .header-video {
  display: block;
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05);
}

.hero-slide__photo-wrap .header-video--narrow {
  display: none;
}

@media (max-width: 767px) {
  .hero-slide__photo-wrap .header-video--wide {
    display: none;
  }

  .hero-slide__photo-wrap .header-video--narrow {
    display: block;
  }
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.88) 32%,
    rgba(0, 0, 0, 0.2) 58%,
    transparent 78%
  );
  pointer-events: none;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 10%;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.875rem clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  border-radius: var(--rp-radius);
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.hero__btn:hover {
  opacity: 0.94;
}

.hero__btn--primary {
  background: var(--rp-red);
  color: var(--rp-white);
}

.hero__btn--secondary {
  background: var(--rp-white);
  color: var(--rp-black);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
  color: var(--rp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.hero__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.hero__arrow:disabled,
.hero__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hero__arrow--prev {
  left: clamp(0.5rem, 2vw, 1.25rem);
}

.hero__arrow--next {
  right: clamp(0.5rem, 2vw, 1.25rem);
}

.hero__dots.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: absolute;
  top: clamp(3.5rem, 10vh, 5.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: fit-content;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__dot.is-active,
.hero__dot[aria-current="true"] {
  background: var(--rp-white);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slide__photo-wrap {
    display: block;
    padding-right: 0;
  }

  .hero-slide__photo,
  .hero-slide__photo-wrap .header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-slide__shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.85) 70%,
      #000 100%
    );
  }

  .hero__dots {
    top: clamp(0.75rem, 3vh, 1.25rem);
  }

  .hero__arrow {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* --- Бегущая строка + карусель категорий --- */

.rp-ticker {
  background: #ff0000;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.rp-ticker__viewport {
  overflow: hidden;
}

.rp-ticker__track {
  display: flex;
  width: max-content;
  animation: rp-ticker-marquee 32s linear infinite;
}

@keyframes rp-ticker-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rp-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.55rem;
  padding-inline-end: 0.75rem;
}

.rp-ticker__item {
  white-space: nowrap;
}

.rp-ticker__sep {
  opacity: 0.95;
  font-weight: 600;
  user-select: none;
}

/* Карусель категорий (rp-cats-boxraw) */

.rp-cats-boxraw {
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.rp-cats-boxraw__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 64px;
}

.rp-cats-boxraw__nav-slot {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;
}

.rp-cats-boxraw__nav-slot--prev {
  left: 64px;
  right: auto;
}

.rp-cats-boxraw__nav-slot--next {
  right: 64px;
  left: auto;
}

.rp-cats-boxraw__nav-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 200, 200, 0.55);
  color: #ffffff;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.rp-cats-boxraw__nav-btn:hover:not(:disabled) {
  background: rgba(180, 180, 180, 0.75);
}

.rp-cats-boxraw__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

ul.rp-cats-boxraw__track {

}

ul.rp-cats-boxraw__track > li {

  width: calc(18.867924528301888% - (60.199999999999996px / 5.3));
  margin-right: 14px;
  box-sizing: border-box;
}


.rp-cats-boxraw__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rp-cats-boxraw__link:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 4px;
  border-radius: 12px;
}

.rp-cats-boxraw__media {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 360 / 540;
  background: #e8e8e8;
  isolation: isolate;
}

.rp-cats-boxraw__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-cats-boxraw__picture[data-effect-scale] img {
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rp-cats-boxraw__link:hover .rp-cats-boxraw__picture[data-effect-scale] img,
.rp-cats-boxraw__link:focus-visible .rp-cats-boxraw__picture[data-effect-scale] img {
  transform: scale(1.06);
}

.rp-cats-boxraw__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Подпись категории: как .rb07y на BOXRAW — белая «капсула», тёмный текст */
.rp-cats-boxraw__caption {
  position: absolute;
  left: 50%;
  bottom: clamp(0.5rem, 2vw, 0.75rem);
  z-index: 2;
  box-sizing: border-box;
  margin: 0;
  max-width: 92%;
  width: min-content;
  min-width: 0;
  padding: 8px 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  color: var(--rp-black);
  background-color: var(--rp-white);
  border-radius: 100px;
  transform: translateX(-50%);
  pointer-events: none;
  transition: all 0.3s linear;
}



@media (max-width: 640px) {
  .rp-cats-boxraw__viewport {
    touch-action: pan-y;
    padding: 0 48px;
  }

  .rp-cats-boxraw__nav-slot {
    display: none;
  }

  .rp-cats-boxraw__nav-slot--next {
    right: 12px;
  }

  .rp-cats-boxraw__nav-slot--prev {
    left: 12px;
  }

  ul.rp-cats-boxraw__track > li {
    flex: 0 0 calc(55% - 8px);
    min-width: calc(55% - 8px);
    margin-right: 12px;
  }

  .rp-cats-boxraw__nav-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* Блок «Федерация бокса России»: сетка max 2 в ряд; :last-child:nth-child(2n+1) — полная ширина, центр, одна строка */

.boxing-fed {
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.boxing-fed__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

.boxing-fed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.boxing-fed-card:last-child:nth-child(2n + 1) {
  grid-column: 1 / -1;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
}

.boxing-fed-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
  min-width: 0;
}

.card-logo {
  flex-shrink: 0;
  width: clamp(5rem, 14vw, 8.5rem);
}

.card-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-slogan {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(0.85rem, 2.2vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000000;
  min-width: 0;
}

.card-slogan__line {
  display: block;
}

/* Последняя при нечётном числе карточек: на всю ширину сетки, по центру, лого и слоган в одну строку без переноса */
.boxing-fed-card:last-child:nth-child(2n + 1) .card-slogan {
  white-space: nowrap;
  text-align: center;
  flex: 0 1 auto;
  font-size: clamp(0.95rem, 2.6vw, 1.5rem);
}

.boxing-fed-card:last-child:nth-child(2n + 1) .card-slogan__line {
  display: inline;
}

.boxing-fed-card:last-child:nth-child(2n + 1) .card-slogan__line:not(:last-child)::after {
  content: "\00a0";
}

.boxing-fed-card:last-child:nth-child(2n + 1) .card-logo {
  flex-shrink: 0;
}

@media (max-width: 640px) {

  .boxing-fed-card {
    justify-content: center;
  }
  .boxing-fed-grid {
    grid-template-columns: 1fr;
  }

  .boxing-fed-card:last-child:nth-child(2n + 1) .card-slogan__line {
    display: flex;
  }

  .boxing-fed-card:last-child:nth-child(2n + 1) {
    grid-column: auto;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Две промо-плитки: на всю ширину inner, текст и кнопки поверх фото (как раньше .rp-offer-card) */

.rp-offers-duo {
  width: 100%;
  background: var(--rp-white);
  color: var(--rp-white);
  padding: 0;
}

.rp-offers-duo__inner {
  width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.rp-offers-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* как расстояние между карточками в ul.rp-arrivals__grid > li (margin-right: 12px) */
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-offers-duo__item {
  min-width: 0;
  background-color: transparent;
}

.rp-offer-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(20rem, 48vw, 28rem);
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.rp-offer-tile__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
}

.rp-offer-tile__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 48%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.rp-offer-tile__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  z-index: 0;
}

.rp-offer-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rp-offer-tile__panel {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 0;
  padding: clamp(1.25rem, 3.2vw, 2rem);
  max-width: min(100%, 26rem);
  background: transparent;
  color: var(--rp-white);
}

.rp-offer-tile__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--rp-white);
}

.rp-offer-tile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.95);
}

.rp-offer-tile__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.rp-offer-tile__chip-icon {
  display: flex;
  color: var(--rp-white);
  opacity: 0.95;
  flex-shrink: 0;
}

.rp-offer-tile__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.rp-offer-tile__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 0.25rem;
}

.rp-offer-tile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  border-radius: var(--rp-radius);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.rp-offer-tile__btn--ghost {
  border: 1px solid transparent;
  background: var(--rp-white);
  color: var(--rp-black);
}

.rp-offer-tile__btn--ghost:hover {
  opacity: 0.92;
}

.rp-offer-tile__btn--solid {
  border: 1px solid var(--rp-red);
  background: var(--rp-red);
  color: #fff;
}

.rp-offer-tile__btn--solid:hover {
  background: var(--rp-red-hover);
  border-color: var(--rp-red-hover);
}

@media (max-width: 720px) {
  .rp-offers-duo__grid {
    grid-template-columns: 1fr;
  }

  .rp-offer-tile {
    min-height: clamp(17rem, 58vw, 22rem);
  }

  .rp-offer-tile__panel {
    max-width: 100%;
  }
}

/* Блок «Новинки»: светлая панель, шапка с фильтрами, сетка карточек */

.rp-arrivals {
  --rp-arrivals-bg: #ffffff;
  --rp-arrivals-surface: #ececec;
  --rp-arrivals-text: #0a0a0a;
  --rp-arrivals-muted: #8c8c8c;
  width: 100%;
  background: var(--rp-arrivals-bg);
  color: var(--rp-arrivals-text);
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}

.rp-arrivals__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

.rp-arrivals__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.65rem);
}

.rp-arrivals__start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem clamp(0.65rem, 2vw, 1.35rem);
  min-width: 0;
  flex: 1 1 auto;
}

.rp-arrivals__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.rp-arrivals__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.rp-arrivals__filter {
  min-height: 2.35rem;
  padding: 0.35rem 1.1rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--rp-arrivals-text);
  background: var(--rp-arrivals-surface);
  border: 0;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rp-arrivals__filter:hover {
  background: #e0e0e0;
}

.rp-arrivals__filter.is-active {
  background: var(--rp-arrivals-text);
  color: #ffffff;
}

.rp-arrivals__filter.is-active:hover {
  background: #222222;
}

.rp-arrivals__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.rp-arrivals__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 1.15rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--rp-arrivals-text);
  background: var(--rp-arrivals-surface);
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.rp-arrivals__view-all:hover {
  background: #e0e0e0;
}

.rp-arrivals__arrows {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rp-arrivals__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  color: var(--rp-arrivals-text);
  background: var(--rp-arrivals-surface);
  border-radius: 50%;
  border: 0;
  transition: background-color 0.15s ease;
}

.rp-arrivals__arrow:hover {
  background: #e0e0e0;
}

.rp-arrivals__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rp-arrivals__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}



.rp-arrivals-card {
  position: relative;
  min-width: 0;
}

.rp-arrivals-card__hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 0;
}

.rp-arrivals-card__hit:hover .rp-arrivals-card__name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-arrivals-card__text-hit {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.rp-arrivals-card__text-hit:hover .rp-arrivals-card__name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-arrivals-card__cart {
  margin: 0;
  padding: 0.55rem 1.15rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--rp-arrivals-text);
  background: #f5f5f5;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.rp-arrivals-card__cart:hover {
  background: #ebebeb;
}

.rp-arrivals-card__cart:active {
  transform: scale(0.98);
}

.rp-arrivals-card__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
  /*aspect-ratio: 3 / 4;*/
  aspect-ratio: 1;
  max-height: 433px;
}

.rp-arrivals-card__peek {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rp-arrivals-card__peek img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.rp-arrivals-card__peek img.is-active {
  opacity: 1;
}

.rp-arrivals-card__media--peek-ready > picture {
  position: relative;
  z-index: 1;
  transition: opacity 0.15s ease;
}

.rp-arrivals-card__media--peek-ready.is-peeking > picture {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rp-arrivals-card__peek img {
    transition: none;
  }

  .rp-arrivals-card__media--peek-ready > picture {
    transition: none;
  }

  .rp-arrivals-card__media--peek-ready.is-peeking > picture {
    opacity: 1;
  }
}

.rp-arrivals-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-arrivals-card__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  vertical-align: middle;
}
.rp-arrivals-card__badges {
  left: 0;
  bottom:0;
  padding: 0.55rem;
  position: absolute;
  z-index: 3;
  gap: 10px;
  display: flex;
  align-items: flex-end;
}
.rp-arrivals-card__badges-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.rp-arrivals-card__badge {
  gap: 0.2rem;
  padding: 0.28rem 0.55rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--rp-arrivals-text);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  display: block;

}



.rp-arrivals-card__badge--rating {
  margin-left: auto;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
}

.rp-arrivals-card__badge--rating .rp-arrivals-card__star {
  color: #ffffff;
}
.rp-arrivals-card__badge--discount {
  left: 0.55rem;
  bottom: 0.55rem;
}
.rp-arrivals-card__star {
  flex-shrink: 0;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
}

.rp-arrivals-card__fav {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: #000000;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.rp-arrivals-card__fav:hover {
  background: #f7f7f7;
}

.rp-arrivals-card__fav:active {
  transform: scale(0.96);
}

.rp-arrivals-card__fav.is-active {
  background: rgba(196, 50, 50, 0.12);
  color: var(--rp-red, #c43232);
}

.rp-arrivals-card__fav.is-active .icon-heart {
  transform: scale(1.08);
}

.rp-arrivals-card__body {
  padding-top: 0.625rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  row-gap: 0.45rem;
}

.rp-arrivals-card__name {
  margin: 0 0 0.15rem;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--rp-arrivals-text);
}

.rp-arrivals-card__meta {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--rp-arrivals-muted);
}

.rp-arrivals-card__price {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--rp-arrivals-text);
}

.rp-arrivals-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.rp-arrivals-card__sizes li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  min-height: 1.65rem;
  padding: 0 0.35rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.6875rem;
  line-height: 1;
  color: var(--rp-arrivals-muted);
  background: #f5f5f5;
  border-radius: 4px;
}

.rp-arrivals-card__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.rp-arrivals-card__colors li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rp-arrivals-card__color {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.rp-arrivals-card__color--light {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* «Новинки» на main.html и «Рекомендованные» на products.html */
section[aria-labelledby="rp-arrivals-heading"] .rp-arrivals__viewport,
section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals__viewport {
  min-height: 26.5rem;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] ul.rp-arrivals__grid > li {
  display: flex;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] ul.rp-arrivals__grid > li > .rp-arrivals-card {

  display: flex;
  flex-direction: column;
  min-height: 100%;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__hit {
  flex: 0 0 auto;
  height: auto;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas:
    "text text"
    "colors colors"
    "desc desc"
    "spacer spacer"
    "sizes actions";
  align-content: stretch;
  row-gap: 0.45rem;
  column-gap: 0.6rem;
  min-height: 0;
  padding-bottom: 0.25rem;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__text-hit {
  grid-area: text;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__colors {
  grid-area: colors;
  margin: 0;
}

section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__sizes {
  grid-area: sizes;
  margin: 0;
}
.rp-arrivals-card__body-actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  align-self: end;
  margin: 0;
  padding: 0;
}
section[aria-labelledby="rp-products-page-arrivals-heading"] .rp-arrivals-card__body-actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  align-self: end;
  margin: 0;
  padding: 0;
}

@media (max-width: 960px) {
  .rp-arrivals__head {
    flex-direction: column;
    align-items: stretch;
  }

  .rp-arrivals__start {
    flex: none;
    width: 100%;
  }

  .rp-arrivals__filters {
    justify-content: flex-start;
  }

  .rp-arrivals__tools {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}



/* Блок «Экипировка для профессионалов»: белый фон, логотип справа, акцидентный заголовок */

.rp-pro-gear {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: #000000;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.rp-pro-gear__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: min(90rem, calc(100% - 32px));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: min(27px, 4vw);
}

.rp-pro-gear__row {
  --rp-pro-gear-brand-w: min(267px, 52vw);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rp-pro-gear__title {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.12em;
  font-family: "Roboto Flex", var(--rp-font);
  font-size: clamp(2.25rem, 5vw + 0.75rem, 4.5rem);
  font-weight: 700;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 144, "wght" 700;
  line-height: 1.18;
  letter-spacing: normal;
  text-transform: uppercase;
  text-align: left;
  color: #000000;
}

.rp-pro-gear__line1 {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  line-height: inherit;
}

.rp-pro-gear__line1::before {
  content: "[";
  font-weight: inherit;
}

.rp-pro-gear__bottom {
  display: flex;
  flex-direction: row;
  flex: 0 0 100%;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  line-height: inherit;
}

.rp-pro-gear__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.2rem, 0.6vw, 0.45rem);
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  width: max-content;
}

.rp-pro-gear__brand {
  display: block;
  width: var(--rp-pro-gear-brand-w);
  max-width: 100%;
  flex: 0 0 auto;
  align-self: flex-end;
}

@media (min-width: 721px) {
  .rp-pro-gear__brand {
    margin-top: 17px;
  }
}

.rp-pro-gear__brand-img {
  display: block;
  width: 100%;
  height: auto;
}

.rp-pro-gear__line2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.12em;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  font-weight: inherit;
  line-height: inherit;
  box-sizing: border-box;
}

.rp-pro-gear__line2::after {
  content: "]";
  font-weight: inherit;
}

.rp-pro-gear__lead {
  margin: 35px 0 0;
  margin-inline-start: min(192px, calc(14.58vw + 1rem));
  max-width: 1000px;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: #000000;
}

@media (max-width: 1100px) {
  .rp-pro-gear__title {
    font-size: clamp(2.25rem, 3.5vw + 1.5rem, 5.5rem);
    line-height: 1.16;
  }
}

@media (max-width: 720px) {
  .rp-pro-gear__row {
    --rp-pro-gear-brand-w: min(14rem, 52vw);
  }

  .rp-pro-gear__title {
    font-size: clamp(2rem, 6vw + 0.75rem, 3.5rem);
    line-height: 1.14;
    font-variation-settings: "opsz" 72, "wght" 700;
  }

  .rp-pro-gear__brand {
    margin-top: 0;
  }

  .rp-pro-gear__lead {
    margin-inline-start: 0;
    margin-top: clamp(1.25rem, 4vw, 2rem);
    font-size: clamp(0.9375rem, 2.8vw, 19px);
    line-height: clamp(1.35rem, 4vw, 28px);
    max-width: 100%;
  }

  .rp-pro-gear__lead + .rp-content-list {
    margin-inline-start: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .rp-pro-gear__row {
    --rp-pro-gear-brand-w: min(11.5rem, 58vw);
  }

  .rp-pro-gear__title {
    line-height: 1.12;
  }
}

@media (max-width: 440px) {
  .rp-pro-gear__row {
    --rp-pro-gear-brand-w: min(10rem, 78vw);
  }

  .rp-pro-gear__title {
    font-size: clamp(1.375rem, 6.5vw + 0.25rem, 1.875rem);
    line-height: 1.12;
  }

  .rp-pro-gear__bottom {
    justify-content: center;
  }

  .rp-pro-gear__side {
    width: 100%;
    align-items: center;
  }

  .rp-pro-gear__brand {
    align-self: center;
  }

  .rp-pro-gear__line2 {
    justify-content: center;
    text-align: center;
  }
}

/* Блок «Каталог товаров»: сетка 6 колонок, мини-карточки и крупные тайлы (Figma 283:4035) */

.rp-catalog {
  --rp-catalog-bg: #ffffff;
  --rp-catalog-surface: #f5f5f5;
  --rp-catalog-text: #0a0a0a;
  --rp-catalog-cell: 201px;
  /* 201 + 36 + 201 = 438; 3×201 + 2×36 = 675 */
  --rp-catalog-gap: clamp(10px, 1.2vw, 18px);
  --rp-catalog-gap-fixed: 36px;
  --rp-catalog-radius: 10px;
  width: 100%;
  background: var(--rp-catalog-bg);
  color: var(--rp-catalog-text);
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem);
}

.rp-catalog__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: rp-catalog;
}

.rp-catalog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}

.rp-catalog__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.rp-catalog__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 1.15rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--rp-catalog-text);
  background: var(--rp-catalog-surface);
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rp-catalog__view-all:hover {
  background: #ececec;
  border-color: #dddddd;
}

.rp-catalog__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--rp-catalog-gap);
  grid-auto-rows: minmax(120px, auto);
}

@media (min-width: 1101px) {
  .rp-catalog__inner {
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 0;
  }

  .rp-catalog__grid {
    --rp-catalog-gap: var(--rp-catalog-gap-fixed);
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    /* Высота ряда ≈ ширина одной ячейки (квадрат 201×201 в макете), тянется на всю ширину блока */
    grid-auto-rows: calc((100cqi - 5 * var(--rp-catalog-gap-fixed)) / 6);
    gap: var(--rp-catalog-gap-fixed);
  }

  /* Мини-карточки заполняют квадратную ячейку сетки */
  .rp-catalog__tile--sm {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
  }

  /* Геро-тайлы: только область grid-area, без выхода за ячейки */
  .rp-catalog__tile--hero,
  .rp-catalog__tile--hero-tall,
  .rp-catalog__tile--hero-wide {
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
    justify-self: stretch;
    box-sizing: border-box;
  }

  /* Геро-тайл «напольные покрытия»: занимает область сетки, картинка cover */
  .rp-catalog__tile--p-floor {
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
    box-sizing: border-box;
  }
}

.rp-catalog__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  min-width: 0;
  padding: 0.65rem 0.5rem 0.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--rp-catalog-surface);
  border-radius: var(--rp-catalog-radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rp-catalog__tile--sm {
  text-align: center;
  justify-content: flex-end;
  gap: 0.35rem;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  min-height: 0;
}

.rp-catalog__tile--sm:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.rp-catalog__tile--hero {
  padding: 0;
  align-items: stretch;
  justify-content: flex-end;
  background: #1a1a1a;
}

.rp-catalog__tile--hero:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.rp-catalog__tile--hero:hover .rp-catalog__hero-img {
  transform: scale(1.03);
}

.rp-catalog__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rp-catalog__hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.rp-catalog__hero-text {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(0.65rem, 0.95vw, 0.8125rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left;
  align-self: stretch;
}

.rp-catalog__icon {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  width: 100%;
  margin-bottom: 0.15rem;
}

.rp-catalog__icon img {
  width: auto;
  height: auto;
  max-width: min(72px, 40%);
  max-height: min(72px, 11vw);
  object-fit: contain;
}

.rp-catalog__label {
  position: relative;
  z-index: 0;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: clamp(0.6875rem, 1.05vw, 0.8125rem);
  line-height: 1.3;
  color: var(--rp-catalog-text);
  max-width: 100%;
}

/* Позиции в сетке (строка / колонка — линии CSS Grid) */
.rp-catalog__tile--p-gloves {
  grid-area: 1 / 1 / 3 / 3;
}

.rp-catalog__tile--p-kids {
  grid-area: 1 / 3 / 2 / 4;
}

.rp-catalog__tile--p-hats {
  grid-area: 1 / 4 / 2 / 5;
}

.rp-catalog__tile--p-mma1 {
  grid-area: 1 / 5 / 4 / 7;
}

.rp-catalog__tile--p-tape {
  grid-area: 2 / 3 / 3 / 4;
}

.rp-catalog__tile--p-wraps {
  grid-area: 2 / 4 / 3 / 5;
}

.rp-catalog__tile--p-trainer {
  grid-area: 3 / 1 / 4 / 2;
}

.rp-catalog__tile--p-compress {
  grid-area: 3 / 2 / 4 / 3;
}

.rp-catalog__tile--p-women {
  grid-area: 3 / 3 / 4 / 4;
}

.rp-catalog__tile--p-rash {
  grid-area: 3 / 4 / 4 / 5;
}

.rp-catalog__tile--p-uniform {
  grid-area: 4 / 1 / 7 / 4;
}

.rp-catalog__tile--p-shorts {
  grid-area: 4 / 4 / 5 / 5;
}

.rp-catalog__tile--p-maki {
  grid-area: 4 / 5 / 5 / 6;
}

.rp-catalog__tile--p-kimono {
  grid-area: 4 / 6 / 5 / 7;
}

.rp-catalog__tile--p-shin {
  grid-area: 5 / 4 / 6 / 5;
}

.rp-catalog__tile--p-mma2 {
  grid-area: 5 / 5 / 7 / 7;
}

.rp-catalog__tile--p-souvenir {
  grid-area: 6 / 4 / 7 / 5;
}

.rp-catalog__tile--p-medball {
  grid-area: 7 / 1 / 8 / 2;
}

.rp-catalog__tile--p-ring {
  grid-area: 7 / 2 / 8 / 3;
}

.rp-catalog__tile--p-gym {
  grid-area: 7 / 3 / 8 / 4;
}

.rp-catalog__tile--p-floor-sm {
  grid-area: 7 / 4 / 8 / 5;
}

.rp-catalog__tile--p-shoes {
  grid-area: 7 / 5 / 8 / 6;
}

.rp-catalog__tile--p-mma-shorts {
  grid-area: 7 / 6 / 8 / 7;
}

.rp-catalog__tile--p-outer {
  grid-area: 8 / 1 / 9 / 2;
}

.rp-catalog__tile--p-floor {
  grid-area: 8 / 2 / 10 / 5;
}

.rp-catalog__tile--p-bottle {
  grid-area: 8 / 5 / 9 / 6;
}

.rp-catalog__tile--p-bags {
  grid-area: 8 / 6 / 9 / 7;
}

.rp-catalog__tile--p-trikot {
  grid-area: 9 / 1 / 10 / 2;
}

.rp-catalog__tile--p-sauna {
  grid-area: 9 / 5 / 10 / 6;
}

.rp-catalog__tile--p-dummy {
  grid-area: 9 / 6 / 10 / 7;
}

.rp-catalog__tile--p-cert {
  grid-area: 10 / 1 / 11 / 2;
}

.rp-catalog__tile--p-snaryad2 {
  grid-area: 10 / 2 / 11 / 3;
}

.rp-catalog__tile--p-rope {
  grid-area: 10 / 3 / 11 / 4;
}

.rp-catalog__tile--p-gym2 {
  grid-area: 10 / 4 / 11 / 5;
}

.rp-catalog__tile--p-pants {
  grid-area: 10 / 5 / 11 / 6;
}

.rp-catalog__tile--p-protect {
  grid-area: 10 / 6 / 11 / 7;
}

.rp-catalog__tile--p-expander {
  grid-area: 11 / 1 / 12 / 2;
}

.rp-catalog__tile--p-shirts {
  grid-area: 11 / 2 / 12 / 3;
}

.rp-catalog__tile--p-towel {
  grid-area: 11 / 3 / 12 / 4;
}

.rp-catalog__tile--p-fitness {
  grid-area: 11 / 4 / 12 / 5;
}

.rp-catalog__tile--p-helmets {
  grid-area: 11 / 5 / 12 / 6;
}

.rp-catalog__tile--p-mouth {
  grid-area: 11 / 6 / 12 / 7;
}

.rp-catalog__tile--hero-tall .rp-catalog__hero-text {
  font-size: clamp(0.6rem, 0.85vw, 0.75rem);
}

.rp-catalog__tile--hero-wide .rp-catalog__hero-text {
  font-size: clamp(0.7rem, 1.1vw, 0.9375rem);
}

/* Планшет: та же мозаика 6×6 — соседи у hero остаются рядом и тянутся по ячейке */
@media (max-width: 1100px) and (min-width: 641px) {
  .rp-catalog__inner {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .rp-catalog__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: calc((100cqi - 5 * var(--rp-catalog-gap)) / 6);
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    gap: var(--rp-catalog-gap);
  }

  .rp-catalog__tile--sm {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
    justify-self: stretch;
  }

  .rp-catalog__tile--hero,
  .rp-catalog__tile--hero-tall,
  .rp-catalog__tile--hero-wide {
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
    justify-self: stretch;
    overflow: hidden;
  }

  .rp-catalog__tile--p-floor {
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .rp-catalog__inner {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .rp-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: calc((100cqi - 1 * var(--rp-catalog-gap)) / 2);
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    gap: var(--rp-catalog-gap);
  }

  .rp-catalog__tile--sm {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
    justify-self: stretch;
  }

  .rp-catalog__tile[class*="--p-"] {
    grid-area: auto;
  }

  .rp-catalog__tile--hero,
  .rp-catalog__tile--hero-tall,
  .rp-catalog__tile--hero-wide {
    grid-column: 1 / -1;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
  }

  .rp-catalog__tile--hero:not(.rp-catalog__tile--hero-tall):not(
      .rp-catalog__tile--hero-wide
    ) {
    grid-row: span 2;
  }

  .rp-catalog__tile--hero-tall {
    grid-row: span 3;
  }

  .rp-catalog__tile--hero-wide {
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .rp-catalog__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rp-catalog__view-all {
    width: 100%;
    justify-content: center;
  }
}

/* Блок «Выбор профессионалов» (как на cis.boxraw.com: 5 карточек в ряд, gap 12px, шапка + стрелки) */

.rp-pros {
  --rp-pros-bg: #ffffff;
  --rp-pros-surface: #ececec;
  --rp-pros-text: #0a0a0a;
  --rp-pros-muted: #8c8c8c;
  --rp-pros-slide-gap: 12px;
  width: 100%;
  background: var(--rp-pros-bg);
  color: var(--rp-pros-text);
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}

.rp-pros__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: rp-pros;
}

.rp-pros__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rp-pros__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.rp-pros__start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem clamp(0.65rem, 2vw, 1.35rem);
  min-width: 0;
  flex: 1 1 auto;
}

.rp-pros__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.rp-pros__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.rp-pros__filter {
  min-height: 2.35rem;
  padding: 0.35rem 1.1rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--rp-pros-text);
  background: var(--rp-pros-surface);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rp-pros__filter:hover {
  background: #e0e0e0;
}

.rp-pros__filter.is-active {
  background: var(--rp-pros-text);
  color: #ffffff;
}

.rp-pros__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}

.rp-pros__arrows {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rp-pros__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  color: var(--rp-pros-text);
  background: var(--rp-pros-surface);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.rp-pros__arrow:hover:not(:disabled) {
  background: #e0e0e0;
}

.rp-pros__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rp-pros__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

ul.rp-pros__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}
ul.rp-pros__track > li {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: calc((100% - 36px) / 4);
  margin-right: 12px;
  box-sizing: border-box;
}

ul.rp-pros__track > li {
  box-sizing: border-box;
  height: auto;
}

.rp-pros-card {
  position: relative;
  min-width: 0;
  height: 100%;
}

.rp-pros-card__shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.rp-pros-card__shell:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.rp-pros-card__shell:hover .rp-pros-card__name,
.rp-pros-card__name:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-pros-card__reel-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  background: #0f0f0f;
}

.rp-pros-card__reel-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.rp-pros-card__reel-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
  z-index: 3;
}

/* Высота ролика выше чистого 2:3 — как на cis.boxraw.com */
.rp-pros-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
  background: #0f0f0f;
  aspect-ratio: 360 / 540;
  min-height: clamp(460px, calc((25cqi - 9px) * 1.68), 720px);
}

@supports not (width: 1cqi) {
  .rp-pros-card__media {
    min-height: clamp(460px, 58vw, 720px);
  }
}

.rp-pros-card__reel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rp-pros-card__reel picture {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease;
}

.rp-pros-card__reel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .rp-pros-card__shell--reel-has-video:hover .rp-pros-card__reel picture,
  .rp-pros-card__shell--reel-has-video:hover .rp-pros-card__reel img {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-pros-card__reel picture,
  .rp-pros-card__reel img {
    transition: none;
  }

  .rp-pros-card__shell--reel-has-video:hover .rp-pros-card__reel picture,
  .rp-pros-card__shell--reel-has-video:hover .rp-pros-card__reel img {
    opacity: 1;
  }
}

/* Аватар + имя в одном ряду поверх нижней части ролика */
.rp-pros-card__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 52%, transparent 100%);
}

.rp-pros-card__foot .rp-pros-card__name {
  pointer-events: auto;
}

.rp-pros-card__avatar-slot {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #ececec;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.rp-pros-card__avatar-slot picture,
.rp-pros-card__avatar-slot img {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-pros-card__avatar-slot img {
  object-fit: cover;
}

.rp-pros-card__name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.05vw, 0.8125rem);
  line-height: 1.25;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  background: none;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rp-pros-card__name:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .rp-pros-card__media {
    min-height: clamp(400px, 52vw, 560px);
  }

  .rp-pros-card__avatar-slot {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 720px) {
  .rp-pros__head {
    flex-direction: column;
    align-items: stretch;
  }

  .rp-pros__tools {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }

  .rp-pros-card__media {
    min-height: clamp(360px, 68vw, 520px);
  }
}

/* Блок «Наш подход» / надёжность (Figma 283:4713) */

.rp-approach {
  width: 100%;
  background: #ffffff;
  color: #0a0a0a;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.rp-section-rule {
  display: block;
  width: 100vw;
  max-width: none;
  height: 0;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-top: 1px solid #d8d8d8;
  background: none;
  box-sizing: border-box;
}

.rp-space:has(+ .rp-section-rule) {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rp-section-rule + .rp-approach {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* Плавающая панель: телефон и вход */

.rp-float-bar {
  position: fixed;
  left: 50%;
  bottom: max(clamp(0.85rem, 2.5vw, 1.35rem), env(safe-area-inset-bottom, 0px));
  z-index: 10050;
  transform: translateX(-50%);
  pointer-events: none;
}

.rp-float-bar__pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  min-height: calc(18px + 1rem);
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.rp-float-bar__pill:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rp-float-bar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0a0a0a;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.rp-float-bar__action:hover {
  opacity: 0.72;
}

.rp-float-bar__action:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
  border-radius: 2px;
}

.rp-float-bar__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.rp-float-bar__logo-img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.rp-float-bar__action--login {
  position: relative;
}

.rp-float-bar__auth-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  background: #2db84b;
  color: #ffffff;
  pointer-events: none;
  box-sizing: border-box;
}

.rp-float-bar__action--login.is-logged-in .rp-float-bar__auth-badge {
  display: inline-flex;
}

.rp-float-bar__auth-badge .rp-ico {
  font-size: 7px;
  line-height: 1;
}

.rp-float-bar__action--cart {
  position: relative;
}

.rp-float-bar__action--cart[hidden] {
  display: none;
}

.rp-float-bar__action--cart .rp-header__cart-count {
  top: -5px;
  right: -6px;
  min-width: 12px;
  height: 12px;
  font-size: 8px;
  line-height: 12px;
}

.rp-float-bar__action--cart .rp-header__cart-count:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .rp-float-bar__action {
    transition: none;
  }
}

.rp-approach__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

.rp-approach__band {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(1.25rem, 3.5vw, 3rem);
}

.rp-approach__band + .rp-approach__band {
  margin-top: clamp(2rem, 5vw, 3.75rem);
}

.rp-approach__side {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  width: 100%;
  min-width: 0;
}

.rp-approach__side .rp-approach__copy,
.rp-approach__side .rp-approach__text-col {
  flex: 1 1 0;
  min-width: 0;
}

.rp-approach__band:has(.rp-approach__copy--full) {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}

.rp-approach__copy--full {
  width: 100%;
  flex: none;
  min-width: 0;
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.rp-approach__text-field {
  width: 100%;
  flex: none;
  min-width: 0;
  box-sizing: border-box;
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.rp-approach__side--nested {
  width: 100%;
}

.rp-approach__side--nested .rp-approach__intro {
  flex: 1 1 0;
  min-width: 0;
}

.rp-approach__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  min-width: 0;
}

.rp-approach__eyebrow {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  max-width: min(100%, 34%);
  min-width: 0;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #c6c6c6;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.rp-approach__lead {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 100%;
}

.rp-approach__intro--lead-only .rp-approach__lead {
  flex: 1 1 100%;
  max-width: 100%;
}

.rp-approach__text-col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  flex: 1 1 0;
  min-width: 0;
}

.rp-approach__text-col .rp-approach__copy {
  flex: none;
  width: 100%;
}

.rp-approach__title {
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.65rem);
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0a0a0a;
}

.rp-approach__title--sub {
  margin-top: 0;
}

.rp-approach__body {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
  max-width: none;
}

.rp-approach__body p {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #0a0a0a;
}

/* Списки в контентных зонах (каталог, подход, интро) */

.rp-content-list {
  margin: 0;
  padding: 0;
  font-family: var(--rp-font);
  font-weight: 500;
  color: #0a0a0a;
  list-style: none;
}

.rp-content-list > li {
  position: relative;
  padding-left: 1.35rem;
}

.rp-content-list > li + li {
  margin-top: 0.55rem;
}

.rp-content-list--unordered > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--rp-red);
}

.rp-content-list--ordered {
  counter-reset: rp-content-list;
}

.rp-content-list--ordered > li {
  counter-increment: rp-content-list;
  padding-left: 1.85rem;
}

.rp-content-list--ordered > li::before {
  content: counter(rp-content-list) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: var(--rp-red);
  font-variant-numeric: tabular-nums;
}

.rp-approach__body .rp-content-list {
  font-size: 16px;
  line-height: 30px;
}

.rp-catalog-intro__text + .rp-content-list,
.rp-pro-gear__lead + .rp-content-list {
  margin-top: clamp(0.85rem, 2vw, 1.15rem);
}

.rp-pro-gear__lead + .rp-content-list {
  margin-inline-start: min(192px, calc(14.58vw + 1rem));
}

.rp-catalog-intro .rp-content-list {
  max-width: 65rem;
  font-size: 19px;
  line-height: 1.55;
}

.rp-catalog-intro .rp-content-list--ordered > li::before {
  font-size: 19px;
  line-height: 1.55;
}

.rp-pro-gear .rp-content-list {
  max-width: 52rem;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.55;
}

.rp-pro-gear .rp-content-list--ordered > li::before {
  font-size: inherit;
  line-height: inherit;
}

.rp-approach__copy {
  flex: 1 1 0;
  min-width: 0;
}

.rp-approach__figure {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.rp-approach__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.rp-approach__band:nth-child(2) .rp-approach__img {
  object-position: center center;
}

@media (min-width: 901px) {
  .rp-approach__inner {
    overflow-x: auto;
    overflow-y: visible;
  }

  .rp-approach__band:first-child .rp-approach__copy,
  .rp-approach__band:nth-child(2) .rp-approach__copy,
  .rp-approach__band:nth-child(2) .rp-approach__text-col {
    flex: 1 1 auto;
    min-width: 0;
  }

  .rp-approach__band:first-child .rp-approach__figure {
    flex: 0 0 50%;
    width: 50%;
    min-width: 50%;
    max-width: 621px;
    height: auto;
    max-height: 584px;
    aspect-ratio: 621 / 584;
    align-self: flex-start;
  }

  .rp-approach__band:nth-child(2) > .rp-approach__figure,
  .rp-approach__band:nth-child(2) > .rp-approach__side > .rp-approach__figure {
    flex: 0 0 50%;
    width: 50%;
    min-width: 50%;
    max-width: 837px;
    height: auto;
    max-height: 584px;
    aspect-ratio: 837 / 584;
    align-self: flex-start;
  }

  .rp-approach__band:nth-child(2) .rp-approach__side--nested .rp-approach__figure {
    flex: 0 0 50%;
    width: 50%;
    min-width: 50%;
    max-width: 621px;
    height: auto;
    max-height: 584px;
    aspect-ratio: 621 / 584;
    align-self: flex-start;
  }
}
@media (min-width: 1420px) {
  .rp-approach__band:first-child .rp-approach__figure {
    flex: 0 0 621px;
    width: 621px;
    min-width: 621px;
    max-width: 621px;
    height: 584px;
    min-height: 584px;
    max-height: 584px;
    align-self: flex-start;
  }

  .rp-approach__band:nth-child(2) > .rp-approach__figure,
  .rp-approach__band:nth-child(2) > .rp-approach__side > .rp-approach__figure {
    flex: 0 0 837px;
    width: 837px;
    min-width: 50%;
    max-width: 837px;
    height: 584px;
    min-height: 584px;
    max-height: 584px;

  }

  .rp-approach__band:nth-child(2) .rp-approach__side--nested .rp-approach__figure {
    flex: 0 0 621px;
    width: 621px;
    min-width: 621px;
    max-width: 621px;
    height: 584px;
    min-height: 584px;
    max-height: 584px;
  }
}
@media (max-width: 900px) {
  .rp-approach__band {
    flex-direction: column;
    align-items: stretch;
  }

  .rp-approach__side {
    flex-direction: column;
  }

  .rp-approach__side--nested {
    flex-direction: column;
  }

  .rp-approach__band:first-child .rp-approach__copy,
  .rp-approach__band:nth-child(2) .rp-approach__copy,
  .rp-approach__band:nth-child(2) .rp-approach__text-col,
  .rp-approach__band:first-child .rp-approach__figure,
  .rp-approach__band:nth-child(2) .rp-approach__figure {
    flex: 1 1 auto;
  }

  .rp-approach__intro {
    flex-direction: column;
    gap: 1rem;
  }

  .rp-approach__eyebrow {
    max-width: 100%;
    flex: none;
  }

  .rp-approach__lead {
    flex: none;
    width: 100%;
  }

  .rp-approach__figure {
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .rp-approach__img {
    position: static;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

/* Блок «Наши проекты» — Figma node 283:4424 */

.rp-projects {
  width: 100%;
  background: #ffffff;
  color: #0a0a0a;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  overflow-x: clip;
}

.rp-projects__inner {
  width: min(1440px, calc(100% - 32px));
  max-width: 1440px;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: min(27px, 4vw);
  container-type: inline-size;
  container-name: rp-projects;
}

.rp-projects__head {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Линия справа от заголовка через ::before — как h2 на realpuncher-fc.ru */
.rp-projects__title {
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 0.83;
  letter-spacing: 0.01em;
  color: #000000;
}

.rp-projects__title::before {
  content: "";
  flex: 1 1 auto;
  min-width: 1.5rem;
  margin-inline-start: clamp(0.75rem, 2vw, 1.25rem);
  border-bottom: 1px solid #a0a0a0;
  align-self: center;
}

.rp-projects__hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

.rp-projects__hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.rp-projects__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.rp-projects__hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.rp-projects__hero-copy {
  position: absolute;
  left: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 2.8vw, 2rem);
  right: clamp(1rem, 4vw, 2.5rem);
  max-width: min(100%, 34rem);
}

.rp-projects__hero-label {
  margin: 0 0 0.6875rem;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(0.875rem, 1.4vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.rp-projects__hero-title {
  margin: 0;
  font-family: "Roboto Flex", Oswald, var(--rp-font), system-ui, sans-serif;
  font-variation-settings: "opsz" 144, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.75rem, 8vw, 4rem);
  line-height: 0.823;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 44.25rem;
}

.rp-projects__hero-line {
  display: block;
}

/* «FIGHT CLUB» — одна строка, без переноса по пробелу */
.rp-projects__hero-title .rp-projects__hero-line + .rp-projects__hero-line {
  white-space: nowrap;
}

.rp-projects__gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.rp-projects__tile {
  flex: 1 1 0;
  min-width: min(100%, 200px);
}

.rp-projects__fig {
  position: relative;
  margin: 0;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  background: #e8e8e8;
  aspect-ratio: 453 / 437;
}

.rp-projects__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.rp-projects__pill {
  position: absolute;
  right: clamp(0.65rem, 1.5vw, 1rem);
  bottom: clamp(0.65rem, 1.5vw, 1rem);
  margin: 0;
  padding: 0.625rem 2.625rem 0.6875rem 2.6875rem;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.43;
  color: #000000;
  background: #ffffff;
  border-radius: 56px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rp-projects__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1.25rem, 3.5vw, 3rem);
}

.rp-projects__col {
  min-width: 0;
}

.rp-projects__col--side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.rp-projects__text {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #000000;
}

.rp-projects__col--side .rp-projects__text {
  margin-bottom: 0;
}

.rp-projects__col--side .rp-projects__site {
  margin-top: auto;
  width: 100%;
}

.rp-projects__site {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  margin: 0;
}

.rp-projects__site-label {
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #000000;
}

/* высота и типографика «таблетки» как у .rp-franchise__site */
.rp-projects__site-link {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0 0.75rem 0 0.5625rem;
  min-height: 28px;
  box-sizing: border-box;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #000000;
  text-decoration: none;
  background: #f2f2f2;
  border-radius: 60px;
  transition: background 0.15s ease;
}

.rp-projects__site-link:hover {
  background: #e8e8e8;
}

.rp-projects__site-link:hover .rp-projects__site-url {
  color: #003399;
}

.rp-projects__site-url {
  color: #0044cc;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
}

.rp-projects__site-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  color: #000000;
}

@media (min-width: 901px) {
  .rp-projects__title {
    font-size: 32px;
    line-height: 26.62px;
  }

  .rp-projects__hero-title {
    font-size: min(162.107px, max(3.5rem, 11.2cqw));
  }

  .rp-projects__hero-label {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 700px) {
  .rp-projects__gallery {
    flex-direction: column;
  }

  .rp-projects__tile {
    flex: none;
    width: 100%;
  }

  .rp-projects__fig {
    aspect-ratio: 16 / 10;
  }

  .rp-projects__columns {
    grid-template-columns: 1fr;
  }
}

/* Блок «Франшиза» — та же сетка и типографика, что «Наши проекты» (.rp-projects); разметка: .rp-projects.rp-franchise */

.rp-projects.rp-franchise .rp-franchise__side-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.rp-projects.rp-franchise .rp-franchise__side-footer .rp-projects__site {
  margin-top: 0;
}

.rp-projects.rp-franchise .rp-franchise__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  min-width: 0;
}

.rp-projects.rp-franchise .rp-franchise__contacts-title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #000000;
}

.rp-projects.rp-franchise .rp-franchise__phone-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
}

.rp-projects.rp-franchise .rp-franchise__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.rp-projects.rp-franchise .rp-franchise__icon-link:hover {
  opacity: 0.7;
}

.rp-projects.rp-franchise .rp-franchise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  line-height: 1;
}

.rp-projects.rp-franchise .rp-franchise__tel {
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.rp-projects.rp-franchise .rp-franchise__tel:hover {
  opacity: 0.72;
}

@media (max-width: 720px) {
  .rp-projects.rp-franchise .rp-franchise__side-footer {
    margin-top: clamp(0.5rem, 2vw, 1rem);
  }
}

/* Блок «Открыть спортивное пространство» — Figma 283:4510 */

.rp-space {
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding-block: clamp(2rem, 4vw, 3rem);
  overflow-x: clip;
}

.rp-space__inner {
  width: min(1440px, calc(100% - 32px));
  max-width: 1440px;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: min(27px, 4vw);
  container-type: inline-size;
  container-name: rp-space;
}

.rp-space__hero {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
  box-sizing: border-box;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

.rp-space__hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  margin-inline: 0;
  overflow: hidden;
  background: #111111;
}

.rp-space__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.rp-space__hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.35) 42%,
    rgba(0, 0, 0, 0.68) 100%
  );
  pointer-events: none;
}

.rp-space__hero-copy {
  position: absolute;
  left: clamp(1rem, 4vw, 2.5rem);
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
  margin: 0;
  max-width: none;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.rp-space__hero-title {
  margin: 0;
  font-family: Oswald, "Roboto Flex", var(--rp-font), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, min(9vw, 11cqw), 5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: manual;
}

.rp-space__hero-line {
  display: block;
  max-width: 100%;
}

.rp-space__gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  margin: 0 0 clamp(1.75rem, 3.2vw, 2.75rem);
}

.rp-space__tile {
  flex: 1 1 0;
  min-width: min(100%, 200px);
}

.rp-space__fig {
  position: relative;
  margin: 0;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #e5e5e5;
  aspect-ratio: 453 / 437;
}

.rp-space__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.rp-space__pill {
  position: absolute;
  right: clamp(0.65rem, 1.5vw, 1rem);
  bottom: clamp(0.65rem, 1.5vw, 1rem);
  margin: 0;
  padding: 0.45rem 1rem 0.5rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.35;
  color: #000000;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.rp-space__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.rp-space__col {
  min-width: 0;
}

.rp-space__col--main {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.rp-space__col--side {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 720px) {
  .rp-space__columns {
    grid-template-columns: 1fr;
  }
}

.rp-space__text {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: #000000;
}

/*
 * Карточка контактов — как seven-metrics team-item:
 * тёмный блок с скруглением; портрет слева выше и ниже границы блока (overflow по вертикали).
 */
.rp-space__card {
  --rp-card-v-bleed: clamp(1.35rem, 5.5vw, 2.85rem);
  --rp-card-photo-w: clamp(118px, 30%, 210px);
  --rp-card-photo-img-w: 261px;
  --rp-card-photo-shift-x: 15px;
  --rp-card-photo-to-text: 1.25rem;
  position: relative;
  display: block;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-block: var(--rp-card-v-bleed);
  min-height: clamp(196px, 26vw, 268px);
  padding: clamp(1.2rem, 2.8vw, 1.85rem) clamp(1.1rem, 3.2vw, 2.35rem)
    clamp(1.2rem, 2.8vw, 1.85rem) clamp(0.5rem, 1.5vw, 0.85rem);
  padding-left: calc(
    clamp(0.25rem, 1.2vw, 0.65rem) + var(--rp-card-photo-shift-x) + var(--rp-card-photo-img-w) +
      clamp(0.65rem, 2.2vw, 1.15rem) + var(--rp-card-photo-to-text)
  );
  border-radius: clamp(18px, 2.5vw, 26px);
  background: #000000;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.rp-space__card-photo {
  position: absolute;
  left: calc(clamp(0.25rem, 1.2vw, 0.65rem) + var(--rp-card-photo-shift-x));
  top: 0;
  transform: translateY(-35%);
  width: var(--rp-card-photo-w);
  height: 100%;
  margin: 0;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}

.rp-space__card-photo-img {
  display: block;
  width: var(--rp-card-photo-img-w);
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center 8%;
}

.rp-space__card-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rp-space__card-label {
  margin: 0 0 0.45rem;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.rp-space__card-name {
  margin: 0 0 0.4rem;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.rp-space__card-mail {
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.85vw, 1rem);
  line-height: 1.4;
  color: #ff8d3b;
  text-decoration: none;
  text-underline-offset: 0.12em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rp-space__card-mail:hover {
  color: #ffb066;
}

.rp-space__card-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.rp-space__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.rp-space__icon-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.rp-space__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.rp-space__tel {
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(0.875rem, 1.75vw, 1rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.rp-space__tel:hover {
  opacity: 0.75;
}

/* Десктоп: портрет слева с выносом (как в макете), не трогаем container queries */
@media (min-width: 721px) {
  .rp-space__card {
    display: block;
    overflow: visible;
    margin-block: var(--rp-card-v-bleed);
    min-height: clamp(196px, 26vw, 268px);
    padding: clamp(1.2rem, 2.8vw, 1.85rem) clamp(1.1rem, 3.2vw, 2.35rem)
      clamp(1.2rem, 2.8vw, 1.85rem) clamp(0.5rem, 1.5vw, 0.85rem);
    padding-left: calc(
      clamp(0.25rem, 1.2vw, 0.65rem) + var(--rp-card-photo-shift-x) +
        var(--rp-card-photo-img-w) + clamp(0.65rem, 2.2vw, 1.15rem) +
        var(--rp-card-photo-to-text)
    );
  }

  .rp-space__card-photo {
    position: absolute;
    left: calc(clamp(0.25rem, 1.2vw, 0.65rem) + var(--rp-card-photo-shift-x));
    top: 0;
    transform: translateY(-35%);
    width: var(--rp-card-photo-w);
    height: 100%;
    margin: 0;
    overflow: visible;
    z-index: 2;
    border-radius: 0;
  }

  .rp-space__card-photo-img {
    display: block;
    width: var(--rp-card-photo-img-w);
    max-width: none;
    height: auto;
    object-fit: cover;
    object-position: center 8%;
  }

  .rp-space__card-main {
    position: relative;
    z-index: 1;
    text-align: left;
    width: auto;
    margin-top: 0;
  }

  .rp-space__card-row {
    justify-content: flex-start;
  }
}

/* Одна колонка (≤720px): фото сверху, текст не перекрывается */
@media (max-width: 720px) {
  .rp-space__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: clamp(0.75rem, 3vw, 1.25rem);
    min-height: 0;
    padding: clamp(1rem, 3vw, 1.25rem);
    padding-left: clamp(1rem, 3vw, 1.25rem);
    overflow: hidden;
  }

  .rp-space__card-photo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 0;
    width: min(92%, 280px);
    height: clamp(200px, 48vw, 260px);
    flex-shrink: 0;
    margin: 0 0 0.75rem;
    overflow: hidden;
    border-radius: clamp(12px, 2vw, 18px);
    pointer-events: none;
  }

  .rp-space__card-photo-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .rp-space__card-main {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    margin-top: 0;
  }

  .rp-space__card-row {
    justify-content: center;
  }
}

@media (min-width: 901px) {
  .rp-space__hero-title {
    font-size: min(118px, max(3.5rem, 8.2cqw), 28cqw);
  }
}

@media (max-width: 700px) {
  .rp-space__gallery {
    flex-direction: column;
  }

  .rp-space__tile {
    flex: none;
    width: 100%;
  }

  .rp-space__fig {
    aspect-ratio: 16 / 10;
  }

  .rp-space__hero-copy {
    left: clamp(1rem, 4vw, 1.25rem);
    right: clamp(1rem, 4vw, 1.25rem);
    text-align: right;
  }
}

/* Блок «Почему стоит покупать…» (Figma 283:4444) */

.rp-why {
  width: 100%;
  overflow-x: clip;
  background: #ffffff;
  color: #000000;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.rp-why--product {
  margin-bottom: 0;
  padding-bottom: calc(clamp(1.75rem, 4vw, 2.75rem) + 20px);
  background: #ffffff;
}

.rp-why__inner {
  width: min(90rem, calc(100% - 32px));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: min(27px, 4vw);
  overflow-x: clip;
  container-type: inline-size;
  container-name: rp-why;
}

.rp-why__layout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(1rem, 2.4vw, 2.75rem);
}

.rp-why__headline {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: Oswald, "Roboto Flex", var(--rp-font), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 11vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  word-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}

.rp-why__line {
  display: block;
}

.rp-why__line--accent {
  color: #e31e24;
}

.rp-why__aside {
  flex: 0 0 clamp(17.5rem, 40%, 36rem);
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  gap: clamp(4rem, 2.8vw, 2.25rem);
  min-height: 0;
  box-sizing: border-box;
}

.rp-why__lede {
  margin: 0;
  max-width: none;
  width: 100%;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: #000000;
}

.rp-why__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 0;
}

.rp-why__logo {
  flex: 0 1 auto;
  width: min(100%, 12.5rem);
  max-width: 100%;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.rp-why__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rp-why__contact-title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.474;
  color: #000000;
}

.rp-why__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.rp-why__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.rp-why__icon-link:hover {
  opacity: 0.72;
}

.rp-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  line-height: 1;
}

.rp-why__tel {
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.rp-why__tel:hover {
  opacity: 0.72;
}

@media (max-width: 1100px) {
  .rp-why__layout {
    flex-direction: column;
  }

  .rp-why__headline {
    flex: none;
    width: 100%;
    overflow-wrap: anywhere;
  }

  .rp-why__line {
    white-space: normal;
  }

  .rp-why__aside {
    flex: none;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .rp-why__brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1101px) {
  .rp-why__headline {
    /* Fallback без container units; затем по ширине .rp-why__inner */
    font-size: min(147px, calc((100vw - 80px) * 0.092));
    font-size: min(147px, max(3.25rem, 8.15cqw));
    line-height: 1;
    font-weight: 700;
    word-spacing: 0.12em;
    overflow-x: clip;
  }

  .rp-why__line {
    white-space: nowrap;
  }
}

/* Подвал — Figma node 337:20120 */

.rp-footer {
  width: 100%;
  margin-top: auto;
  background: #f5f5f5;
  color: #0a0a0a;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  font-family: var(--rp-font);
}

.rp-footer__inner {
  width: min(1440px, calc(100% - 32px));
  max-width: 1440px;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: min(27px, 4vw);
}

.rp-footer__top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.rp-footer__logo {
  display: block;
  flex-shrink: 0;
}

.rp-footer__logo img {
  display: block;
  height: auto;
  max-width: min(260px, 52vw);
}

.rp-footer__nav {
  flex: 1 1 14rem;
  min-width: 0;
}

.rp-footer__nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem clamp(0.65rem, 1.6vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-footer__nav-list a {
  font-weight: 500;
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  line-height: 1.35;
  color: #0a0a0a;
  text-decoration: none;
  white-space: nowrap;
}

.rp-footer__nav-list a:hover {
  color: var(--rp-red);
}



.rp-footer__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 1rem;
  flex-shrink: 0;
}


.rp-footer__actions .rp-header__login {
  color: var(--rp-black);
}

.rp-footer__rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--rp-red);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.rp-footer__rocket:hover {
  background: var(--rp-red-hover);
}

.rp-footer__login {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #0a0a0a;
  text-decoration: none;
}

.rp-footer__login:hover {
  color: var(--rp-red);
}

.rp-footer__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.rp-footer__cart:hover {
  background: rgba(0, 0, 0, 0.06);
}

button.rp-footer__login,
button.rp-footer__cart {
  font: inherit;
  cursor: pointer;
}

button.rp-footer__login {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

button.rp-footer__cart {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rp-footer__rule {
  display: block;
  width: 100vw;
  max-width: none;
  height: 1px;
  margin: 0;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  background: #d8d8d8;
  box-sizing: border-box;
}

.rp-footer__catalog-block {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.rp-footer__catalog-title {
  margin: 0 0 clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.25;
  color: #0a0a0a;
}

.rp-footer__catalog {
  display: block;
}

.rp-footer__catalog-list {
  flex: 1 1 10.5rem;
  min-width: min(100%, 11rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-footer__catalog-list--full {
  flex: none;
  width: 100%;
  min-width: 0;
  column-count: 4;
  column-gap: clamp(1.25rem, 3vw, 2.25rem);
}

@media (max-width: 1100px) {
  .rp-footer__catalog-list--full {
    column-count: 3;
  }
}

@media (max-width: 780px) {
  .rp-footer__catalog-list--full {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .rp-footer__catalog-list--full {
    column-count: 1;
  }
}

.rp-footer__catalog-list li {
  margin-bottom: 0.45rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.rp-footer__catalog-list a {
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #1a1a1a;
  text-decoration: none;
}

.rp-footer__catalog-list a:hover {
  color: var(--rp-red);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rp-footer__main {
  display: grid;
  /* третья колонка забирает остаток ширины — промо с justify-self: end прижато к правому краю блока */
  grid-template-columns: minmax(0, 26rem) minmax(0, 17rem) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(1.25rem, 3vw, 2.75rem);
  row-gap: clamp(0.65rem, 1.5vw, 1rem);
  align-items: start;
  justify-items: stretch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.rp-footer__col {
  min-width: 0;
}

.rp-footer__main > .rp-footer__group {
  min-width: 0;
}

.rp-footer__main-cell--legal-1 {
  grid-column: 1;
  grid-row: 1;
}

.rp-footer__main-cell--contacts {
  grid-column: 2;
  grid-row: 1;
  max-width: 16rem;
}

.rp-footer__main-cell--promo {
  grid-column: 3;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: start;
}

.rp-footer__main-cell--legal-2 {
  grid-column: 1;
  grid-row: 2;
}

.rp-footer__main-cell--address {
  grid-column: 2;
  grid-row: 2;
  max-width: 16rem;
}

.rp-footer__main-cell--legal-3 {
  grid-column: 1;
  grid-row: 3;
}

.rp-footer__group-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #0a0a0a;
}

.rp-footer__link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-footer__link-list li {
  margin-bottom: 0.4rem;
}

.rp-footer__link-list a {
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #333333;
  text-decoration: none;
}

.rp-footer__link-list a:hover {
  color: var(--rp-red);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rp-footer__contacts-note {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c5c5c;
}

.rp-footer__contacts-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.rp-footer__phone-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #0a0a0a;
  text-decoration: none;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rp-footer__phone-pill:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rp-footer__phone-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.rp-footer__social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.rp-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0a0a0a;
  text-decoration: none;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}

.rp-footer__social-btn:hover {
  background: #ebebeb;
}

.rp-footer__address-text {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1a1a1a;
}

/* первая строка адреса после заголовка — город, как на макете */
.rp-footer__col--address .rp-footer__group-title + .rp-footer__address-text {
  font-weight: 700;
}

.rp-footer__address-text--muted {
  margin-top: 0.35rem;
  color: #5c5c5c;
}

/* Промо-карта: макет PUNCHER node 337:20142 — при недоступности API размеры от экспорта footer-card-loyal.png (442×284) */
.rp-footer__promo {
  --rp-footer-promo-w: 380px;
  --rp-footer-promo-ratio: 539 / 276;
  container-type: inline-size;
  container-name: rp-footer-promo;
  position: relative;
  max-width: 100%;
  width: min(100%, var(--rp-footer-promo-w));
  aspect-ratio: var(--rp-footer-promo-ratio);
  min-height: 0;
  margin-left: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
}

.rp-footer__promo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("../assets/images/footer-card-loyal.png") center / cover no-repeat;
}

.rp-footer__promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 100%;
  height: 100%;
  padding: 20px 22px 22px;
  color: #ffffff;
}

.rp-footer__promo-title {
  margin: 0;
  font-family: "Roboto Flex", var(--rp-font), system-ui, sans-serif;
  font-variation-settings: "opsz" 144, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.125rem, 8.85cqw, 39px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.rp-footer__promo-title-line {
  display: block;
}

.rp-footer__promo-text {
  margin: 0;
  font-size: clamp(0.75rem, 2cqw, 0.8125rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 22em;
}

.rp-footer__promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  padding: 10px 18px;
  font-weight: 600;
  font-size: clamp(0.8125rem, 2.1cqw, 0.875rem);
  line-height: 1.2;
  color: #0a0a0a;
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.rp-footer__promo-btn:hover {
  background: #f0f0f0;
}

.rp-footer__copy {
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  color: #6e6e6e;
}

.rp-footer__copy::before {
  content: "";
  display: block;
  width: 100vw;
  max-width: none;
  height: 1px;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #d8d8d8;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .rp-footer__main {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .rp-footer__main-cell--legal-1 {
    order: 1;
    grid-column: auto;
    grid-row: auto;
  }

  .rp-footer__main-cell--legal-2 {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .rp-footer__main-cell--legal-3 {
    order: 3;
    grid-column: auto;
    grid-row: auto;
  }

  .rp-footer__main-cell--contacts {
    order: 4;
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }

  .rp-footer__main-cell--address {
    order: 5;
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }

  .rp-footer__main-cell--promo {
    order: 6;
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .rp-footer__nav-list {
    justify-content: flex-start;
  }
}

@media (max-width: 450px) {
  .rp-footer__promo-title-line {
    display: inline;
  }
}

/* Icomoon (main.html loads ./icomoon/style.css) */
.rp-ico {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  color: inherit;
}

.rp-ico--12 {
  font-size: 12px;
}

.rp-ico--13 {
  font-size: 13px;
}

.rp-ico--14 {
  font-size: 14px;
}

.rp-ico--16 {
  font-size: 16px;
}

.rp-ico--18 {
  font-size: 18px;
}

.rp-ico--20 {
  font-size: 20px;
}

.rp-ico--22 {
  font-size: 22px;
}

.rp-ico--27 {
  font-size: 27px;
}

/* --- Вход: модальное окно (products.html), поля как на realpuncher.ru/auth/ --- */
html.rp-auth-modal-open {
  overflow: hidden;
}

.rp-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

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

.rp-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.rp-auth-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90dvh, 560px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.rp-auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 200;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-auth-modal__close:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.18);
}

.rp-auth-modal__inner {
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.rp-auth-modal__heading {
  margin: 0 2.25rem 1.35rem 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0a0a0a;
}



.rp-auth-modal__error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--rp-red);
  background: rgba(200, 40, 40, 0.08);
}

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

.rp-auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rp-auth-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-family: var(--rp-font);
}

.rp-auth-modal__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
}

.rp-auth-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  color: #0a0a0a;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rp-auth-modal__input:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.rp-auth-modal__input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.45);
  background: #ffffff;
}

.rp-auth-modal__submit {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 0.9375rem;
  color: #ffffff;
  background: var(--rp-red);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

.rp-auth-modal__submit:hover {
  background: var(--rp-red-hover);
}

.rp-auth-modal__submit:active {
  transform: scale(0.99);
}

.rp-auth-modal__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.rp-auth-modal__forgot {
  margin: 1rem 0 0;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  text-align: center;
}

.rp-auth-modal__forgot a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-auth-modal__forgot a:hover {
  opacity: 0.75;
}

.rp-auth-modal__divider {
  margin: 1.15rem 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
}

.rp-auth-modal__divider span {
  display: inline-block;
  padding: 0 0.65rem;
}

.rp-auth-modal__register {
  margin: 0;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.rp-auth-modal__register a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-auth-modal__register a:hover {
  opacity: 0.75;
}

/* --- Страница входа (registe.html), блоки как на realpuncher.ru/auth/ --- */
.rp-auth-page__body {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  background: #f5f5f5;
}

.rp-auth-page__inner {
  width: min(28rem, calc(100% - 32px));
  margin-inline: auto;
  padding: 2rem 2rem 1.75rem;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

/* --- Страница регистрации (registe.html), как на realpuncher.ru/auth/?register=yes --- */
.rp-reg-page__wrap {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  background: #f5f5f5;
}

.rp-reg-page__layout {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 960px) {
  .rp-reg-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  }
}

.rp-reg-page__form-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.rp-reg-page__hint {
  margin: 0 0 1.25rem;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.72);
}

.rp-reg-page__form-block-title {
  margin: 1.75rem 0 1rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: #0a0a0a;
}

form[data-rp-reg-form] > h2.rp-reg-page__form-block-title:first-of-type {
  margin-top: 0;
}

.rp-reg-page__req {
  color: var(--rp-red);
  font-weight: 700;
}

.rp-city-ac {
  position: relative;
}

.rp-city-ac__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 120;
  margin: 2px 0 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.12);
}

.rp-city-ac__list[hidden] {
  display: none;
}

.rp-city-ac__item {
  padding: 0.45rem 0.85rem;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.1s ease;
}

.rp-city-ac__item:hover,
.rp-city-ac__item.is-active {
  background: #f2f2f2;
}

.rp-city-ac__item mark {
  background: transparent;
  color: var(--rp-red);
  font-weight: 700;
}

.rp-reg-page__captcha-wrap {
  margin-top: 0.25rem;
}

.rp-reg-page__check-block {
  margin: 0.35rem 0 0;
}

.rp-reg-page__check-block label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #0a0a0a;
  cursor: pointer;
}

.rp-reg-page__check-block input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--rp-red);
}

.rp-reg-page__captcha-img {
  display: block;
  margin-top: 0.5rem;
  width: 180px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: #eeeeee;
}

.rp-reg-page__submit.rp-auth-modal__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.rp-reg-page__submit.rp-auth-modal__submit:disabled:hover {
  background: var(--rp-red);
}

.rp-reg-page__legal-note {
  margin: 1.15rem 0 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.72);
}

.rp-reg-page__legal-note a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-reg-page__legal-note a:hover {
  opacity: 0.75;
}

.rp-reg-page__sidebar {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  background: #fafafa;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.85);
}

.rp-reg-page__sidebar h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 0.9375rem;
  color: #0a0a0a;
}

.rp-reg-page__sidebar h3:first-child {
  margin-top: 0;
}

.rp-reg-page__sidebar a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-reg-page__sidebar a:hover {
  opacity: 0.75;
}

/* --- Оформление заказа (order.html) --- */
.rp-order-page__wrap {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  background: #f5f5f5;
}

.rp-order-page__layout {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

@media (min-width: 901px) {
  .rp-order-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 17.5rem);
  }
}

.rp-order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.rp-order-block {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.rp-order-block__title {
  margin: 0 0 1.15rem;
  font-family: var(--rp-font);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
}

/* Корзина — таблица */
.rp-order-form__cart {
  padding: 0;
  overflow: hidden;
}

.rp-order-cart__head {
  display: none;
}

@media (min-width: 768px) {
  .rp-order-cart__head {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, auto);
    gap: 0.75rem 1rem;
    padding: 0.85rem clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    font-family: var(--rp-font);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.45);
  }

  .rp-order-cart__metrics--head,
  .rp-order-cart__metrics {
    align-items: center;
  }

  .rp-order-cart__metrics--head {
    justify-content: flex-end;
  }

  .rp-order-cart__metrics--head .rp-order-cart__col--price,
  .rp-order-cart__metrics .rp-order-cart__price {
    flex: 0 0 auto;
    min-width: 5.25rem;
  }

  .rp-order-cart__metrics--head .rp-order-cart__col--qty,
  .rp-order-cart__metrics .rp-order-cart__qty {
    flex: 0 0 auto;
    min-width: 8.75rem;
    justify-content: center;
    text-align: center;
  }

  .rp-order-cart__metrics--head .rp-order-cart__col--total,
  .rp-order-cart__metrics .rp-order-cart__total {
    flex: 0 0 auto;
    min-width: 5.25rem;
  }

  .rp-order-cart__metrics .rp-order-cart__price,
  .rp-order-cart__metrics .rp-order-cart__total {
    display: flex;
    align-items: center;
    min-height: 1.75rem;
  }

  .rp-order-cart__metrics .rp-order-cart__qty {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rp-order-cart__metrics .rp-mini-cart__icon-actions {
    flex: 0 0 auto;
    align-self: center;
  }
}

.rp-order-cart__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.rp-order-cart__row:last-child {
  border-bottom: 0;
}

.rp-order-cart__metrics {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: clamp(0.5rem, 2vw, 1rem);
  width: 100%;
  min-width: 0;
}

.rp-order-cart__row[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .rp-order-cart__metrics {
    justify-content: space-between;
  }

  .rp-order-cart__metrics .rp-order-cart__price,
  .rp-order-cart__metrics .rp-order-cart__qty,
  .rp-order-cart__metrics .rp-order-cart__total {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .rp-order-cart__metrics .rp-order-cart__price {
    align-items: flex-start;
  }

  .rp-order-cart__metrics .rp-order-cart__qty {
    align-items: center;
    justify-content: flex-start;
  }

  .rp-order-cart__metrics .rp-order-cart__qty .rp-mini-cart__qty {
    margin-inline: auto;
  }

  .rp-order-cart__metrics .rp-order-cart__total {
    align-items: flex-end;
    text-align: right;
  }
}

@media (min-width: 768px) {
  .rp-order-cart__metrics {
    justify-content: flex-end;
    align-items: center;
  }

  .rp-order-cart__row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, auto);
    gap: 0.75rem 1rem;
    align-items: center;
  }

  .rp-order-cart__product,
  .rp-order-cart__props {
    align-self: start;
  }

  .rp-order-cart__metrics {
    align-self: center;
  }
}

.rp-order-cart__product {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.rp-order-cart__product:hover .rp-order-cart__title {
  color: var(--rp-red);
}

.rp-order-cart__img {
  flex-shrink: 0;
  width: 4.5rem;
  height: auto;
  max-height: 6.5rem;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 6px;
}

.rp-order-cart__title {
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0a0a0a;
  transition: color 0.15s ease;
}

.rp-order-cart__props {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--rp-font);
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.6);
}

@media (max-width: 767px) {
  .rp-order-cart__props:not(:empty)::before {
    content: "Свойства";
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.4);
    margin-bottom: 0.15rem;
  }

  .rp-order-cart__metrics .rp-order-cart__price::before,
  .rp-order-cart__metrics .rp-order-cart__qty::before,
  .rp-order-cart__metrics .rp-order-cart__total::before {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.4);
    margin-bottom: 0;
  }

  .rp-order-cart__metrics .rp-order-cart__price::before { content: "Цена"; }
  .rp-order-cart__metrics .rp-order-cart__qty::before { content: "Кол-во"; }
  .rp-order-cart__metrics .rp-order-cart__total::before { content: "Итог"; }
}

.rp-order-cart__price,
.rp-order-cart__total {
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #0a0a0a;
  white-space: nowrap;
}

.rp-order-cart__qty {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.rp-order-cart__qty .rp-mini-cart__qty {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.rp-order-cart__qty .rp-mini-cart__qty-btn {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
}

.rp-order-cart__qty .rp-mini-cart__qty-input {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 2rem;
  min-width: 2rem;
}

@media (min-width: 768px) and (max-width: 959px) {
  .rp-order-cart__head,
  .rp-order-cart__row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, auto);
  }

  .rp-order-cart__metrics,
  .rp-order-cart__metrics--head {
    gap: 0.65rem;
  }

  .rp-order-cart__metrics--head .rp-order-cart__col--qty,
  .rp-order-cart__metrics .rp-order-cart__qty {
    min-width: 8.25rem;
  }
}

@media (min-width: 768px) {
  .rp-order-cart__price,
  .rp-order-cart__total {
    text-align: left;
  }

  .rp-order-cart__qty {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }
}

/* Поля формы */
.rp-order-fields {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rp-order-field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-order-field__req {
  color: var(--rp-red);
}

.rp-order-field__input,
.rp-order-field__textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  line-height: 1.4;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.rp-order-field__input:focus-visible,
.rp-order-field__textarea:focus-visible {
  outline: none;
  border-color: #0a0a0a;
}

.rp-order-field__textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.rp-order-field__hint {
  margin: 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.65);
}

.rp-order-radios {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rp-order-radio {
  display: block;
  cursor: pointer;
}

.rp-order-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rp-order-radio__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rp-order-radio input:checked + .rp-order-radio__body {
  border-color: #0a0a0a;
  background: rgba(10, 10, 10, 0.03);
}

.rp-order-radio__name {
  grid-column: 1;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-order-radio__price {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a0a0a;
  white-space: nowrap;
}

.rp-order-radio__desc {
  grid-column: 1 / -1;
  font-family: var(--rp-font);
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.6);
}

/* Оплата */
.rp-order-payments {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.55rem;
}

.rp-order-payment {
  display: flex;
  align-items: stretch;
  min-height: 3.25rem;
  cursor: pointer;
}

.rp-order-payment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rp-order-payment__name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.65rem;
  box-sizing: border-box;
  font-family: var(--rp-font);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #0a0a0a;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rp-order-payment input:checked + .rp-order-payment__name {
  border-color: #0a0a0a;
  background: rgba(10, 10, 10, 0.04);
}

.rp-order-payment__desc {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.rp-order-payment__desc-title {
  margin: 0;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-order-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.25rem 0.15rem;
}

.rp-order-total__label {
  font-family: var(--rp-font);
  font-size: 1rem;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-order-total__value {
  font-family: var(--rp-font);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #0a0a0a;
}

.rp-order-agreements {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rp-order-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.78);
  cursor: pointer;
}

.rp-order-agreement input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--rp-red);
}

.rp-order-agreement a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rp-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.rp-order-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.75rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--rp-red);
  border: 0;
  border-radius: var(--rp-radius);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.rp-order-submit:hover:not(:disabled) {
  background: var(--rp-red-hover);
}

.rp-order-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rp-order-submit:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
}

.rp-order-back {
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.65);
  background: transparent;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-order-back:hover {
  color: #0a0a0a;
}

/* Сайдбар */
.rp-order-page__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.rp-order-page__card,
.rp-order-page__paysystems {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.rp-order-page__card-title {
  margin: 0 0 0.85rem;
  font-family: var(--rp-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0a0a0a;
}

.rp-order-page__help-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.rp-order-page__help-list li {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.rp-order-page__help-list li:last-child {
  border-bottom: 0;
}

.rp-order-page__help-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rp-order-page__help-list a:hover {
  color: var(--rp-red);
}

.rp-order-page__paysystems-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a.rp-mini-cart__cta {
  text-decoration: none;
  text-align: center;
}

/* --- Корзина (cart.html) --- */
.rp-cart-page__wrap {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  background: #f5f5f5;
}

.rp-cart-page__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
}

.rp-cart-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.rp-cart-page__filled {
  display: flex;
  flex-direction: column;
}

.rp-cart-page__content {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

@media (min-width: 901px) {
  .rp-cart-page__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 17.5rem);
    align-items: stretch;
  }
}

.rp-cart-page .rp-order-form__cart {
  min-width: 0;
}

.rp-cart-page .rp-order-cart__col--total,
.rp-cart-page .rp-order-cart__metrics--head .rp-order-cart__col--total {
  display: none;
}

@media (min-width: 768px) {
  .rp-cart-page .rp-order-cart__metrics--head,
  .rp-cart-page .rp-order-cart__metrics {
    display: grid;
    grid-template-columns: 5.25rem 8.75rem 2.25rem;
    gap: 1rem;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    align-items: center;
    justify-content: end;
  }

  .rp-cart-page .rp-order-cart__metrics--head .rp-order-cart__col--price,
  .rp-cart-page .rp-order-cart__metrics .rp-order-cart__price {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
  }

  .rp-cart-page .rp-order-cart__metrics--head .rp-order-cart__col--qty,
  .rp-cart-page .rp-order-cart__metrics .rp-order-cart__qty {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }

  .rp-cart-page .rp-order-cart__metrics .rp-mini-cart__icon-actions {
    grid-column: 3;
    justify-self: center;
  }

  .rp-cart-page .rp-order-cart__metrics--head::after {
    content: "";
    grid-column: 3;
    width: 2.25rem;
    height: 1px;
  }
}

@media (max-width: 767px) {
  .rp-cart-page .rp-order-cart__metrics {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.65rem;
  }

  .rp-cart-page .rp-order-cart__metrics .rp-order-cart__price,
  .rp-cart-page .rp-order-cart__metrics .rp-order-cart__qty {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .rp-cart-page .rp-order-cart__metrics .rp-mini-cart__icon-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

.rp-order-cart__qty .rp-mini-cart__qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.rp-cart-page__summary {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  min-width: 0;
}

@media (min-width: 901px) {
  .rp-cart-page__summary {
    border-top: 0;
    border-left: 1px solid rgba(10, 10, 10, 0.08);
    align-self: stretch;
    box-sizing: border-box;
  }
}

.rp-cart-page__summary-title {
  margin: 0 0 1rem;
  font-family: var(--rp-font);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.rp-cart-page__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  color: #0a0a0a;
}

.rp-cart-page__summary-row--total {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  font-size: 1rem;
  font-weight: 700;
}

.rp-cart-page__summary-value {
  font-weight: 700;
  white-space: nowrap;
}

.rp-cart-page__summary-row--total .rp-cart-page__summary-value {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.rp-cart-page__delivery-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-cart-page__delivery-link:hover {
  color: var(--rp-red);
}

.rp-cart-page__coupon {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.rp-cart-page__coupon-field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.rp-cart-page__coupon-label {
  font-family: var(--rp-font);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.55);
}

.rp-cart-page__coupon-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.rp-cart-page__coupon-input:focus-visible {
  outline: none;
  border-color: #0a0a0a;
}

.rp-cart-page__coupon-btn {
  flex: 0 0 2.75rem;
  align-self: flex-end;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 10px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rp-cart-page__coupon-btn:hover {
  border-color: #0a0a0a;
  background-color: rgba(10, 10, 10, 0.03);
}

.rp-cart-page__continue {
  width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
}

.rp-cart-page__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.rp-cart-page__nav-back {
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.65);
  background: transparent;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-cart-page__nav-back:hover {
  color: #0a0a0a;
}

.rp-cart-page__nav-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.75rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: var(--rp-red);
  border-radius: var(--rp-radius);
  transition: background 0.15s ease;
}

.rp-cart-page__nav-order:hover {
  background: var(--rp-red-hover);
}

.rp-cart-page__empty {
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
}

.rp-cart-page__empty[hidden] {
  display: none !important;
}

.rp-cart-page__filled[hidden] {
  display: none !important;
}

.rp-cart-page__empty-title {
  margin: 0 0 0.65rem;
  font-family: var(--rp-font);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  color: #0a0a0a;
}

.rp-cart-page__empty-text {
  margin: 0 0 1.25rem;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.65);
}

/* --- Юридические страницы (cookies.html и т.п.) --- */
.rp-legal-page__body {
  padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2.5rem, 8vw, 4.5rem);
  background: #f5f5f5;
}

.rp-legal-page__inner {
  width: min(52rem, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #1a1a1a;
}

.rp-legal-page__inner h2 {
  margin: 0 0 1.35rem;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #0a0a0a;
}

.rp-legal-page__inner h3 {
  margin: 2rem 0 0.75rem;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: #0a0a0a;
}

.rp-legal-page__inner h4 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #0a0a0a;
}

.rp-legal-page__inner p {
  margin: 0 0 0.85rem;
}

.rp-legal-page__inner p:last-child {
  margin-bottom: 0;
}

.rp-legal-page__inner ul {
  margin: 0.5rem 0 1rem 1.15rem;
  padding: 0;
}

.rp-legal-page__inner li {
  margin-bottom: 0.35rem;
}

.rp-legal-page__inner strong {
  font-weight: 700;
  color: #0a0a0a;
}

.rp-legal-page__inner a {
  color: var(--rp-red);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-legal-page__inner a:hover {
  color: var(--rp-red-hover);
}

.rp-legal-page__card {
  margin: 1rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.06);
}

.rp-legal-page__card h4 {
  margin-top: 0;
}

.rp-legal-page__card p:last-child,
.rp-legal-page__card ul:last-child {
  margin-bottom: 0;
}

/* --- Мини-корзина (products.html) --- */
html.rp-mini-cart-open {
  overflow: hidden;
}

.rp-mini-cart {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.rp-mini-cart__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rp-mini-cart[hidden] {
  display: none;
}

.rp-mini-cart.is-busy {
  pointer-events: none;
}

.rp-mini-cart.is-busy .rp-mini-cart__panel {
  opacity: 0.72;
}

.rp-mini-cart__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.rp-mini-cart__panel {
  position: relative;
  z-index: 1;
  width: 500px;
  height: 660px;
  max-width: min(500px, calc(100vw - 1.5rem));
  max-height: min(660px, calc(100dvh - 1.5rem));
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  overflow: hidden;
}

.rp-mini-cart__close {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 200;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-mini-cart__close:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.18);
}

.rp-mini-cart__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2rem 2.5rem 1.5rem;
  box-sizing: border-box;
}

.rp-mini-cart__totals {
  flex-shrink: 0;
  padding: 0 2.5rem;
  background: #ffffff;
  box-sizing: border-box;
  margin-top: auto;
}

.rp-mini-cart__product {
  display: grid;
  grid-template-columns: minmax(0, 7.75rem) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: stretch;
}

.rp-mini-cart__product[hidden] {
  display: none !important;
}

.rp-mini-cart__figure {
  align-self: start;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
}

.rp-mini-cart__info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: #0a0a0a;
}

.rp-mini-cart__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rp-mini-cart__title {
  margin: 0 0 0.35rem;
  padding-right: 4.5rem;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: #0a0a0a;
}

.rp-mini-cart__attr {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.2rem;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.rp-mini-cart__attr-label {
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 500;
}

.rp-mini-cart__attr-label::after {
  content: ":";
}

.rp-mini-cart__attr-value {
  color: #0a0a0a;
  font-weight: 500;
}

.rp-mini-cart__attr:has(.rp-arrivals-card__color) {
  align-items: center;
}

.rp-mini-cart__attr-value:has(.rp-arrivals-card__color) {
  display: inline-flex;
  align-items: center;
}

.rp-mini-cart .rp-arrivals-card__color {
  height: 0.65rem;
}

.rp-mini-cart__price {
  margin: 0.35rem 0 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: #0a0a0a;
}

.rp-mini-cart__price.rp-personal-price-host .rp-personal-price {
  flex-direction: column;
  align-items: flex-start;
}

.rp-mini-cart__summary-row dd.rp-personal-price-host .rp-personal-price {
  flex-direction: column;
  align-items: flex-end;
}

.rp-mini-cart__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.rp-mini-cart__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.15rem;
  background: #f5f5f5;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-mini-cart__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.12s ease;
}

.rp-mini-cart__qty-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.rp-mini-cart__qty-input {
  width: 2.25rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  color: #0a0a0a;
  -moz-appearance: textfield;
  appearance: textfield;
}

.rp-mini-cart__qty-input::-webkit-outer-spin-button,
.rp-mini-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rp-mini-cart__icon-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rp-mini-cart__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.18s ease, color 0.22s ease;
}

.rp-mini-cart__icon-btn .icon-heart {
  display: inline-block;
  transition: transform 0.26s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.rp-mini-cart__icon-btn:hover {
  background: #e5e5e5;
}

.rp-mini-cart__icon-btn--wishlist-active {
  background: rgba(196, 50, 50, 0.16);
  color: #c43232;
}

.rp-mini-cart__icon-btn--wishlist-active .icon-heart {
  transform: scale(1.12);
}

.rp-mini-cart__icon-btn--wishlist-active:hover {
  background: rgba(196, 50, 50, 0.24);
}

.rp-mini-cart__trash {
  display: block;
}

.rp-mini-cart__rule {
  margin: 0 0 0.85rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rp-mini-cart__summary {
  margin: 0;
  padding: 0;
}

.rp-mini-cart__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.65rem;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  line-height: 1.35;
  color: #0a0a0a;
}

.rp-mini-cart__summary-row dt {
  margin: 0;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.72);
}

.rp-mini-cart__summary-row dd {
  margin: 0;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-mini-cart__summary-row--total {
  margin-top: 0.85rem;
  margin-bottom: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.rp-mini-cart__summary-row--total dt,
.rp-mini-cart__summary-row--total dd {
  font-weight: 800;
  font-size: 0.9375rem;
  color: #0a0a0a;
}

.rp-mini-cart__footer {
  flex-shrink: 0;
  padding: 0.7rem 2.5rem 2.5rem;
  box-sizing: border-box;
}

.rp-mini-cart__cta {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #0a0a0a;
  color: #ffffff;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.rp-mini-cart__cta:hover {
  background: #222222;
}

.rp-mini-cart__cta:active {
  transform: scale(0.99);
}

@media (max-width: 560px) {
  .rp-mini-cart {
    justify-content: center;
    align-items: flex-start;
  }

  .rp-mini-cart__panel {
    width: 100%;
    max-width: min(500px, calc(100vw - 1.5rem));
  }
}

/* --- Product page showcase (product.html) --- */

.rp-product-section {
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 clamp(2rem, 4vw, 3rem);
  background: #fff;
}

.rp-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 20px);
  box-sizing: border-box;
  min-width: 0;
}

.rp-product-showcase-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 20px);
  box-sizing: border-box;
  min-width: 0;
  overflow-x: clip;
}

.rp-product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(12px, 2vw, 18px);
  align-items: start;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.rp-product-showcase__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 0;
  box-sizing: border-box;
}

.rp-product-showcase__media-card {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 420 / 660;
  border-radius: 12px;
  background: #d9d9d9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.rp-product-showcase__media-card:not([data-role="video-slide"]) {
  cursor: pointer;
}

.rp-product-showcase__media-grid > .rp-product-showcase__media-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 850 / 660;
}

.rp-product-showcase__media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.rp-product-showcase__media-card .rp-product-showcase__media-video {
  position: absolute;
  inset: 0;
}

.rp-product-showcase__media-card[data-role="video-slide"] {
  position: relative;
}

.rp-product-showcase__media-card video.rp-product-showcase__media-thumb {
  cursor: default;
}


.rp-product-showcase__media-url {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 3px 8px;
}

.rp-product-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.rp-product-media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.74);
  cursor: pointer;
}

.rp-product-media-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1080px);
  margin: min(4vh, 30px) auto;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  min-height: 90dvh;
}

.rp-product-media-lightbox__image {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.rp-product-media-lightbox__close,
.rp-product-media-lightbox__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rp-product-media-lightbox__close {
  top: 10px;
  right: 10px;
  font-size: 26px;
  line-height: 1;
}

.rp-product-media-lightbox__nav {
  top: calc(50% - 19px);
  font-size: 30px;
  line-height: 1;
}

.rp-product-media-lightbox__nav--prev {
  left: 10px;
}

.rp-product-media-lightbox__nav--next {
  right: 10px;
}

.rp-articles-strip {
  background: #ffffff;
  padding: 18px 0 14px;
}

.rp-articles-strip__inner {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 14px;
}

.rp-articles-strip__top {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
}

.rp-articles-strip__title {
  margin: 2px 0 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: #111111;
  min-width: 0;
}

.rp-articles-strip__card {
  min-width: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0 clamp(16px, 3vw, 40px) 8px clamp(20px, 4vw, 48px);
}

.rp-articles-strip__card-title {
  margin: 0 0 8px;
  font-size: clamp(1.375rem, 2.8vw, 2.625rem);
  line-height: 1.12;
  font-weight: 600;
  color: #111111;
}

.rp-articles-strip__card-text {
  margin: 15px 0;
  font-size: 14px;
  line-height: 1.45;
  color: #141414;
}

.rp-articles-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 28px;
  border-radius: 4px;
  text-decoration: none;
  background: var(--rp-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.rp-articles-strip__bottom {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 16px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  text-align: left;
}

.rp-articles-strip__bottom-left,
.rp-articles-strip__bottom-right {
  margin: 0;
  font-size: 16px;
  color: #1b1b1b;
}

.rp-articles-strip__bottom-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  line-height: 1.2;
}

.rp-articles-strip__expand {
  font-size: 16px;
  color: #595959;
}

.rp-articles-strip__bottom-right a {
  display: inline-flex;
  align-items: center;
  color: #2f4c7a;
}

@media (max-width: 1024px) {
  .rp-articles-strip__top {
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 2.5vw, 24px);
  }

  .rp-articles-strip__title {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }

  .rp-articles-strip__card {
    border-left: 0;
    padding: 0 clamp(8px, 2vw, 16px) 8px 0;
  }

  .rp-articles-strip__card:nth-child(2) {
    padding-right: clamp(8px, 2vw, 20px);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
  }

  .rp-articles-strip__card:nth-child(3) {
    padding-left: clamp(12px, 2.5vw, 24px);
  }
}

@media (max-width: 720px) {
  .rp-articles-strip__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rp-articles-strip__title {
    grid-column: auto;
    margin-bottom: 0.5rem;
  }

  .rp-articles-strip__card {
    border-right: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding: clamp(14px, 4vw, 20px) 0;
  }

  .rp-articles-strip__card:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .rp-articles-strip__card:nth-child(3) {
    padding-left: 0;
  }

  .rp-articles-strip__bottom {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .rp-articles-strip__bottom-right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* --- News page (news.html) --- */
.rp-catalog-intro--news .rp-catalog-intro__inner {
  padding-bottom: 0;
}

.rp-catalog-intro--news {
  padding-bottom: 0;
}

.rp-catalog-intro--news .rp-catalog-intro__title {
  margin-bottom: 0;
}

.rp-news-grid-wrap {
  background: #ffffff;
  padding: 0 0 44px;
}

.rp-news-grid-wrap .rp-products-catalog__inner {
  border-top: 0;
  padding-top: 8px;
}

#rp-news-grid-heading {
  color: #000;
}

.rp-news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.rp-news-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  background: #0f0f0f;
}

.rp-news-card__img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.rp-news-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.56) 48%, rgba(0, 0, 0, 0.08) 100%);
  color: #fff;
}

.rp-news-card__title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.06;
  font-weight: 600;
}

.rp-news-card__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.92);
}

.rp-news-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.rp-news-grid-wrap .rp-products-catalog__pager {
  margin-top: 24px;
  border-top: 0;
  padding-top: 10px;
}

/* --- Return and exchange page --- */
.rp-catalog-intro--return {
  padding-bottom: 18px;
}

.rp-exchange-split {
  background: #fff;
  padding: 0 0 20px;
}

.rp-exchange-split__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.rp-exchange-split__copy {
  position: relative;
}

.rp-exchange-split__copy p {
  margin: 0 0 12px;
  color: #111;
  font-size: 16px;
  line-height: 30px;
}

.rp-exchange-split__copy p:last-child {
  margin-bottom: 0;
}

.rp-exchange-split__visual {
  margin: 0;
}

.rp-exchange-split__img {
  width: 735px;
  max-width: 100%;
  height: 487px;
  max-height: 100%;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.rp-return-approach {
  padding-top: 6px;
  margin-bottom: 0;
  padding-bottom: calc(clamp(2rem, 5vw, 4rem) + 14px);
}

@media (max-width: 1100px) {
  .rp-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .rp-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rp-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rp-news-card,
  .rp-news-card__img {
    min-height: 320px;
  }

  .rp-exchange-split__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Contacts page (Contacts.html): блок contacts-view --- */
.contacts-view__masthead {
  background: #ffffff;
  color: #0a0a0a;
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 18px;
}

.contacts-view__masthead-inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.contacts-view__breadcrumbs {
  margin: 0 0 clamp(0.85rem, 2.2vw, 1.35rem);
}

.contacts-view__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.contacts-view__crumbs a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.contacts-view__crumbs a:hover {
  color: #0a0a0a;
}

.contacts-view__crumbs [aria-current="page"] {
  color: #0a0a0a;
  font-weight: 500;
}

.contacts-view__crumb-sep {
  color: rgba(0, 0, 0, 0.32);
  user-select: none;
}

.contacts-view__heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.35rem;
}

.contacts-view__heading {
  margin: 0;
  font-family: var(--rp-font);
  font-size: 32px;
  font-weight: 400;
  color: #0a0a0a;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.contacts-view__btn-catalog {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  border-radius: 4px;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: #fff;
  background: var(--rp-red);
  border: 1px solid var(--rp-red);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.contacts-view__btn-catalog:hover {
  background: var(--rp-red-hover);
  border-color: var(--rp-red-hover);
}

.contacts-view__split {
  background: #fff;
  padding: 0 0 32px;
}

.contacts-view__split-inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.contacts-view__photo,
.contacts-view__details {
  min-width: 0;
}

.contacts-view__photo {
  margin: 0;
}

.contacts-view__photo-img {
  width: 735px;
  max-width: 100%;
  height: 487px;
  max-height: min(52vw, 487px);
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.contacts-view__geo-label {
  margin: 0 0 14px;
  font-family: var(--rp-font);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contacts-view__chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0a0a0a;
  text-decoration: none;
  background: #f5f5f5;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.contacts-view__chip:hover {
  background: #ebebeb;
  border-color: #dedede;
}

.contacts-view__chip-icon {
  flex-shrink: 0;
  color: var(--rp-red);
}

.contacts-view__chip--phone {
  margin-bottom: 12px;
}

.contacts-view__chip--wide {
  padding-inline: 1.05rem;
}

.contacts-view__chip--mail .contacts-view__chip-mail-glyph {
  flex-shrink: 0;
  color: var(--rp-red);
}

.contacts-view__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.contacts-view__messengers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #0a0a0a;
  text-decoration: none;
  background: #f5f5f5;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.contacts-view__messengers-btn:hover {
  background: #ebebeb;
  border-color: #dcdcdc;
}

.contacts-view__detail {
  margin-bottom: 18px;
}

.contacts-view__detail:last-child {
  margin-bottom: 0;
}

.contacts-view__detail-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3a3a3a;
  letter-spacing: 0.02em;
}

.contacts-view__detail-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.45;
}

.contacts-view__detail--hours .contacts-view__detail-text {
  font-weight: 500;
}

.contacts-view__venue {
  background: #fff;
  padding: 8px 0 48px;
}

.contacts-view__venue-inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.contacts-view__venue-title {
  margin: 0 0 20px;
  font-family: var(--rp-font);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.02em;
}

.contacts-view__venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.contacts-view__map-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #f2f2f2;
}

.contacts-view__map-frame {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 320px;
  height: 400px;
  border: 0;
}

.contacts-view__venue-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.contacts-view__venue-line {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #111;
}

.contacts-view__venue-strong {
  font-weight: 700;
  color: #0a0a0a;
}

.contacts-view__requisites {
  margin-top: 6px;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: #eeeeee;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
}

@media (min-width: 901px) {
  .contacts-view__map-shell {
    min-height: 100%;
    height: 100%;
  }

  .contacts-view__map-frame {
    height: 100%;
    min-height: 400px;
  }

  .contacts-view__venue-copy {
    height: 100%;
  }

  .contacts-view__requisites {
    margin-top: auto;
  }
}

.contacts-view__requisites-title {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: inherit;
  font-weight: inherit;
  color: #0a0a0a;
}

.contacts-view__requisites-role {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
}

.contacts-view__requisites-name {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #0a0a0a;
}

.contacts-view__requisites-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.contacts-view__requisites-line {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #222;
}

.contacts-view__requisites-line:last-child {
  margin-bottom: 0;
}

.contacts-view__requisites-line a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contacts-view__requisites-line a:hover {
  color: var(--rp-red);
}

.contacts-view__venue-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .contacts-view__split-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts-view__venue-grid {
    grid-template-columns: 1fr;
  }

  .contacts-view__map-shell {
    height: auto;
    min-height: 320px;
  }

  .contacts-view__venue-copy {
    height: auto;
  }

  .contacts-view__requisites-columns {
    grid-template-columns: 1fr;
  }

  .contacts-view__map-frame {
    flex: none;
    height: 320px;
    min-height: 320px;
  }
}

.rp-product-showcase__details {
  position: sticky;
  top: 10px;
  padding: 2px 4px;
  min-width: 0;
}

.rp-product-showcase__title {
  margin: 20px 0;
  font-size: 32px;
  font-weight: 500;
  font-family: "Montserrat", var(--rp-font), sans-serif;
  color: #000;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.rp-product-showcase__price-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 6px;
}

.rp-product-showcase__price {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

.rp-product-showcase__meta {
  margin: 0;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}

.rp-product-showcase__meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rp-product-showcase__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 26px;
}

.rp-product-showcase__meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rp-product-showcase__meta-top .rp-arrivals-card__badge,
.rp-product-showcase__favorite {
  height: 21px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}

.rp-product-showcase__meta-top .rp-arrivals-card__badge {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: auto;
  box-shadow: none;
  margin-right: 0;
}

.rp-product-showcase__meta-top .rp-arrivals-card__badge--rating {
  background: #f5f5f5;
  color: #000000;
  font-size: 10px;
  font-weight: 500;
}

.rp-product-showcase__meta-top .rp-arrivals-card__badge--rating .rp-arrivals-card__star {
  color: #000000;
}

.rp-product-showcase__meta-top .rp-arrivals-card__badge--new {
  color: #000000;
  border-radius: 38px;
  border: 1px solid #a7a7a7;
}

.rp-product-showcase__favorite {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid #a7a7a7;
  border-radius: 999px;
  background: #fff;
  color: #000000;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.14s ease;
}

.rp-product-showcase__favorite .rp-ico--16 {
  font-size: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.rp-product-showcase__favorite.is-active {
  background: #fff1f2;
  border-color: var(--rp-red);
  color: var(--rp-red);
}

.rp-product-showcase__favorite.is-active .rp-ico--16 {
  color: var(--rp-red);
}

.rp-product-showcase__favorite.is-pop {
  animation: rp-favorite-pop 0.36s ease;
}

.rp-product-showcase__favorite.is-pop .rp-ico--16 {
  animation: rp-favorite-heart-beat 0.36s ease;
}

@keyframes rp-favorite-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rp-favorite-heart-beat {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.rp-product-showcase__pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.rp-product-showcase__label {
  margin: 14px 0 7px;
  font-size: 12px;
  color: #111;
  font-weight: 600;
}

.rp-product-showcase__size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rp-product-showcase__size-head .rp-product-showcase__label,
.rp-product-showcase__size-head .rp-product-showcase__meta {
  margin: 14px 0 7px;
}

.rp-product-showcase__size-chart-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.rp-product-showcase__size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.rp-product-showcase__size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  min-height: 1.65rem;
  padding: 0 0.35rem;
  border: 0;
  background: #f5f5f5;
  border-radius: 4px;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.6875rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
}

.rp-product-showcase__size-btn[aria-pressed="true"] {
  background: #111;
  color: #fff;
}

.rp-product-showcase__color-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.rp-product-showcase__color-item {
  margin: 0;
  padding: 0;
}

.rp-product-showcase__color-link {
  display: block;
  width: 30px;
  height: 46px;
  border: 1px solid #dedede;
  border-radius: 3px;
  overflow: hidden;
}

.rp-product-showcase__color-link--active {
  border-color: #111;
}

.rp-product-showcase__color-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-product-showcase__color-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid #cfcfcf;
  cursor: pointer;
}

.rp-product-showcase__color-swatch[aria-pressed="true"] {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.rp-product-showcase__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 14px;
}

.rp-product-showcase__buy-btn,
.rp-product-showcase__cart-btn {
  height: 34px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.rp-product-showcase__buy-btn {
  background: #ed1c24;
  color: #fff;
  border-radius: 4px;
}

.rp-product-showcase__cart-btn {
  background: #f5f5f5;
  color: #111;
}

.rp-product-showcase__cart-btn.is-added {
  background: #111;
  color: #fff;
}

.rp-product-showcase__accordion details {
  border-top: 1px solid #e5e5e5;
}

.rp-product-showcase__accordion details:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.rp-product-showcase__accordion summary {
  list-style: none;
  padding: 14px 2px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rp-product-showcase__accordion summary::-webkit-details-marker {
  display: none;
}

.rp-product-showcase__accordion summary::after {
  content: "›";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #8c8c8c;
}

.rp-product-showcase__accordion-body {
  padding: 0 2px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: #000;
}

.rp-product-showcase__accordion-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.rp-size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.rp-size-chart-modal[hidden] {
  display: none !important;
}

.rp-size-chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.rp-size-chart-modal__panel {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 1.5rem));
  max-height: min(90dvh, 780px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.rp-size-chart-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-size-chart-modal__close:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.18);
}

.rp-size-chart-modal__inner {
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  box-sizing: border-box;
  font-family: var(--rp-font);
}

.rp-size-chart-modal__title {
  margin: 0 2.25rem 1rem 0;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0a0a0a;
}

.rp-size-chart-modal__subtitle {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-size-chart-modal__lead,
.rp-size-chart-modal__note {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #0a0a0a;
}

.rp-size-chart-modal__table {
  width: min(100%, 700px);
  border-collapse: collapse;
  margin: 0 0 1rem;
  background: #ffffff;
}

.rp-size-chart-modal__table th,
.rp-size-chart-modal__table td {
  border: 1px solid #d7d7d7;
  padding: 0.45rem 0.65rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #0a0a0a;
}

.rp-quick-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
}

.rp-quick-buy-modal[hidden] {
  display: none !important;
}

.rp-quick-buy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.rp-quick-buy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 1.5rem));
  max-height: min(90dvh, 680px);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-quick-buy-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-quick-buy-modal__close:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.18);
}

.rp-quick-buy-modal__inner {
  padding: 2.1rem 2rem 1.6rem;
  font-family: var(--rp-font);
}

.rp-quick-buy-modal__product {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-quick-buy-modal__image-wrap {
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  width: 180px;
  height: 220px;
  overflow: hidden;
  background: #f4f4f4;
}

.rp-quick-buy-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-quick-buy-modal__meta {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.rp-quick-buy-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0a0a0a;
  max-width: 28ch;
}

.rp-quick-buy-modal__price {
  margin: 0 0 0.45rem;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-quick-buy-modal__qty {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-top: auto;
}

.rp-quick-buy-modal__qty-btn {
  border: 0;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  color: #0a0a0a;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
}

.rp-quick-buy-modal__qty-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.rp-quick-buy-modal__qty-value {
  min-width: 1ch;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-quick-buy-modal__bottom {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: stretch;
}

.rp-quick-buy-modal__form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rp-quick-buy-modal__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-quick-buy-modal__input {
  width: min(470px, 100%);
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.95rem;
  color: #0a0a0a;
  box-sizing: border-box;
  background: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rp-quick-buy-modal__input:focus {
  outline: none;
  border-color: rgba(10, 10, 10, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.rp-quick-buy-modal__submit {
  margin-top: 0.65rem;
  width: min(470px, 100%);
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.rp-quick-buy-modal__submit:hover {
  background: #1a1a1a;
}

.rp-quick-buy-modal__submit:active {
  transform: translateY(1px);
}

.rp-quick-buy-modal__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #0a0a0a;
}

.rp-quick-buy-modal__check input[type="checkbox"] {
  margin-top: 0.1rem;
  accent-color: #0a0a0a;
}

.rp-quick-buy-modal__check a {
  color: #1f5f91;
  text-decoration: underline;
}

.rp-quick-buy-modal__check.is-invalid {
  outline: 1px solid #ed1c24;
  outline-offset: 3px;
  border-radius: 4px;
}

.rp-quick-buy-modal__check-error {
  margin: 0.15rem 0 0;
  color: #ed1c24;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.rp-quick-buy-modal__promo {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 100%),
    url("../assets/images/footer-card-loyal.png") center / cover no-repeat;
  padding: 1.1rem 1.15rem;
  text-align: left;
  box-shadow: none;
}

.rp-quick-buy-modal__promo-title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.rp-quick-buy-modal__promo-title > span {
  display: inline;
  background: var(--rp-red);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.rp-quick-buy-modal__promo-value {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.rp-quick-buy-modal__promo-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.rp-quick-buy-modal__promo-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.rp-quick-buy-modal__promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  border: 1px solid var(--rp-red);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--rp-red);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.rp-quick-buy-modal__promo-btn:hover {
  background: var(--rp-red-hover);
  border-color: var(--rp-red-hover);
}

.rp-quick-buy-modal__promo-btn:active {
  transform: translateY(1px);
}

.rp-quick-buy-modal__promo-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rp-reviews {
  padding: 0 0 42px;
  background: #ffffff;
}

.rp-reviews__inner {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 28px;
}

.rp-reviews__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.rp-reviews__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-reviews__count {
  color: #6d6d6d;
  font-size: 16px;
}

.rp-reviews__write-btn {
  margin-left: auto;
  border: 1px solid var(--rp-red);
  background: var(--rp-red);
  color: #ffffff;
  border-radius: 8px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rp-reviews__panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.rp-reviews__summary-title,
.rp-reviews__summary-note {
  margin: 0;
  font-size: 13px;
  color: #6d6d6d;
}

.rp-reviews__summary-value {
  margin: 6px 0 6px;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: var(--rp-red);
}

.rp-reviews__stars {
  display: inline-flex;
  gap: 4px;
  color: #f2b01e;
  margin-bottom: 8px;
}

.rp-reviews__distribution {
  display: grid;
  gap: 8px;
}

.rp-reviews__row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #0a0a0a;
}

.rp-reviews__bar {
  display: block;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}

.rp-reviews__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff9f2f 0%, var(--rp-red) 100%);
}

.rp-reviews__toolbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rp-reviews__control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0a0a0a;
}

.rp-reviews__control select {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  padding: 0 10px;
  font-size: 13px;
  color: #0a0a0a;
}

.rp-reviews__empty {
  margin-top: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: #fafafa;
  padding: 18px;
}

.rp-reviews__empty-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
}

.rp-reviews__empty-text {
  margin: 6px 0 0;
  font-size: 13px;
  color: #5f5f5f;
}

.rp-reviews__list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.rp-reviews__item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 12px;
}

.rp-reviews__item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rp-reviews__item-author {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
}

.rp-reviews__item-date {
  margin: 0;
  font-size: 12px;
  color: #707070;
}

.rp-reviews__item-stars {
  margin-top: 6px;
  display: inline-flex;
  gap: 4px;
  color: #f2b01e;
}

.rp-reviews__item-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #151515;
}

.rp-reviews__item-badge {
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, #4f76ff 0%, #31a8ff 100%);
}

.rp-reviews__photos {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rp-reviews__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(229, 27, 35, 0.42);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.rp-reviews__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rp-reviews-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.rp-reviews-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.rp-reviews-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 900px);
  margin: min(6vh, 48px) auto;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.rp-reviews-lightbox__image {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}

.rp-reviews-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.review-add-block {
  margin-top: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.review-add-block__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
}

.review-add-block__form {
  display: grid;
  gap: 12px;
}

.review-add-block__field {
  margin: 0;
}

.review-add-block__label {
  margin: 0 0 6px;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
}

.review-add-block__hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #5f5f5f;
}

.review-add-block__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-add-block__star-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f3c76f;
  cursor: pointer;
}

.review-add-block__star-btn.is-active {
  color: #f2b01e;
}

.review-add-block__textarea,
.review-add-block__input {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #0a0a0a;
  box-sizing: border-box;
}

.review-add-block__textarea {
  resize: vertical;
}

.review-add-block__counter {
  margin: 6px 0 0;
  font-size: 12px;
  color: #5f5f5f;
}

.review-add-block__recommend {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-add-block__recommend label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.review-add-block__error {
  margin: -4px 0 0;
  color: var(--rp-red);
  font-size: 12px;
}

.review-add-block__actions {
  display: flex;
  gap: 8px;
}

.review-add-block__submit,
.review-add-block__cancel {
  height: 36px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.review-add-block__submit {
  border: 1px solid var(--rp-red);
  background: var(--rp-red);
  color: #fff;
}

.review-add-block__cancel {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #0a0a0a;
}

@media (max-width: 900px) {
  .rp-quick-buy-modal__inner {
    padding: 1.25rem 1rem 1rem;
  }

  .rp-quick-buy-modal__product {
    grid-template-columns: 130px 1fr;
  }

  .rp-quick-buy-modal__image-wrap {
    width: 130px;
    height: 165px;
  }

  .rp-quick-buy-modal__title {
    font-size: 1.25rem;
  }

  .rp-quick-buy-modal__price {
    font-size: 1.35rem;
  }

  .rp-quick-buy-modal__qty-btn,
  .rp-quick-buy-modal__qty-value {
    font-size: 1.5rem;
  }

  .rp-quick-buy-modal__bottom {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .rp-quick-buy-modal__promo {
    min-width: 0;
    text-align: center;
  }

  .rp-quick-buy-modal__promo-actions {
    justify-content: center;
  }

  .rp-reviews__panel {
    grid-template-columns: 1fr;
  }

  .rp-reviews__head {
    flex-wrap: wrap;
  }

  .rp-reviews__write-btn {
    margin-left: 0;
  }
}

.rp-size-chart-modal__table th {
  font-weight: 700;
  background: #f7f7f7;
}

@media (max-width: 640px) {
  .rp-size-chart-modal__panel {
    width: min(100%, calc(100vw - 1rem));
    max-height: min(92dvh, 860px);
  }

  .rp-size-chart-modal__inner {
    padding: 1.35rem 1rem 1rem;
  }

  .rp-size-chart-modal__title {
    font-size: 1.4rem;
    margin-right: 2rem;
  }

  .rp-size-chart-modal__table th,
  .rp-size-chart-modal__table td {
    font-size: 0.82rem;
    padding: 0.38rem 0.45rem;
  }
}

@media (max-width: 1200px) {
  .rp-product-showcase-container {
    padding-inline: clamp(12px, 4vw, 20px);
  }

  .rp-product-showcase {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }

  .rp-product-showcase__media-grid {
    width: 100%;
    max-width: 100%;
  }

  .rp-product-showcase__details {
    position: static;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .rp-product-showcase__media-grid {
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .rp-product-showcase-container {
    padding-inline: clamp(10px, 3.5vw, 16px);
  }

  .rp-product-showcase__media-grid {
    grid-template-columns: 1fr;
    padding: 6px 0;
  }

  .rp-product-showcase__media-card {
    aspect-ratio: 420 / 660;
  }

  .rp-product-showcase__media-grid > .rp-product-showcase__media-card:last-child:nth-child(odd) {
    grid-column: auto;
    aspect-ratio: 420 / 660;
    min-height: clamp(280px, 72vw, 520px);
    height: auto;
  }

  .rp-product-showcase__actions {
    grid-template-columns: 1fr;
  }

  .rp-product-showcase__title {
    font-size: clamp(1.375rem, 6.5vw, 1.875rem);
    line-height: 1.15;
  }

  .rp-product-showcase__price-row {
    flex-wrap: wrap;
  }
}

/* =========================
   404 Page (rp404-*)
   ========================= */

.rp404-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #020202;
  color: #ffffff;
  overflow: hidden;
}

.rp404-body *,
.rp404-body *::before,
.rp404-body *::after {
  box-sizing: border-box;
}

.rp404-viewport {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

.rp404-page {
  position: relative;
  width: 1440px;
  height: 872px;
  background: #020202;
  overflow: hidden;
  text-align: center;
  transform-origin: center;
  transform: scale(min(calc(100vw / 1440), calc(100vh / 872)));
}

.rp404-code-row {
  display: contents;
}

.rp404-digit {
  position: absolute;
  top: 231px;
  width: 94px;
  height: 167px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 235.52px;
  font-weight: 700;
  line-height: 242.1px;
  color: #ffffff;
  text-transform: uppercase;
}

.rp404-digit-left {
  left: 534px;
}

.rp404-digit-right {
  left: 783px;
}

.rp404-gloves {
  position: absolute;
  left: 582px;
  top: 124px;
  width: 250px;
  height: 375px;
  object-fit: cover;
}

.rp404-content {
  position: absolute;
  top: 457px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rp404-title {
  width: 100%;
  margin: 0 0 24px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 70px;
  text-transform: uppercase;
  color: #ffffff;
}

.rp404-description {
  width: 100%;
  max-width: 469px;
  margin: 0 0 25px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  color: #ffffff;
}

.rp404-actions {
  display: flex;
  gap: 30px;
  height: auto;
}

.rp404-btn {
  height: 40px;
  border-radius: 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 24.1px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.rp404-btn:hover {
  opacity: 0.92;
}

.rp404-btn-home {
  width: 141px;
  background: #ffffff;
  color: #000000;
}

.rp404-btn-catalog {
  width: 181px;
  background: #ee1d23;
  color: #ffffff;
}

@media (max-width: 900px) {
  .rp404-body {
    overflow-y: auto;
  }

  .rp404-viewport {
    width: 100%;
    min-height: 100vh;
    padding: 20px 14px;
  }

  .rp404-page {
    width: 100%;
    max-width: 760px;
    height: auto;
    transform: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rp404-code-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .rp404-digit,
  .rp404-digit-left,
  .rp404-digit-right,
  .rp404-gloves,
  .rp404-content,
  .rp404-title,
  .rp404-description,
  .rp404-actions {
    position: static;
    transform: none;
  }

  .rp404-digit {
    width: auto;
    height: auto;
    font-size: clamp(156px, 26vw, 220px);
    line-height: 0.8;
  }

  .rp404-gloves {
    width: clamp(200px, 31vw, 280px);
    height: auto;
  }

  .rp404-content {
    width: 100%;
  }

  .rp404-title {
    width: 100%;
    margin-bottom: 18px;
    font-size: clamp(52px, 7.8vw, 76px);
    line-height: 1.03;
    font-variation-settings: "wdth" 75;
  }

  .rp404-description {
    max-width: none;
    width: 100%;
    margin-bottom: 26px;
    font-size: clamp(18px, 3.1vw, 30px);
    line-height: 1.22;
  }

  .rp404-actions {
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .rp404-btn-home {
    width: min(100%, 200px);
  }

  .rp404-btn-catalog {
    width: min(100%, 272px);
  }
}

@media (max-width: 767px) {
  .rp404-page {
    width: 100%;
    max-width: 420px;
    height: auto;
    transform: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rp404-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .rp404-digit,
  .rp404-digit-left,
  .rp404-digit-right,
  .rp404-gloves,
  .rp404-content,
  .rp404-title,
  .rp404-description,
  .rp404-actions {
    position: static;
    transform: none;
  }

  .rp404-content {
    width: 100%;
  }

  .rp404-digit {
    width: auto;
    height: auto;
    font-size: clamp(122px, 23vw, 166px);
    line-height: 0.82;
  }

  .rp404-gloves {
    width: clamp(150px, 32vw, 205px);
    height: auto;
  }

  .rp404-title {
    width: 100%;
    margin-bottom: 14px;
    font-size: clamp(46px, 8.3vw, 62px);
    line-height: 1.02;
    font-variation-settings: "wdth" 75;
  }

  .rp404-description {
    width: 100%;
    margin-bottom: 22px;
    font-size: clamp(16px, 3.4vw, 24px);
    line-height: 1.25;
  }

  .rp404-actions {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
  }

  .rp404-btn {
    width: 100%;
    min-width: 0;
    height: 44px;
  }

  .rp404-btn-home {
    width: 100%;
  }

  .rp404-btn-catalog {
    width: 100%;
  }
}

/* --- REALPUNCHER Fight Club (realpuncher-fing-club.html) --- */
.rp-fc-page {
  --rp-fc-max: 72rem;
  color: #f2f2f2;
}

.rp-fc-hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 8vw, 5rem);
  overflow: hidden;
}

.rp-fc-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rp-fc-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.rp-fc-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.88) 55%, #0a0a0a 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .rp-fc-hero__video {
    display: none;
  }

  .rp-fc-hero__media {
    background:
      linear-gradient(165deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.88) 55%, #0a0a0a 100%),
      url("../assets/fot-RPFC/images/rp9/7.webp") center / cover no-repeat;
  }
}

.rp-fc-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--rp-fc-max), calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.rp-fc-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-family: "Oswald", var(--rp-font);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rp-red);
}

.rp-fc-hero__title {
  margin: 0 0 0.5rem;
  font-family: "Oswald", var(--rp-font);
  font-weight: 700;
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.rp-fc-hero__lead {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.rp-fc-hero__sub {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  overflow-wrap: anywhere;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .rp-fc-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0 0 clamp(2rem, 6vw, 3rem);
  }

  .rp-fc-hero__media[data-rp-bg-video] {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: min(72dvh, calc(100vw * 16 / 9));
  }

  .rp-fc-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin-top: clamp(1rem, 4vw, 1.5rem);
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .rp-fc-hero__eyebrow {
    letter-spacing: 0.14em;
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  }

  .rp-fc-hero__title {
    font-size: clamp(2rem, 11vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .rp-fc-hero__lead,
  .rp-fc-hero__sub {
    max-width: 100%;
  }

  .rp-fc-hero__sub {
    letter-spacing: 0.06em;
    font-size: clamp(0.75rem, 3.2vw, 0.875rem);
  }

  .rp-fc-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rp-fc-hero__actions .hero__btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.rp-fc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
}

.rp-fc-hero__actions--center {
  justify-content: center;
}

.rp-fc-section {
  padding: clamp(2.25rem, 6vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-fc-section--event {
  background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
}

.rp-fc-section--past {
  background: #0a0a0a;
}

.rp-fc-section--rules,
.rp-fc-section--weigh,
.rp-fc-section--weights,
.rp-fc-section--fight {
  background: #0d0d0d;
}

.rp-fc-section--reg {
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
}

.rp-fc-section--about {
  background: #0a0a0a;
}

.rp-fc-section--contacts {
  background: #0d0d0d;
  padding-bottom: clamp(3rem, 10vw, 5rem);
}

.rp-fc-section__inner {
  width: min(var(--rp-fc-max), calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.rp-fc-section__inner--narrow {
  max-width: 44rem;
}

.rp-fc-section__title {
  margin: 0 0 1rem;
  font-family: "Oswald", var(--rp-font);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.rp-fc-section__intro {
  margin: 0 0 1.75rem;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.rp-fc-section__intro a,
.rp-fc-section__fine a,
.rp-fc-card__value a {
  color: var(--rp-red-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-fc-section__intro a:hover,
.rp-fc-section__fine a:hover,
.rp-fc-card__value a:hover {
  color: #ffffff;
}

.rp-fc-section__note {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.rp-fc-section__fine {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.rp-fc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.rp-fc-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.rp-fc-card {
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.rp-fc-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-red);
}

.rp-fc-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.rp-fc-card__value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.rp-fc-card p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.rp-fc-card p:last-child {
  margin-bottom: 0;
}

.rp-fc-card__list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.rp-fc-past-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.rp-fc-past-card {
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 27, 35, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rp-fc-past-card__img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-fc-past-card__title {
  margin: 1.25rem 0 0.5rem;
  padding-inline: 1.4rem;
  font-family: "Oswald", var(--rp-font);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.rp-fc-past-card__meta {
  margin: 0 0 0.65rem;
  padding-inline: 1.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.rp-fc-past-card__text {
  margin: 0;
  padding: 0 1.4rem 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.rp-fc-alert {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(229, 27, 35, 0.45);
  background: rgba(229, 27, 35, 0.08);
}

.rp-fc-alert__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-red-hover);
}

.rp-fc-alert p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.rp-fc-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rp-fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 320px;
}

.rp-fc-table th,
.rp-fc-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-fc-table th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: #ffffff;
}

.rp-fc-table td {
  color: rgba(255, 255, 255, 0.82);
}

.rp-fc-table tr:last-child td {
  border-bottom: 0;
}

.rp-fc-list {
  margin: 0;
  padding-left: 1.15rem;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.rp-fc-list li {
  margin-bottom: 0.5rem;
}

.rp-fc-about p {
  margin: 0 0 1rem;
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.rp-fc-quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--rp-red);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
}

.rp-fc-quote p {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.rp-fc-quote footer {
  font-size: 0.8125rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
}

.rp-fc-link {
  color: var(--rp-red-hover);
  font-weight: 600;
  text-decoration: none;
}

.rp-fc-link:hover {
  text-decoration: underline;
}

.rp-fc-section--story {
  background: #0a0a0a;
}

.rp-fc-section--audience {
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.rp-fc-section--flow {
  background: #0d0d0d;
}

.rp-fc-lede {
  margin: 0 0 2rem;
  max-width: 52rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.rp-fc-lede strong {
  color: #ffffff;
  font-weight: 700;
}

.rp-fc-pillars {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
}

.rp-fc-pillar {
  padding: 1.35rem 1.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.rp-fc-pillar__title {
  margin: 0 0 0.65rem;
  font-family: "Oswald", var(--rp-font);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rp-red-hover);
}

.rp-fc-pillar__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.rp-fc-pillar__text strong {
  color: #ffffff;
}

.rp-fc-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  align-items: start;
}

.rp-footer__top--logo-only {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.rp-footer__top--logo-only .rp-footer__logo {
  grid-column: 2;
  justify-self: center;
  margin: 0;
}

.rp-footer__top--logo-only .rp-footer__actions {
  grid-column: 3;
  justify-self: end;
}

.rp-fc-split__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rp-fc-section__intro--flush {
  margin-bottom: 1rem;
}

.rp-fc-list--tight li {
  margin-bottom: 0.35rem;
}

.rp-fc-steps {
  margin: 0 0 2rem;
  padding-left: 1.35rem;
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.rp-fc-steps li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.rp-fc-steps strong {
  color: #ffffff;
}

.rp-fc-section--mosaic {
  background: #0a0a0a;
}

.rp-fc-section--clip {
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.rp-fc-mosaic {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 52rem) {
  .rp-fc-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rp-fc-mosaic__item--span2 {
    grid-column: span 2;
  }
}

.rp-fc-mosaic__item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.rp-fc-mosaic__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  vertical-align: middle;
}

.rp-fc-figure-video {
  margin: 0;
  max-width: 56rem;
}

.rp-fc-figure-video__media {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.rp-fc-figure-video__cap {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.rp-fc-code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.rp-fc-next-error {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.rp-fc-next-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.rp-fc-card--next-main {
  grid-column: 1 / -1;
}

@media (min-width: 48rem) {
  .rp-fc-card--next-main {
    grid-column: span 2;
  }
}

.rp-fc-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: 1rem;
}

.rp-fc-card__value--muted {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.9375rem !important;
}

.rp-fc-grid--team {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.rp-fc-card--person {
  padding: 1.1rem 1.25rem;
}

.rp-fc-person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.rp-fc-person__photo {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.rp-fc-person__body {
  min-width: 0;
}

.rp-fc-person__body .rp-fc-card__label {
  margin-bottom: 0.25rem;
}

.rp-fc-person__body .rp-fc-card__value {
  margin-bottom: 0.35rem;
}

.rp-fc-person__body p:last-child {
  margin-bottom: 0;
}

/* --- Промо: регистрация и скидки (BOXRAW-style: фон на весь блок + градиент под текст) --- */
html.rp-promo-popup-open {
  overflow: hidden;
}

.rp-promo-popup {
  position: fixed;
  inset: 0;
  z-index: 10065;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.rp-promo-popup[hidden] {
  display: none;
}

.rp-promo-popup__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.52);
  cursor: pointer;
}

.rp-promo-popup__panel {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  max-height: min(90dvh, 34rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  animation: rp-promo-popup-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rp-promo-popup__panel:focus {
  outline: none;
}

@keyframes rp-promo-popup-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-promo-popup__panel {
    animation: none;
  }
}

.rp-promo-popup__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rp-promo-popup__close:hover {
  background: rgba(0, 0, 0, 0.62);
  border-color: rgba(255, 255, 255, 0.5);
}

.rp-promo-popup__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.rp-promo-popup__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  min-height: min(28rem, 85dvh);
  width: 100%;
  isolation: isolate;
}

.rp-promo-popup__layout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.rp-promo-popup__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.rp-promo-popup__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.rp-promo-popup__copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
  background: transparent;
}

.rp-promo-popup__title {
  margin: 0 2rem 0.35rem 0;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--rp-white);
  text-transform: uppercase;
}

.rp-promo-popup__offer {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.3;
  color: var(--rp-white);
}

.rp-promo-popup__note {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.rp-promo-popup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: min(100%, 12.5rem);
  margin-top: 0.35rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rp-white);
  background: var(--rp-red);
  border: 1px solid var(--rp-red);
  border-radius: var(--rp-radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rp-promo-popup__cta:hover {
  background: var(--rp-red-hover);
  border-color: var(--rp-red-hover);
  color: var(--rp-white);
}

.rp-promo-popup__cta:focus {
  outline: none;
}

.rp-promo-popup__cta:focus-visible {
  outline: none;
}

@media (max-width: 900px) {
  .rp-promo-popup__panel {
    max-height: min(92dvh, 40rem);
  }

  .rp-promo-popup__layout {
    grid-template-columns: 1fr;
    min-height: min(26rem, 88dvh);
  }

  .rp-promo-popup__layout::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.45) 42%,
      rgba(0, 0, 0, 0.75) 100%
    );
  }

  .rp-promo-popup__copy {
    grid-column: 1;
    justify-content: flex-end;
    min-height: 100%;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .rp-promo-popup__close {
    top: 0.65rem;
    right: 0.65rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .rp-promo-popup__title {
    margin-right: 1.5rem;
  }

  .rp-promo-popup__cta {
    align-self: stretch;
    width: 100%;
  }
}

/* —— Персональная цена «Ваша цена» (rp-personal-price.js) —— */
.rp-personal-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  line-height: 1.25;
}

.rp-personal-price__label {
  flex: 0 0 100%;
  font-family: var(--rp-font);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-red);
}

.rp-personal-price__value {
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: inherit;
  color: var(--rp-black, #0a0a0a);
}

.rp-personal-price__base {
  font-family: var(--rp-font);
  font-size: 0.875em;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.45);
}

.rp-personal-price-host.rp-product-showcase__price,
.rp-personal-price-host.rp-arrivals-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rp-order-cart__price.rp-personal-price-host .rp-personal-price {
  flex-direction: column;
  align-items: flex-start;
}

.rp-cart-page__summary-value.rp-personal-price-host .rp-personal-price {
  justify-content: flex-end;
}

.rp-lk-banner {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--rp-radius, 4px);
  font-family: var(--rp-font);
}

.rp-lk-banner--warn {
  background: #fff8e6;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.rp-lk-banner--ok {
  background: #ecfdf5;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.rp-lk-banner__title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rp-lk-banner__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.rp-lk-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rp-white, #fff);
  background: var(--rp-red);
  border-radius: var(--rp-radius, 4px);
}

.rp-lk-banner__cta:hover {
  background: var(--rp-red-hover);
  color: var(--rp-white, #fff);
}

.rp-lk-page__data {
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: var(--rp-radius, 4px);
  padding: 1.5rem;
}

.rp-lk-page__data dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(10, 10, 10, 0.5);
  margin-top: 1rem;
}

.rp-lk-page__data dt:first-child {
  margin-top: 0;
}

.rp-lk-page__data dd {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}

/* --- Личный кабинет (personal*.html), как realpuncher.ru/personal/ --- */
.rp-lk-page__wrap {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0 clamp(2.5rem, 8vw, 4rem);
  background: #f5f5f5;
}

.rp-lk-page__layout {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

@media (min-width: 901px) {
  .rp-lk-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 17.5rem);
  }
}

.rp-lk-page__content {
  min-width: 0;
}

.rp-lk-page__card {
  padding: clamp(1.5rem, 3vw, 2rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.rp-lk-page__note {
  margin: 0 0 1.25rem;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.72);
}

.rp-lk-page__info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rp-lk-page__info-item {
  display: grid;
  gap: 0.2rem;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #0a0a0a;
}

@media (min-width: 560px) {
  .rp-lk-page__info-item {
    grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
  }
}

.rp-lk-page__info-name {
  font-weight: 600;
  color: rgba(10, 10, 10, 0.55);
}

.rp-lk-page__edit-btn {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 20rem;
}

.rp-lk-page__empty {
  margin: 0;
  padding: clamp(2rem, 6vw, 3.5rem) 1rem;
  text-align: center;
  font-family: var(--rp-font);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.rp-lk-page__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.rp-lk-page__nav-card,
.rp-lk-page__help-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.rp-lk-page__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.rp-lk-page__nav-item {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.rp-lk-page__nav-item:last-child {
  border-bottom: 0;
}

.rp-lk-page__nav-item a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rp-lk-page__nav-item a:hover {
  color: var(--rp-red);
}

.rp-lk-page__nav-item--active a {
  color: var(--rp-red);
}

.rp-lk-page__help-title {
  margin: 0 0 0.85rem;
  font-family: var(--rp-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0a0a0a;
}

.rp-lk-page__logout {
  margin: 0;
}

.rp-lk-page__logout-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.rp-lk-page__logout-btn:hover {
  border-color: rgba(10, 10, 10, 0.2);
  color: var(--rp-red);
}

.rp-lk-page__logout-btn span {
  font-size: 1.25rem;
  line-height: 1;
}

.rp-auth-modal--lk-edit {
  z-index: 10070;
}

.rp-auth-modal--lk-edit .rp-auth-modal__panel {
  max-width: 600px;
  max-height: min(92dvh, 720px);
}

.rp-auth-modal--lk-edit .rp-auth-modal__inner {
  padding: 2rem 1.75rem 1.75rem;
}

.rp-lk-edit__form .rp-reg-page__form-block-title {
  margin-top: 0;
}

.rp-lk-edit__block + .rp-lk-edit__block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.rp-lk-edit__radio {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.rp-lk-edit__radio .rp-reg-page__form-block-title {
  margin-bottom: 0.75rem;
}

.rp-lk-edit__radio-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #0a0a0a;
  cursor: pointer;
}

.rp-lk-edit__radio-item input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.rp-lk-edit__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.rp-lk-edit__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
  font-family: var(--rp-font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: var(--rp-radius, 4px);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rp-lk-edit__cancel:hover {
  border-color: rgba(10, 10, 10, 0.32);
  background: #fafafa;
}

.rp-auth-modal--lk-edit .rp-city-ac__list {
  z-index: 5;
}

.rp-lk-page__prose {
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.88);
}

.rp-lk-page__prose p {
  margin: 0 0 1rem;
}

.rp-lk-page__prose p:last-child {
  margin-bottom: 0;
}

.rp-lk-page__prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.rp-lk-page__prose li {
  margin: 0.35rem 0;
}

.rp-lk-page__prose a {
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rp-lk-page__prose a:hover {
  color: var(--rp-red);
}

.rp-lk-page__paysystems {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-top: 1.5rem;
}

.rp-order-page__help-list a[aria-current="page"] {
  color: var(--rp-red);
  pointer-events: none;
}

.rp-personal-price-demo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  font-family: var(--rp-font);
  font-size: 0.75rem;
  text-align: center;
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
}

.rp-mini-cart__product + .rp-mini-cart__product {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-mini-cart__empty {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.45);
}

.rp-personal-price-demo a {
  color: #93c5fd;
  margin: 0 0.25rem;
}

@media (min-width: 901px) {
  .body-light #rp-mega-menu.rp-header__mega-menu {
    background: #f5f5f5;
    border-bottom: 1px solid rgba(10, 10, 10, 0.12);
    box-shadow: 0 24px 48px rgba(10, 10, 10, 0.12);
  }

  .body-light #rp-mega-menu .rp-mega__heading {
    color: rgba(10, 10, 10, 0.45);
  }

  .body-light #rp-mega-menu .rp-mega__link {
    color: #0a0a0a;
  }

  .body-light #rp-mega-menu .rp-mega__link--muted {
    color: rgba(10, 10, 10, 0.72);
  }

  .body-light #rp-mega-menu .rp-mega__link--muted:hover {
    color: #0a0a0a;
  }
}

body:has(.contacts-view__masthead) .rp-catalog-intro--bread {
  display: none;
}
body.compensate-for-scrollbar {
  margin-right: 0;
}
/* ——— Partner / franchise / cooperation / open-gym pages ——— */
.rp-partner-hero.hero {
  min-height: min(72svh, 720px);
}

.rp-partner-hero .hero__slides {
  min-height: min(72svh, 720px);
}

.rp-partner-hero .hero-slide__photo-wrap {
  padding-right: 0;
  justify-content: center;
}

.rp-partner-hero__copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  box-sizing: border-box;
  pointer-events: none;
  background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0) 35%,
          rgba(0, 0, 0, 0.55) 78%,
          rgba(0, 0, 0, 0.72) 100%
  );
}

.rp-partner-hero__label {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: clamp(0.7rem, 1.4vw, 0.8125rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rp-partner-hero__title {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 900;
  font-size: clamp(2rem, 6.5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.rp-partner-hero__line {
  display: block;
}

.rp-partner-page {
  background: #ffffff;
}

.rp-partner-info {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.rp-partner-info__inner,
.rp-partner-lead__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
}

.rp-partner-info__head {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.rp-partner-info__title {
  margin: 0 0 1rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #0a0a0a;
}

.rp-partner-info__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-partner-info__pills li {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #f0f0f0;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: #0a0a0a;
}

.rp-partner-info__columns {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
  .rp-partner-info__columns {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

.rp-partner-info__col p {
  margin: 0 0 1rem;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.88);
}

.rp-partner-info__col p:last-child {
  margin-bottom: 0;
}

.rp-partner-info__contacts {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rp-partner-info__contacts-title {
  margin: 0 0 0.65rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.rp-partner-info__person {
  margin: 0 0 0.35rem !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  color: #0a0a0a !important;
}

.rp-partner-info__mail {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--rp-font);
  font-weight: 500;
  font-size: 0.9375rem;
  color: #ff8d3b;
  text-decoration: none;
  word-break: break-word;
}

.rp-partner-info__mail:hover {
  color: #ff6a00;
}

.rp-partner-info__phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.rp-partner-info__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.rp-partner-info__icon-link:hover {
  background: var(--rp-red);
  transform: translateY(-1px);
}

.rp-partner-info__tel {
  font-family: var(--rp-font);
  font-weight: 700;
  font-size: 1.0625rem;
  color: #0a0a0a;
  text-decoration: none;
}

.rp-partner-info__tel:hover {
  color: var(--rp-red);
}

.rp-partner-info__site {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rp-partner-info__site-label {
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.rp-partner-info__site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0a0a0a;
  text-decoration: none;
  word-break: break-all;
}

.rp-partner-info__site-link:hover {
  color: var(--rp-red);
}

.rp-partner-lead {
  padding: 0 0 clamp(3rem, 7vw, 5rem);
}

.rp-partner-lead__title {
  margin: 0 0 1.25rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.2;
  color: #0a0a0a;
}

.rp-partner-lead .rp-space__columns {
  align-items: start;
}

.rp-partner-lead .rp-space__col--side {
  align-self: center;
}

/*
 * Карточка контакта с абсолютным фото (~261px) не влезает в половину
 * сетки на планшете: до 1100px форма и карточка в одну колонку.
 */
@media (max-width: 1100px) {
  .rp-partner-lead .rp-space__columns {
    grid-template-columns: 1fr;
  }

  .rp-partner-lead .rp-space__col--side {
    align-self: stretch;
    width: min(100%, 36rem);
    margin-inline: auto;
  }
}

.rp-partner-page .rp-partner-lead__title,
.rp-partner-page .rp-partner-info__title {
  scroll-margin-top: 3rem;
}

/* Фотогалерея на партнёрских страницах (rp-pros без фильтров и футера карточки) */
.rp-pros--gallery {
  margin-block: clamp(0.5rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
}

.rp-pros--gallery .rp-pros-card__media {
  min-height: clamp(320px, 48vw, 560px);
}

.rp-pros--gallery .rp-pros-card__reel img {
  cursor: zoom-in;
}

.rp-pros--gallery .rp-pros-card__shell {
  cursor: zoom-in;
}

/* Небольшой контент-блок под фотогалереей */
.rp-partner-note {
  padding: 0 0 clamp(2rem, 5vw, 3.25rem);
}

.rp-partner-note__inner {
  width: min(42rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
  text-align: center;
}

.rp-partner-note__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--rp-font);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.rp-partner-note__title {
  margin: 0 0 0.85rem;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0a0a0a;
}

.rp-partner-note__text {
  margin: 0;
  font-family: var(--rp-font);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.82);
}

/* Видеогалерея под формой на партнёрских страницах */
.rp-pros--videos {
  margin-block: 0 clamp(2.5rem, 6vw, 4.5rem);
}

.rp-pros--videos .rp-pros-card__shell {
  cursor: pointer;
}

.rp-pros--videos .rp-pros-card__media--video {
  aspect-ratio: 360 / 540;
  min-height: clamp(320px, 48vw, 560px);
}

.rp-partner-video-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0f0f0f;
  cursor: pointer;
  color: inherit;
}

.rp-partner-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.rp-partner-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.rp-partner-video-hit:hover .rp-partner-video-play,
.rp-partner-video-hit:focus-visible .rp-partner-video-play {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

.rp-partner-video-hit:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 2px;
}

.rp-lightbox__video {
  display: block;
  max-width: min(96vw, 1100px);
  max-height: min(82svh, 82vh);
  width: auto;
  height: auto;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.rp-lightbox--video .rp-lightbox__panel {
  max-width: min(96vw, 1100px);
}

@media (prefers-reduced-motion: reduce) {
  .rp-partner-video-play {
    transition: none;
  }
}

html.rp-lightbox-open {
  overflow: hidden;
}

.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.rp-lightbox[hidden] {
  display: none !important;
}

.rp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.rp-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(96vw, 1200px);
  max-height: min(92svh, 92vh);
  outline: none;
}

.rp-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(88svh, 88vh);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  background: #0a0a0a;
}

.rp-lightbox__close {
  position: absolute;
  top: clamp(-0.25rem, 1vw, 0.5rem);
  right: clamp(-0.25rem, 1vw, 0.5rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.rp-lightbox__close:hover {
  background: #ffffff;
}

.rp-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.rp-lightbox__nav:hover {
  background: #ffffff;
}

.rp-lightbox__nav--prev {
  left: clamp(-0.35rem, 1.5vw, 0.75rem);
}

.rp-lightbox__nav--next {
  right: clamp(-0.35rem, 1.5vw, 0.75rem);
}

@media (max-width: 640px) {
  .rp-lightbox__nav--prev {
    left: 0.25rem;
  }

  .rp-lightbox__nav--next {
    right: 0.25rem;
  }

  .rp-lightbox__close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-lightbox__close,
  .rp-lightbox__nav {
    transition: none;
  }
}

.rp-lead-form__grid {
  display: grid;
  gap: 0.85rem 1rem;
}

@media (min-width: 640px) {
  .rp-lead-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rp-lead-form__field--full {
    grid-column: 1 / -1;
  }
}

.rp-lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.rp-lead-form__label {
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
}

.rp-lead-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  font-family: var(--rp-font);
  font-size: 0.9375rem;
  color: #0a0a0a;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rp-lead-form__input:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.rp-lead-form__input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.45);
  background: #ffffff;
}

.rp-lead-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.rp-lead-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0 0;
  font-family: var(--rp-font);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(10, 10, 10, 0.72);
  cursor: pointer;
}

.rp-lead-form__check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--rp-red);
}

.rp-lead-form__check a {
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rp-lead-form__check a:hover {
  color: var(--rp-red);
}

.rp-lead-form__submit {
  margin-top: 1.15rem;
  width: 100%;
  max-width: 22rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: 0.9375rem;
  color: #ffffff;
  background: var(--rp-red);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

.rp-lead-form__submit:hover {
  background: var(--rp-red-hover, #c41e1e);
}

.rp-lead-form__submit:active {
  transform: scale(0.99);
}

@media (max-width: 639px) {
  .rp-lead-form__submit {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-partner-hero .hero-slide,
  .rp-partner-info__icon-link,
  .rp-lead-form__submit {
    transition: none;
  }
}

/* Блок «Остались вопросы?» — по мотиву vopros-section, в стиле REALPUNCHER */
.rp-vopros {
  background: #ffffff;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.rp-vopros__inner {
  width: min(90rem, calc(100% - 32px));
  margin-inline: auto;
  box-sizing: border-box;
  text-align: center;
}

.rp-vopros__question {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.5vw, 1.75rem);
  font-family: var(--rp-font);
  font-weight: 800;
  font-size: clamp(1.75rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #0a0a0a;
}

.rp-vopros__ask {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em 0.55em;
  font-size: clamp(1.25rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0a0a0a;
}

.rp-vopros__phone-icon {
  flex-shrink: 0;
  color: var(--rp-red);
  font-size: 0.85em;
  line-height: 1;
}

.rp-vopros__tel-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.rp-vopros__tel {
  color: var(--rp-red);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.rp-vopros__name.rp-space__card-label {
  margin: 0;
  color: rgba(10, 10, 10, 0.45);
  text-align: right;
}

.rp-vopros__tel:hover {
  color: var(--rp-red-hover);
}

.rp-vopros__tel:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .rp-vopros__tel {
    transition: none;
  }
}
