/* =================================================================
 * layout.css — 헤더 · 푸터 · 페이지별 큰 뼈대
 * ================================================================= */

/* ---- 상단 공지바 (피그마 : PC 높이 35 · Carlito 13 · 자간 0.6 / 모바일 32 · 12, Sky 바탕 · Ink 글자) ---- */

.topbar {
	display: flex; align-items: center; justify-content: center;
	min-height: 32px;
	padding: 4px 10px;
	background: var(--point);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 12px; line-height: 1.3;
	text-align: center;
}
.topbar__text { margin: 0; }
.topbar__pc { display: none; }
@media (min-width: 900px) {
	.topbar { min-height: 35px; font-size: 13px; letter-spacing: 0.6px; }
	.topbar__pc { display: inline; }
	.topbar__m { display: none; }
}

/* ---- 헤더 (피그마 : PC 1440 기준 높이 79 · 내용 120~1320 · 왼쪽 메뉴 13px 자간 1.6 간격 30 · 가운데 로고 194 · 오른쪽 아이콘 22 (46 간격)
       / 모바일 높이 58 + 아래 선 · 왼쪽 ☰ 20 · 가운데 로고 153 · 오른쪽 검색 · 장바구니 (44 간격)) ---- */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid #e4e7ea;
	font-family: var(--font-body);
}
@media (min-width: 900px) { .header { border-bottom-color: transparent; } }

.header__inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 57px;
	padding-inline: 11px;   /* 아이콘 22 를 40 버튼에 넣어 화면 끝에서 20 (시안) */
}
@media (min-width: 900px) {
	.header__inner {
		min-height: 79px;
		max-width: calc(1200px + 2 * var(--page-margin));
		margin-inline: auto;
		padding-inline: var(--page-margin);
	}
}

/* haruharu wonder 워드마크 (img/haruharuwonder/logo-black.svg, 194×18 · 여백 없음, 피그마 헤더 로고에서 추출). 가운데 · 모바일 153 · PC 194 */
.header__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; width: 153px; line-height: 0; }
.header__logo img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .header__logo { width: 194px; } }

.header__menu { margin-inline-start: 0; }
@media (min-width: 900px) { .header .header__menu { display: none; } }   /* .icon-btn 보다 뒤에 정의돼도 이기게 */

.header__right { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }   /* 아이콘 사이 44 (모바일 시안) */
@media (min-width: 900px) { .header__right { gap: 6px; margin-inline-end: -9px; } }   /* 아이콘 사이 46 · 오른쪽 끝 1320 (PC 시안) */

/* PC 메뉴 : 왼쪽 (Gill Sans 13 · 자간 1.6 · 대문자) */
.nav { display: none; }
@media (min-width: 900px) { .nav { display: flex; align-items: center; } }
.nav__list { display: flex; align-items: center; gap: 36px; }   /* 피그마 v2 : SHOP 120 · ABOUT US 197 · CONTACT US 309 */
.nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-block: 10px;
	color: var(--ink);
	font-family: var(--font-point);
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	white-space: nowrap;
}
.nav__link:hover { color: var(--coral); }
/* 지금 보는 메뉴 : 글자 아래 5px 에 1.5px 선 (피그마 v2 nav/active, 글자 폭과 같음) */
.nav__link.is-current::after { content: ""; position: absolute; left: 0; right: 1.6px; top: calc(50% + 13px); height: 1.5px; border-radius: 1px; background: currentColor; }

/* 헤더 검색창 */
.header-search {
	position: absolute;
	top: 100%; left: 50%;
	display: flex; align-items: center;
	width: min(1056px, calc(100vw - 40px));
	height: 60px;
	padding-inline: 24px 16px;
	background: #fff;
	border: 1px solid var(--border);
	transform: translateX(-50%);
}
.header-search[hidden] { display: none; }
.header-search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--font-body); font-size: var(--fs-base); }
.header-search__btn { display: inline-flex; padding: 6px; border: 0; background: none; cursor: pointer; }

/* 아이콘 버튼 */
.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 40px; height: 40px;
	padding: 0; border: 0; background: none;
	border-radius: 999px; cursor: pointer;
	transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--soft); }
.header__desktop { display: none; }
@media (min-width: 900px) { .header__desktop { display: inline-flex; } }
.header__search { display: inline-flex; }

.cart-count {
	position: absolute; top: 2px; right: 2px;
	min-width: 18px; height: 18px;
	padding-inline: 5px;
	display: grid; place-items: center;
	background: var(--coral); color: #fff;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 11px; line-height: 1;
}

/* ---- 모바일 메뉴 · 검색 (피그마 02 MENU · SEARCH (Mobile) : 화면 전체 흰 바탕 · 왼쪽 20 · 메뉴 17px 줄 높이 57 · 아래 핑크 띠 59) ---- */

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__panel {
	position: absolute; inset: 0;
	display: flex; flex-direction: column;
	background: #fff;
	font-family: var(--font-body);
	color: var(--ink);
	opacity: 0;
	transition: opacity .2s var(--ease);
}
.drawer.is-open .drawer__panel { opacity: 1; }

.drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	flex: none;
	height: 57px;
	padding-inline: 20px 22px;   /* 닫기 아이콘 22 를 40 버튼에 넣어 오른쪽 31 (시안) */
	border-bottom: 1px solid var(--border);
}
.drawer__logo { display: block; width: 153px; line-height: 0; }
.drawer__logo img { width: 100%; height: auto; }
.drawer__close { margin-inline-end: -9px; }

.drawer__scroll { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }

.drawer__label { display: block; font-size: 12px; color: var(--fg-muted); }
.drawer__input {
	display: block; width: 100%; height: 48px;
	margin-block-start: 8px;
	padding-inline: 14px;
	border: 1px solid var(--ink); border-radius: 24px;
	background: #fff;
	font-family: inherit; font-size: 15px; color: var(--ink);
}
.drawer__input::placeholder { color: #8a8a8a; }
.drawer__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }
.drawer__chips a { display: inline-flex; align-items: center; height: 29px; padding-inline: 12px; border-radius: 15px; background: var(--soft); font-size: 12px; color: var(--ink); }

.drawer__nav { margin-block-start: 14px; }
.drawer__item {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 57px;
	border-bottom: 1px solid var(--border);
	font-size: 17px; color: var(--ink);
	list-style: none; cursor: pointer;
}
.drawer__item::-webkit-details-marker { display: none; }
.drawer__group > .drawer__item::after { content: "+"; font-size: 17px; }
.drawer__group[open] > .drawer__item::after { content: "\2212"; }   /* − */
.drawer__group[open] > .drawer__item { border-bottom: 1px solid var(--border); }
.drawer__sub { padding-block: 0 12px; }
.drawer__sub a { display: flex; align-items: center; min-height: 44px; padding-inline-start: 16px; font-size: 14px; color: #3a3a3a; }

.drawer__foot {
	display: flex; align-items: center; justify-content: space-between;
	flex: none;
	min-height: 59px;
	padding-inline: 20px 14px;
	background: var(--tone-pink-soft);
	font-size: 13px;
}
.drawer__ship { display: flex; align-items: center; gap: 4px; }
.drawer__ship select { max-width: 160px; padding: 4px 2px; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }
.drawer__foot a { padding: 10px 6px; }

@media (min-width: 900px) { .drawer { display: none; } }

/* ---- 장바구니 창 (WBS 4.1.5 : 오른쪽에서 열림 · PC 폭 440 / 모바일 최대 390 꽉 차게) ----
   드로어 시안이 없어 피그마 규칙(Mist 바탕 · 코랄 CTA · 알약 버튼 · 둥근 사진)으로 구성 (11/21 합의) */
.cart-drawer { position: fixed; inset: 0; z-index: 110; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgb(31 52 66 / .35); opacity: 0; transition: opacity .25s var(--ease); }
.cart-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column;
	width: min(440px, 100%);
	background: #fff; color: var(--ink); font-family: var(--font-body);
	box-shadow: -12px 0 40px rgb(31 52 66 / .12);
	transform: translateX(100%); transition: transform .25s var(--ease);
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }

.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; flex: none; height: 64px; padding-inline: 24px 15px; border-bottom: 1px solid #e4e7ea; }
.cart-drawer__title { margin: 0; font-family: var(--font-point); font-weight: var(--fw-point); font-size: 24px; letter-spacing: -0.3px; }
.cart-drawer__title span { font-size: 16px; color: #6a6a6a; }

.cart-drawer__ship { flex: none; padding: 16px 24px; background: var(--mist); }
.cart-drawer__ship-text { margin: 0 0 10px; font-size: 14px; }
.cart-drawer__bar { display: block; height: 4px; border-radius: 2px; background: #fff; overflow: hidden; }
.cart-drawer__bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--coral); transition: width .3s var(--ease); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 4px 24px; }
.cart-drawer__list[aria-busy="true"] { opacity: .5; }
.cart-drawer__empty { padding-block: 48px; text-align: center; }
.cart-drawer__empty[hidden] { display: none; }
.cart-drawer__empty p { margin: 0 0 20px; font-family: var(--font-point); font-weight: var(--fw-point); font-size: 22px; }

.cd-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; padding-block: 20px; border-bottom: 1px solid #e4e7ea; }
.cd-item__media { display: block; width: 80px; height: 100px; border-radius: 12px; overflow: hidden; background: var(--sky); }
.cd-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cd-item__name { display: block; font-family: var(--font-point); font-size: 16px; line-height: 21px; }
.cd-item__name:hover { color: var(--coral); }
.cd-item__opt { margin: 4px 0 0; font-size: 14px; color: #6a6a6a; }
.cd-item__warn { margin: 4px 0 0; font-size: 13px; color: var(--coral); }
.cd-item__row { display: flex; align-items: center; gap: 14px; margin-block-start: 12px; }
.cd-qty { display: inline-flex; align-items: center; height: 36px; padding-inline: 4px; border: 1px solid #e4e7ea; border-radius: 18px; }
.cd-qty button { width: 28px; height: 32px; padding: 0; border: 0; background: none; font-size: 16px; cursor: pointer; }
.cd-qty__n { min-width: 22px; font-size: 14px; text-align: center; }
.cd-item__remove { padding: 0; border: 0; background: none; font-size: 13px; color: #6a6a6a; text-decoration: underline; cursor: pointer; }
.cd-item__remove:hover { color: var(--ink); }
.cd-item__price { margin: 0; font-family: var(--font-point); font-size: 16px; white-space: nowrap; }

.cart-drawer__foot { flex: none; padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid #e4e7ea; }
.cart-drawer__foot[hidden] { display: none; }
.cart-drawer__row { display: flex; justify-content: space-between; margin: 0; font-family: var(--font-point); font-size: 18px; }
.cart-drawer__note { margin: 6px 0 16px; font-size: 13px; color: #6a6a6a; }
.cart-drawer__checkout { width: 100%; height: 52px; }
.cart-drawer__checkout.is-off { opacity: .5; cursor: not-allowed; }
.cart-drawer__view { display: block; margin-block-start: 14px; font-size: 14px; text-align: center; text-decoration: underline; }

/* ---- 푸터 (피그마 : Deep Navy · PC 1440 기준 내용 120~1320 · 위 80 · 칸 시작 120 / 520 / 797 / 1075 · 구분선 #3a5262 · 높이 355
       / 모바일 왼쪽 20 · 위 48 · 링크 두 줄 · 높이 325) ---- */

/* ---- 인기 카테고리 (피그마 v2 POPULAR CATEGORIES : 모든 화면 푸터 위. PC 높이 91 · 제목 120 · 알약 315부터 / 모바일 높이 152 · 두 줄) ---- */
.popcat { margin-block-start: var(--sp-section); border-top: 1px solid #e4e7ea; background: #fff; }
.popcat__inner { padding: 24px 16px 24px; }
.popcat__title { margin: 0 0 13px; font-family: var(--font-point); font-size: 12px; font-weight: 700; line-height: normal; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.popcat__list { display: flex; flex-wrap: wrap; gap: 8px; }
.popcat__list a {
	display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
	border: 1px solid #e4e7ea; border-radius: 17px; background: #fff;
	font-family: var(--font-body); font-size: 13px; color: var(--ink); white-space: nowrap;
}
.popcat__list a:hover { border-color: var(--ink); }
@media (min-width: 900px) {
	.popcat__inner { display: flex; align-items: center; gap: 22px; max-width: calc(1200px + 2 * var(--page-margin)); margin-inline: auto; padding: 28px var(--page-margin); }
	.popcat__title { flex: none; min-width: 173px; margin: 0; white-space: nowrap; }
}

.footer {
	background: var(--navy);
	color: #b9c6d0;
	font-family: var(--font-body);
}
.footer a { color: inherit; }
.footer a:hover { color: #fff; }

.footer__top {
	display: grid;
	gap: 22px;
	padding: 48px 20px 0;
}
@media (min-width: 900px) {
	.footer__top {
		grid-template-columns: 400px 200px 200px 200px minmax(0, 1fr);   /* 칸 시작 120 · 520 · 720 · 920 · 1120 (피그마 v2) */
		column-gap: 0;
		max-width: calc(1200px + 2 * var(--page-margin));
		margin-inline: auto;
		padding: 80px var(--page-margin) 56px;
	}
}

.footer__logo { display: block; width: 178px; line-height: 0; }   /* 피그마 모바일 22px 글자 → 178 · PC 28px → 222 */
.footer__logo img { display: block; width: 100%; height: auto; }
.footer__tagline { margin: 22px 0 0; font-size: 15px; line-height: 1.4; color: #b9c6d0; }
@media (min-width: 900px) {
	.footer__logo { width: 222px; }
	.footer__tagline { margin-block-start: 18px; line-height: 24px; }
}

/* 뉴스레터 : 밑줄 입력칸 + 글자 버튼 (피그마 Your email · SUBSCRIBE, 선 #5a7080) */
.footer__news {
	display: flex; align-items: center; gap: 12px;
	margin-block-start: 22px;
	border-bottom: 1px solid #5a7080;
}
@media (min-width: 900px) { .footer__news { width: 320px; margin-block-start: 13px; } }   /* 피그마 v2 : 밑줄 196 */
.footer__news-input {
	flex: 1; min-width: 0; height: 40px;
	padding: 0; border: 0; outline: 0; background: none;
	font-family: var(--font-body); font-size: 15px; color: #fff;
}
.footer__news-input::placeholder { color: #8fa3b2; }
.footer__news-btn {
	flex: none; height: 40px; padding: 0;
	border: 0; background: none; cursor: pointer;
	font-family: var(--font-point); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
	color: #fff;
}
.footer__news-btn:disabled { opacity: .5; cursor: default; }
.footer__news:focus-within { border-bottom-color: #fff; }

/* PC 네 칸 */
.footer__col { display: none; }
@media (min-width: 900px) { .footer__col { display: block; } }
.footer__heading {
	margin: 0 0 14px;
	font-family: var(--font-point); font-size: 12px; font-weight: 700; line-height: normal;
	letter-spacing: 2px; text-transform: uppercase;
	color: #fff;
}
.footer__links { display: grid; gap: 12px; font-size: 15px; line-height: 18px; }

/* 모바일 두 줄 링크 (흰 글자) */
.footer__mlinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 4px; margin-block-start: 4px; font-size: 15px; line-height: 18px; color: #fff; }
@media (min-width: 900px) { .footer__mlinks { display: none; } }

.footer__bottom { padding: 22px 20px 28px; font-size: 12px; line-height: 1.5; color: #8fa3b2; }
.footer__bottom p { margin: 0; }
.footer__social { display: none; }
@media (min-width: 900px) {
	.footer__bottom {
		display: flex; justify-content: space-between; gap: 24px;
		max-width: calc(1200px + 2 * var(--page-margin));
		margin-inline: auto;
		padding: 22px var(--page-margin) 40px;
		font-size: 13px;
	}
	.footer__bottom { position: relative; }
	.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--page-margin); right: var(--page-margin); height: 1px; background: #3a5262; }
	.footer__social { display: block; }
}

/* 사업자 정보 줄 (값은 js/common.js 의 TMM.BUSINESS, 비어 있으면 숨김) */
.footer__biz {
	display: flex; flex-wrap: wrap;
	gap: 2px var(--sp-md);
	padding: 12px 20px 0;
	font-size: 12px; line-height: 1.7;
	color: #8fa3b2;
}
.footer__biz[hidden] { display: none; }
.footer__biz-label { font-weight: 600; color: #b9c6d0; }
.footer__biz a { text-decoration: underline; }
@media (min-width: 900px) { .footer__biz { max-width: calc(1200px + 2 * var(--page-margin)); margin-inline: auto; padding: 0 var(--page-margin) 16px; font-size: 13px; } }

/* 피그마 Contact · Cart : 마지막 내용과 푸터 사이 약 195 (기본 120 + 75) */
@media (min-width: 1280px) { .cart-page { padding-block-end: 75px; } }

/* ---- 2단 레이아웃 (장바구니 · 주문 · 마이페이지) ---- */

.split {
	display: grid;
	gap: var(--sp-lg);
	align-items: start;
}
@media (min-width: 990px) { .split { grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; } }

/* 요약 상자 (주문 완료) : Mist 바탕 · 둥근 모서리 24 (WBS 4.1.6) */
.summary {
	border: 0;
	border-radius: 24px;
	padding: 32px;
	display: grid;
	gap: 18px;
	position: sticky;
	top: 92px;
	background: var(--soft);
	font-family: var(--font-body);
}
.summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-sm); font-size: 14px; color: var(--ink); }
.summary__row > :last-child { text-align: right; }
.summary__row--total { padding-block-start: 18px; border-top: 1px solid #e4e7ea; font-size: 16px; font-weight: 700; }
.summary__row--total > :last-child { font-weight: 700; font-size: 20px; color: var(--ink); }

/* 무료 배송까지 남은 금액 안내 — 기획안처럼 주황 굵게 */

@media (max-width: 899px) {
	.summary { position: static; padding: 24px 20px; gap: 14px; }
}
/* 프로모션 코드 (checkout) */
.promo { display: grid; gap: 10px; padding-block: 18px; border-block: 1px solid #e4e7ea; }

/* ---- 좁은 폼 페이지 (로그인 · 회원가입) ---- */

.narrow {
	width: 100%;
	max-width: calc(620px + var(--page-margin) * 2);
	margin-inline: auto;
	padding-block: 0 var(--sp-xl);
}

/* ==========================================================================
   공통 창 (WBS 4.2.6) : 퀵뷰 · 영상 · 첫 방문 10% 팝업. 시안 그림이 없어 피그마 색 · 알약 버튼 · 둥근 카드(24) 규칙
   ========================================================================== */
.hw-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s var(--ease); }
.hw-modal[hidden] { display: none; }
.hw-modal.is-open { opacity: 1; }
.hw-modal__backdrop { position: absolute; inset: 0; background: rgb(31 52 66 / .55); }
.hw-modal__box { position: relative; width: min(860px, 100%); max-height: calc(100svh - 32px); overflow: auto; border-radius: 24px; background: #fff; transform: translateY(12px); transition: transform .2s var(--ease); }
.hw-modal.is-open .hw-modal__box { transform: none; }
.hw-modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / .9); }
.hw-modal__x--light { background: #fff; }

/* ① 퀵뷰 (PC 사진 왼쪽 400 · 정보 오른쪽 / 모바일 세로) */
.hw-qv { display: grid; }
.hw-qv__media { display: block; aspect-ratio: 1 / 1; max-height: 42svh; background: linear-gradient(#f1f7fc, #d5e6f3); }
.hw-qv__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hw-qv__body { display: grid; align-content: start; gap: 14px; padding: 22px 20px 26px; }
.hw-qv__badge { justify-self: start; margin: 0; padding: 4px 10px; border-radius: 11px; background: var(--coral); font-family: var(--font-point); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; }
.hw-qv__badge[hidden] { display: none; }
.hw-qv__title { margin: 0; font-family: var(--font-point); font-weight: var(--fw-point); font-size: 24px; line-height: 1.25; color: var(--ink); }
.hw-qv__price { margin: 0; font-family: var(--font-point); font-size: 20px; color: var(--ink); }
.hw-qv__price s { font-size: 15px; color: #9aa3ab; }
.hw-qv__opts { margin: 0; padding: 0; border: 0; }
.hw-qv__label { padding: 0; font-family: var(--font-point); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.hw-qv__list { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
.hw-qv__opt { position: relative; cursor: pointer; }
.hw-qv__opt input { position: absolute; opacity: 0; pointer-events: none; }
.hw-qv__opt span { display: inline-flex; align-items: center; height: 40px; padding-inline: 18px; border: 1px solid #e4e7ea; border-radius: 20px; font-size: 14px; color: var(--ink); }
.hw-qv__opt input:checked + span { border-color: var(--ink); }
.hw-qv__opt input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.hw-qv__opt.is-off span { color: #9aa3ab; }
.hw-qv__row { display: flex; gap: 10px; }
.hw-qv__qty { flex: none; display: flex; align-items: center; justify-content: space-between; width: 118px; height: 52px; padding-inline: 14px; border: 1px solid #e4e7ea; border-radius: 26px; }
.hw-qv__qty button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hw-qv__qty input { width: 30px; border: 0; background: none; text-align: center; font-family: var(--font-body); font-size: 16px; color: var(--ink); -moz-appearance: textfield; }
.hw-qv__qty input::-webkit-outer-spin-button, .hw-qv__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hw-qv__add { flex: 1; height: 52px; }
.hw-qv__add:disabled { opacity: .5; cursor: default; }
.hw-qv__more { justify-self: start; }
@media (min-width: 900px) {
	.hw-qv { grid-template-columns: 400px minmax(0, 1fr); }
	.hw-qv__media { aspect-ratio: auto; max-height: none; min-height: 460px; }
	.hw-qv__body { align-content: center; gap: 16px; padding: 48px 40px; }
	.hw-qv__title { font-size: 28px; }
}

/* ② 영상 (세로 9:16 · Deep Navy) */
.hw-modal--video .hw-modal__backdrop { background: rgb(31 52 66 / .85); }
.hw-video { width: min(420px, 100%); overflow: hidden; background: var(--navy); }
.hw-video__stage { position: relative; aspect-ratio: 9 / 16; max-height: calc(100svh - 110px); margin-inline: auto; background: #000; }
.hw-video__stage iframe, .hw-video__stage video, .hw-video__stage img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hw-video__soon { position: absolute; left: 50%; top: 50%; margin: 0; padding: 10px 18px; border-radius: 20px; background: rgb(31 52 66 / .75); transform: translate(-50%, -50%); font-family: var(--font-point); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; white-space: nowrap; }
.hw-video__cap { margin: 0; padding: 14px 18px 16px; font-size: 14px; font-weight: 700; color: #fff; }
.hw-video__cap:empty { display: none; }

/* ③ 첫 방문 10% 팝업 (PC 사진 왼쪽 · Sky 오른쪽 / 모바일 사진 위) */
.hw-welcome { display: grid; width: min(760px, 100%); background: var(--sky); }
.hw-welcome__media { display: block; height: 200px; }
.hw-welcome__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hw-welcome__body { padding: 26px 22px 24px; text-align: center; }
.hw-welcome .h-eyebrow { margin-block-end: 10px; }
.hw-welcome__title { margin: 0; font-family: var(--font-point); font-weight: var(--fw-point); font-size: 28px; line-height: 1.2; color: var(--ink); }
.hw-welcome__text { margin: 10px 0 0; font-size: 15px; line-height: 24px; color: #6a6a6a; }
.hw-welcome__form { display: grid; gap: 10px; margin-block-start: 18px; }
.hw-welcome__input { height: 52px; padding-inline: 22px; border: 1px solid transparent; border-radius: var(--radius-pill); background: #fff; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.hw-welcome__input::placeholder { color: #9a9a9a; }
.hw-welcome__input:focus { outline: none; border-color: var(--ink); }
.hw-welcome__btn { height: 52px; }
.hw-welcome__skip { margin-block-start: 12px; padding: 6px; border: 0; background: none; font-family: var(--font-body); font-size: 13px; color: #6a6a6a; text-decoration: underline; cursor: pointer; }
@media (min-width: 900px) {
	.hw-welcome { grid-template-columns: 320px minmax(0, 1fr); }
	.hw-welcome__media { height: auto; min-height: 440px; }
	.hw-welcome__body { align-self: center; padding: 48px 40px; }
	.hw-welcome__title { font-size: 34px; }
}
