.main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.main > div:first-child > p {
  max-width: 95%;
}
.main > div:first-child > a {
  max-width: 50%;
}
.main > div {
  flex: 0 1 50%;
}
/* .main > div:last-child > img:last-child {
    display: none;
} */
.main > div:last-child {
  flex: 0 1 41.5%;
  border-radius: var(--brad);
  /* overflow: hidden; */
  max-height: 640px;
  aspect-ratio: 1/2;
}
.main > div:last-child img {
  border-radius: var(--brad);
}
.main > div:last-child > div {
}
.main__sub {
  margin-top: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 16px;
  flex-wrap: wrap;
}
.main__sub p {
  margin-bottom: 0;
}
.main__sub > div:first-child {
  max-width: 204px;
}
.main__sub > div:last-child {
  max-width: 50%;
}

.main__sub > div:last-child > p:last-child > span {
  transform: translateY(1px);
}
.swiper-wrapper {
  align-items: stretch !important;
  max-height: 640px;
}
.swiper-slide {
  height: unset !important;
  border-radius: var(--brad);
  overflow: hidden;
}

.pagination__container {
  z-index: 50;
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
}
.pagination__item {
  border-radius: 100px;
  flex: 1 1 35%;
  background-color: var(--innerBg);
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.pagination_active {
  background-color: var(--accent);
}
.disabled img {
  opacity: 0.5;
}
.controls {
  z-index: 50;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 110%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  user-select: none;
  pointer-events: none;
}
.controls.second {
  /* position: relative; */
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
}
.controls > div {
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #151516;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);

  user-select: all;
  pointer-events: all;
}
.controls > div > * {
  height: 30%;
  transform: translateX(1px);
}
.controls > div img {
  object-fit: contain;
}
.controls > div:first-child img {
  rotate: 180deg;
}
@media (max-width: 1340px) {
  .main {
    align-items: start;
  }
  .main > div:last-child {
    aspect-ratio: initial;
  }
}
@media (max-width: 768px) {
  .controls {
    display: none;
  }
  .main {
    margin-top: 8px !important;
    flex-direction: column-reverse;
  }
  .main > div:first-child > a {
    max-width: 100%;
  }
  .main__sub > div:first-child {
    max-width: 124px;
  }
  .main > div:last-child {
    /* aspect-ratio: 2/2.2 !important; */
    aspect-ratio: initial !important;
    max-height: none;
  }
  .main > div:last-child img {
    scale: 1.5 !important;
  }

  .main__sub {
    margin-top: 24px;
  }
  .main__sub p {
    max-width: 100%;
    font-size: 14px !important;
  }
  .main__sub > div:last-child {
    width: 100% !important;
  }
}
