.banner {
  width: 100%;
  position: relative;
}

.banner img {
  width: 100%;
}

.banner img:nth-child(1) {
  display: block;
}

.mobile-banner {
  display: none;
}

.banner-infos {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: calc(100% - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding-bottom: 5rem;
}

.banner-info-buttons {
  display: flex;
  gap: 0.5rem;
}

.banner-info-buttons button {
  padding: 0.5rem 2.5rem;
  background-color: transparent;
  border: 2px solid var(--navy);
  font-weight: 700;
  color: var(--navy);
  border-radius: 5rem;
}

.brand-logo {
  width: 60%;
}

.brand-logo img {
  width: 100%;
}

.product-logo {
  width: 60%;
}

.product-logo img {
  width: 100%;
}

.file-links-wrapper {
  width: 100%;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  display: none;
}

.file-links-wrapper button {
  padding: 0.5rem 2rem;
  color: var(--navy);
  background-color: transparent;
  border: 2px solid var(--navy);
  border-radius: 5rem;
  font-weight: 900;
  transition: all 0.5s ease;
}

.file-links-wrapper button:hover {
  background-color: var(--navy);
  color: var(--white);
}
/* -------------------------------------------- */
/* Teaser */
.teaser {
  line-height: 0;
}

.teaser video {
  width: 100%;
  display: block;
}
/* -------------------------------------------- */
/* Colors */
.colors .vehicle-img {
  padding: 5rem 0;
  background-image: url("/img/products/common/colors-back.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.colors .vehicle-img img {
  width: 60%;
  margin: 0 auto;
}
/* ---------------- */
.color-boxes {
  position: relative;
  padding: 3rem 0;
}

.color-boxes > .content {
  width: fit-content;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
}

.color-wrapper {
  background-color: var(--white);
  padding: 2px;
  border-radius: .9rem;
}

.color-wrapper-active {
  border: 2px solid var(--black);
}

.color-wrapper > div {
  width: 60px;
  height: 60px;
  background-color: salmon;
  border-radius: 0.7rem;
}

.back-line {
  position: absolute;
  bottom: calc(3rem + 30px);
  right: 0;
  z-index: -1;
  /* transform: translate(-50%, -50%); */
}

.back-line > div {
  width: 100%;
  height: 1px;
  background-color: #dfdfdf;
}
/* -------------------------------------------------------------------- */
/* Slider */
.slider {
  margin: 5rem 0;
}

.swiper-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s, opacity 0.3s;
}

.swiper-slide > img {
  width: 100%;
  height: auto;
}

.swiper-slide-prev,
.swiper-slide-next {
  opacity: 0.5;
}
/* -------------------------------------------------------------------- */
/* Overview */
.overview {
  overflow-x: hidden;
  position: relative;
}

/* Top-Buttons */
.overview-top-buttons-wrapper {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.overview-top-buttons-wrapper .overview-buttons {
  width: fit-content;
  background-color: #1d1d1db2;
  border-radius: 5rem;
  overflow: hidden;
}

.overview-top-buttons-wrapper .overview-buttons button {
  padding: 1rem 2.5rem;
  border-radius: 5rem;
  background-color: transparent;
  border: 0;
  color: #c8c8c8;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.overview-btn-active {
  background-color: #007aff;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: var(--white) !important;
  color: var(--black) !important;
}

.rightToLeft {
  animation: rightToLeft 1s ease forwards;
}

.leftToRight {
  animation: leftToRight 1s ease forwards;
}

@keyframes rightToLeft {
  0% {
    right: 0;
  }
  100% {
    right: -100%;
  }
}

@keyframes leftToRight {
  0% {
    right: -100%;
  }
  100% {
    right: 0;
  }
}
/* ---------------------- */
.overview-background {
  width: 100%;
}

.overview .content {
  position: absolute;
  top: 0;
  right: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 200%;
}

#overviewContent img {
  display: block;
}

.overview .content > div {
  width: 50% !important;
  height: fit-content;
  position: relative;
}

.overview-infos {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(102, 102, 102, 0) 0%,
    rgba(23, 48, 76, 0.75) 81.73%
  );
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.overview-infos > div {
  display: flex;
  gap: 3rem;
  padding-bottom: 5rem;
  max-width: 95%;
}

.overview-infos > div > div {
  display: flex;
  max-width: 200px;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  color: var(--white);
}

.overview-infos > div > div > div {
  font-size: 1.4rem;
  text-align: center;
}

.overview-infos > div > div > div:nth-child(1) {
  font-weight: 100;
  font-size: 1.2rem;
}

.overview-infos > div > div > div:nth-child(2) {
  font-weight: 700;
  font-size: 1.4rem;
}
/* --------------------------------------------------------------------------------- */
/* Options */
.options {
  margin: 5rem 0;
}

.options-container {
  width: 90%;
  margin: 0 auto;
}

.options .simple-box {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.options .simple-box .cover img {
  width: 100%;
  display: block;
}

.options .simple-box h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 15px 0;
}

.options .simple-box p {
  font-size: 1.1rem;
}

.options .simple-box ul {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.options .simple-box ul li {
  list-style-position: inside;
  list-style-type: disc;
}

.english-num {
  font-family: iranYekan;
}
/* ----------------------------- */
/* Customs-1 */
.custom-box-1 {
  display: flex;
  gap: 1rem;
  width: 100%;
  height: 800px;
  margin: 2rem 0;
}

.custom-box-1 > .custom-1-right {
  width: calc(66.666666666% - 0.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-box-1 > .custom-1-right > div {
  width: 100%;
  height: calc(50% - 0.5rem);
}

.custom-box-1 > .custom-1-right > .down:hover .custom-1-cover {
  bottom: 0;
}

.custom-box-1 > .custom-1-right > .down:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-box-1 > .custom-1-right > .down {
  overflow: hidden;
  position: relative;
  background-image: url("/img/products/x7/options/c1-rb.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.custom-box-1 > .custom-1-right > .top {
  display: flex;
  gap: 1rem;
}

.custom-box-1 > custom-1-right > .top > div {
  width: calc(50% - 0.5rem);
}

.custom-box-1 > .custom-1-right > .top > .right:hover .custom-1-cover {
  bottom: 0;
}

.custom-box-1 > .custom-1-right > .top > .right:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-box-1 > .custom-1-right > .top > .right {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("/img/products/x7/options/c1-rtr.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.custom-box-1 > .custom-1-right > .top > .left:hover .custom-1-cover {
  bottom: 0;
}

.custom-box-1 > .custom-1-right > .top > .left:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-1-down-text {
  margin-top: 10px;
  text-align: justify;
}

.custom-box-1 > .custom-1-right > .top > .left {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("/img/products/x7/options/c1-rtl.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.custom-box-1 > .custom-1-left:hover .custom-1-cover {
  bottom: 0;
}

.custom-box-1 > .custom-1-left:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-box-1 > .custom-1-left {
  overflow: hidden;
  position: relative;
  width: calc(33.333333333% - 0.5rem);
  height: 100%;
  background-image: url("/img/products/x7/options/c1-l.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.custom-1-cover {
  width: 100%;
  height: 100%;
  /* background-color: #007aff; */
  background: linear-gradient(
    180deg,
    rgba(102, 102, 102, 0) 0%,
    /* rgba(23, 48, 76, 0.75) 81.73% */ rgba(23, 48, 76, 0.749) 81%
  );
  position: absolute;
  bottom: -100%;
  right: 0;
  z-index: 1;
  transition: all 0.3s ease;
}

.custom-1-main-text {
  width: calc(100% - 2rem);
  padding: 1rem;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  color: var(--white);
}

.custom-1-top-text {
  font-size: 1.1rem;
  font-weight: 900;
}

.custom-1-down-text {
  transition: all 0.3s ease;
  max-height: 0;
  opacity: 0;
}
/* ------------------------------------ */
/* Custom-2 */
.custom-box-2 {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 1200px;
  margin: 2rem 0;
}

.custom-2-right {
  width: 33%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-2-right > div {
  width: 100%;
  height: 32.5%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.custom-2-right > div:hover .custom-1-cover {
  bottom: 0;
}

.custom-2-right > div:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-2-right > div:nth-child(1) {
  background-image: url("/img/products/x7/options/c2-rt.webp");
}
.custom-2-right > div:nth-child(2) {
  background-image: url("/img/products/x7/options/c2-rc.webp");
}
.custom-2-right > div:nth-child(3) {
  background-image: url("/img/products/x7/options/c2-rb.webp");
}

.custom-2-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 66%;
  height: 100%;
}

.custom-2-left-top {
  width: 100%;
  height: 32.5%;
  display: flex;
  justify-content: space-between;
}

.custom-2-left-top > div {
  width: 49%;
  height: 100%;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.custom-2-left-top-right {
  background-image: url("/img/products/x7/options/c2-ltr.webp");
}

.custom-2-left-top-left {
  background-image: url("/img/products/x7/options/c2-ltl.webp");
}

.custom-2-left-top > div:hover .custom-1-cover {
  bottom: 0;
}

.custom-2-left-top > div:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-2-left-bottom {
  width: 100%;
  height: 66%;
  position: relative;
  background-image: url("/img/products/x7/options/c2-lb.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.custom-2-left-bottom:hover .custom-1-cover {
  bottom: 0;
}

.custom-2-left-bottom:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-2-top > div:hover .custom-1-cover {
  bottom: 0;
}

.custom-2-top > div:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}
/* ------------------------------------------- */
/* Custom 3 */
.custom-box-3 {
  width: 100%;
  height: 800px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.custom-3-right {
  width: 66%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-3-right > div {
  width: 100;
  height: 49%;
  display: flex;
  justify-content: space-between;
}

.custom-3-right > div > div {
  width: 49%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.custom-3-right > div > div:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-3-right > div > div:hover .custom-1-cover {
  bottom: 0;
}

.custom-3-right-top-right {
  background-image: url("/img/products/x7/options/c3-rtr.webp");
}
.custom-3-right-top-left {
  background-image: url("/img/products/x7/options/c3-rtl.webp");
}
.custom-3-right-bottom-right {
  background-image: url("/img/products/x7/options/c3-rbr.webp");
}
.custom-3-right-bottom-left {
  background-image: url("/img/products/x7/options/c3-rbl.webp");
}

.custom-3-left {
  width: 33%;
  height: 100%;
  background-image: url("/img/products/x7/options/c3-l.webp");
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.custom-3-left:hover .custom-1-cover {
  bottom: 0;
}

.custom-3-left:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}
/* -------------------------------------- */
/* Custom 4 */
.custom-box-4 {
  width: 100%;
  margin-bottom: 2rem;
}

.custom-4-top {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.custom-4-top img {
  width: 100%;
  display: block;
}

.custom-4-top:hover .custom-1-cover {
  bottom: 0;
}

.custom-4-top:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-4-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.custom-4-bottom > div {
  width: 49.5%;
  position: relative;
  overflow: hidden;
}

.custom-4-bottom > div:hover .custom-1-cover {
  bottom: 0;
}
.custom-4-bottom > div:hover .custom-1-down-text {
  opacity: 1;
  max-height: 300px;
}

.custom-4-bottom > div > img {
  width: 100%;
  display: block;
}
/* -------------------------------------------------------------- */
/* Tech Info */
.tech-container {
  width: 90%;
  margin: 0 auto;
}

.tech-box {
  margin-bottom: 3rem;
}

.tech-container .tech-box .tech-title {
  position: relative;
  border-right: 6px solid var(--gold);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  cursor: pointer;
}

.tech-container .desktop-tech-box-title {
  display: block;
}

.tech-container .mobile-tech-box-title {
  display: none;
}

.tech-title-content {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  width: fit-content;
  height: 100%;
  gap: 1rem;
  padding-right: 1rem;
}

.tech-title-content div:nth-child(1) {
  font-size: 1.2rem;
  color: var(--white);
}

.tech-title-content div:nth-child(2) {
  color: var(--gold);
  font-size: 1.2rem;
}

.tech-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.tech-body.active {
  max-height: 3000px; /* big enough to contain all content */
  opacity: 1;
}

.tech-body-item {
  display: flex;
  width: 100%;
  padding: 1.5rem 0;
  align-items: center;
  border-bottom: 2px solid var(--black);
}

.tech-body-item:last-child {
  border: 0;
}

.tech-body-item {
  font-size: 1.2rem;
}

.tech-specs-format > div > div {
  width: calc(100% / 3);
}

.tech-options-format > div > div {
  width: 50%;
}

.tech-body-item > div {
  text-align: center;
}
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* Responsive */
@media screen and (min-width: 1920px) {
  .tech-container {
    width: 1800px;
  }

  .options-container {
    width: 1800px;
  }
}

@media screen and (max-width: 1600px) {
  .overview-infos > div {
    gap: 1rem;
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 1400px) {
  .overview-infos > div {
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .overview-infos > div > div {
    gap: 1rem;
  }
}

@media screen and (max-width: 1200px) {
  .banner-infos {
    width: 50%;
    padding-bottom: 0;
    height: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 1100px) {
  .custom-box-2 {
    height: 1000px;
  }

  .overview-infos > div > div > div:nth-child(1) {
    font-size: 1rem;
  }

  .overview-infos > div > div > div:nth-child(2) {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 992px) {
  .banner > img:nth-child(1) {
    display: none;
  }

  .mobile-banner {
    display: block;
  }

  .banner-infos {
    display: none;
  }

  .file-links-wrapper {
    display: flex;
  }
  /* -------------------------------------------------------------------- */
  .options-container {
    width: 95%;
  }

  .colors .vehicle-img {
    padding: 3rem 0;
  }

  .colors .vehicle-img img {
    width: 80%;
  }
  /* ------------------------------------------------------------------ */
  /* Overview */
  .overview-infos > div {
    padding-bottom: 3rem;
  }

  .overview-infos > div > div {
    gap: 1rem;
  }

  .overview-infos > div > div > div:nth-child(1) {
    font-size: 0.9rem;
  }

  .overview-infos > div > div > div:nth-child(2) {
    font-size: 1rem;
  }
  /* -------------------------------------------------------------------- */
  /*   Options */
  .custom-box-2 {
    flex-direction: column;
    height: fit-content;
  }

  .custom-2-right {
    width: 100%;
    height: 1200px;
    margin-bottom: 1rem;
  }

  .custom-2-left {
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 800px;
  }

  .custom-4-bottom {
    flex-direction: column;
  }

  .custom-4-bottom > div {
    width: 100%;
  }

  .custom-4-bottom > div:nth-child(1) {
    margin-bottom: 1rem;
  }
  /* ---------------------------------------------- */
  /* tech-box */
  .tech-container .desktop-tech-box-title {
    display: none;
  }

  .tech-container .mobile-tech-box-title {
    display: block;
  }
}

@media screen and (max-width: 756px) {
  .options .simple-box {
    margin: 0 auto 3rem auto;
  }
  .options .simple-box h3 {
    font-size: 1.4rem;
  }

  .options .simple-box p {
    font-size: 1rem;
  }
  /* ----------------------------------------- */
  /* Overview */
  .overview-top-buttons-wrapper {
    padding: 0.5rem 0;
  }

  .overview-top-buttons-wrapper .overview-buttons button {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .overview-infos > div {
    padding-bottom: 2rem;
    gap: 2rem;
  }

  .overview-infos > div > div > div:nth-child(1) {
    font-size: 1rem;
  }

  .overview-infos > div > div > div:nth-child(2) {
    font-size: 1.1rem;
  }
  /* ------------------------------------- */
  .tech-body-item {
    font-size: 1rem;
  }

  .tech-options-format > div > div:nth-child(1) {
    width: 70%;
  }
  .tech-options-format > div > div:nth-child(2) {
    width: 30%;
  }
  /* ------------------------------------- */
  .options .simple-box ul {
    flex-direction: column;
    gap: 0;
  }

  /* Custom-1 */
.custom-1-top-text {
  font-size: .9rem;
}

.custom-1-down-text {
  font-size: .9rem;
}

  .custom-box-1 {
    flex-wrap: wrap;
    height: 1000px;
  }

  .custom-box-1 > .custom-1-right {
    width: 100%;
    height: 66%;
  }

  .custom-box-1 > .custom-1-left {
    width: 100%;
    height: 33%;
  }

  /* Custom-3 */
  .custom-box-3 {
    flex-wrap: wrap;
  }

  .custom-3-right {
    width: 100%;
    height: 60%;
  }

  .custom-3-left {
    width: 100%;
    height: 38%;
  }

  .custom-3-left {
    background-image: url(/img/products/x7/options/c3-l-m.webp);
}
  /* ------------------------------------- */
  /* Tech-Info */
  .tech-container {
    width: 95% !important;
  }
}

@media screen and (max-width: 568px) {
  .file-links-wrapper {
    padding: .5rem 0;
  }

  .file-links-wrapper button {
    padding: .5rem 1.2rem;
  }
/* ------------------------------------- */
  .options .simple-box {
    margin: 0 auto 1.5rem auto;
  }
  .options .simple-box h3 {
    font-size: 1.2rem;
  }

  .options .simple-box p {
    font-size: 0.9rem;
  }

  .color-boxes > .content {
    padding: 0.5rem 0;
  }

  .colors .vehicle-img {
    padding: 1.5rem 0;
  }

  .colors .vehicle-img img {
    width: 95%;
  }

  .color-wrapper > div {
    width: 40px;
    height: 40px;
    border-radius: 0.7rem;
  }
/* ------------------------------------------- */
/* Slider */
  .slider {
  margin: 2.5rem 0;
}
  /* ----------------------------------------- */
  /* Overview */

  .overview-infos > div {
    padding-bottom: 1rem;
    gap: 1rem;
  }

  .overview-infos > div > div > div:nth-child(1) {
    font-size: 0.6rem;
  }

  .overview-infos > div > div > div:nth-child(2) {
    font-size: .9rem;
  }
  /* ------------------------------------- */
  .options .simple-box ul {
    flex-direction: column;
    gap: 0;
  }

  /* Custom-1 */
  .custom-box-1 {
    height: 600px;
  }

  .custom-2-left-top {
    height: 67%;
    margin-bottom: 1rem;
  }

  .custom-2-left-bottom {
    height: 33%;
  }

  .custom-2-left-top {
    flex-direction: column;
  }

  .custom-2-left-top > div {
    width: 100%;
  }

  .custom-2-left-top > div:nth-child(1) {
    margin-bottom: 1rem;
  }
  /* ------------------------------------- */

  .tech-body-item {
    font-size: 0.9rem;
  }

  .tech-options-format > div > div:nth-child(1) {
    width: 80%;
  }
  .tech-options-format > div > div:nth-child(2) {
    width: 20%;
  }
}
