@charset "utf-8";
/* =========================================================
   B. 따뜻한 내추럴 - 라이프스타일 마켓형
   업로드 위치 : theme/basic/css/custom.css
   ========================================================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap');

/* ---------- 색상·폰트 (여기만 바꾸면 전체 톤 변경) ---------- */
:root {
  --c-bg:      #f7f3ec;   /* 전체 배경 (오트밀) */
  --c-surface: #fffdf9;   /* 카드 배경 */
  --c-sand:    #efe6d8;   /* 배너·푸터 배경 */
  --c-line:    #e6ddcf;
  --c-text:    #3b332b;
  --c-muted:   #8c8072;
  --c-wood:    #8a6646;
  --c-wood-dk: #6f5036;
  --c-olive:   #6e7a52;
  --f-sans:  'Pretendard', 'Malgun Gothic', dotum, sans-serif;
  --f-serif: 'Gowun Batang', serif;
  --w: 1200px;
  --r: 18px;              /* 모서리 둥글기 */
}

/* ---------- 기본 ---------- */
body, input, button, textarea, select, h1, h2, h3, h4, h5, h6 {font-family:var(--f-sans)}
body {font-size:0.8125em;color:var(--c-text);background:var(--c-bg);letter-spacing:-0.01em}
a {color:inherit}
input[type=text]:focus,input[type=password]:focus,textarea:focus,select:focus {box-shadow:0 0 0 3px rgba(138,102,70,.18);border:1px solid var(--c-wood) !important}
.cx-inner {width:var(--w);margin:0 auto;position:relative}
.cx-btn {display:inline-flex;align-items:center;gap:10px;padding:15px 30px;border-radius:40px;background:var(--c-wood);color:#fff !important;font-size:14px;font-weight:600;transition:background .2s}
.cx-btn:hover {background:var(--c-wood-dk)}
.cx-btn--line {background:transparent;border:1px solid var(--c-line);color:var(--c-text) !important;font-weight:500}
.cx-btn--line:hover {background:var(--c-surface);border-color:var(--c-wood)}
.cx-center {text-align:center;margin-top:44px}

/* =========================================================
   상단
   ========================================================= */
#hd.cx-hd {background:var(--c-surface);border-bottom:1px solid var(--c-line)}
.cx-notice {background:var(--c-olive);color:#f4f1e8;text-align:center;font-size:12.5px;line-height:38px;letter-spacing:.01em}
.cx-hd__util {font-size:12px}
.cx-hd__util .cx-inner {display:flex;justify-content:flex-end;gap:20px;padding:12px 0 0}
.cx-hd__util a {color:var(--c-muted)}
.cx-hd__util a:hover {color:var(--c-wood)}

.cx-hd__main .cx-inner {display:flex;align-items:center;height:86px;position:static}
.cx-hd__main {position:relative}
.cx-hd__logo {flex:0 0 auto;margin-right:46px}
.cx-hd__logo img {max-height:42px;width:auto}

#hd_menu.cx-gnb {position:static;display:flex;align-items:center;gap:30px;flex:1;width:auto;margin:0;background:none}
#hd_menu.cx-gnb > a {font-size:15px;font-weight:600;color:var(--c-text);padding:8px 0;position:relative}
#hd_menu.cx-gnb > a:after {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--c-wood);transform:scaleX(0);transition:transform .25s}
#hd_menu.cx-gnb > a:hover:after {transform:scaleX(1)}
#hd_menu.cx-gnb .cx-gnb__sale {color:#b5532f}
#hd_menu button#menu_open {float:none;width:auto;height:auto;padding:9px 16px;border-radius:30px;background:var(--c-sand);color:var(--c-text);font-size:13px;font-weight:600}
#hd_menu button#menu_open:hover {background:var(--c-line)}

.cx-hd__right {display:flex;align-items:center;gap:18px;flex:0 0 auto}
.cx-hd__right #hd_sch {display:flex;width:210px;border-radius:30px;background:var(--c-bg);border:1px solid var(--c-line);overflow:hidden}
.cx-hd__right #hd_sch form {display:flex;width:100%}
.cx-hd__right #hd_sch #sch_str {float:none;flex:1;width:auto;height:40px;padding-left:18px;background:transparent;border:0;border-radius:0;color:var(--c-text);font-size:13px}
.cx-hd__right #hd_sch #sch_str::placeholder {color:#b0a493}
.cx-hd__right #hd_sch #sch_submit {float:none;width:42px;height:40px;background:transparent;border:0;border-radius:0;color:var(--c-wood);font-size:14px}
.cx-ico {font-size:19px;color:var(--c-text);position:relative}
.cx-ico:hover {color:var(--c-wood)}
.cx-count {position:absolute;top:-6px;right:-10px;min-width:17px;height:17px;line-height:17px;padding:0 4px;border-radius:9px;background:var(--c-wood);color:#fff;font-size:10px;font-weight:700;text-align:center;font-family:var(--f-sans)}

/* 전체 카테고리 펼침 */
#category {top:100%;left:0;background:var(--c-surface);border:1px solid var(--c-line);border-radius:0 0 var(--r) var(--r);box-shadow:0 18px 36px rgba(80,60,40,.12)}
#category h2 {color:var(--c-text);border-bottom-color:var(--c-line);font-family:var(--f-serif)}
#category .cate_li_1 {border-left-color:var(--c-line)}
#category .cate_li_1_a {color:var(--c-wood)}
#category .cate_li_2 a {color:var(--c-muted)}
#category .cate_li_2 a:hover {color:var(--c-text)}
#category .close_btn {background:transparent}
#category_all_bg {background:rgba(59,51,43,.25)}

/* =========================================================
   메인
   ========================================================= */
#wrapper {background:var(--c-bg)}
#wrapper.is_community {background:var(--c-surface)}
#wrapper.is_main #container {width:100%;min-height:0}
#wrapper.is_main .shop-content.is_index {margin:0;padding:0 0 100px}

.cx-sec {padding:90px 0 0}
.cx-head {display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}
.cx-head h2 {font-family:var(--f-serif);font-size:28px;font-weight:700;color:var(--c-text)}
.cx-more {font-size:13px;color:var(--c-muted)}
.cx-more:hover {color:var(--c-wood)}

/* 1. 좌우 분할 배너 */
.cx-hero {background:var(--c-sand);padding:50px 0}
.cx-hero .cx-inner {display:grid;grid-template-columns:1fr 1.25fr;gap:60px;align-items:center}
.cx-hero__tag {display:inline-block;font-family:var(--f-serif);font-size:15px;color:var(--c-olive);border-bottom:1px solid var(--c-olive);padding-bottom:4px;margin-bottom:24px}
.cx-hero__copy h2 {font-family:var(--f-serif);font-size:44px;font-weight:700;line-height:1.35;color:var(--c-text);margin:0 0 20px;letter-spacing:-.03em}
.cx-hero__sub {font-size:16px;color:var(--c-muted);margin-bottom:38px}
.cx-hero__visual {height:500px;border-radius:28px;overflow:hidden;background:var(--c-surface)}
.cx-hero__visual > div, .cx-hero__visual .owl-carousel, .cx-hero__visual .owl-stage-outer, .cx-hero__visual .owl-stage, .cx-hero__visual .owl-item, .cx-hero__visual .item {height:100%}
.cx-hero__visual img {width:100%;height:500px;object-fit:cover;display:block}
.cx-hero__visual--empty {background:
  radial-gradient(circle at 72% 38%, #d9c4a3 0 22%, transparent 22.3%),
  radial-gradient(circle at 34% 70%, #b8c09d 0 16%, transparent 16.3%),
  linear-gradient(140deg,#f3ebde,#e2d3bb)}

/* 2. 원형 카테고리 */
.cx-circles {padding-top:70px}
.cx-circles ul {display:flex;justify-content:center;gap:46px}
.cx-circles li a {display:flex;flex-direction:column;align-items:center;gap:14px}
.cx-circle {display:block;width:128px;height:128px;border-radius:50%;overflow:hidden;background:var(--c-surface);border:1px solid var(--c-line);transition:transform .3s, box-shadow .3s}
.cx-circle img {width:100%;height:100%;object-fit:cover;display:block}
.cx-circles li a:hover .cx-circle {transform:translateY(-6px);box-shadow:0 12px 24px rgba(80,60,40,.14)}
.cx-circles strong {font-size:14px;font-weight:600;color:var(--c-text)}

/* 상품 카드 공통 */
.cx-card a {display:block}
.cx-card__img {position:relative;overflow:hidden;border-radius:var(--r);background:var(--c-surface)}
.cx-card__img img {width:100%;height:auto;display:block;transition:transform .6s ease}
.cx-card a:hover .cx-card__img img {transform:scale(1.04)}
.cx-badge {position:absolute;top:14px;left:14px;padding:5px 11px;border-radius:20px;background:var(--c-olive);color:#fff;font-size:11.5px;font-weight:700}
.cx-badge--out {background:#a59a8c}
.cx-card__body {padding:16px 4px 0}
.cx-card__name {font-size:15px;font-weight:600;color:var(--c-text);line-height:1.45;margin-bottom:5px}
.cx-card__desc {font-size:13px;color:var(--c-muted);margin-bottom:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-card__price {font-size:16px;font-weight:700;color:var(--c-text)}
.cx-card__price em {font-style:normal;color:#b5532f;margin-right:7px}
.cx-card__price del {color:#b5a999;font-size:12.5px;font-weight:400;margin-left:5px}

/* 3. 탭 상품 */
.cx-tabs__btns {display:flex;gap:8px;background:var(--c-sand);padding:5px;border-radius:30px}
.cx-tabs__btns button {border:0;background:transparent;padding:10px 22px;border-radius:30px;font-size:14px;font-weight:600;color:var(--c-muted);transition:all .2s}
.cx-tabs__btns button.on {background:var(--c-surface);color:var(--c-text);box-shadow:0 2px 8px rgba(80,60,40,.1)}
.cx-tabs__pane {display:none}
.cx-tabs__pane.on {display:block;animation:cxFade .4s ease}
@keyframes cxFade {from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none}}
.cx-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:40px 22px}

/* 4. 고객 후기 */
.cx-reviews__list {display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cx-reviews__list li a {display:flex;flex-direction:column;height:100%;padding:28px 26px 24px;background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r);transition:box-shadow .3s}
.cx-reviews__list li a:hover {box-shadow:0 12px 28px rgba(80,60,40,.1)}
.cx-review__stars {color:var(--c-olive);font-size:15px;letter-spacing:2px;margin-bottom:14px}
.cx-review__stars span {color:var(--c-line)}
.cx-review__txt {flex:1;font-size:14px;line-height:1.75;color:var(--c-text);margin-bottom:22px}
.cx-review__item {display:flex;align-items:center;gap:12px;padding-top:18px;border-top:1px dashed var(--c-line)}
.cx-review__thumb {flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--c-sand)}
.cx-review__thumb img {width:100%;height:100%;object-fit:cover}
.cx-review__item strong {display:block;font-size:13px;color:var(--c-text);margin-bottom:2px}
.cx-review__item em {font-style:normal;font-size:12px;color:var(--c-muted)}

/* 5. 할인상품 가로 카드 */
.cx-sale__list {display:grid;grid-template-columns:1fr 1fr;gap:22px}
.cx-sale__list .cx-card a {display:grid;grid-template-columns:200px 1fr;gap:30px;align-items:center;padding:20px;background:var(--c-surface);border:1px solid var(--c-line);border-radius:24px}
.cx-sale__list .cx-card__body {padding:0}
.cx-sale__list .cx-card__name {font-family:var(--f-serif);font-size:19px;margin-bottom:8px}
.cx-sale__list .cx-card__price {font-size:20px}
.cx-sale__list .cx-card__price em {display:block;font-size:26px;margin-bottom:4px}

/* =========================================================
   내부 페이지
   ========================================================= */
#wrapper:not(.is_main) #container {padding-bottom:80px}
#wrapper_title {font-family:var(--f-serif);font-weight:700;font-size:28px;padding:50px 0 28px;color:var(--c-text)}
.btn_submit {background:var(--c-wood);border:1px solid var(--c-wood);color:#fff;border-radius:10px}
.btn_submit:hover {background:var(--c-wood-dk)}
a.btn02 {background:var(--c-wood);border-radius:10px}
.btn_close {border-radius:10px;border-color:var(--c-line)}
a.btn_frmline, button.btn_frmline {background:var(--c-text);border-radius:10px}
.pg_page,.qa_page,.pg_start,.pg_prev,.pg_end,.pg_next {background-color:var(--c-surface);border-color:var(--c-line);border-radius:10px}
.pg_current {background:var(--c-wood);border-color:var(--c-wood);border-radius:10px}
.chk_box input[type="checkbox"]:checked + label span {background-color:var(--c-wood);border-color:var(--c-wood)}
.chk_box input[type="radio"]:checked + label {color:var(--c-wood)}
.chk_box input[type="radio"]:checked + label span:before {background:var(--c-wood)}

/* 오른쪽 퀵메뉴 */
#side_menu {background:var(--c-surface);border-left:1px solid var(--c-line);box-shadow:none}
#quick li button {background:var(--c-surface);color:var(--c-muted)}
#quick li button:hover, .btn_sm_on i {color:var(--c-wood)}
#quick .qk_tit {background:var(--c-wood)}
#quick .qk_tit:after {border-left-color:var(--c-wood)}
#top_btn {border-top-color:var(--c-line);color:var(--c-muted)}
#top_btn:hover {background:var(--c-wood);border-color:var(--c-wood);color:#fff}

/* =========================================================
   하단 : 3단
   ========================================================= */
#ft.cx-ft {background:var(--c-sand);border-top:1px solid var(--c-line);text-align:left}
.cx-ft__cols {display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:60px;padding:64px 0 52px}
.cx-ft__col > h2 {font-family:var(--f-serif);font-size:17px;font-weight:700;color:var(--c-text);margin-bottom:20px}
.cx-ft__tel {font-family:var(--f-serif);font-size:30px;font-weight:700;color:var(--c-wood-dk);margin-bottom:12px;letter-spacing:-.01em}
.cx-ft__hours {font-size:13px;color:var(--c-muted);line-height:1.8;margin-bottom:22px}
.cx-ft__btns {display:flex;gap:8px}
.cx-ft__btns a {padding:9px 16px;border:1px solid #d3c6b2;border-radius:30px;font-size:12.5px;color:var(--c-text)}
.cx-ft__btns a:hover {background:var(--c-surface)}
.cx-ft__notice .ft_cnt {width:auto;float:none;padding:0}
.cx-ft__notice div h2, .cx-ft__notice div h4, .cx-ft__notice .lat_title {display:none}
.cx-ft__notice li {padding:7px 0;border-bottom:1px solid #e3d8c6;font-size:13px;list-style:none}
.cx-ft__notice a {color:var(--c-text)}
.cx-ft__notice a:hover {color:var(--c-wood)}
.cx-ft__company dl {display:grid;grid-template-columns:118px 1fr;gap:6px 10px;font-size:12.5px;line-height:1.6}
.cx-ft__company dt {color:var(--c-muted)}
.cx-ft__company dd {color:var(--c-text);margin:0}
.cx-ft__bottom {border-top:1px solid #e0d4c1}
.cx-ft__bottom .cx-inner {display:flex;justify-content:space-between;align-items:center;padding:22px 0}
.cx-ft__bottom ul {display:flex;gap:24px}
.cx-ft__bottom a {font-size:12.5px;color:var(--c-text)}
.cx-ft__bottom p {font-size:12px;color:#a69a8a}

/* 하단 공지사항 글자색 보정 (공지 최신글 스킨의 흰 글자 덮어쓰기) */
.cx-ft__notice *, .cx-ft__notice a, .cx-ft__notice a:link, .cx-ft__notice a:visited {color:var(--c-text) !important;background:transparent !important}
.cx-ft__notice a:hover {color:var(--c-wood) !important}
.cx-ft__notice .lt_date, .cx-ft__notice .notice_date, .cx-ft__notice span {color:var(--c-muted) !important}

/* =========================================================
   게시판 (공지사항·FAQ·1:1문의 등) - 내추럴 톤 카드형
   ========================================================= */
#wrapper.is_community {background:var(--c-bg)}
#wrapper.is_community #container, .shop-content #bo_list, .shop-content #bo_v, .shop-content #bo_w {padding-bottom:60px}

/* 글보기 */
#bo_v {background:var(--c-surface) !important;border:1px solid var(--c-line);border-radius:var(--r);padding:44px 52px 36px;margin:30px 0 40px}
#bo_v_title {margin-bottom:6px}
#bo_v_title .bo_v_tit {font-family:var(--f-serif);font-size:28px;font-weight:700;color:var(--c-text);line-height:1.4}
#bo_v_title .bo_v_cate {background:var(--c-sand);color:var(--c-wood);border-radius:20px;padding:3px 12px}
#bo_v_info {border-bottom:1px dashed var(--c-line) !important;padding-bottom:20px}
#bo_v_info, #bo_v_info a, #bo_v_info .sv_member, #bo_v_info strong {color:var(--c-text)}
#bo_v_info .if_date, #bo_v_info i {color:var(--c-muted)}
#bo_v_info .profile_img img {border-radius:50%;border:2px solid var(--c-line)}
#bo_v_top a, #bo_v_top button, .btn_bo_user a, .btn_bo_user button {color:var(--c-muted) !important;background:transparent !important}
#bo_v_top a:hover, .btn_bo_user a:hover, .btn_bo_user button:hover {color:var(--c-wood) !important}
#bo_v_atc {min-height:180px}
#bo_v_con {font-size:15px;line-height:1.9;color:var(--c-text);padding:20px 0}
#bo_v_con a {color:var(--c-wood);text-decoration:underline}
#bo_v_file, #bo_v_link {border-color:var(--c-line)}
#bo_v_file li, #bo_v_link li {background:var(--c-bg);border:1px solid var(--c-line);border-radius:10px}
.bo_v_nb li {background:var(--c-bg);border-color:var(--c-line) !important}
.bo_v_nb li a {color:var(--c-text)}

/* 댓글 */
.cmt_btn {border-bottom:1px solid var(--c-line) !important;color:var(--c-text) !important}
.cmt_btn span.total, .cmt_btn b {color:var(--c-text) !important;border-color:var(--c-wood) !important}
.cmt_btn span.total:after, .cmt_btn .total:after {background:var(--c-wood) !important}
.cmt_btn span.cmt_more {color:var(--c-muted)}
#bo_vc article {border-color:var(--c-line)}
#bo_vc .cmt_contents {background:var(--c-bg);border-radius:12px}
#bo_vc_w textarea, .bo_vc_w textarea {background:var(--c-surface);border:1px solid var(--c-line);border-radius:12px}

/* 글목록 */
#bo_list .tbl_head01 thead th {background:var(--c-sand) !important;color:var(--c-text);border-color:var(--c-line) !important;font-weight:600}
#bo_list .tbl_head01 td {background:var(--c-surface);border-color:var(--c-line) !important;color:var(--c-muted)}
#bo_list .tbl_head01 tbody tr:hover td {background:var(--c-bg)}
#bo_list .td_subject a, #bo_list .bo_tit a {color:var(--c-text)}
#bo_list .td_subject a:hover {color:var(--c-wood)}
#bo_list .bo_notice td {background:#f3ece0 !important}
#bo_list .notice_icon, #bo_list .bo_notice .notice_icon {background:var(--c-olive) !important;color:#fff;border-radius:20px}
#bo_cate a {background:var(--c-surface);border:1px solid var(--c-line);border-radius:20px;color:var(--c-text)}
#bo_cate #bo_cate_on, #bo_cate a:hover {background:var(--c-wood);border-color:var(--c-wood);color:#fff}
#bo_btn_top .btn_bo_user .btn, .btn_bo_user .btn {border-radius:10px}

/* 글쓰기 */
#bo_w .frm_input, #bo_w textarea, #bo_w select {border:1px solid var(--c-line);border-radius:10px;background:var(--c-surface)}
#bo_w .btn_submit, .btn_confirm .btn_submit {background:var(--c-wood) !important;border-color:var(--c-wood) !important}

/* =========================================================
   전체 카테고리 펼침 → 컴팩트 드롭다운으로 축소
   ========================================================= */
.cx-hd__main .cx-inner {position:relative}
#category {top:calc(100% - 6px) !important;left:0 !important;width:680px !important;border-radius:var(--r) !important;padding:0 0 10px}
#category h2 {font-size:15px !important;padding:16px 22px !important;font-family:var(--f-sans) !important;font-weight:700}
#category ul {display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:10px 12px 0}
#category ul:after {display:none}
#category .cate_li_1 {float:none !important;width:auto !important;min-height:0 !important;padding:12px 14px !important;border:0 !important;border-radius:10px;transition:background .2s}
#category .cate_li_1:hover {background:var(--c-bg)}
#category .cate_li_1_a {font-size:14px !important;margin:0 !important;color:var(--c-text) !important}
#category .cate_li_1:hover .cate_li_1_a {color:var(--c-wood) !important}
#category .cate_li_2 {line-height:1.9;margin-top:6px}
#category .cate_li_2 a {font-size:13px}
#category .close_btn {width:44px !important;height:48px !important;color:var(--c-muted) !important}
#category_all_bg {background:rgba(59,51,43,.12) !important}
