/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/(user)/products/components/product-description.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************/
/* 상품 설명 스타일 */

/* 상품 설명 스타일 */

.product-description {
  /* 기본 스타일 */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
  /* 중요: Z-인덱스 추가 - 다른 UI 요소 아래에 묻히지 않도록 */
  position: relative;
  z-index: 10;
  /* 중요: 넘침 처리 */
  max-width: 100%;
  overflow-x: hidden;
  /* 여백 및 패딩 */
  margin: 0;
  padding: 0;
}

/* 이미지 스타일링 - figure 태그 없이도 동작하도록 조정 */
.product-description img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto; /* 여백 제거 */
  -o-object-fit: contain;
     object-fit: contain;
  max-height: 80000px !important;
}

.product-description img.product-description__image-error {
  display: none;
}


/* figure 요소 스타일링 - 마진 제거 */
.product-description figure {
  margin: 0; /* 1.5rem 0에서 0으로 변경하여 상하 여백 제거 */
  display: block;
  text-align: center;
  clear: both;
  max-width: 100%;
}

.product-description figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* 단락 스타일 */
.product-description p {
  margin: 1rem 0;
  line-height: 1.6;
}

/* 매우 큰 이미지에 대한 특별 처리 */
@media (max-width: 768px) {
  .product-description img[style*="aspect-ratio"] {
    max-height: 1000px !important;
  }
}

