@charset "utf-8";

html, body { margin: 0; background: var(--hr-bg); }

/* 100vw 로 좌우를 채우는 밴드가 있다. clip 은 스크롤 컨테이너를 만들지 않아 sticky 를 깨지 않는다 */
.hr-layout { display: flex; flex-direction: column; min-height: 100vh; background: var(--hr-bg); overflow-x: clip; }

.hr-utilrow-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 18px; }

.hr-logo { font-size: 30px; font-weight: 900; letter-spacing: -.035em; color: var(--hr-ink); }
.hr-logo img { display: block; height: 40px; width: auto; }
.hr-logo .hr-logo-dark { display: none; }
[data-theme="dark"] .hr-logo .hr-logo-dark { display: block; }
[data-theme="dark"] .hr-logo .hr-logo-light:not(:only-child) { display: none; }

.hr-utils { display: flex; align-items: center; gap: 6px; }
.hr-utils a.hr-util-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 32px;
	padding: 0 10px;
	border-radius: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--hr-ink-sub);
	white-space: nowrap;
	transition: color .14s, background-color .14s;
}
.hr-utils a.hr-util-link:hover,
.hr-utils a.hr-util-link:focus-visible { color: var(--hr-brand); background: var(--hr-brand-soft); }
.hr-utils a.hr-util-admin { color: var(--hr-brand); }
.hr-util-admin svg { width: 14px; height: 14px; fill: currentColor; }

.hr-search { position: relative; }
.hr-search input[type="search"] {
	width: 168px;
	padding: 8px 34px 8px 13px;
	border-radius: 0;
	background: var(--hr-surface);
	font-size: 13px;
}
.hr-search input[type="search"]:focus { background: var(--hr-bg); }
.hr-search button {
	position: absolute;
	right: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--hr-muted);
	cursor: pointer;
}
.hr-search button svg { width: 17px; height: 17px; fill: currentColor; }
.hr-search button:hover { color: var(--hr-brand); }

/* 언어 전환 */
.hr-lang { position: relative; }
.hr-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 32px;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--hr-ink-sub);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: color .14s, background-color .14s;
}
.hr-lang-btn svg { width: 15px; height: 15px; fill: currentColor; }
.hr-lang-btn:hover, .hr-lang-btn:focus-visible { color: var(--hr-brand); background: var(--hr-brand-soft); }
.hr-lang-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 60;
	min-width: 132px;
	margin: 0;
	padding: 5px;
	list-style: none;
	border: 1px solid var(--hr-line);
	border-radius: 0;
	background: var(--hr-bg);
	box-shadow: 0 14px 32px -16px rgba(16, 24, 40, .4);
}
.hr-lang-list a {
	display: block;
	padding: 7px 10px;
	border-radius: 0;
	font-size: 13px;
	color: var(--hr-ink-sub);
	white-space: nowrap;
}
.hr-lang-list a:hover { background: var(--hr-bg-soft); color: var(--hr-ink); }
.hr-lang-list a.is-on { color: var(--hr-brand); font-weight: 700; }

.hr-theme {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--hr-ink-sub);
	cursor: pointer;
	transition: color .14s, background-color .14s;
}
.hr-theme svg { width: 16px; height: 16px; fill: currentColor; }
.hr-theme:hover, .hr-theme:focus-visible { color: var(--hr-brand); background: var(--hr-brand-soft); }
.hr-ico-moon { display: none; }
[data-theme="dark"] .hr-ico-sun { display: none; }
[data-theme="dark"] .hr-ico-moon { display: inline; }


.hr-layout { --hr-nav-bg: #17191f; --hr-nav-fg-on: #fff; }
.hr-layout { --hr-brand-light: color-mix(in srgb, var(--hr-brand) 70%, #fff); }
[data-theme="dark"] .hr-layout { --hr-nav-bg: #0f1116; }
.hr-layout.n-point { --hr-nav-bg: var(--hr-brand); }
.hr-layout.n-light { --hr-nav-bg: var(--hr-surface); --hr-nav-fg-on: var(--hr-ink); }

.hr-navbar { --hr-nav-bg: #17191f; --hr-nav-fg: rgba(255, 255, 255, .82); --hr-nav-fg-on: #fff; --hr-nav-line: rgba(255, 255, 255, .1); --hr-nav-hover: rgba(255, 255, 255, .07); --hr-nav-deep: #1e222b; }
[data-theme="dark"] .hr-navbar { --hr-nav-bg: #1e2432; --hr-nav-deep: #262d3e; --hr-nav-hover: rgba(255, 255, 255, .06); }
[data-theme="dark"] .hr-navbar.is-boxed .hr-gnb { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
[data-theme="dark"] .hr-layout { --hr-nav-bg: #1e2432; }

.hr-navbar.c-point { --hr-nav-bg: var(--hr-brand); --hr-nav-fg: rgba(255, 255, 255, .88); --hr-nav-line: rgba(255, 255, 255, .22); --hr-nav-hover: rgba(0, 0, 0, .12); --hr-nav-deep: rgba(0, 0, 0, .16); }
.hr-navbar.c-light {
	--hr-nav-bg: var(--hr-surface);
	--hr-nav-fg: var(--hr-ink-sub);
	--hr-nav-fg-on: var(--hr-ink);
	--hr-nav-line: var(--hr-line);
	--hr-nav-hover: rgba(0, 0, 0, .04);
	--hr-nav-deep: var(--hr-bg);
}

.hr-gnb { position: relative; }
.hr-navbar.is-full { background: var(--hr-nav-bg); }
.hr-navbar.is-boxed { background: transparent; }

.hr-navbar.is-boxed .hr-gnb { background: var(--hr-nav-bg); padding-left: 0; padding-right: 0; border-radius: 0; }
.hr-navbar.is-boxed .hr-gnb-list > li:first-child .hr-gnb-top { border-radius: 0; }
.hr-navbar.is-open.is-boxed .hr-gnb { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hr-navbar.is-open.is-boxed .hr-gnb-list > li:first-child .hr-gnb-top { border-bottom-left-radius: 0; }
.hr-navbar.is-boxed .hr-gnb::after { border-radius: 0; }
.hr-navbar.is-full::after { border-radius: 0; }

.hr-gnb-list { display: flex; }
.hr-gnb-list > li { position: relative; }
.hr-gnb-list > li + li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 1px;
	background: var(--hr-nav-line);
}
.hr-gnb a.hr-gnb-top {
	display: block;
	padding: 0 26px;
	line-height: 50px;
	font-size: 15px;
	font-weight: 700;
	color: var(--hr-nav-fg);
	white-space: nowrap;
	transition: background .14s, color .14s;
}
.hr-gnb-top:hover { background: var(--hr-nav-hover); color: var(--hr-nav-fg-on); }
.hr-gnb-list > li.is-on .hr-gnb-top { background: var(--hr-nav-hover); color: var(--hr-nav-fg-on); box-shadow: inset 0 3px 0 var(--hr-brand); }
.hr-navbar.c-point .hr-gnb-list > li.is-on .hr-gnb-top { box-shadow: inset 0 3px 0 #fff; }

.hr-navbar { position: relative; z-index: 40; }
.hr-gnb-list > li { position: relative; }
.hr-gnb-sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 2;
	overflow: hidden;
	max-height: 0;
	padding: 0 26px;
	opacity: 0;
	transition: max-height .2s ease, padding .2s ease, opacity .16s ease;
}
.hr-gnb-list > li + li .hr-gnb-sub { border-left: 1px solid var(--hr-nav-line); }
.hr-navbar.is-open .hr-gnb-sub { max-height: 420px; padding: 16px 26px 20px; opacity: 1; }

.hr-navbar.is-full::after,
.hr-navbar.is-boxed .hr-gnb::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1;
	height: 0;
	background: var(--hr-nav-deep);
	transition: height .2s ease;
}
.hr-navbar.is-open.is-full::after,
.hr-navbar.is-open.is-boxed .hr-gnb::after { height: var(--hr-panel-h, 0px); }
.hr-gnb-sub a {
	display: block;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--hr-nav-fg);
	opacity: .85;
	white-space: nowrap;
}
.hr-gnb-sub a:hover { color: var(--hr-nav-fg-on); opacity: 1; }

.hr-gnb .hr-gnb-sub2,
.hr ul.hr-gnb-sub2 {
	margin: 1px 0 5px;
	padding: 0 0 0 10px;
}
.hr-gnb .hr-gnb-sub2 a { padding: 3px 0; font-size: 12px; opacity: .6; }
.hr-gnb .hr-gnb-sub2 a::before { content: "- "; }
.hr-gnb .hr-gnb-sub2 a:hover { opacity: 1; }

.hr-burger { display: none; width: 38px; height: 38px; padding: 0; border: 0; background: none; cursor: pointer; }
.hr-burger span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 0; background: var(--hr-ink); transition: transform .18s, opacity .18s; }
.hr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hr-mobile-dim { position: fixed; inset: 0; z-index: 190; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .22s ease; }
.hr-mobile-dim.is-open { opacity: 1; }
/* 서랍은 내비 색상 옵션(n-light 등)과 무관하게 항상 다크 톤으로 고정한다.
 * 옵션 조합에 따라 배경과 글자색 변수가 어긋나 문구가 안 보이는 조합이 생기기 때문이다 */
/* 메뉴가 늘어나도 아래 도구 줄은 자리를 지킨다. 가운데 목록만 굴린다 */
/* 서랍 — 밝은 톤 (테마 토큰을 그대로 물려받는다) */
.hr-mobile { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(320px, 85vw); --hr-nav-bg: var(--hr-bg); --hr-nav-fg-on: var(--hr-ink); background: var(--hr-nav-bg); color: var(--hr-nav-fg-on); display: flex; flex-direction: column; overscroll-behavior: contain; transform: translateX(100%); transition: transform .24s ease; box-shadow: -8px 0 32px rgba(0, 0, 0, .18); }
.hr-mobile[hidden] { display: none; }
.hr-mobile .hr-mobile-head, .hr-mobile .hr-mobile-account, .hr-mobile .hr-mobile-tools { flex: none; }
.hr-mobile .hr-mobile-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.hr-mobile.is-open { transform: translateX(0); }
.hr-mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hr-line-soft); }
.hr-mobile-title { font-size: 15px; font-weight: 800; color: var(--hr-nav-fg-on); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-mobile-close { flex: none; width: 34px; height: 34px; border: 0; background: none; color: var(--hr-muted); cursor: pointer; }
.hr-mobile-close svg { width: 18px; height: 18px; fill: currentColor; }
.hr-mobile-close:hover { color: var(--hr-ink); }
body.hr-mobile-on { overflow: hidden; }
.hr-mobile-account { display: flex; gap: 8px; padding: 12px 16px; }
.hr-mobile-account-btn { flex: 1; padding: 10px 8px; border: 1px solid var(--hr-line); border-radius: 0; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--hr-nav-fg-on); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-mobile-account-btn.is-primary { background: var(--hr-brand); border-color: var(--hr-brand); color: #fff; }
.hr-mobile-list > li { position: relative; border-top: 1px solid var(--hr-line-soft); }
.hr-mobile-list > li > a { display: block; padding: 15px clamp(16px, 4vw, 32px); font-size: 15.5px; font-weight: 700; color: var(--hr-nav-fg-on); }
.hr-mobile-list > li.is-on > a { color: var(--hr-brand); }
.hr-mobile-toggle { position: absolute; top: 5px; right: 8px; width: 42px; height: 42px; border: 0; background: none; color: var(--hr-muted); cursor: pointer; }
.hr-mobile-toggle svg { width: 22px; height: 22px; fill: currentColor; transition: transform .16s; }
.hr-mobile-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.hr-mobile-sub { padding: 4px 0 12px; background: var(--hr-surface); }
.hr-mobile-sub a { display: block; padding: 10px clamp(28px, 6vw, 46px); font-size: 14px; color: var(--hr-ink-sub); }
.hr-mobile-sub a.is-on { color: var(--hr-brand); font-weight: 700; }

.hr-mobile-tools { padding: 14px clamp(16px, 4vw, 32px) 24px; border-top: 1px solid var(--hr-line-soft); }
.hr-mobile-tool {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 11px 0;
	border: 0;
	background: none;
	color: var(--hr-ink-sub);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.hr-mobile-tool:hover { color: var(--hr-ink); }
.hr-mobile-tool svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.hr-mobile-lang select {
	flex: 1;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid var(--hr-line);
	border-radius: 0;
	background: var(--hr-surface);
	color: var(--hr-nav-fg-on);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.hr-mobile-lang select option { background: var(--hr-nav-bg); color: var(--hr-nav-fg-on); }
.hr-mobile-sub2 { margin: 0; padding: 0 0 6px; list-style: none; }
.hr-mobile-sub2 a { padding: 7px clamp(38px, 8vw, 60px); font-size: 13px; color: var(--hr-muted); }

/* 모바일 하단 탭바 — 네이버쇼핑식 5탭 */
.ss-tabbar { display: none; }
@media (max-width: 860px) {
	.hr-layout { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
	.ss-tabbar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 180;
		display: flex;
		align-items: stretch;
		height: calc(58px + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--hr-bg);
		border-top: 1px solid var(--hr-line);
		box-shadow: 0 -6px 20px rgba(20, 28, 23, .06);
	}
	.ss-tabbar-badge {
		position: absolute;
		top: 6px;
		left: 50%;
		margin-left: 4px;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		background: var(--hr-brand);
		color: #fff;
		font-size: 10px;
		font-weight: 800;
		font-style: normal;
		line-height: 16px;
		text-align: center;
	}
	.ss-tabbar > a,
	.ss-tabbar > button {
		position: relative;
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		border: 0;
		background: none;
		color: var(--hr-ink-sub);
		font-family: inherit;
		font-size: 10.5px;
		font-weight: 600;
		cursor: pointer;
		text-decoration: none;
	}
	.ss-tabbar svg { width: 22px; height: 22px; fill: currentColor; }
	.ss-tabbar > a:active, .ss-tabbar > button:active,
	.ss-tabbar > a:hover, .ss-tabbar > button:hover { color: var(--hr-brand); }
}
.hr-mobile-sub2 a::before { content: "- "; }

/* 히어로 — 화면 좌우를 가득 채운다. 문구는 본문 폭 안쪽 아래에 두고,
   컨트롤은 같은 줄 오른쪽에 숫자 카운터와 진행 막대로 둔다 */
.hr-visual { position: relative; overflow: hidden; background: var(--hr-surface); }
.hr-visual-track { position: relative; height: clamp(420px, 46vw, 640px); }
.hr-visual-item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
}
.hr-visual-item.is-on { opacity: 1; visibility: visible; }
.hr-visual-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(23, 18, 20, .42) 0%, rgba(23, 18, 20, .12) 46%, rgba(23, 18, 20, 0) 70%);
}
.hr-visual-copy {
	position: relative;
	width: 100%;
	color: #fff;
	text-align: left;
	padding-bottom: clamp(84px, 9vw, 124px);
	padding-right: 170px;
}
.hr-visual-no {
	display: block;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: .22em;
}
.hr-visual-no::after { content: ""; display: block; width: 34px; height: 1px; margin-top: 10px; background: currentColor; }
.hr-visual-item.align-center .hr-visual-copy { text-align: center; padding-left: 170px; }
.hr-visual-item.align-center .hr-visual-copy p { margin-left: auto; margin-right: auto; }
.hr-visual-item.align-right .hr-visual-copy { text-align: right; }
.hr-visual-item.align-right .hr-visual-copy p { margin-left: auto; }
.hr-visual-copy h2 { font-size: clamp(30px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.02em; line-height: 1.16; }
.hr-visual-copy p { margin: 16px 0 0; max-width: 480px; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.7; color: rgba(255, 255, 255, .9); }
/* 채운 알약 버튼 대신 밑줄 링크. 큰 사진 위에 상자를 하나 더 얹지 않는다 */
.hr-visual-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 26px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, .7);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	transition: gap .16s, border-color .16s;
}
.hr-visual-link:hover { gap: 15px; border-bottom-color: #fff; }
.hr-visual-link svg { width: 17px; height: 17px; fill: currentColor; }

/* 컨트롤: 본문 폭에 맞춘 한 줄. 왼쪽 카운터, 오른쪽 화살표 */
.hr-visual-ctrl { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 48px); z-index: 2; }
.hr-visual-ctrl-inner { display: flex; align-items: center; gap: 20px; }
.hr-visual-count { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hr-visual-count strong { color: #fff; font-weight: 700; }
.hr-visual-bar { position: relative; display: block; width: clamp(70px, 10vw, 130px); height: 1px; background: rgba(255, 255, 255, .35); }
.hr-visual-bar i { position: absolute; left: 0; top: 0; height: 100%; width: 33%; background: #fff; transition: width .4s ease; }
.hr-visual-arrows { display: flex; gap: 0; margin-left: auto; }
.hr-visual-nav {
	position: static;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background .16s, border-color .16s, color .16s;
}
.hr-visual-nav + .hr-visual-nav { border-left: 0; }
.hr-visual-nav:hover { background: #fff; border-color: #fff; color: var(--hr-ink); }
.hr-visual-nav svg { width: 18px; height: 18px; fill: currentColor; }

/* 점은 모바일에서만 쓴다. 데스크탑은 카운터와 화살표로 충분하다 */
.hr-visual-dots { display: none; }
@media (max-width: 700px) {
	.hr-visual-track { height: clamp(380px, 92vw, 520px); }
	.hr-visual-copy { padding-right: 0; }
	.hr-visual-item.align-center .hr-visual-copy { padding-left: 16px; }
	.hr-visual-arrows { display: none; }
	.hr-visual-dots { display: flex; align-items: center; gap: 7px; margin-left: auto; }
	.hr-visual-dots button { width: 22px; height: 2px; padding: 0; border: 0; border-radius: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .18s; }
	.hr-visual-dots button.is-on { background: #fff; }
}

.hr-body { flex: 1 0 auto; padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 72px); }
.hr-body.has-lnb .hr-body-inner { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; }

.hr-lnb-title { margin: 0; }
.hr-lnb-title, .hr-lnb > .hr-lnb-title {
	line-height: 44px;
	padding: 0 16px;
	background: var(--hr-nav-bg);
	color: var(--hr-nav-fg-on);
	font-size: 15px;
	font-weight: 700;
}
.hr-lnb-title { border-radius: 0; }
.hr-lnb-list { border: 1px solid var(--hr-line); border-top: 0; border-radius: 0; overflow: hidden; }
.hr-lnb-list > li + li { border-top: 1px solid var(--hr-line-soft); }
.hr-lnb-list > li > a { display: block; line-height: 42px; padding: 0 16px; font-size: 14.5px; font-weight: 600; color: var(--hr-ink-sub); }
.hr-lnb-list > li > a:hover { background: var(--hr-surface); color: var(--hr-brand); }
.hr-lnb-list > li.is-on > a { background: var(--hr-surface); color: var(--hr-brand); }
.hr-lnb-sub { padding: 8px 0; border-top: 1px solid var(--hr-line-soft); background: var(--hr-surface); }
.hr-lnb-sub a { display: block; padding: 5px 16px 5px 26px; font-size: 13.5px; color: var(--hr-muted); }
.hr-lnb-sub li.is-on a, .hr-lnb-sub a:hover { color: var(--hr-brand); }

.hr-side-login { margin-top: 20px; padding: 16px; border: 1px solid var(--hr-line); border-radius: 0; background: var(--hr-surface); }
.hr-side-me { margin: 0 0 10px; font-size: 13.5px; color: var(--hr-ink-sub); line-height: 1.55; }
.hr-side-links { display: flex; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--hr-muted); }
.hr-side-links a:hover { color: var(--hr-brand); }

.hr-content { min-width: 0; padding-bottom: 10px; }

.hr-footer { flex: none; padding: 26px 0 60px; border-top: 1px solid var(--hr-line-soft); background: var(--hr-surface); color: var(--hr-muted); font-size: 13px; }
.hr-footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.hr-footer-brand { font-size: 15px; font-weight: 800; color: var(--hr-ink-sub); letter-spacing: -.02em; }
.hr-footer-about { margin: 8px 0 0; max-width: 460px; line-height: 1.6; }
.hr-footer-menu { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hr-footer-menu a { font-weight: 600; color: var(--hr-ink-sub); }
.hr-footer-menu a:hover { color: var(--hr-brand); text-decoration: underline; }
.hr-footer-info { display: flex; flex-wrap: wrap; gap: 3px 14px; margin: 18px 0 0; font-size: 12.5px; }
.hr-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hr-line); font-size: 12px; }
.hr-footer-bottom a:hover { color: var(--hr-brand); text-decoration: underline; }
.hr-top-btn { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.hr-top-btn svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 1024px) {
	.hr-gnb-top { padding: 0 18px; }
	.hr-body.has-lnb .hr-body-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 860px) {
	.hr-utilrow-inner { padding-top: 14px; padding-bottom: 14px; }
	.hr-logo { font-size: 22px; }
	.hr-logo img { height: 32px; }
	.hr-navbar, .hr-search, .hr-util-link { display: none; }
	.hr-burger { display: block; }

	/* 좁은 화면에서는 알림과 햄버거만 남긴다. 나머지는 서랍 아래 도구 줄에 있다 */
	.hr-utilrow-inner { gap: 12px; }
	.hr-logo { min-width: 0; }
	.hr-utils { gap: 8px; }
	.hr-utils a.hr-util-admin, .hr-lang, .hr-theme { display: none; }

	.hr-body.has-lnb .hr-body-inner { display: block; }
	.hr-lnb { margin-bottom: 22px; }
	.hr-lnb-title { display: none; }
	.hr-lnb-list { display: flex; gap: 6px; margin-top: 8px; padding-bottom: 4px; border: 0; overflow-x: auto; scrollbar-width: none; }
	.hr-lnb-list::-webkit-scrollbar { display: none; }
	.hr-lnb-list > li + li { border-top: 0; }
	.hr-lnb-list > li > a { line-height: 34px; padding: 0 14px; white-space: nowrap; border: 1px solid var(--hr-line); border-radius: 0; }
	.hr-lnb-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hr-visual-item, .hr-gnb-sub { transition: none; }
}

/* 배경 이미지를 넣지 않은 슬라이드의 바탕 */
.hr-visual-item {
	background:
		radial-gradient(120% 150% at 82% 10%, rgba(196, 39, 95, .55), transparent 58%),
		radial-gradient(140% 140% at 6% 95%, rgba(143, 123, 176, .45), transparent 60%),
		linear-gradient(135deg, #3a2029 0%, #2a171e 60%, #1d1015 100%);
	background-size: cover;
	background-position: center;
}

/* ── 알림센터 헤더 벨 ── */
.hr-nc { position: relative; display: flex; align-items: center; }
.hr-nc-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 0; background: transparent; color: var(--hr-ink-sub); cursor: pointer; transition: background .13s, color .13s; }
.hr-nc-btn svg { width: 19px; height: 19px; fill: currentColor; }
.hr-nc-btn:hover { background: var(--hr-brand-soft); color: var(--hr-brand); }
.hr-nc-badge { position: absolute; top: 0; right: -1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 0; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; font-style: normal; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--hr-bg, #fff); }
.hr-nc-panel { position: absolute; top: calc(100% + 10px); right: -6px; width: 330px; border-radius: 0; background: var(--hr-surface, #fff); border: 1px solid var(--hr-line); box-shadow: 0 24px 60px -18px rgba(17, 22, 30, .25); overflow: hidden; z-index: 1200; }
.hr-nc-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px 9px; }
.hr-nc-head strong { font-size: 14.5px; font-weight: 800; }
.hr-nc-readall { border: 0; background: transparent; color: var(--hr-brand); font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 4px 6px; border-radius: 0; }
.hr-nc-readall:hover { background: var(--hr-brand-soft); }
.hr-nc-list { list-style: none; margin: 0; padding: 0 8px; max-height: 340px; overflow-y: auto; }
.hr-nc-list li { margin: 2px 0; }
.hr-nc-list a { display: block; padding: 10px 12px; border-radius: 0; text-decoration: none; }
.hr-nc-list a:hover { background: var(--hr-brand-soft); }
.hr-nc-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--hr-ink); }
.hr-nc-ago { display: block; margin-top: 3px; font-size: 11.5px; color: var(--hr-muted); }
.hr-nc-empty { padding: 26px 0 30px; text-align: center; color: var(--hr-muted); font-size: 13.5px; }
.hr-nc-all { display: block; padding: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--hr-brand); text-decoration: none; border-top: 1px solid var(--hr-line); }
.hr-nc-all:hover { background: var(--hr-brand-soft); }

@media (max-width: 900px) {
	.hr-nc-panel { position: fixed; top: 60px; left: 12px; right: 12px; width: auto; }
}

/* 모바일 다크모드·언어 위치 옵션 (mtp-/mlp- 클래스) */
@media (max-width: 860px) {
	.mtp-header .hr-theme { display: inline-flex; }
	.mlp-header .hr-lang { display: block; }
	/* 빵메뉴는 우측 끝에 선다 */
	.hr-burger { order: 99; margin-left: auto; }
	.mtp-footer .hr-foot-tools, .mlp-footer .hr-foot-tools { display: flex; }
}
/* 푸터 다크모드·언어 컨트롤: 모바일 + '푸터' 옵션에서만 보인다 */
.hr-foot-tools { display: none; align-items: center; gap: 10px; }
.hr-foot-theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--hr-line);
	background: none;
	color: var(--hr-muted);
	cursor: pointer;
	border-radius: 0;
}
.hr-foot-theme svg { width: 16px; height: 16px; fill: currentColor; }
.hr-foot-theme:hover { color: var(--hr-brand); border-color: var(--hr-brand); }
.hr-foot-lang {
	height: 34px;
	padding: 0 8px;
	border: 1px solid var(--hr-line);
	background: transparent;
	color: var(--hr-muted);
	font-family: inherit;
	font-size: 12.5px;
	cursor: pointer;
	border-radius: 0;
}

.hr-logo { flex: none; }
.hr-utils { min-width: 0; }
.hr-util-link { max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hr-utilrow-inner { gap: 28px; }
.hr-search-main { flex: 1 1 auto; max-width: 520px; margin: 0 auto; }
.hr-search-main input[type="search"] {
	width: 100%;
	padding: 12px 44px 12px 18px;
	border: 2px solid var(--hr-brand);
	border-radius: 0;
	background: var(--hr-bg);
	font-size: 14.5px;
}
.hr-search-main input[type="search"]::placeholder { color: var(--hr-muted); }
.hr-search-main input[type="search"]:focus { background: var(--hr-bg); box-shadow: 0 0 0 4px var(--hr-brand-soft); }
.hr-search-main button { right: 8px; color: var(--hr-brand); }
.hr-search-main button svg { width: 20px; height: 20px; }
@media (max-width: 1080px) {
	.hr-search-main { max-width: 340px; }
}
@media (max-width: 860px) {
	.hr-utilrow-inner { gap: 12px; }
	.hr-search-main { display: none; }
}

/* ============ 고운결: 쇼핑몰 헤더 ============ */
.ss-head { border-bottom: 0; background: var(--hr-bg); }
.ss-head .hr-inner { max-width: var(--hr-w); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.ss-topbar { border-bottom: 1px solid var(--hr-line-soft); background: var(--hr-surface); }
.ss-topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 16px; height: 34px; }
.ss-topbar-inner > a { font-size: 12px; color: var(--hr-muted); }
.ss-topbar-inner > a:hover { color: var(--hr-brand); }
.ss-topbar-theme { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: var(--hr-muted); cursor: pointer; }
.ss-topbar-theme svg { width: 15px; height: 15px; fill: currentColor; }
.ss-topbar-theme:hover { color: var(--hr-brand); }
.ss-topbar .hr-lang-btn { padding: 0; border: 0; background: none; color: var(--hr-muted); font-size: 12px; }

/* 워드마크를 가운데 두고 검색은 왼쪽, 계정·장바구니는 오른쪽에 둔다.
   마크업 순서(로고·검색·아이콘)는 그대로 두고 order 로만 자리를 바꾼다 */
.ss-mainrow-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 30px;
	padding-bottom: 26px;
}
.ss-mainrow-inner .ss-logo { order: 2; justify-self: center; }
.ss-mainrow-inner .ss-search { order: 1; justify-self: start; }
.ss-mainrow-inner .ss-icons { order: 3; justify-self: end; margin-left: 0; }
/* 뷰티 편집숍 워드마크: 자간을 벌린 대문자, 포인트색이 아니라 잉크색으로 둔다 */
.ss-logo { flex: none; font-size: 23px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--hr-ink); }
.ss-logo img { display: block; height: 38px; width: auto; }
.ss-logo .hr-logo-dark { display: none; }
[data-theme="dark"] .ss-logo .hr-logo-dark { display: block; }
[data-theme="dark"] .ss-logo .hr-logo-light:not(:only-child) { display: none; }

.ss-search { position: relative; flex: 1 1 auto; max-width: 480px; margin: 0 auto; }
/* 알약형 대신 밑줄 한 줄. 화면에서 선을 줄이고 상품 사진에 시선을 남긴다 */
.ss-search input[type="search"] {
	width: 100%;
	height: 42px;
	padding: 0 40px 0 2px;
	border: 0;
	border-bottom: 1px solid var(--hr-ink);
	border-radius: 0;
	background: transparent;
	color: var(--hr-ink);
	font-size: 15px;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}
.ss-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.ss-search input[type="search"]::placeholder { color: var(--hr-muted); letter-spacing: .01em; }
.ss-search input[type="search"]:focus { outline: 0; border-bottom-color: var(--hr-brand); }
.ss-search button {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 34px; height: 34px;
	border: 0; border-radius: 0; background: none; color: var(--hr-ink); cursor: pointer;
}
.ss-search button:hover { color: var(--hr-brand); }
.ss-search button svg { width: 21px; height: 21px; fill: currentColor; }
/* 검색 토글과 닫기 버튼은 좁은 화면 전용이다 */
/* 아래 .ss-icon 과 위 .ss-search button 이 display 를 각각 잡으므로 선택자를 그보다 무겁게 둔다 */
.ss-icons .ss-search-btn { display: none; }
.ss-search button.ss-search-close { display: none; }

.ss-icons { flex: none; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ss-icon {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
	width: 62px; padding: 6px 0; border: 0; background: none; color: var(--hr-ink-sub); cursor: pointer;
}
.ss-icon svg { width: 24px; height: 24px; fill: currentColor; }
.ss-icon-label { font-size: 11px; font-weight: 600; letter-spacing: -.02em; }
.ss-icon:hover { color: var(--hr-brand); }
.ss-icon .hr-nc-badge { top: 0; right: 12px; }
/* 장바구니 담긴 수 — 아이콘 오른쪽 위 */
.ss-icon-badge {
	position: absolute;
	top: 0;
	right: 8px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	background: var(--hr-brand);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	font-style: normal;
	line-height: 17px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--hr-bg);
}
/* 알림 벨도 다른 헤더 아이콘과 같은 세로(아이콘+라벨) 형태로 통일 */
.ss-icon.hr-nc { flex-direction: column; }
.ss-icon .hr-nc-btn {
	width: auto;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font: inherit;
}
.ss-icon .hr-nc-btn:hover { background: none; color: var(--hr-brand); }
.ss-icon .hr-nc-btn svg { width: 24px; height: 24px; }
.ss-icon .hr-nc-btn .hr-nc-badge { top: -2px; right: calc(50% - 20px); }
/* 알림 버튼도 옆의 마이페이지·장바구니와 같은 세로 아이콘 규격으로. 벨 규격(34px 가로형)이 그대로 오면 아이콘이 뭉개진다 */
.ss-icon .hr-nc-btn { width: 100%; height: auto; flex-direction: column; gap: 3px; padding: 0; border-radius: 0; color: inherit; background: none; }
.ss-icon .hr-nc-btn:hover { background: none; color: var(--hr-brand); }
.ss-icon .hr-nc-btn svg { width: 24px; height: 24px; }
.ss-burger { display: none; }

.ss-catbar { border-top: 1px solid var(--hr-ink); border-bottom: 1px solid var(--hr-line); background: var(--hr-bg); }
/* 카테고리 줄도 가운데로 모은다 */
.ss-catbar-inner { display: flex; align-items: stretch; justify-content: center; gap: clamp(18px, 3vw, 38px); height: 54px; }
.ss-catbar-inner .ss-gnb { flex: 0 1 auto; }
.ss-catbar-inner .ss-gnb > ul { justify-content: center; gap: clamp(18px, 3vw, 38px); }

.ss-catall { position: relative; flex: none; }
.ss-catall-btn {
	display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 20px 0 0;
	border: 0; background: none; color: var(--hr-ink); font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.ss-catall-btn svg { width: 20px; height: 20px; fill: currentColor; }
.ss-catall.is-open .ss-catall-btn { color: var(--hr-brand); }
/* 전체 카테고리 — 메가메뉴: 1차 = 열 머리, 2차 = 세로 목록 */
.ss-catall-panel {
	position: absolute; top: 100%; left: -14px; z-index: 60;
	width: min(760px, calc(100vw - 40px));
	padding: 22px 24px 24px;
	border: 1px solid var(--hr-line); border-radius: 0;
	background: var(--hr-bg); box-shadow: var(--hr-shadow);
}
.ss-catall-list {
	margin: 0; padding: 0; list-style: none;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 26px;
}
.ss-catall-list > li { min-width: 0; }
.ss-catall-list > li > a.ss-catall-top {
	display: flex; align-items: center; gap: 8px;
	padding: 0 0 9px; margin: 0 0 8px;
	border-bottom: 1px solid var(--hr-line-soft);
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hr-ink);
}
.ss-catall-list > li > a.ss-catall-top:hover { color: var(--hr-brand); }
.ss-catall-sub { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; }
.ss-catall-sub a {
	display: block; padding: 5px 0 5px 15px; border-radius: 0;
	font-size: 13.5px; color: var(--hr-ink-sub);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ss-catall-sub a:hover { color: var(--hr-brand); background: var(--hr-brand-soft); }
@media (max-width: 860px) {
	.ss-catall-list { grid-template-columns: repeat(2, 1fr); }
}

.ss-gnb { flex: 1 1 auto; min-width: 0; }
.ss-gnb > ul { display: flex; align-items: stretch; gap: 26px; height: 100%; margin: 0; padding: 0; list-style: none; }
.ss-gnb > ul > li { position: relative; display: flex; align-items: center; }
.ss-gnb > ul > li > a { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--hr-ink); white-space: nowrap; }
.ss-gnb > ul > li:hover > a, .ss-gnb > ul > li.is-on > a { color: var(--hr-brand); }
.ss-gnb > ul > li.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hr-brand); }
.ss-gnb-sub {
	position: absolute; top: 100%; left: -14px; z-index: 60;
	min-width: 170px; margin: 0; padding: 8px 0; list-style: none;
	border: 1px solid var(--hr-line); border-radius: 0;
	background: var(--hr-bg); box-shadow: var(--hr-shadow);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .14s, transform .14s;
}
.ss-gnb > ul > li:hover .ss-gnb-sub, .ss-gnb > ul > li:focus-within .ss-gnb-sub { opacity: 1; visibility: visible; transform: none; }
.ss-gnb-sub a { display: block; padding: 8px 18px; font-size: 13.5px; color: var(--hr-ink-sub); white-space: nowrap; }
.ss-gnb-sub a:hover { background: var(--hr-brand-soft); color: var(--hr-brand); }

.ss-mobile-cats { padding: 16px 20px; border-bottom: 1px solid var(--hr-line-soft); }
.ss-mobile-cats-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--hr-muted); }
.ss-mobile-cats ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ss-mobile-cats a {
	display: inline-block; padding: 7px 13px; border: 1px solid var(--hr-line); border-radius: 0;
	font-size: 13px; font-weight: 600; color: var(--hr-ink-sub); background: var(--hr-surface);
}

@media (max-width: 1080px) {
	.ss-mainrow-inner { gap: 20px; }
	.ss-search { max-width: 340px; }
	.ss-icon { width: 54px; }
}
@media (max-width: 860px) {
	.ss-topbar { display: none; }
	.ss-catbar { display: none; }
	.ss-mainrow { position: relative; }
	/* 검색폼이 절대배치로 빠져 그리드 칸이 비므로, 좁은 화면에서는 flex 로 바꿔
	   로고는 왼쪽, 아이콘 세 개는 오른쪽 끝에 붙인다 */
	.ss-mainrow-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.ss-mainrow-inner .ss-logo { justify-self: auto; margin-right: auto; }
	.ss-mainrow-inner .ss-icons { justify-self: auto; margin-left: auto; }
	.ss-logo { font-size: 20px; }
	.ss-logo img { height: 30px; }
	.ss-icons { gap: 0; }
	.ss-icon { width: 44px; }
	.ss-icon svg { width: 22px; height: 22px; }
	.ss-icon-label { display: none; }
	.ss-burger { display: flex; }

	/* 검색은 평소에 접어 두고 돋보기 버튼만 남긴다 */
	.ss-icons .ss-search-btn { display: flex; }
	.ss-mainrow-inner .ss-search {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 5;
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0;
		padding: 0 clamp(14px, 3vw, 24px);
		/* 좌우 0 만으로는 늘어나지 않는다(shrink-to-fit). 폭을 직접 준다 */
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		background: var(--hr-bg);
	}
	/* 닫힌 상태만 따로 숨긴다. 두 규칙이 같은 속성을 두고 다투지 않게 한다 */
	.ss-mainrow:not(.is-search-open) .ss-search { opacity: 0; visibility: hidden; }
	/* 누르면 헤더 자리를 검색창이 덮는다 */
	.ss-mainrow.is-search-open .ss-logo,
	.ss-mainrow.is-search-open .ss-icons { visibility: hidden; }
	.ss-mainrow-inner .ss-search input[type="search"] {
		flex: 1 1 auto;
		width: auto;
		height: 40px;
		padding: 0 0 0 2px;
		font-size: 15px;
	}
	.ss-mainrow-inner .ss-search button[type="submit"] {
		position: static;
		transform: none;
		flex: none;
		width: 34px;
		height: 34px;
	}
	.ss-search button.ss-search-close {
		/* .ss-search button 기본 규칙이 absolute 라 그대로 두면 돋보기와 겹친다.
		   같은 자리를 두고 다투므로 선택자를 그보다 무겁게 잡는다 */
		position: static;
		transform: none;
		display: grid;
		place-items: center;
		flex: none;
		width: 34px;
		height: 34px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--hr-ink);
		cursor: pointer;
	}
	.ss-search-close svg { width: 20px; height: 20px; fill: currentColor; }
}

/* 카테고리 줄: 전체 카테고리는 왼쪽 끝, 사이트 메뉴는 오른쪽 끝에 붙이고 상품 카테고리만 가운데 남긴다 */
.ss-cats { flex: 0 1 auto; min-width: 0; }
.ss-cats > ul { display: flex; align-items: stretch; justify-content: center; gap: clamp(18px, 2.6vw, 34px); height: 100%; margin: 0; padding: 0; list-style: none; }
.ss-cats > ul > li { position: relative; display: flex; align-items: center; }
.ss-cats > ul > li > a { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--hr-ink); white-space: nowrap; }
.ss-cats > ul > li:hover > a { color: var(--hr-brand); }
.ss-cats-sub {
	position: absolute; top: 100%; left: -14px; z-index: 60;
	min-width: 160px; margin: 0; padding: 8px 0; list-style: none;
	border: 1px solid var(--hr-line); border-radius: 0;
	background: var(--hr-bg); box-shadow: var(--hr-shadow);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .14s, transform .14s;
}
.ss-cats > ul > li:hover .ss-cats-sub, .ss-cats > ul > li:focus-within .ss-cats-sub { opacity: 1; visibility: visible; transform: none; }
.ss-cats-sub a { display: block; padding: 8px 18px; font-size: 13.5px; color: var(--hr-ink-sub); white-space: nowrap; }
.ss-cats-sub a:hover { background: var(--hr-brand-soft); color: var(--hr-brand); }

/* 상품 카테고리가 가운데 자리를 갖도록 사이트 메뉴는 오른쪽 끝에 겹치지 않게 띄운다 */
.ss-catbar-inner { position: relative; }
.ss-catbar-inner > .ss-catall { position: absolute; left: 0; top: 0; bottom: 0; }
.ss-gnb.is-side { position: absolute; right: 0; top: 0; bottom: 0; flex: none; margin-left: 0; }
.ss-gnb.is-side > ul { gap: clamp(12px, 1.6vw, 20px); }
.ss-gnb.is-side > ul > li > a { font-size: 12.5px; font-weight: 600; color: var(--hr-muted); }
.ss-gnb.is-side > ul > li:hover > a, .ss-gnb.is-side > ul > li.is-on > a { color: var(--hr-brand); }
@media (max-width: 1100px) {
	.ss-gnb.is-side { display: none; }
}
.ss-gnb.is-side > ul { gap: 18px; }
.ss-gnb.is-side > ul > li > a { font-size: 13px; font-weight: 500; color: var(--hr-muted); }
.ss-gnb.is-side > ul > li.is-on::after { display: none; }
@media (max-width: 1180px) {
	.ss-gnb.is-side { display: none; }
}


/* ---------- 테마 내장 메인페이지 (_home.html) ---------- */
.ssh-home { width: 100%; display: flex; flex-direction: column; gap: 64px; padding: 10px 0 30px; }

/* 카테고리 타일 */
/* 카테고리 인덱스 — 가운데 정렬한 글자 줄. 좁은 화면에서는 가로로 스크롤한다 */
.ssh-catindex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0 clamp(18px, 3vw, 40px);
	padding: 22px 0;
	border-top: 1px solid var(--hr-line);
	border-bottom: 1px solid var(--hr-line);
}
.ssh-catindex a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 0;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--hr-ink-sub);
	white-space: nowrap;
	border-bottom: 1px solid transparent;
	transition: color .14s, border-color .14s;
}
.ssh-catindex a:hover { color: var(--hr-brand); border-bottom-color: var(--hr-brand); }
.ssh-catindex a em { font-style: normal; font-size: 15px; }
.ssh-catindex a img { width: 18px; height: 18px; object-fit: cover; }
.ssh-catindex-all { color: var(--hr-ink) !important; font-weight: 800 !important; }
@media (max-width: 860px) {
	.ssh-catindex {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		gap: 0 20px;
	}
	.ssh-catindex::-webkit-scrollbar { display: none; }
	.ssh-catindex a { flex: 0 0 auto; }
}

/* 섹션 타이틀 - 가운데 정렬 + 화살표 */
/* 섹션 제목: 왼쪽에 제목, 오른쪽에 전체보기. 제목 위에 얇은 경계선을 그어 단락을 나눈다 */
.ssh-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 26px;
	padding-top: 22px;
	border-top: 1px solid var(--hr-ink);
}
.ssh-section-head h2 { margin: 0; font-size: clamp(19px, 2.2vw, 25px); font-weight: 700; letter-spacing: -.01em; color: var(--hr-ink); }
.ssh-section-more {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--hr-ink-sub);
	white-space: nowrap;
}
.ssh-section-more svg { width: 15px; height: 15px; fill: currentColor; transition: transform .15s; }
.ssh-section-more:hover { color: var(--hr-brand); }
.ssh-section-more:hover svg { transform: translateX(3px); }

/* 상품 카드 - 테두리 없는 형태: 이미지 + 담기 바 + 이름 + 할인가 */
.ssh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.ssh-card { display: flex; flex-direction: column; text-decoration: none; }
.ssh-card-thumb {
	position: relative; display: block; aspect-ratio: 4 / 3;
	border-radius: 0; overflow: hidden;
	background: var(--hr-surface) center / cover no-repeat;
	transition: filter .2s;
}
.ssh-card:hover .ssh-card-thumb { filter: brightness(.96); }
.ssh-card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.ssh-badge {
	font-style: normal; font-size: 11px; font-weight: 700; line-height: 1;
	padding: 5px 8px; border-radius: 0;
	background: var(--hr-brand); color: #fff;
}
.ssh-badge.is-new { background: #1d6fd6; }
.ssh-soldout {
	position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
	background: rgba(20, 24, 21, .55); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .06em;
}
.ssh-card-cartbar {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	margin-top: 8px; padding: 9px 0;
	border: 1px solid var(--hr-line); border-radius: 0;
	font-size: 13.5px; font-weight: 600; color: var(--hr-ink-sub);
	transition: border-color .15s, color .15s, background-color .15s;
}
.ssh-card-cartbar svg { width: 15px; height: 15px; fill: currentColor; }
.ssh-card:hover .ssh-card-cartbar { border-color: var(--hr-brand); color: var(--hr-brand); background: var(--hr-brand-soft); }
.ssh-card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 0; }
/* 브랜드 줄 - 상품명보다 작게, 자간을 벌려 위에 올린다 */
.ssh-card-brand { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--hr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssh-card-name { font-size: 13.5px; font-weight: 400; color: var(--hr-ink-sub); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ssh-card:hover .ssh-card-name { color: var(--hr-brand); }
.ssh-card-price { display: flex; align-items: baseline; gap: 6px; }
.ssh-card-price strong { font-size: 16.5px; font-weight: 800; color: var(--hr-ink); }
.ssh-off { font-style: normal; font-size: 16px; font-weight: 800; color: var(--hr-danger); }
.ssh-card-was { font-size: 12.5px; color: var(--hr-muted); }

/* 중간 배너 밴드 — 본문 폭을 넘겨 화면 좌우까지 채운다 */
.ssh-strip {
	position: relative; display: flex; align-items: flex-end;
	box-sizing: border-box;
	width: 100vw; margin-left: calc(50% - 50vw);
	min-height: clamp(240px, 26vw, 360px); padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 90px);
	border-radius: 0; overflow: hidden;
	background: var(--hr-surface) center / cover no-repeat;
	text-decoration: none;
}
.ssh-strip::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 18, 20, .5), rgba(23, 18, 20, .14) 62%, rgba(23, 18, 20, 0)); }
.ssh-strip-copy { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: min(560px, 70%); }
.ssh-strip-copy strong { font-size: clamp(22px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.25; }
.ssh-strip-copy span { font-size: clamp(13px, 1.3vw, 16px); color: rgba(255, 255, 255, .88); line-height: 1.65; }

/* 에디토리얼 — 사진 한 칸, 글 한 칸 */
.ssh-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--hr-surface);
}
.ssh-editorial-media { min-height: clamp(280px, 34vw, 460px); background: var(--hr-line-soft) center / cover no-repeat; }
.ssh-editorial-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: clamp(32px, 5vw, 72px) clamp(24px, 6vw, 88px);
}
.ssh-editorial-copy em {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--hr-brand);
}
.ssh-editorial-copy h2 { margin: 0; font-size: clamp(23px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--hr-ink); }
.ssh-editorial-copy p { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.8; color: var(--hr-ink-sub); }
.ssh-editorial-link {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--hr-ink);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--hr-ink);
	transition: gap .16s, color .16s, border-color .16s;
}
.ssh-editorial-link:hover { gap: 15px; color: var(--hr-brand); border-bottom-color: var(--hr-brand); }
.ssh-editorial-link svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) {
	.ssh-editorial { grid-template-columns: 1fr; }
	.ssh-editorial-media { min-height: 260px; }
}

/* 일일특가 */
.ssh-daily {
	display: flex; align-items: stretch; gap: 34px;
	padding: 30px 34px; border-radius: 0;
	background: linear-gradient(115deg, var(--hr-brand) 0%, var(--hr-brand-dark) 100%);
}
.ssh-daily-copy { flex: 0 0 240px; display: flex; flex-direction: column; justify-content: center; gap: 8px; color: #fff; }
.ssh-daily-flag {
	align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .08em;
	padding: 5px 11px; border-radius: 0;
	background: rgba(255, 255, 255, .18); color: #fff;
}
.ssh-daily-copy h2 { margin: 2px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: #fff; }
.ssh-daily-copy p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.ssh-daily-timer { margin-top: 8px; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: #fff; }
.ssh-daily-item {
	flex: 1; display: flex; gap: 22px; align-items: center;
	padding: 18px 22px; border-radius: 0;
	background: var(--hr-bg); text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.ssh-daily-item:hover { transform: translateY(-2px); box-shadow: var(--hr-shadow); }
.ssh-daily-thumb { flex: 0 0 44%; aspect-ratio: 4 / 3; border-radius: 0; background: var(--hr-surface) center / cover no-repeat; }
.ssh-daily-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ssh-daily-body .ssh-card-name { font-size: 17px; font-weight: 700; }
.ssh-daily-body .ssh-card-price strong { font-size: 22px; }
.ssh-daily-body .ssh-off { font-size: 21px; }

/* 최신 글 */
.ssh-post-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--hr-ink); }
.ssh-post-list li { border-bottom: 1px solid var(--hr-line-soft); }
.ssh-post-list a { display: flex; align-items: center; gap: 10px; padding: 13px 4px; text-decoration: none; }
.ssh-post-title { flex: 1 1 auto; min-width: 0; font-size: 14.5px; color: var(--hr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssh-post-list a:hover .ssh-post-title { color: var(--hr-brand); }
.ssh-post-cmt { flex: 0 0 auto; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--hr-brand); background: var(--hr-brand-soft); border-radius: 0; padding: 3px 8px; }
.ssh-post-date { flex: 0 0 auto; font-size: 12.5px; color: var(--hr-muted); }

@media (max-width: 1023px) {
	.ssh-grid { grid-template-columns: repeat(3, 1fr); }
	.ssh-daily { flex-direction: column; gap: 20px; }
	.ssh-daily-copy { flex: none; }
}
@media (max-width: 767px) {
	.ssh-home { gap: 44px; }
	.ssh-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
	.ssh-section-head { margin-bottom: 16px; }
	.ssh-section-head h2 { font-size: 20px; }
	.ssh-strip { min-height: 100px; padding: 18px 20px; }
	.ssh-strip-copy strong { font-size: 17px; }
	.ssh-strip-copy span { font-size: 12.5px; }
	.ssh-daily { padding: 20px; }
	.ssh-daily-item { flex-direction: column; align-items: stretch; gap: 12px; }
	.ssh-daily-thumb { flex: none; }
	.ssh-daily-timer { font-size: 28px; }
}

/* 하단 탭바 바텀시트 */
.ss-sheet-dim { position: fixed; inset: 0; z-index: 205; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .22s ease; }
.ss-sheet-dim.is-open { opacity: 1; }
.ss-sheet {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 210;
	max-height: 72vh;
	display: flex;
	flex-direction: column;
	border-radius: 0;
	background: var(--hr-bg);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .2);
	transform: translateY(100%);
	transition: transform .24s ease;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.ss-sheet[hidden] { display: none; }
.ss-sheet.is-open { transform: translateY(0); }
body.ss-sheet-on { overflow: hidden; }
.ss-sheet-head {
	flex: none;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 16px 20px 12px;
	border-bottom: 1px solid var(--hr-line-soft);
}
.ss-sheet-head strong { font-size: 16px; font-weight: 800; color: var(--hr-ink); }
.ss-sheet-close { flex: none; width: 34px; height: 34px; border: 0; background: none; color: var(--hr-muted); cursor: pointer; }
.ss-sheet-close svg { width: 18px; height: 18px; fill: currentColor; }
.ss-sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 20px 20px; }

.ss-sheet-cats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ss-sheet-cat-top {
	display: flex; align-items: center; gap: 8px;
	font-size: 15px; font-weight: 800; color: var(--hr-ink);
	padding-bottom: 8px; border-bottom: 1px solid var(--hr-line-soft);
}
.ss-sheet-cat-top::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 0; background: var(--hr-brand); }
.ss-sheet-cat-sub { display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 0 2px; }
.ss-sheet-cat-sub a {
	display: inline-block; padding: 7px 13px;
	border: 1px solid var(--hr-line); border-radius: 0;
	background: var(--hr-surface);
	font-size: 13px; font-weight: 600; color: var(--hr-ink-sub);
}
.ss-sheet-cat-sub a:active { border-color: var(--hr-brand); color: var(--hr-brand); }
.ss-sheet-all { display: flex; margin-top: 16px; }

.ss-sheet-search { display: flex; gap: 8px; }
.ss-sheet-search input[type="search"] {
	flex: 1; min-width: 0;
	box-sizing: border-box;
	height: 46px;
	padding: 0 16px;
	border: 2px solid var(--hr-brand);
	border-radius: 0;
	background: var(--hr-bg);
	font-size: 15px;
	color: var(--hr-ink);
}
.ss-sheet-search input[type="search"]:focus { outline: none; }
.ss-sheet-search .hr-btn { height: 46px; border-radius: 0; padding: 0 20px; }

/* 최신 글 다단 (공지사항 / 자유게시판 나란히) */
.ssh-posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.ssh-posts-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.ssh-posts-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ssh-posts-col { min-width: 0; }
.ssh-posts-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
.ssh-posts-head h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--hr-ink); }
.ssh-posts-head a { display: inline-flex; align-items: center; gap: 1px; font-size: 12.5px; font-weight: 600; color: var(--hr-muted); text-decoration: none; }
.ssh-posts-head a svg { width: 14px; height: 14px; fill: currentColor; }
.ssh-posts-head a:hover { color: var(--hr-brand); }
@media (max-width: 767px) {
	.ssh-posts-grid, .ssh-posts-grid.cols-3 { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* 메인 기획전 카드 */
/* 기획전 — 세로로 긴 포스터 카드. 부양·그림자 없이 사진만 살짝 어두워진다 */
.ssh-promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.ssh-promo-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 4;
	padding: clamp(20px, 2.2vw, 30px);
	border-radius: 0;
	overflow: hidden;
	background: var(--hr-surface) center / cover no-repeat;
	text-decoration: none;
	transition: opacity .18s;
}
.ssh-promo-card:hover { opacity: .9; }
.ssh-promo-card.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 18, 20, 0) 40%, rgba(23, 18, 20, .62) 100%); }
.ssh-promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; max-width: 68%; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.ssh-promo-copy.no-shadow { text-shadow: none; }
.ssh-promo-point { position: absolute; top: 50%; right: 4%; transform: translateY(-50%); width: 30%; max-width: 140px; height: 84%; background-size: contain; background-repeat: no-repeat; background-position: center right; pointer-events: none; }
.ssh-promo-point.is-left { right: auto; left: 4%; background-position: center left; }
.ssh-promo-card.point-left .ssh-promo-copy { margin-left: auto; }
.ssh-promo-copy strong { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.ssh-promo-copy span { font-size: 13.5px; line-height: 1.6; opacity: .88; }
.ssh-promo-copy em {
	order: -1;
	align-self: flex-start;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	color: #fff;
	padding: 4px 9px;
	background: rgba(255, 255, 255, .18);
	backdrop-filter: blur(4px);
}
@media (max-width: 860px) {
	.ssh-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 랭킹 — 1위는 큰 칸, 2위부터는 오른쪽 목록 */
.ssh-rank { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.ssh-rank-hero { display: block; text-decoration: none; }
.ssh-rank-hero-thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--hr-surface) center / cover no-repeat;
	transition: opacity .18s;
}
.ssh-rank-hero:hover .ssh-rank-hero-thumb { opacity: .88; }
.ssh-rank-crown {
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	min-width: 52px;
	height: 34px;
	padding: 0 12px;
	background: var(--hr-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
}
.ssh-rank-hero-body { display: flex; flex-direction: column; gap: 5px; padding: 16px 2px 0; }
.ssh-rank-hero-name { font-size: clamp(16px, 1.7vw, 19px); font-weight: 600; line-height: 1.45; color: var(--hr-ink); }
.ssh-rank-hero:hover .ssh-rank-hero-name { color: var(--hr-brand); }
.ssh-rank-hero-body .ssh-card-price strong { font-size: 20px; }

.ssh-rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ssh-rank-list > li + li { border-top: 1px solid var(--hr-line-soft); }
.ssh-rank-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 6px;
	border-radius: 0;
	text-decoration: none;
	transition: background-color .14s;
}
.ssh-rank-item:hover { background: var(--hr-surface); }
.ssh-rank-no { flex: none; width: 28px; font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--hr-muted); text-align: left; }
.ssh-rank-item:hover .ssh-rank-no { color: var(--hr-brand); }
.ssh-rank-thumb { flex: none; width: 72px; aspect-ratio: 1; border-radius: 0; background: var(--hr-surface) center / cover no-repeat; }
.ssh-rank-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ssh-rank-body .ssh-card-name { -webkit-line-clamp: 1; }
.ssh-rank-body .ssh-card-price strong { font-size: 15px; }
@media (max-width: 860px) {
	.ssh-rank { grid-template-columns: 1fr; gap: 26px; }
}

/* 푸터 확장 — 고객센터 + SNS + 잔줄 */
.hr-footer-cs { max-width: 460px; }
.hr-footer-cs-label { margin: 18px 0 2px; font-size: 13px; font-weight: 700; color: var(--hr-ink-sub); }
.hr-footer-tel { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--hr-ink); text-decoration: none; }
.hr-footer-tel:hover { color: var(--hr-brand); }
.hr-footer-hours { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.hr-footer-mail { margin: 10px 0 0; font-size: 12.5px; }
.hr-footer-mail a { color: var(--hr-brand); }
.hr-footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; max-width: 560px; }
.hr-footer-right .hr-footer-menu { justify-content: flex-end; }
.hr-footer-right .hr-footer-info { margin: 0; justify-content: flex-end; }
.hr-footer-sns { display: flex; gap: 8px; }
.hr-footer-sns a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 0;
	background: var(--hr-line-soft); color: var(--hr-ink-sub);
	transition: background-color .15s, color .15s;
}
.hr-footer-sns a:hover { background: var(--hr-brand); color: #fff; }
.hr-footer-sns svg { width: 17px; height: 17px; fill: currentColor; }
.hr-footer-disclaimer { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--hr-line); font-size: 12px; line-height: 1.7; color: var(--hr-muted); }

@media (max-width: 860px) {
	.hr-footer-right { align-items: flex-start; }
	.hr-footer-right .hr-footer-menu, .hr-footer-right .hr-footer-info { justify-content: flex-start; }
}

/* 카테고리 타일 아이콘 (레이아웃 설정 cat_icons) */

/* 전체 카테고리 패널: 1차 카테고리 수에 따라 열 확장 (3 → 4 → 5) */
.ss-catall-panel.ss-cols-4 { width: min(960px, calc(100vw - 40px)); }
.ss-catall-panel.ss-cols-5 { width: min(1140px, calc(100vw - 40px)); }
.ss-catall-list.ss-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ss-catall-list.ss-cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) {
	.ss-catall-panel.ss-cols-5 { width: min(960px, calc(100vw - 40px)); }
	.ss-catall-list.ss-cols-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
	.ss-catall-list.ss-cols-4, .ss-catall-list.ss-cols-5 { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 브랜드 이야기 페이지 ============
   페이지 모듈 본문에 이 클래스들을 쓰면 편집숍 소개 화면이 된다.
   본문은 hr-inner 안에 있으므로 화면을 가득 채우는 띠는 100vw 로 되돌린다. */
.gy-brand { margin: 0; }
.gy-brand > * + * { margin-top: clamp(56px, 8vw, 110px); }
.gy-brand p { margin: 0; }
/* 표지에 제목이 따로 있으므로 페이지 모듈이 찍는 제목은 감춘다 */
.hr-content:has(.gy-brand) > h1 { display: none; }

.gy-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* 표지 */
.gy-brand-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(360px, 46vw, 620px);
	padding: clamp(28px, 5vw, 72px);
	box-sizing: border-box;
	background: var(--hr-surface) center / cover no-repeat;
	color: #fff;
}
.gy-brand-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 18, 20, .1) 30%, rgba(23, 18, 20, .68) 100%);
}
.gy-brand-hero-copy { position: relative; max-width: 40em; }
.gy-kicker {
	display: block;
	margin-bottom: 16px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .24em;
	text-transform: uppercase;
}
.gy-brand-hero h2 {
	margin: 0;
	font-size: clamp(28px, 4.4vw, 54px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	color: #fff;
}
.gy-brand-hero p { margin-top: 16px; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.75; color: rgba(255, 255, 255, .9); }

/* 사진 한 칸, 글 한 칸 */
.gy-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
/* 사진과 글의 자리를 바꿀 때 칸 너비도 같이 뒤집는다. 안 그러면 사진만 커진다 */
.gy-split.is-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.gy-split.is-flip > :first-child { order: 2; }
/* 원본 세로 길이에 끌려가지 않게 비율을 고정한다 */
.gy-split img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gy-split-copy h3 { margin: 0 0 16px; font-size: clamp(21px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.gy-split-copy p + p { margin-top: 14px; }
.gy-split-copy p { font-size: 15.5px; line-height: 1.85; color: var(--hr-ink-sub); }

/* 원칙 세 칸 */
.gy-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hr-line); border-top: 1px solid var(--hr-ink); border-bottom: 1px solid var(--hr-line); }
.gy-principle { padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 28px); background: var(--hr-bg); }
.gy-principle em { display: block; margin-bottom: 14px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--hr-brand); }
.gy-principle strong { display: block; margin-bottom: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.gy-principle p { font-size: 14.5px; line-height: 1.8; color: var(--hr-ink-sub); }

/* 인용 */
.gy-quote { max-width: 22em; margin-left: auto; margin-right: auto; text-align: center; }
.gy-quote blockquote { margin: 0; font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: -.02em; color: var(--hr-ink); }
.gy-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--hr-muted); }

/* 가로 띠 */
.gy-band {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(260px, 28vw, 400px);
	padding: clamp(28px, 4vw, 60px);
	box-sizing: border-box;
	background: var(--hr-surface) center / cover no-repeat;
	color: #fff;
	text-align: center;
}
.gy-band::before { content: ""; position: absolute; inset: 0; background: rgba(23, 18, 20, .48); }
.gy-band-copy { position: relative; max-width: 34em; }
.gy-band-copy h3 { margin: 0; font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.gy-band-copy p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .88); }

/* 걸어온 길 */
.gy-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.gy-step { padding-top: 18px; border-top: 2px solid var(--hr-ink); }
.gy-step em { display: block; margin-bottom: 10px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--hr-brand); }
.gy-step strong { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.gy-step p { font-size: 14px; line-height: 1.75; color: var(--hr-ink-sub); }

/* 마무리 */
.gy-cta { text-align: center; padding-top: clamp(20px, 3vw, 40px); border-top: 1px solid var(--hr-line); }
.gy-cta h3 { margin: 0 0 12px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.gy-cta p { margin-bottom: 26px; font-size: 15px; line-height: 1.8; color: var(--hr-ink-sub); }
.gy-cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gy-cta-links a {
	display: inline-flex;
	align-items: center;
	padding: 15px 34px;
	border: 1px solid var(--hr-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--hr-ink);
	transition: background-color .15s, color .15s, border-color .15s;
}
.gy-cta-links a:first-child { background: var(--hr-ink); color: #fff; }
.gy-cta-links a:hover { background: var(--hr-brand); border-color: var(--hr-brand); color: #fff; }

@media (max-width: 860px) {
	.gy-split { grid-template-columns: 1fr; }
	.gy-split.is-flip > :first-child { order: 0; }
	.gy-principles { grid-template-columns: 1fr; }
	.gy-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
