/* 상세 옵션표 — 셀프신청서 작성방법 (통신사별 카드형) */
#sub .phone-detail form .phone .phone-form table tbody tr.self-writing-methods-row th.self-writing-methods-th,
#sub .phone-detail form .phone .phone-info .phone-form table tbody tr.self-writing-methods-row th.self-writing-methods-th,
#sub .phone-detail.ver2 .right_box .phone-form table tbody tr.self-writing-methods-row th.self-writing-methods-th,
#sub .phone-detail.ver3 .right_box .phone-form table tbody tr.self-writing-methods-row th.self-writing-methods-th {
  vertical-align: middle;
  line-height: 1.35;
  letter-spacing: -0.4px;
  white-space: normal;
}

#sub .phone-detail .self-writing-methods-td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

#sub .phone-detail .self-guide-btns {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

#sub .phone-detail .self-guide-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  padding: 12px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #d8dde6;
  text-decoration: none !important;
  color: #222 !important;
  font-family: 's-core-dream-medium', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#sub .phone-detail .self-guide-btn:hover {
  transform: translateY(-1px);
}

#sub .phone-detail .self-guide-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

#sub .phone-detail .self-guide-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  gap: 2px;
}

#sub .phone-detail .self-guide-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  font-family: 's-core-dream-bold', sans-serif;
  line-height: 1.15;
  white-space: nowrap;
}

#sub .phone-detail .self-guide-text em {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
}

#sub .phone-detail .self-guide-btn.is-sk {
  border-color: #ff7a1a;
  box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.18), 0 4px 12px rgba(255, 122, 26, 0.16);
  color: #e85d00 !important;
}
#sub .phone-detail .self-guide-btn.is-sk strong { color: #e85d00; }
#sub .phone-detail .self-guide-btn.is-sk em { color: #b45309; }

#sub .phone-detail .self-guide-btn.is-kt {
  border-color: #222;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 3px 10px rgba(0, 0, 0, 0.08);
  color: #111 !important;
}
#sub .phone-detail .self-guide-btn.is-kt strong,
#sub .phone-detail .self-guide-btn.is-kt em { color: #111; }

#sub .phone-detail .self-guide-btn.is-lg {
  border-color: #e6007e;
  box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.16), 0 4px 12px rgba(230, 0, 126, 0.14);
  color: #c4006a !important;
}
#sub .phone-detail .self-guide-btn.is-lg strong { color: #c4006a; }
#sub .phone-detail .self-guide-btn.is-lg em { color: #9d174d; }

@media (max-width: 480px) {
  #sub .phone-detail .self-guide-btns { gap: 6px; }
  #sub .phone-detail .self-guide-btn {
    padding: 10px 8px;
    border-radius: 10px;
    gap: 6px;
  }
  #sub .phone-detail .self-guide-logo {
    width: 24px;
    height: 24px;
  }
  #sub .phone-detail .self-guide-text strong { font-size: 12px; }
  #sub .phone-detail .self-guide-text em { font-size: 10px; }
}
