@import "../specs-into/specs-into.css";
@import "../specs-info/specs-info.css";

.specs {
  position: relative;
  overflow: hidden;
}

.specs #specs-cursor {
  display: none;
}

.specs__sliders {
  position: relative;
  z-index: 1;
}

.specs__sliders.is-hidden .specs__slider-container {
  z-index: -1;
}

.specs__slider-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.specs__slider {
  position: relative;
  background-color: var(--bg-brand-color);
}

.specs__slide {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  overflow: hidden;
  height: 716px;
  width: 100%;
}

.specs__sliders-title-container {
  position: relative;
  background-color: var(--bg-brand-color);
  height: 55px;
  width: 100%;
  padding: 20px 16px 0;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.specs__sliders-title {
  display: flex;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.8px;
  margin: 0;
  text-transform: uppercase;
}

.specs__sliders-title::after {
  content: '';
  display: flex;
  height: 15px;
  margin: 5px 0 0 10px;
  border-right: 3px solid var(--brand-color-orange);
}

.specs__link-wrapper {
  position: absolute;
  top: 272px;
  left: 16px;
  height: max-content;
  margin-top: 35px;
  font-family: "Inter", serif, sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: end;
  z-index: 5;
  transition: 0.3s top cubic-bezier(0.61, 1, 0.88, 1);
}

.specs__link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.specs__link-text {
  background: transparent;
  border: 1px solid rgba(120, 138, 168, 0.50);
  border-radius: 100px;
  opacity: 1;
  color: var(--text-color);
  cursor: pointer;
  font-family: "IBMPlexSans";
  font-size: 18px;
  font-weight: 500;
  left: 0;
  letter-spacing: -0.36px;
  margin: 0;
  padding: 13px 40px 15px;
  position: relative;
}

.specs__arrow-left,
.specs__arrow-right {
  display: inline-block;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  aspect-ratio: 1;
  background: var(--brand-color-orange) no-repeat center center;
  background-image: url('/themes/custom/grwpo/images/white-arrow.svg');
  transform: scale(1);
  transition: 0.3s all cubic-bezier(0.61, 1, 0.88, 1);
}
.specs__arrow-left {
  transform: scale(0);
  width: 0;
  height: 0;
}
.specs__link:hover .specs__arrow-right {
  transform: scale(0);
  width: 0;
  height: 0;
}
.specs__link:hover .specs__arrow-left {
  transform: scale(1);
  width: 53px;
  height: 53px;
}

.specs-slide__pagination-container {
  position: absolute;
  bottom: 60px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.specs-slide__pagination .specs-slide__pagination-current {
  font-family: "IBMPlexSans";
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}
.specs-slide__pagination .specs-slide__pagination-separator {
  color: var(--brand-color-orange);
  font-family: "IBMPlexSans";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}
.specs-slide__pagination .specs-slide__pagination-total {
  color: #788AA8;
  font-family: "IBMPlexSans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}

.specs__arrows {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.specs__arrow--prev,
.specs__arrow--next {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 50px;
  justify-content: center;
  pointer-events: auto;
  width: 50px;
  border-radius: 100px;
  background: #B7CADB;
}

.specs__arrow--prev:hover,
.specs__arrow--next:hover {
  background: var(--brand-color-orange);
  opacity: 1;
}

.specs__arrow--prev.is-disabled,
.specs__arrow--next.is-disabled {
  pointer-events: none;
  background: rgba(183, 202, 219, 0.3);
}

.specs__arrow--prev svg,
.specs__arrow--next svg {
  height: 14px;
  position: relative;
  width: 14px;
}

.specs__arrow--prev svg {
  transform: rotate(180deg);
}

.specs__button-change-slider {
  display: flex;
  position: absolute;
  width: 100%;
  top: -55px;
  z-index: 10;
}

.specs__button-change {
  cursor: pointer;
  align-items: center;
  display: flex;
  flex: 0 0 50%;
}

.specs__button-change.is-active {
  /* pointer-events: none; */
  cursor: initial;
}

.specs__button-change .specs__button-change-icon {
  background: #B7CADB;
}

.specs__button-change.is-active .specs__button-change-icon,
.specs__button-change:hover .specs__button-change-icon {
  background: var(--brand-color-orange);
}

.specs__button-change.is-active .specs__button-change-icon-hover,
.specs__button-change:hover .specs__button-change-icon-hover {
  display: unset;
}

.specs__button-change.is-active .specs__button-change-icon-idle,
.specs__button-change:hover .specs__button-change-icon-idle {
  display: none;
}

.specs__button-change-icon {
  align-items: center;
  display: flex;
  height: 55px;
  justify-content: center;
  width: 100%;
}

.specs__button-change-icon-hover {
  display: none;
}

.specs__button-change-icon img {
  height: 23px;
  object-fit: contain;
  width: 23px;
}

@media only screen and (min-width: 768px) {
  .specs__slide {
    height: 990px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .specs__sliders-title-container {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    height: auto;
    width: auto;
    padding: 0;
    justify-content: flex-start;
    margin: 70px 24px 0;
  }
  .specs__link-wrapper {
    top: initial;
    bottom: 89px;
    left: 24px;
    margin-top: 0;
    transition: none;
  }
  .specs-slide__pagination-container {
    bottom: 89px;
    right: 25px;
    width: auto;
    padding: 0;
    gap: 20px;
    justify-content: flex-end;
  }
  .specs-slide__pagination .specs-slide__pagination-current ,
  .specs-slide__pagination .specs-slide__pagination-separator {
    font-size: 30px;
    line-height: 28px;
  }
  .specs-slide__pagination .specs-slide__pagination-total {
    font-size: 20px;
    line-height: 28px;
  }
  .specs__arrow--prev,
  .specs__arrow--next {
    height: 55px;
    width: 55px;
  }
  .specs__arrow--prev svg,
  .specs__arrow--next svg {
    height: 18px;
    width: 18px;
  }
  .specs__button-change-slider {
    width: auto;
    top: 50%;
    left: 0;
    flex-direction: column;
    transform: translateY(-50%);
    /* gap: 1px; */
  }
  .specs__button-change {
    flex: 0 0 auto;
  }
  .specs__button-change-icon {
    height: 55px;
    width: 55px;
  }
}

@media only screen and (min-width: 1024px) {
  .specs__slide {
    height: 770px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
  }
  .specs:not(.no-slider) {
    cursor: none;
  }
  .specs:not(.no-slider) #specs-cursor {
    background-image: url(../../images/cursor-orange.svg);
    background-size: cover;
    height: 100px;
    width: 100px;
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 100;
    cursor: none;
    transform: rotate(0deg);
    transition: transform 350ms cubic-bezier(0.4,0,0.2,1);
  }
  .specs:not(.no-slider) #specs-cursor.cursor--left {
    transform: rotate(-180deg);
  }
  .specs:not(.no-slider) .specs__slide {
    cursor: none;
  }
  .specs:not(.no-slider) .specs__arrows {
    display: none;
  }
  .specs__sliders-title-container {
    margin: 60px 83px 0;
  }
  .specs__link-wrapper {
    bottom: 60px;
    left: 81px;
  }
  .specs-slide__pagination-container {
    bottom: 60px;
    right: 82px;
    gap: 0;
  }
  .specs__button-change-icon {
    height: 60px;
    width: 60px;
  }
  .specs__button-change-icon img {
    height: 27px;
    width: 27px;
  }
}

@media only screen and (min-width: 1366px) {
  .specs__sliders-title-container {
    margin: 47px 112px 0;
  }
  .specs__sliders-title {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .specs__link-wrapper {
    left: 112px;
  }
  .specs-slide__pagination-container {
    right: 111px;
  }
}

@media only screen and (min-width: 1920px) {
  .specs__slide {
    height: 1080px;
  }
  .specs__sliders-title-container {
    margin: 80px 158px 0;
  }
  .specs__sliders-title {
    font-size: 22px;
    letter-spacing: 3.3px;
  }
  .specs__link-wrapper {
    bottom: 100px;
    left: 158px;
  }
  .specs-slide__pagination-container {
    bottom: 100px;
    right: 157px;
  }
  .specs__button-change-icon {
    height: 65px;
    width: 65px;
  }
}
