:root {
  --gap: 6.25vw;
}

@media (min-width: 768px) {
  :root {
    --vertical-gap: 4.6875vw;
  }
}

.mobile {
  display: none;
}

.sticky {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  background-color: #fff;
  overflow: hidden;
}

.home-banner {
  height: calc(100vh - 86px);
}

.home-banner .swiper-container {
  height: 100%;
}

.home-banner .swiper-slide a {
  display: block;
  height: 100%;
}

.home-banner img,
.home-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner .banner-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.home-banner .banner-text .subtitle {
  font-size: 18px;
  font-weight: 600;
}

.home-banner .banner-text .title {
  font-size: 3.333vw;
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0;
}

.home-banner .banner-text .learn-more {
  font-size: 14px;
  text-decoration: underline;
  font-weight: 600;
  display: inline-block;
}

.home-banner .banner-text {
  position: absolute;
}

@media (min-width: 768px) {
  .home-banner .banner-text {
    max-width: 41.667vw;
  }
}

.home-banner .content-left .banner-text {
  left: var(--gap);
  bottom: var(--vertical-gap);
}

.home-banner .content-right .banner-text {
  right: var(--gap);
  bottom: var(--vertical-gap);
}

.home-banner .content-bottom .banner-text {
  text-align: center;
  bottom: var(--vertical-gap);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.home-banner .content-top .banner-text {
  text-align: center;
  top: var(--vertical-gap);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.home-banner .banner-text.text-light {
  color: #fff;
}

.home-banner:hover .navigation-btn {
  display: block;
}

.home-banner .banner-text .title,
.home-banner .banner-text .subtitle,
.home-banner .banner-text .learn-more {
  opacity: 0;
  transform: translateY(-60px);
}

.home-banner .swiper-slide-active .banner-text .title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s linear,
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.home-banner .swiper-slide-active .banner-text .subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s linear 0.1s,
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s;
}

.home-banner .swiper-slide-active .banner-text .learn-more {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s linear 0.2s,
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
}

.recommend-products-container {
  padding: 180px 0 60px;
}

.recommend-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gap);
  box-sizing: content-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}

.recommend-wrapper .left {
  width: 55%;
}

.recommend-wrapper .base-image-container .image-medium:before {
  padding-top: 100%;
}

.recommend-wrapper .right {
  width: 39%;
  font-weight: 600;
  padding-top: 12%;
}

.recommend-wrapper .right .product-name {
  font-size: 4.375vw;
  margin-bottom: 12px;
  font-weight: bold;
  line-height: 1.2;
}

.recommend-wrapper .right .product-info {
  max-width: 90%;
  float: right;
}

.recommend-wrapper .right .description {
  line-height: 1.25;
}

.recommend-wrapper .right .view-more {
  font-size: 14px;
  text-decoration: underline;
  margin-top: 60px;
  display: inline-block;
}

.recommend-wrapper .right .product {
  width: 100%;
  position: relative;
  top: -10%;
  z-index: -1;
  animation: productAnimation 2.5s ease-in-out infinite;
}

@keyframes productAnimation {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

.products-list-container {
  background-color: #000;
  padding-bottom: 120px;
}

.products-list-container .swiper-slide {
  width: 41.667%;
}

.products-list-container .swiper-slide img {
  width: 100%;
  opacity: 0.75;
}

.products-list-container .swiper-slide.swiper-slide-active img {
  opacity: 1;
}

.products-list-container .swiper-slide .learn-more {
  height: 32px;
  line-height: 32px;
  color: #fff;
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
}

.products-list-container .learn-more .content {
  background-color: var(--theme-color);
  position: relative;
  overflow: hidden;
  width: 0;
  transition: all 0.5s;
}

.products-list-container .learn-more .name {
  padding-left: 12px;
  white-space: nowrap;
}

.products-list-container .learn-more i {
  position: absolute;
  top: 50%;
  right: 12px;
  -webkit-transform: translate(200px, -50%);
  transform: translate(200px, -50%);
  opacity: 0;
  font-size: 18px;
  transition: all 0.5s ease 0.2s;
}

.products-list-container .swiper-slide.swiper-slide-active .content {
  width: 100%;
}

.products-list-container .swiper-slide.swiper-slide-active .learn-more i {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  opacity: 1;
}

.products-list-container .view-more {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  margin-top: 60px;
  text-align: center;
}

.products-list-container .view-more a {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
}

.products-list-container .view-more a:hover {
  color: var(--theme-color);
}

.products-list-container .navigation-btn {
  -webkit-transform: translate(0);
  transform: translate(0);
}

.products-list-container .navigation-btn-left,
.products-list-container .navigation-btn-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 25%;
  z-index: 99;
}

.products-list-container .navigation-btn-left {
  left: 0;
}

.products-list-container .navigation-btn-right {
  right: 0;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1d1d1f;
  z-index: 9999;
}

.video-modal video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  height: auto;
  max-height: 100%;
}

.video-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (min-width: 1920px) {
  .recommend-wrapper .right .product-name {
    font-size: 84px;
    width: 110%;
  }
}

@media (max-width: 1200px) {
  .recommend-wrapper .right .product-name {
    font-size: 5vw;
  }

  .products-list-container .view-more {
    font-size: 28px;
  }

  .products-list-container .swiper-slide {
    width: 58.59%;
  }

  .products-list-container .navigation-btn-container {
    display: none;
  }
  .sticky {
    top: 52px;
    height: calc(100vh - 52px);
  }
}

@media (max-width: 767px) {
  :root {
    --gap: 24px;
    --vertical-gap: 60px;
  }

  .mobile {
    display: block;
  }

  .pc {
    display: none;
  }

  .recommend-products-container {
    padding: 120px 0;
  }

  .recommend-wrapper {
    padding: 0;
  }

  .recommend-wrapper .left {
    width: 70%;
    margin-top: -40%;
  }

  .recommend-wrapper .right {
    width: 100%;
    padding-top: 0;
    position: relative;
    z-index: 9;
    padding-bottom: 55%;
  }

  .recommend-wrapper .right .product-info {
    padding-right: 24px;
  }

  .recommend-wrapper .right .product-name {
    font-size: 13vw;
  }

  .recommend-wrapper .right .view-more {
    margin-top: 40px;
  }

  .recommend-wrapper .right .product {
    width: 59.8%;
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
  }

  .products-list-container {
    padding-bottom: 90px;
  }

  .products-list-container .swiper-slide {
    width: 300px;
  }

  .products-list-container .swiper-slide .learn-more {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .video-modal .modal-close {
    top: 8px;
    right: 8px;
  }
}
