/* =========================================================
   1) TITLE SECTION (1280 x 422)
========================================================= */
.sub-title-section{
  width: 100%;
  background: #fff;
}

.sub-title-section__inner{
  position: relative;

  width: 100%;
  max-width: 1280px;
  height: 422px;

  margin: 0 auto;
  box-sizing: border-box;

  /* ✅ 위/아래 패딩 140 */
  padding: 140px 0;

  /* ✅ 패딩 제외한 가운데 영역에서 중앙정렬 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-title-box{
  position: relative;

  height: 96px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

/* point (page_point.svg) */
.page-point{
  position: absolute;
  width: 15px;
  height: 15px;

  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 40%);

  display: block;
  pointer-events: none;
}

/* =========================================================
   2) PRODUCT SECTION (1280 x 2200)
========================================================= */
.sub-product-section {
  width: 100%;
  background: var(--c-white);
}

.sub-product-section__inner {
  width: 100%;
  max-width: 1280px;
  height: 2200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 140px 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* 제품 블록 (1280 x 296) */
.product-block {
  width: 100%;
  height: 296px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
}

.product-block__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

/* 필터 탭 */
.product-filter {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22.13px;
  padding: 40px 0;
}

.product-filter__btn {
  width: 120px;
  height: 48px;
  border: none;
  border-radius: 30px;
  background: var(--c-dk-f);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.product-filter__btn--wide {
  width: 135px;
}

.product-filter__btn.is-on {
  background: var(--c-dk-b);
  color: var(--c-white);
}

/* 제품 카드 */
.product-card {
  width: 405.33px;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-card__img {
  position: relative;
  width: 405.33px;
  height: 405.33px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
}

/* 호버: 배경 흐림 (아이콘 영역만) */
.product-card__img::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  z-index: 1;
}

/* 호버: detail 아이콘 */
.product-card__img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: url("/img/detail.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  z-index: 2;
}

.product-card__img:hover::before,
.product-card__img:hover::after {
  opacity: 1;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.product-card__img:hover img {
  transform: scale(1.08);
}

.product-card__info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10.83px;
}

.product-tag {
  width: 68px;
  height: 27px;
  border: 0.5px solid var(--c-g0);
  background: var(--c-dk-f);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-br-mobile { display: none; }

/* 태블릿: 제품 섹션 */
@media (min-width: 800px) and (max-width: 1279px) {
  .product-block {
    height: 285px;
    padding-bottom: 20px;
  }
  .product-filter {
    padding: 40px 0 20px;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .product-filter__btn {
    width: 120px;
    height: 48px;
    flex-shrink: 0;
  }
  .product-filter__btn--wide {
    width: 135px;
  }
}

/* 모바일: 제품 섹션 */
@media (max-width: 799px) {
  .sub-product-section__inner {
    padding: 140px 20px;
  }
  .product-block {
    height: 313px;
    padding-bottom: 20px;
  }
  .product-filter {
    padding: 40px 0 20px;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-filter::-webkit-scrollbar {
    display: none;
  }
  .product-filter__btn {
    width: 120px;
    height: 48px;
    flex-shrink: 0;
  }
  .product-filter__btn--wide {
    width: 135px;
  }
  .product-br-mobile { display: inline; }

  .product-card {
    width: 335px;
  }
  .product-card__img {
    width: 335px;
    height: 335px;
  }
}

/* 라이트박스 크기 오버라이드 */
.lightbox__img {
  width: 500px;
  height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* COLOR BOX PRODUCTION LINE (padding 하단 라인에 붙이기) */
.sub-title-sub{
  position: absolute;
  left: 50%;
  bottom: 140px;
  transform: translateX(-50%);

  width: fit-content;

  height: 29px;
  line-height: 29px;

  white-space: nowrap;
  text-align: center;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}