/* ============================================================
   금니시세몰 — 고객센터 (공지사항 / 자주묻는질문 / 1:1 문의)
   (about.css 의 .about-layout / .side 재사용)
   ============================================================ */

/* ---- BOARD (공지사항) ---- */
.board-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--bg-2); }
.board-scroll { overflow-x: auto; }
.board-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.board-table th, .board-table td { padding: 14px 16px; font-size: 14px; text-align: center; white-space: nowrap; }
.board-table thead th { background: #2a2521; color: #f3ede1; font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--line); }
.board-table tbody tr { border-bottom: 1px solid var(--line); transition: background .14s; cursor: pointer; }
.board-table tbody tr:last-child { border-bottom: 0; }
.board-table tbody tr:hover { background: rgba(255,95,0,.04); }
.board-table .c-no { color: var(--mute); font-variant-numeric: tabular-nums; width: 70px; }
.board-table .c-subject { text-align: left; color: var(--text); font-weight: 600; white-space: normal; }
.board-table .c-subject .hot {
  display: inline-block; font-size: 10.5px; font-weight: 800; line-height: 1; vertical-align: 1px;
  padding: 3px 6px; border-radius: 4px; margin-left: 8px; background: var(--orange); color: #fff; letter-spacing: .04em;
}
.board-table .c-date, .board-table .c-writer, .board-table .c-view { color: var(--dim); font-variant-numeric: tabular-nums; }
.board-table .c-view { width: 92px; }
.board-table .c-writer { width: 90px; }

/* search bar */
.board-search { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.board-search select { width: 120px; }
.board-search .input { width: min(320px, 60vw); }
.board-search .btn-search {
  display: inline-flex; align-items: center; gap: 7px; padding: 0 22px; border-radius: 10px; border: 0;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.board-search .btn-search:hover { background: var(--orange-d); }
.empty-row td { padding: 40px 16px; text-align: center; color: var(--mute); }

/* ---- PAGER (페이지네이션) — apply.css 와 동일 ---- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--dim); font-weight: 700; font-size: 14px; transition: all .14s;
}
.pager button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-d); }
.pager button.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---- FAQ ACCORDION ---- */
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.faq-cat {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--dim); font-size: 14px; font-weight: 700; transition: all .15s;
}
.faq-cat:hover { border-color: var(--orange); color: var(--text); }
.faq-cat.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); transition: border-color .18s, box-shadow .18s; }
.faq-item.open { border-color: var(--orange); box-shadow: var(--shadow-card); }
.faq-q {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 20px 22px; background: transparent; border: 0; color: var(--text); font-size: 16.5px; font-weight: 700;
}
.faq-q .qmark {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,95,0,.10); color: var(--orange-d); font-weight: 900; font-size: 15px;
}
.faq-q .cat-tag { font-size: 12px; font-weight: 700; color: var(--gold-l); margin-left: auto; flex: none; white-space: nowrap; }
.faq-q .chev { flex: none; color: var(--mute); transition: transform .22s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a .faq-a-inner { padding: 0 22px 22px 66px; color: var(--dim); font-size: 15px; line-height: 1.8; }
@media (max-width: 560px){ .faq-a .faq-a-inner { padding-left: 22px; } .faq-q .cat-tag { display: none; } }

/* ---- 1:1 문의 ---- */
.inq-hero {
  text-align: center; padding: 40px 28px; border-radius: 18px; margin-bottom: 26px;
  background: linear-gradient(160deg, #fff6ef, #f6efe2); border: 1px solid var(--line-2);
}
.inq-hero .ico {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: var(--orange); color: #fff; box-shadow: 0 14px 30px -12px rgba(255,95,0,.5);
}
.inq-hero .ico svg { width: 34px; height: 34px; }
.inq-hero h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; }
.inq-hero p { color: var(--dim); font-size: 15.5px; max-width: 520px; margin: 0 auto; line-height: 1.75; }

.inq-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
@media (max-width: 720px){ .inq-methods { grid-template-columns: 1fr; } }
.inq-method { padding: 26px 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; transition: transform .2s, border-color .2s; }
.inq-method:hover { transform: translateY(-4px); border-color: var(--line-2); }
.inq-method .m-ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; background: linear-gradient(150deg, rgba(255,95,0,.14), rgba(196,154,60,.12)); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--orange); }
.inq-method .m-ico svg { width: 26px; height: 26px; }
.inq-method h4 { font-size: 18px; margin-bottom: 7px; }
.inq-method .m-val { font-size: 16px; font-weight: 800; color: var(--gold-l); }
.inq-method p { color: var(--mute); font-size: 13.5px; margin-top: 6px; line-height: 1.6; }

.inq-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 8px 0 30px; }
@media (max-width: 720px){ .inq-steps { grid-template-columns: 1fr; } }
.inq-step { display: flex; gap: 13px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.inq-step .sn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.inq-step .st { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.inq-step .sd { color: var(--mute); font-size: 13px; line-height: 1.55; }

.inq-cta { text-align: center; padding: 30px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.inq-cta .hours { color: var(--mute); font-size: 14px; margin-bottom: 18px; }
.inq-cta .hours b { color: var(--text); }
.kakao-big {
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 34px; border-radius: 14px; border: 0;
  background: #FEE500; color: #181600; font-weight: 800; font-size: 17px;
  box-shadow: 0 16px 34px -14px rgba(254,229,0,.6); transition: transform .18s; white-space: nowrap;
}
.kakao-big:hover { transform: translateY(-2px) scale(1.01); }
.kakao-big .kb-ico { width: 28px; height: 28px; border-radius: 50%; background: #181600; color: #FEE500; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.inq-cta .sub { margin-top: 14px; font-size: 13px; color: var(--mute); }
