/* =================================
   SeoArt 체크아웃 브레드크럼 스타일
   미니멀 도트 라인 디자인
   ================================= */
.logo a {
  font-family: "Pretendard", sans-serif !important;
  text-decoration: none !important;
  color: #111827 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  font-size: 24px !important;
}
.logo a:hover {
  color: #4f46e5 !important;
  transition: color 0.2s ease-in-out !important;
}
/* 전체 컨테이너 */
.seoart-breadcrumb-wrapper {
  width: 100%;
  padding: 0 0 30px 0;
  background: transparent;
}

.seoart-checkout-breadcrumb {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.seoart-breadcrumb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* 각 단계 스타일 */
.seoart-breadcrumb-step {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.seoart-step-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #9ca3af;
  font-weight: 400;
  font-size: 24px;
  transition: all 0.2s ease;
  cursor: default;
}

/* 클릭 가능한 링크 스타일 */
a.seoart-step-link {
  cursor: pointer;
}

a.seoart-step-link:hover {
  color: #4f46e5;
  transform: translateY(-1px);
}

/* 도트 스타일 */
.seoart-step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
}

.seoart-step-number {
  font-size: 0; /* 숫자 숨기기 */
  color: transparent;
}

.seoart-check-icon {
  font-size: 10px;
  color: #4f46e5;
  font-weight: bold;
  line-height: 1;
}

/* 연결선 생성 - 첫 번째와 두 번째 사이 */
.seoart-step-connector {
  width: 80px;
  height: 1px;
  background-color: #e5e7eb;
  margin: 0 20px;
  position: relative;
  flex-shrink: 0;
}

/* 점선 연결선 */
.seoart-step-connector.dotted {
  background: repeating-linear-gradient(
    to right,
    #e5e7eb 0px,
    #e5e7eb 3px,
    transparent 3px,
    transparent 6px
  );
}

/* 실선 연결선 (완료된 구간) */
.seoart-step-connector.solid {
  background-color: #4f46e5;
  height: 2px;
}

/* =================================
   상태별 스타일
   ================================= */

/* 완료된 단계 */
.seoart-breadcrumb-step[data-state="completed"] .seoart-step-link {
  color: #555;
  font-weight: 500;
}

.seoart-breadcrumb-step[data-state="completed"] .seoart-step-dot {
  background-color: transparent;
  width: 18px;
  height: 18px;
  border: 2px solid #4f46e5;
}

/* 현재 단계 */
.seoart-breadcrumb-step[data-state="current"] .seoart-step-link {
  color: #4338ca;
  font-weight: 600;
}

.seoart-breadcrumb-step[data-state="current"] .seoart-step-dot {
  background-color: #4338ca;
  width: 22px;
  height: 22px;
}

.seoart-breadcrumb-step[data-state="current"] .seoart-step-number {
  font-size: 11px;
  color: #fff;
  font-weight: bold;
}

/* 대기 단계 */
.seoart-breadcrumb-step[data-state="pending"] .seoart-step-link {
  color: #9ca3af;
}

.seoart-breadcrumb-step[data-state="pending"] .seoart-step-dot {
  background-color: #e5e7eb;
}

.seoart-breadcrumb-step[data-state="pending"] .seoart-step-number {
  font-size: 10px;
  color: #9ca3af;
}

/* =================================
   반응형 디자인
   ================================= */

@media (max-width: 768px) {
  .seoart-breadcrumb-wrapper {
    padding: 20px 0 30px 0;
  }

  /* 모바일에서는 현재 단계만 표시 */
  .seoart-breadcrumb-step:not([data-state="current"]) {
    display: none;
  }

  /* 연결선도 숨기기 */
  .seoart-step-connector {
    display: none;
  }

  /* 현재 단계를 큼지막하게 */
  .seoart-breadcrumb-step[data-state="current"] .seoart-step-link {
    font-size: 24px;
    font-weight: 600;
    color: #4338ca;
  }

  .seoart-breadcrumb-step[data-state="current"] .seoart-step-dot {
    width: 28px;
    height: 28px;
  }

  .seoart-breadcrumb-step[data-state="current"] .seoart-step-number {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .seoart-breadcrumb-wrapper {
    padding: 15px 0 25px 0;
  }

  .seoart-step-link {
    font-size: 11px;
  }

  .seoart-step-connector {
    width: 40px;
    margin: 0 10px;
  }

  .seoart-step-dot {
    margin-right: 6px;
  }
}

/* =================================
   스타일 변형
   ================================= */

/* 컴팩트 스타일 */
.seoart-style-compact .seoart-breadcrumb-wrapper {
  padding: 15px 0 25px 0;
}

.seoart-style-compact .seoart-step-connector {
  width: 50px;
  margin: 0 10px;
}

/* 미니멀 스타일 */
.seoart-style-minimal .seoart-step-label {
  display: none;
}

.seoart-style-minimal .seoart-step-dot {
  margin-right: 0;
}

/* =================================
   애니메이션 효과 제거 (보조 역할)
   ================================= */

/* 호버 효과 (최소한으로) */
a.seoart-step-link:hover {
  color: #4338ca;
}

/* 디버깅용 스타일 */
.seoart-simple-breadcrumb {
  background: #f0f9ff;
  padding: 10px 20px;
  border-left: 4px solid #0ea5e9;
  font-size: 14px;
  color: #0c4a6e;
  margin: 20px 0;
}
