@charset "utf-8";

/* =========================================================
   업소(shop) 스킨 — 다크 럭셔리 (웜차콜 + 앤티크골드)
   테마 팔레트(premium.css)와 동일 계열로 통일, 시인성/고급감 강화
   ========================================================= */
.shop_view, .shop_write {
    --s-bg:      #1B1513;
    --s-surface: #221A16;
    --s-surface2:#2A211B;
    --s-line:    #3A2E25;
    --s-gold:    #C9A24B;
    --s-gold-hi: #E7C878;
    --s-ink:     #EFE7DA;
    --s-mut:     #A99A87;
    --s-dim:     #7C6E60;
    --s-serif:   var(--serif, "Noto Serif KR", Georgia, serif);
    color: var(--s-ink);
}
.shop_view, .shop_write { background: transparent !important; }

/* ================= 상세 보기 ================= */

/* 관리자 닉네임/작성자 프로필 숨김, 버튼만 우측 정렬 */
.shop_view #view_subject { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.shop_view #view_header { display:flex; justify-content:flex-end; border:0 !important; padding:0 !important; margin:0 0 6px !important; background:transparent !important; min-height:0; }
.shop_view #view_header .header_profile_img,
.shop_view #view_header .header_info { display:none !important; }
.shop_view #view_header .view_buttons { display:flex; gap:8px; }

/* 댓글 완전 숨김 */
.shop_view .comment_opener,
.shop_view #bo_basic_comment,
.shop_view #bo_basic_comment_write { display:none !important; }

/* HERO */
.shop_view .sv_hero {
    display:flex; flex-wrap:wrap; gap:20px; align-items:flex-end;
    padding:30px; margin-bottom:16px;
    border:1px solid var(--s-line); border-radius:18px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(201,162,75,.14), transparent 55%),
        linear-gradient(135deg, #2A211B, #1B1513);
    box-shadow: 0 20px 50px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(231,200,120,.08);
}
.shop_view .sv_hero .sv_cat {
    display:inline-block; margin-bottom:12px; padding:5px 14px;
    border-radius:999px; background:var(--s-gold); color:#221a10;
    font-size:1.2rem; font-weight:700; letter-spacing:.02em;
}
.shop_view .sv_hero h1 { margin:0; font-family:var(--s-serif); font-size:3rem; font-weight:700; letter-spacing:-.01em; color:var(--s-ink); }
.shop_view .sv_hero .sv_oneline { margin:12px 0 0; color:var(--s-mut); font-size:1.45rem; line-height:1.65; max-width:60ch; }
.shop_view .sv_rating { margin-left:auto; text-align:right; }
.shop_view .sv_rating .star { color:var(--s-gold-hi); font-size:1.7rem; letter-spacing:2px; }
.shop_view .sv_rating .score { font-family:var(--s-serif); font-size:2.8rem; font-weight:700; color:var(--s-gold-hi); }
.shop_view .sv_rating .cnt { color:var(--s-dim); font-size:1.2rem; }

/* CTA */
.shop_view .sv_cta { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.shop_view .sv_cta a { flex:1 1 180px; text-align:center; padding:16px; border-radius:14px; font-size:1.55rem; font-weight:800; transition:transform .18s, box-shadow .18s, filter .18s; }
.shop_view .sv_cta .cta_call { background:linear-gradient(135deg,#E7C878,#C9A24B); box-shadow:0 14px 30px -12px rgba(201,162,75,.55); }
/* 테마 링크색 규칙을 이기도록 버튼 글자색 강제(어두운 브라운) */
.shop_view .sv_cta .cta_call,
.shop_view .sv_cta .cta_call i,
.shop_view .sv_cta .cta_call span { color:#1c1408 !important; text-shadow:0 1px 0 rgba(255,255,255,.15); }
.shop_view .sv_cta .cta_call:hover { transform:translateY(-2px); filter:brightness(1.05); }
.shop_view .sv_cta .cta_sms { background:var(--s-surface2); border:1px solid var(--s-line); }
.shop_view .sv_cta .cta_sms,
.shop_view .sv_cta .cta_sms i,
.shop_view .sv_cta .cta_sms span { color:var(--s-gold-hi) !important; }
.shop_view .sv_cta .cta_sms:hover { border-color:var(--s-gold); }

/* 탭 */
.shop_view .tab_menu { position:sticky; top:0; z-index:20; padding:8px 0; margin-bottom:18px; background:var(--s-bg); }
.shop_view .tab_menu ul { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; list-style:none; padding:0; margin:0; }
.shop_view .tab_menu .tab { text-align:center; padding:13px; border-radius:12px; background:var(--s-surface2); color:var(--s-mut); font-weight:700; font-size:1.35rem; cursor:pointer; border:1px solid transparent; transition:all .18s; }
.shop_view .tab_menu .tab:hover { color:var(--s-gold-hi); }
.shop_view .tab_menu .tab.active { background:rgba(201,162,75,.12); color:var(--s-gold-hi); border-color:var(--s-gold); }

/* 블록 카드 */
.shop_view .sv_block { padding:24px; margin-bottom:18px; border-radius:16px; background:var(--s-surface) !important; border:1px solid var(--s-line) !important; box-shadow:0 12px 30px -24px rgba(0,0,0,.9); }
.shop_view .sv_block > h2 { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-family:var(--s-serif); font-size:1.95rem; font-weight:700; color:var(--s-ink); }
.shop_view .sv_block > h2 .bar { width:4px; height:22px; border-radius:3px; background:linear-gradient(var(--s-gold-hi),var(--s-gold)); }

/* 코스 테이블 */
.shop_view .course_table { width:100%; border-collapse:collapse; table-layout:fixed; }
.shop_view .course_table th { padding:12px; text-align:left; font-size:1.2rem; font-weight:700; letter-spacing:.03em; color:var(--s-dim); border-bottom:1px solid var(--s-line); }
.shop_view .course_table td { padding:16px 12px; font-size:1.4rem; color:var(--s-ink); border-bottom:1px solid var(--s-line); vertical-align:middle; }
.shop_view .course_table tr:last-child td { border-bottom:0; }
/* 컬럼 폭: 코스명(넓게) · 시간(고정) · 가격(고정) — 헤더/값 정렬 일치 */
.shop_view .course_table th:nth-child(1), .shop_view .course_table td:nth-child(1) { width:auto; text-align:left; }
.shop_view .course_table th:nth-child(2), .shop_view .course_table td:nth-child(2) { width:110px; text-align:center; }
.shop_view .course_table th:nth-child(3), .shop_view .course_table td:nth-child(3) { width:140px; text-align:right; }
.shop_view .course_table td.time { color:var(--s-mut); white-space:nowrap; }
.shop_view .course_table td.price { font-family:var(--s-serif); font-weight:700; color:var(--s-gold-hi); white-space:nowrap; }

/* 업체정보 */
.shop_view .info_list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.shop_view .info_list li { display:flex; gap:12px; font-size:1.4rem; color:var(--s-ink); align-items:flex-start; }
.shop_view .info_list li i { color:var(--s-gold); margin-top:3px; }
.shop_view .info_list li .lbl { flex:0 0 84px; color:var(--s-dim); font-weight:700; }

.shop_view .notice_box { margin-bottom:18px; padding:16px 18px; border-radius:12px; background:rgba(201,162,75,.07); border:1px solid rgba(201,162,75,.24); }
.shop_view .notice_box ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
.shop_view .notice_box li { position:relative; padding-left:16px; font-size:1.32rem; color:var(--s-mut); }
.shop_view .notice_box li::before { content:""; position:absolute; left:2px; top:8px; width:5px; height:5px; border-radius:50%; background:var(--s-gold); }

.shop_view .subway_list { display:flex; flex-wrap:wrap; gap:10px; }
.shop_view .subway_list .sub_item { display:flex; align-items:center; gap:8px; padding:11px 16px; border-radius:12px; background:var(--s-surface2); border:1px solid var(--s-line); font-size:1.32rem; color:var(--s-ink); }
.shop_view .subway_list .sub_item i { color:var(--s-gold); }
.shop_view .subway_list .sub_item .dist { color:var(--s-dim); font-size:1.15rem; }

/* 소개 본문 */
.shop_view #article_contents,
.shop_view .sv_intro { font-size:1.42rem; line-height:1.95; color:var(--s-ink); }
/* 본문 소제목 (공지사항·업체소개·기타사항·관리사정보·주의사항) */
.shop_view .sv_sections h2,
.shop_view #article_contents h2 {
    display:flex; align-items:center; gap:10px;
    margin:30px 0 14px; padding:0 0 10px;
    font-family:var(--s-serif); font-size:1.85rem; font-weight:700; color:var(--s-gold-hi);
    border-bottom:1px solid var(--s-line);
}
.shop_view .sv_sections h2::before,
.shop_view #article_contents h2::before {
    content:""; flex:0 0 auto; width:4px; height:20px; border-radius:3px;
    background:linear-gradient(var(--s-gold-hi),var(--s-gold));
}
.shop_view .sv_sections h2:first-child,
.shop_view #article_contents h2:first-child { margin-top:4px; }
.shop_view #article_contents h3 { font-size:1.5rem; color:var(--s-gold); margin:18px 0 8px; }
.shop_view #article_contents p { margin:0 0 14px; color:var(--s-ink); }
.shop_view #article_contents ul { margin:0 0 14px; padding-left:20px; }
.shop_view #article_contents li { margin:0 0 6px; color:var(--s-mut); }

/* FAQ */
.shop_view .faq_item { border-bottom:1px solid var(--s-line); }
.shop_view .faq_item:last-child { border-bottom:0; }
.shop_view .faq_q { display:flex; gap:12px; align-items:center; padding:17px 4px; cursor:pointer; font-size:1.42rem; font-weight:700; color:var(--s-ink); }
.shop_view .faq_q .qmark { color:var(--s-gold); font-family:var(--s-serif); }
.shop_view .faq_q .arrow { margin-left:auto; color:var(--s-dim); transition:transform .2s; }
.shop_view .faq_item.open .faq_q .arrow { transform:rotate(180deg); color:var(--s-gold); }
.shop_view .faq_a { display:none; padding:0 4px 18px 34px; font-size:1.34rem; line-height:1.8; color:var(--s-mut); }
.shop_view .faq_item.open .faq_a { display:block; }

/* 지도 */
.shop_view .sv_map { width:100%; height:300px; border:0; border-radius:14px; filter:grayscale(.2) contrast(.95) brightness(.92); }

/* 인근 업소 */
.shop_view .near_list { display:flex; flex-wrap:wrap; gap:10px; }
.shop_view .near_list a { display:inline-flex; align-items:center; gap:6px; padding:10px 16px; border-radius:999px; background:var(--s-surface2); border:1px solid var(--s-line); color:var(--s-gold-hi); font-size:1.28rem; transition:border-color .18s, transform .18s; }
.shop_view .near_list a:hover { border-color:var(--s-gold); transform:translateY(-2px); }
.shop_view .near_list a i { color:var(--s-gold); }

/* 추천/스크랩 등 잔여요소 다크 정리 */
.shop_view #article_share a, .shop_view #article_react a { background:var(--s-surface2) !important; border:1px solid var(--s-line) !important; color:var(--s-mut) !important; }
.shop_view .view_buttons .btn { background:var(--s-surface2) !important; border:1px solid var(--s-line) !important; color:var(--s-gold-hi) !important; }

/* ================= 작성 폼 ================= */
.shop_write .sw_section { border:1px solid var(--s-line); border-radius:16px; background:var(--s-surface); margin:0 0 20px; overflow:hidden; box-shadow:0 12px 30px -26px rgba(0,0,0,.9); }
.shop_write .sw_head { display:flex; align-items:center; gap:10px; padding:15px 20px; background:var(--s-surface2); border-bottom:1px solid var(--s-line); font-family:var(--s-serif); font-size:1.55rem; font-weight:700; color:var(--s-ink); }
.shop_write .sw_head .sw_no { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--s-gold); color:#221a10; font-size:1.25rem; font-family:var(--sans); }
.shop_write .sw_head small { font-weight:400; color:var(--s-dim); font-size:1.2rem; font-family:var(--sans); }
.shop_write .sw_body { padding:20px; }
.shop_write .sw_row { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:14px; }
.shop_write .sw_row:last-child { margin-bottom:0; }
.shop_write .sw_field { flex:1 1 200px; display:flex; flex-direction:column; gap:7px; }
.shop_write .sw_field.wide { flex-basis:100%; }
.shop_write .sw_field label { font-size:1.28rem; font-weight:700; color:var(--s-ink); }
.shop_write .sw_field label .req { color:var(--s-gold-hi); margin-left:3px; }
.shop_write .sw_field .hint { font-size:1.1rem; color:var(--s-dim); font-weight:400; }
.shop_write .sw_field input[type=text],
.shop_write .sw_field input[type=number],
.shop_write .sw_field textarea,
.shop_write .sw_field select,
.shop_write .rep_row input,
.shop_write .rep_row textarea {
    width:100%; padding:11px 13px; border:1px solid var(--s-line); border-radius:9px;
    background:var(--s-bg); color:var(--s-ink); font-size:1.3rem; font-family:inherit;
}
.shop_write .sw_field textarea, .shop_write .rep_row textarea { resize:vertical; min-height:66px; line-height:1.6; }
.shop_write .sw_field input::placeholder, .shop_write .rep_row input::placeholder, .shop_write textarea::placeholder { color:var(--s-dim); }
.shop_write .sw_field input:focus, .shop_write .sw_field textarea:focus, .shop_write .sw_field select:focus,
.shop_write .rep_row input:focus, .shop_write .rep_row textarea:focus { outline:none; border-color:var(--s-gold); box-shadow:0 0 0 3px rgba(201,162,75,.18); }

.shop_write .rep_list { display:flex; flex-direction:column; gap:10px; }
.shop_write .rep_row { display:flex; gap:8px; align-items:flex-start; }
.shop_write .rep_row > *:not(.rep_del) { flex:1; }
.shop_write .rep_row .rep_del { flex:0 0 42px; height:42px; border:1px solid var(--s-line); border-radius:9px; background:var(--s-surface2); color:var(--s-gold-hi); cursor:pointer; font-size:1.5rem; }
.shop_write .rep_row .rep_del:hover { border-color:var(--s-gold); background:rgba(201,162,75,.1); }
.shop_write .rep_add { margin-top:10px; display:inline-flex; align-items:center; gap:7px; padding:10px 18px; border:1px dashed var(--s-gold); border-radius:9px; background:rgba(201,162,75,.08); color:var(--s-gold-hi); font-size:1.28rem; font-weight:700; cursor:pointer; }
.shop_write .rep_add:hover { background:rgba(201,162,75,.16); }

.shop_write .btn_confirm { display:flex; gap:12px; justify-content:center; margin-top:26px; }
.shop_write .btn_confirm .btn { padding:14px 38px; border-radius:10px; font-size:1.45rem; font-weight:700; }
.shop_write .btn_submit { background:linear-gradient(135deg,var(--s-gold-hi),var(--s-gold)); color:#221a10; border:0; cursor:pointer; box-shadow:0 14px 30px -14px rgba(201,162,75,.55); }
.shop_write .btn_submit:hover { filter:brightness(1.06); }
.shop_write .btn_cancel { background:var(--s-surface2); border:1px solid var(--s-line); color:var(--s-ink); }

/* 반응형 */
@media (max-width:640px) {
    .shop_view .sv_hero { padding:22px; }
    .shop_view .sv_hero h1 { font-size:2.3rem; }
    .shop_view .sv_rating { margin-left:0; text-align:left; }
    .shop_write .rep_row { flex-wrap:wrap; }
    .shop_write .rep_row > *:not(.rep_del) { flex:1 1 100%; }
    .shop_write .rep_row .rep_del { flex-basis:auto; align-self:flex-end; }
}
