/* Создан: 2026-10-25 12:51:54 МСК. Изменён: 2026-10-25 12:58:50 МСК. */
/* Общие дополнения товаров: исходные H1 и фон hero остаются под управлением темы. */

#first.rl-has-product-experience {
  height: auto !important;
  min-height: 560px !important;
  min-height: clamp(560px, calc(100svh - 110px), 940px) !important;
  max-height: none !important;
}
#first.rl-has-product-experience > .container { height: auto !important; min-width: 0; }
#first .rl-product-hero { position: relative; z-index: 2; width: 100%; max-width: 860px; margin-top: 20px; color: #fff; font-family: "Golos Text", Arial, sans-serif; text-align: left; box-sizing: border-box; }
#first .rl-product-hero__lead { max-width: 760px; margin: 0; color: #fff; font-size: 18px; line-height: 1.5; text-align: left; }
#first .rl-product-hero__price { display: flex; margin: 16px 0 0; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: #fff; line-height: 1.25; text-align: left; }
#first .rl-product-hero__price strong { color: inherit; font-size: 28px; font-weight: 700; }
#first .rl-product-hero__price span { color: inherit; font-size: 15px; }
#first .rl-product-hero__note { max-width: 760px; margin: 6px 0 0; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.5; text-align: left; }
#first .rl-product-hero__actions { position: static; display: flex; margin-top: 20px; flex-wrap: wrap; align-items: stretch; gap: 12px; }
#first .rl-product-hero__actions.card__button-wrapper,
#offer .rl-product-experience__footer.card__button-wrapper,
.rl-product-experience__footer.card__button-wrapper { position: static !important; inset: auto !important; transform: none !important; float: none !important; display: flex; width: auto !important; max-width: none !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important; box-sizing: border-box; }
#first .rl-product-hero__actions.card__button-wrapper { margin: 20px 0 0 !important; }
#offer .rl-product-experience__footer.card__button-wrapper,
.rl-product-experience__footer.card__button-wrapper { margin: 22px 0 0 !important; }

/* Сброс геометрии штатных card__modal сохраняет их существующее поведение. */
#first .rl-product-action,
#offer .rl-product-action,
.rl-product-experience .rl-product-action {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-flex;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e11414;
  border-radius: 8px;
  background: #e11414 !important;
  color: #fff !important;
  font: 600 18px/1.3 "Oswald", "Arial Narrow", Arial, sans-serif;
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  box-sizing: border-box;
}
#first .rl-product-action:hover,
#offer .rl-product-action:hover,
.rl-product-experience .rl-product-action:hover { border-color: #c90f0f; background: #c90f0f !important; color: #fff !important; }
#offer .rl-product-action--secondary,
.rl-product-experience .rl-product-action--secondary { border-color: #d7d9de; background: #fff !important; color: #454545 !important; }
#offer .rl-product-action--secondary:hover,
.rl-product-experience .rl-product-action--secondary:hover { border-color: #454545; background: #f4f5f7 !important; color: #454545 !important; }
#first .rl-product-action--secondary { border-color: rgba(255,255,255,.5); background: rgba(8,9,12,.3) !important; color: #fff !important; }
#first .rl-product-action--secondary:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.13) !important; }

/* Отдельная секция выбора не переоформляет исходный каталог. */
section.rl-product-experience { margin: 24px 0 32px; padding: 24px; border: 1px solid #e3e4e8; border-radius: 12px; background: #fff; color: #454545; font-family: "Golos Text", Arial, sans-serif; text-align: left; box-sizing: border-box; }
#offer .rl-product-experience .rl-product-experience__intro > h2,
.rl-product-experience .rl-product-experience__intro > h2 { margin: 0 0 12px; color: #454545; font: 600 clamp(25px,2.5vw,32px)/1.25 "Oswald", "Arial Narrow", Arial, sans-serif !important; font-style: normal !important; text-align: left; text-transform: none; }
.rl-product-experience__intro > p { max-width: 900px; margin: 0 0 22px; color: #454545; font-size: 16px; line-height: 1.6; text-align: left; }
.rl-product-experience__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 18px; }
article.rl-product-choice-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid #e3e4e8; border-radius: 10px; background: #fff; color: #454545; overflow: hidden; }
.rl-product-choice-card__image { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 4/3; border-bottom: 1px solid #eceef1; background: #f7f7f8; }
.rl-product-choice-card__image > img { position: absolute; inset: 0; display: block; width: 100%; max-width: 100%; height: 100%; margin: 0; padding: 10px; object-fit: contain; box-sizing: border-box; }
.rl-product-choice-card__body { display: flex; min-width: 0; padding: 18px; flex: 1 1 auto; flex-direction: column; align-items: flex-start; }
#offer .rl-product-experience .rl-product-choice-card h3,
.rl-product-experience .rl-product-choice-card h3 { margin: 0 0 12px; color: #454545; font: 600 24px/1.25 "Oswald", "Arial Narrow", Arial, sans-serif !important; font-style: normal !important; text-align: left; text-transform: none; overflow-wrap: anywhere; }
#offer .rl-product-experience .rl-product-choice-card h3 > a,
.rl-product-experience .rl-product-choice-card h3 > a { display: inline-flex; min-height: 44px; align-items: center; color: #454545; font: inherit !important; text-decoration: none; }
.rl-product-choice-card h3 > a:hover { color: #c90000; text-decoration: underline; text-underline-offset: 3px; }
.rl-product-choice-card__facts { margin: 0 0 14px; padding: 0; color: #454545; font-size: 14px; line-height: 1.55; text-align: left; list-style: none; overflow-wrap: anywhere; }
.rl-product-choice-card__facts > li + li { margin-top: 6px; }
.rl-product-choice-card__price { margin: auto 0 4px; color: #454545; font-size: 25px; font-weight: 700; line-height: 1.25; text-align: left; overflow-wrap: anywhere; }
.rl-product-choice-card__period { display: block; margin: 0 0 14px; color: #454545; font-size: 13px; line-height: 1.45; text-align: left; }
.rl-product-choice-card__body > .rl-product-action { margin-top: 14px !important; }
#offer .rl-product-experience article.rl-product-choice-card > h3,
.rl-product-experience article.rl-product-choice-card > h3 { margin: 18px 18px 12px; }
.rl-product-experience article.rl-product-choice-card > .rl-product-choice-card__facts,
.rl-product-experience article.rl-product-choice-card > .rl-product-choice-card__price,
.rl-product-experience article.rl-product-choice-card > .rl-product-choice-card__period { margin-right: 18px; margin-left: 18px; }
.rl-product-experience article.rl-product-choice-card > .rl-product-action { margin: 14px 18px 18px !important; align-self: flex-start; }
.rl-product-experience--single .rl-product-experience__grid { grid-template-columns: minmax(0,1fr); }
.rl-product-experience--single .rl-product-choice-card { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; }
.rl-product-experience--single .rl-product-choice-card__image { border-right: 1px solid #eceef1; border-bottom: 0; }
.rl-product-experience--single .rl-product-choice-card__body { padding: 24px; }
.rl-product-experience--single .rl-product-choice-card__price { margin-top: 8px; }
.rl-product-experience__footer { display: flex; margin-top: 22px; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rl-product-experience__footer > p { min-width: 0; margin: 0; flex: 1 1 300px; color: #454545; font-size: 14px; line-height: 1.6; text-align: left; }

/* Нативные этапы и раскрытие сохраняют смысл и работу без JavaScript. */
.rl-product-experience__steps { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eceef1; }
.rl-product-experience__steps ol,
ol.rl-product-experience__steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 34px; margin: 0; padding-left: 24px; list-style: decimal; }
ol.rl-product-experience__steps { margin-top: 28px; padding-top: 22px; }
.rl-product-experience__steps li { min-width: 0; margin: 0; padding-left: 4px; color: #454545; font-size: 14px; line-height: 1.5; }
.rl-product-experience__steps li::marker { color: #c90000; font-weight: 700; }
.rl-product-experience__steps li > strong { display: block; margin-bottom: 6px; color: #454545; font-weight: 600; }
.rl-product-experience__steps li > span { display: block; color: #454545; }
details.rl-product-details { margin: 18px 0; padding-top: 8px; border-top: 1px solid #ddd; color: #454545; font: 400 15px/1.6 "Golos Text", Arial, sans-serif; }
.rl-product-details > summary { min-height: 44px; padding: 10px 0; color: #454545; font-weight: 600; cursor: pointer; box-sizing: border-box; }
.rl-product-details[open] > summary { margin-bottom: 8px; }
.rl-product-details p { color: #454545; text-align: left; }
.rl-product-experience a:focus-visible,
.rl-product-details > summary:focus-visible { outline: 3px solid #e11414; outline-offset: 3px; }
#first .rl-product-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* Native-якоря: запас под рабочей шапкой и панелью WordPress. */
#rl-product-choice,
[id^="rl-product-card-"],
[id^="rl-product-section-"],
.rl-product-scroll-target { scroll-margin-top: 160px; }
body.admin-bar #rl-product-choice,
body.admin-bar [id^="rl-product-card-"],
body.admin-bar [id^="rl-product-section-"],
body.admin-bar .rl-product-scroll-target { scroll-margin-top: 192px; }
[id^="rl-product-card-"]:target,
[id^="rl-product-section-"]:target { outline: 2px solid #e11414; outline-offset: 4px; }

@media (min-width: 992px) {
  @supports (height: 100dvh) {
    #first.rl-has-product-experience { min-height: clamp(560px, calc(100dvh - 110px), 940px) !important; }
  }
}
@media (max-width: 991.98px) {
  #first.rl-has-product-experience { min-height: 430px !important; }
  #rl-product-choice, [id^="rl-product-card-"], [id^="rl-product-section-"], .rl-product-scroll-target { scroll-margin-top: 90px; }
  body.admin-bar #rl-product-choice,
  body.admin-bar [id^="rl-product-card-"],
  body.admin-bar [id^="rl-product-section-"],
  body.admin-bar .rl-product-scroll-target { scroll-margin-top: 122px; }
}
@media (max-width: 782px) {
  body.admin-bar #rl-product-choice,
  body.admin-bar [id^="rl-product-card-"],
  body.admin-bar [id^="rl-product-section-"],
  body.admin-bar .rl-product-scroll-target { scroll-margin-top: 136px; }
}
@media (max-width: 767px) {
  section.rl-product-experience { margin: 20px 0 26px; padding: 18px; }
  .rl-product-experience__grid,
  .rl-product-experience--single .rl-product-choice-card { grid-template-columns: minmax(0,1fr); }
  .rl-product-experience--single .rl-product-choice-card__image { border-right: 0; border-bottom: 1px solid #eceef1; }
  .rl-product-experience--single .rl-product-choice-card__body { padding: 18px; }
  .rl-product-experience__steps ol,
  ol.rl-product-experience__steps { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .rl-product-experience__footer { align-items: stretch; }
  .rl-product-experience__footer > p { flex-basis: 100%; }
  #offer .rl-product-experience__footer > .rl-product-action,
  .rl-product-experience__footer > .rl-product-action { width: 100% !important; }
  #first .rl-product-hero__actions.card__button-wrapper,
  #offer .rl-product-experience__footer.card__button-wrapper,
  .rl-product-experience__footer.card__button-wrapper { width: 100% !important; }
}
@media (max-width: 560px) {
  #first .rl-product-hero { margin-top: 16px; }
  #first .rl-product-hero__lead { font-size: 15px; line-height: 1.45; }
  #first .rl-product-hero__price { margin-top: 12px; }
  #first .rl-product-hero__price strong { font-size: 25px; }
  #first .rl-product-hero__price span { font-size: 13px; }
  #first .rl-product-hero__note { font-size: 12px; }
  #first .rl-product-hero__actions { margin-top: 16px; flex-direction: column; gap: 8px; }
  #first .rl-product-action { width: 100% !important; padding: 11px 16px; font-size: 17px; }
}
