/* Создан: 2026-10-25 00:33:59 МСК. Изменён: 2026-10-25 00:46:35 МСК. */
/* Утверждённые дополнения каталога: controls hero, выбор ТВ, факты подиума и подписи фотографий. */
/* Hero TV/TV100/подиума: исходные фон и H1 сохранены; содержимое может увеличить высоту. */
#offer #first.rl-has-tv-controls {
  height: auto !important;
  min-height: clamp(560px, calc(100svh - 110px), 940px) !important;
  max-height: none !important;
}

#offer #first.rl-has-tv-controls > .container {
  height: auto !important;
  min-width: 0;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin-top: 20px;
  color: #fff;
  font-family: "Golos Text", Arial, sans-serif;
  text-align: left;
  box-sizing: border-box;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__subtitle {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__price {
  display: flex;
  max-width: 100%;
  margin: 16px 0 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: #fff;
  line-height: 1.25;
  text-align: left;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__price strong {
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__price > span {
  font-size: 15px;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__note {
  max-width: 650px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes {
  display: flex;
  max-width: 100%;
  margin: 18px 0 0;
  flex-wrap: wrap;
  gap: 8px;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes > a {
  display: inline-flex;
  min-width: 86px;
  min-height: 44px;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.3);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes-title {
  margin: 16px 0 0;
  color: #fff;
  font: 400 13px/1.4 "Golos Text", Arial, sans-serif;
}
#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes--all {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin-top: 8px;
}
#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes--all > a {
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
}
@media (min-width: 561px) and (max-width: 991.98px) {
  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes--all {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes--all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__actions {
  display: flex !important;
  width: auto;
  max-width: 100%;
  margin: 20px 0 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__action {
  display: inline-flex !important;
  min-height: 52px;
  margin: 0;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #e11414;
  border-radius: 8px;
  background: #e11414;
  color: #fff !important;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__action--secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(8, 9, 12, 0.3);
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__action:hover {
  border-color: #c90f0f;
  background: #c90f0f;
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes > a:hover,
#offer #first.rl-has-tv-controls .rl-tv-hero-controls__action--secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.13);
}

#offer #first.rl-has-tv-controls .rl-tv-hero-controls a:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 4px;
}

@media (max-width: 991.98px) {
  #offer #first.rl-has-tv-controls {
    height: auto !important;
    min-height: 430px !important;
    max-height: none !important;
  }
}

@media (max-width: 560px) {
  #offer #first.rl-has-tv-controls .rl-tv-hero-controls {
    margin-top: 16px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__subtitle {
    font-size: 15px;
    line-height: 1.45;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__price {
    margin-top: 12px;
    gap: 4px 8px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__price strong {
    font-size: 25px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__price > span {
    font-size: 13px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__note {
    font-size: 12px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes {
    margin-top: 16px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__sizes > a {
    min-width: 0;
    padding: 9px 16px;
    flex: 1 1 0;
    font-size: 15px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__actions {
    width: 100%;
    margin-top: 16px;
    flex-direction: column;
    gap: 8px;
  }

  #offer #first.rl-has-tv-controls .rl-tv-hero-controls__action {
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    font-size: 17px;
  }
}

/* Быстрый выбор с переходами к существующим товарным карточкам. */
#offer .rl-tv-quick-choice {
  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-tv-quick-choice .rl-tv-quick-choice__title {
  margin: 0 0 20px;
  color: #454545;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(25px, 2.5vw, 32px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e3e4e8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #eceef1;
  background: #f7f7f8;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__photo 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;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__body {
  display: flex;
  min-width: 0;
  padding: 18px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__card-title {
  margin: 0 0 10px;
  color: #454545;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 24px !important;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25 !important;
  text-align: left;
  text-transform: none;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__description {
  margin: 0 0 16px;
  color: #454545;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__price {
  display: flex;
  margin: auto 0 14px;
  flex-direction: column;
  gap: 6px;
  color: #454545;
  text-align: left;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__price strong {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__price span {
  font-size: 13px;
  line-height: 1.45;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__group-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: #c90000;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__terms {
  margin: 18px 0 0;
  color: #454545;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__actions {
  display: flex;
  margin: 18px 0 0;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__action {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid #e11414;
  border-radius: 8px;
  background: #e11414;
  color: #fff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__action--secondary {
  border-color: #d7d9de;
  background: #fff;
  color: #454545;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__action:hover {
  border-color: #c90f0f;
  background: #c90f0f;
  color: #fff;
}

#offer .rl-tv-quick-choice .rl-tv-quick-choice__action--secondary:hover {
  border-color: #454545;
  background: #f4f5f7;
  color: #454545;
}

#offer .rl-tv-quick-choice a:focus-visible {
  outline: 3px solid #e11414;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  #offer .rl-tv-quick-choice {
    margin: 20px 0 26px;
    padding: 18px;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__card {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    align-items: start;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__photo {
    aspect-ratio: 1;
    border-bottom: 0;
    border-right: 1px solid #eceef1;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__photo img { padding: 4px; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__body { padding: 12px; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__card-title { font-size: 21px !important; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__description { margin-bottom: 10px; font-size: 14px; line-height: 1.4; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__price { margin-bottom: 6px; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__price strong { font-size: 22px; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__price span { font-size: 12px; }
  #offer .rl-tv-quick-choice .rl-tv-quick-choice__group-link { font-size: 14px; }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__title {
    font-size: 26px;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__actions {
    flex-direction: column;
    gap: 10px;
  }

  #offer .rl-tv-quick-choice .rl-tv-quick-choice__action {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 17px;
  }
}

/* Высоты подиума и фотографии рядом с существующим текстом. */
#offer .rl-podium-height-addition {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #ecedf1;
  border-left: 3px solid #e11414;
  border-radius: 8px;
  color: #454545;
  background: #f7f7f8;
  font-family: "Golos Text", Arial, sans-serif;
  scroll-margin-top: var(--rl-approved-anchor-offset, 160px);
}
#offer .rl-podium-height-addition h3 {
  margin: 0 0 14px;
  color: #454545;
  font: 600 24px/1.25 "Oswald", sans-serif !important;
  text-transform: uppercase;
}
#offer .rl-podium-height-addition ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
#offer .rl-podium-height-addition li { margin: 0; padding: 8px 12px; border: 1px solid #dedfe3; border-radius: 5px; background: white; font-size: 15px; white-space: nowrap; }
#offer .rl-podium-height-addition li::before { content: none; }
#offer .rl-podium-height-addition p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; text-align: left; }
#offer a.rl-addition-action { display: inline-flex; min-height: 48px; padding: 12px 20px; align-items: center; justify-content: center; border-radius: 7px; background: #e11414; color: #fff !important; text-decoration: none !important; font: 600 18px/1.3 "Oswald",sans-serif !important; text-transform: uppercase; text-align: center; }
#offer a.rl-addition-action:hover { background: #c71111; }
#offer .rl-podium-height-addition a.rl-addition-action { position: static !important; float: none !important; margin: 0; transform: none; }
#offer a.rl-addition-action:focus-visible { outline: 3px solid #454545; outline-offset: 4px; }
#offer li.offer__card[id^="rl-tv-card-"] { scroll-margin-top: var(--rl-approved-anchor-offset, 160px); }
#offer li.offer__card[id^="rl-tv-card-"]:target { outline: 2px solid #e11414; outline-offset: 4px; }
#offer section.rl-illustrated-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px 32px; align-items: start; }
#offer .rl-illustrated-section > h2 { grid-column: 1/-1; margin-bottom: 0; }
#offer .rl-illustrated-section > .leftfoto__content { grid-column: 2; grid-row: 2; min-width: 0; }
#offer .rl-illustrated-section > .rl-content-figure { grid-column: 1; grid-row: 2; }
#offer figure.rl-content-figure { display: block; min-width: 0; margin: 0; }
#offer .rl-content-figure img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 8px; aspect-ratio: 4/3; object-fit: contain; background: #f7f7f8; }
#offer .rl-content-figure figcaption { margin: 10px 0 0; color: #454545; font: 400 13px/1.55 "Golos Text",sans-serif; text-align: left; }
@media(max-width:767px) {
#offer section.rl-illustrated-section { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #offer .rl-illustrated-section > h2,
  #offer .rl-illustrated-section > .leftfoto__content,
  #offer .rl-illustrated-section > .rl-content-figure { grid-column: 1; grid-row: auto; }
  #offer .rl-illustrated-section > .rl-content-figure { order: 1; }
  #offer .rl-illustrated-section > .leftfoto__content { order: 2; }
  #offer .rl-podium-height-addition { padding: 16px; }
  #offer a.rl-addition-action { width: 100%; box-sizing: border-box; }
}

/* Запас под sticky/fixed шапкой; панель WordPress добавляет 32/46 px. */
#offer { --rl-approved-anchor-offset: 160px; }
body.admin-bar #offer { --rl-approved-anchor-offset: 192px; }
#offer li.offer__card[id^="rl-tv-card-"],
#offer li.offer__card[id^="rl-podium-card-"],
#offer #rl-podium-quick-choice,
#offer #rl-podium-details,
#offer #rl-tv100-photo-note,
#offer #tv-rental-calculator,
#offer #podium-rental-calculator,
#offer #rl-selection-navigation {
  scroll-margin-top: var(--rl-approved-anchor-offset, 160px);
}
#offer li.offer__card[id^="rl-podium-card-"]:target { outline: 2px solid #e11414; outline-offset: 4px; }
@media (max-width: 991.98px) {
  #offer { --rl-approved-anchor-offset: 90px; }
  body.admin-bar #offer { --rl-approved-anchor-offset: 122px; }
}
@media (max-width: 782px) {
  body.admin-bar #offer { --rl-approved-anchor-offset: 136px; }
}
