@charset "utf-8";

/* ════════════════════════════════════════════
   코랩샵 FAQ — 모바일 아코디언 스킨
   톤앤매너: Gold #f8b500, card white/#e5e7eb, radius 12px
   ════════════════════════════════════════════ */

/* 헤더 제거 */
.page-title-wrap { display: none !important; }

/* ── 전체 래퍼 ── */
.kfaq-wrap {
    max-width: 100%;
    padding: 0 0 48px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #1f2937;
}

/* ── 검색바 ── */
.kfaq-search-bar {
    padding: 16px 14px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}
.kfaq-search-bar form {
    display: flex;
    gap: 8px;
}
.kfaq-search-input {
    flex: 1;
    height: 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    -webkit-appearance: none;
}
.kfaq-search-input:focus {
    border-color: #f8b500;
    box-shadow: 0 0 0 3px rgba(248,181,0,.15);
}
.kfaq-search-btn {
    width: 42px; height: 42px;
    background: #f8b500;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ── CS 안내 박스 ── */
.kfaq-cs-box {
    display: flex;
    flex-wrap: wrap;
    margin: 0 14px 20px;
    background: #1f2937;
    border-radius: 12px;
    overflow: hidden;
}
.kfaq-cs-inquiry {
    flex: 1; min-width: 0;
    padding: 16px 18px;
    display: flex; flex-direction: column; gap: 10px;
    border-right: 1px solid #374151;
}
.kfaq-cs-inquiry p {
    margin: 0;
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.5;
}
.kfaq-cs-inquiry strong { color: #fff; }
.kfaq-cs-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f8b500;
    color: #fff;
    font-size: 13px; font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
}
.kfaq-cs-call {
    flex: 1; min-width: 0;
    padding: 16px 18px;
    display: flex; flex-direction: column; gap: 4px;
}
.kfaq-cs-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.kfaq-cs-tel {
    font-size: 18px;
    color: #fff;
    font-weight: 800;
    display: block;
}
.kfaq-cs-hours {
    margin: 0;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

@media (max-width: 440px) {
    .kfaq-cs-inquiry { border-right: none; border-bottom: 1px solid #374151; }
    .kfaq-cs-box { flex-direction: column; }
}

/* ── 카테고리 탭 스크롤 ── */
.kfaq-category-nav {
    margin: 0 0 16px;
    overflow: hidden;
}
.kfaq-category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 14px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.kfaq-category-scroll::-webkit-scrollbar { display: none; }

.kfaq-cat-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color .15s, color .15s, background .15s;
}
.kfaq-cat-item:hover {
    border-color: #f8b500;
    color: #b45309;
    background: #fffbeb;
}
.kfaq-cat-item.kfaq-cat-active {
    border-color: #f8b500;
    background: #f8b500;
    color: #fff;
    font-weight: 700;
}

/* ── 아코디언 리스트 ── */
.kfaq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 14px;
}
#faq_con h2.sound_only {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* ── 아코디언 카드 ── */
.kfaq-item {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.kfaq-item:hover,
.kfaq-item.kfaq-open {
    border-color: #f8b500;
    box-shadow: 0 3px 12px rgba(248,181,0,.13);
}

/* 질문 버튼 */
.kfaq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #1f2937;
    -webkit-tap-highlight-color: transparent;
}
.kfaq-question:focus { outline: none; }

.kfaq-q-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f8b500;
    color: #fff;
    font-size: 14px; font-weight: 900;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-style: italic;
}

.kfaq-q-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.kfaq-chevron {
    flex-shrink: 0;
    color: #9ca3af;
    font-size: 12px;
    transition: transform .25s ease;
}
.kfaq-item.kfaq-open .kfaq-chevron {
    transform: rotate(180deg);
    color: #f8b500;
}

/* 답변 패널 */
.kfaq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.kfaq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 18px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.kfaq-a-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 2px solid #f8b500;
    color: #f8b500;
    font-size: 14px; font-weight: 900;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-style: italic;
}

.kfaq-a-content {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.75;
    color: #374151;
    word-break: keep-all;
}
.kfaq-a-content img { max-width: 100%; height: auto; display: block; }

/* 빈 목록 */
.kfaq-empty {
    padding: 50px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 13.5px;
    background: #fafafa;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
}

/* 관리자 */
.faq_admin { text-align: right; padding: 0 14px; margin-bottom: 10px; }
.faq_img { text-align: center; }
