[data-shared-car-viewer] {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(32rem, 72vw, 46rem);
  overflow: hidden;
}

.shared-car-viewer-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 0;
  background: transparent;
}

.shared-car-viewer-section__title {
  position: relative;
  z-index: 1;
  width: min(92%, 1180px);
  margin: 0 auto 1.5rem;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.shared-car-viewer__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.design_car_viewer_page {
  width: 100%;
  overflow: hidden;
  background: transparent;
  box-sizing: border-box;
}

.design_car_viewer_page > .row {
  width: min(980px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding-right: 18px;
  padding-left: 18px;
  box-sizing: border-box;
}

.design_car_viewer_section {
  width: 100%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}

.design_car_viewer_section > .references_section_title {
  margin-bottom: 0;
}

[data-shared-car-viewer].design_car_viewer_host {
  top: auto;
  width: 100%;
  max-width: 100%;
  height: clamp(22rem, 48vw, 36rem);
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .design_car_viewer_page > .row {
    width: min(980px, calc(100% - 40px));
    padding-right: 18px;
    padding-left: 18px;
  }

  [data-shared-car-viewer] {
    height: clamp(20rem, 68vw, 30rem);
  }

  [data-shared-car-viewer].design_car_viewer_host {
    top: auto;
    width: 100%;
    height: clamp(20rem, 68vw, 30rem);
    margin: 0 auto;
  }

  .design_car_viewer_section > .references_section_title {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    font-size: 1.75rem;
    line-height: 1.08;
    text-align: left;
    white-space: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 700px) {
  .design_car_viewer_page > .row {
    width: min(100%, calc(100% - 26px));
    padding-right: 14px;
    padding-left: 14px;
  }

  [data-shared-car-viewer],
  [data-shared-car-viewer].design_car_viewer_host {
    height: clamp(17rem, 86vw, 24rem);
  }
}
