/* ===== ABOUT ===== */
.abo {
  background: #fff;
  padding: 120px 0 160px;
  margin-top: 5%;
}

.abo__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 텍스트 */
.abo__head {
  max-width: 720px;
  margin-bottom: 60px;
}

.abo__title {
  font-size: 52px;
  font-weight: 700;
  color: #3db6c6;
  margin-bottom: 14px;
}

.abo__desc {
  font-size: 19px;
  line-height: 1.6;
  color: #666;
}

/* 카드 (절대 고정) */
.abo-card {
  position: relative;
  width: 1800px;
  height: 520px;
  overflow: hidden;
  border-radius: 40px;
  transform: none !important;
  will-change: auto;
  margin-left: auto;
  margin-right: -25%;
}

/* 이미지 래퍼 */
.abo-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 이벤트 차단 */
}

/* 🔥 이미지: GPU 레이어로 분리 */
.abo-img img {
  display: block;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center 22%;

  transform: translate3d(0, 0, 0);
  /* ⬅️ GPU 분리 핵심 */
  will-change: transform;
}

/* 반응형 */
@media (max-width:1024px) {
  .abo-card {
    height: 360px;
    border-radius: 28px;
  }
}

@media (max-width:768px) {
  .abo {
    padding: 80px 0 120px;
  }

  .abo__inner {
    padding: 0 20px;
  }

  .abo__title {
    font-size: 32px;
  }

  .abo-card {
    height: 300px;
    border-radius: 22px;
  }
}

/* ===== MOBILE RESET (이미지 안 보이던 문제 해결) ===== */
@media (max-width: 768px) {

  .abo-card {
    width: 100%;
    /* PC 고정 폭 제거 */
    max-width: 100%;
    height: 260px;

    margin-left: 0;
    margin-right: 0;
    /* 음수 마진 제거 */

    border-radius: 18px;
  }

  /* 이미지 영역 중앙 정렬 */
  .abo-img {
    inset: 0;
    background-position: center center !important;
  }
}






/*************************2번째섹션********************************************************/




/* =====================================
   ✅ HERO SECTION (최종)
===================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

/* ✅ 배경 어두운 오버레이 */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* =====================================
   ✅ BACKGROUND SLIDER
===================================== */

.bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub-category-nav {
  margin-top: 110px;
  /* 헤더 높이만큼만 내려라 */
}

.bg-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 600px;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* 활성 슬라이드 */
.bg-slider .slide.active {
  opacity: 1;
  animation: zoomIn 8s linear forwards;
}

/* 서서히 확대 */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}



/* =====================================
   ✅ LAYOUT
===================================== */

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;

  position: relative;
  z-index: 5;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-top: -10%;
}

/* =====================================
   ✅ TEXT SIDE
===================================== */

.text-side {
  max-width: 520px;
}

.title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.description {
  font-size: 19px;
  max-width: 450px;
  margin-bottom: 45px;
  line-height: 1.7;
  /* opacity: 0.9; */
  color: #fff;
}

/* =====================================
   ✅ CONTROLS (Progress + Buttons)
===================================== */

.controls {
  display: flex;
  align-items: center;
  gap: 18px;

  position: relative;
  z-index: 20;
}

/* progress bar */
.progress-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
}

/* nav buttons */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 버튼 공통 */
.nav-buttons button {
  background: none;
  border: none;
  cursor: pointer;

  color: #fff;
  font-size: 20px;
  font-weight: 700;

  padding: 6px 10px;
  line-height: 1;

  opacity: 1;
  z-index: 50;
}

/* hover */
.nav-buttons button:hover {
  opacity: 0.7;
}

/* pause 버튼 더 크게 */
.pause-btn {
  font-size: 18px;
  letter-spacing: -2px;
}

/* =====================================
   ✅ PRODUCT SIDE (고정 이미지)
===================================== */

.product-side {
  display: flex;
  gap: 18px;
  align-items: flex-end;
}

.hero-section::before {
  display: none;
}

.fixed-prod {
  width: 700px;
  height: auto;
  object-fit: contain;
}


.product-side {
  transform: translate(150px, 81px);
}

/* =====================================
   ✅ SUB CATEGORY NAV
===================================== */

.sub-category-nav {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 22px 0;
}

.category-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;

  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  display: flex;
  align-items: center;
}

.category-item a {
  text-decoration: none;
  font-size: 21px;
  font-weight: 500;
  color: #ccc;
  padding: 0 22px;
  white-space: nowrap;
  transition: 0.25s;
  margin-bottom: 15px;
}

/* active + hover */
.category-item.active a,
.category-item a:hover {
  color: #000;
  font-weight: 700;
}

/* divider */
.category-item:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 14px;
  background: #eee;
}

/* =====================================
   ✅ RESPONSIVE
===================================== */

@media (max-width: 1024px) {
  .title {
    font-size: 2.6rem;
  }

  .fixed-prod {
    width: 110px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 90px 0;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .controls {
    justify-content: flex-start;
  }

  .product-side {
    width: 100%;
    justify-content: center;
    transform: none;
    display: none;
  }

  .fixed-prod {
    width: 300px;
  }

  /* 모바일 nav 스크롤 */
  .sub-category-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 15px 10px;
  }

  .category-list {
    justify-content: flex-start;
  }

  .category-item a {
    font-size: 14px;
    padding: 0 16px;
  }
}

@media (max-width: 768px) {

  .category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 3칸 */
    gap: 12px 0;
    justify-content: center;
    text-align: center;
  }

  .category-item {
    justify-content: center;
  }

  /* 구분선 제거 */
  .category-item::after {
    display: none !important;
  }

  .category-item a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
  }
}












/* =====================================
   ✅ PO FEATURE SECTION
===================================== */

.po-feature {
  width: 100%;
  padding: 140px 0;
  background: #fff;
  overflow: hidden;
}

.po-feature__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

/* 상단 작은 문구 */
.po-feature__eyebrow {
  font-size: 25px;
  font-weight: 600;
  color: #3db6c6;
  margin-bottom: 22px;
}

/* 메인 타이틀 */
.po-feature__title {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.45;
  color: #111;
  margin-bottom: 70px;
}

.po-feature__title strong {
  font-weight: 800;
}

/* 이미지 박스 */
.po-feature__image {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;

}

.po-feature__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =====================================
   ✅ Fade In Scroll Effect
===================================== */

.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  margin-top: -6%;
}

/* =====================================
   ✅ Responsive
===================================== */

@media (max-width: 768px) {
  .po-feature {
    padding: 90px 0;
  }

  .po-feature__title {
    font-size: 24px;
    margin-bottom: 45px;
  }

  .po-feature__eyebrow {
    font-size: 20px;
  }

  .po-feature__image {
    border-radius: 18px;
  }
}










/* =====================================
   ✅ ICON SECTION
===================================== */

.po-icons {
  width: 100%;
  padding: 140px 0;
  background: #fff;
  margin-top: -12%;
}

.po-icons__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px;
  text-align: center;
}

/* 아이템 */
.po-icon img {
  width: 110px;
  height: auto;
  margin-bottom: 32px;
}

/* 제목 */
.po-icon h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 22px;
  color: #111;
}

/* 설명 */
.po-icon p {
  font-size: 15px;
  line-height: 1.7;
  color: #777;
}

/* =====================================
   ✅ Fade Step Animation
===================================== */

.fade-step {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade-step.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   ✅ Responsive
===================================== */

@media (max-width: 1024px) {
  .po-icons__inner {
    gap: 70px;
  }
}

@media (max-width: 768px) {
  .po-icons {
    padding: 90px 0;
  }

  .po-icons__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 30px;
  }

  .po-icon img {
    width: 65px;
  }

  .po-icon h3 {
    font-size: 19px;
  }

  .po-icon p {
    font-size: 14px;
  }
}











/* =====================================
   ✅ HOW TO SECTION
===================================== */

.po-howto {
  width: 100%;
  padding: 140px 0;
  background: #39b4c4;
  /* ✅ 시안 청록 */
}

.po-howto__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
}

/* TITLE */
.po-howto__title {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 70px;
}

/* GRID */
.po-howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* CARD */
.how-card {
  background: #fff;
  border-radius: 22px;
  padding: 38px 34px;
  text-align: left;
  min-height: 280px;
  position: relative;
}



/* GRID */
.po-howto__grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

/* CARD */
.how-card1 {
  background: #fff;
  border-radius: 22px;
  padding: 36px 34px;
  text-align: left;
  min-height: 280px;
  position: relative;
}











/* NUMBER */
.how-num {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;

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

/* HEAD */
.how-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-top: 20px;
}

.how-head h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.how-head img {
  width: 108px;
  height: auto;
}

/* TEXT */
.how-card p {
  font-size: 16px;
  line-height: 1.65;
  color: #666;
}

/* =====================================
   ✅ Fade Animation
===================================== */

.fade-step {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.1s ease;
}

.fade-step.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   ✅ Responsive
===================================== */

@media (max-width: 1024px) {
  .po-howto__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .how-card {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .po-howto {
    padding: 90px 0;
  }

  .po-howto__title {
    font-size: 32px;
    margin-bottom: 45px;
  }

  .po-howto__inner {
    padding: 0 25px;
  }
}

















/* =====================================
   ✅ PRODUCTS SECTION
===================================== */

.po-products {
  width: 100%;
  padding: 150px 0;
  background: #fff;
  text-align: center;
}

/* TITLE */
.po-products__title {
  font-size: 44px;
  font-weight: 800;
  color: #39b4c4;
  margin-bottom: 90px;
}

/* GRID */
.po-products__grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.prod-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

/* IMAGE */
.prod-img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prod-img img {
  width: 65%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

/* HOVER OVERLAY */
.prod-hover {
  position: absolute;
  inset: 0;
  background: rgba(57, 180, 196, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Hover Text */
.prod-hover h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

/* ✅ Hover Effect */
.prod-card:hover .prod-hover {
  opacity: 1;
}

.prod-card:hover img {
  opacity: 0.15;
}

/* =====================================
   ✅ Responsive
===================================== */

@media (max-width: 1024px) {
  .po-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .po-products {
    padding: 100px 0;
  }

  .po-products__title {
    font-size: 32px;
    margin-bottom: 55px;
  }

  .po-products__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 30px;
  }

  .prod-img img {
    width: 55%;
  }
}


/**********************상품상세 css**********************************************************************/


/* =====================================
   ✅ PRODUCT DETAIL SECTION
===================================== */

.prd-detail {
  position: relative;
  width: 100%;
  padding: 140px 0;
  background: #fff;
  overflow: hidden;
  margin-top: -6%;
}

/* 회색 배경 (하단 전체) */
.prd-detail__bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  background: #f5f5f5;
  z-index: 0;
}

/* BACK BUTTON */
.prd-back {
  position: absolute;
  top: 55px;
  left: 70px;
  z-index: 20;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 999px;

  background: #fff;
  border: 1px solid #ddd;

  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  transition: all 0.25s ease;
}

/* Hover */
.prd-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-color: #bbb;
}

/* 모바일 */
@media(max-width:768px) {
  .prd-back {
    top: 25px;
    left: 20px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* INNER */
.prd-detail__inner {
  position: relative;
  z-index: 5;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;

  display: flex;
  align-items: center;
  gap: 90px;
}

/* LEFT IMAGE */
.prd-detail__img img {
  width: 420px;
  max-width: 100%;
  display: block;
}

/* RIGHT CONTENT */
.prd-detail__info {
  flex: 1;
}

.prd-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000;
}

.prd-sub {
  font-size: 20px;
  color: #666;
  margin-bottom: 55px;
  font-weight: 400;
}

/* ICON ROW */
.prd-icons {
  display: flex;
  gap: 45px;
  align-items: flex-start;
}

/* EACH ICON */
.prd-icon {
  display: flex;
  flex-direction: column;
  /* ✅ 무조건 세로 */
  align-items: center;
  /* ✅ 가운데 */
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  /* 아이콘-글자 간격 */
}

.prd-icon img {
  width: 81px;
  height: auto;
  margin-bottom: 14px;
}

.prd-icon span {
  font-size: 18px;
  line-height: 1.4;
  color: #111;
  font-weight: 500;
}

/* =====================================
   ✅ Responsive
===================================== */

@media (max-width: 1024px) {
  .prd-detail__inner {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .prd-icons {
    justify-content: center;
  }

  .prd-back {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .prd-detail {
    padding: 100px 0;
  }

  .prd-title {
    font-size: 30px;
  }

  .prd-icons {
    flex-direction: column;
    gap: 28px;
  }

  .prd-icon {
    max-width: none;
  }

  .prd-detail__bg {
    height: 55%;
    display: none;
  }
}

@media (max-width: 768px) {

  /* 아이콘 전체는 다시 가로로 */
  .prd-icons {
    flex-direction: row !important;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  /* 각 아이콘 박스 폭 동일하게 */
  .prd-icon {
    width: 110px;
    /* ✅ 폭 고정 */
    min-height: 120px;
    /* ✅ 높이 맞춰서 삐뚤 방지 */

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

    text-align: center;
  }

  /* 텍스트 크기 줄이고 줄간격 맞춤 */
  .prd-icon span {
    font-size: 12px;
    line-height: 1.35;
    word-break: keep-all;
  }

  /* 아이콘 크기 살짝 축소 */
  .prd-icon img {
    width: 54px;
  }
}