/* Контакты в подвале */
html body .rc-footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .rc-footer__contact {
  display: block;
  margin: 0;
  color: var(--v4-on-dark-muted, #a9b6c3);
  font-family: var(--rc-font, sans-serif);
  font-size: var(--v4-fs-small, 0.875rem);
  line-height: 1.5;
}

html body .rc-footer__contact a,
html body .rc-footer__social-text a,
html body .rc-footer__requisites a {
  color: var(--v4-on-dark, #d5dde5);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

html body .rc-footer__contact a:hover,
html body .rc-footer__social-text a:hover,
html body .rc-footer__requisites a:hover {
  color: #fff;
  text-decoration: underline;
}

html body .rc-footer__contact a:focus-visible,
html body .rc-footer__social-text a:focus-visible,
html body .rc-footer__requisites a:focus-visible {
  outline: 2px solid var(--v4-on-dark, #d5dde5);
  outline-offset: 3px;
}

/* Текстовый список соцсетей под иконками */
html body .rc-footer__social-text {
  display: grid;
  gap: 0.15rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--v4-on-dark-muted, #a9b6c3);
  font-family: var(--rc-font, sans-serif);
  font-size: var(--v4-fs-micro, 0.6875rem);
  line-height: 1.55;
}

html body .rc-footer__social-text a {
  color: var(--v4-on-dark-muted, #a9b6c3);
}

/* Реквизиты внизу подвала */
html body .rc-footer__requisites {
  width: 100%;
  margin: 0.75rem 0 0;
  color: var(--v4-on-dark-muted, #a9b6c3);
  font-family: var(--rc-font, sans-serif);
  font-size: 0.75rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

html body .rc-footer__requisites p {
  margin: 0;
}

html body .rc-footer__requisites p + p {
  margin-top: 0.15rem;
}

html body .rc-footer__requisites a {
  color: var(--v4-on-dark, #d5dde5);
}

/* Основные контакты на странице «Контакты» */
html body .rc-contacts-lead {
  display: grid;
  gap: 0.4rem 1.5rem;
  margin: 0 0 2rem;
  color: var(--v4-ink, #101820);
  font-family: var(--rc-font, sans-serif);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
}

html body .rc-contacts-lead p {
  margin: 0;
}

html body .rc-contacts-lead a {
  color: var(--v4-accent, #b83a1b);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

html body .rc-contacts-lead a:hover {
  text-decoration-thickness: 2px;
}

/* Справочный блок реквизитов на светлых страницах */
html body .rc-legal-block {
  margin: 2rem 0;
  color: var(--v4-ink, #101820);
  font-family: var(--rc-font, sans-serif);
  font-size: var(--v4-fs-small, 0.875rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

html body .rc-legal-block h2,
html body .rc-legal-block h3 {
  margin: 0 0 0.85rem;
  color: var(--v4-ink, #101820);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

html body .rc-legal-block p {
  margin: 0.35rem 0;
}

html body .rc-legal-block strong,
html body .rc-legal-block dt {
  font-weight: 600;
}

html body .rc-legal-block dl {
  display: grid;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
  gap: 0.35rem 1rem;
  margin: 0;
}

html body .rc-legal-block dt,
html body .rc-legal-block dd {
  margin: 0;
}

html body .rc-legal-block a {
  color: var(--v4-accent, #b83a1b);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

/* Длинные юридические документы */
html body .rc-legal-page {
  width: min(100% - 2rem, 72ch);
  margin-inline: auto;
  color: var(--v4-ink, #101820);
  font-family: var(--rc-font, sans-serif);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

html body .rc-legal-page > * {
  max-width: 100%;
}

html body .rc-legal-page h2 {
  margin: 2.25em 0 0.75em;
  color: var(--v4-ink, #101820);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
}

html body .rc-legal-page h3 {
  margin: 1.75em 0 0.6em;
  color: var(--v4-ink, #101820);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
}

html body .rc-legal-page p {
  margin: 0 0 1em;
}

html body .rc-legal-page ul,
html body .rc-legal-page ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

html body .rc-legal-page li {
  margin: 0.35em 0;
  padding-left: 0.15em;
}

html body .rc-legal-page a {
  color: var(--v4-accent, #b83a1b);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

html body .rc-legal-page .rc-legal-block {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(16 24 32 / 14%);
  font-size: var(--v4-fs-small, 0.875rem);
}

/* Краткие контакты и подпись об оферте при оформлении заказа */
html body .rc-checkout-contacts {
  margin: 1rem 0;
  color: var(--v4-muted, #66717c);
  font-family: var(--rc-font, sans-serif);
  font-size: var(--v4-fs-small, 0.875rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

html body .rc-checkout-contacts p {
  margin: 0.25rem 0;
}

html body .rc-checkout-contacts a,
html body .rc-checkout-legal a {
  color: var(--v4-accent, #b83a1b);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html body .rc-checkout-legal {
  margin: 0.75rem 0;
  color: var(--v4-muted, #66717c);
  font-family: var(--rc-font, sans-serif);
  font-size: var(--v4-fs-micro, 0.6875rem);
  line-height: 1.6;
}

/* Мобильные уточнения */
@media (max-width: 600px) {
  html body .rc-footer__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.35rem;
  }

  html body .rc-legal-block dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  html body .rc-legal-block dd + dt {
    margin-top: 0.55rem;
  }
}

/* Переопределение v3: на десктопе список контактов в подвале компактный */
html body .rc-footer__contact a {
	display: inline;
	min-height: 0;
}

@media (max-width: 600px) {
	html body .rc-footer__contact a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding-block: 0.35rem;
	}

	html body .rc-footer__social-text a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}


html body .rc-footer__requisites-wrap {
	width: 100%;
	margin-top: 0.75rem;
}

html body .rc-footer__requisites-wrap .rc-footer__requisites {
	margin-top: 0;
	text-align: left;
}
