/* 전체 컨테이너 */
.detail-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Noto Sans KR', sans-serif;
  position: relative;
}

/* 섹션 1: 히어로 이미지 */
.detail-hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.detail-hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

.detail-hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
}

.detail-title {
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  word-break: keep-all;
}

.detail-subtext {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  font-size: 1.1em;
  line-height: 1.5;
}

/*상품섹션*/
.product-info-section {
  padding: 40px 20px;
  color: #333;
  text-align: left;
}

.product-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.product-subtitle {
  display: block;
  font-size: 0.65em;
  font-weight: 400;
  color: #999;
  margin-top: 4px;
}

.product-description {
  font-size: 1em;
  line-height: 1.7;
  margin: 20px 0;
}

.product-image-wrap {
  text-align: center;
  margin: 30px 0;
}

.product-image-wrap img {
  max-width: 40%;
  height: auto;
}

.product-meta {
  max-width: 60%;
list-style: none;
  padding: 0;
  margin: 0 auto;
  font-size: 1.2em;
}

.product-meta li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.product-meta li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #666;
}

/* 3번째 섹션 */
.recommend-section {
  padding: 40px 20px;
  text-align: center;
  color: #111;
}

.recommend-image {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.recommend-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.recommend-title {
  font-size: 1.4em;
  font-weight: 700;
  margin: 30px 0 20px;
  line-height: 1.5;
}

.recommend-title .sub {
  font-weight: 400;
  font-size: 1em;
  color: #555;
}

.recommend-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
  max-width: 400px;
}

.recommend-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 1em;
}

.recommend-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #e60012;
  font-size: 1.1em;
  line-height: 1;
}

/* 4번쨰 */

.faq-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 60px;
  text-align: left;
}

.faq-title {
  text-align: center;
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.faq-title strong {
  font-size: 1.6em;
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

.faq-item {
  margin-bottom: 30px;
}

/* 질문 (파란색 말풍선) */
.faq-q {
  background-color: #007acc;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  max-width: 100%;
  position: relative;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1em;
  display: inline-block; /* 꼬리 위치를 안정시킴 */
}

/* ✅ 뾰족한 꼬리 하나만 딱 나오게 조정 */
.faq-q::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 40px; /* 원하는 위치로 조절 가능 */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #007acc;
}


/* 답변 (회색 말풍선) */

.faq-a {
  background-color: #fff;
  color: #333;
  padding: 14px 20px;
  border-radius: 20px;
  max-width: 90%;
  position: relative;
  font-size: 0.95em;
  line-height: 1.6;
}


/*5번째*/
.price-section {
  padding: 60px 20px;
  text-align: center;
  color: #333;
}

.price-headline {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #222;
}

.price-headline br + br {
  margin-top: 5px;
}

.price-images {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.price-images img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.price-summary {
  font-size: 1.1em;
  line-height: 1.6;
  color: #888;
}

.price-summary strong {
  color: #222;
  font-weight: 700;
}

/*6번째*/
.compare-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.compare-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
}

.compare-title span {
  color: #e60012;
}

.compare-desc {
  color: #666;
  font-size: 1em;
  margin-bottom: 40px;
}

.compare-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* 한 줄로 유지 */
  gap: 12px;
  margin-bottom: 30px;
  overflow-x: auto; /* 혹시라도 넘치면 스크롤 처리 */
  -webkit-overflow-scrolling: touch;
}

.compare-card {
  flex: 0 0 48%; /* 약간 좁게 고정폭 비슷하게 */
  max-width: 350px;
  min-width: 150px;
  border-radius: 20px;
  padding: 24px 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  text-align: center;
  box-sizing: border-box;
}

.compare-card.light {
  background-color: #f2f2f2;
  color: #222;
}

.compare-card.dark {
  background-color: #111;
  color: #fff;
}

.compare-card h4 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  line-height: 1.6;
  font-size: 0.95em;
}

.compare-card li {
  margin-bottom: 12px;
}


.compare-note {
  font-size: 1.05em;
  color: #444;
  margin-top: 30px;
  font-weight: 500;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.compare-note strong {
  color: #000;
}

.review-stats {
  margin-top: 50px;
}

.review-total {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.review-number {
  font-size: 2em;
  font-weight: 700;
  display: inline-block;
  margin-top: 10px;
}

.review-score {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.review-score p {
  font-size: 1em;
  margin-bottom: 10px;
}

.review-score .score-number {
  font-size: 1.8em;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.review-score .score-details {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.score-box {
  text-align: center;
  font-size: 0.9em;
  color: #444;
}

/*7번째*/

.product-info-table {
  max-width: 800px;
  margin: 60px auto 40px;
  padding: 0 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95em;
  color: #222;
}

.product-info-table h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 2px solid #222;
  padding-bottom: 10px;
}

.product-info-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  line-height: 1.6;
  color: #444;
}

.product-info-item span {
	display:block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
  
}


.product-info-note {
  font-size: 0.85em;
  color: #888;
  margin-top: 20px;
}

@media screen and (max-width: 480px) {
	.product-meta {
	  max-width: 100%;

	}
	.detail-title {
	  font-size: 1.5em;
	}

	.detail-subtext {
	  font-size: 1em;

	}

.faq-a {
  max-width: 100%;

}

.product-info-table {
  max-width: 600px;
  margin: 60px auto 40px;
  padding: 0 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95em;
  color: #222;
}

.product-info-table {
  max-width: 800px;
  margin: 60px auto 40px;
  padding: 0 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95em;
  color: #222;
}

.product-info-table h3 {
  margin-bottom: 15px;
  border-bottom: 2px solid #222;
  padding-bottom: 10px;
}

.product-info-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  line-height: 1.6;
  color: #444;
}

.product-info-item span {
	display:block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
  
}

.compare-card {
  padding: 24px 5px;

}

}