
/* 전체 레이아웃 */
.product-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0px 200px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
}

/* 제품명 */
.product-detail h2 {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: bold;
}

/* 콘텐츠 영역 - 좌우 나뉨 */
.product-content {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}

/* 좌측 이미지 영역 */
.product-images {
  flex: 1 1 440px;
  position: relative;
}

.product-images .main-image {
  width: 100%;
  border: 1px solid #ddd;
}

.thumb-list {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;

}

.thumb-list img {
  width: 138px;
  height: 138px;
  border: 1px solid #ddd;
  cursor: pointer;
  flex-shrink: 0;
}

.zoom-wrapper {
  position: relative;
  overflow: hidden;
}

.zoom-icon {
  position: absolute;
  bottom: 330px;
  right: 28px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.zoom-icon:hover {
  transform: scale(1.1);
}

.zoomed {
  transform: scale(2);
  transform-origin: center center;
  cursor: zoom-out;
  transition: transform 0.3s ease;
}

/* 우측 설명 영역 */
.product-info {
  flex: 2 1 400px;
}

.product-info h3 {
  font-size: 20px;
  margin: 32px 0 10px;
  color: #e60012;
}

.product-info ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.product-buttons {
  margin-top: 48px;
  display: flex;
  gap: 16px;
}

.product-buttons .btn-inquiry,
.product-buttons .btn-buy {
  padding: 16px 24px;
  border: 1px solid #e60012;
  background: #fff;
  color: #e60012;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 18px;
  width: 272px;
  border-radius: 40px;
}

.product-buttons .btn-buy {
  background: #e60012;
  color: #fff;
}

.product-buttons button:hover {
  opacity: 0.9;
}


/* 비디오 + 탭 가로 정렬 */
.product-bottom {
  display: flex;
  gap: 52px;
  margin-top: 100px;
  align-items: flex-start;
}

.product-video {
  flex: 1 1 35%;
}

.product-tabs {
  flex: 1 1 45%;
}

.main-video {
    width: 610px;
}

/* 탭 메뉴 및 콘텐츠 기본 스타일 */
.tab-menu {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
}

.tab-menu li {
  cursor: pointer;
  padding: 10px 20px;
  font-weight: bold;
}

.tab-menu li.active {
  border-bottom: 3px solid #e60012;
  color: #e60012;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.resource-list,
.spec-list {
  list-style: none;
  padding-left: 0;
  
}

.spec-list{
    padding: 0 32px;
    line-height: 2.4;
}

.resource-list li a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  margin: 5px 0;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.resource-list li a:hover {
  background-color: #f8f8f8;
}

/* 반응형 */
@media (max-width: 768px) {
  .product-bottom {
    flex-direction: column;
  }

}


/* 제품 영상 영역 */


.product-video h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.video-slider {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.video-item img {
  width: 100%;
  max-width: 280px;
  border: 1px solid #ccc;
}

.video-item-list{
  display: flex;
  gap: 28px;
}

.video-item-list img{
    width: 185px;
}
/* 자료 다운로드 (기본형) */
.product-resources {
  margin-top: 60px;
}

.product-resources h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.resource-list li{
    width: 22%;;
}
.resource-list li a {
  display: block;
  padding: 10px 16px;
  border: none;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  text-align: center;
}

.resource-list li a:hover {
  background: #f8f8f8;
}

.tab-menu {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
.tab-menu li {
  cursor: pointer;
  padding: 10px 20px;
  font-weight: bold;
  list-style: none;
  font-size: 22px;
}
.tab-menu li.active {
  border-bottom: 3px solid #e60012;
  color: #e60012;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


/* 반응형 */
@media (max-width: 1200px) {
  .product-images {
    flex: 1 1 100%;
    max-width: 100%;
  }

.sub-page{
    padding: 80px 16px 0;
}

.product-info {
    flex: 1 1 100%;
    max-width: 100%;
}
  .product-content {
    
  }

  .product-buttons {
    align-items: flex-start;
  }

  .product-buttons button {
    width: 100%;
    text-align: center;
  }

  .video-slider {
    flex-direction: column;
  }

  .resource-list {
  
  }
  .resource-list li{
    width: 30%;
  }
    .tab-menu{
        width: 100%;
    }
  .tab-menu li{
    width: 50%;
    text-align: center;
  }
  .tab-menu li.active{
     width: 50%;
    text-align: center;
  }
   .product-video,
  .product-tabs {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .main-video {
    width: 100%;
}
.video-item-list img {
    width: 100%;
}
.thumb-list img {
    width: 22.5%;
    height: auto;
}
}

/*줌기능 추가함*/
.main-image {
  transition: transform 0.3s ease-in-out;
  cursor: zoom-in;
}
.image-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.main-image {
  width: 100%;
  display: block;
}

.lens {
  display: none;
  position: absolute;
  border: 2px solid #000;
  width: 300px;
  height: 300px;
  opacity: 0.9;
  background-repeat: no-repeat;
  background-size: 200% 200%; /* 확대 배율 */
  pointer-events: none;
}
.product-image-full {

  display: flex;

  justify-content: center;

  padding: 140px 0px;

  box-sizing: border-box;

}



.product-image-full img {

  width: 100%;

  max-width: 100%;

  height: auto;

}
.item-title .item-sub-t1{

    font-size: 24px;

    color: #D71521;

    font-weight: bold;

    margin: 0;

}



.item-title .item-sub-t2{

    font-size: 28px;

    font-weight: bold;

    margin: 0 0 16px 0;

}
  .auto-expand {
    width:100%;
    line-height:1.6;
    height:auto;
    min-height:calc(1.6em * 2);
    max-height:calc(1.6em * 10);
    overflow-y:auto;
    resize:none;
  }