@charset "UTF-8";

/* ── PAGE WATERMARK BACKGROUND (HIDDEN ON MOBILE) ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.home-watermark {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  height: 340px;
}
.home-watermark img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  user-select: none;
}
@media (min-width: 768px) {
  .home-watermark {
    display: flex;
  }
}

.home-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.home-stack__search {
  order: 2;
}
.home-stack__banner {
  order: 1;
}

@media (min-width: 768px) {
  .home-stack__search {
    order: 1;
  }
  .home-stack__banner {
    order: 2;
  }
}

/* ── SEARCH CSS ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.search-section {
  padding: 0 0 24px 0;
}
@media (min-width: 768px) {
  .search-section {
	margin-top: 180px;
	margin-bottom: 110px;
  }
}
.search-section__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-section__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.search-section__title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: -60px;
  margin: auto;
}
.search-section__panel {
  width: 100%;
}

/* ── BRAND-BANNER-CAROUSEL CSS 3D ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.bbc {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-white);
  padding-top: 90px;
  padding-bottom: 48px;
}
.bbc__wrap {
  position: relative;
  z-index: 10;
  width: 100%;
}
/* perspective + preserve-3d come from Swiper's `.swiper-3d` (swiper.min.css).
   slidesPerView is 'auto', so each slide's WIDTH is fixed here (not by Swiper):
   side slides are ~10% wider than the centered one to offset the panorama
   foreshortening (rotate 25° → 1/cos25° ≈ 1.10). */
.bbc__swiper {
  width: 100%;
  overflow: visible;
}
.bbc__slide {
  position: relative;
  flex-shrink: 0;
  width: 286px;
  height: 210px;
  overflow: hidden;
  border-radius: 8px;
}
.bbc__slide.swiper-slide-active {
  width: 260px;
}
.bbc__imagebox {
  position: relative;
  width: 100%;
  height: 100%;
}
.bbc__imagebox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bbc__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-neutral-75);
}
@media (min-width: 768px) {
  .bbc {
    padding-top: 64px;
    padding-bottom: 64px;
    background: transparent;
  }
  .bbc__slide {
    width: 418px;
    height: 350px;
  }
  .bbc__slide.swiper-slide-active {
    /* width: 380px; */
    width: 430px;
  }
}

/* ── FEATURED-PRODUCT-SECTION CSS ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.fps {
  margin-top: 58px;
  scroll-margin-top: 56px;
}
.fps__container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.fps .section-header {
  padding: 0 20px;
}
.fps .section-header__desc {
  width: 199px;
}

.fps__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 0 20px;
}
.fps__tab {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--color-neutral-300-warm);
  background: var(--color-white);
  font-size: 14px;
  line-height: 26px;
  color: var(--color-neutral-500-warm);
  transition:
    color 0.2s var(--ease-brand),
    border-color 0.2s var(--ease-brand),
    background 0.2s var(--ease-brand);
}
.fps__tab:hover {
  border-color: var(--color-brand-red);
  color: var(--color-brand-red);
}
.fps__tab.is-active {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}
.fps__tab.is-active:hover {
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
  color: var(--color-white);
}

.fps__layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 52px;
  width: 100%;
}
.fps__brandlist {
  display: none;
}

.fps__product {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.fps__product-bg {
  position: absolute;
  left: 20px;
  width: 100%;
  height: 160px;
  margin-top: 76px;
  z-index: 0;
  opacity: 0.95;
  background: var(--color-neutral-100);
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}
.fps__pg-top {
  display: none;
}
.fps__product-col {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 48px;
  justify-content: center;
  align-items: center;
}

.fps__product--entering {
  animation: fps-product-slide 0.65s cubic-bezier(0.4, 0.31, 0.19, 1) both;
}
@keyframes fps-product-slide {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.fps__product-imgwrap {
  max-height: 264px;
  height: 264px;
  display: flex;
}
.fps__product-img {
  position: relative;
  z-index: 10;
  object-fit: contain;
  object-position: bottom;
}
.fps__product-info {
  position: relative;
  margin-top: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fps__product-info .brand-wrapper {
  padding: 8px;
  width: 204px;
  height: 48px;
}
.fps__product-info .brand-logo {
  height: 36px;
}
.fps__product-desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-black);
}
.fps__pg-mobile {
  margin-top: 22px;
}
.fps__viewmore {
  display: none;
}
.fps__empty {
  display: flex;
  height: 100px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 14px;
  color: var(--color-neutral-500);
}

@media (min-width: 768px) {
  .fps {
    scroll-margin-top: 88px;
  }
  .fps__container {
    align-items: center;
  }
  .fps .section-header__desc {
    width: auto;
  }
  .fps__tabs {
    margin-top: 36px;
  }
  .fps__tab {
    height: 42px;
    padding: 8px 32px;
    font-size: 16px;
    line-height: 26px;
  }
  .fps__layout {
    display: grid;
    grid-template-columns: auto 1fr;
    margin-top: 66px;
  }
  .fps__brandlist {
    display: grid;
    margin: 50px 0 50px 20px;
    gap: 16px;
    justify-self: end;
    overflow-y: auto;
    max-height: 560px;
    padding-right: 10px;
    width: fit-content;
    grid-template-columns: repeat(2, 170px);
    scrollbar-width: thin;
    scrollbar-color: #888888 transparent;
  }
  .fps__tile {
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-neutral-200-warm);
    background: var(--color-white);
    color: var(--color-black);
    transition: border-color 0.2s var(--ease-brand);
    gap: 8px;
    padding: 12px;
    max-width: 170px;
    max-height: 80px;
    aspect-ratio: 170 / 80;
  }
  .fps__tile:hover {
    border-color: var(--color-brand-red);
  }
  .fps__tile .brand-wrapper {
    width: 100%;
    height: 100%;
  }
  .fps__product {
    margin: 40px 0 40px 40px;
    justify-content: flex-start;
    width: auto;
  }
  .fps__product-bg {
    height: 270px;
    margin-top: 112px;
  }
  .fps__product-imgwrap {
    height: 426px;
    min-height: 426px;
    max-width: 450px;
  }
  .fps__product-info {
    min-width: 448px;
  }
  .fps__product-desc {
    margin-top: 16px;
    font-size: 20px;
    line-height: 32px;
  }
  .fps__pg-top {
    display: block;
    position: absolute;
    top: 62px;
    right: 20%;
    z-index: 10;
  }
  .fps__pg-mobile {
    display: none;
  }
  .fps__viewmore {
    display: block;
    margin-top: 32px;
  }
}
@media (min-width: 1366px) {
  .fps__layout {
    grid-template-columns: 1fr 1fr;
  }
  .fps__brandlist {
    justify-self: end;
    width: fit-content;
    grid-template-columns: repeat(3, 232px);
  }
  .fps__tile {
    max-width: 232px;
    max-height: 116px;
    aspect-ratio: 232 / 116;
  }
}

.fps__tile {
  opacity: 0;
  transform: scale(0.75);
  transition:
    opacity 0.5s var(--ease-brand),
    transform 0.5s var(--ease-brand),
    border-color 0.2s var(--ease-brand),
    background 0.2s var(--ease-brand);
  transition-delay: var(--reveal-delay, 0ms);
}

.fps__brandlist.brand-tiles-revealed .fps__tile {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .fps__tile {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── BRAND-VIDEO-SECTION CSS ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.bvs {
  overflow: hidden;
}
.bvs__container {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  margin-top: 121px;
}
.bvs .secondary-button {
  margin-top: 28px;
}
.bvs__swiperwrap {
  width: 100%;
  overflow: hidden;
  margin-top: 18px;
  padding: 32px 0;
}
.bvs__swiper {
  width: 100%;
  overflow: visible;
  min-height: 198px;
}
.bvs__swiper .swiper-wrapper {
  align-items: center;
}
.bvs__slide {
  width: 310px;
  height: 178px;
}
.bvs__slide.swiper-slide {
  width: 280px;
  height: 160px;
  transition:
    width 0.3s var(--ease-brand),
    height 0.3s var(--ease-brand);
}
.bvs__slide.swiper-slide-active {
  width: 310px;
  height: 174px;
}
.bvs__card {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: center;
}
.bvs__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bvs__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s var(--ease-brand);
}
.bvs__card:hover .bvs__play,
.bvs__slide.swiper-slide-active .bvs__play {
  opacity: 1;
}
.bvs__play .ap-icon {
  color: var(--color-white);
  font-size: 40px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}
@media (min-width: 768px) {
  .bvs__container {
    align-items: center;
    margin-top: 144px;
  }
  .bvs .secondary-button {
    margin-top: 32px;
  }
  .bvs__swiperwrap {
    margin-top: 54px;
  }
  .bvs__swiper {
    min-height: 364px;
  }
  .bvs__slide.swiper-slide {
    width: 540px;
    height: 300px;
  }
  .bvs__slide.swiper-slide-active {
    width: 634px;
    height: 355px;
  }
  .bvs__play .ap-icon {
    font-size: 75px;
  }
}
