@import url('https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css');

:root {
  --primary: #1B2558;
  /* 메인 컬러 */
  --ink: #1B2558;
  --muted: #64748B;
  --line: #EEF2F7;
  --input: #EEEEEE;
}

body,
td,
p,
input,
button,
textarea,
select,
.c1 {
  font-family: 'Spoqa Han Sans Neo', 'sans-serif';
  font-size: 12px;
  color: #373736;
}

img {
  border: 0;
}

A:link {
  COLOR: #373736;

  FONT-SIZE: 12px;
  text-decoration: none;
}

A:visited {
  COLOR: #373736;

  FONT-SIZE: 12px;
  text-decoration: none;
}

A:hover {
  COLOR: #666666;

  FONT-SIZE: 12px;
  text-decoration: underline;
}

A:active {
  COLOR: #373736;

  FONT-SIZE: 12px;
  text-decoration: none;
}


/** 표시작 **/
.p_ta1 {
  background: url(/images/common/bg.gif) repeat-x;
}

.p_logo {
  text-align: center;
}

.p_menu1 {}

.p_menu2 {
  margin: 15px 0 0 0;
}

.p_con {
  margin: 20px 0 0 0;
}

/**메인 추출**/
.p_m_pr {
  margin: 45px 0 0 0;
}

.p_m_pr .t01 {
  text-align: center;
}

.p_m_pr .t02 {
  vertical-align: top;
  border: #c5c5c5 solid 1px;
  height: 295px;
}

.p_m_pr .t03 {
  vertical-align: top;
  border: #c5c5c5 solid 1px;
  height: 570px;
}

/**하단 추출**/
.p_f_t {
  margin: 45px 0 0 0;
}

.p_f_t .t01 {
  background: url(/images/common/foot_top.gif) no-repeat;
  height: 200px;
  vertical-align: top;
}

.p_f_t .t02 {
  border-bottom: #c5c5c5 solid 1px;
  height: 40px;
}

/**공지사항**/
.p_f_noti {
  float: right;
  width: 370px;
  margin: 35px 20px;
  0 0;
}

.p_f_noti .more img {
  float: right;
  margin: 0 0 10px 0;
}

/**타이틀 추출**/
.p_title1 {
  margin: 10px 0 40px 0;
}

.p_title1 .t01 {}

.p_title1 .t02 {
  font-size: 11px;
  color: #8e8e8e;
  text-align: right;
  vertical-align: bottom;
  padding: 0 10px 5px 0;
}

.p_title1 .t02 img {
  margin: 0 0 -2px 0;
}

.p_title1 .t03 {
  height: 1px;
  background: #eeeeee;
}


/**카피**/
.p_f {
  margin: 25px 0 30px 0;
}

.p_f .t01 {
  width: 217px;
}

.p_f .t02 {
  color: #666;
}

/** 오늘본상품 **/
#p_today {
  position: absolute;
  margin-left: 10px;
  top: 145px;
  z-index: 1;
}


/*쇼핑리스트 링크ppppp*/
.locat {

  font-size: 13px;
  color: #5a5a5a;
  line-height: 120%;
  padding-top: 5px;
}

.locat a:link {

  font-size: 13px;
  color: #5a5a5a;
}

.locat a:hover {

  font-size: 13px;
  color: #5a5a5a;
}

.locat a:active {

  font-size: 13px;
  color: #5a5a5a;
}

.locat a:visited {

  font-size: 13px;
  color: #5a5a5a;
}

.locat2 {

  font-size: 13px;
  font-weight: bold;
  color: #1B2558;
  line-height: 120%;
  padding-top: 5px;
}

.locat2 img {
  margin: 0 0 -2px 5px;
}

/** 표 끝**/




.member {
  font-weight: bold;
  color: #888888;
}

.guest {
  font-weight: normal;
  color: #888888;
}

.lh {
  line-height: 150%;
}

.jt {
  text-align: justify;
}

.li {
  font-weight: bold;
  font-size: 18px;
  vertical-align: -4px;
  color: #66AEAD;
}

.ul {
  list-style-type: square;
  color: #66AEAD;
}

.ct {
  font-family: Verdana, 굴림;
  color: #222222;
}

.ed {
  border: 1px solid #CCCCCC;
}

.tx {
  border: 1px solid #CCCCCC;
}

.small {
  font-size: 8pt;
  font-family: 돋움;
}

.cloudy,
a.cloudy {
  color: #888888;
}

/* 흐림 */

.board_top {
  clear: both;
}

.board_list {
  clear: both;
  width: 100%;
  table-layout: fixed;
  margin: 5px 0 0 0;
}

.board_list th {
  font-weight: bold;
  font-size: 12px;
}

.board_list th {
  background: url(../skin/board/basic/img/title_bg.gif) repeat-x;
}

.board_list th {
  white-space: nowrap;
  height: 34px;
  overflow: hidden;
  text-align: center;
}

.board_list th {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.board_list tr.bg0 {
  background-color: #fafafa;
}

.board_list tr.bg1 {
  background-color: #ffffff;
}

.board_list td {
  padding: .5em;
}

.board_list td {
  border-bottom: 1px solid #ddd;
}

.board_list td.num {
  color: #999999;
  text-align: center;
}

.board_list td.checkbox {
  text-align: center;
}

.board_list td.subject {
  overflow: hidden;
}

.board_list td.name {
  padding: 0 0 0 10px;
}

.board_list td.datetime {
  font: normal 11px tahoma;
  color: #BABABA;
  text-align: center;
}

.board_list td.hit {
  font: normal 11px tahoma;
  color: #BABABA;
  text-align: center;
}

.board_list td.good {
  font: normal 11px tahoma;
  color: #BABABA;
  text-align: center;
}

.board_list td.nogood {
  font: normal 11px tahoma;
  color: #BABABA;
  text-align: center;
}

.board_list .notice {
  font-weight: normal;
}

.board_list .current {
  font: bold 11px tahoma;
  color: #E15916;
}

.board_list .comment {
  font-family: Tahoma;
  font-size: 10px;
  color: #EE5A00;
}

.board_button {
  clear: both;
  margin: 10px 0 0 0;
}

.board_page {
  clear: both;
  text-align: center;
  margin: 3px 0 0 0;
}

.board_page a:link {
  color: #777;
}

.board_search {
  text-align: center;
  margin: 10px 0 0 0;
}

.board_search .stx {
  height: 21px;
  border: 1px solid #9A9A9A;
  border-right: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
}

.p_list {
  margin: 0 0 15px 0;
}

.p_list td {
  color: #686868;
  padding-bottom: 6px
}

.p_list01 {
  font-size: 11px;
}

.p_list02 {

  font-size: 9px;
  text-align: right;
}

.p_list02 a:link {

  font-size: 12px;
  color: #5a5a5a;
}

.p_list02 a:hover {

  font-size: 12px;
  color: #5a5a5a;
}

.p_list02 a:active {

  font-size: 12px;
  color: #5a5a5a;
}

.p_list02 a:visited {

  font-size: 12px;
  color: #5a5a5a;
}

.imsi {
  display: block;
}

.imsi img {
  width: 350px;
  height: auto;
}

/* 약관/개인정보 박스 폭/스크롤 통일 */
.policy-header {
  width: 100%;
  background: #f7f7f7 url('/static/images/account/login_table_bg_top.gif') repeat-x;
  border: 1px solid #ddd;
  border-bottom: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  /* ✅ */
}

.policy-cell {
  padding: 0;
}

.policy-box {
  width: 100%;
  height: 320px;
  /* 고정 높이 */
  overflow: auto;
  /* 스크롤 */
  -webkit-overflow-scrolling: touch;
  padding: 12px;
  background: #fff url('/static/images/account/login_table_bg.gif') repeat;
  border: 1px solid #ddd;
  box-sizing: border-box;
  /* ✅ 패딩/보더 포함하여 100% */
}

.policy-agree {
  padding: 8px 4px 16px 4px;
}

.m_title {
  BACKGROUND-COLOR: #F7F7F7;
  PADDING-LEFT: 15px;
  PADDING-top: 5px;
  PADDING-BOTTOM: 5px;
}

.m_padding {
  PADDING-LEFT: 15px;
  PADDING-BOTTOM: 5px;
  PADDING-TOP: 5px;
}

.m_padding2 {
  PADDING-LEFT: 0px;
  PADDING-top: 5px;
  PADDING-BOTTOM: 0px;
}

.m_padding3 {
  PADDING-LEFT: 0px;
  PADDING-top: 5px;
  PADDING-BOTTOM: 5px;
}

.m_text {
  BORDER: #D3D3D3 1px solid;
  HEIGHT: 18px;
  BACKGROUND-COLOR: #ffffff;
}

.m_text2 {
  BORDER: #D3D3D3 1px solid;
  HEIGHT: 18px;
  BACKGROUND-COLOR: #dddddd;
}

.m_textarea {
  BORDER: #D3D3D3 1px solid;
  BACKGROUND-COLOR: #ffffff;
  WIDTH: 100%;
  WORD-BREAK: break-all;
}

.w_message {
  font-family: 돋움;
  font-size: 9pt;
  color: #4B4B4B;
}

.w_norobot {
  font-family: 돋움;
  font-size: 9pt;
  color: #BB4681;
}

.w_hand {
  cursor: pointer;
}

.mb_id {
  ime-mode: disabled;
}

.ppm01 {
  font-weight: bold;
  font-size: 12px;
}

.ppm01 {
  background: url(/static/images/account/p_title_bg.gif) repeat-x;
}

.ppm01 {
  white-space: nowrap;
  height: 34px;
  overflow: hidden;
}

.ppm01 td {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.qty-input {
  width: 50px;
  text-align: center;
}

.warn {
  color: #d9534f;
  font-size: 12px;
}

.muted {
  color: #666;
  font-size: 12px;
}

/* 박스 슬라이스 틀 공백 제거 */
.table-slice td {
  padding: 0;
}

.table-slice .slice-row {
  line-height: 0;
  font-size: 0;
}

/* 인라인 간격 제거 */
.table-slice img {
  display: block;
}

/* 이미지 베이스라인 공백 제거 */

/* 공통 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  min-width: 110px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
}

.btn:hover {
  background: #f2f4f7;
  border-color: #c4c9d0;
}

.btn:active {
  background: #eceff3;
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .25);
}

/* 타입별 색상 */
.btn-primary {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

.btn-primary:hover {
  background: #1B2558;
  border-color: #1B2558;
  color: #fff;
}

.btn-danger {
  background: #ef4444;
  border-color: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #b91c1c;
}

.btn-secondary {
  background: #f8fafc;
  color: #0f172a;
}

/* 비활성 */
.btn[disabled],
.btn.disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

/* 아이콘(유니코드) */
.btn .ico {
  font-size: 14px;
  opacity: .95;
}

.btn-save {
  display: inline-block;
  padding: 8px 14px;
  background: #f97316;
  /* 오렌지 */
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-save:hover {
  background: #ea580c;
}

.btn-save .ico {
  margin-right: 5px;
}

/* 수량 컨트롤 박스 */
.qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
}

.qty-input {
  width: 64px;
  height: 32px;
  text-align: center;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  outline: 0;
}

.qty-input:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
  border-color: #94a3b8;
}

/* 변경 버튼(아이콘+텍스트) */
.btn-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .02s ease;
}

.btn-qty:hover {
  background: #eef2f7;
  border-color: #94a3b8;
}

.btn-qty:active {
  transform: translateY(1px);
}

.btn-qty .ico {
  font-size: 14px;
}

/* +/- 스텝 버튼(선택) */
.step {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.step:hover {
  background: #f2f4f7;
}

/* 재고 텍스트 */
.stock-hint {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
}

.stock-hint.muted {
  color: #64748b;
}

.stock-hint.warn {
  color: #dc2626;
  font-weight: 600;
}

.btn-primary-navy {
  background-color: #0d1b4c;
  color: white !important;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary-navy:hover {
  background-color: #0b1640;
}

.btn-secondary-blue {
  background-color: #1e3a8a;
  color: white !important;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-secondary-blue:hover {
  background-color: #162f6a;
}

.btn-primary-navy .ico,
.btn-secondary-blue .ico {
  font-size: 16px;
}

/* 배경 이미지 박스 자체 (안쪽에 리스트가 들어감) */
.notice-bg {
  /* 필요 시 조절 */
  background: url("/static/images/notice/notice.png") no-repeat;
  background-size: 212px 115px;
  /* 헤더 영역(Notice 글자와 얇은 선)을 피해 아래로 컨텐츠 시작 */
  padding: 28px 16px 12px;
  /* top 값은 이미지에 맞춰 조절 */
  box-sizing: border-box;
}

/* 리스트 기본 */
.notice-list {
  list-style: none;
  margin: 3;
  padding: 0;
}

.notice-list li {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 1px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #273043;
}

/* 작은 커스텀 점 */
.notice-list .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1e3a8a;
  flex: 0 0 4px;
  margin-top: 1px;
}

/* 제목: 한 줄 말줄임 */
.notice-list a {
  color: inherit;
  text-decoration: none;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-list a:hover {
  color: #0d1b4c;
  text-decoration: underline;
}

/* 점선 구분자: 기존 이미지 그대로 사용 */
.notice-list .sep {
  height: 1px;
  margin: 6px 0;
  background: url("/static/images/dot_line.gif") repeat-x center;
}

/* 비어있을 때 */
.notice-list .empty {
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  padding: 6px 0;
}

.login-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* 세로 중앙 정렬 */
  justify-content: flex-end;
  /* 오른쪽 끝 정렬 */
  gap: 18px;
  /* 아이콘 간격 */
}

/* 로그인/로그아웃 버튼 */
.login-menu .login-btn img {
  width: 80px;
  /* 크게 */
  height: auto;
  /* 비율 유지 */
  cursor: pointer;
}

.login-menu .logout-btn img {
  width: 43px;
  /* 크게 */
  height: auto;
  /* 비율 유지 */
  cursor: pointer;
}

/* 나머지 아이콘 버튼 */
.login-menu .icon-btn img {
  width: 20px;
  /* 작게 */
  height: 20px;
  object-fit: contain;
  cursor: pointer;
}

#parts-filter {
  --line: #e2e8f0;
  --bg: #f8fafc;
  --muted: #64748b;
  --ink: #1B2558;
}

#parts-filter {
  margin: 12px 0 1px;
}

#parts-filter .section {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1px
}

#parts-filter .label {
  font-weight: 800;
  color: #334155;
  min-width: 60px
}

#parts-filter .chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  flex: 1
}

#parts-filter .chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: #1B2558;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap
}

#parts-filter .chip:hover {
  border-color: #1e3a8a
}

#parts-filter .muted {
  color: var(--muted)
}

#parts-filter .btn {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap
}

#parts-filter .badge {
  margin-left: 6px;
  font-size: 12px;
  color: #6b7280
}

/* 모달 */
.pf-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .35);
  z-index: 50
}

.pf-modal .panel {
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column
}

.pf-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line)
}

.pf-modal .grid {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px
}

.pf-modal a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: #111827;
  font-weight: 600
}

.pf-modal .count {
  font-size: 12px;
  color: #6b7280
}

#parts-sort {
  --line: #e2e8f0;
  --muted: #64748b;
  --ink: #111827;
}

#parts-sort {
  --line: #e2e8f0;
}

#parts-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #1B2558;
  margin-bottom: 12px
}

#parts-sort .left {
  min-height: 24px
}

/* 기존 p_list01 자리 */
#parts-sort .right select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

#parts-hero {
  --ink: #1B2558;
  --muted: #64748b;
  --line: #e2e8f0
}

#parts-hero {
  padding: 18px 0 10px;
  border-bottom: 1px solid #1B2558;
  margin-bottom: 12px
}

#parts-hero .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#parts-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.2px
}

#parts-hero .sub {
  margin-left: 8px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 600
}

#parts-hero .chunks {
  display: inline;
  font-weight: 700
}

#parts-hero .bc {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px
}

#parts-hero .bc li {
  display: flex;
  align-items: center;
  gap: 6px
}

#parts-hero .bc li+li:before {
  content: "›";
  opacity: .5
}

#parts-hero .bc a {
  color: inherit;
  text-decoration: none
}

#parts-hero .home {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  filter: grayscale(1)
}

#parts-hero .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

#parts-hero .hero-input {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  outline: none;
  min-width: 220px;
}

#parts-hero .hero-input:focus {
  border-color: #94a3b8;
}

#parts-hero .hero-btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== 칩바(차종) ===== */
#parts-filter .chips.surface {
  background: #E7EEF6;
  /* 연한 파랑 배경 */
  border-color: transparent;
  /* 테두리 제거 */
  padding: 10px;
  border-radius: 12px;
}

#parts-filter .chip {
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-weight: 700;
  color: #1B2558;
}

#parts-filter .chip:hover {
  text-decoration: underline;
}

#parts-filter .chip.active {
  background: #fff;
  border: 1px solid #cfe0ff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  border-radius: 999px;
}

#parts-filter .chip.muted {
  font-weight: 600;
}

#parts-filter .badge {
  display: none;
}

/* 스샷처럼 카운트 숨김 */

/* ===== 정렬 셀렉트(오른쪽 둥근 버튼처럼) ===== */
#parts-sort .sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 34px 8px 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: right 12px top 55%, right 6px top 55%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

/* 범위 한정 */
#parts-pagination {
  --line: #e2e8f0;
  --muted: #64748b;
  --ink: #0f172a;
  --brand: #1e3a8a
}

#parts-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0
}

#parts-pagination .pager {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 12px;
  flex-wrap: wrap;
  background: #fff
}

#parts-pagination .btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer
}

#parts-pagination .btn:hover {
  border-color: var(--brand)
}

#parts-pagination .btn[disabled] {
  opacity: .45;
  cursor: not-allowed
}

#parts-pagination .num {
  border: 1px solid var(--line);
  background: #fff;
  color: #111827;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer
}

#parts-pagination .num[aria-current="page"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(30, 58, 138, .08) inset;
  cursor: default
}

#parts-pagination .dots {
  padding: 0 4px;
  color: var(--muted);
  user-select: none
}

#parts-pagination .stat {
  color: var(--muted);
  font-size: 13px;
  margin-left: 8px
}

/* 우측 검색 */
#parts-hero .right {
  display: flex;
  align-items: center;
  margin-left: auto
}

#parts-hero .search-form {
  display: flex;
  gap: 8px
}

#parts-hero .search-form input[type="search"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 220px;
  max-width: 360px
}

#parts-hero .search-form button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  cursor: pointer
}

@media (max-width:640px) {
  #parts-hero .row {
    align-items: stretch
  }

  #parts-hero .right {
    width: 100%
  }

  #parts-hero .search-form {
    width: 100%
  }

  #parts-hero .search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    max-width: none
  }
}

#auth-login {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --brand: #162450;
  --shadow: 0 12px 30px rgba(2, 6, 23, .08)
}

#auth-login .titlebar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 24px
}

#auth-login .titlebar h1 {
  margin: 0;
  text-align: center;
  font-size: 24px;
  letter-spacing: .02em;
  font-weight: 800;
  color: #1f2a44
}

#auth-login .wrap {
  max-width: 520px;
  margin: 0 auto 80px;
  padding: 0 20px
}

#auth-login .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px
}

#auth-login .field {
  margin-bottom: 18px
}

#auth-login label {
  display: block;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  font-size: 14px
}

#auth-login .input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f6f8;
  padding: 12px 14px 12px 44px;
  /* 아이콘 여백 */
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

#auth-login .input:focus {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, .08)
}

/* 아이콘 (좌측) */
#auth-login .icon-wrap {
  position: relative
}

#auth-login .icon-wrap .ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: .65
}

#auth-login .helper {
  display: flex;
  justify-content: flex-end
}

#auth-login .helper a {
  font-size: 13px;
  color: #334155;
  text-decoration: underline
}

#auth-login .btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer
}

#auth-login .btn-primary {
  background: #162450;
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px rgba(22, 36, 80, .25)
}

#auth-login .btn-primary:hover {
  filter: brightness(.98)
}

#auth-login .btn-outline {
  background: #fff;
  border: 1px solid #162450;
  color: #162450
}

#auth-login .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #94a3b8
}

#auth-login .divider::before,
#auth-login .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

#auth-login .error {
  margin-top: 8px;
  margin-bottom: 6px;
  color: #b91c1c;
  text-align: center;
  font-weight: 700
}

@media (max-width:480px) {
  #auth-login .card {
    padding: 22px
  }
}

#account-title {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid #dfe4ef;
  margin-bottom: 16px;
  background: #fff
}

#account-title .title {
  display: flex;
  justify-content: center;
  align-items: center
}

#account-title .title_text {
  color: #1B2558;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
}

#account-title .title img {
  height: 38px;
  /* 필요시 크기 조절 */
}


#account-title .sep {
  opacity: .45
}

#notice-title {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid #dfe4ef;
  background: #fff
}

#notice-title .title {
  display: flex;
  justify-content: center;
  align-items: center
}

#notice-title .title img {
  height: 38px;
  /* 필요시 크기 조절 */
}


#notice-title .sep {
  opacity: .45
}

#cart-title {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid #dfe4ef;
  background: #fff
}

#cart-title .title {
  display: flex;
  justify-content: center;
  align-items: center
}

#cart-title .title img {
  height: 38px;
  /* 필요시 크기 조절 */
}


#cart-title .sep {
  opacity: .45
}

#order-title {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid #dfe4ef;
  background: #fff
}

#order-title .title {
  display: flex;
  justify-content: center;
  align-items: center
}

#order-title .title img {
  height: 38px;
  /* 필요시 크기 조절 */
}


#order-title .sep {
  opacity: .45
}

#login-card {
  --line: #e5e7eb;
  --muted: #64748b
}

#login-card {
  max-width: 520px;
  margin: 0 auto 60px;
  padding: 0 20px
}

#login-card .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px
}

#login-card .field {
  margin-bottom: 22px
}

#login-card label {
  display: block;
  font-weight: 800;
  color: #475569;
  margin-bottom: 10px
}

#login-card .input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #efefef;
  padding: 14px 14px;
  font-size: 15px;
  outline: none;
}

/* 잠금 아이콘이 들어간 입력(비번) */
#login-card .with-ico {
  position: relative
}

#login-card .with-ico .ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24.23px;
  height: 24.23px;
  opacity: .7;
  background: url("/static/images/account/lock.png") no-repeat center/contain;
}

#login-card .with-ico .input {
  padding-left: 44px
}

#login-card .helper {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px
}

#login-card .helper a {
  font-size: 14px;
  color: #1f2a44;
  text-decoration: underline
}

/* 버튼 영역: 이미지 버튼이 블록처럼 보이도록 */
#login-card .btn-img {
  display: block;
  width: 100%;
  text-align: center
}


#login-card .btn-img img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto
}

/* 구분선 OR */
#login-card .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #b7b7b7;
  justify-content: center
}

#login-card .divider::before,
#login-card .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7e7e7;
  max-width: 200px
}

/* 에러 */
#login-card .error {
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px
}

/* 카드 안에서는 모두 border-box로 계산 */
#login-card,
#login-card * {
  box-sizing: border-box;
}

/* 입력영역이 부모를 절대 넘지 않도록 */
#login-card .field,
#login-card .with-ico {
  width: 100%;
}

#login-card .input {
  width: 100%;
  box-sizing: border-box;
  /* 핵심 */
  max-width: 100%;
}

/* 혹시 넘치는 요소가 있을 경우 클리핑 */
#login-card .card {
  overflow: hidden;
}

/* 이미지 버튼도 부모폭 안에서만 */
#login-card .btn-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#register-card,
#register-card * {
  box-sizing: border-box;
}

#register-card {
  --line: #e5e7eb;
  --muted: #64748b;
  --ink: #0f172a
}

#register-card {
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 0 20px
}

#register-card .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px
}

/* 그리드: 2열 */
#register-card .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

@media (max-width:760px) {
  #register-card .grid {
    grid-template-columns: 1fr
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.field label {
  font-weight: 800;
  color: #475569
}

.input,
#register-card input[type=text],
#register-card input[type=password],
#register-card input[type=email] {
  width: 100%;
  background: #EEEEF0;
  /* 캡처의 밝은 그레이 톤 */
  border: 1px solid #E6E9F0;
  border-radius: 10px;
  /* 라운드 조금 더 크게 */
  padding: 14px 14px;
  font-size: 15px;
  color: #0F172A;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-sizing: border-box;
}

.input:focus,
#register-card input:focus {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, .08)
}

/* 잠금 아이콘 입력 */
.with-ico {
  position: relative
}

.with-ico .ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24.23px;
  height: 24.23px;
  opacity: .7;
  background: url("/static/images/account/lock.png") no-repeat center/contain;
}

/* 비밀번호 아이콘 패딩 보정 */
#register-card .with-ico input {
  padding-left: 48px;
}

#register-card .with-ico .ico {
  width: 22px;
  height: 22px;
  left: 14px;
  opacity: .6;
}

.hint {
  font-size: 13px;
  color: #1B2558
}

.err {
  font-size: 13px;
  color: #b91c1c;
  font-weight: 700
}

/* 구분선 & 버튼 영역 */
#register-card .actions {
  display: flex;
  justify-content: center;
  margin-top: 24px
}

#register-card .btn-img {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer
}

#register-card .btn-img img {
  display: block;
  height: auto;
  width: 240px;
  max-width: 60vw
}

/* 카드 그림자(선택) */
#register-card .card {
  box-shadow: 0 20px 50px rgba(2, 6, 23, .06)
}


#notice-board {
  --head: #DBEAFF;
  --ink: #1B2558;
  --text: #111827;
  --muted: #6b7280;
  --line: #e9edf5;
  --brand: #1d2b56
}

#notice-board table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse
}

#notice-board thead th {
  background: var(--head);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 18px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line)
}

/* 번호/작성일 폭 & 정렬 */
#notice-board thead th:nth-child(1),
#notice-board tbody td:nth-child(1) {
  width: 90px;
  text-align: center;
}

#notice-board thead th:nth-child(3),
#notice-board tbody td:nth-child(3) {
  text-align: center;
  width: 20%;
}

#notice-board tbody tr {
  border-bottom: 1px solid var(--line)
}

#notice-board tbody td {
  padding: 22px 18px;
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
  /* ✅ 세로 중앙 */
}

#notice-board tbody td.num {
  color: var(--muted);
  font-weight: 700
}

#notice-board a {
  color: var(--text);
  text-decoration: none
}

#notice-board a:hover {
  text-decoration: underline
}

/* 제목 말줄임 */
#notice-board .subject .ellipsis {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

@media (max-width:640px) {
  #notice-board tbody td {
    padding: 16px 12px;
    font-size: 15px
  }

  #notice-board thead th:nth-child(3),
  #notice-board tbody td:nth-child(3) {
    width: 150px;
  }
}

.pager-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 0;
  font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif;
}

.pager {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}

/* 숫자 버튼 */
.pager .num {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.pager .num[aria-current="page"] {
  background: #1B2558;
  color: #fff;
  border-color: var(--brand);
}

/* 구분 세로선 */
.pager .vsep {
  width: 1px;
  height: 28px;
  background: var(--line);
  opacity: .75;
  margin: 0 4px;
}

/* 화살표 버튼(›, ») */
.pager .arrow {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.pager .arrow[disabled] {
  opacity: .35;
  cursor: not-allowed
}

/* 접근성: 버튼 기본 스타일 정리 */
.pager button {
  appearance: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

#order-summary {
  --head: #DBEAFF;
  --ink: #1B2558;
  --text: #111827;
  --muted: #6b7280;
  --line: #e9edf5
}

#order-summary table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Spoqa Han Sans Neo', sans-serif
}

#order-summary thead th {
  background: var(--head);
  color: var(--ink);
  font-weight: 800;
  padding: 10px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line)
}

/* 각 열 정렬/폭 - 공지사항 규칙과 동일한 스타일 가이드 */
#order-summary thead th:nth-child(1),
#order-summary tbody td:nth-child(1) {
  text-align: left
}

#order-summary thead th:nth-child(2),
#order-summary tbody td:nth-child(2) {
  text-align: center;
  width: 120px
}

#order-summary thead th:nth-child(3),
#order-summary tbody td:nth-child(3) {
  text-align: right;
  width: 160px
}

#order-summary thead th:nth-child(4),
#order-summary tbody td:nth-child(4) {
  text-align: right;
  width: 180px
}

#order-summary tbody tr {
  border-bottom: 1px solid var(--line)
}

#order-summary tbody td {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  vertical-align: middle
}

#order-summary .warn {
  color: #b91c1c;
  font-weight: 700
}

/* 합계 줄 */
#order-summary tfoot td {
  border-top: 1px solid var(--line);
  padding: 18px;
  font-weight: 800;
  text-align: right;
  color: var(--ink);
  font-size: 16px
}

@media (max-width:640px) {
  #order-summary tbody td {
    padding: 16px 12px;
    font-size: 15px
  }

  #order-summary thead th:nth-child(2),
  #order-summary tbody td:nth-child(2) {
    width: 90px
  }

  #order-summary thead th:nth-child(3),
  #order-summary tbody td:nth-child(3) {
    width: 120px
  }

  #order-summary thead th:nth-child(4),
  #order-summary tbody td:nth-child(4) {
    width: 130px
  }
}

.cart-head th {
  background: #DBEAFF;
  /* 연한 파란 헤더 */
  color: #1B2558;
  /* 네이비 텍스트 */
  font-weight: 800;
  text-align: center;
  /* 헤더 텍스트 가운데 */
  padding: 12px 18px;
  border-bottom: 1px solid #e9edf5;
}

.notice-detail * {
  box-sizing: border-box;
  font-family: 'Spoqa Han Sans Neo', 'Spoqa Han Sans', sans-serif
}

.notice-detail {
  width: 97%;
  margin: 0 auto 32px
}

.notice-detail .titlebar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 18px
}

.notice-detail .titlebar h1 {
  margin: 0;
  color: #1b2759;
  font-weight: 800;
  font-size: 28px
}

.notice-detail .card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(27, 39, 89, .05)
}

.notice-detail .headline {
  padding: 18px 16px 10px 16px;
  border-bottom: 1px solid #eef2f9
}

.notice-detail .headline .ttl {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: #111827;
  margin-bottom: 6px
}

.notice-detail .headline .meta-line {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  color: #6b7280
}

.notice-detail .subinfo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #6b7280;
  padding: 10px 16px;
  border-bottom: 1px dashed #eef2f9
}

.notice-detail .subinfo .left b {
  color: #111827
}

.notice-detail .content {
  padding: 16px
}

.notice-detail .content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 8px 0
}

.notice-detail .content .text {
  font-size: 15px;
  line-height: 1.7;
  color: #111827
}

.notice-detail .toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid #eef2f9
}

.notice-detail .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer
}

.notice-detail .btn.primary {
  background: #1b2759;
  color: #fff;
  border: 0
}

.notice-detail .btn.ghost {
  border: 1px solid #e5e7eb;
  color: #1b2759;
  background: #fff
}

.notice-detail .spacer {
  height: 18px
}

@media (max-width:640px) {
  .notice-detail .headline .meta-line {
    justify-content: flex-start
  }

  .notice-detail .toolbar {
    flex-direction: column;
    gap: 10px
  }
}

/* 카드 공통 */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  margin-bottom: 12px;
}

/* 헤더 */
#quote-detail header {
  background: #eaf2ff;
  padding: 12px 16px;
  margin: -14px -16px 12px;
  border-bottom: 1px solid #d4e0ff;
  border-radius: 12px 12px 0 0;

  display: flex;
  align-items: baseline;
  /* ✅ 제목과 메타를 같은 베이스라인으로 */
  justify-content: space-between;
  /* 제목 좌측, 메타 우측 */
  gap: 12px;
  flex-wrap: wrap;
  /* 폭이 좁아지면 메타가 다음 줄로 */
}

#quote-detail .subject {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #0b1220;
}

#quote-detail .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  /* ✅ 요소 간 간격 통일 */
  white-space: nowrap;
  font-size: 13px;
  color: #334155;
}

#quote-detail .lock {
  margin-right: 6px;
}


#quote-detail .split {
  opacity: .5;
}

/* 상태 배지(목록과 동일 팔레트) */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.open {
  background: #eef2ff;
  color: #3730a3;
}

.badge.answered {
  background: #ecfeff;
  color: #155e75;
}

.badge.closed {
  background: #fee2e2;
  color: #991b1b;
}

/* 본문/첨부 */
#quote-detail .attach {
  margin: 4px 0 8px;
  font-size: 14px;
}

#quote-detail .content {
  margin-top: 8px;
  line-height: 1.7;
  color: #0b1220;
  min-height: 120px;
}

/* 종결 버튼 */
.close-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  color: #111827;
}

.btn.ghost {
  background: #fff;
}

.btn.primary {
  background: #1B2558;
  color: #fff;
  border-color: #1B2558;
}

/* 댓글 */
#comment-block h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
}

#comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#comment-list .item {
  border-top: 1px solid #f1f5f9;
  padding: 10px 0;
}

#comment-list .item:first-child {
  border-top: none;
}

#comment-list .item.admin {
  background: #f8fafc;
  border-left: 3px solid #1e3a8a;
  padding-left: 12px;
}

#comment-list .head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

#comment-list .who {
  color: #0b1220;
}

#comment-list .date {
  color: #64748b;
  font-size: 12px;
}

#comment-list .body {
  color: #111827;
  line-height: 1.6;
}

#comment-list .empty {
  text-align: center;
  color: #6b7280;
  padding: 26px 0;
}

/* 답변 폼/액션 */
.reply-form .actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.actions.only-list {
  display: flex;
  justify-content: flex-end;
}

/* 액션 바 */
#board-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
}

/* 글쓰기 버튼 */
.btn.write {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: #1B2558;
  color: #fff;
  border: 1px solid #1B2558;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(17, 24, 39, .25);
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s;
}

.btn.write:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, .28);
}

.btn.write:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(17, 24, 39, .2);
}

.btn.write svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* 모바일에서는 하단 플로팅 버튼으로 쓰고 싶다면 */
@media (max-width: 899px) {
  #board-actions {
    display: none;
  }

  /* 상단 버튼 숨김 */
  .fab-write {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .35);
    transition: transform .12s ease, box-shadow .12s ease;
  }

  .fab-write:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(17, 24, 39, .4);
  }

  .fab-write svg {
    width: 26px;
    height: 26px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* 카드 폭 · 중앙 정렬 */
#quote-write form {
  max-width: 720px;
  margin: 0 auto;
}

/* 필드 블록(한 컬럼) */
#quote-write .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

/* 라벨 */
#quote-write .form-row>label {
  font-size: 13px;
  color: #7a7a7a;
  font-weight: 700;
}

/* 입력 요소 공통 */
#quote-write input[type="text"],
#quote-write input[type="email"],
#quote-write input[type="tel"],
#quote-write input[type="password"],
#quote-write select,
#quote-write textarea {
  height: 42px;
  padding: 0 12px;
  border: none;
  outline: 0;
  border-radius: 10px;
  background: #eef1f4;
  /* 🔹 연회색 배경 */
  color: #111827;
  font-size: 14px;
}

#quote-write textarea {
  min-height: 140px;
  height: auto;
  padding: 10px 12px;
}

/* 포커스 */
#quote-write input:focus,
#quote-write select:focus,
#quote-write textarea:focus {
  box-shadow: 0 0 0 2px #dbe2ea inset;
}

/* 파일 업로드 라인 */
#quote-write .filebox {
  display: flex;
  align-items: center;
  gap: 10px;
}

#quote-write .filebox input[type="file"] {
  background: #eef1f4;
}

#quote-write .filebox [data-file-name] {
  font-size: 13px;
  color: #64748b;
}

/* 에러 */
#quote-write .err {
  color: #b91c1c;
  font-size: 12px;
}

/* 스위치 베이스 */
#quote-write .switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 24px;
  /* 클릭하기 쉽도록 최소 높이 */
}

/* 숨김 체크박스가 전체 영역을 클릭 가능하게 */
#quote-write .switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

/* 슬라이더 */
#quote-write .switch .slider {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: background .2s;
}

#quote-write .switch .slider::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  transition: left .2s;
}

/* 체크 시 변화 */
#quote-write .switch input[type="checkbox"]:checked+.slider {
  background: #111827;
}

#quote-write .switch input[type="checkbox"]:checked+.slider::after {
  left: 23px;
}

/* 텍스트 토글 */
#quote-write .switch .txt {
  font-size: 13px;
  color: #334155;
}

#quote-write .switch .txt .on {
  display: none;
}

#quote-write .switch input[type="checkbox"]:checked~.txt .on {
  display: inline;
}

#quote-write .switch input[type="checkbox"]:checked~.txt .off {
  display: none;
}

/* 액션 버튼 */
#quote-write .actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

#quote-write .btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  color: #111827;
  text-decoration: none;
}

#quote-write .btn.primary {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

/* (옵션) 스위치만 라벨 옆에 한 줄로 두고 싶을 때 */
#quote-write .form-row.one-line {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#quote-write .form-row.one-line>label {
  margin-right: 8px;
}

#find-card {
  display: flex;
  justify-content: center;
}

#find-card .card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(27, 37, 88, 0.04);
}

.title img {
  display: block;
  margin: 0 auto 18px;
}

.desc {
  color: var(--mu ted);
  font-size: 14px;
  margin: 0 0 10px;
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}

.input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #efefef;
  outline: none;
}

.input:focus {
  border-color: var(--primary);
  background: #f7f8ff;
}

.error {
  margin-top: 6px;
  color: #D14343;
  font-size: 13px;
}

.actions {
  margin-top: 18px;
}

/* 버튼(버튼/앵커 모두) 글자색 항상 흰색 */
.btn-primary {
  background: #1B2558;
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  height: 48px;
  width: 100%;
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

/* a 태그로 만든 버튼의 모든 상태에서 흰색 + 밑줄 제거 */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active {
  color: #1B2558 !important;
  text-decoration: none !important;
}

/* 하단 보조 링크: 밑줄 제거 */
.helper a {
  color: var(--primary);
  text-decoration: none;
  /* ⬅ 밑줄 제거 */
}

.helper a:hover {
  text-decoration: none;
  /* hover 때도 유지 */
}

.helper {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
}


.helper .dot {
  color: #CBD5E1;
  margin: 0 6px;
}

/* 카드 레이아웃 (로그인 페이지와 동일 톤) */
#login-card {
  display: flex;
  justify-content: center;
}

#login-card .card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(27, 37, 88, .04);
}

.desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}

/* Django 기본 위젯을 그대로 써도 동일 스타일 적용 */
.card input[type="email"],
.card input[type="text"],
.card input[type="password"] {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #efefef;
  outline: none;
  font-size: 15px;
}

.card input:focus {
  border-color: var(--primary);
  background: #f7f8ff;
}

.error {
  margin-top: 6px;
  color: #D14343;
  font-size: 13px;
}

.actions {
  margin-top: 18px;
}

/* 이미지 대신 사용하는 메인 버튼 */
.btn-primary {
  width: 100%;
  height: 48px;
  background: var(--primary);
  color: #fff !important;
  /* 항상 흰 글자 */
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(.95);
}

.info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px
}

.info-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px
}

.spec-row {
  display: grid;
  grid-template-columns: 110px 16px 1fr;
  gap: 10px;
  padding: 8px 0
}

.spec-row+.spec-row {
  border-top: 1px dashed #f3f4f6
}

.spec-key {
  color: #374151;
  font-weight: 600
}

.spec-val {
  color: #111827
}

.spec-price {
  font-size: 18px;
  font-weight: 800
}

.spec-price a {
  color: #ef4444;
  text-decoration: none
}

@media (max-width:480px) {
  .spec-row {
    grid-template-columns: 90px 16px 1fr
  }
}

.account-card {
  width: 98%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden
}

.account-head {
  background: linear-gradient(180deg, #f9fafb, #f3f4f6);
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px
}

.account-head-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827
}

.account-body {
  background: #fafafa;
  padding: 8px 12px
}

.account-list {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 0;
  border: 1px dashed #eef0f2;
  border-radius: 12px;
  overflow: hidden
}

.account-row {
  display: contents
}

.account-key {
  padding: 10px 12px;
  background: #fff;
  color: #374151;
  font-weight: 600;
  border-bottom: 1px dashed #eef0f2
}

.account-val {
  padding: 10px 12px;
  background: #fff;
  color: #111827;
  border-bottom: 1px dashed #eef0f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.account-list .account-key:last-of-type,
.account-list .account-val:last-of-type {
  border-bottom: none
}

@media (max-width:640px) {
  .account-list {
    grid-template-columns: 1fr
  }

  .account-key {
    background: #f9fafb;
    border-bottom: none;
    border-top: 1px dashed #eef0f2
  }

  .account-val {
    border-top: none
  }
}

.orders-card {
  width: 98%;
  margin: 0 auto 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden
}

.orders-head {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  font-weight: 700
}

.orders-table {
  width: 100%;
  border-collapse: collapse
}

.orders-table th,
.orders-table td {
  padding: 10px;
  text-align: center;
  font-size: 14px
}

.orders-table th {
  background: #f3f4f6;
  color: #374151;
  font-weight: 600
}

.orders-table tr:nth-child(even) td {
  background: #fafafa
}

.orders-empty {
  padding: 40px;
  text-align: center;
  color: #6b7280
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px
}

.pagination a,
.pagination span {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  text-decoration: none
}

.pagination .current {
  background: #111827;
  color: #fff;
  border-color: #111827
}

.order-wrap {
  max-width: 960px;
}

.order-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  margin-bottom: 16px
}

.order-section-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.order-row {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.order-label {
  font-size: 13px;
  color: #374151;
  font-weight: 600
}

.order-input,
.order-textarea {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  width: 97%;
}

.order-hint {
  font-size: 12px;
  color: #6b7280
}

.order-banner {
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  margin-bottom: 16px
}

.order-payment {
  background: #E6EDF8;
  border: 1px solid #E6EDF8;
  border-radius: 12px;
  padding: 16px;
  color: #1f2937;
  margin-bottom: 20px
}

.order-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 24px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer
}

.btn-primary {
  background: #111827;
  color: #fff;
  border-color: #111827
}

.btn-primary:hover {
  background: #1f2937
}

@media (max-width:640px) {
  .order-grid {
    grid-template-columns: 1fr
  }
}

.oc-wrap {
  max-width: 960px;
  margin: 0 auto
}

.oc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px
}

.oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px
}

.oc-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px
}

.oc-badge {
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px
}

.oc-sub {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 12px
}

.oc-table-wrap {
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px
}

.oc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px
}

.oc-table th,
.oc-table td {
  padding: 12px
}

.oc-table thead th {
  background: #f3f4f6;
  color: #374151;
  text-align: center;
  font-weight: 700
}

.oc-table td {
  border-top: 1px solid #f1f5f9
}

.oc-table td.tl {
  text-align: left
}

.oc-table td.tc {
  text-align: center
}

.oc-table td.tr {
  text-align: right
}

.oc-total {
  margin-top: 12px;
  text-align: right;
  font-size: 16px
}

.oc-total strong {
  font-weight: 800
}

.oc-note {
  margin-top: 14px;
  background: #fffbea;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px;
  color: #7c5200
}

.oc-bank {
  margin-top: 16px;
  background: #E6EDF8;
  border: 1px solid #E6EDF8;
  border-radius: 12px;
  padding: 16px
}

.oc-bank-title {
  font-weight: 800;
  margin-bottom: 8px
}

.oc-bank ul {
  margin: 6px 0 0 18px
}

.oc-bank li {
  margin: 4px 0
}

.oc-copy {
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff;
  cursor: pointer
}

.order-auth-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #E6EDF8, #E6EDF8);
}

.order-auth-left {
  display: flex;
  align-items: center;
  gap: 12px
}

.order-auth-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font-size: 18px;
  flex: none;
}

.order-auth-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.order-auth-title {
  font-weight: 800;
  color: #111827
}

.order-auth-kv {
  font-size: 13px;
  color: #4b5563
}

.order-auth-kv .dot {
  margin: 0 6px;
  color: #9ca3af
}

.order-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.btn-mini,
.link-mini {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-mini {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827
}

.btn-mini:hover {
  background: #f9fafb
}

.link-mini {
  color: #2563eb
}

@media (max-width:640px) {
  .order-auth-banner {
    flex-direction: column;
    align-items: flex-start
  }

  .order-auth-actions {
    width: 100%
  }
}

.btn-outline-navy {
  --navy: #1B2558;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: 1.01px solid var(--navy);
  border-radius: 8.078px;
  background: #fff;
  /* ← 흰색 바탕 */
  color: var(--navy);
  font-size: 16.156;
  font-weight: 500;
  letter-spacing: .2px;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, transform .05s;
}

.btn-outline-navy:hover {
  background: #f8fafc;
}

.btn-outline-navy:active {
  transform: translateY(1px);
}

.btn-outline-navy:focus-visible {
  outline: 3px solid rgba(15, 26, 74, .25);
  outline-offset: 2px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* 기존 CSS 뒤에 추가 */
.btn-outline-navy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-navy.btn-block {
  display: flex;
  width: 100%;
}

/* flex 유지 */
.btn-block {
  /* display는 건드리지 않도록 */
  width: 100%;
}

.lookup-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fff
}

.lookup-title {
  font-weight: 800;
  color: #111827;
}

.lookup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.lookup-row {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.lookup-label {
  font-size: 13px;
  color: #374151;
  font-weight: 600
}

.lookup-input {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  width: 95%;
  background: #fff;
  color: #111827
}

.lookup-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px
}

.lookup-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center
}

.btn-primary {
  background: #0f1a4a;
  color: #fff;
  border: 1px solid #0f1a4a;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 640px
}

.btn-primary:hover {
  background: #162461
}

@media (max-width:640px) {
  .lookup-grid {
    grid-template-columns: 1fr
  }
}