.other_cars_header {
  display: inline-block;
  padding: 0px 5px;
  margin: 0px 10px;
  /*padding-bottom: 0px !important;*/
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.lineup-header-bg {
  background-clip: initial;
  background-color: rgba(0, 0, 0, 0);
  background-origin: initial;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
  background-attachment: scroll;
}

.logo-lineup {
  max-width: 100%;
}

.vdp2__main_section {
  background-image: url("../images/vdp2-background.jpg");
  background-size: cover;
  background-position: bottom;
  color: white;
}

.vdp2__main_section .modal {
    color: #000;
} 

.lineup-vdp-main-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pano-image {
  display: none;
  height: 600px;
}

.ctb_div {
  padding-top: 40px;
  max-width: 300px;
  margin: 0 auto;
}

.cta3-title {
  color: white;
  font-size: 12px;
  font-family: "toyota", sans-serif;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.cta3-bg {
  background-color: #eb0a1f;
  border-radius: 8px;
}

.cta3-button {
  border-style: solid;
  color: white;
}

.cta-lineup-svg {
  width: 18px;
  align-items: center;
}

.cta3-button-mobile {
  border: solid black 1px;
  border-radius: 5px;
  background-color: white;
  margin-right: 1px;
  margin-left: 1px;
  flex: 0 0 19%;
  height: 70px;
  width: 69px;
}

.cta3-title-mobile {
  color: black;
  font-size: 8px;
  font-family: "toyota", sans-serif;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.cta3-title-mobile.title-preorder {
  line-height: 14px;
}

div.cta3-button-mobile:hover {
  color: red;
}

.flex-cta-button {
  display: flex;
  flex-wrap: wrap;
  justify-self: center;
}

.flex-grow {
  flex-grow: 1;
}

.cta_lineup_svg {
  width: 25px;
  padding-top: 10px;
}

.cta_lineup_svg_preorder {
  width: 40px;
}

.sub-model {
  width: 100px;
}

.modele-lineup .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.modele-lineup {
  --arrow-width: 3rem;
}

.modele-lineup .carousel-inner {
  margin-left: var(--arrow-width);
  margin-right: var(--arrow-width);
  width: calc(100% - 6rem);
}

.modele-lineup .card-img-top {
  object-fit: contain;
  aspect-ratio: 25/9;
  height: auto;
}

.modele-lineup .card-body {
  display: flex;
  flex-direction: column;
}

.modele-lineup .card-body > .btn {
  margin-top: auto;
}

.modele-lineup .carousel-control-prev,
.modele-lineup .carousel-control-next {
  transition: opacity 0.2s ease;
  width: var(--arrow-width);
}

.modele-lineup .carousel-control-prev-icon,
.modele-lineup .carousel-control-next-icon {
  filter: invert();
}

@media (max-width: 767px) {
  .modele-lineup .carousel-item > div {
    display: none;
  }
  .modele-lineup .carousel-item > div:first-child {
    display: block;
  }
}

.modele-lineup .carousel-item.active,
.modele-lineup .carousel-item-next,
.modele-lineup .carousel-item-prev {
  display: flex;
}

.modele-lineup .carousel-item-next,
.modele-lineup .carousel-item-prev,
.modele-lineup .carousel-control-next,
.modele-lineup .carousel-control-prev {
  z-index: 1;
}

/* display 3 */
@media (min-width: 768px) {
  .modele-lineup .carousel-item-right.active,
  .modele-lineup .carousel-item-next {
    transform: translateX(33.333%);
  }

  .modele-lineup .carousel-item-left.active,
  .modele-lineup .carousel-item-prev {
    transform: translateX(-33.333%);
  }
}

.modele-lineup .carousel-item-right,
.modele-lineup .carousel-item-left {
  transform: translateX(0);
}

.modele-img .card-img-top {
  height: 100%;
  width: 50%;
}

.vdp2 {
  --component-border-radius: 0.25rem;
}

/* cta */
.vdp2__cta {
  white-space: normal;
  border-radius: var(--component-border-radius);
}

.vdp2__row {
  --vdp2-gutters: 0.25rem;

  margin-left: calc(var(--vdp2-gutters) * -1);
  margin-right: calc(var(--vdp2-gutters) * -1);
}

.vdp2__col {
  padding-left: var(--vdp2-gutters);
  padding-right: var(--vdp2-gutters);
}

@media screen and (max-width: 991px) {
  .container.model__container {
    padding: 0;
    max-width: none;
  }
}

/* otherCarsHeader2 */
.model__list {
  display: flex;
  width: fit-content;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  overflow: auto;
}

.model__item {
  display: block;
  --model-item-gutter: 0.25rem;
  padding-left: var(--model-item-gutter);
  padding-right: var(--model-item-gutter);

  --model-item-width: 28%; /* make sure that theres a part of the 4th car to show the user that we can scroll mobile */
  flex: 0 0 var(--model-item-width);
  max-width: 150px;
}

.model__item:first-child {
  margin-left: 0.75rem;
}

.model__item:last-child {
  margin-right: 0.75rem;
}

@media screen and (min-width: 576px) {
  .model__item {
    --model-item-width: 22%;
  }
}

@media screen and (min-width: 768px) {
  .model__item {
    --model-item-width: 18%;
  }
}

@media screen and (min-width: 992px) {
  /* from this mq, we remove the model__list scroll and resize cards based on available space*/
  .model__list {
    overflow: unset;
  }

  .model__item {
    --model-item-width: 100%; /* fits max-width value */
    flex-shrink: 1; /* shrink items so they all fit without scroll */
  }

  .model__item:first-child {
    margin-left: calc(var(--model-item-gutter) * -1);
  }

  .model__item:last-child {
    margin-right: calc(var(--model-item-gutter) * -1);
  }
}

.model__link {
  padding: 0.5rem;
  height: 100%;
}

.model__link--selected {
  border-color: var(--primary);
}

.model__img {
  aspect-ratio: 1/1;
  object-fit: contain;
}

.model__name {
  font-size: 80%;
  margin: auto 0;
}

.trim__list {
  display: flex;
  overflow: auto;
  --trim-list-border: 1px solid #dee2e6;
  border-top: var(--trim-list-border);
  border-bottom: var(--trim-list-border);
}

.trim__scrollBtn {
  display: none;
}

/* any devices that can use a mouse (we remplace the default scroll for arrows left / right) */
/* touch devices without mouses already has a fine scoll mechanic */
@media screen and (pointer: fine) {
  .trim__wrapper {
    display: flex;
    justify-content: center;
  }

  .trim__wrapper--scrollable .trim__scrollBtn {
    display: grid;
    place-content: center;
    width: 2rem;
    flex-shrink: 0;
    cursor: pointer;
  }

  /* used for scrollbar hiding */
  .trim__list {
    scrollbar-width: 0px; /* Firefox */
  }
  .trim__list::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
}

@media screen and (min-width: 992px) {
  .trim__list {
    border: var(--trim-list-border);
    border-radius: var(--component-border-radius);
  }
}

/* using justify-content-center was causing a bug if the list was scrollable */
/* (you could only scroll to half of the rirst and last item instead of showing them fully) */
.trim__list > *:first-child {
  margin-left: auto;
}
.trim__list > *:last-child {
  margin-right: auto;
}

.trim__item {
  padding: 0.5rem 0;
}

/* every trim__btn except, first item, before the selected item and the selected item */
.trim__item:not(.trim__item--selected)
  + .trim__item:not(.trim__item--selected)
  .trim__btn {
  border-left: 1px solid #dee2e6;
}

.trim__item--selected {
  background-color: var(--primary);
  color: white;
}

.trim__btn {
  display: block;
  text-align: center;
  padding: 0 0.75rem;
  white-space: nowrap;
  color: inherit;
}

.trim__btn:hover {
  color: inherit;
}

.vdp2__price_container {
  float: right;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .vdp2__price {
    font-size: 1.5rem;
  }
}

/* colors2 */
.color__list {
  display: flex;
  flex-wrap: wrap;

  --color-list-gutter: 0.25rem;
  margin-left: calc(var(--color-list-gutter) * -1);
  margin-right: calc(var(--color-list-gutter) * -1);
}

@media screen and (min-width: 768px) {
  .color__list {
    justify-content: center;
  }
}

.color__item {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  margin-bottom: 0.5rem;
}

.color_chip {
  padding-top: 100%;
  width: 3rem;
  border-radius: var(--component-border-radius);
  cursor: pointer;
}

/* specs2 */
.motor__list {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  border: 1px solid #dadada;
  margin-bottom: 2rem;
  overflow: auto;
  border-radius: var(--component-border-radius);
}

/* using justify-content-center was causing a bug if the list was scrollable */
/* (you could only scroll to half of the rirst and last item instead of showing them fully) */
.motor__list > *:first-child {
  margin-left: auto;
}
.motor__list > *:last-child {
  margin-right: auto;
}

.motor__label {
  margin-bottom: 0;
}

.motor__btn {
  padding: 1rem;
  background-color: white;
  display: block;
  white-space: nowrap;
  cursor: pointer;
}

.motor__label > input:checked ~ .motor__btn {
  background-color: var(--primary);
  color: white;
}

.vdp2 .specifications-box {
  border-radius: var(--component-border-radius);
  overflow: hidden;
}

.vdp2 .accordion-title a {
  border-radius: var(--component-border-radius);
}

.vdp2 .accordion-title .active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.vdp2 .accordion-title-button {
  border-radius: var(--component-border-radius);
}

.vdp2 .accordion-content {
  border-bottom-left-radius: var(--component-border-radius);
  border-bottom-right-radius: var(--component-border-radius);
}

/* conception */
.vdp2__tabItem {
  border-radius: var(--component-border-radius);
}

@media screen and (max-width: 767px) {
    .specifications-title {
        font-size: 1rem;
    }
} 

/* specsAccessory */
.specsAccessory {
  background-color: var(--bg-color2, #f2f2f2);
}

.specsAccessory .nav-link {
    color: var(--text-color, #333);
}

.specsAccessory .specsAccessory__nav .nav-link.active {
    color: var(--primary);
}

.accessories {
    max-width: 768px;
}

.vdp2 .nav-pills .nav-link {
  border: 0;
  background: 0 0;
}

.vdp2 .nav-pills .nav-link.active,
.vdp2 .nav-pills .show > .nav-link {
  background-color: var(--primary);
}

/* specs2 */
.specifications h2.title {
  font-size: 50px;
  line-height: 50px;
  color: var(--primary);
  margin-bottom: 40px;
}

.specifications-box {
  background: #ffffff;
  margin-bottom: 20px;
}

.specifications-box:last-child {
  margin-bottom: 0;
}

.specifications-box .title {
  background: var(--primary);
  color: #ffffff;
  padding: 16px 20px;
}

.specifications-box .title span {
  letter-spacing: 2px;
  font-size: 16px;
}

.specifications-box .info {
  padding: 20px;
}

.specifications-box .info .icon {
  display: table-cell;
}

.specifications-box .info .icon i {
  font-size: 70px;
  line-height: 70px;
  color: var(--primary);
}

.specifications-box .info .content {
  display: table-cell;
  vertical-align: top;
  padding-left: 20px;
}

.specifications .white-bg img {
  padding-top: 30px;
}

.specifications .accordion {
  margin-top: 40px;
}

.specifications .accordion .accordion-title a {
  background: #ffffff;
  margin-top: 2px;
  padding: 16px 60px 16px 26px;
}

.specifications .accordion .accordion-title a i {
  padding-right: 10px;
  font-size: 20px;
}

.specifications .accordion .accordion-title a.active {
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
  border-color: var(--primary);
  border-top: 0px;
}

.specifications .accordion .accordion-content {
  background: #ffffff;
}

.specifications .accordion .accordion-content .table {
  margin-bottom: 0;
}

.specifications .accordion .accordion-title a:after {
  right: 20px;
  left: inherit;
}

/* specs accordion */
.accordion-header {
  --padding-x: 2rem;
  --transition-timing: 0.25s;

  position: relative;
  color: white;
  border-top-right-radius: var(--border-radius, 0.25rem);
  border-top-left-radius: var(--border-radius, 0.25rem);
}

.accordion-collapse {
  background-color: var(--bg-color, white);
  border: 1px solid var(--border-color, #dadada);
}

.accordion-btn {
  white-space: unset;
  width: 100%;
  text-align: left;
  padding: 1rem var(--padding-x);
  background-color: transparent;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-timing) ease,
    border-color var(--transition-timing) ease,
    color var(--transition-timing) ease;
}

.accordion-btn,
.accordion-btn:hover {
  background-color: white;
  border-color: var(--border-color, #dadada);
  color: var(--text-color, #454545);
}

.accordion-btn[aria-expanded="true"]:hover,
.accordion-btn[aria-expanded="true"] {
  border-color: var(--primary, #333);
  background-color: var(--primary, #333);
  color: white;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-btn[aria-expanded="false"] + .btn-try {
  pointer-events: none;
  user-select: none;
  opacity: 0;
}

.accordion-btn i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.accordion-header .btn-try {
  position: absolute;
  right: var(--padding-x);
  top: 50%;
  transform: translateY(-50%);
  white-space: initial;

  color: inherit;
  border: 1px solid currentColor;
  opacity: 1;
  transition: opacity var(--transition-timing) ease; /* opacity from 0 to 1 when collapse is open */
}

@media screen and (max-width: 767px) {
  .accordion-header .btn-try {
    display: none;
  }
}

.accordion-header .btn-try:hover {
  background-color: white;
  color: var(--primary);
}

.conception .conception__grid {
  display: grid;
  gap: 1rem;
  /* grid-template-columns: 1fr; */
}

@media screen and (min-width: 768px) {
  .conception .conception__grid {
    display: grid;
    grid-auto-flow: dense; /* fills gap when repositionning element on the grid */
    gap: 0;
  }
}

.conception .conception__text {
  padding: 0 1rem;
  align-self: center;
}

@media screen and (min-width: 768px) {
  .conception .conception__text {
    padding: 0 3rem;
  }
  .conception .conception__text:nth-of-type(2n) {
    grid-column: 2 / span 1; /* force text 2nd col every 2n row */
  }
}

.conception .conception__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: var(--bg-color2, #f2f2f2);
  align-self: top; /* 2nd img */
}

.conception .conception__img:first-of-type {
  align-self: bottom; /* 2nd img */
}

/* form */
.lineupVdpForm {
  position: relative;
  isolation: isolate; /* creates stacking context */
  padding-block: 5rem;
  background-image: url('../images/vdp2-form-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
}

.lineupVdpForm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5);
}

.h1_vdp2
{
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
.span_h1_vdp2
{
  display: block;
}