/*--- Common ---*/

.window-page img,
.apfelwindow-page img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  top: 0;
  left: 0;
}

/*--- Window, Apfelwindow page ---*/

.window-page,
.apfelwindow-page {
  position: relative;
  width: 100%;
}

.window-page .visual-section,
.apfelwindow-page .visual-section {
  margin-top: 0;
  margin-bottom: 8rem;
}

.window-page .visual-section .title,
.apfelwindow-page .visual-section .title {
  position: relative;
  display: flex;
  padding: 25vh 5% 0;
}

.window-page .visual-section .text,
.apfelwindow-page .visual-section .text {
  padding-left: 5%;
  margin-top: 1.5rem;
  transform: translateX(10px);
}

.window-page .service-section {
  width: 100%;
  height: 100vh;
  margin-bottom: 15rem;
}

.apfelwindow-page .product-section .cont-wrapper {
  flex-direction: row-reverse;
}

.apfelwindow-page .service-section {
  width: 100%;
  height: 100vh;
  margin-bottom: 15rem;
}

@media (max-width: 1024px) {
  /*--- Common ---*/
  .window-page .visual-section,
  .apfelwindow-page .visual-section {
    margin-top: 0;
    margin-bottom: 6.25rem;
  }

  .window-page .visual-section .text,
  .apfelwindow-page .visual-section .text {
    margin-top: 0.625rem;
    transform: unset;
  }

  .window-page .service-section {
    width: 100%;
    height: unset;
    margin-bottom: 11.25rem;
  }

  .apfelwindow-page .service-section {
    width: 100%;
    height: unset;
    margin-bottom: 11.25rem;
  }
}

/*--- Color Common Template ---*/
.color-comm-temp {
  width: 100%;
  margin: 15rem 0;
  position: relative;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.color-comm-temp .left-cont {
  position: relative;
  text-align: left;
  width: 45%;
}

.color-comm-temp .right-cont {
  position: relative;
  display: flex;
  width: 45%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.color-comm-temp .viewmore-icon {
  display: none;
  margin-top: 7.5rem;
}

.color-section .color-comm-temp .viewmore-icon {
  display: inline-block;
}

.type-section .color-comm-temp .left-cont {
  min-width: 31.875rem;
}

@media (max-width: 1024px) {
  .color-comm-temp {
    margin: 11.25rem 0;
    padding: 0;
  }

  .color-comm-temp .left-cont,
  .color-comm-temp .right-cont {
    width: 100%;
  }

  .color-comm-temp .left-cont {
    margin-bottom: 2.5rem;
    padding: 0 5%;
  }

  .color-comm-temp .left-cont .img-cont {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
  }

  .color-comm-temp .viewmore-icon {
    margin-top: 1.25rem;
  }

  .type-section .color-comm-temp .left-cont {
    min-width: unset;
  }
}

/*--- Structure Common Template ---*/

.structure-comm-temp {
  width: 100%;
  margin: 15rem 0;
  position: relative;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
}

.structure-comm-temp .cont-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8%;
}

.structure-comm-temp .left-cont {
  position: relative;
  text-align: left;
  width: 45%;
  flex-grow: 1;
}

.structure-comm-temp .left-cont .subtext {
  color: var(--clr-gray2);
  margin-top: 0.625rem;
  margin-bottom: 5rem;
}

.structure-comm-temp .img-cont {
  position: relative;
  width: 100%;
  height: 100%;
}

.structure-comm-temp .right-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 45%;
  flex-grow: 1;
}

.structure-comm-temp .right-cont li {
  display: flex;
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid var(--clr-gray5);
}

.structure-comm-temp .right-cont li:first-child {
  border-top: 1px solid var(--clr-gray5);
}

.structure-comm-temp .right-cont li span {
  margin-right: 1.25rem;
}

.structure-comm-temp .right-cont li div p:last-child {
  margin-top: 0;
  color: var(--clr-gray2);
  word-break: break-all;
}

.apfelwindow-page .structure-comm-temp .title-cont {
  margin-bottom: 5rem;
}

.apfelwindow-page .structure-comm-temp .right-cont li {
  padding: 2rem 0;
}

@media (max-width: 1024px) {
  .structure-comm-temp {
    margin: 7.5rem 0;
  }

  .structure-comm-temp .cont-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .structure-comm-temp .left-cont,
  .structure-comm-temp .right-cont {
    width: 100%;
  }

  .structure-comm-temp .left-cont .subtext {
    margin-bottom: 2rem;
  }

  .structure-comm-temp .left-cont .img-cont {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
  }

  .structure-comm-temp .right-cont li,
  .apfelwindow-page .structure-comm-temp .right-cont li {
    padding: 1.25rem 0.625rem;
  }

  .structure-comm-temp .right-cont li span {
    margin-right: 0.625rem;
  }

  .structure-comm-temp .right-cont li div p:last-child {
    margin-top: 0.25rem;
  }
}

/*--- Hardware Common Template ---*/

.hardware-comm-temp {
  width: 100%;
  margin: 15rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hardware-comm-temp .mix-title-cont {
  margin-left: auto;
  padding-right: 26%;
}

.hardware-comm-temp .cont-wrapper {
  width: 100%;
}

.hardware-comm-temp .swiper {
  position: relative;
}

.hardware-comm-temp .swiper-wrapper {
  position: relative;
}

.hardware-comm-temp .swiper .img-cont {
  position: relative;
  width: 100%;
  aspect-ratio: 1.7/1;
  margin-bottom: 2.5rem;
}

.hardware-comm-temp .swiper .text-cont {
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
}

.hardware-comm-temp .swiper .text-cont span:last-child {
  margin-left: 1.25rem;
  color: var(--clr-gray2);
}

.hardware-comm-temp .swiper .swiper-slide.swiper-slide-active {
  z-index: 999;
}

.hardware-comm-temp .swiper .swiper-slide.swiper-slide-active .text-cont,
.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-prev,
.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-next {
  opacity: 1;
}

.hardware-comm-temp .swiper .swiper-slide {
  position: relative;
}

.hardware-comm-temp .swiper .swiper-slide .swiper-button-next,
.hardware-comm-temp .swiper .swiper-slide .swiper-button-prev {
  opacity: 0;
  position: absolute;
  top: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 50%;
  border: 1px solid var(--clr-gray2);
  background: rgba(255, 255, 255, 0.5);
}

.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-next::after,
.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-prev::after {
  content: "";
}

.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-prev {
  left: -6.875rem;
}

.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-next {
  right: -6.875rem;
}

.hardware-comm-temp
  .swiper
  .swiper-slide.swiper-slide-active
  .swiper-button-prev
  i {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .hardware-comm-temp {
    margin: 11.25rem 0;
  }

  .hardware-comm-temp .cont-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .hardware-comm-temp .mix-title-cont {
    padding-right: 5%;
  }

  .hardware-comm-temp .title {
    flex-direction: column-reverse;
  }

  .hardware-comm-temp .swiper .text-cont span:last-child {
    line-height: 1.6875rem;
  }

  .hardware-comm-temp .swiper .img-cont {
    aspect-ratio: 1/1;
  }

  .hardware-comm-temp .swiper .text-cont {
    align-items: start;
  }

  .hardware-comm-temp .swiper .text-cont span:first-child {
    flex: none;
  }

  .hardware-comm-temp
    .swiper
    .swiper-slide.swiper-slide-active
    .swiper-button-prev {
    left: -5%;
  }

  .hardware-comm-temp
    .swiper
    .swiper-slide.swiper-slide-active
    .swiper-button-next {
    right: -5%;
  }

  .material-section .hardware-comm-temp .title-cont .title {
    justify-content: end;
  }
}

/*--- Window Common Template ---*/

.window-comm-temp {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0 5%;
}

.window-comm-temp .cont-wrapper {
  display: flex;
  flex-direction: column;
}

.window-comm-temp .left-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-align: left;
  width: 45%;
  flex-grow: 1;
}

.window-comm-temp .left-cont .subtext {
  color: var(--clr-gray2);
  margin-top: 0.625rem;
  margin-bottom: 5rem;
}

.window-comm-temp .right-cont {
  display: flex;
  width: 50%;
  aspect-ratio: 1/0.96;
  position: relative;
  max-width: 51.875rem;
}

.window-comm-temp .right-cont .img-cont {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.window-comm-temp .right-cont .img-cont.active {
  display: block;
}

.window-comm-temp .cont-wrapper .divider {
  width: 1px;
  height: 3rem;
  background-color: #c6c6c6;
  margin: 0;
  opacity: 1;
  border: none;
  position: relative;
  left: 2.25rem;
}

.window-comm-temp .cont-item:last-child + .divider {
  display: none;
}

.window-comm-temp .left-cont .cont-item {
  display: flex;
  width: 100%;
  align-items: start;
  position: relative;
  aspect-ratio: 4 / 1;
  max-height: 6.875rem;
}

.window-comm-temp .left-cont .cont-item > div {
  flex: 1;
}

.window-comm-temp .left-cont .cont-item.active span {
  border-color: var(--clr-gray1);
  color: var(--clr-gray1);
}

.window-comm-temp .left-cont .cont-item.active div * {
  opacity: 1;
  transition: opacity 0.5s linear;
}

.window-comm-temp .left-cont .cont-item .img-cont.mo_only {
  display: none;
}

.window-comm-temp .left-cont .cont-item:last-child {
  margin-bottom: 0;
}

.window-comm-temp .left-cont .cont-item span {
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 1.25rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--clr-gray2);
  color: var(--clr-gray2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background-color: var(--clr-bg);
  z-index: 99;
}

.window-comm-temp .left-cont .cont-item div * {
  opacity: 0.5;
}

.window-comm-temp .left-cont .cont-item .adm-edit-btn,
.window-comm-temp .left-cont .cont-item .adm-edit-btn * {
  opacity: 1 !important;
}

.window-comm-temp .left-cont .cont-item div p:last-child {
  margin-top: 0.625rem;
  color: var(--clr-gray2);
}

.window-comm-temp .left-cont .cont-item hr {
  position: absolute;
  left: 2rem;
  height: 100%;
  width: 1px;
  z-index: -1;
}

.window-comm-temp .cont-wrapper .sticky-cont li:last-child hr {
  display: none;
}

@media (max-width: 1024px) {
  .window-comm-temp {
    margin: 0;
    margin-bottom: 6.25rem;
    flex-direction: column;
    height: unset;
    position: relative;
  }

  .window-comm-temp .cont-wrapper {
    margin-top: 0;
    overflow: visible;
  }

  .window-comm-temp .cont-wrapper .sticky-cont {
    height: 100%;
    width: 100%;
  }

  .window-comm-temp .cont-wrapper .cont-item {
    height: auto;
    max-height: unset;
    aspect-ratio: unset;
    padding-bottom: 9.375rem;
  }

  .window-comm-temp .cont-wrapper .cont-item:last-child {
    padding-bottom: 0;
  }

  .window-comm-temp .left-cont {
    justify-content: unset;
  }

  .window-comm-temp .left-cont,
  .window-comm-temp .right-cont {
    width: 100%;
  }

  .window-comm-temp .left-cont .mix-title-cont {
    position: sticky;
    top: 0;
    z-index: 999;
    margin-top: 5rem;
  }

  .window-comm-temp .left-cont .cont-item .img-cont {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    margin-top: 1.25rem;
  }

  .window-comm-temp .left-cont .cont-item span {
    width: 3rem;
    height: 3rem;
  }

  .window-comm-temp .left-cont .cont-item hr {
    display: block;
    position: absolute;
    top: 0;
    left: 1.5rem;
    height: 100%;
    width: 1px;
  }

  .window-comm-temp .left-cont .subtext {
    margin-bottom: 2rem;
  }

  .window-comm-temp .right-cont {
    display: none;
  }
}

/*--- Checklist Section ---*/
.checklist-section {
  width: 100%;
  margin: 15rem 0;
  position: relative;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.checklist-section img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

.checklist-section .top-cont > p {
  color: var(--clr-gray1);
  line-height: 1.7;
}

.checklist-section .top-cont {
  position: relative;
  text-align: left;
  width: 100%;
  margin-bottom: 7.5rem;
}

.checklist-section .bottom-cont {
  position: relative;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.checklist-section .bottom-cont li {
  display: inline-flex;
  width: 31%;
  border: 1px solid var(--clr-gray5);
  padding: 1.25rem;
  align-items: center;
}

.checklist-section .bottom-cont li .img-cont {
  width: 33%;
  aspect-ratio: 1/1;
  position: relative;
  margin-right: 2.5rem;
  max-width: 8.75rem;
}

.checklist-section .bottom-cont li .text-cont {
  width: 65%;
}

.checklist-section .bottom-cont li .text-cont p:first-child {
  margin-bottom: 0.625rem;
  font-weight: 300;
}

.checklist-section .bottom-cont li .text-cont p:last-child {
  color: var(--clr-gray2);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .checklist-section {
    margin: 0 0 11.25rem 0;
  }

  .checklist-section .title-cont .kr-title {
    display: block;
    margin-top: 0;
  }

  .checklist-section .top-cont,
  .checklist-section .bottom-cont {
    width: 100%;
  }

  .checklist-section .top-cont {
    margin-bottom: 2.5rem;
  }

  .checklist-section .bottom-cont {
    gap: 0;
  }

  .checklist-section .bottom-cont li {
    width: 100%;
    border-bottom: none;
    align-items: center;
  }

  .checklist-section .bottom-cont li:last-child {
    border-bottom: 1px solid var(--clr-gray5);
  }

  .checklist-section .bottom-cont li .text-cont {
    width: 100%;
  }

  .checklist-section .bottom-cont li .text-cont p:first-child {
    margin: 0;
  }

  .checklist-section .bottom-cont li .img-cont {
    width: auto;
    height: 4rem;
    margin-right: 1.25rem;
  }
}
