@charset "utf-8";
/* ==================================================================
   stylemall theme - 반응형 쇼핑몰 테마
   ================================================================== */

/* ------------------------------------------------------------------
   1. 토큰
   ------------------------------------------------------------------ */
:root {
    --sm-point:   #e8446f;
    --sm-point-d: #c9325a;
    --sm-ink:     #141414;
    --sm-ink-2:   #444;
    --sm-sub:     #767676;
    --sm-sub-2:   #999;
    --sm-line:    #e9e9e9;
    --sm-line-2:  #f1f1f1;
    --sm-bg:      #fff;
    --sm-gray:    #f7f7f8;
    --sm-gray-2:  #f2f2f4;
    --sm-dark:    #141414;
    --sm-sale:    #f03e3e;
    --sm-new:     #3d7eff;
    --sm-best:    #141414;

    --sm-wrap:    1400px;
    --sm-gap:     20px;
    --sm-radius:  4px;
    --sm-radius-l:10px;

    --sm-hd-h:    100px;
    --sm-gnb-h:   54px;

    --sm-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', dotum, sans-serif;
    --sm-shadow:  0 6px 24px rgba(0,0,0,.08);
    --sm-shadow-s:0 2px 10px rgba(0,0,0,.06);
}

/* ------------------------------------------------------------------
   2. 리셋
   ------------------------------------------------------------------ */
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; font-size: 13px; font-family: var(--sm-font); color: var(--sm-ink); background: var(--sm-bg); line-height: 1.5; word-break: break-word; }
html, h1, h2, h3, h4, h5, h6, form, fieldset, img { margin: 0; padding: 0; border: 0; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; font-family: inherit; font-weight: 600; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol, dl, dt, dd { margin: 0; padding: 0; list-style: none; }
legend { position: absolute; margin: 0; padding: 0; font-size: 0; line-height: 0; text-indent: -9999em; overflow: hidden; }
label, input, button, select, img { vertical-align: middle; font-size: 1em; }
input, button, textarea, select { margin: 0; font-family: inherit; font-size: 1em; color: inherit; }
input[type="submit"], button { cursor: pointer; }
p { margin: 0; padding: 0; }
hr { display: none; }
pre { overflow-x: auto; font-size: 1.1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
em, address { font-style: normal; }
table { border-collapse: collapse; border-spacing: 0; }
*, *:after, *:before { box-sizing: border-box; }

::selection { background: var(--sm-point); color: #fff; }

input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], input[type=search], textarea, select {
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus,
input[type=email]:focus, input[type=tel]:focus, textarea:focus, select:focus {
    border-color: var(--sm-ink) !important;
    box-shadow: 0 0 0 2px rgba(20,20,20,.06);
}
.placeholdersjs { color: #aaa !important; }

/* 화면낭독기 */
.msg_sound_only, .sound_only { display: inline-block !important; position: absolute; top: 0; left: 0; width: 0; height: 0; margin: 0 !important; padding: 0 !important; font-size: 0; line-height: 0; border: 0 !important; overflow: hidden !important; }
#hd_login_msg { position: absolute; top: 0; left: 0; font-size: 0; line-height: 0; overflow: hidden; }
#hd_h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#skip_to_container a { z-index: 100000; position: absolute; top: 0; left: 0; width: 1px; height: 1px; font-size: 0; line-height: 0; overflow: hidden; }
#skip_to_container a:focus, #skip_to_container a:active { width: 100%; height: 60px; background: var(--sm-dark); color: #fff; font-size: 18px; font-weight: 700; text-align: center; line-height: 60px; }

/* ------------------------------------------------------------------
   3. 공통 레이아웃 / 유틸
   ------------------------------------------------------------------ */
.sm-inner { max-width: var(--sm-wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

#wrapper.sm-wrap { min-height: 50vh; }
.sm-container-wr { width: 100%; }
body.is-sub .sm-container { max-width: var(--sm-wrap); margin: 0 auto; padding: 0 20px 80px; min-height: 420px; }
body.is-main .sm-container { padding-bottom: 0; }

/* 서브 페이지 헤더 */
.sm-page-head { padding: 48px 0 36px; text-align: center; }
.sm-page-head__title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.sm-breadcrumb { margin-top: 12px; font-size: 12px; color: var(--sm-sub); }
.sm-breadcrumb a { color: var(--sm-sub); }
.sm-breadcrumb a:hover { color: var(--sm-ink); }
.sm-breadcrumb span:before { content: "/"; margin: 0 8px; color: var(--sm-line); }

/* 버튼 */
.sm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--sm-radius); font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: all .2s ease; background: var(--sm-gray); color: var(--sm-ink); }
.sm-btn--dark { background: var(--sm-dark); color: #fff; border-color: var(--sm-dark); }
.sm-btn--dark:hover { background: #000; }
.sm-btn--point { background: var(--sm-point); color: #fff; border-color: var(--sm-point); }
.sm-btn--point:hover { background: var(--sm-point-d); }
.sm-btn--line { background: #fff; border-color: var(--sm-ink); color: var(--sm-ink); }
.sm-btn--line:hover { background: var(--sm-ink); color: #fff; }
.sm-btn--gray { background: #fff; border-color: var(--sm-line); color: var(--sm-sub); }
.sm-btn--gray:hover { border-color: var(--sm-sub); color: var(--sm-ink); }
.sm-btn--lg { height: 54px; padding: 0 44px; font-size: 15px; }
.sm-btn--sm { height: 34px; padding: 0 14px; font-size: 12px; }
.sm-btn--full { width: 100%; }
.sm-btn[disabled], .sm-btn.is-disabled { background: #e5e5e5; border-color: #e5e5e5; color: #999; cursor: not-allowed; }

/* 아이콘 버튼 */
.sm-icobtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--sm-ink); font-size: 19px; }
.sm-icobtn:hover { color: var(--sm-point); }

/* 가이드 박스 */
.sm-guide { margin: 20px 0; padding: 40px 20px; border: 1px dashed var(--sm-line); border-radius: var(--sm-radius-l); background: var(--sm-gray); text-align: center; color: var(--sm-sub); font-size: 14px; line-height: 1.9; }
.sm-guide strong { color: var(--sm-ink); font-size: 16px; }
.sm-guide code { padding: 2px 7px; border-radius: 3px; background: #fff; border: 1px solid var(--sm-line); color: var(--sm-point); font-size: 13px; }
.sm-guide .sm-btn { margin-top: 16px; }

/* ------------------------------------------------------------------
   4. 헤더
   ------------------------------------------------------------------ */
.sm-hd { position: relative; z-index: 900; background: #fff; border-bottom: 1px solid var(--sm-line); }

/* 4-1. 최상단 바 */
.sm-topbar { background: var(--sm-dark); color: #cfcfcf; font-size: 12px; }
.sm-topbar .sm-inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.sm-topbar__notice { flex: 1; min-width: 0; height: 36px; overflow: hidden; }
.sm-roll { position: relative; height: 36px; }
.sm-roll li { position: absolute; top: 0; left: 0; width: 100%; height: 36px; line-height: 36px; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-roll li.is-on { opacity: 1; transform: translateY(0); }
.sm-roll strong { color: #fff; }
.sm-topbar__util { display: flex; align-items: center; gap: 0; }
.sm-topbar__util li { position: relative; padding: 0 12px; }
.sm-topbar__util li:after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: #3a3a3a; }
.sm-topbar__util li:last-child { padding-right: 0; }
.sm-topbar__util li:last-child:after { display: none; }
.sm-topbar__util a { color: #cfcfcf; letter-spacing: .04em; }
.sm-topbar__util a:hover { color: #fff; }
.sm-topbar__admin { color: var(--sm-point) !important; font-weight: 700; }

/* 4-2. 로고 영역 */
.sm-hd__main .sm-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--sm-hd-h); }
.sm-hd__left, .sm-hd__right { display: flex; align-items: center; gap: 4px; flex: 1 1 0; min-width: 0; }
.sm-hd__right { justify-content: flex-end; }
.sm-hd__quick { display: flex; gap: 18px; padding-left: 4px; }
.sm-hd__quick a { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--sm-sub); }
.sm-hd__quick a:hover { color: var(--sm-ink); }

.sm-hd__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 300px); text-align: center; white-space: nowrap; overflow: hidden; }
.sm-hd__logo img { max-height: 46px; width: auto; }
.sm-hd__wordmark { font-size: 27px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.sm-hd__search { display: flex; align-items: center; width: 210px; height: 38px; margin-right: 8px; padding: 0 6px 0 14px; border: 1px solid var(--sm-line); border-radius: 19px; background: var(--sm-gray); transition: all .2s ease; }
.sm-hd__search:focus-within { background: #fff; border-color: var(--sm-ink); }
.sm-hd__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 13px; }
.sm-hd__search input:focus { box-shadow: none !important; border: 0 !important; }
.sm-hd__search button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--sm-sub); font-size: 14px; }
.sm-hd__search button:hover { color: var(--sm-ink); }
.sm-search-open { display: none; }

.sm-burger { display: block; width: 20px; }
.sm-burger i { display: block; height: 2px; margin: 4px 0; background: var(--sm-ink); border-radius: 2px; transition: all .25s ease; }

/* 4-3. GNB */
.sm-gnb { background: #fff; }
.sm-gnb.is-fixed { position: fixed; top: 0; left: 0; width: 100%; z-index: 950; box-shadow: var(--sm-shadow-s); animation: smDown .25s ease; }
@keyframes smDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.sm-gnb__list { display: flex; align-items: center; justify-content: center; height: var(--sm-gnb-h); }
.sm-gnb__item { position: relative; }
.sm-gnb__link { display: flex; align-items: center; gap: 6px; height: var(--sm-gnb-h); padding: 0 24px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.sm-gnb__en { font-size: 11px; font-weight: 600; color: var(--sm-sub-2); letter-spacing: .08em; }
.sm-gnb__item:hover .sm-gnb__link, .sm-gnb__item.is-on .sm-gnb__link { color: var(--sm-point); }
.sm-gnb__item:hover .sm-gnb__en { color: var(--sm-point); }
.sm-gnb__item.is-point .sm-gnb__name { color: var(--sm-sale); }
.sm-gnb__item:after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--sm-point); transform: scaleX(0); transition: transform .25s ease; }
.sm-gnb__item:hover:after { transform: scaleX(1); }
.sm-gnb__sub { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 160px; padding: 10px 0; border: 1px solid var(--sm-line); border-top: 0; background: #fff; box-shadow: var(--sm-shadow); z-index: 10; }
.sm-gnb__item:hover .sm-gnb__sub { display: block; }
.sm-gnb__sub a { display: block; padding: 9px 20px; font-size: 13px; color: var(--sm-ink-2); white-space: nowrap; text-align: center; }
.sm-gnb__sub a:hover { background: var(--sm-gray); color: var(--sm-point); }
.sm-gnb__empty { padding: 18px 0; color: var(--sm-sub); font-size: 13px; }
.sm-gnb__empty a { color: var(--sm-point); text-decoration: underline; }

/* 4-4. 모바일 드로어 */
.sm-drawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.sm-drawer.is-open { visibility: visible; }
.sm-drawer__dim { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s ease; }
.sm-drawer.is-open .sm-drawer__dim { opacity: 1; }
.sm-drawer__panel { position: absolute; left: 0; top: 0; width: 300px; max-width: 84%; height: 100%; background: #fff; transform: translateX(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; z-index: 2; }
.sm-drawer.is-open .sm-drawer__panel { transform: translateX(0); }
.sm-drawer__head { position: relative; padding: 26px 20px 20px; background: var(--sm-dark); color: #fff; }
.sm-drawer__hello { font-size: 16px; line-height: 1.5; }
.sm-drawer__hello strong { color: var(--sm-point); }
.sm-drawer__auth { display: flex; gap: 8px; margin-top: 16px; }
.sm-drawer__auth a { flex: 1; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--sm-radius); font-size: 13px; font-weight: 600; text-align: center; line-height: 36px; color: #fff; }
.sm-drawer__auth a.is-primary { background: var(--sm-point); border-color: var(--sm-point); }
.sm-drawer__close { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 20px; }
.sm-drawer__nav { flex: 1; overflow-y: auto; }
.sm-drawer__nav > ul > li { position: relative; border-bottom: 1px solid var(--sm-line-2); }
.sm-drawer__nav > ul > li > a { display: block; padding: 16px 52px 16px 20px; font-size: 15px; font-weight: 700; }
.sm-drawer__nav > ul > li > a small { margin-left: 6px; font-size: 11px; font-weight: 500; color: var(--sm-sub-2); }
.sm-drawer__toggle { position: absolute; right: 0; top: 0; width: 52px; height: 52px; border: 0; background: transparent; color: var(--sm-sub); font-size: 18px; transition: transform .25s ease; }
.sm-drawer__nav li.is-open .sm-drawer__toggle { transform: rotate(180deg); }
.sm-drawer__sub { display: none; padding: 6px 0 12px; background: var(--sm-gray); }
.sm-drawer__nav li.is-open .sm-drawer__sub { display: block; }
.sm-drawer__sub a { display: block; padding: 9px 20px 9px 32px; font-size: 13px; color: var(--sm-ink-2); }
.sm-drawer__sub a:hover { color: var(--sm-point); }
.sm-drawer__foot { display: flex; border-top: 1px solid var(--sm-line); }
.sm-drawer__foot a { flex: 1; padding: 15px 0; font-size: 12px; text-align: center; color: var(--sm-sub); border-right: 1px solid var(--sm-line-2); }
.sm-drawer__foot a:last-child { border-right: 0; }

/* 4-5. 검색 레이어 */
.sm-searchlayer { position: fixed; inset: 0; z-index: 1300; background: rgba(255,255,255,.98); opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.sm-searchlayer.is-open { opacity: 1; visibility: visible; }
.sm-searchlayer__inner { max-width: 680px; margin: 18vh auto 0; padding: 0 20px; }
.sm-searchlayer form { display: flex; align-items: center; border-bottom: 2px solid var(--sm-ink); }
.sm-searchlayer input { flex: 1; height: 62px; border: 0; background: transparent; font-size: 24px; font-weight: 600; }
.sm-searchlayer input:focus { box-shadow: none !important; border: 0 !important; }
.sm-searchlayer button[type=submit] { width: 52px; height: 52px; border: 0; background: transparent; font-size: 22px; }
.sm-searchlayer__popular { margin-top: 20px; font-size: 13px; color: var(--sm-sub); }
.sm-searchlayer__popular a { display: inline-block; margin: 0 6px 8px 0; padding: 7px 14px; border: 1px solid var(--sm-line); border-radius: 20px; color: var(--sm-ink-2); }
.sm-searchlayer__popular a:hover { border-color: var(--sm-ink); }
.sm-searchlayer__popular h3 { margin-bottom: 12px; font-size: 12px; letter-spacing: .1em; color: var(--sm-sub-2); }
.sm-searchlayer__close { position: absolute; right: 28px; top: 24px; width: 48px; height: 48px; border: 0; background: transparent; font-size: 26px; }

/* ------------------------------------------------------------------
   5. 메인 - 히어로
   ------------------------------------------------------------------ */
.sm-hero { position: relative; overflow: hidden; background: var(--sm-gray); }
.sm-hero__track { position: relative; height: 620px; }
.sm-hero__slide { position: absolute; inset: 0; display: flex; align-items: center; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.sm-hero__slide.is-active { opacity: 1; visibility: visible; }
.sm-hero__slide:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 60%); }
.sm-hero--theme-dark:before { background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%); }
.sm-hero__inner { position: relative; z-index: 2; max-width: var(--sm-wrap); width: 100%; margin: 0 auto; padding: 0 60px; color: #fff; }
.sm-hero--theme-dark .sm-hero__inner { color: var(--sm-ink); }
.sm-hero__badge { display: inline-block; margin-bottom: 18px; padding: 7px 16px; border: 1px solid currentColor; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.sm-hero__title { font-size: 58px; font-weight: 800; line-height: 1.18; letter-spacing: -.03em; }
.sm-hero__desc { margin-top: 18px; font-size: 17px; opacity: .9; }
.sm-hero__btn { display: inline-flex; align-items: center; height: 52px; margin-top: 32px; padding: 0 38px; background: #fff; color: var(--sm-ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; border-radius: 26px; transition: all .2s ease; }
.sm-hero__btn:hover { background: var(--sm-point); color: #fff; }
.sm-hero--theme-dark .sm-hero__btn { background: var(--sm-ink); color: #fff; }
.sm-hero--theme-dark .sm-hero__btn:hover { background: var(--sm-point); }

/* 이미지가 없을 때 쓰이는 배경 */
.sm-hero--bg1 { background-color: #2a2f3a; background-image: linear-gradient(135deg, #2d3340 0%, #5b5266 55%, #8a6a75 100%); }
.sm-hero--bg2 { background-color: #f1e7e2; background-image: linear-gradient(135deg, #f7efe9 0%, #ecd9d2 55%, #dcbfb8 100%); }
.sm-hero--bg3 { background-color: #35222b; background-image: linear-gradient(135deg, #3a2430 0%, #7a3b52 55%, #c25c78 100%); }

.sm-hero__arrow { position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--sm-ink); font-size: 22px; opacity: 0; transition: opacity .25s ease, background .2s ease; }
.sm-hero:hover .sm-hero__arrow { opacity: 1; }
.sm-hero__arrow:hover { background: #fff; }
.sm-hero__arrow.is-prev { left: 30px; }
.sm-hero__arrow.is-next { right: 30px; }
.sm-hero__dots { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.sm-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .25s ease; }
.sm-hero__dots button.is-active { width: 26px; border-radius: 4px; background: #fff; }

/* ------------------------------------------------------------------
   6. 메인 - 카테고리 퀵
   ------------------------------------------------------------------ */
.sm-catequick { padding: 44px 0 10px; }
.sm-catequick ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; }
.sm-catequick a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 92px; padding: 8px 0; }
.sm-catequick__ico { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--sm-gray); color: var(--sm-ink); font-size: 22px; transition: all .25s ease; }
.sm-catequick a:hover .sm-catequick__ico { background: var(--sm-point); color: #fff; transform: translateY(-3px); }
.sm-catequick__name { font-size: 13px; font-weight: 600; }

/* ------------------------------------------------------------------
   7. 메인 - 섹션 공통
   ------------------------------------------------------------------ */
.sm-sec { padding: 70px 0; }
.sm-sec--gray { background: var(--sm-gray); }
.sm-sec__head { margin-bottom: 40px; text-align: center; }
.sm-sec__en { font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--sm-point); }
.sm-sec__title { margin-top: 10px; font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.sm-sec__desc { margin-top: 10px; font-size: 14px; color: var(--sm-sub); }
.sm-sec__more { margin-top: 44px; text-align: center; }

/* ------------------------------------------------------------------
   8. 메인 - 띠배너 / 기획전
   ------------------------------------------------------------------ */
.sm-bandbanner { padding: 0 0 10px; }
.sm-bandbanner .sm-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--sm-line); border-radius: var(--sm-radius-l); overflow: hidden; }
.sm-bandbanner__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 14px; border-right: 1px solid var(--sm-line); text-align: center; }
.sm-bandbanner__item > a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sm-bandbanner__item > a:hover strong { color: var(--sm-point); }
.sm-bandbanner__item:last-child { border-right: 0; }
.sm-bandbanner__ico { font-size: 24px; color: var(--sm-point); margin-bottom: 6px; }
.sm-bandbanner__item strong { font-size: 15px; font-weight: 700; }
.sm-bandbanner__item em { font-size: 12px; color: var(--sm-sub); }

.sm-promo { padding: 10px 0 60px; }
.sm-promo .sm-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sm-promo__box { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 40px; border-radius: var(--sm-radius-l); color: #fff; overflow: hidden; transition: transform .3s ease; }
.sm-promo__box:hover { transform: translateY(-4px); }
.sm-promo__box--1 { background: linear-gradient(120deg, #23262e 0%, #4a4152 60%, #6f4a58 100%); }
.sm-promo__box--2 { background: linear-gradient(120deg, #e8446f 0%, #f07f8f 60%, #f6b8b8 100%); }
.sm-promo__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; opacity: .85; }
.sm-promo__title { margin-top: 12px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.sm-promo__more { margin-top: 20px; font-size: 13px; font-weight: 600; opacity: .9; }

/* ------------------------------------------------------------------
   9. 메인 - 포토후기 / 게시판 3단
   ------------------------------------------------------------------ */
.sm-photo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sm-photo__item a { display: block; background: #fff; border-radius: var(--sm-radius-l); overflow: hidden; box-shadow: var(--sm-shadow-s); transition: transform .25s ease, box-shadow .25s ease; }
.sm-photo__item a:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow); }
.sm-photo__thumb { position: relative; display: block; padding-top: 100%; background: var(--sm-gray-2); overflow: hidden; }
.sm-photo__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sm-photo__item a:hover .sm-photo__thumb img { transform: scale(1.06); }
.sm-photo__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #cfcfcf; font-size: 30px; }
.sm-photo__info { display: block; padding: 16px; }
.sm-photo__subj { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-photo__meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--sm-sub); }
.sm-photo__empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--sm-sub); }

.sm-board3 .sm-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.sm-ltbox__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--sm-ink); }
.sm-ltbox__head h2 { font-size: 17px; font-weight: 700; }
.sm-ltbox__more { width: 24px; height: 24px; border-radius: 50%; background: var(--sm-gray); color: var(--sm-sub); font-size: 14px; text-align: center; line-height: 24px; }
.sm-ltbox__more:hover { background: var(--sm-point); color: #fff; }
.sm-ltbox__list li { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--sm-line-2); }
.sm-ltbox__list li a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sm-ink-2); }
.sm-ltbox__list li a:hover { color: var(--sm-point); }
.sm-ltbox__subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-ltbox__new { flex-shrink: 0; padding: 1px 5px; border-radius: 2px; background: var(--sm-point); color: #fff; font-size: 10px; font-weight: 700; }
.sm-ltbox__cmt { flex-shrink: 0; color: var(--sm-point); font-size: 11px; font-weight: 700; }
.sm-ltbox__date { flex-shrink: 0; font-size: 12px; color: var(--sm-sub-2); }
.sm-ltbox__empty { padding: 30px 0 !important; color: var(--sm-sub); text-align: center; display: block !important; }

.sm-board3__cs { padding: 28px; border-radius: var(--sm-radius-l); background: var(--sm-gray); text-align: center; }
.sm-board3__cs h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--sm-sub); }
.sm-board3__tel { margin: 12px 0 14px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.sm-board3__cs ul li { font-size: 12px; color: var(--sm-sub); line-height: 1.9; }
.sm-board3__cs .sm-btn { margin-top: 18px; }

.sm-grouplist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 20px 0 60px; }

/* ------------------------------------------------------------------
   10. 푸터
   ------------------------------------------------------------------ */
.sm-ft { margin-top: 0; border-top: 1px solid var(--sm-line); background: #fff; }
.sm-ft__top { border-bottom: 1px solid var(--sm-line); }
.sm-ft__top .sm-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.sm-ft__menu { display: flex; gap: 26px; }
.sm-ft__menu a { font-size: 13px; color: var(--sm-sub); }
.sm-ft__menu a:hover { color: var(--sm-ink); }
.sm-ft__menu strong { color: var(--sm-ink); font-weight: 700; }
.sm-ft__sns { display: flex; gap: 8px; }
.sm-ft__sns a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--sm-line); border-radius: 50%; color: var(--sm-sub); font-size: 15px; }
.sm-ft__sns a:hover { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }

.sm-ft__body .sm-inner { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1.6fr; gap: 40px; padding-top: 46px; padding-bottom: 46px; }
.sm-ft__col h2 { margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--sm-sub); }
.sm-ft__tel { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sm-ft__time { margin-top: 12px; }
.sm-ft__time li { font-size: 12px; color: var(--sm-sub); line-height: 1.95; }
.sm-ft__placelist li { font-size: 12.5px; color: var(--sm-sub); line-height: 2; }
.sm-ft__placelist li:first-child { color: var(--sm-ink-2); font-weight: 600; }
.sm-ft__info { font-size: 12px; color: var(--sm-sub); line-height: 2; }

.sm-ftnotice li { border-bottom: 1px solid var(--sm-line-2); }
.sm-ftnotice li:last-child { border-bottom: 0; }
.sm-ftnotice a { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 12.5px; color: var(--sm-ink-2); }
.sm-ftnotice a:hover { color: var(--sm-point); }
.sm-ftnotice__new { flex-shrink: 0; padding: 1px 5px; border-radius: 2px; background: var(--sm-point); color: #fff; font-size: 10px; font-weight: 700; }
.sm-ftnotice__subj { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-ftnotice__date { flex-shrink: 0; font-size: 11px; color: var(--sm-sub-2); }
.sm-ftnotice__empty { padding: 12px 0; font-size: 12px; color: var(--sm-sub-2); }

.sm-ft__copy { border-top: 1px solid var(--sm-line); background: var(--sm-gray); }
.sm-ft__copy .sm-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.sm-ft__copy p { font-size: 12px; color: var(--sm-sub); letter-spacing: .01em; }
.sm-ft__copy strong { color: var(--sm-ink); }
.sm-ft__copy .visit { font-size: 11px; color: var(--sm-sub-2); }

/* ------------------------------------------------------------------
   11. 퀵메뉴 / 탭바
   ------------------------------------------------------------------ */
.sm-quick { position: fixed; right: 18px; bottom: 90px; z-index: 800; display: flex; flex-direction: column; gap: 6px; }
.sm-quick__btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; border: 1px solid var(--sm-line); border-radius: 50%; background: #fff; color: var(--sm-ink); font-size: 16px; box-shadow: var(--sm-shadow-s); transition: all .2s ease; }
.sm-quick__btn span { font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.sm-quick__btn:hover { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.sm-quick__top { opacity: 0; visibility: hidden; transition: all .25s ease; }
.sm-quick__top.is-show { opacity: 1; visibility: visible; }
.sm-quick__recent { display: flex; flex-direction: column; gap: 6px; }
.sm-quick__recent a { display: block; width: 56px; height: 56px; border: 1px solid var(--sm-line); border-radius: 8px; overflow: hidden; background: #fff; }
.sm-quick__recent img { width: 100%; height: 100%; object-fit: cover; }

.sm-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; height: 58px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--sm-line); background: rgba(255,255,255,.97); backdrop-filter: blur(6px); }
.sm-tabbar > * { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: var(--sm-ink); font-size: 17px; }
.sm-tabbar span { font-size: 10px; font-weight: 600; }


/* 토스트 */
.sm-toast { position: fixed; left: 50%; bottom: 100px; z-index: 2000; transform: translate(-50%, 20px); padding: 14px 26px; border-radius: 30px; background: rgba(20,20,20,.92); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; visibility: hidden; transition: all .28s ease; }
.sm-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------
   12. 그누보드 공통 컴포넌트 (회원 / 검색 / FAQ / 새창 등)
   ------------------------------------------------------------------ */
a.btn, .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border: 0; font-size: 13px; font-weight: 600; text-align: center; border-radius: var(--sm-radius); transition: all .2s ease; }
a.btn01, button.btn01 { display: inline-block; padding: 9px 14px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); background: #fff; color: var(--sm-ink); }
a.btn01:hover, button.btn01:hover { border-color: var(--sm-ink); }
a.btn02, button.btn02 { display: inline-block; padding: 9px 14px; border: 1px solid var(--sm-dark); border-radius: var(--sm-radius); background: var(--sm-dark); color: #fff; }
a.btn02:hover, button.btn02:hover { background: #000; }
.btn_confirm { text-align: center; }
.btn_submit { border: 0; border-radius: var(--sm-radius); background: var(--sm-dark); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.btn_submit:hover { background: var(--sm-point); }
.btn_close { border: 1px solid var(--sm-line); border-radius: var(--sm-radius); background: #fff; cursor: pointer; }
a.btn_close { display: inline-flex; align-items: center; justify-content: center; }
a.btn_cancel, button.btn_cancel { display: inline-block; padding: 9px 14px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); background: #fff; color: var(--sm-sub); }
.btn_cancel:hover { color: var(--sm-ink); border-color: var(--sm-sub); }
a.btn_frmline, button.btn_frmline { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; height: 44px; padding: 0 12px; border: 0; border-radius: var(--sm-radius); background: var(--sm-ink-2); color: #fff; font-size: 13px; }
a.btn_b01, .btn_b01 { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--sm-sub); }
.btn_b01:hover { color: var(--sm-ink); }
a.btn_b02, .btn_b02 { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--sm-dark); color: #fff; border: 0; border-radius: var(--sm-radius); }
a.btn_b02:hover, .btn_b02:hover { background: var(--sm-point); }
a.btn_b03, .btn_b03 { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); color: var(--sm-ink-2); }
a.btn_b03:hover, .btn_b03:hover { border-color: var(--sm-ink); }
a.btn_b04, .btn_b04 { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); color: var(--sm-sub); }
a.btn_admin, .btn_admin { display: inline-flex; align-items: center; justify-content: center; color: var(--sm-point); }

/* 기본 테이블 */
.tbl_wrap { overflow-x: auto; }
.tbl_wrap table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--sm-ink); }
.tbl_wrap caption { padding: 10px 0; font-weight: 700; text-align: left; }
.tbl_head01 { margin: 0 0 20px; }
.tbl_head01 caption { padding: 0; font-size: 0; line-height: 0; overflow: hidden; }
.tbl_head01 thead th { padding: 16px 6px; border-bottom: 1px solid var(--sm-line); font-size: 13px; font-weight: 600; color: var(--sm-ink); text-align: center; }
.tbl_head01 thead th a { color: inherit; }
.tbl_head01 td { padding: 15px 6px; border-bottom: 1px solid var(--sm-line-2); color: var(--sm-ink-2); font-size: 13px; line-height: 1.5; }
.tbl_head01 tbody tr:hover td { background: var(--sm-gray); }
.tbl_head02 { margin: 0 0 20px; }
.tbl_head02 thead th { padding: 12px 0; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); background: var(--sm-gray); font-size: 12px; text-align: center; }
.tbl_head02 td { padding: 10px 6px; border-bottom: 1px solid var(--sm-line-2); font-size: 13px; }

/* 폼 테이블 */
.tbl_frm01 { margin: 0 0 24px; }
.tbl_frm01 table { width: 100%; border-top: 2px solid var(--sm-ink); }
.tbl_frm01 th { width: 130px; padding: 14px 16px; border-bottom: 1px solid var(--sm-line-2); background: var(--sm-gray); font-size: 13px; font-weight: 600; text-align: left; vertical-align: middle; }
.tbl_frm01 td { padding: 12px 16px; border-bottom: 1px solid var(--sm-line-2); font-size: 13px; }
.tbl_frm01 textarea, .write_div textarea { width: 100%; height: 140px; }
.tbl_frm01 .frm_file { display: block; margin-bottom: 6px; }
.tbl_frm01 .frm_info { display: block; padding: 4px 0 2px; font-size: 12px; color: var(--sm-sub); line-height: 1.6; }
.frm_info.add_info { margin-top: 10px !important; padding: 10px 12px; background: var(--sm-gray); border: 1px solid var(--sm-line); border-radius: var(--sm-radius); line-height: 1.7; }
.btn_info_toggle { display: block; margin: 5px 0 0; font-size: 12px; color: var(--sm-point); background: none; border: none; cursor: pointer; text-decoration: underline; }

.frm_input, .wr_content textarea, .tbl_frm01 textarea, .form_01 textarea, select {
    border: 1px solid var(--sm-line); background: #fff; color: var(--sm-ink);
    border-radius: var(--sm-radius); padding: 0 12px; vertical-align: middle;
}
textarea.frm_input, .wr_content textarea, .tbl_frm01 textarea, .form_01 textarea { padding: 10px 12px; line-height: 1.6; }
.frm_input { height: 44px; }
select { height: 44px; }
.full_input { width: 100%; }
.half_input { width: 49.5%; }
.twopart_input { width: calc(100% - 120px); margin-right: 6px; }
.required, textarea.required { background-image: none !important; border-color: var(--sm-line) !important; }
.required:after { content: ""; }

/* 기본 리스트 / 폼 리스트 */
.list_01 ul { border-top: 1px solid var(--sm-line); }
.list_01 li { position: relative; padding: 14px 16px; border-bottom: 1px solid var(--sm-line-2); background: #fff; }
.list_01 li:hover { background: var(--sm-gray); }
.list_01 li.empty_li { padding: 40px 0; text-align: center; color: var(--sm-sub); }
.form_01 h2 { font-size: 16px; }
.form_01 li { margin-bottom: 12px; }
.form_01 .frm_label { display: inline-block; width: 130px; }
.form_01 textarea { width: 100%; height: 120px; }

.empty_table { padding: 70px 0 !important; text-align: center; color: var(--sm-sub); }
.empty_list { padding: 40px 0 !important; color: var(--sm-sub); text-align: center; }

/* 테이블 항목 폭 */
.td_board { width: 90px; text-align: center; }
.td_category { width: 90px; text-align: center; }
.td_chk { width: 34px; text-align: center; }
.td_date { width: 70px; text-align: center; }
.td_datetime { width: 100px; text-align: center; }
.td_group { width: 90px; text-align: center; }
.td_mb_id { width: 100px; text-align: center; }
.td_mng { width: 90px; text-align: center; }
.td_name { width: 110px; text-align: center; }
.td_nick { width: 100px; text-align: center; }
.td_num, .td_num2 { width: 60px; text-align: center; }
.td_numbig { width: 90px; text-align: center; }
.td_stat { width: 70px; text-align: center; }
.txt_active { color: #2f9e44; }
.txt_done { color: var(--sm-sale); }
.txt_expired { color: #bbb; }
.txt_rdy { color: #f59f00; }

/* 새창 */
.new_win { position: relative; padding-bottom: 30px; }
.new_win .tbl_wrap { margin: 0 20px; }
.new_win #win_title { padding: 20px; border-bottom: 1px solid var(--sm-line); font-size: 18px; font-weight: 700; }
.new_win #win_title .sv { font-size: 12px; font-weight: 400; }
.new_win .win_ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 16px 20px 0; }
.new_win .win_ul li { border: 1px solid var(--sm-line); border-radius: 20px; }
.new_win .win_ul li a { display: block; padding: 7px 14px; font-size: 12px; color: var(--sm-sub); }
.new_win .win_ul .selected { background: var(--sm-ink); border-color: var(--sm-ink); }
.new_win .win_ul .selected a { color: #fff; font-weight: 700; }
.new_win .win_desc { margin: 14px 20px; padding: 14px 18px; border-radius: var(--sm-radius); background: #fff0f3; color: var(--sm-point-d); font-size: 13px; }
.new_win .frm_info { font-size: 12px; color: var(--sm-sub); }
.new_win .win_total { float: right; padding: 4px 10px; border-radius: 20px; background: var(--sm-gray); font-size: 12px; color: var(--sm-sub); }
.new_win .new_win_con { margin: 20px; }
.new_win .new_win_con2 { margin: 20px 0; }
.new_win .win_btn, .new_win .cert_btn { padding: 0 20px; text-align: center; }
.new_win .btn_close { height: 46px; padding: 0 22px; }
.new_win .btn_submit { height: 46px; padding: 0 22px; font-size: 14px; }
#copymove .tbl_wrap { margin: 20px; }
#copymove .win_btn { padding: 0 20px 20px; }
.copymove_current { float: right; padding: 4px 8px; border-radius: 3px; background: var(--sm-point); color: #fff; }
.copymove_currentbg { background: var(--sm-gray); }

/* 캡챠 */
#captcha { display: inline-block; position: relative; }
#captcha legend { position: absolute; margin: 0; padding: 0; font-size: 0; line-height: 0; text-indent: -9999em; overflow: hidden; }
#captcha #captcha_img { height: 44px; border: 1px solid var(--sm-line); vertical-align: top; border-radius: var(--sm-radius); }
#captcha #captcha_mp3, #captcha #captcha_reload { width: 40px; height: 44px; border: 0; background: transparent; color: var(--sm-sub); font-size: 15px; vertical-align: top; cursor: pointer; }
#captcha #captcha_key { margin-left: 4px; padding: 0 8px; width: 100px; height: 44px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); font-size: 16px; font-weight: 700; text-align: center; vertical-align: top; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 12px; color: var(--sm-sub); }
#captcha.m_captcha #captcha_img { display: block; width: 160px; height: 60px; margin: 5px 0 4px; }

/* 사이드뷰 */
.sv_wrap { position: relative; display: inline-block; font-weight: normal; }
.sv_wrap .sv { z-index: 1000; display: none; margin: 5px 0 0; font-size: 12px; background: var(--sm-dark); border-radius: var(--sm-radius); overflow: hidden; box-shadow: var(--sm-shadow); }
.sv_wrap .sv a { display: block; padding: 0 12px; width: 110px; line-height: 32px; color: #ccc; }
.sv_wrap .sv a:hover { background: #000; color: #fff; }
.sv_member { color: var(--sm-ink); }
.sv_on { display: block !important; position: absolute; top: 22px; left: 0; width: auto; height: auto; }
.sv_nojs .sv { display: block; }

/* 페이징 */
.pg_wrap { clear: both; display: block; margin: 36px 0 10px; text-align: center; }
.pg_wrap:after { display: block; visibility: hidden; clear: both; content: ""; }
.pg { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.pg_page, .pg_current { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 6px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); background: #fff; color: var(--sm-sub); font-size: 13px; }
.pg_page:hover { border-color: var(--sm-ink); color: var(--sm-ink); }
.pg_current { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; font-weight: 700; }
.pg_start, .pg_prev, .pg_end, .pg_next { text-indent: 0; background-image: none !important; font-size: 0; position: relative; }
.pg_start:before, .pg_prev:before, .pg_end:before, .pg_next:before { font-family: FontAwesome; font-size: 13px; }
.pg_start:before { content: "\f100"; }
.pg_prev:before  { content: "\f104"; }
.pg_next:before  { content: "\f105"; }
.pg_end:before   { content: "\f101"; }

/* 검색결과 강조 */
.sch_word { padding: 1px 5px; border-radius: 3px; background: #ffe8ee; color: var(--sm-point-d); }

/* alert 대안 */
#validation_check { margin: 80px auto; max-width: 520px; padding: 0 20px; }
#validation_check h1 { margin-bottom: 16px; font-size: 20px; }
#validation_check p { margin-bottom: 20px; padding: 28px 20px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); background: #fff; }

/* 팝업레이어 */
#hd_pop { z-index: 1000; position: relative; margin: 0 auto; height: 0; }
#hd_pop h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.hd_pops { position: absolute; border: 1px solid var(--sm-line); background: #fff; box-shadow: var(--sm-shadow); }
.hd_pops img { max-width: 100%; }
.hd_pops_footer { padding: 0; background: var(--sm-dark); color: #fff; text-align: left; position: relative; }
.hd_pops_footer:after { display: block; visibility: hidden; clear: both; content: ""; }
.hd_pops_footer button { padding: 11px 14px; border: 0; background: transparent; color: #fff; font-size: 12px; }
.hd_pops_footer .hd_pops_close { position: absolute; top: 0; right: 0; background: #333; }

/* ckeditor 본문 기본값 */
#bo_v_con ul { display: block; list-style-type: disc; margin: 1em 0; padding-left: 40px; }
#bo_v_con ol { display: block; list-style-type: decimal; margin: 1em 0; padding-left: 40px; }
#bo_v_con li { display: list-item; }
.cke_sc { margin: 0 0 5px; text-align: right; }
.btn_cke_sc { display: inline-block; padding: 0 10px; height: 26px; border: 1px solid var(--sm-line); background: #fff; border-radius: var(--sm-radius); }
.cke_sc_def { margin: 0 0 10px; padding: 14px; border: 1px solid var(--sm-line); background: var(--sm-gray); border-radius: var(--sm-radius); }
.cke_sc_def dl { margin: 0; }
.cke_sc_def dl:after { display: block; visibility: hidden; clear: both; content: ""; }
.cke_sc_def dt, .cke_sc_def dd { float: left; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--sm-line-2); }
.cke_sc_def dt { width: 20%; font-weight: 700; }
.cke_sc_def dd { width: 30%; }

.img_fix { width: 100%; height: auto; }
.is-hidden { display: none !important; }
.pc-only { display: block; }
.mobile-only { display: none; }
#device_change { display: none; }

/* ------------------------------------------------------------------
   12-1. 회원(로그인 / 회원가입 / 비밀번호찾기) 스킨 보정
   ------------------------------------------------------------------
   회원 스킨의 style.css 가 theme.css 보다 뒤에 적용되므로
   덮어쓰기 위해 body 를 앞에 붙여 우선순위를 높였습니다.
   ------------------------------------------------------------------ */
body .mbskin { position: relative; width: 100%; max-width: 420px; margin: 60px auto 90px; padding: 0 20px; text-align: center; }
body .mbskin:after { display: none; }
body .mbskin h1 { margin: 0 0 26px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
body .mbskin .mbskin_box { padding: 30px 26px 34px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius-l); background: #fff; box-shadow: var(--sm-shadow-s); text-align: left; }
body .mbskin .frm_input { width: 100%; height: 48px; margin-bottom: 8px; }
body .mbskin .btn_submit { width: 100%; height: 52px; margin-top: 12px; font-size: 15px; font-weight: 700; border-radius: var(--sm-radius); }
body .mbskin .btn_close { width: 100%; height: 48px; margin-top: 8px; }
body .mbskin .login_if_auto, body .mbskin .chk_box { margin: 10px 0 2px; font-size: 13px; color: var(--sm-sub); }
body .mbskin .login_if_lpl { display: flex; justify-content: center; gap: 14px; margin-top: 18px; font-size: 13px; }
body .mbskin .login_if_lpl a { color: var(--sm-sub); }
body .mbskin .login_if_lpl a:hover { color: var(--sm-ink); text-decoration: underline; }
body .mbskin .join { margin-top: 16px; }
body .mbskin .join .btn_b03, body .mbskin .join a { display: block; width: 100%; height: 50px; line-height: 48px; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); text-align: center; font-size: 14px; }
body .mb_log_cate { display: flex; gap: 6px; margin-bottom: 16px; }
body .mb_log_cate li { flex: 1; }
body .mb_log_cate a { display: block; padding: 12px 0; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); font-size: 13px; text-align: center; }
body .mb_log_cate .mb_log_cate_on a, body .mb_log_cate li.selected a { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; font-weight: 600; }

body .register { max-width: 900px; margin: 0 auto; padding: 0 20px 80px; }
body #fregister p { border-radius: var(--sm-radius); background: var(--sm-gray); color: var(--sm-ink); font-weight: 600; }
body #fregister p:before { display: none; }
body #fregister section { border-color: var(--sm-line); border-radius: var(--sm-radius-l); }
body #fregister h2 { border-color: var(--sm-line); font-size: 15px; }
body #fregister_chkall { border-color: var(--sm-line); border-radius: var(--sm-radius); background: var(--sm-gray); }
body .register .btn_confirm .btn_submit, body .register .btn_confirm .btn_close { height: 52px !important; font-size: 15px; border-radius: var(--sm-radius); }

/* ------------------------------------------------------------------
   13. 반응형
   ------------------------------------------------------------------ */
@media (max-width: 1280px) {
    .sm-hero__track { height: 520px; }
    .sm-hero__title { font-size: 46px; }
    .sm-gnb__link { padding: 0 16px; font-size: 14px; }
    .sm-gnb__item:after { left: 16px; right: 16px; }
}

@media (max-width: 1024px) {
    :root { --sm-hd-h: 58px; }

    .sm-inner { padding-left: 16px; padding-right: 16px; }
    body.is-sub .sm-container { padding: 0 16px 70px; }

    /* 헤더 */
    .sm-topbar .sm-inner { height: 32px; }
    .sm-topbar__util { display: none; }
    .sm-roll li { height: 32px; line-height: 32px; font-size: 11px; }

    .sm-hd__main .sm-inner { height: var(--sm-hd-h); }
    .sm-hd__quick { display: none; }
    .sm-hd__search { display: none; }
    .sm-search-open { display: inline-flex; }
    .sm-hd__logo { max-width: calc(100% - 180px); }
    .sm-hd__logo img { max-height: 30px; }
    .sm-hd__wordmark { font-size: 18px; letter-spacing: .1em; }
    .sm-icobtn { width: 36px; height: 36px; font-size: 18px; }
    .sm-icobtn--my, .sm-icobtn--qa { display: none; } /* 하단 탭바에 있으므로 헤더에서는 감춤 */

    /* GNB : 가로 스크롤 */
    .sm-gnb { border-top: 1px solid var(--sm-line-2); }
    .sm-gnb .sm-inner { padding: 0; }
    .sm-gnb__list { justify-content: flex-start; height: 46px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .sm-gnb__list::-webkit-scrollbar { display: none; }
    .sm-gnb__item { flex: 0 0 auto; }
    .sm-gnb__item:after { display: none; }
    .sm-gnb__link { height: 46px; padding: 0 14px; font-size: 14px; }
    .sm-gnb__en { display: none; }
    .sm-gnb__sub { display: none !important; }

    /* 메인 */
    .sm-hero__track { height: 420px; }
    .sm-hero__inner { padding: 0 24px; }
    .sm-hero__title { font-size: 36px; }
    .sm-hero__desc { font-size: 15px; }
    .sm-hero__badge { margin-bottom: 14px; padding: 6px 13px; font-size: 11px; }
    .sm-hero__btn { height: 46px; margin-top: 24px; padding: 0 30px; font-size: 13px; }
    .sm-hero__arrow { display: none; }

    .sm-catequick { padding: 30px 0 4px; }
    .sm-catequick ul { justify-content: flex-start; flex-wrap: nowrap; gap: 0 14px; overflow-x: auto; scrollbar-width: none; }
    .sm-catequick ul::-webkit-scrollbar { display: none; }
    .sm-catequick a { flex: 0 0 auto; width: 74px; }
    .sm-catequick__ico { width: 54px; height: 54px; font-size: 19px; }
    .sm-catequick__name { font-size: 12px; }

    .sm-sec { padding: 48px 0; }
    .sm-sec__head { margin-bottom: 28px; }
    .sm-sec__title { font-size: 22px; }
    .sm-sec__desc { font-size: 13px; }
    .sm-sec__more { margin-top: 30px; }

    .sm-bandbanner .sm-inner { grid-template-columns: 1fr 1fr; }
    .sm-bandbanner__item { padding: 22px 10px; }
    .sm-bandbanner__item:nth-child(2n) { border-right: 0; }
    .sm-bandbanner__item:nth-child(-n+2) { border-bottom: 1px solid var(--sm-line); }
    .sm-bandbanner__item strong { font-size: 14px; }

    .sm-promo .sm-inner { grid-template-columns: 1fr; gap: 14px; }
    .sm-promo__box { min-height: 160px; padding: 28px; }
    .sm-promo__title { font-size: 22px; }

    .sm-photo { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sm-board3 .sm-inner { grid-template-columns: 1fr; gap: 34px; }
    .sm-grouplist { grid-template-columns: 1fr; gap: 26px; }

    /* 푸터 */
    .sm-ft__top .sm-inner { flex-direction: column; justify-content: center; gap: 14px; height: auto; padding-top: 20px; padding-bottom: 20px; }
    .sm-ft__menu { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
    .sm-ft__body .sm-inner { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 34px; padding-bottom: 34px; }
    .sm-ft__col.sm-ft__notice, .sm-ft__col.sm-ft__company { grid-column: 1 / -1; }
    .sm-ft__copy .sm-inner { flex-direction: column; gap: 8px; text-align: center; }
    .sm-ft { padding-bottom: 58px; }

    /* 퀵 / 탭바 : 모바일에서는 하단 탭바가 퀵메뉴를 대신하므로 TOP 버튼만 남깁니다 */
    .sm-quick { right: 12px; bottom: 72px; }
    .sm-quick > *:not(.sm-quick__top) { display: none; }
    .sm-quick__btn { width: 44px; height: 44px; font-size: 16px; }
    .sm-quick__btn span { display: none; }
    .sm-tabbar { display: flex; }

    .sm-page-head { padding: 30px 0 24px; }
    .sm-page-head__title { font-size: 22px; }

    .sm-searchlayer__inner { margin-top: 12vh; }
    .sm-searchlayer input { height: 52px; font-size: 19px; }
    .sm-searchlayer__close { right: 12px; top: 12px; }

    .tbl_frm01 th { width: 100px; padding: 12px; font-size: 12.5px; }
    .tbl_frm01 td { padding: 10px 12px; }
    .pc-only { display: none; }
    .mobile-only { display: block; }
}

@media (max-width: 560px) {
    .sm-hero__track { height: 360px; }
    .sm-hero__title { font-size: 28px; }
    .sm-hero__desc { font-size: 13px; margin-top: 12px; }
    .sm-hero__dots { bottom: 18px; }

    .sm-sec { padding: 40px 0; }
    .sm-sec__title { font-size: 19px; }
    .sm-sec__en { font-size: 11px; }

    .sm-photo { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sm-photo__info { padding: 11px; }
    .sm-photo__subj { font-size: 12.5px; }

    .sm-ft__body .sm-inner { grid-template-columns: 1fr; }
    .sm-ft__tel { font-size: 22px; }

    .sm-btn--lg { height: 48px; padding: 0 28px; font-size: 14px; }

    .tbl_frm01 table, .tbl_frm01 tbody, .tbl_frm01 tr, .tbl_frm01 th, .tbl_frm01 td { display: block; width: 100%; }
    .tbl_frm01 th { border-bottom: 0; padding-bottom: 6px; background: transparent; }
    .tbl_frm01 td { padding-top: 0; padding-left: 0; padding-right: 0; }
    .half_input { width: 100%; margin-bottom: 6px; }
}
