/* ==========================================
   1) 컨테이너 전체
   ========================================== */
.cfasc-container {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5em;
  background: #ffffff; /* 항상 흰 배경 */
  color: #000000; /* 항상 검정 글자 */
  margin-bottom: 2em;
  /* 이 영역만 라이트 모드로 인식하게 강제 */
  color-scheme: light;
}

/* ==========================================
     2) 상단 카드형 레이아웃
   ========================================== */
.cfasc-top-card {
  display: flex;
  gap: 24px;
  margin-bottom: 1.5em;
}

/* ── 좌측: 이미지 + 버튼 ── */
.cfasc-media {
  flex: 0 0 240px;
  text-align: center;
}
.cfasc-media .cfasc-figure {
  margin: 0 0 1em;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background-color: #ffffff; /* 흰 배경 */
}
.cfasc-media img {
  width: 100%;
  display: block;
}
.cfasc-media .cfasc-buy-btn {
  display: inline-block;
  width: 100%;
  padding: 0.75em 0;
  background: #e91e63;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.2s;
}
.cfasc-media .cfasc-buy-btn:hover {
  background: #d81b60;
}

/* ── 우측: 특징 리스트 ── */
.cfasc-features {
  flex: 1;
}
.cfasc-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cfasc-features li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
  color: #000000; /* 검정 글자 */
}
.cfasc-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e91e63;
  font-size: 1.2em;
  line-height: 1;
}

/* ==========================================
     3) 장점·단점 박스
   ========================================== */
.cfasc-pros-cons {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5em;
}
.cfasc-box {
  flex: 1;
}
.cfasc-box h4 {
  margin-bottom: 0.75em;
  padding-bottom: 0.25em;
  font-size: 1.1em;
  position: relative;
  color: #000000;
}
.cfasc-box h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--line-color);
  border-radius: 2px;
}
.cfasc-box:nth-child(1) h4 {
  --line-color: #00bcd4;
}
.cfasc-box:nth-child(2) h4 {
  --line-color: #e91e63;
}
.cfasc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfasc-box li {
  margin-bottom: 0.5em;
  line-height: 1.4;
  position: relative;
  padding-left: 1.5em;
  color: #000000; /* 검정 글자 */
}
.cfasc-box:nth-child(1) li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #00bcd4;
  font-weight: bold;
}
.cfasc-box:nth-child(2) li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: #e91e63;
  font-weight: bold;
}

/* 단어별 형광 하이라이트용 */
.mark-blue {
  background-color: rgba(0, 188, 212, 0.3);
  padding: 0 0.1em;
}
.mark-pink {
  background-color: rgba(233, 30, 99, 0.3);
  padding: 0 0.1em;
}

/* ==========================================
     4) 제품 상세표 (항상 노출)
   ========================================== */
.cfasc-specs-wrap {
  margin-top: 1.5em;
}
.cfasc-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
.cfasc-specs th,
.cfasc-specs td {
  border: 1px solid #ddd;
  padding: 0.75em;
  color: #000000;
}
.cfasc-specs thead th {
  background: #f9f9f9;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #ccc;
}
.cfasc-specs tbody tr:nth-child(even) {
  background: #fafafa;
}
.cfasc-specs tbody th {
  width: 25%;
  text-align: left;
  font-weight: 500;
}
.cfasc-specs tbody td {
  text-align: left;
  color: #555;
}

/* ==========================================
     5) 반응형 (모바일)
   ========================================== */
@media only screen and (max-width: 768px) {
  .cfasc-top-card {
    flex-direction: column;
    gap: 1.5em;
  }
  .cfasc-media,
  .cfasc-features {
    flex: none;
    width: 100%;
  }
}
