.design {
  padding: var(--sp) 0;
  position: relative;
}

.design img {
  display: block;
}

.design__title {
  margin-bottom: 45px;
}

.design__wrapper {
  display: flex;
  align-items: end;
  gap: 30px;
}

.design_content {
  width: 65%;
}

.design .selected-image {
  width: 35%;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.design .selected-image .img-handle {
  position: absolute;
  top: 0;
  left: 45px;
  max-width: 310px;
  height: 100%;
}

.design .selected-image .selected-title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 10px;
  width: 45%;
  color: var(--white);
  font-size: var(--m);
  font-weight: 500;
  line-height: 30px;
  text-align: center;
  background: var(--Blur-first-screen, rgba(255, 255, 255, 0.3));
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}

.design .selected-image .tabs {
  display: none;
}

.design .swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.design .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-selection__wrapper {
  display: flex;
  justify-content: space-between;
  height: 190px;
  gap: 20px;
  margin-bottom: 30px;
}

.color-selection__wrapper .color-selection-swiper {
  display: flex;
}

.color-selection__wrapper .color-selection-swiper img {
  position: relative;
  max-width: 600%;
  margin-left: -120%;
}

.color-selection__wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: calc((100% - 30px) / 2) !important;
}

.color-selection__wrapper a {
  display: block;
  position: relative;
}

.color-selection__wrapper a.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 43px;
  border: 1px solid var(--grey-200);
  background: rgba(255, 255, 255, 0.2) no-repeat 50% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29' fill='none'%3E%3Cpath d='M5.09473 15.8439L11.3656 22.1147L23.9072 8.67725' stroke='white' stroke-width='2.01562' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  width: 43px;
  height: 43px;
  display: block;
}

.color-selection-arrows {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.color-selection__title {
  margin-bottom: 25px;
}

.handle__subtitle {
  max-width: 420px;
  font-size: var(--xs);
  line-height: 133.33%;
  margin-bottom: 30px;
}

.handle-selection a {
  border-radius: 2px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  display: block;
  overflow: hidden;
  width: 85px;
  height: 85px;
}

.handle-selection a img {
  width: 85px;
  max-height: 85px;
  margin: -8px 14px 0;
}

.handle-selection a.active {
  border-color: #9CA3AF;
}

.handle-selection {
  display: flex;
  gap: 19px;
  width: 100%;
}

.handle-selection-swiper {
  flex: 1;
  width: calc(100% - 100px);
  overflow: hidden;
}

@media (max-width: 1260px) {
  .design__wrapper {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .design__wrapper {
    flex-direction: column-reverse;
  }

  .design_content {
    width: 100%;
  }

  .design .selected-image {
    width: 100%;
  }

  .design .selected-image .img-handle {
    top: -5px;
    left: 37px;
    max-width: 220px;
    height: auto;
  }

  .design .selected-image .tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0px 0px 3px 3px;
    background: rgba(74, 74, 74, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    width: 100%;
  }

  .design .selected-image .tabs .tabs_item {
    padding: 24px 15px;
    width: 50%;
    text-align: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
  }

  .design .selected-image .tabs .tabs_item + div {
    border-left: 1px solid var(--grey-300);
  }

  .design .selected-image .tabs .tabs_item.active {
    border-bottom: 3px solid var(--accent);
  }

  .color-selection__wrapper {
    height: 131px;
    display: none;
  }

  .color-selection__wrapper.active {
    display: flex;
  }

  .color-selection__wrapper .swiper-slide {
    height: calc((100% - 12px) / 2) !important;
  }

  .color-selection__title {
    display: none;
  }

  .handle__title {
    display: none;
  }

  .handle__subtitle {
    display: none;
  }

  .handle-selection a {
    height: 60px;
  }

  .handle-selection a img {
    margin: -17px 0 0;
  }

  .handle-selection {
    display: none;
    gap: 10px;
  }

  .handle-selection.active {
    display: flex;
  }
}