/* 상세페이지 버전3 — 필독사항 / 개통방법 (공통) */
.detail-guides {
  --dg-font: Pretendard, sans-serif;
  clear: both;
  position: relative;
  z-index: 1;
  margin: 28px 0 10px;
  padding: 0 0 8px;
  text-align: left;
  font-family: var(--dg-font);
  color: #1f2937;
  background: #fff;
  overflow: visible;
  min-height: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.detail-guides .dg-hidden,
.detail-guides [hidden] {
  display: none !important;
}
.detail-guides *,
.detail-guides button,
.detail-guides strong,
.detail-guides p {
  font-family: inherit;
  box-sizing: border-box;
}
.detail-guides-head {
  margin: 0 0 12px;
}
.detail-guides-tabs {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #eef1f6;
  border-radius: 14px;
  box-sizing: border-box;
}
.detail-guides-tabs li {
  flex: 1;
  margin: 0;
  float: none;
  width: auto;
}
.detail-guides-tabs li button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
  padding: 9px 8px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: -0.02em;
  -webkit-appearance: none;
  appearance: none;
}
.detail-guides-tabs li.on button {
  background: #fff;
  color: #0057ff;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.detail-guides-panel {
  display: block;
  width: 100%;
  overflow: visible;
  color: #1f2937;
}

/* 필독사항 아코디언 */
.detail-guides-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e7eb;
  overflow: visible;
}
.detail-guides-accordion > li {
  border-bottom: 1px solid #e5e7eb;
  float: none;
  width: auto;
  margin: 0;
  overflow: visible;
}
.dg-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: #fff;
  padding: 13px 4px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: #334155;
  letter-spacing: -0.02em;
  -webkit-appearance: none;
  appearance: none;
}
.dg-acc-btn span {
  font-size: 13px;
  font-weight: 400;
  color: #334155;
}
.dg-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #9ca3af;
  border-bottom: 1.5px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
  margin-right: 4px;
}
.dg-acc-btn.is-open .dg-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.dg-acc-body {
  display: block;
  padding: 0 4px 13px;
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
  background: #fff;
}
/* 열림 상태 명시 (jQuery show() 없이도 동작) */
.dg-acc-body:not(.dg-hidden) {
  display: block !important;
}
.detail-guides-panel:not(.dg-hidden) {
  display: block !important;
}
.dg-acc-body ul {
  margin: 0;
  padding: 0 0 0 1.1em;
}
.dg-acc-body li {
  margin: 0 0 6px;
  float: none;
  width: auto;
}

/* 개통방법 단계 카드 (div 구조 — 모바일 ol fixed 스타일 충돌 방지) */
.detail-guides-steps {
  margin: 0;
  padding: 0;
  overflow: visible;
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  z-index: auto !important;
  display: block !important;
}
.dg-step {
  margin: 0;
  float: none !important;
  width: auto !important;
  position: relative !important;
  overflow: visible;
  display: block;
}
.dg-step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 16px 14px;
  box-sizing: border-box;
  width: 100%;
}
.dg-step-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f3f4f6;
  overflow: hidden;
}
.dg-step-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.dg-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0057ff;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dg-step-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.dg-step-text strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
}
.dg-step-text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.dg-step-arrow {
  text-align: center;
  color: #c0c4cc;
  font-size: 18px;
  line-height: 1;
  padding: 8px 0;
}

/* 모바일: 하단 고정 CTA에 가려지지 않도록 여백 + 가시성 보강 */
.detail-guides-slot {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  background: #fff;
}
@media (max-width: 900px) {
  #customer_result,
  #customer_result > article,
  #customer_result .wrap {
    overflow: visible !important;
  }
  .detail-guides {
    margin: 20px 0 0;
    padding: 0 12px 110px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #1f2937 !important;
  }
  .detail-guides .detail-guides-panel:not(.dg-hidden) {
    display: block !important;
    visibility: visible !important;
  }
  #customer_result {
    padding-bottom: 24px;
  }
  .detail-guides-tabs li button { font-size: 12px; padding: 8px 6px; }
  .dg-acc-btn { font-size: 12.5px; padding: 12px 2px; }
  .dg-acc-btn span { font-size: 12.5px; color: #334155; }
  .dg-acc-body { font-size: 11.5px; }
  .dg-step-card { padding: 14px 12px; gap: 12px; }
  .dg-step-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .dg-step-text strong { font-size: 12.5px; }
  .dg-step-text p { font-size: 11.5px; }
}
