.rscable-sale-detail {
  --rscable-sale-blue: #257de3;
  --rscable-sale-banner-radius: 12px;
  --rscable-sale-banner-width: min(var(--theme-page-width, 1504px), calc(100vw - (var(--theme-page-width-padding, 32px) * 2)));
  --rscable-sale-content-width: 1020px;
  --rscable-sale-hero-title-width: 920px;
  --rscable-sale-hero-lead-width: 1060px;
}

body:has(.rscable-sale-detail) #pagetitle,
body:has(.rscable-sale-detail) .page-top .item-action {
  display: none !important;
}

body:has(.rscable-sale-detail) .page-top {
  min-height: 0;
  margin-bottom: 0;
}

.rscable-sale-detail__hero {
  position: relative;
  overflow: hidden;
  width: var(--rscable-sale-banner-width);
  min-height: 330px;
  margin: 0 calc(50% - (var(--rscable-sale-banner-width) / 2)) 40px;
  border-radius: var(--rscable-sale-banner-radius);
  background: #222;
  clip-path: inset(0 round var(--rscable-sale-banner-radius));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
  transform: translateZ(0);
}

.rscable-sale-detail__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.14) 100%);
}

.rscable-sale-detail__hero-picture,
.rscable-sale-detail__hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.rscable-sale-detail__hero-img {
  object-fit: cover;
  object-position: center center;
}

.rscable-sale-detail__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 330px;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  color: #fff;
}

.rscable-sale-detail__hero--baked::after {
  display: none;
}

.rscable-sale-detail__hero--baked {
  width: 100%;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  background: transparent;
}

.rscable-sale-detail__hero--composed {
  aspect-ratio: 1464 / 500;
  min-height: 0;
}

.rscable-sale-detail__hero--composed .rscable-sale-detail__hero-content {
  min-height: 0;
  height: 100%;
  max-width: none;
  justify-content: flex-start;
  padding: 92px 82px 52px;
}

.rscable-sale-detail__hero--baked .rscable-sale-detail__hero-img {
  position: relative;
  height: auto;
  overflow: hidden;
  border-radius: inherit !important;
  clip-path: inset(0 round 12px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  object-fit: contain;
  object-position: center center;
}

.rscable-sale-detail__hero--baked .rscable-sale-detail__hero-content {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rscable-sale-detail__title {
  margin: 0 0 22px;
  color: #fff;
  max-width: var(--rscable-sale-hero-title-width);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
}

.rscable-sale-detail__lead {
  max-width: var(--rscable-sale-hero-lead-width);
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.06;
}

.rscable-sale-detail__date {
  position: absolute;
  left: 82px;
  bottom: 52px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 20px;
}

.rscable-sale-detail__hero--kabel_po_zavodskim_tsenam_bez_pereplat {
  --rscable-sale-hero-title-width: 820px;
  --rscable-sale-hero-lead-width: 710px;
}

.rscable-sale-detail__hero--proizvodstvo_kabelya_pod_zakaz_ot_14_dney {
  --rscable-sale-hero-title-width: 760px;
  --rscable-sale-hero-lead-width: 1140px;
}

.rscable-sale-detail__hero--besplatnaya_dostavka_po_moskve_i_oblasti_ot_300_000_rub {
  --rscable-sale-hero-title-width: 1180px;
  --rscable-sale-hero-lead-width: 1220px;
}

.rscable-sale-detail__hero--besplatnaya_dostavka_po_moskve_i_oblasti_ot_300_000_rub .rscable-sale-detail__hero-img {
  object-position: center top;
}

.rscable-sale-detail__request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 24px;
  align-items: start;
  max-width: var(--rscable-sale-content-width);
  margin: 0 auto 40px;
  padding: 24px 28px;
  border: 1px solid var(--stroke_black, rgba(34, 34, 40, 0.08));
  border-radius: 8px;
  box-shadow: none;
  background: var(--card_bg_black);
}

.rscable-sale-detail__request.bordered {
  border: 1px solid var(--stroke_black, rgba(34, 34, 40, 0.08)) !important;
  box-shadow: none !important;
}

.rscable-sale-detail__request-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rscable-sale-detail__request-col:only-child {
  grid-column: 1 / -1;
}

.rscable-sale-detail__request h2,
.rscable-sale-detail__section h2 {
  margin: 0 0 12px;
  color: var(--white_text_black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.rscable-sale-detail__request h2 {
  font-size: 19px;
}

.rscable-sale-detail__request ul,
.rscable-sale-detail__section ul,
.rscable-sale-detail__section ol {
  margin: 0;
  padding-left: 19px;
}

.rscable-sale-detail__request li,
.rscable-sale-detail__section li {
  margin: 0 0 5px;
  color: var(--basic_text_black);
  font-size: 15px;
  line-height: 1.45;
}

.rscable-sale-detail__request-item--nowrap {
  white-space: nowrap;
}

.rscable-sale-detail__request-actions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
}

.rscable-sale-detail__btn {
  min-width: 260px;
}

.rscable-sale-detail__question {
  width: 42px;
  min-width: 42px;
  padding-right: 0;
  padding-left: 0;
}

.rscable-sale-detail__body {
  max-width: var(--rscable-sale-content-width);
  margin: 0 auto 48px;
}

.rscable-sale-detail__section {
  margin-bottom: 26px;
}

.rscable-sale-detail__section p {
  margin: 0 0 10px;
  color: var(--basic_text_black);
  font-size: 16px;
  line-height: 1.55;
}

.rscable-sale-detail__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body:has(.rscable-sale-detail__hero--kabel_po_zavodskim_tsenam_bez_pereplat) .rscable-sale-detail__columns {
  width: min(100%, 620px);
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 56px;
}

.rscable-sale-detail__usage {
  margin-top: 8px;
}

.rscable-sale-detail__usage-actions {
  margin: 12px 0 12px;
}

.rscable-sale-detail__usage-actions .rscable-sale-detail__btn {
  display: inline-flex;
  width: auto !important;
  min-width: 0 !important;
  padding-right: 28px;
  padding-left: 28px;
}

.rscable-sale-detail__email {
  display: block;
  font-size: 14px !important;
  line-height: 20px !important;
}

.rscable-sale-detail__email-link {
  display: inline !important;
  color: var(--rscable-sale-blue) !important;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
  vertical-align: baseline;
  white-space: nowrap;
}

.rscable-sale-detail__email .rscable-email-inline-wrap {
  display: inline-flex !important;
  align-items: baseline;
  vertical-align: baseline;
}

.rscable-sale-detail__email .rscable-sale-detail__email-link,
.rscable-sale-detail__email .rscable-sale-detail__email-link.rscable-email-copy-processed {
  display: inline !important;
}

@media (max-width: 991px) {
  .rscable-sale-detail {
    --rscable-sale-banner-width: min(var(--theme-page-width, 1504px), calc(100vw - (var(--theme-page-width-padding, 24px) * 2)));
  }

  .rscable-sale-detail__hero,
  .rscable-sale-detail__hero-content {
    min-height: 300px;
  }

  .rscable-sale-detail__hero--composed {
    aspect-ratio: 2.25 / 1;
    min-height: 300px;
  }

  .rscable-sale-detail__hero-content {
    padding: 34px 28px;
  }

  .rscable-sale-detail__title {
    max-width: 760px;
    font-size: 32px;
    line-height: 1.12;
  }

  .rscable-sale-detail__lead {
    max-width: 690px;
    font-size: 17px;
    line-height: 1.45;
  }

  .rscable-sale-detail__date {
    position: static;
    margin-top: 58px;
    font-size: 14px;
  }

  .rscable-sale-detail__request {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .rscable-sale-detail__request-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .rscable-sale-detail {
    --rscable-sale-banner-width: calc(100vw - 32px);
  }

  .rscable-sale-detail__hero {
    min-height: 270px;
    margin-bottom: 26px;
  }

  .rscable-sale-detail__hero--composed {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .rscable-sale-detail__hero--composed .rscable-sale-detail__hero-img {
    object-position: center center;
  }

  .rscable-sale-detail__hero--composed .rscable-sale-detail__hero-content {
    height: 100%;
    padding: 28px 22px;
  }

  .rscable-sale-detail__hero--baked {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
  }

  .rscable-sale-detail__hero--baked .rscable-sale-detail__hero-img {
    position: relative;
    height: auto;
    object-fit: contain;
  }

  .rscable-sale-detail__hero-content {
    min-height: 270px;
    padding: 24px 20px;
  }

  .rscable-sale-detail__hero--composed .rscable-sale-detail__hero-content {
    min-height: 360px;
    padding: 28px 22px;
  }

  .rscable-sale-detail__title {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .rscable-sale-detail__lead {
    font-size: 14px;
  }

  .rscable-sale-detail__date {
    position: static;
    margin-top: 28px;
  }

  .rscable-sale-detail__request {
    padding: 18px;
  }

  .rscable-sale-detail__request-content,
  .rscable-sale-detail__columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body:has(.rscable-sale-detail__hero--kabel_po_zavodskim_tsenam_bez_pereplat) .rscable-sale-detail__columns {
    width: 100%;
    grid-template-columns: 1fr;
    column-gap: 12px;
  }

  .rscable-sale-detail__request-item--nowrap {
    white-space: normal;
  }

  .rscable-sale-detail__request-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .rscable-sale-detail__btn {
    min-width: 0;
  }

  .rscable-sale-detail__request h2,
  .rscable-sale-detail__section h2 {
    font-size: 20px;
  }
}
