@charset "UTF-8";

/* ==========================================
   NEOK JAPAN - 製品案内 전용 스타일 (product.css)
   ========================================== */

/* ------------------------------------------
   1. 상단 브레드크럼 & 타이틀 Header
   ------------------------------------------ */
.page-header {
  padding: 40px 0 50px;
  background-color: var(--white);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--text-gray);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--main-navy);
}

.breadcrumb .separator {
  margin: 0 10px;
  color: #cbd5e0;
  font-weight: 300;
}

.breadcrumb .current {
  color: var(--main-navy);
  font-weight: 600;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-navy);
  letter-spacing: -0.5px;
}

/* ------------------------------------------
   2. 제품 리스트 Section
   ------------------------------------------ */
.product-list-section {
  background-color: var(--white);
  padding-bottom: 100px;
}

.container {
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 20px;
}

.product-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}

.product-list-item:first-child {
  padding-top: 0;
}

.product-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ------------------------------------------
   3. 텍스트 영역 (좌측)
   ------------------------------------------ */
.product-text-box {
  flex: 1;
  max-width: 50%;
}

.product-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--main-navy);
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 30px;
  /* [수정] 모바일 화면 넘어침 방지 및 부드러운 줄바꿈 처리 */
  white-space: normal;
  word-break: break-word;     /* 긴 단어나 연속 문장도 폭에 맞게 부드럽게 줄바꿈 */
  overflow-wrap: break-word;
}

/* ------------------------------------------
   4. 원형 화살표 버튼
   ------------------------------------------ */
.circle-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--main-navy);
  transition: all 0.3s ease;
  text-decoration: none;
}

.circle-arrow-btn:hover {
  background-color: #1a3c6b;
  transform: translateX(6px);
}

.arrow-icon {
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  margin-right: 4px;
}

/* ------------------------------------------
   5. 이미지 영역 (우측)
   ------------------------------------------ */
.product-image-box {
  flex-shrink: 0;
  width: 45%;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
  border-radius: 8px;
  background-color: #f8fafc;
}

.product-image-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-list-item:hover .product-image-box img {
  transform: scale(1.05); 
}

/* ------------------------------------------
   6. 모바일 반응형 (900px 이하)
   ------------------------------------------ */
@media screen and (max-width: 900px) {
  .product-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0;
  }

  .product-text-box {
    max-width: 100%;
    order: 2; 
  }

  .product-image-box {
    width: 100%;
    order: 1; 
  }

  .product-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .product-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* 💡 모바일에서는 버튼 숨김 (이미지 터치로 이동) */
  .circle-arrow-btn {
    display: none;
  }
}

/* 모바일 추가 분기 (768px 이하) */
@media (max-width: 768px) {
  .page-header {
    padding: 25px 0 30px;
  }
  
  .page-title {
    font-size: 24px;
  }
}

/* PC용 기본 설정 */
.pc-only-br {
  display: inline;
}

/* 768px 이하 모바일 반응형 */
@media (max-width: 768px) {
  /* 모바일에서는 PC용 강제 줄바꿈(<br>)을 숨겨서 문장이 흐르듯 자동 줄바꿈되게 함 */
  .pc-only-br {
    display: none;
  }
}