/* 올웹 쇼핑몰 템플릿 2(가구 · 리빙) · 원본(02) css/style.css 그대로이고, 색은 맨 위 :root 만 바꾸시면 전체에 반영됩니다.
   그누보드로 옮기며 바꾼 것: 글꼴을 로컬 Pretendard 서브셋으로, 사진 주소로 고르던 두 규칙을 파일 이름 포함(*=) 검사로 바꿨습니다.
   맨 아래에 서브 · 회원 · 게시판 · 정책 화면과 퀵메뉴를 같은 디자인 언어로 더했습니다. */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }
:root {
  --head: #efe7e0;      /* 헤더 바탕 */
  --ink: #1d1b19;       /* 글자 */
  --sub: #8b857e;       /* 보조 글자 */
  --line: #e6e1dc;      /* 선 */
  --gray: #f6f5f3;      /* 회색 섹션 */
  --tile: #f1eeea;      /* 상품 사진 바탕 */
  --sale: #d8412f;      /* 할인율 */
  --badge: #b9554a;     /* 특가 배지 */
  --ex: #3d5652;        /* 단독 배지 */
  --w: 1660px;
  --gut: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: -.01em; word-break: keep-all; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hm-sr, .tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.hm-skip:focus { top: 12px; }
.hm-in { width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.hm-en { letter-spacing: .01em; }

/* ===== 헤더 ===== */
.hm-header { position: sticky; top: 0; z-index: 100; background: var(--head); transition: transform .4s var(--ease), box-shadow .3s; }
.hm-header.is-hide { transform: translateY(-62px); }
.hm-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.hm-header__top { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.hm-logo { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.hm-header__util { display: flex; align-items: center; gap: 22px; }
.hm-search { display: flex; align-items: center; width: 240px; border-bottom: 1px solid var(--ink); transition: width .4s var(--ease); }
.hm-search:focus-within { width: 320px; }
.hm-search input { flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; font: inherit; font-size: 14px; outline: 0; }
.hm-search input::placeholder { color: #a39c95; }
.hm-search button { display: grid; place-items: center; width: 30px; height: 30px; }
.hm-icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }
.hm-cart-count { position: absolute; right: -4px; top: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; line-height: 17px; text-align: center; transition: transform .3s; }
.hm-cart-count.is-pop { animation: hm-pop .45s var(--ease); }
.hm-menu-btn { display: none; }
.hm-brandhall { height: 30px; padding: 0 12px; border: 1px solid var(--ink); font-size: 13px; line-height: 28px; transition: background .25s, color .25s; }
.hm-brandhall:hover { background: var(--ink); color: #fff; }

.hm-gnb__list { display: flex; align-items: center; height: 44px; gap: 0 4px; margin-left: -14px; }
.hm-gnb__list > li { position: relative; height: 100%; }
.hm-gnb__list > li > a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 15px; }
.hm-gnb__list > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hm-gnb__list > li:hover > a::after, .hm-gnb__list > li:focus-within > a::after { transform: scaleX(1); }
.hm-gnb__sep { width: 1px; height: 14px !important; margin: 0 14px; background: #b9b1a9; }
.hm-gnb__dot::before { content: ""; position: absolute; right: 7px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--sale); }
.hm-gnb__sub { position: absolute; left: 0; top: 100%; min-width: 180px; padding: 14px 0; background: #fff; border-top: 1px solid var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.hm-gnb__sub a { display: block; padding: 7px 22px; font-size: 14px; color: #55504b; white-space: nowrap; }
.hm-gnb__sub a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hm-gnb__list > li:hover .hm-gnb__sub, .hm-gnb__list > li:focus-within .hm-gnb__sub { opacity: 1; visibility: visible; transform: none; }

/* ===== 모바일 드로어 ===== */
.hm-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,16,0); transition: background .3s; }
.hm-drawer.is-open { background: rgba(20,18,16,.45); }
.hm-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); }
.hm-drawer.is-open .hm-drawer__panel { transform: none; }
.hm-drawer__head { display: flex; justify-content: space-between; align-items: center; height: 62px; padding: 0 20px; background: var(--head); }
.hm-drawer__close { display: grid; place-items: center; width: 36px; height: 36px; }
.hm-drawer__member { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.hm-drawer__member a { height: 42px; border: 1px solid var(--ink); text-align: center; line-height: 40px; font-size: 14px; }
.hm-drawer__member a:last-child { background: var(--ink); color: #fff; }
.hm-drawer__list > li { border-bottom: 1px solid var(--line); }
.hm-drawer__list button, .hm-drawer__list > li > a { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 20px; font-size: 16px; text-align: left; }
.hm-drawer__list button svg { width: 18px; height: 18px; transition: transform .3s; }
.hm-drawer__list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.hm-drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.hm-drawer__sub > div { overflow: hidden; }
.hm-drawer__sub a { display: block; padding: 8px 32px; font-size: 15px; color: #625c56; }
.hm-drawer__sub a:last-child { margin-bottom: 12px; }
.hm-drawer__list button[aria-expanded="true"] + .hm-drawer__sub { grid-template-rows: 1fr; }

/* ===== 메인 비주얼 ===== */
.hm-hero { position: relative; height: clamp(460px, 38vw, 760px); overflow: hidden; background: #2a2622; color: #fff; touch-action: pan-y; }
.hm-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.hm-hero__slide.is-on { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1s var(--ease), visibility 0s; }
.hm-hero__slide.is-out { visibility: visible; z-index: 1; opacity: 1; }
.hm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hm-hero__slide.is-on .hm-hero__img { animation: hm-kenburns 9s linear forwards; }
.hm-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.5), rgba(20,16,12,.12) 55%, rgba(20,16,12,0)); }
.hm-hero__txt { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; padding-left: calc(var(--gut) + 80px); }
.hm-hero__txt > * { opacity: 0; transform: translateY(28px); }
.hm-hero__slide.is-on .hm-hero__txt > * { animation: hm-rise .9s var(--ease) forwards; }
.hm-hero__slide.is-on .hm-hero__tit { animation-delay: .15s; }
.hm-hero__slide.is-on .hm-hero__desc { animation-delay: .3s; }
.hm-hero__slide.is-on .hm-hero__date { animation-delay: .42s; }
.hm-hero__slide.is-on .hm-hero__btn { animation-delay: .55s; }
.hm-hero__lab { font-size: 14px; font-weight: 600; letter-spacing: .18em; }
.hm-hero__tit { margin: 16px 0 18px; font-size: clamp(40px, 4.6vw, 84px); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; }
.hm-hero__desc { font-size: 18px; }
.hm-hero__date { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 16px; font-weight: 600; }
.hm-hero__date i { width: 90px; height: 1px; background: rgba(255,255,255,.7); }
.hm-hero__btn { margin-top: 30px; padding: 13px 26px; border: 1px solid #fff; font-size: 15px; transition: background .3s, color .3s; }
.hm-hero__btn:hover { background: #fff; color: var(--ink); }
.hm-hero__arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 56px; height: 80px; margin-top: -40px; color: #fff; opacity: .75; transition: opacity .25s, transform .3s var(--ease); }
.hm-hero__arrow svg { width: 18px; height: 36px; stroke-width: 1.4; }
.hm-hero__arrow:hover { opacity: 1; }
.hm-hero__arrow--prev { left: 18px; }
.hm-hero__arrow--prev:hover { transform: translateX(-4px); }
.hm-hero__arrow--next { right: 18px; }
.hm-hero__arrow--next:hover { transform: translateX(4px); }
.hm-hero__ctrl { position: absolute; right: calc(var(--gut) + 60px); top: 30px; z-index: 5; display: flex; align-items: center; gap: 6px; }
.hm-hero__count { height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(0,0,0,.42); font-size: 13px; line-height: 28px; }
.hm-hero__pause { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.42); }
.hm-hero__pause svg { width: 14px; height: 14px; }
.hm-hero__pause .i-play, .hm-hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hm-hero__pause[aria-pressed="true"] .i-play { display: block; fill: currentColor; }
.hm-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 3px; background: rgba(255,255,255,.25); }
.hm-hero__bar span { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

/* ===== 카테고리 바로가기 ===== */
.hm-cats { padding: 56px 0 24px; }
.hm-cats__list { display: flex; justify-content: center; gap: 28px; }
.hm-cats__list a { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 104px; }
.hm-cat__ic { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: var(--gray); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.hm-cat__ic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hm-cat__ic img[src*="/p-23.jpg"] { object-position: center bottom; }
.hm-cats__list a:hover .hm-cat__ic { transform: translateY(-6px); box-shadow: 0 10px 20px rgba(60,40,20,.12); }
.hm-cats__list a:hover .hm-cat__ic img { transform: scale(1.1); }
.hm-cat__sale { color: var(--sale); font-size: 20px; font-weight: 600; }
.hm-cat__logo { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.hm-cat__name { font-size: 16px; }

/* ===== 섹션 공통 ===== */
.hm-sec { padding: 96px 0; }
.hm-sec--gray { background: var(--gray); }
.hm-sec__head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.hm-sec__title { font-size: 30px; font-weight: 500; letter-spacing: -.03em; text-align: center; }
.hm-more { position: absolute; right: 0; bottom: 6px; font-size: 14px; color: var(--sub); }
.hm-more::after { content: " ›"; font-size: 17px; }
.hm-more:hover { color: var(--ink); }
.hm-timer { font-size: 15px; color: var(--sub); }
.hm-timer b { margin-left: 6px; color: var(--sale); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ===== 가격 · 찜 ===== */
.hm-price { margin-top: 12px; }
.hm-price__orig { display: block; font-size: 13px; color: #b0aaa3; }
.hm-price p { display: flex; align-items: baseline; gap: 6px; font-size: 18px; }
.hm-price strong { font-weight: 600; }
.hm-price__rate { color: var(--sale); font-style: normal; font-weight: 600; }
.hm-like { position: absolute; right: 0; bottom: 2px; display: grid; place-items: center; width: 30px; height: 30px; color: #bdb6af; }
.hm-like svg { width: 20px; height: 20px; transition: transform .3s; }
.hm-like:hover { color: var(--ink); }
.hm-like[aria-pressed="true"] { color: var(--sale); }
.hm-like[aria-pressed="true"] svg { fill: currentColor; animation: hm-pop .45s var(--ease); }
.hm-badge { position: absolute; left: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--badge); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; }
.hm-badge--ex { background: var(--ex); }

/* ===== 상품 카드 ===== */
.hm-card__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.hm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hm-card:hover .hm-card__img img { transform: scale(1.06); }
.hm-card__body, .hm-row__body { position: relative; padding-top: 16px; }
.hm-card__brand { display: block; font-size: 13px; color: var(--sub); }
.hm-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; margin-top: 4px; padding-right: 8px; font-size: 16px; line-height: 1.5; }
.hm-card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm-rank { position: absolute; left: 0; bottom: 0; z-index: 2; min-width: 42px; padding: 6px 10px; background: var(--ink); color: #fff; font-size: 18px; font-weight: 600; text-align: center; }

/* ===== 가로 넘김 줄 ===== */
.hm-rail { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gut), calc((100vw - var(--w)) / 2)); }
.hm-rail::-webkit-scrollbar { display: none; }
.hm-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hm-rail.is-drag a { pointer-events: none; }
.hm-rail__track { display: flex; gap: 20px; width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--w)) / 2)); }
.hm-rail .hm-card { width: clamp(220px, 16.2vw, 316px); scroll-snap-align: start; }
.hm-rail img { -webkit-user-drag: none; user-select: none; }
.hm-rail__bar { position: relative; height: 2px; margin-top: 44px; background: var(--line); }
.hm-rail__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--ink); transition: width .2s; }

/* ===== 시리즈 · 브랜드 ===== */
.hm-series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-series__hero { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: #fff; }
.hm-series__hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hm-series__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 55%); }
.hm-series__hero:hover img { transform: scale(1.05); }
.hm-series__cap { position: absolute; left: 36px; bottom: 30px; right: 36px; z-index: 2; }
.hm-series__cap strong { display: block; font-size: 34px; font-weight: 500; letter-spacing: 0; }
.hm-series__cap span { display: block; margin-top: 6px; font-size: 16px; }
.hm-row { position: relative; display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hm-row__img { position: relative; flex: none; width: 140px; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.hm-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hm-row:hover .hm-row__img img { transform: scale(1.08); }
.hm-row__img .hm-badge { left: 6px; top: 6px; width: 40px; height: 40px; font-size: 10px; }
.hm-row__body { flex: 1; min-width: 0; padding-top: 2px; }
.hm-row .hm-card__name { min-height: 0; }

/* ===== 모자이크 ===== */
.hm-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-mosaic a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.hm-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hm-mosaic a:hover img { transform: scale(1.06); }
.hm-mosaic__info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 20px 24px; background: rgba(255,255,255,.94); font-size: 15px; transform: translateY(100%); transition: transform .45s var(--ease); }
.hm-mosaic a:hover .hm-mosaic__info, .hm-mosaic a:focus-visible .hm-mosaic__info { transform: none; }
.hm-mosaic__info strong { flex: none; font-weight: 600; }

/* ===== 띠 배너 ===== */
.hm-band-wrap { padding: 0 0 96px; }
.hm-band { position: relative; height: 150px; overflow: hidden; }
.hm-band__slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12% 0 12%; background: var(--band); opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; }
.hm-band__slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s; }
.hm-band__txt { opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.hm-band__slide.is-on .hm-band__txt { opacity: 1; transform: none; transition: opacity .6s .35s, transform .7s var(--ease) .35s; }
.hm-band__txt strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.hm-band__txt em { color: #8c3b33; font-style: normal; }
.hm-band__txt > span { display: block; margin-top: 8px; font-size: 15px; color: #5f5751; }
.hm-band__slide img { height: 120px; width: 200px; object-fit: cover; transform: translateX(30px); opacity: 0; transition: transform .2s, opacity .2s; }
.hm-band__slide.is-on img { transform: none; opacity: 1; transition: transform .9s var(--ease) .35s, opacity .9s .35s; }
.hm-band__dots { position: absolute; left: 50%; bottom: 12px; z-index: 3; display: flex; gap: 6px; transform: translateX(-50%); }
.hm-band__dots button { width: 6px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.2); transition: width .3s, background .3s; }
.hm-band__dots button[aria-current="true"] { width: 18px; background: var(--ink); }

/* ===== FOCUS ON ===== */
.hm-focus { position: relative; overflow: hidden; }
.hm-focus__track { display: flex; align-items: center; transition: transform .8s var(--ease); will-change: transform; }
.hm-focus__slide { flex: none; width: min(1000px, 62vw); padding: 0 10px; transition: opacity .6s, transform .8s var(--ease); opacity: .45; transform: scale(.9); }
.hm-focus__slide.is-on { opacity: 1; transform: none; }
.hm-focus__slide a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; }
.hm-focus__slide img { width: 100%; height: 100%; object-fit: cover; }
.hm-focus__slide a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 50%); }
.hm-focus__cap { position: absolute; left: 6%; bottom: 8%; z-index: 2; }
.hm-focus__cap small { font-size: 14px; opacity: .85; }
.hm-focus__cap strong { display: block; margin: 4px 0 8px; font-size: clamp(26px, 2.4vw, 42px); font-weight: 500; }
.hm-focus__cap span { font-size: 17px; }
.hm-focus__slide.is-on .hm-focus__cap > * { animation: hm-rise .8s var(--ease) both; }
.hm-focus__slide.is-on .hm-focus__cap strong { animation-delay: .1s; }
.hm-focus__slide.is-on .hm-focus__cap span { animation-delay: .2s; }
.hm-focus__arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 48px; height: 72px; margin-top: -36px; color: #fff; }
.hm-focus__arrow svg { width: 16px; height: 32px; }
.hm-focus__arrow--prev { left: calc(19vw - 24px); }
.hm-focus__arrow--next { right: calc(19vw - 24px); }
.hm-focus__dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.hm-focus__dots i { width: 6px; height: 6px; border-radius: 3px; background: #d3cdc7; transition: width .3s, background .3s; }
.hm-focus__dots i.is-on { width: 18px; background: var(--ink); }

/* ===== SHOP THE ROOM ===== */
.hm-room { display: grid; grid-template-columns: 1fr 220px; gap: 60px; }
.hm-room__stage { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--tile); }
.hm-room__pane { position: absolute; inset: 0; }
.hm-room__pane.is-on { animation: hm-fade .7s var(--ease); }
.hm-room__pane > img { width: 100%; height: 100%; object-fit: cover; }
.hm-spot { position: absolute; z-index: 2; }
.hm-spot.is-open { z-index: 4; }
.hm-spot__dot { position: relative; display: block; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hm-spot__dot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: hm-pulse 2s var(--ease) infinite; }
.hm-spot__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--ink); transition: transform .3s; }
.hm-spot__dot[aria-expanded="true"]::after { transform: scale(1.5); background: var(--sale); }
.hm-spot__card { position: absolute; left: 22px; top: -30px; display: flex; gap: 12px; width: 270px; padding: 10px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); font-size: 14px; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.hm-spot.is-left .hm-spot__card { left: auto; right: 22px; }
.hm-spot__card img { flex: none; width: 72px; height: 72px; object-fit: cover; }
.hm-spot__card small { display: block; color: var(--sub); font-size: 12px; }
.hm-spot__card strong { display: block; margin-top: 4px; font-size: 15px; }
.hm-spot__dot[aria-expanded="true"] + .hm-spot__card { opacity: 1; visibility: visible; transform: none; }
.hm-room__side { display: flex; flex-direction: column; }
.hm-room__tabs { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hm-room__tabs button { position: relative; font-size: 19px; color: #a7a09a; transition: color .25s; }
.hm-room__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hm-room__tabs button[aria-selected="true"], .hm-room__tabs button:hover { color: var(--ink); }
.hm-room__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.hm-room__hint { margin-top: 28px; font-size: 14px; color: var(--sub); }
.hm-room__thumbs { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.hm-room__thumbs button { width: 130px; aspect-ratio: 16 / 9.4; overflow: hidden; opacity: .55; transition: opacity .3s; }
.hm-room__thumbs button[aria-current="true"], .hm-room__thumbs button:hover { opacity: 1; }
.hm-room__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 공간별 탭 ===== */
.hm-tabgrid__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 30px; }
.hm-tabgrid__tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 96px; border: 1px solid #d8d3ce; color: #c4beb8; transition: border-color .3s, color .3s; }
.hm-tabgrid__tabs button span { font-size: 24px; letter-spacing: .02em; }
.hm-tabgrid__tabs button small { margin-top: 2px; font-size: 14px; }
.hm-tabgrid__tabs button:hover { color: #6d6660; }
.hm-tabgrid__tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }
.hm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.hm-grid .hm-card { animation: hm-rise .6s var(--ease) both; }
.hm-grid .hm-card:nth-child(4n+2) { animation-delay: .06s; }
.hm-grid .hm-card:nth-child(4n+3) { animation-delay: .12s; }
.hm-grid .hm-card:nth-child(4n) { animation-delay: .18s; }
.hm-grid .hm-card.is-more-hidden { display: none; }
.hm-plus { display: grid; place-items: center; width: 44px; height: 44px; margin: 44px auto 0; border: 1px solid #d8d3ce; border-radius: 50%; transition: transform .4s var(--ease), border-color .3s; }
.hm-plus:hover { transform: rotate(90deg); border-color: var(--ink); }
.hm-plus[hidden] { display: none; }

/* ===== 푸터 ===== */
.hm-footer { padding: 64px 0 80px; border-top: 1px solid var(--line); font-size: 13px; color: #8a847e; }
.hm-footer__in { display: grid; grid-template-columns: 1fr 380px; gap: 60px; max-width: 1480px; }
.hm-footer__info { padding-right: 60px; border-right: 1px solid var(--line); }
.hm-logo--sm { font-size: 22px; color: var(--ink); }
.hm-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 16px; color: var(--ink); font-size: 14px; }
.hm-footer__links b { color: var(--sale); font-weight: 600; }
.hm-footer__biz { line-height: 1.9; }
.hm-footer__biz i { display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: #d5cfca; }
.hm-footer__escrow { margin-top: 14px; }
.hm-footer__copy { margin-top: 22px; color: #aaa49e; }
.hm-footer__cs h2 { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hm-footer__tel { display: flex; gap: 36px; margin: 12px 0 6px; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.hm-footer__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.hm-footer__btns a { padding: 6px 12px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px; transition: background .25s, color .25s; }
.hm-footer__btns a:hover { background: var(--ink); color: #fff; }
.hm-footer__sns { display: flex; gap: 14px; color: var(--ink); }
.hm-footer__sns .f { fill: currentColor; stroke: none; }
.hm-totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.hm-totop.is-on { opacity: 1; visibility: visible; transform: none; }

/* ===== 스크롤 등장 ===== */
.hm-js [data-aos] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hm-js [data-aos].is-in { opacity: 1; transform: none; }
.hm-js .hm-mosaic li:nth-child(3n+2) { transition-delay: .1s; }
.hm-js .hm-mosaic li:nth-child(3n) { transition-delay: .2s; }
.hm-js .hm-series__col:nth-child(2) { transition-delay: .1s; }
.hm-js .hm-series__col:nth-child(3) { transition-delay: .2s; }

@keyframes hm-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hm-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hm-fade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes hm-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes hm-pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  :root { --gut: 28px; }
  .hm-gnb__list > li > a { padding: 0 10px; font-size: 14px; }
  .hm-gnb__list { margin-left: -10px; }
  .hm-gnb__sep { margin: 0 8px; }
  .hm-row__img { width: 110px; }
  .hm-series__cap { left: 24px; bottom: 22px; }
  .hm-series__cap strong { font-size: 28px; }
}
@media (max-width: 1024px) {
  .hm-search, .hm-brandhall { display: none; }
  .hm-menu-btn { display: grid; }
  .hm-header.is-hide { transform: none; }
  .hm-gnb { overflow-x: auto; scrollbar-width: none; }
  .hm-gnb::-webkit-scrollbar { display: none; }
  .hm-gnb__list { width: max-content; }
  .hm-gnb__sub { display: none; }
  .hm-hero__txt { padding-left: calc(var(--gut) + 40px); }
  .hm-hero__ctrl { right: var(--gut); top: 20px; }
  .hm-cats__list { justify-content: flex-start; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .hm-cats__list::-webkit-scrollbar { display: none; }
  .hm-cats__list a { width: 88px; }
  .hm-cat__ic { width: 84px; height: 84px; }
  .hm-series { gap: 14px; }
  .hm-row { flex-direction: column; gap: 10px; }
  .hm-row__img { width: 100%; }
  .hm-mosaic { grid-template-columns: repeat(2, 1fr); }
  .hm-room { grid-template-columns: 1fr; gap: 24px; }
  .hm-room__side { order: -1; }
  .hm-room__tabs { flex-direction: row; gap: 24px; }
  .hm-room__hint { margin-top: 12px; }
  .hm-room__thumbs { display: none; }
  .hm-grid { grid-template-columns: repeat(3, 1fr); }
  .hm-tabgrid__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .hm-tabgrid__tabs button { flex: none; width: 170px; height: 80px; }
  .hm-tabgrid__tabs button span { font-size: 19px; }
  .hm-footer__in { grid-template-columns: 1fr; gap: 36px; }
  .hm-footer__info { padding-right: 0; border-right: 0; }
  .hm-focus__slide { width: 76vw; }
  .hm-focus__arrow--prev { left: calc(12vw - 24px); }
  .hm-focus__arrow--next { right: calc(12vw - 24px); }
}
@media (max-width: 768px) {
  :root { --gut: 16px; }
  body { font-size: 15px; }
  .hm-logo { font-size: 26px; }
  .hm-header__util { gap: 10px; }
  .hm-gnb__list > li > a { font-size: 15px; }
  .hm-hero { height: 78svh; min-height: 520px; max-height: 720px; }
  .hm-hero__slide::after { background: linear-gradient(0deg, rgba(20,16,12,.62), rgba(20,16,12,.1) 70%); }
  .hm-hero__txt { justify-content: flex-end; padding: 0 var(--gut) 64px; }
  .hm-hero__desc { font-size: 15px; }
  .hm-hero__date { font-size: 14px; }
  .hm-hero__date i { width: 48px; }
  .hm-hero__btn { margin-top: 20px; padding: 11px 20px; font-size: 14px; }
  .hm-hero__arrow { display: none; }
  .hm-hero__img[src*="/hero-1.jpg"] { object-position: 72% center; }
  .hm-cats { padding: 32px 0 8px; }
  .hm-sec { padding: 64px 0; }
  .hm-band-wrap { padding-bottom: 64px; }
  .hm-sec__head { margin-bottom: 28px; }
  .hm-sec__title { font-size: 23px; }
  .hm-more { position: static; }
  .hm-rail__track { gap: 12px; }
  .hm-rail .hm-card { width: 62vw; }
  .hm-rail__bar { margin-top: 28px; }
  .hm-card__name { font-size: 15px; }
  .hm-price p { font-size: 16px; }
  .hm-badge { left: 8px; top: 8px; width: 42px; height: 42px; font-size: 10.5px; }
  .hm-series { grid-template-columns: 1fr; gap: 48px; }
  .hm-row { flex-direction: row; gap: 14px; padding: 16px 0; }
  .hm-row__img { width: 96px; }
  .hm-mosaic { gap: 8px; }
  .hm-mosaic__info { display: none; }
  .hm-band { height: auto; min-height: 150px; }
  .hm-band__slide { padding: 18px 20px 30px; }
  .hm-band__txt strong { font-size: 18px; }
  .hm-band__txt > span { font-size: 13px; }
  .hm-band__slide img { width: 96px; height: 80px; margin-left: 12px; }
  .hm-focus__slide { width: 86vw; padding: 0 6px; }
  .hm-focus__slide a { aspect-ratio: 4 / 5; }
  .hm-focus__arrow { display: none; }
  .hm-room__stage { aspect-ratio: 4 / 3.4; }
  .hm-spot__card { width: 220px; }
  .hm-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .hm-tabgrid__tabs button { width: 132px; height: 66px; }
  .hm-tabgrid__tabs button span { font-size: 16px; }
  .hm-tabgrid__tabs button small { font-size: 12px; }
  .hm-footer__tel { font-size: 22px; gap: 20px; }
  .hm-totop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hm-js [data-aos] { opacity: 1; transform: none; }
}

/* =====================================================================
   아래부터는 그누보드로 옮기며 더한 것입니다. 원본(02)에는 메인 한 장만 있어
   서브 · 회원 · 게시판 · 정책 화면을 같은 디자인 언어(위 :root 토큰 · Pretendard · 옅은 선 · 먹색 단추)로 새로 그렸습니다.
   ===================================================================== */

/* ===== 그누보드 연결 보정 ===== */
#hd, #wrapper, #ft { min-width: 0; }
.hm-logo { --accent: #12c29a; display: flex; align-items: center; color: var(--ink); }
.hm-logo a { display: flex; align-items: center; }
.hm-logo .logo-svg { display: block; width: auto; height: 30px; }
.hm-logo .logo-img { display: block; width: auto; height: 32px; max-width: 200px; object-fit: contain; }
.hm-logo .logo-img--dark { display: none; }
.hm-logo--sm .logo-svg { height: 26px; }
.hm-drawer__head .hm-logo .logo-svg { height: 26px; }
.tpl-m-br { display: none; }
#captcha #captcha_img, #captcha_img { display: inline-block; vertical-align: middle; }
#captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#captcha #captcha_key { height: 44px; padding: 0 12px; border: 1px solid #d8d3ce; font-size: 15px; }
#captcha button { height: 44px; }
a.hm-btn { height: auto; line-height: inherit; border-radius: 0; font-size: 15px; }

/* ===== 서브 비주얼 · 위치 · 2차 탭 (원본 메인 비주얼의 사진 + 왼쪽 어두운 막 말씨) ===== */
.page-sub .hm-header { border-bottom: 1px solid rgba(0,0,0,.04); }
.tpl-subvis { position: relative; display: flex; align-items: center; height: 400px; overflow: hidden; background: #2a2622; color: #fff; }
.tpl-subvis__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.58), rgba(20,16,12,.2) 60%, rgba(20,16,12,.08)); }
.tpl-subvis .tpl-wrap { position: relative; z-index: 2; width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut) 0 calc(var(--gut) + 80px); }
.tpl-subvis .tpl-label { font-size: 14px; font-weight: 600; letter-spacing: .18em; }
.tpl-subvis__title { margin: 14px 0 12px; font-size: clamp(36px, 3.4vw, 56px); font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.tpl-subvis__desc { font-size: 17px; }
.tpl-subvis .tpl-wrap > * { animation: hm-rise .9s var(--ease) both; }
.tpl-subvis .tpl-wrap > :nth-child(2) { animation-delay: .12s; }
.tpl-subvis .tpl-wrap > :nth-child(3) { animation-delay: .24s; }
.tpl-snb { border-bottom: 1px solid var(--line); }
.tpl-snb .tpl-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.tpl-loc ol { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--sub); }
.tpl-loc li + li::before { content: "/"; margin-right: 10px; color: #c9c2bb; }
.tpl-loc a:hover { color: var(--ink); }
.tpl-loc [aria-current] { color: var(--ink); }
.tpl-loc .tpl-ico { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tpl-snb__tabs ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.tpl-snb__tabs a { position: relative; display: block; padding: 20px 18px; font-size: 16px; color: #8b857e; white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tpl-snb__tabs a[aria-current] { color: var(--ink); font-weight: 600; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) {
  .tpl-snb__tabs a:hover { color: var(--ink); }
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}
.tpl-subcon, .allweb-gnu { padding-bottom: 40px; }
.tpl-subcon > .hm-page:first-child, .tpl-subcon > .tpl-block:first-child, .tpl-subcon > .board-skin:first-child { padding-top: 80px; }

/* ===== 서브 본문 공통 ===== */
.hm-page { padding: 88px 0; }
.hm-page.hm-sec--gray { background: var(--gray); }
.hm-narrow { max-width: 1040px; }
.page-head { margin-bottom: 40px; }
.page-head--center { text-align: center; }
.page-eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--sub); }
.page-title { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.3; }
.page-desc { max-width: 640px; margin: 12px auto 0; font-size: 16px; color: var(--sub); }
.page-head:not(.page-head--center) .page-desc { margin-left: 0; }

/* ===== 단추 · 입력 칸 (회원 · 게시판 · 서브 공통, 쇼핑몰 원본 01 의 구조 이름을 씁니다) ===== */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.hm-btn--ink { background: var(--ink); color: #fff; }
.hm-btn--ink:hover { background: #3a3632; border-color: #3a3632; }
.hm-btn--line:hover { background: var(--ink); color: #fff; }
.hm-btn--lg { min-height: 56px; font-size: 16px; }
.hm-btn--block { display: flex; width: 100%; }
.member-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.member-btns--end { justify-content: flex-end; }
.member-btns:empty { display: none; }
.field { margin-top: 20px; }
.field__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.input, .member-form select, .member-form textarea, .member-form input[type="text"], .member-form input[type="password"], .member-form input[type="email"] { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d8d3ce; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .25s; }
.input--area, .member-form textarea { height: auto; min-height: 160px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.input[type="file"] { height: auto; padding: 12px 16px; }
.input:focus, .member-form textarea:focus { border-color: var(--ink); outline: 0; }
.input[readonly] { background: var(--gray); color: var(--sub); }
.input[aria-invalid="true"] { border-color: var(--sale); }
.field__hint { margin-top: 8px; font-size: 13px; color: var(--sub); }
.field__hint.is-ok { color: #3d5652; }
.field__error { margin-top: 8px; font-size: 13px; color: var(--sale); }
.field__error:empty { display: none; }
.field__row { display: flex; gap: 8px; }
.field__row .input { flex: 1; min-width: 0; }
.field__row .hm-btn { flex: none; min-height: 50px; padding: 0 18px; }
.field__sub { margin-top: 8px; }
.field__addr { display: grid; gap: 8px; }
.field__addr .field__row .input { max-width: 200px; }
.req { margin-left: 2px; color: var(--sale); font-style: normal; }
.form-note { margin-bottom: 4px; font-size: 13px; color: var(--sub); text-align: right; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.text-link { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* ===== 회원 화면 (쇼핑몰 원본 01 login · join · find-account 구조) ===== */
.tpl-block { padding: 0 0 40px; }
.tpl-inner { width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.tpl-auth { max-width: 460px; margin: 0 auto; }
.tpl-auth--full { max-width: none; }
.tpl-auth--full .member-form, .tpl-auth--full .join-steps, .tpl-auth--full .done { max-width: 860px; margin-left: auto; margin-right: auto; }
.member-form > .hm-btn--block { margin-top: 28px; }
.member-form__sub { margin-top: 10px !important; }
.login-opts { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; }
.login-opts .check { font-size: 14px; }
.acc { margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 15px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 24px; }
.acc__body .field:first-child { margin-top: 0; }
.tpl-auth__foot, .tpl-auth__cert { margin-top: 24px; font-size: 14px; color: var(--sub); text-align: center; }
.tpl-auth__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tpl-auth__cert .field__row { justify-content: center; margin-top: 8px; }
.join-steps { display: flex; justify-content: center; margin: 0 auto 48px; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.join-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; font-size: 15px; color: #b0aaa3; }
.join-steps b { font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.join-steps [aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.join-steps .is-done { color: var(--sub); }
.join-sec { margin-top: 36px; }
.join-sec__title { padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 600; }
.join-sec__title small { font-size: 14px; font-weight: 400; color: var(--sub); }
.join-sec__title + .join-grid, .join-sec__title + .agree, .join-sec__title + .field { margin-top: 4px; }
.member-form > .join-sec__title { margin-top: 44px; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.join-grid > .field--full, .join-grid > .field__hint { grid-column: 1 / -1; }
.terms__all { display: flex; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.terms .field { margin-top: 0; border-bottom: 1px solid var(--line); }
.terms__item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; }
.terms__item summary::-webkit-details-marker { display: none; }
.terms__view { flex: none; font-size: 13px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.terms__body { max-height: 220px; margin-bottom: 16px; padding: 16px 18px; overflow-y: auto; background: var(--gray); font-size: 14px; line-height: 1.7; color: #5f5751; }
.terms .field__error { margin: 0 0 12px; }
.agree { margin-top: 16px; }
.agree__check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.agree__check.field__hint { padding: 0 0 12px; border: 0; }
.agree-table-wrap { overflow-x: auto; margin: 12px 0; }
.agree-table { width: 100%; min-width: 520px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; }
.agree-table caption { padding-bottom: 8px; font-size: 14px; font-weight: 600; text-align: left; color: var(--ink); }
.agree-table th, .agree-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.agree-table thead th { background: var(--gray); font-weight: 600; }
.done { padding: 40px 0; text-align: center; }
.done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--head); }
.done__icon .tpl-ico { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.done__tit { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.done__txt { margin-top: 10px; color: var(--sub); }
.guest-buy { margin-top: 44px; }
.guest-buy .terms__body { margin-top: 12px; }
.guest-buy .check { margin-bottom: 4px; font-size: 14px; }
.check-all-row { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* ===== 게시판 (공지 · 자주 묻는 질문 · 1:1 문의) ===== */
.hm-board-wrap { width: 100%; max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.hm-board__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.hm-board__total { font-size: 15px; color: var(--sub); }
.hm-board__total b { color: var(--ink); font-weight: 600; }
.hm-bsearch { display: flex; align-items: center; gap: 8px; }
.hm-bsearch select.input { width: 120px; height: 44px; }
.hm-bsearch input.input { width: 260px; height: 44px; }
.hm-bsearch button { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: #fff; }
.hm-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.hm-tabs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-tabs button, .hm-tabs a { display: block; height: 40px; padding: 0 18px; border: 1px solid #d8d3ce; font-size: 14px; line-height: 38px; color: #6d6660; transition: border-color .25s, color .25s, background .25s; }
.hm-tabs button:hover, .hm-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.hm-tabs button[aria-pressed="true"], .hm-tabs #bo_cate_on { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-board { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.hm-board__row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .25s; }
.hm-board__row:hover { background: #fbfaf9; }
.hm-board__row.is-notice { background: var(--gray); }
.hm-board__num { font-size: 14px; color: var(--sub); text-align: center; }
.hm-board__tag { display: inline-block; padding: 3px 10px; background: var(--ink); color: #fff; font-size: 12px; font-style: normal; }
.hm-board__tit { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 17px; }
.hm-board__tit small { flex: none; font-size: 13px; color: var(--sub); }
.hm-board__tit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-board__tit:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hm-board__tit img { display: inline; vertical-align: -2px; }
.hm-board__re { margin-right: 4px; font-size: 13px; font-style: normal; color: var(--sale); }
.hm-board__cmt { flex: none; font-size: 13px; font-weight: 600; color: var(--sale); }
.hm-board__meta { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--sub); white-space: nowrap; }
.hm-board__state { padding: 3px 10px; border: 1px solid #d8d3ce; font-size: 12px; font-style: normal; }
.hm-board__state.is-done { border-color: var(--ink); color: var(--ink); }
.hm-board__empty { padding: 80px 0; color: var(--sub); text-align: center; }
.pg_wrap { display: flex; justify-content: center; margin-top: 40px; }
.pg_wrap .pg { display: flex; flex-wrap: wrap; gap: 4px; }
.pg_page, .pg_current { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid transparent; background: none; font-size: 14px; color: var(--sub); }
.pg_page:hover { border-color: #d8d3ce; color: var(--ink); }
.pg_current { border-color: var(--ink); background: none; color: var(--ink); font-weight: 600; }
.hm-faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.hm-faq__item { border-bottom: 1px solid var(--line); }
.hm-faq__q { display: flex; align-items: center; gap: 18px; width: 100%; padding: 24px 8px; font-size: 17px; text-align: left; }
.hm-faq__q b { flex: none; font-size: 18px; font-weight: 600; }
.hm-faq__q span { flex: 1; }
.hm-faq__q svg { flex: none; width: 20px; height: 20px; transition: transform .35s var(--ease); }
.hm-faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.hm-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.hm-faq__a > div { overflow: hidden; }
.hm-faq__item.is-open .hm-faq__a { grid-template-rows: 1fr; }
.hm-faq__in { display: flex; gap: 18px; margin: 0 8px 24px; padding: 24px; background: var(--gray); font-size: 16px; line-height: 1.75; color: #4f4944; }
.hm-faq__in > b { flex: none; font-size: 18px; color: var(--sale); }
.hm-faq__in a { text-decoration: underline; text-underline-offset: 3px; }
.hm-view { max-width: 1040px; margin: 0 auto; }
.hm-view__head { padding-bottom: 28px; border-bottom: 1px solid var(--ink); text-align: center; }
.hm-view__cat { margin-bottom: 10px; font-size: 14px; color: var(--sub); }
.hm-view__tit { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.35; }
.hm-view__info { display: flex; justify-content: center; gap: 20px; margin-top: 14px; font-size: 14px; color: var(--sub); }
.hm-view__file { margin: 0; padding: 16px 8px; list-style: none; border-bottom: 1px solid var(--line); font-size: 14px; }
.hm-view__file a { text-decoration: underline; text-underline-offset: 3px; }
.hm-view__body { padding: 48px 8px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.85; color: #3a3632; }
.hm-view__body img { max-width: 100%; height: auto; margin: 24px 0; }
.hm-view__body h4 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.hm-view__body ul { padding-left: 20px; list-style: disc; }
.hm-view__body p + p { margin-top: 12px; }
.hm-view__nav p { display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hm-view__nav span { flex: none; width: 64px; color: var(--sub); }
.hm-view__nav em { font-style: normal; color: #b0aaa3; }
.hm-view__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm-answer { margin-top: 56px; }
.hm-answer__tit { padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 600; }
.hm-answer__tit b { color: var(--sale); }
.hm-answer__item { padding: 24px 8px; border-bottom: 1px solid var(--line); }
.hm-answer__meta { display: flex; gap: 14px; font-size: 14px; color: var(--sub); }
.hm-answer__meta b { color: var(--ink); }
.hm-answer__body { margin-top: 10px; font-size: 16px; line-height: 1.75; }
.hm-answer__empty { padding: 32px 0; color: var(--sub); text-align: center; }
.hm-answer__form { margin-top: 24px; }
.member-form--wide { max-width: 1040px; margin: 0 auto; }
#bo_w #wr_content { width: 100%; min-height: 280px; padding: 14px 16px; border: 1px solid #d8d3ce; font: inherit; font-size: 15px; line-height: 1.6; }

/* ===== 회사소개 ===== */
.co-intro, .co-rule { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.co-intro__tit { margin-bottom: 24px; font-size: 34px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
.co-intro__txt > p:not(.page-eyebrow) { font-size: 17px; line-height: 1.85; color: #4f4944; }
.co-intro__txt > p + p { margin-top: 16px; }
.co-intro__img, .co-rule__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.co-intro__img img, .co-rule__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.co-intro__img:hover img, .co-rule__img:hover img { transform: scale(1.04); }
.co-nums { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.co-nums li { padding: 36px 24px; border-bottom: 1px solid var(--line); }
.co-nums li + li { border-left: 1px solid var(--line); }
.co-nums strong { display: block; font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.co-nums small { margin-left: 2px; font-size: 20px; font-weight: 500; }
.co-nums span { display: block; margin-top: 14px; font-size: 15px; color: var(--sub); }
.co-rule { grid-template-columns: 5fr 7fr; }
.co-rule__img { aspect-ratio: 3 / 4; }
.co-rule__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.co-rule__list li { display: flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.co-rule__list b { flex: none; font-size: 15px; font-weight: 600; color: var(--sale); }
.co-rule__list strong { display: block; font-size: 19px; font-weight: 600; }
.co-rule__list p { margin-top: 8px; font-size: 16px; line-height: 1.75; color: #5f5751; }
.co-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.co-brands img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.co-brands strong { display: block; margin-top: 18px; font-size: 19px; font-weight: 600; }
.co-brands span { display: block; margin-top: 6px; font-size: 15px; color: var(--sub); }

/* ===== 매장 안내 ===== */
.st-list { margin: 0; padding: 0; list-style: none; }
.st-item { display: grid; grid-template-columns: 7fr 5fr; gap: 60px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.st-item:last-child { border-bottom: 1px solid var(--line); }
.st-item:nth-child(even) { grid-template-columns: 5fr 7fr; }
.st-item:nth-child(even) .st-item__img { order: 2; }
.st-item__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tile); }
.st-item__img img { width: 100%; height: 100%; object-fit: cover; }
.st-item__tag { font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--sub); }
.st-item__name { margin: 8px 0 22px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.st-item__info { margin: 0; border-top: 1px solid var(--ink); }
.st-item__info div { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.st-item__info dt { flex: none; width: 48px; color: var(--sub); }
.st-item__info dd { margin: 0; }
.st-item__txt { margin-top: 20px; font-size: 16px; line-height: 1.75; color: #5f5751; }
.st-map { min-height: 420px; overflow: hidden; background: var(--tile); }
.st-map__box { position: relative; height: 460px; overflow: hidden; }
.st-map__box iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); height: 100%; }  /* 열쇠 없는 카카오맵 페이지의 왼쪽 검색 패널을 잘라 냅니다 */
.st-map iframe { display: block; width: 100%; max-width: none; height: 460px; border: 0; }
.st-map__box > .loc-map-go { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 48px; margin: 20px; padding: 0 22px; background: var(--ink); color: #fff; font-size: 15px; }
.loc-map-foot { margin-top: 12px; text-align: right; font-size: 14px; }
.st-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.st-visit li { padding: 22px 24px; background: #fff; }
.st-visit strong { display: block; font-size: 16px; font-weight: 600; }
.st-visit span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.7; color: #5f5751; }

/* ===== 정책 (이용약관 · 개인정보처리방침 · 이메일무단수집거부) ===== */
.policy { font-size: 16px; line-height: 1.85; color: #4f4944; }
.policy__intro { padding: 22px 24px; background: var(--gray); }
.policy__badge { display: inline-block; margin-right: 8px; padding: 2px 10px; background: var(--badge); color: #fff; font-size: 13px; font-weight: 600; }
.policy__toc { margin: 28px 0 12px; padding: 22px 24px; border: 1px solid var(--line); }
.policy__toc-tit { margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.policy__toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin: 0; padding-left: 20px; }
.policy__toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.policy h3 { margin: 40px 0 10px; padding-top: 4px; font-size: 19px; font-weight: 600; color: var(--ink); scroll-margin-top: 120px; }
.policy ol, .policy ul { padding-left: 20px; }
.policy li + li { margin-top: 4px; }
.policy p + p { margin-top: 10px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy__law { margin-top: 12px; padding: 22px 24px; border-left: 2px solid var(--ink); background: var(--gray); }
.policy__law-tit { margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.policy__law-tit span { font-weight: 400; color: var(--sub); }
.policy__date { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }

/* ===== 매거진(갤러리 게시판) ===== */
.hm-mag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); padding-top: 40px; }
.hm-mag__item a { display: block; }
.hm-mag__img { display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--tile); }
.hm-mag__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hm-mag__item a:hover .hm-mag__img img { transform: scale(1.04); }
.hm-mag__cat { display: block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--sale); }
.hm-mag__tit { display: block; margin-top: 8px; font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -.03em; }
.hm-mag__cat + .hm-mag__tit { margin-top: 4px; }
.hm-mag__img + .hm-mag__tit { margin-top: 18px; }
.hm-mag__txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 15px; line-height: 1.7; color: #5f5751; }
.hm-mag__date { display: block; margin-top: 12px; font-size: 13px; color: var(--sub); }
.hm-mag .hm-board__empty { grid-column: 1 / -1; }
@media (max-width: 1024px) { .hm-mag { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .hm-mag { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; } }

/* ===== 기획전 · 이벤트 목록 (page/shop/plan.php) ===== */
.pl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.pl-head__tit { font-size: 34px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
.pl-head__txt { font-size: 16px; line-height: 1.8; color: #5f5751; }
.pl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 20px; margin: 0; padding: 0; list-style: none; }
.pl-item--lead { grid-column: 1 / -1; }
.pl-item a { display: block; }
.pl-item__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.pl-item--lead .pl-item__img { aspect-ratio: 21 / 8; }
.pl-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pl-item a:hover .pl-item__img img { transform: scale(1.04); }
.pl-item__body { display: block; padding-top: 18px; }
.pl-item__body small { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--sub); }
.pl-item__body strong { display: block; margin: 6px 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.pl-item--lead .pl-item__body strong { font-size: 30px; }
.pl-item__body > span { font-size: 14px; color: var(--sub); }
.pl-empty { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* ===== 브랜드관 (page/shop/brand.php) ===== */
.br-head { max-width: 880px; }
.br-head__tit { margin-bottom: 20px; font-size: 38px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
.br-head__txt { font-size: 17px; line-height: 1.85; color: #4f4944; }
.br-page { padding-top: 0; }
.br-list { margin: 0; padding: 0; list-style: none; }
.br-item { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.br-item:first-child { border-top-color: var(--ink); }
.br-item--rev { grid-template-columns: 5fr 7fr; }
.br-item--rev .br-item__img { order: 2; }
.br-item__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tile); }
.br-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.br-item:hover .br-item__img img { transform: scale(1.04); }
.br-item__no { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--sale); }
.br-item__name { margin: 10px 0 16px; font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.br-item__txt { font-size: 16px; line-height: 1.8; color: #5f5751; }
.br-item__facts { margin: 22px 0 28px; border-top: 1px solid var(--line); }
.br-item__facts div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.br-item__facts dt { flex: none; width: 80px; color: var(--sub); }
.br-item__facts dd { margin: 0; }

/* ===== 멤버십 (page/shop/membership.php) ===== */
.ms-table-wrap { overflow-x: auto; }
.ms-table { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 16px; }
.ms-table th, .ms-table td { padding: 22px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.ms-table thead th { background: var(--gray); font-size: 14px; font-weight: 500; color: #5f5751; }
.ms-table tbody th { font-size: 19px; font-weight: 600; }
.ms-table__top { background: var(--head); }
.ms-perks { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.ms-perks__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.ms-perks__img img { width: 100%; height: 100%; object-fit: cover; }
.ms-notes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ms-notes li { position: relative; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line); font-size: 16px; color: #4f4944; }
.ms-notes li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 5px; height: 5px; background: var(--ink); }

@media (max-width: 1024px) {
  .pl-head, .br-item, .br-item--rev, .ms-perks { grid-template-columns: 1fr; gap: 28px; }
  .br-item--rev .br-item__img { order: 0; }
  .pl-list { grid-template-columns: repeat(2, 1fr); }
  .pl-item--lead .pl-item__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .pl-head__tit, .br-head__tit { font-size: 26px; }
  .pl-list { grid-template-columns: 1fr; gap: 36px; }
  .pl-item--lead .pl-item__body strong { font-size: 24px; }
  .br-item { padding: 40px 0; }
  .br-item__name { font-size: 26px; }
  .ms-perks__img { aspect-ratio: 4 / 3; }
}

/* ===== 퀵메뉴 (배치 1 · 효과 3, 2026-12-01 뽑기) =====
   오른쪽 가운데에 이음 없이 붙은 흰 정사각 칸들입니다. 올리면 칸이 먹색으로 차고 아이콘 · 글자가 흰색이 됩니다.
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). 맨 위로는 원본 .hm-totop(흰 동그라미)을 따로 둡니다. */
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 80; transform: translate(12px, -50%); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.tpl-quick ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-right: 0; background: #fff; box-shadow: -6px 8px 24px rgba(60,40,20,.08); }
.tpl-quick li + li { border-top: 1px solid var(--line); }
.tpl-quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 76px; height: 76px; padding: 6px; color: var(--ink); font-size: 12px; line-height: 1.2; text-align: center; transition: background .3s, color .3s; }
.tpl-quick .tpl-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.tpl-quick a:hover, .tpl-quick a:focus-visible { background: var(--ink); color: #fff; outline-offset: -3px; }
.tpl-quick a:hover .tpl-quick__img, .tpl-quick a:focus-visible .tpl-quick__img { filter: invert(1); }
@media (max-width: 1599px) and (min-width: 769px) {
  .tpl-quick a { width: 56px; height: 56px; }
  .tpl-quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ===== 반응형 (더한 화면) ===== */
@media (max-width: 1280px) {
  .co-intro, .co-rule, .st-item, .st-item:nth-child(even) { gap: 48px; }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 360px; }
  .tpl-subvis .tpl-wrap { padding-left: calc(var(--gut) + 40px); }
  .tpl-snb .tpl-wrap { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .tpl-loc { padding: 14px var(--gut) 0; }
  .tpl-snb__tabs { overflow-x: auto; scrollbar-width: none; }
  .tpl-snb__tabs::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs ul { width: max-content; padding: 0 calc(var(--gut) - 18px); }
  .co-intro, .co-rule { grid-template-columns: 1fr; }
  .co-intro__img { aspect-ratio: 16 / 10; }
  .co-rule__img { aspect-ratio: 16 / 10; }
  .co-nums { grid-template-columns: 1fr 1fr; }
  .co-nums li:nth-child(3) { border-left: 0; }
  .st-item, .st-item:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .st-item:nth-child(even) .st-item__img { order: 0; }
  .hm-board__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 4px; }
  .hm-board__num { display: none; }
  .hm-board__row.is-notice .hm-board__num { display: block; text-align: left; }
}
@media (max-width: 768px) {
  .tpl-m-br { display: inline; }
  .tpl-subvis { height: 300px; }
  .tpl-subvis .tpl-wrap { padding: 0 var(--gut); }
  .tpl-subvis__desc { font-size: 15px; }
  .tpl-snb__tabs a { padding: 16px 14px; font-size: 15px; }
  .tpl-snb__tabs a::after { left: 14px; right: 14px; }
  .tpl-subcon > .hm-page:first-child, .tpl-subcon > .tpl-block:first-child, .tpl-subcon > .board-skin:first-child { padding-top: 48px; }
  .hm-page { padding: 60px 0; }
  .page-title { font-size: 24px; }
  .page-desc { font-size: 15px; }
  .co-intro__tit { font-size: 26px; }
  .co-nums strong { font-size: 34px; }
  .co-nums li { padding: 24px 16px; }
  .co-brands { grid-template-columns: 1fr; gap: 32px; }
  .st-item__name { font-size: 24px; }
  .st-visit { grid-template-columns: 1fr; }
  .st-map { min-height: 0; }
  .st-map iframe { height: 360px; }
  .st-map__box { height: 360px; }
  .policy { font-size: 15px; }
  .policy__toc ol { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .hm-board__top { flex-direction: column; align-items: stretch; }
  .hm-bsearch input.input { flex: 1; width: auto; min-width: 0; }
  .hm-bsearch select.input { width: 96px; }
  .hm-board__tit { font-size: 16px; }
  .hm-board__meta { flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
  .hm-faq__q { gap: 12px; padding: 20px 4px; font-size: 16px; }
  .hm-faq__in { gap: 12px; margin: 0 0 20px; padding: 18px; font-size: 15px; }
  .hm-view__tit { font-size: 22px; }
  .hm-view__body { padding: 32px 4px; font-size: 16px; }
  .member-btns .hm-btn { flex: 1; padding: 0 14px; }
  .tpl-quick { top: auto; bottom: 70px; right: 14px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick ul { border-right: 1px solid var(--line); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
  .tpl-quick a { width: 44px; height: 44px; padding: 0; }
  .tpl-quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (hover: none) {
  .tpl-quick a:hover { background: none; color: var(--ink); }
}

/* ===== 영카트 상품 카드(메인) : 장바구니 담기 · 옵션 상자 · 품절 · 빈 안내 · 부제목(콘솔 「메인 구성」) ===== */
.hm-card.sct_li { position: relative; }
.hm-card__cart { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; overflow: hidden; pointer-events: none; }
.hm-card__cart .btn_cart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; padding: 14px 0; border: 0; background: rgba(29, 27, 25, .88); color: #fff; font-size: 14px; font-weight: 500; pointer-events: auto; cursor: pointer; transform: translateY(100%); transition: transform .35s var(--ease); }
.hm-card:hover .hm-card__cart .btn_cart, .hm-card__cart .btn_cart:focus-visible { transform: none; }
@media (hover: none) { .hm-card__cart .btn_cart { transform: none; padding: 10px 0; font-size: 13px; } }
.hm-card .cart-layer { position: absolute; left: 0; right: 0; top: 0; z-index: 4; }
.hm-card .sct_cartop { padding: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.hm-card .sct_cartop .cartop_btns { display: flex; }
.hm-card .sct_cartop button { flex: 1; height: 40px; border: 0; background: var(--ink); color: #fff; }
.hm-card .sct_cartop .cartopt_close_btn { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.hm-card .sct_cartop select { width: 100%; height: 38px; margin-bottom: 6px; border: 1px solid #d8d3ce; }
.hm-soldout { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(255, 255, 255, .6); color: var(--ink); font-size: 13px; letter-spacing: .12em; }
.hm-empty { padding: 48px 20px; text-align: center; color: var(--sub); }
.hm-sec__sub { margin: 0; font-size: 15px; color: var(--sub); text-align: center; }

/* ===== 목록 「장바구니 담기」 옵션 창(js/main.js) ===== */
body.aw-opt-open { overflow: hidden; }
#aw-opt { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 16px; }
#aw-opt .aw-opt__back { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); }
#aw-opt .aw-opt__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px 24px 24px; background: #fff; border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
#aw-opt .aw-opt__label { margin: 0 0 6px; font-size: 13px; color: #777; }
#aw-opt .aw-opt__title { margin: 0 36px 20px 0; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); }
#aw-opt .aw-opt__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: #555; cursor: pointer; }
#aw-opt .sct_cartop_wr { position: static; width: auto; height: auto; padding: 0; background: none; opacity: 1; }
#aw-opt .aw-opt__row { margin-bottom: 14px; }
#aw-opt .aw-opt__row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
#aw-opt select.it_option { display: block; width: 100%; height: 46px; margin: 0; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 4px; background-color: #fff; font-size: 15px; }
#aw-opt select.it_option:disabled { background-color: var(--gray); color: #999; }
#aw-opt .aw-opt__btns { display: flex; gap: 8px; margin-top: 20px; }
#aw-opt .aw-opt__btns button { flex: 1; width: auto; height: 50px; margin: 0; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; }
#aw-opt .cartopt_cart_btn { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
#aw-opt .cartopt_close_btn { border: 1px solid #d6d6d6; background: #fff; color: var(--ink); }

/* 올웹 로고에는 테두리(stroke)를 넣지 않습니다. 아이콘용 stroke 규칙이 로고까지 번져 검정 · 흰 테두리가 생겼습니다(대표 지시 2026-12-03) */
use[href="#allweb-logo"], symbol#allweb-logo, symbol#allweb-logo * { stroke: none !important; }
