@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=IBM+Plex+Mono&display=swap");

/* 루딤웹 기본 쇼핑몰 스킨 · 공용 스타일 (네 스킨이 같이 써요)
   규칙 3가지
   1. 값은 1번 :root 변수로. 스킨은 변수만 바꾸고, 꼭 다른 모양만 스킨 파일 끝에 덧붙여요
   2. 같은 부품은 같은 클래스 하나: 버튼 btn · 아이콘 버튼 btn-icon · 글자 버튼 more · 입력 칸 input · 줄 목록 rows · 글자 크기 h1~h4 · 작은 글 meta
   3. 한 화면에서만 쓰는 모양도 이 파일 한 곳에 (페이지마다 css 파일을 만들지 않아요) */

/* 1. 변수 (진열대 기본값) */
:root {
  --brand: oklch(0.48 0.17 262);
  --ink: #16171b;      /* 글자 */
  --ink-2: #686b75;    /* 흐린 글자 */
  --line: #e3e4e9;     /* 선 */
  --bg: #f3f4f6;       /* 옅은 면 (그림 자리 · 입력 칸 · 띠) */
  --surface: #ffffff;  /* 바탕 */
  --active: var(--ink); /* 고른 탭 · 쪽 번호 · 분류 밑줄 */
  --kakao: #fee500; --kakao-ink: #191919; /* 카카오 로그인 버튼(카카오 지정 색) */
  --s0: 4px; --s1: 8px; --s1-5: 12px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --r0: 4px; --r1: 8px; --r2: 16px; --r-pill: 999px; /* 배지 · 칸 · 큰 면 · 알약 */
  --t0: 12px; --t1: 13px; --t2: 15px; --t3: 17px; --t4: 20px; --t5: 24px; --t6: 28px; --t7: 48px;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-h: var(--font);  /* 제목 글꼴 */
  --w-h: 700;             /* 제목 굵기 */
  --w-num: 800;           /* 금액 · 번호 굵기 */
  --ls-kicker: 0;         /* 머리말 글자 간격 */
  --h: 52px; --h-sm: 44px; --h-xs: 36px; /* 버튼 · 입력 칸 높이 */
  --hd: 104px;            /* 붙어 따라오는 상단바 높이 */
  --hd-bar: 56px; --hd-bar-stuck: 56px; --hd-nav: 48px;
  --pcard-ratio: 4 / 5; --pcard-r: var(--r1);
  --price: var(--t3);
  --banner-ratio: 1; --banner-h: 540px;
  --sec-gap: var(--s5);   /* 메인 구역 사이 */
  --cols: 4; --cols-main: 5; /* PC 상품 줄 칸 수 (목록 · 메인) */
  --ease: cubic-bezier(.22, .61, .36, 1); --t-fast: 200ms; --t-slow: 500ms; /* 움직임 */ --t-panel: 380ms; --w-panel: 440px; /* 장바구니 패널(엔진이 닫고 400ms 뒤 숨김) · 폭 */
}
@media (min-width: 1024px) {
  :root { --t1: 14px; --t2: 16px; --t3: 18px; --t4: 22px; --t5: 28px; --t6: 36px; --h: 56px; --hd: 116px; --hd-bar: 80px; --hd-bar-stuck: 64px; --hd-nav: 52px; --sec-gap: var(--s6); }
}

/* 2. 리셋 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--t2); line-height: 1.6; color: var(--ink); background: var(--surface); word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; } /* 엔진이 값 없는 자리에 hidden 을 달아요. 어떤 부품이든 숨게 이 한 줄만 !important */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) { .sm-hide { display: none !important; } }
@media (max-width: 1023px) { .pc-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

/* 3. 틀 · 쌓기 */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--s2); }
.w-md { max-width: 960px; }
.w-sm { max-width: 720px; }
.main { min-height: 60vh; padding-bottom: var(--s5); animation: fade-in var(--t-slow) var(--ease) both; }
.stack, .stack-0, .stack-1, .stack-2 { display: grid; gap: var(--s3); align-content: start; justify-items: stretch; }
.stack-0 { gap: var(--s0); }
.stack-1 { gap: var(--s1); }
.stack-2 { gap: var(--s2); }
.page-title { padding: var(--s3) 0 var(--s2); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s0); padding-top: var(--s2); font-size: var(--t1); color: var(--ink-2); }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs + .page-title { padding-top: var(--s1); }
.page-tabs { margin: 0 calc(var(--s2) * -1) var(--s3); padding: 0 var(--s2); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s2); margin: var(--s3) 0; padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.split { display: grid; }
.panels { display: grid; }
@media (min-width: 768px) {
  .wrap { padding: 0 var(--s4); }
  .page-tabs { margin: 0 0 var(--s4); padding: 0; flex-wrap: wrap; }
  .split { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s3); align-items: start; }
  .split-side { position: sticky; top: calc(var(--hd) + var(--s3)); }
  .panels { gap: var(--s3); }
}
@media (min-width: 1024px) {
  .main { padding-bottom: var(--s6); }
  .page-title { padding: var(--s4) 0 var(--s3); }
  .crumbs { padding-top: var(--s3); }
  .bar { margin: var(--s4) 0; }
  .split { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s4); }
  .panels { gap: var(--s4); }
}

/* 4. 글자: 제목 h1~h4 · 금액 num · 작은 글 meta · 머리말 kicker · 한 줄 자르기 clip */
.h1, .h2, .h3, .h4 { font-family: var(--font-h); font-weight: var(--w-h); letter-spacing: -.02em; }
.h1 { font-size: var(--t6); line-height: 1.25; }
.h2 { font-size: var(--t5); line-height: 1.3; }
.h3 { font-size: var(--t4); line-height: 1.4; letter-spacing: -.01em; }
.h4 { font-size: var(--t3); font-weight: calc(var(--w-h) - 100); line-height: 1.5; letter-spacing: 0; }
.is-pinned .h4 { font-weight: var(--w-h); }
.num { font-size: var(--t5); font-weight: var(--w-num); font-variant-numeric: tabular-nums; }
.meta { font-size: var(--t1); color: var(--ink-2); }
.kicker { font-size: var(--t1); font-weight: 700; letter-spacing: var(--ls-kicker); color: var(--brand); }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 5. 아이콘 · 그림 자리 */
.icon { display: inline-block; flex: none; width: var(--s3); height: var(--s3); background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon-menu { --i: url(../assets/icons/menu.svg); }
.icon-close { --i: url(../assets/icons/close.svg); }
.icon-cart { --i: url(../assets/icons/cart.svg); }
.icon-home { --i: url(../assets/icons/home.svg); }
.icon-grid { --i: url(../assets/icons/grid.svg); }
.icon-receipt { --i: url(../assets/icons/receipt.svg); }
.icon-left { --i: url(../assets/icons/left.svg); }
.icon-right { --i: url(../assets/icons/right.svg); }
.icon-down { --i: url(../assets/icons/down.svg); }
.icon-minus { --i: url(../assets/icons/minus.svg); }
.icon-plus { --i: url(../assets/icons/plus.svg); }
.icon-check { --i: url(../assets/icons/check.svg); }
.icon-copy { --i: url(../assets/icons/copy.svg); }
.icon-search { --i: url(../assets/icons/search.svg); }
.icon-alert { --i: url(../assets/icons/alert.svg); }
.icon-box { --i: url(../assets/icons/box.svg); }
.icon-user { --i: url(../assets/icons/user.svg); }
.icon-heart { --i: url(../assets/icons/heart.svg); }
.icon-eye { --i: url(../assets/icons/eye.svg); }
.icon-kakao { --i: url(../assets/icons/kakao.svg); }
.logo-google { display: inline-block; flex: none; width: var(--s3); height: var(--s3); background: url(../assets/icons/google.svg) center / contain no-repeat; } /* 구글 로고는 지정 4색 그대로 */
.img { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.img img { width: 100%; height: 100%; object-fit: cover; }
.img img:not([src]), .img img[src=""] { display: none; }

/* 6. 버튼: 기본 btn · 아이콘만 btn-icon · 글자만 more · 버튼 묶음 btns */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); height: var(--h); padding: 0 var(--s3); border-radius: var(--r1); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: var(--t2); font-weight: 600; white-space: nowrap; }
.btn:hover { color: var(--ink); opacity: .85; }
.btn-brand, .btn-brand:hover { background: var(--brand); box-shadow: none; color: var(--surface); }
.btn-kakao, .btn-kakao:hover { background: var(--kakao); box-shadow: none; color: var(--kakao-ink); }
.btn-full { width: 100%; }
.btn-sm { height: var(--h-xs); padding: 0 var(--s2); font-size: var(--t1); }
.btn-sm .icon { width: var(--s2); height: var(--s2); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.is-busy { opacity: .7; cursor: progress; }
.btn.is-busy::before { content: ""; width: var(--s2); height: var(--s2); border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-icon { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: var(--h-sm); height: var(--h-sm); }
.btn-icon:disabled { opacity: .3; cursor: not-allowed; }
.btn-icon-box { position: relative; display: flex; }
.btn-icon-box .count { position: absolute; top: -6px; left: calc(100% - 10px); }
.btn-icon-label { display: none; font-size: var(--t0); font-weight: 600; line-height: 1; }
.more { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: var(--t1); font-weight: 600; color: var(--ink-2); }
.more .icon { width: var(--s2); height: var(--s2); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); }
.btns-stack { display: grid; gap: var(--s1); }
.btns-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }

/* 7. 입력 칸 · 체크 · 정렬 */
.input { display: block; width: 100%; height: var(--h); padding: 0 var(--s2); border: 1px solid var(--line); border-radius: var(--r1); background: var(--surface); font-size: 16px; }
.input::placeholder { color: var(--ink-2); }
.input:focus { outline: 0; border-color: var(--ink); }
.input[readonly] { background: var(--bg); color: var(--ink-2); }
.input::-webkit-search-cancel-button { display: none; }
textarea.input { height: auto; min-height: 104px; padding: var(--s1-5) var(--s2); resize: vertical; }
select.input { appearance: none; padding-right: var(--s4); background: var(--surface) url(../assets/icons/down.svg) no-repeat right var(--s1-5) center / 20px; }
.sort { width: auto; height: var(--h-sm); border: 0; padding-left: var(--s1); font-size: var(--t2); font-weight: 600; }
.field { display: grid; gap: var(--s1); }
.field-label { font-size: var(--t2); font-weight: 600; }
.field-opt { color: var(--ink-2); font-weight: 400; }
.field-row { display: flex; gap: var(--s1); }
.field-row .input { flex: 1; min-width: 0; }
.field-msg { display: none; align-items: center; gap: var(--s0); font-size: var(--t1); font-weight: 600; color: var(--brand); }
.field-msg .icon { width: var(--s2); height: var(--s2); }
.field.is-error .field-msg { display: flex; }
.field.is-error .input[aria-invalid="true"] { border-color: var(--brand); }
.check { display: flex; align-items: flex-start; gap: var(--s1); min-height: var(--s3); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.check-req { font-style: normal; font-size: var(--t1); color: var(--brand); }

/* 8. 선택지 (상품 옵션 · 결제 방법 · 공동현관) */
.opt { display: grid; gap: var(--s1); }
.opt-title { float: left; width: 100%; margin-bottom: var(--s1); font-size: var(--t2); font-weight: 700; }
.opt-list { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--s1); }
.opt-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--h); padding: var(--s1); border: 1px solid var(--line); border-radius: var(--r1); background: var(--surface); text-align: center; cursor: pointer; }
.opt-item input { position: absolute; opacity: 0; pointer-events: none; }
.opt-item:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.opt-item:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.opt-item > :first-of-type { font-weight: 600; }
.opt-item.is-soldout { background: var(--bg); color: var(--ink-2); cursor: not-allowed; }
.opt-item.is-soldout > :first-of-type { text-decoration: line-through; }

/* 9. 상품 카드 · 줄 */
/* 관심상품 하트: 카드는 사진 오른쪽 아래, 상세는 이름 옆. 담기면 is-on(채운 하트 · 브랜드 색) */
.pcard-img .wish { position: absolute; right: var(--s1); bottom: var(--s1); z-index: 2; width: var(--h-xs); height: var(--h-xs); border-radius: 50%; background: var(--surface); color: var(--ink); }
.wish.is-on, .pcard-img .wish.is-on { color: var(--brand); }
.wish.is-on .icon-heart { --i: url(../assets/icons/heart-fill.svg); animation: bump var(--t-slow) var(--ease); }
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s2); }
.plist-scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--s2) * -1); padding: 0 var(--s2); scroll-padding: 0 var(--s2); }
.plist-scroll::-webkit-scrollbar { display: none; }
.plist-scroll .pcard { scroll-snap-align: start; }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard:hover { color: var(--ink); }
.pcard-name::after { content: ""; position: absolute; inset: 0; } /* 이름 링크가 카드 전체를 덮는다(하트만 그 위) */
.pcard-name:hover { color: inherit; }
.pcard-img { aspect-ratio: var(--pcard-ratio); border-radius: var(--pcard-r); }
.pcard-img .badge { position: absolute; top: var(--s1); left: var(--s1); background: var(--surface); }
.pcard-body { display: grid; gap: var(--s0); padding-top: var(--s1-5); }
.pcard-name { font-size: var(--t2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard:not(.is-soldout) .badge-soldout { display: none; }
.pcard.is-soldout .pcard-img::after { content: ""; position: absolute; inset: 0; background: var(--surface); opacity: .55; }
.pcard.is-soldout .badge-soldout { top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); }
.pcard.is-soldout .badge-brand { display: none; }
.pcard.is-soldout .pcard-name, .pcard.is-soldout .price { color: var(--ink-2); }
.pcard.is-soldout .price-rate { display: none; }
.plist-rank { counter-reset: rank; }
.plist-rank .pcard { counter-increment: rank; }
.plist-rank .pcard-img::before { content: counter(rank); position: absolute; top: 0; left: 0; z-index: 1; display: flex; align-items: center; justify-content: center; width: var(--h-xs); height: var(--h-xs); background: var(--ink); color: var(--surface); font-size: var(--t2); font-weight: var(--w-num); }
.plist-rank .pcard-img .badge-brand { left: auto; right: var(--s1); }
@media (min-width: 768px) {
  .plist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
  .plist-scroll { grid-template-columns: none; grid-auto-columns: 30%; margin: 0 calc(var(--s4) * -1); padding: 0 var(--s4); scroll-padding: 0 var(--s4); }
}
@media (min-width: 1024px) {
  .plist, .plist-scroll { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--s5) 28px; }
  .plist-scroll { grid-auto-flow: row; overflow: visible; margin: 0; padding: 0; }
  .sec .plist-scroll, .plist-main { grid-template-columns: repeat(var(--cols-main), minmax(0, 1fr)); gap: var(--s5) var(--s3); }
}

/* 10. 가격 · 배지 · 개수 */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: var(--price); }
.price-rate { color: var(--brand); font-weight: var(--w-num); }
.price-sale { font-weight: var(--w-num); }
.price-orig { color: var(--ink-2); font-size: var(--t1); }
.price-lg { font-size: var(--t5); }
.price-lg .price-orig { font-size: var(--t2); }
.badge { display: inline-flex; align-items: center; height: var(--s3); padding: 0 var(--s1); border-radius: var(--r0); background: var(--bg); color: var(--ink); font-size: var(--t0); font-weight: 700; white-space: nowrap; }
.badge-brand, .pcard-img .badge-brand { background: var(--brand); color: var(--surface); }
.badge-soldout, .pcard-img .badge-soldout { background: var(--ink); color: var(--surface); }
.badge-adult { background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--surface); font-size: 11px; font-weight: 700; line-height: 1; }

/* 11. 구역 제목 · 탭 · 칩 */
.sec { padding-top: var(--sec-gap); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.sec-head p { color: var(--ink-2); }
.tabs { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs-item { flex: none; display: flex; align-items: center; height: var(--h-sm); padding: 0 20px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t2); font-weight: 600; white-space: nowrap; }
.tabs-item.is-active, .tabs-item.is-active:hover { background: var(--active); box-shadow: none; color: var(--surface); }
.tabs-line { position: relative; gap: 0; background: var(--surface); box-shadow: inset 0 -1px 0 var(--line); }
.tabs-line .tabs-item { flex: 1; justify-content: center; height: 56px; padding: 0 var(--s1); border-radius: 0; box-shadow: none; background: none; color: var(--ink-2); }
.tabs-line .tabs-item.is-active, .tabs-line .tabs-item.is-active:hover { background: none; color: var(--active); box-shadow: inset 0 -2px 0 var(--active); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s2); border-radius: var(--r-pill); background: var(--bg); font-weight: 600; }

/* 12. 수량 고르기 */
.qty { display: inline-flex; align-items: center; border-radius: var(--r1); box-shadow: inset 0 0 0 1px var(--line); }
.qty .icon { width: 20px; height: 20px; }
.qty-num { width: 40px; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty-num::-webkit-inner-spin-button, .qty-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-num:focus { outline: 0; }

/* 13. 면 (구역 묶음) · 모바일은 띠로 나누고, PC 는 선으로 둘러요 */
.panel { display: grid; gap: var(--s3); align-content: start; margin: 0 calc(var(--s2) * -1); padding: var(--s3) var(--s2); border-top: var(--s1) solid var(--bg); background: var(--surface); }
@media (min-width: 768px) { .panel { margin: 0; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r2); } }

/* 14. 상품 줄 (장바구니 · 주문) */
.items { display: grid; }
.item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: var(--s2); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
.item:last-child { padding-bottom: 0; }
.item > .img { border-radius: var(--r1); }
.item > .more { align-self: start; }
.item-name { font-weight: 600; }
.item-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1); margin-top: var(--s1); }
.item-price { font-weight: 700; white-space: nowrap; }
.item-track a { color: var(--brand); text-decoration: underline; }
.items-sm .item { grid-template-columns: 72px minmax(0, 1fr) auto; }
@media (min-width: 1024px) { .item { grid-template-columns: 112px minmax(0, 1fr) auto; gap: var(--s3); } .items-sm .item { grid-template-columns: 80px minmax(0, 1fr) auto; } }

/* 15. 합계 · 정보 표 */
.sum { display: grid; gap: var(--s1-5); }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.sum-row dt { color: var(--ink-2); }
.sum-total { margin-top: var(--s1); padding-top: var(--s2); border-top: 1px solid var(--line); align-items: baseline; font-weight: 700; }
.sum-total dt { color: var(--ink); }
.info { display: grid; gap: var(--s1-5); }
.info > div { display: grid; grid-template-columns: minmax(6.5em, 28%) minmax(0, 1fr); gap: var(--s2); }
.info dt { color: var(--ink-2); }

/* 16. 주문 단계 */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s0); padding: var(--s3) 0 var(--s4); }
.steps-item { display: grid; gap: var(--s1); font-size: var(--t1); color: var(--ink-2); text-align: center; }
.steps-item::before { content: ""; height: var(--s0); border-radius: 2px; background: var(--line); }
.steps-item.is-done::before, .steps-item.is-current::before { background: var(--brand); }
.steps-item.is-current { color: var(--ink); font-weight: 700; }
/* 마이쇼핑 주문 처리 현황: 단계마다 숫자(막대 없이) */
.steps-count { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; }
.steps-count .steps-item::before { content: none; }
.steps-count .num { color: var(--ink); }
@media (min-width: 768px) { .steps { padding: var(--s1) 0 var(--s2); } }

/* 17. 안내 · 펼쳐 보기 */
.msg { display: flex; align-items: flex-start; gap: var(--s1); padding: var(--s2); border-radius: var(--r1); background: var(--bg); font-size: var(--t1); }
.panel .msg { padding: 0; background: none; }
.msg .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.acc-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--h-sm); font-size: var(--t1); color: var(--ink-2); list-style: none; cursor: pointer; }
.acc-head::-webkit-details-marker, .row::-webkit-details-marker { display: none; }
.acc-head .icon { width: 18px; height: 18px; }
.acc-head .icon, .row .icon-down { transition: transform var(--t-slow) var(--ease); }
[open] > .acc-head .icon, [open] > .row .icon-down { transform: rotate(180deg); }
.is-closing > .acc-head .icon, .is-closing > .row .icon-down { transform: none; }
.acc-body { display: grid; gap: var(--s1); padding-bottom: var(--s1); font-size: var(--t1); color: var(--ink-2); }
/* 회원 탈퇴(마이페이지 회원 정보 맨 아래): 작은 회색 글자 하나 → 누르면 안내 · 비밀번호 · 단추가 펼쳐진다(2026-10-29, 누누리와 같은 방식) */
:where([data-leave-form]) .acc-head { justify-content: flex-start; min-height: 0; font-size: var(--t0); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
:where([data-leave-form]) .acc-body { gap: var(--s2); padding-top: var(--s2); }   /* :where = 스킨(누누리 등)이 자기 규칙으로 덮을 수 있게 약하게 */

/* 18. 줄 목록 rows (공지 · 메인 공지 · 이전 글 다음 글 · 자주 묻는 질문) · 줄 안: kicker(앞) · 제목 · meta(끝) */
.rows { display: grid; border-top: 2px solid var(--ink); }
.rows > * { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s0) var(--s2); padding: var(--s2) 0; }
.row > * { grid-column: 2; }
.row > .kicker, .row > .badge { grid-column: 1; }
.row > .meta, .row > .icon { grid-column: 3; }
.row > .meta { grid-column: 2; grid-row: 2; font-variant-numeric: tabular-nums; }
/* 앞 칸(분류 · 표시) 없는 줄: 내용 · 오른쪽 끝(버튼 · 화살표) 두 칸 */
.row.row-plain { grid-template-columns: minmax(0, 1fr) auto; }
/* 별점 · 후기 사진(작은 네모 줄). 후기 쓰기에서는 사진마다 빼기 버튼이 얹힌다 */
.stars { color: var(--brand); letter-spacing: 1px; white-space: nowrap; }
.thumbs { display: flex; flex-wrap: wrap; gap: var(--s1); }
.thumbs:empty { display: none; }
.thumbs > * { position: relative; display: block; width: 80px; aspect-ratio: 1; border-radius: var(--r1); overflow: hidden; background: var(--bg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .btn-icon { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); }
.row.row-plain > * { grid-column: auto; grid-row: auto; }
.row.row-plain > .btns { justify-content: flex-end; }
/* 지난 쿠폰(사용 · 기간 끝)은 흐리게 */
.row.is-off { opacity: .5; }
@media (max-width: 767px) { .row:not(:has(> .kicker:not([hidden]), > .badge:not([hidden]))) > :not(.icon) { grid-column: 1 / 3; } }
@media (min-width: 768px) {
  .row { grid-template-columns: 5em minmax(0, 1fr) auto; column-gap: var(--s3); padding: 20px var(--s1); }
  .row > .meta { grid-column: 3; grid-row: auto; }
}

/* 19. 빈 화면 · 불러오는 중 */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s5) var(--s2); text-align: center; }
.empty > .icon { width: 56px; height: 56px; margin-bottom: var(--s1); color: var(--ink-2); }
.empty > p:not(.h3), .empty > [data-v] { color: var(--ink-2); }
.empty > .btns { margin-top: var(--s2); }
.empty-code { font-size: 64px; font-weight: var(--w-num); line-height: 1; color: var(--brand); }
.empty-page { padding: var(--s6) var(--s2); }
.loading { display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s6) 0; color: var(--ink-2); }
.loading-spin { width: 32px; height: 32px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }

/* 20. 쪽 번호 */
.pager { display: flex; justify-content: center; gap: var(--s0); padding-top: var(--s5); }
.pager-item { display: flex; align-items: center; justify-content: center; min-width: var(--h-sm); height: var(--h-sm); border-radius: var(--r1); font-weight: 600; color: var(--ink-2); }
.pager-item .icon { width: 20px; height: 20px; }
.pager-item.is-current, .pager-item.is-current:hover { background: var(--active); color: var(--surface); }
.pager-item.is-off { opacity: .3; pointer-events: none; }

/* 21. 슬라이더 (배너 · 상품 사진) */
.slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider-nav { position: absolute; right: var(--s2); bottom: var(--s2); display: flex; align-items: center; gap: var(--s1); pointer-events: none; }
.slider-nav button { pointer-events: auto; }
.slider-count { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--s1-5); border-radius: var(--r-pill); background: var(--ink); color: var(--surface); font-size: var(--t0); font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
.slider.is-single .slider-nav { display: none; }

/* 22. 긴 글 (공지 · 약관 · 상세 설명) */
.prose { display: grid; gap: var(--s2); max-width: 46em; line-height: 1.8; }
.prose h2 { font-family: var(--font-h); font-size: var(--t4); font-weight: 700; line-height: 1.4; margin-top: var(--s3); }
.prose h3 { font-size: var(--t3); font-weight: 700; line-height: 1.5; margin-top: var(--s1); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { display: grid; gap: var(--s0); padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

/* 23. 상단바 · 혜택 띠 · 전체 분류 · 옆 메뉴 */
.promo { background: var(--ink); color: var(--surface); font-size: var(--t1); }
.promo-in { display: flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 40px; text-align: center; }
.promo a:hover { color: inherit; text-decoration: underline; }
.promo-in > span { color: var(--line); }
.hd { position: sticky; top: 0; z-index: 20; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.hd-bar { position: relative; display: flex; align-items: center; gap: var(--s1); height: var(--hd-bar); transition: height var(--t-slow) var(--ease); }
.hd.is-stuck .hd-bar { height: var(--hd-bar-stuck); }
.hd-logo { flex: 1; display: flex; align-items: center; min-width: 0; }
.hd-logo img, .ft-biz > img { height: 28px; width: auto; }
.logo { font-size: var(--t4); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.hd-search { display: none; }
.hd.is-search .hd-search { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; gap: var(--s1); padding: 0 var(--s2); background: var(--surface); }
.hd-search .input { flex: 1; min-width: 0; height: var(--h-sm); border: 0; background: var(--bg); }
.hd-search .input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.hd-util { display: flex; align-items: center; margin-right: calc(var(--s1) * -1); }
.hd-nav { position: relative; }
.hd-nav-in { display: flex; align-items: center; gap: var(--s3); height: var(--hd-nav); }
.hd-cats { flex: 1; display: flex; gap: var(--s3); height: 100%; margin: 0 calc(var(--s2) * -1); padding: 0 var(--s2); overflow-x: auto; scrollbar-width: none; }
.hd-cats::-webkit-scrollbar { display: none; }
.hd-cats a { flex: none; display: flex; align-items: center; height: 100%; font-size: var(--t2); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hd-cats a.is-active { color: var(--active); box-shadow: inset 0 -2px 0 var(--active); }
.allcat { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(0, 0, 0, .25); }
.allcat-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s5); }
.allcat ul { display: grid; gap: var(--s1-5); margin-top: var(--s2); color: var(--ink-2); }
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.drawer-panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s3); width: min(86%, 360px); height: 100%; padding: 0 var(--s3) var(--s4); overflow-y: auto; background: var(--surface); }
.drawer-dim { position: absolute; inset: 0; background: var(--ink); opacity: .45; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin-right: calc(var(--s1) * -1); }
.drawer-nav { display: grid; }
.drawer-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: var(--t3); font-weight: 600; }
.drawer-sub { display: grid; gap: var(--s2); color: var(--ink-2); }
.drawer-sub a { display: flex; align-items: center; gap: var(--s1); }
@media (min-width: 768px) { .hd-cats { margin: 0; padding: 0; } }
@media (min-width: 1024px) {
  .hd-bar { gap: var(--s4); }
  .hd-logo { flex: none; }
  .hd-logo img { height: 36px; }
  .logo { font-size: 28px; }
  .hd-search { position: relative; display: flex; flex: 1; max-width: 560px; align-items: center; }
  .hd-search .input { height: 48px; padding: 0 56px 0 var(--s3); border-radius: var(--r-pill); }
  .hd-search .btn-icon { position: absolute; right: var(--s0); }
  .hd-util { gap: var(--s0); margin: 0 calc(var(--s1) * -1) 0 auto; }
  .hd-util .btn-icon { width: auto; min-width: 64px; height: 56px; }
  .hd-util .btn-icon-label { display: block; }
  .hd-nav { box-shadow: inset 0 1px 0 var(--line); }
  .hd-nav-in { gap: var(--s4); }
  .hd-all { display: flex; align-items: center; gap: var(--s1); height: 100%; font-size: var(--t2); font-weight: 700; }
  .hd-all[aria-expanded="true"] { color: var(--brand); }
  .hd-all .icon { width: 20px; height: 20px; }
  .hd-cats { gap: var(--s4); }
  .hd-nav-sub { display: flex; gap: var(--s3); font-size: var(--t1); color: var(--ink-2); }
}

/* 24. 하단바 · 아래 고정 메뉴 (진열대만 켜요: --tabbar: grid) */
.ft { padding: var(--s5) 0; background: var(--bg); }
.ft-in { display: grid; gap: var(--s3); font-size: var(--t1); color: var(--ink-2); }
.ft-top { display: grid; gap: var(--s3); }
.ft-menu { display: flex; flex-wrap: wrap; gap: var(--s1-5) var(--s3); font-size: var(--t2); font-weight: 600; color: var(--ink); }
.ft-biz { display: grid; gap: var(--s1-5); padding-top: var(--s3); border-top: 1px solid var(--line); }
.ft-biz .h4 { font-family: var(--font); font-size: var(--t2); font-weight: var(--w-h); color: var(--ink); }
.ft-info { display: flex; flex-wrap: wrap; gap: var(--s0) var(--s2); }
.ft-info div { display: flex; gap: var(--s1); }
.ft .kicker { font-size: var(--t2); color: var(--ink); }
.ft .num { color: var(--ink); letter-spacing: -.01em; }
.tabbar { display: none; }
body:has(.buybar) .ft { padding-bottom: calc(80px + var(--s5)); }
@media (min-width: 1024px) {
  .ft, body:has(.buybar) .ft { padding: var(--s5) 0; }
  .ft-in { gap: var(--s4); }
  .ft-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .ft-menu { gap: var(--s4); }
}

/* 25. 메인: 큰 배너 · 분류 바로가기 · 기획전 · 브랜드 소개 */
.banner { position: relative; display: block; color: var(--surface); }
.banner:hover { color: var(--surface); }
.banner > .img { aspect-ratio: var(--banner-ratio); background: var(--ink-2); }
.banner > .img::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, var(--ink)); opacity: .6; }
.banner-text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: var(--s1); justify-items: start; padding-bottom: var(--s5); }
.banner .kicker { color: inherit; }
.banner .h1 { font-weight: 800; }
.banner-link { display: none; }
.hero .slider-nav .btn-icon { display: none; }
.cats { padding-top: var(--s4); }
.cats-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) var(--s1); }
.cats-link { display: grid; justify-items: center; gap: var(--s1); text-align: center; }
.cats-link .img { width: 100%; max-width: 68px; border-radius: 22px; }
.cats-link > span:last-child { font-size: var(--t1); font-weight: 600; line-height: 1.35; }
.feature { display: grid; gap: var(--s2); padding-top: var(--sec-gap); }
.feature-item { display: grid; gap: var(--s2); }
.feature-item:hover { color: var(--ink); }
.feature-item > .img { aspect-ratio: 16 / 9; border-radius: var(--r2); }
.feature-text { display: grid; gap: var(--s0); justify-items: start; }
.feature-text .more { margin-top: var(--s0); }
.about { margin-top: var(--sec-gap); padding: var(--sec-gap) 0; background: var(--bg); }
.about-in { display: grid; gap: var(--s3); }
.about-in > .img { aspect-ratio: 4 / 3; border-radius: var(--r2); background: var(--line); }
.about-text { display: grid; gap: var(--s2); justify-items: start; color: var(--ink-2); }
.about-text .h2 { color: var(--ink); }
.about-text .btn { margin-top: var(--s1); }
.news .rows { border-top-width: 1px; }
@media (min-width: 768px) {
  .banner { --banner-ratio: 16 / 9; }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .about-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
}
@media (min-width: 1024px) {
  .banner > .img { aspect-ratio: auto; height: var(--banner-h); }
  .banner-text { padding-bottom: var(--s6); }
  .banner .h1 { font-size: var(--t7); }
  .banner p:not(.h1):not(.kicker) { font-size: var(--t3); }
  .banner-link { display: inline-flex; align-items: center; height: 48px; margin-top: var(--s2); padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-weight: 700; }
  .hero .slider-nav { left: 0; right: 0; bottom: var(--s4); width: 100%; padding: 0 var(--s4); justify-content: flex-end; margin: 0 auto; }
  .hero .slider-nav .btn-icon { display: flex; border-radius: 50%; background: var(--surface); color: var(--ink); }
  .cats { padding-top: var(--s5); }
  .cats-list { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s3); }
  .cats-link .img { max-width: 96px; border-radius: 28px; }
  .cats-link > span:last-child { font-size: var(--t2); }
  .feature { gap: var(--s4); }
  .feature .h3 { font-size: var(--t5); }
  .about-in { gap: var(--s6); }
  .about-text { max-width: 30em; }
}

/* 26. 상품 상세 · PC: 왼쪽 사진 + 상세 설명, 오른쪽 구매 칸이 따라와요 */
.pd { display: grid; padding-bottom: 80px; }
.pd-media { margin: 0 calc(var(--s2) * -1); }
.pd-thumbs { display: none; }
.pd-info { display: grid; gap: var(--s3); padding-top: var(--s3); }
.pd-ship { padding: var(--s2) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--t1); }
.pd-head > p { color: var(--ink-2); }
.pd-head > div { display: flex; flex-wrap: wrap; gap: var(--s0); }
.pd-form > .meta { margin-top: calc(var(--s2) * -1); text-align: right; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s1); padding: var(--s1-5) var(--s2) calc(var(--s1-5) + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--line); }
.buybar:has(> [hidden]) { grid-template-columns: 1fr; }   /* 버튼 하나만 남을 때(정기배송 신청) 한 줄 가득 */
.pd-soldout { display: none; font-weight: 700; color: var(--brand); text-align: center; }
.pd.is-soldout .pd-soldout { display: block; }
.pd-detail { margin: var(--s5) calc(var(--s2) * -1) 0; }
.pd-detail > .tabs { position: sticky; top: var(--hd); z-index: 10; }
.pd-sec { display: grid; gap: var(--s3); padding: var(--s5) var(--s2) 0; scroll-margin-top: calc(var(--hd) + 56px); }
.pd-sec .img { aspect-ratio: 4 / 5; }
@media (min-width: 768px) {
  .pd-media { margin: 0; }
  .pd-media .slider-track { border-radius: var(--r2); }
  .pd-detail { margin: var(--s5) 0 0; }
  .pd-sec { padding: var(--s5) 0 0; }
}
@media (min-width: 1024px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-rows: auto auto 1fr; column-gap: var(--s5); padding-bottom: 0; }
  .pd > .crumbs { grid-column: 1 / -1; padding-bottom: var(--s3); }
  .pd-media .slider-nav { display: none; }
  .pd-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s1); margin-top: var(--s2); }
  .pd-thumbs .img { border-radius: var(--r1); outline: 2px solid transparent; outline-offset: -2px; transition: outline-color var(--t-fast) var(--ease); }
  .pd-thumbs .is-active { outline-color: var(--ink); }
  .pd-info { grid-column: 2; grid-row: 2 / span 2; align-self: start; position: sticky; top: calc(var(--hd) + var(--s3)); padding-top: 0; }
  .buybar { position: static; grid-template-columns: 1fr 1fr; padding: 0; box-shadow: none; background: none; }
  .pd-detail { grid-column: 1; }
}

/* 27. 약관 · 공지 보기 · 검색 · 주문 조회 · 주문 완료 */
.doc-head { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.doc-head .page-title { padding-bottom: 0; }
.doc-grid { display: grid; gap: var(--s4); padding-top: var(--s4); }
.doc-toc { display: grid; gap: var(--s1-5); }
.doc-toc ol { display: grid; gap: var(--s0); padding-left: 1.3em; list-style: decimal; color: var(--ink-2); }
.doc-sec { display: grid; gap: var(--s2); scroll-margin-top: calc(var(--hd) + var(--s3)); }
.doc-body { gap: var(--s4); }
.post-head { display: grid; gap: var(--s2); justify-items: start; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.post-head .more { margin-left: calc(var(--s0) * -1); font-size: var(--t2); }
.post-head .more .icon { width: 20px; height: 20px; }
.post-head .meta { display: flex; align-items: center; gap: var(--s1); }
.post-body { padding: var(--s4) 0 var(--s5); }
.post-nav { border-top-width: 1px; border-top-color: var(--line); }
.post-nav .kicker { color: var(--ink-2); }
.post-nav + .btns { padding-top: var(--s4); }
.srch-form { display: flex; gap: var(--s1); max-width: 720px; margin: var(--s3) auto var(--s4); }
.srch-form .input { flex: 1; min-width: 0; }
.srch-form .btn { flex: none; padding: 0 var(--s2); }
.srch-tags { display: grid; gap: var(--s1-5); margin-top: var(--s3); }
.bar > p { color: var(--ink-2); }
.bar > p b { color: var(--ink); }
.bar .h3 b, .bar .h3 span { font-weight: var(--w-num); }
.bar .h3 span { color: var(--brand); }
.lookup-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1); }
.done-head { display: grid; justify-items: center; gap: var(--s0); padding: var(--s5) 0 var(--s4); text-align: center; }
.done-head .page-title { padding: var(--s2) 0; }
.done-head p { color: var(--ink-2); }
.done-head .num { color: var(--ink); }
.lookup { padding-top: var(--s5); }
.faq-more { padding-top: var(--s4); color: var(--ink-2); text-align: center; }
.faq-more a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.done-head > .icon { width: 56px; height: 56px; color: var(--brand); animation: draw calc(var(--t-slow) * 1.2) var(--ease) 100ms both; }
.done-copy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }
.done-amount { font-weight: var(--w-num); color: var(--brand); }
.panels + .btns-split, .panels > .btns-split { padding-top: var(--s4); }
@media (min-width: 768px) {
  .srch-form .btn { padding: 0 var(--s3); }
  .done-head { padding: var(--s6) 0 var(--s4); }
}
@media (min-width: 1024px) {
  .doc-grid { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s6); padding-top: var(--s5); }
  .doc-toc { position: sticky; top: calc(var(--hd) + var(--s3)); align-self: start; }
  .post-head { padding: var(--s5) 0 var(--s4); }
  .post-body { padding: var(--s5) 0 var(--s6); }
  .srch-form { margin: var(--s5) auto; }
  .bar .h3 { font-size: var(--t5); }
}

/* 28. 자주 묻는 질문 · 펼침 줄 */
.row.faq { grid-template-columns: minmax(0, 1fr) auto; list-style: none; cursor: pointer; }
.row.faq > .kicker, .row.faq > .h4 { grid-column: 1; }
.row.faq > .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-2); }
.faq-a { padding: 0 0 var(--s3); color: var(--ink-2); }
@media (min-width: 768px) {
  .row.faq { grid-template-columns: 7em minmax(0, 1fr) auto; }
  .row.faq { grid-template-columns: 7em minmax(0, 1fr) auto; }
  .row.faq > .kicker, .row.faq > .h4, .row.faq > .icon { grid-column: auto; grid-row: auto; }
  .faq-a { padding: 0 var(--s1) var(--s3) calc(7em + var(--s3) + var(--s1)); }
}

/* 29. 장바구니 패널 (layout.html [data-panel] · 2026-10-31) · 엔진이 /cart 페이지의 <main> 을 .panel-view 로 넣고 is-open 을 붙여요.
   PC = 오른쪽 패널, 폰 = 꽉 찬 화면. 엔진은 닫고 --t-panel 뒤에 틀을 숨겨요 */
.spanel { position: fixed; inset: 0; z-index: 60; }
.spanel-dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity var(--t-panel) var(--ease); }
.spanel.is-open .spanel-dim { opacity: .45; }
.spanel-box { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(100%, var(--w-panel)); background: var(--surface); transform: translateX(100%); transition: transform var(--t-panel) var(--ease); }
.spanel.is-open .spanel-box { transform: none; }
.spanel-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s1); min-height: var(--hd-bar); padding: 0 var(--s1) 0 var(--s2); box-shadow: 0 1px 0 var(--line); }
.spanel-title { min-width: 0; overflow: hidden; font-family: var(--font); font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.spanel-body { position: relative; flex: 1; min-height: 0; }
.spanel .panel-view { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s2) var(--s2) calc(var(--s3) + env(safe-area-inset-bottom)); }
.spanel .panel-view.is-under { visibility: hidden; }
.spanel .page-title { display: none; }   /* 제목은 패널 머리줄에 */
.spanel .wrap { padding: 0; }
.spanel .split { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.spanel .split-side { position: static; }

/* 30. 움직임 · 시간과 곡선은 1번 변수의 --ease · --t-fast · --t-slow 만 써요. 움직임 줄이기 설정이면 맨 아래에서 꺼요 */
a, .opt-item, .tabs-item, .chip, .pager-item, .btn-icon, .input, .more { transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.btn { transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:active:not(:disabled), .btn-icon:active:not(:disabled) { transform: scale(.97); }
.opt-item:active { transform: scale(.98); }
/* 상품 카드: 올리면 사진 살짝 확대 · 그림자, 누르면 살짝 눌림 */
.pcard { transition: transform var(--t-fast) var(--ease); }
.pcard:active { transform: scale(.985); }
.pcard-img { transition: box-shadow var(--t-slow) var(--ease); }
.pcard-img img { transition: transform calc(var(--t-slow) * 1.2) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) {
  .pcard:hover .pcard-img { box-shadow: 0 16px 32px -20px rgba(0, 0, 0, .35); }
  .pcard:hover .pcard-img img { transform: scale(1.05); }
}
/* 메인 스크롤 등장: common.js 가 rv 를 붙이고, 화면에 들어오면 is-in (카드는 --rv-i 로 차례차례) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--rv-i, 0) * 70ms); }
.rv.is-in { opacity: 1; transform: none; }
/* 큰 배너: 지금 장은 is-current. 옆 장은 흐려지고, 글자는 차례로 올라오고, 사진은 아주 천천히 확대 */
.hero .is-motion .slider-slide { opacity: .35; transition: opacity var(--t-slow) var(--ease); }
.hero .is-motion .slider-slide.is-current { opacity: 1; }
.banner > .img img { transition: transform calc(var(--t-slow) * 16) var(--ease), opacity var(--t-slow) var(--ease); }
.is-current > .img img { transform: scale(1.06); }
.is-motion .banner-text > * { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.is-motion .is-current .banner-text > * { opacity: 1; transform: none; transition-delay: 120ms; }
.is-motion .is-current .banner-text > :nth-child(2) { transition-delay: 200ms; }
.is-motion .is-current .banner-text > :nth-child(3) { transition-delay: 280ms; }
.is-motion .is-current .banner-text > :nth-child(4) { transition-delay: 360ms; }
/* 상단바: 전체 분류는 위에서 내려오고, 메뉴는 옆에서 밀려 나오고, 모바일 검색은 부드럽게 (hidden 을 그대로 쓰면서 움직여요) */
.allcat, .drawer, .hd-search { transition-property: opacity, transform, display; transition-duration: var(--t-fast); transition-timing-function: var(--ease); transition-behavior: allow-discrete; }
.drawer { transition-duration: var(--t-slow); }
.allcat[hidden] { opacity: 0; transform: translateY(-8px); }
.drawer-panel { transition: transform var(--t-slow) var(--ease); }
.drawer-dim { transition: opacity var(--t-slow) var(--ease); }
.drawer[hidden] .drawer-panel { transform: translateX(100%); }
.drawer[hidden] .drawer-dim { opacity: 0; }
@starting-style {
  .allcat:not([hidden]) { opacity: 0; transform: translateY(-8px); }
  .drawer:not([hidden]) .drawer-panel { transform: translateX(100%); }
  .drawer:not([hidden]) .drawer-dim { opacity: 0; }
  .hd.is-search .hd-search { opacity: 0; transform: translateY(-6px); }
}
.hd:not(.is-search) .hd-search { opacity: 0; transform: translateY(-6px); }
@media (min-width: 1024px) { .hd:not(.is-search) .hd-search, .hd .hd-search { opacity: 1; transform: none; } }
/* 장바구니 개수 · 금액이 바뀌면 */
.count.is-bump { animation: bump var(--t-slow) var(--ease); }
.is-changed { display: inline-block; animation: num-up var(--t-slow) var(--ease); }
/* 상품 상세: 큰 사진 바뀜 · 탭 밑줄 */
.slider-track { transition: opacity var(--t-fast) var(--ease); }
.slider-track.is-swap { opacity: .3; }
.tabs-line.has-ind::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--ind-w, 0); height: 2px; background: var(--ind-c, var(--ink)); transform: translateX(var(--ind-x, 0)); transition: transform var(--t-slow) var(--ease), width var(--t-slow) var(--ease); pointer-events: none; }
.tabs-line.has-ind .tabs-item.is-active, .tabs-line.has-ind .tabs-item.is-active:hover { box-shadow: none; }
/* 장바구니 · 주문서: 빼는 줄은 접히며 사라지고, 틀린 칸 안내는 부드럽게 */
.item.is-leaving { overflow: hidden; transition: height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease), opacity var(--t-fast) var(--ease); }
.item.is-leaving.is-gone { padding-top: 0; padding-bottom: 0; border-top-width: 0; opacity: 0; }
.field.is-error .field-msg { animation: fade-down var(--t-fast) var(--ease); }
/* 주문 완료: 체크가 그려지고, 주문번호 · 입금 안내가 차례로 */
.done-head > *, [data-complete] .panels > * { animation: rise var(--t-slow) var(--ease) both; }
.done-head > :nth-child(2) { animation-delay: 240ms; }
.done-head > :nth-child(3) { animation-delay: 320ms; }
.done-head > :nth-child(4) { animation-delay: 400ms; }
.done-head > :nth-child(5) { animation-delay: 480ms; }
[data-complete] .panels > :nth-child(2) { animation-delay: 560ms; }
[data-complete] .panels > :nth-child(3) { animation-delay: 640ms; }
[data-complete] .panels > :nth-child(4) { animation-delay: 720ms; }
[data-complete] .panels > :nth-child(5) { animation-delay: 800ms; }
/* 불러오는 중 · 사진 자리: 은은한 반짝임, 사진이 다 오면 부드럽게 (is-loading · is-wait 는 common.js 가 붙여요) */
.img.is-loading { background-image: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--surface) 70%, transparent) 50%, transparent 80%); background-size: 200% 100%; background-repeat: no-repeat; animation: shimmer calc(var(--t-slow) * 3) linear infinite; }
.img img.is-wait { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }
@keyframes num-up { from { opacity: 0; transform: translateY(40%); } }
@keyframes bump { 30% { transform: scale(1.35); } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .loading-spin, .btn.is-busy::before { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
  .img.is-loading { background-image: none; }
  .rv, .is-motion .banner-text > * { opacity: 1; transform: none; }
  .is-current > .img img, .pcard:hover .pcard-img img { transform: none; }
}

/* ── 이 스킨만: 누누리 전용 ── */
/* 누누리 전용 · 공용(_shared) 스타일 뒤에 붙어요. 구현 명세: nunuly-sian/claude-design/SPEC.md
   틀(.frame) 하나 안에서만 스크롤 · 알약 메뉴 · 오른쪽 패널. cqw · cqh 는 틀 기준(container-type: size)
   폰 = 화면 폭 767px 이하(틀이 화면을 꽉 채워요) */

/* 1. 변수 */
:root {
  /* 공용 변수를 누누리 값으로 */
  --brand: #9A5B60; --ink: #4A3B3B; --ink-2: #7A6765; --line: rgba(74, 59, 59, .14); --bg: #F7F0EC; --surface: #FBF7F4; --active: #4A3B3B;
  --kakao: #FEE500; --kakao-ink: rgba(0, 0, 0, .85);
  --r0: 8px; --r1: 10px; --r2: 14px;
  --t0: 13px; --t1: 14px; --t2: 15px; --t3: 16px; --t4: 18px; --t5: 22px; --t6: 24px; --t7: 42px; /* 글자 크기: 보통 쇼핑몰 기준(본문 15) */
  --t-xs: 11px; --t-sm: 12px; /* 아주 작은 글: 알림 숫자 · 영문 머리말 · 바닥 띠 · 안내 꼬리표 */
  --d1: 26px; --d2: 32px; --d3: 44px; --d4: 56px; /* 큰 글: 큰 금액 · 영문 제목(Thank you · 분류 제목) · 평점 */
  /* 글자 크기 규칙(2026-11-04): font-size 는 위 변수(--t-xs ~ --t7 · --d1 ~ --d4 · --sec-title-fs)만 써요. px 를 직접 쓰지 않아요. 별점 · 일시정지 같은 글자 아이콘 크기만 예외 */
  --font: Pretendard, "Apple SD Gothic Neo", sans-serif; --font-h: var(--font); --w-h: 400; --w-num: 400; --ls-kicker: .2em;
  --h: 48px; --h-sm: 40px; --h-xs: 32px; --hd: 0px; --price: 15px;
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: 180ms; --t-slow: 400ms;

  /* 버튼 · 칸 · 링크 · 간격 (명세 그대로) */
  --btn-h: 48px; --btn-r: 999px; --btn-fs: 15px; --btn-gap: 8px; --btn-w-page: 200px;
  --btn-line: rgba(74, 59, 59, .35);
  --field-h: 48px; --field-line: rgba(74, 59, 59, .22); --field-focus: #9A5B60;
  --q-size: 32px; --link-fs: 14px; --link-c: #6E5B59; --link-c-hover: #4A3B3B; --nav-icon: 18px;
  --gap-label: 8px; --gap-field: 16px; --gap-group: 28px;
  --sec-title-fs: 16px; --sec-title-fw: 500; --sec-title-gap: 16px; /* 구역 제목(주문 상품 · 배송지 · 결제 금액 …) 크기 · 굵기(500, 2026-11-05) · 제목 아래 간격 — 패널 · 페이지 공통 */

  /* 색 */
  --c-milk: #FBF7F4; --c-ink: #4A3B3B; --c-rose: #9A5B60; --c-sky: #4F7895; --c-mute: #7A6765; --c-sub: #6E5B59; --c-err: #A0474D;
  --c-rose-soft: #C98B8E; --c-rose-on-photo: #F6D6D8; --c-kids-dot: #B9D6EC;
  --c-page: #EFE6E2; --c-img-bg: #F7F0EC; --c-img-bg2: #F5EFEA; --c-detail-bg: #F3EAE6; --c-kids-bg: #C9D2BF;
  --line-14: rgba(74, 59, 59, .14); --line-12: rgba(74, 59, 59, .12); --line-10: rgba(74, 59, 59, .10); --line-08: rgba(74, 59, 59, .08);
  --glass: rgba(251, 247, 244, .58); --glass-blur: blur(14px) saturate(1.05);
  --star-off: rgba(74, 59, 59, .18); --hover-bg: rgba(244, 236, 232, .6);

  /* 글꼴 · 여백 · 움직임 */
  --serif: "Cormorant Garamond", Pretendard, serif; --mono: "IBM Plex Mono", monospace;
  --pad: clamp(22px, 3.2cqw, 48px);
  --open: cubic-bezier(.05, .7, .1, 1); --close: cubic-bezier(.3, 0, .8, .15); --back: cubic-bezier(.2, .7, .2, 1);
  --shade-photo: 0 1px 14px rgba(40, 30, 28, .22);
}

/* 2. 페이지 · 둥근 틀 · 스크롤 상자 · 배경 층 */
html, body { height: 100%; overflow: hidden; }
body { background: var(--c-page); font-size: var(--t2); line-height: normal; color: var(--c-ink); } /* 원본처럼 줄 높이는 글꼴 기본값, 긴 글만 따로 */
a:hover { color: inherit; }
b, strong { font-weight: 400; } /* 굵은 글씨 없이 300 · 400 만 */
:focus-visible { outline-color: var(--c-rose); }
.frame { position: fixed; inset: 8px 24px; overflow: clip; border-radius: 12px; background: var(--c-milk); container: frame / size; contain: layout; } /* layout = 배경 층(fixed)도 틀 기준 · 틀 안에서 잘림 */
.page { position: absolute; inset: 0; transition: transform 300ms var(--close); }
.scroller { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; scroll-behavior: smooth; }
.scroller::-webkit-scrollbar { display: none; }
.main { min-height: 0; padding: 0; animation: none; }
/* 배경 층: 틀에 붙어 움직이지 않고, 스크롤하면 살짝 늦게 따라가요(--py, common.js). 사진은 이 안에 */
.bg { position: fixed; top: 0; left: 0; right: 0; z-index: -1; height: calc(100% + 18cqh); overflow: hidden; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.bg img, .bg video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bg img[src=""], .bg img:not([src]) { display: none; }
@media (max-width: 767px) { .frame { inset: 0; border-radius: 0; } }

/* 3. 글자 */
.h1, .h2, .h3, .h4 { font-weight: 400; letter-spacing: -.01em; }
.h1 { font-size: var(--t6); line-height: 1.3; }
.h2 { font-size: clamp(24px, 2cqw, 28px); line-height: 1.35; }
.h3 { font-size: var(--t4); line-height: 1.45; }
.h4 { font-size: var(--t2); font-weight: 400; }
.num { font-size: var(--t5); font-weight: 400; }
.meta { font-size: var(--t1); color: var(--c-mute); }
.kicker { font-size: var(--t0); font-weight: 400; letter-spacing: 0; color: var(--c-rose); }
.t-display { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.05; }
.t-eyebrow { margin: 0; font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; }
.t-serif { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--t6); line-height: 1.2; color: var(--c-mute); }
.t-sub { font-size: var(--t2); font-weight: 300; letter-spacing: .02em; }
.t-mono { font-family: var(--mono); }
.stars { letter-spacing: 2px; color: var(--c-rose-soft); }
.page-title { padding: 0; }
.crumbs { padding: 0; gap: 6px; font-size: var(--t0); color: var(--c-mute); }
.prose { line-height: 1.75; }
.prose h2, .prose h3 { font-weight: 400; }
.prose a { color: var(--c-rose); }

/* 4. 버튼 · 글 링크 */
.btn { gap: var(--btn-gap); height: var(--btn-h); padding: 0 20px; border: 1px solid var(--btn-line); border-radius: var(--btn-r); background: transparent; box-shadow: none; color: var(--c-ink); font-size: var(--btn-fs); font-weight: 400; transition: transform .18s ease, background-color .25s ease, opacity .2s ease; }
.btn:hover { opacity: 1; color: var(--c-ink); }
.btn-brand, .btn-brand:hover { border-color: var(--c-rose); background: var(--c-rose); color: var(--c-milk); }
.btn-kakao, .btn-kakao:hover { border-color: var(--kakao); background: var(--kakao); color: var(--kakao-ink); }
.btn:has(> .logo-google) { border-color: #747775; background: #FFFFFF; color: #1F1F1F; font-family: Roboto, Pretendard, sans-serif; }
.btn .icon, .btn .logo-google { width: 18px; height: 18px; }
.btn-sm { height: var(--h-xs); padding: 0 16px; font-size: var(--t1); }
/* 사진 위 테두리 버튼: 글자 · 선이 놓인 자리 글자색을 따라가요 */
.btn-clear, .btn-clear:hover { border-color: currentColor; background: transparent; color: inherit; text-shadow: none; }
.btn-page { width: var(--btn-w-page); }
.btn:active:not(:disabled) { transform: scale(.97); }
.more { gap: 4px; font-size: var(--link-fs); font-weight: 400; color: var(--link-c); white-space: nowrap; transition: color .2s ease; }
.more:hover { color: var(--link-c-hover); }
.more .icon { width: 12px; height: 12px; }
.btns { gap: 12px; }
.btns-stack, .btns-split { gap: 8px; }
.btn-icon { width: 40px; height: 40px; }
.icon { width: 20px; height: 20px; }

/* 5. 칸: 밑줄만 */
.field { gap: var(--gap-label); }
.field-label { font-size: var(--t1); font-weight: 400; color: var(--c-sub); }
.field-opt { color: var(--c-mute); }
.input { height: var(--field-h); padding: 0; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; background: transparent; color: var(--c-ink); font-size: var(--t3); transition: border-color .25s, box-shadow .25s; }
.input::placeholder { color: #757575; }
.input:focus { border-color: var(--field-focus); box-shadow: 0 .5px 0 0 var(--field-focus); }
.input[readonly] { background: transparent; color: var(--c-sub); }
select.input { padding-right: 24px; background: transparent url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2710%27%20height=%276%27%20viewBox=%270%200%2010%206%27%3E%3Cpath%20d=%27M1%201l4%204%204-4%27%20fill=%27none%27%20stroke=%27%237A6765%27%20stroke-width=%271.2%27/%3E%3C/svg%3E") no-repeat right 4px center / 10px 6px; cursor: pointer; }
textarea.input { min-height: var(--field-h); padding: 13px 0 12px; line-height: 1.6; resize: none; field-sizing: content; }
.field-row { gap: 8px; align-items: center; }
.field-msg { font-size: var(--t0); font-weight: 400; color: var(--c-err); animation: nnFade .3s both; }
.field-msg .icon, .msg .icon { display: none; }
.field.is-error .input[aria-invalid="true"] { border-color: var(--c-err); }
.msg { padding: 0; background: none; font-size: var(--t0); color: var(--c-err); }
.panel .msg { color: var(--c-err); }

/* 체크 상자 · 고르기(라디오) */
.check { align-items: center; gap: 9px; min-height: 0; font-size: var(--t2); }
.check input { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 18px; height: 18px; margin: 0; border: 1px solid rgba(74, 59, 59, .3); border-radius: 5px; background: transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::before { content: ""; width: 12px; height: 12px; background: var(--c-milk); -webkit-mask: url(../assets/icons/check.svg) center / contain no-repeat; mask: url(../assets/icons/check.svg) center / contain no-repeat; opacity: 0; }
.check input:checked { border-color: var(--c-rose); background: var(--c-rose); }
.check input:checked::before { opacity: 1; }
.check-req { font-size: inherit; color: var(--c-rose); }
.opt { gap: 10px; }
.opt-title { float: none; margin: 0; font-size: var(--t1); font-weight: 400; color: var(--c-sub); }
.opt-list { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 4px 0; }
.opt-item { flex-direction: row; gap: 8px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.opt-item::before { content: ""; flex: none; width: 18px; height: 18px; border: 1px solid rgba(74, 59, 59, .3); border-radius: 50%; transition: border-color .2s, background .2s; }
.opt-item:has(input:checked) { border: 0; box-shadow: none; color: var(--c-ink); }
.opt-item:has(input:checked)::before { border-color: var(--c-rose); background: radial-gradient(circle, var(--c-rose) 0 4px, transparent 4.5px); }
.opt-item > :first-of-type { font-weight: 400; }
.opt-item.is-soldout { background: none; color: var(--c-mute); }

/* 6. 묶음 · 표 · 줄 (패널 · 페이지 공통) */
.panels { gap: var(--gap-group); }
.panel { gap: var(--gap-field); margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.panel > .h3, .panel > .h4, .sec-head { padding-bottom: 10px; border-bottom: 1px solid var(--line-12); font-size: var(--sec-title-fs); font-weight: var(--sec-title-fw); }
.panel > :is(.h3, .h4) + .info { border-top: 0; } /* 묶음 제목 밑줄과 표 윗줄이 겹치지 않게 */
.sec-head { align-items: center; margin: 0; }
.sec-head .h3, .sec-head .h4 { font-size: var(--sec-title-fs); font-weight: var(--sec-title-fw); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: var(--gap-group); }
.split-side { position: static; }
.items { display: block; }
.item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 0; border-bottom: 1px solid var(--line-10); }
.item:first-child { padding-top: 16px; }
.item:last-child { padding-bottom: 16px; }
.item > .img { border-radius: var(--r1); background: var(--c-img-bg); }
.item > .more { align-self: start; }
.item-name { font-size: var(--t3); font-weight: 400; }
.item-foot { margin-top: 10px; }
.item-price { font-size: var(--t3); font-weight: 400; font-variant-numeric: tabular-nums; }
.items-sm .item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border: 0; }
.qty { gap: 12px; border-radius: 0; box-shadow: none; }
.qty .btn-icon { width: var(--q-size); height: var(--q-size); border: 1px solid var(--btn-line); border-radius: 50%; transition: transform .15s ease; }
.qty .btn-icon:active:not(:disabled) { transform: scale(.9); }
.qty .icon { width: 14px; height: 14px; }
.qty-num { width: 16px; font-weight: 400; font-variant-numeric: tabular-nums; }
.sum { gap: 14px; } /* 금액 줄 사이(주문서 · 장바구니 · 주문 완료 · 주문 상세 공통) */
.sum-row { gap: 12px; }
.sum-row dt { color: var(--c-mute); }
.sum-total { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line-10); font-weight: 400; }
.sum-total .num, .sum-total dd { font-size: var(--t5); font-variant-numeric: tabular-nums; }
.info { gap: 0; border-top: 1px solid var(--line-14); font-size: var(--t2); line-height: 1.6; }
.info > div { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-10); }
.info dt { color: var(--c-mute); }
.rows { border-top: 1px solid var(--line-14); }
.rows > * { border-bottom-color: var(--line-10); }
.row { padding: 16px 0; transition: background-color .25s ease; }
a.row:hover { background: var(--hover-bg); }
a.row.row-plain { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row .icon { width: 14px; height: 14px; color: var(--c-mute); }
.badge { height: 20px; padding: 0 8px; border-radius: var(--r-pill); font-size: var(--t0); font-weight: 400; }
.count { font-weight: 400; }
.steps-count { padding: 18px 0; gap: 0; border-top: 1px solid var(--line-14); border-bottom: 1px solid var(--line-14); }
.steps-count .steps-item { gap: 8px; font-size: var(--t0); white-space: nowrap; }
.steps-count .steps-item + .steps-item { border-left: 1px solid var(--line-10); }
.steps-count .num { font-size: var(--t6); font-weight: 300; line-height: 1; }
.tabs { gap: 6px; }
.tabs-item { height: 32px; padding: 0 14px; border: 1px solid rgba(74, 59, 59, .2); border-radius: var(--r-pill); background: none; box-shadow: none; color: var(--c-mute); font-size: var(--t1); font-weight: 400; }
.tabs-item.is-active, .tabs-item.is-active:hover { border-color: var(--c-ink); background: none; color: var(--c-ink); }
.tabs-line { border-bottom: 1px solid var(--line-14); background: none; box-shadow: none; }
.tabs-line .tabs-item { height: 44px; border: 0; border-radius: 0; font-size: var(--t2); }
.tabs-line .tabs-item.is-active, .tabs-line .tabs-item.is-active:hover { box-shadow: inset 0 -1px 0 var(--c-ink); }
.tabs-line.has-ind::after { height: 1px; }
.empty { gap: 8px; padding: 72px 0; }
.empty > .btns { margin-top: 12px; }
.empty .btn, .empty .btn:hover { width: var(--btn-w-page); border-color: var(--btn-line); background: transparent; color: var(--c-ink); }
.empty > .icon { display: none; }
.empty .h3 { font-size: var(--t2); color: var(--c-sub); }
.empty > p:not(.h3) { font-size: var(--t1); }
.loading { padding: 72px 0; font-size: var(--t1); }
.loading-spin { width: 24px; height: 24px; border-width: 1px; border-color: var(--line-14); border-top-color: var(--c-rose); }
.acc-head { justify-content: flex-start; gap: 4px; min-height: 0; font-size: var(--link-fs); color: var(--link-c); text-decoration: none; } /* 누누리 글자 링크는 밑줄 없음 */
.acc-head .icon { width: 12px; height: 12px; }
.acc-body { padding: 4px 0 0 27px; font-size: var(--t1); line-height: 1.6; color: var(--c-sub); }
.acc-body .info { border: 0; font-size: var(--t1); }
.acc-body .info > div { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 4px 0; border: 0; }
[data-leave-form] .acc-body { display: grid; gap: var(--gap-field); padding: 12px 0 0; } /* 회원 탈퇴: 작은 회색 글자 → 펼치면 안내 · 비밀번호 · 단추 */
.or { display: flex; align-items: center; gap: 12px; font-size: var(--t0); color: var(--c-mute); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-14); }
.done-head > .icon { color: var(--c-rose); }
.done-amount { font-weight: 400; color: var(--c-rose); }
.thumbs > * { width: 72px; border-radius: var(--r1); }

/* 7. 알약 메뉴 */
.dock-wrap { position: absolute; left: 50%; bottom: clamp(18px, 2cqw, 28px); z-index: 5; transform: translateX(-50%); transition: opacity .3s ease, visibility .3s; }
/* 상품 상세에서는 메뉴바를 숨겨요(나가면 다시 보여요). 화면 바꿀 때 사라지는 옛 화면(swap-ghost)은 빼고 봐요 */
.frame:has(main:not(.swap-ghost) .pd) .dock-wrap { opacity: 0; visibility: hidden; pointer-events: none; }
.dock { position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line-12); border-radius: 999px; background: rgba(251, 247, 244, .92); white-space: nowrap; animation: nnRise 1.2s var(--ease) .4s both; }
.dock a, .dock a:hover { color: var(--c-ink); }
.dock-logo { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; transition: transform .18s ease; }
.dock-logo img { height: 20px; width: auto; mix-blend-mode: multiply; opacity: .7; transition: opacity .4s; }
.dock-logo .logo { padding: 0 8px; font-family: var(--serif); font-size: var(--t4); font-weight: 400; letter-spacing: 0; }
.is-home .dock-logo img { opacity: 1; }
.dock-text { position: relative; display: flex; align-items: center; height: 40px; padding: 0 clamp(8px, .95cqw, 15px); font-size: var(--t1); letter-spacing: .02em; transition: color .45s ease, transform .18s ease; }
.dock-icon { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: color .45s ease, transform .18s ease; }
.dock .is-on, .dock .is-on:hover { color: var(--c-rose); }
.dock [data-dock-key*="키즈"].is-on, .dock [data-dock-key="kids"].is-on { color: var(--c-sky); } /* 키즈 분류는 하늘색 */
.dock-text:active { transform: scale(.94); }
.dock-icon:active, .dock-logo:active { transform: scale(.9); }
.ico { display: block; width: var(--nav-icon); height: var(--nav-icon); }
.dock .count { position: absolute; top: calc(50% - var(--nav-icon) / 2 - 6px); left: calc(50% + var(--nav-icon) / 2 - 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--c-rose); color: var(--c-milk); font-size: var(--t-xs); line-height: 16px; font-variant-numeric: tabular-nums; pointer-events: none; animation: nnPop .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.dock .count.is-bump { animation: nnPopAgain .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.dock-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; display: none; padding: 5px 10px; border-radius: 999px; background: rgba(74, 59, 59, .88); color: var(--c-milk); font-size: var(--t0); line-height: 1.4; white-space: nowrap; pointer-events: none; transform: translateX(-50%); animation: nnFade .2s both; }
.dock-dot { position: absolute; bottom: 9px; left: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c-rose); opacity: 0; pointer-events: none; transition: left .6s cubic-bezier(.3, .7, .2, 1), background .45s ease, opacity .35s ease; }
.dock-dot.is-on { opacity: 1; }
.dock-dot.is-kids { background: var(--c-sky); }
@media (hover: hover) and (min-width: 768px) { .dock-icon:hover .dock-tip { display: block; } }

/* 8. 패널: PC 오른쪽 420px + 덮개 / 폰 화면 가득(뒤 화면은 왼쪽으로 30% 밀려요) */
.sheet-wrap { position: absolute; inset: 0; z-index: 7; }
.scrim { position: absolute; inset: 0; background: rgba(40, 30, 28, .22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s ease; }
.sheet-wrap.is-open .scrim { opacity: 1; }
.sheet { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; width: min(420px, 100%); border-left: 1px solid var(--line-10); background: var(--c-milk); transform: translateX(100%); transition: transform 300ms var(--close); }
.sheet-wrap.is-open .sheet { transform: none; transition: transform 380ms var(--open); }
@starting-style {
  .sheet-wrap:not([hidden]) .sheet { transform: translateX(100%); }
  .sheet-wrap:not([hidden]) .scrim { opacity: 0; }
}
.sheet-head { flex: none; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 8px; } /* 상단바 밑 구분선 없음(선이 겹쳐 보여서) */
.sheet-back { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; transition: background-color .2s, transform .15s; }
.sheet-back .icon { width: 22px; height: 22px; }
.sheet-back:hover { background: rgba(74, 59, 59, .06); }
.sheet-back:active { transform: scale(.9); }
.sheet-title { min-width: 0; margin: 0; overflow: hidden; font-size: var(--t4); font-weight: 400; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.sheet-body { position: relative; flex: 1; min-height: 0; overflow: clip; } /* clip: 안쪽 scrollIntoView 가 틀 · 패널을 밀어 올리지 않게 */
.sheet-grip { display: none; }
/* 겹(.panel-view): 새 겹은 오른쪽에서 들어오고, 아래 겹은 왼쪽으로 30% 물러나요. 뒤로 가면 반대로 */
.panel-view { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 24px 20px 40px; background: var(--c-milk); font-size: var(--t2); transition: transform 380ms var(--open); }
.panel-view::-webkit-scrollbar { display: none; }
.panel-view.is-under { visibility: hidden; transform: translateX(-30%); opacity: .4; pointer-events: none; transition: none; }
.panel-view.is-top:has(~ .panel-view) { transition: transform 300ms var(--back), opacity 300ms var(--back); }
.sheet-wrap.is-open .panel-view.is-top ~ .is-top { visibility: hidden; transition: none; }
@starting-style { .sheet-wrap:not([data-depth="1"]) .panel-view.is-top { transform: translateX(100%); } }
.panel-view .page-title, .panel-view .crumbs, .panel-view .page-tabs { display: none; }
.panel-view > .wrap { display: grid; gap: var(--gap-group); align-content: start; max-width: none; padding: 0; }
@media (max-width: 767px) {
  .sheet { width: 100%; border-left: 0; }
  .scrim { background: rgba(40, 30, 28, .18); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet-grip { position: absolute; top: 56px; left: 0; bottom: 0; z-index: 3; display: block; width: 20px; touch-action: none; cursor: grab; }
  .is-panel .page { transform: translateX(-30%); transition: transform 380ms var(--open); }
  .is-panel .dock-wrap { opacity: 0; pointer-events: none; }
}

/* 9. 패널 화면(클로드 디자인 원본 NunulyPanel 그대로) · 같은 페이지를 주소로 바로 열면 틀 가운데 한 줄 */
.main > .wrap { display: grid; gap: var(--gap-group); align-content: start; max-width: 1200px; padding: clamp(40px, 7cqh, 72px) var(--pad) 72px; animation: nnFade .6s ease both; }
.main > .w-md { max-width: 704px; }
.main > .w-sm, .main > [data-cart], .main > [data-checkout] { max-width: 516px; }
.main > .wrap > .crumbs + .page-title { padding-top: 0; }
.page-tabs { display: none; }
.sheet { contain: layout; } /* 패널 안 확인 상자(fixed)가 패널 기준으로 */
.sec-title { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line-12); font-size: var(--sec-title-fs); font-weight: var(--sec-title-fw); }
.panel-list { gap: 4px; }
.panel-sum { gap: 10px; }
.panel-agree { gap: 12px; }
.panel-addr { gap: 8px; line-height: 1.6; }
.sub-text { color: var(--c-sub); }
.kicker-mute { font-size: var(--t0); color: var(--c-mute); }
.link-row { display: flex; justify-content: center; }
.btns-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.agree-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.terms { display: flex; flex-direction: column; padding-left: 27px; font-size: var(--t1); line-height: 1.6; color: var(--c-sub); animation: nnRise .4s var(--ease) both; }
.terms > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 4px 0; }
.terms dt { color: var(--c-mute); }
.empty-line { padding: 64px 0; text-align: center; color: var(--c-sub); }
.empty-line.empty-left { padding: 16px 0; text-align: left; color: var(--c-mute); }
.empty { gap: 20px; padding: 72px 0; }
.empty > p:not(.meta) { font-size: var(--t2); color: var(--c-sub); }
.check-opt { font-style: normal; color: var(--c-mute); }
.check-req::before, .check-opt::before { content: "("; }
.agree :is(.check-req, .check-opt) { margin-left: 10px; }
.check-req::after, .check-opt::after { content: ")"; }
.btn-auto { width: auto; padding: 0 16px; }
/* 상품 줄 · 사진 칸 */
.thumb { flex: none; display: block; overflow: hidden; border-radius: var(--r1); background: var(--c-img-bg); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb img:not([src]) { display: none; }
.thumb-52 { width: 52px; height: 52px; }
.thumb-56 { width: 56px; height: 56px; }
.thumb-60 { width: 60px; height: 60px; }
.thumb-68 { width: 68px; height: 68px; }
.lines { display: flex; flex-direction: column; }
.line { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.lines-rule .line { padding: 12px 0; border-bottom: 1px solid var(--line-08); }
.line-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-name .meta { font-size: var(--t1); }
.line-price, .sum dd, .cart-line { font-variant-numeric: tabular-nums; }
.sum dd { text-align: right; }
.sum-off:not(:empty) { color: var(--c-rose); }
.sum-off:empty::before { content: "0원"; }
.sum-note { font-size: var(--t0); color: var(--c-mute); text-align: right; }
/* 수량 ± */
.qty-btn { display: flex; align-items: center; justify-content: center; flex: none; width: var(--q-size); height: var(--q-size); border: 1px solid var(--btn-line); border-radius: 50%; font-size: var(--t3); transition: transform .15s ease; }
.qty-btn:active:not(:disabled) { transform: scale(.9); }
.qty-btn:disabled { cursor: default; }
/* 장바구니 · 주문서: 아래 막대는 늘 바닥에 */
.panel-view:has(> [data-cart]), .panel-view:has(> [data-checkout]) { padding-bottom: 0; }
.panel-view > :is([data-cart], [data-checkout]) { display: flex; flex-direction: column; min-height: 100%; }
:is([data-cart], [data-checkout]) > [data-state="ready"]:not([hidden]) { display: flex; flex: 1; flex-direction: column; }
.cart-items { display: flex; flex-direction: column; margin-top: -12px; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-10); }
.cart-item-in { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-item-top, .cart-item-bottom { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-top { align-items: baseline; }
.cart-item-bottom { align-items: center; }
.cart-item-name { display: flex; flex-direction: column; gap: 4px; }
.cart-item-name .meta { font-size: var(--t1); }
.cart-line { font-size: var(--t3); }
.qty-num { width: 2ch; min-width: 12px; }
[data-item].is-leaving { overflow: hidden; transition: height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease), opacity var(--t-fast) var(--ease); }
[data-item].is-leaving.is-gone { padding-top: 0; padding-bottom: 0; border-bottom-width: 0; opacity: 0; }
.sheet-foot { position: sticky; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 10px; margin: auto -20px 0; padding: 14px 20px 18px; border-top: 1px solid var(--line-12); background: var(--c-milk); font-size: var(--t2); }
.cart .sum-total { margin: 2px 0 6px; }
.cart .link-row { padding-top: 4px; }
.main .sheet-foot { bottom: calc(clamp(18px, 2cqw, 28px) + 56px); margin: auto 0 0; padding: 14px 0 18px; }
/* 주문서 */
.co { display: flex; flex: 1; flex-direction: column; gap: var(--gap-group); }
.pills { position: sticky; top: -24px; z-index: 3; display: flex; gap: 6px; margin: -24px -20px -4px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-08); background: var(--c-milk); }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid rgba(74, 59, 59, .2); border-radius: 999px; font-size: var(--t1); color: var(--c-mute); transition: border-color .25s, color .25s, transform .15s; }
.pill:hover { color: var(--c-mute); }
.pill.is-on, .pill.is-on:hover { border-color: var(--c-ink); color: var(--c-ink); }
.pill:active { transform: scale(.95); }
.main .pills { top: 0; margin: 0; padding: 10px 0; }
.co .sheet-foot { margin-top: auto; }
.co [data-sec] { scroll-margin-top: 68px; }
.field-row .input { flex: 1; min-width: 0; width: auto; }
.field-row select.input { width: 0; text-overflow: ellipsis; }
.field-row .btn { flex: none; width: auto; }
.input-addr { animation: nnFade .3s both; }
.input-addr:placeholder-shown { display: none; }
.opt-col { flex-direction: column; gap: 12px; padding: 0; }
.opt-col .opt-item { gap: 9px; }
.opt-item:has(input:disabled) { color: var(--c-mute); cursor: default; }
.opt-item .meta { font-size: var(--t0); color: inherit; }
.num-input { font-variant-numeric: tabular-nums; }
[data-promo]:not([hidden]) + .sub-text { display: none; }
.panel-agree .field-msg, .panel-agree .msg { padding: 0; }
/* 주문 완료 */
.done-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 0 34px; text-align: center; } /* 감사 인사는 가운데 */
.done-head > * { animation: nnRise .6s var(--ease) both; }
.done-head > :nth-child(2) { animation-delay: .12s; }
.done-head > :nth-child(3) { animation-delay: .2s; }
.done-head > :nth-child(n+4) { animation-delay: .28s; }
.done-head .t-display { margin-bottom: 6px; font-size: var(--d3); line-height: 1; color: var(--c-ink); }
.done-title { font-size: var(--t4); }
.done-head .sub-text { color: var(--c-sub); }
.done-no { margin-top: 10px; font-size: var(--t1); color: var(--c-mute); }
.done-no .t-mono { margin-left: 6px; color: var(--c-ink); }
.done-sum .sum-row { align-items: flex-start; }
.done-sum .sum-row dd { text-align: right; }
/* 로그인 */
.login-act { margin-top: 4px; }
.login-act .links { display: flex; gap: 12px; white-space: nowrap; }
.login-social { gap: 12px; }
.login-guest { justify-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-12); }
.guest-form { justify-self: stretch; animation: nnRise .5s var(--ease) both; }
/* 회원가입 */
.signup-social { gap: 12px; }
.signup-social[hidden] + .or { display: none; }
.agree { display: flex; flex-direction: column; border-top: 1px solid var(--line-14); }
.agree .check { gap: 10px; padding: 10px 0; }
.agree .agree-all { padding: 14px 0; border-bottom: 1px solid var(--line-10); font-size: var(--t3); }
.agree .field-msg { padding-top: 4px; }
/* 찾기 */
.find-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: -8px; border-bottom: 1px solid var(--line-14); }
.find-tabs .tabs-item, .find-tabs .tabs-item.is-active { justify-content: center; height: 44px; margin-bottom: -1px; padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; font-size: var(--t2); color: var(--c-mute); transition: color .3s, border-color .3s; }
.find-tabs .tabs-item.is-active { border-color: var(--c-ink); color: var(--c-ink); }
.find-part { display: flex; flex-direction: column; gap: var(--gap-group); animation: nnFade .4s both; }
.find-part:has(> .find-done:not([hidden])) > form { display: none; }
.find-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 20px; text-align: center; animation: nnRise .6s var(--ease) both; }
.find-ids { display: flex; flex-direction: column; gap: 8px; }
.find-ids li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.find-id { font-family: var(--mono); font-size: var(--t5); letter-spacing: .04em; }
.find-done .btns-col { align-self: stretch; margin-top: 16px; }
/* 1:1 문의 */
.agree-box { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; } /* 위 칸 밑줄과 겹치지 않게 선 없음 */
.agree-box .terms { padding-top: 4px; }
.sent { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 64px 0 40px; text-align: center; animation: nnRise .6s var(--ease) both; }
.sent .done-title { font-size: var(--t4); }
.sent .sub-text { line-height: 1.7; }
/* 마이쇼핑 */
.my-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.my-hello { display: flex; flex-direction: column; gap: 6px; }
.my-name { font-size: var(--t5); letter-spacing: -.01em; }
.my-point { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.my-point-n { font-size: var(--t5); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.won { margin-left: 2px; font-size: var(--t2); }
.my-status { display: flex; flex-direction: column; gap: 12px; }
.my-status .agree-row { align-items: baseline; }
.steps.steps-count { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 18px 0; border-top: 1px solid var(--line-14); border-bottom: 1px solid var(--line-14); }
.steps-count > li + li { border-left: 1px solid var(--line-10); }
.steps-count .steps-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: var(--t0); color: var(--c-mute); white-space: nowrap; transition: transform .15s; }
.steps-count .steps-item:active { transform: scale(.95); }
.steps-count .num { font-size: var(--t6); font-weight: 300; line-height: 1; color: var(--c-ink); }
.steps-count .num.is-zero { color: rgba(74, 59, 59, .35); }
.menu-rows { display: flex; flex-direction: column; margin-top: -8px; }
.menu-row { display: flex; align-items: center; justify-content: space-between; height: 52px; border-bottom: 1px solid var(--line-10); font-size: var(--t3); transition: background-color .25s ease; }
.menu-row::after { content: "›"; color: var(--c-mute); }
.menu-row:hover { background: var(--hover-bg); }
/* 주문 내역 · 주문 상세 */
.order-rows { display: flex; flex-direction: column; margin-top: -12px; }
.order-row { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-10); transition: background-color .25s; }
.order-row:hover { background: rgba(244, 236, 232, .5); }
.order-meta { display: flex; justify-content: space-between; gap: 10px; font-size: var(--t0); color: var(--c-mute); }
.order-main { display: flex; align-items: center; gap: 14px; }
.order-main .line-name { gap: 5px; }
.order-status { font-size: var(--t1); color: var(--c-rose); white-space: nowrap; }
.order-status::after { content: " ›"; }
[data-lookup-root]:has(> .od:not([hidden])) > form[data-lookup] { display: none; }
.od-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--t1); color: var(--c-mute); }
.od-status { color: var(--c-rose); }
.od-act { gap: 14px; }
.track .steps { display: flex; flex-direction: column-reverse; gap: 0; padding: 0; }
.track .steps-item { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; padding: 9px 0; font-size: var(--t1); color: var(--c-mute); text-align: left; animation: nnRise .5s var(--ease) both; }
.track .steps-item::before { content: ""; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: rgba(74, 59, 59, .25); }
.track .steps-item.is-current { color: var(--c-ink); font-weight: 400; }
.track .steps-item.is-current::before { background: var(--c-rose); }
.track .steps-item:not(.is-done):not(.is-current) { display: none; }
.track .steps-item.is-done { animation-delay: .08s; }
.ship-row { padding: 9px 0 0 26px; font-size: var(--t1); color: var(--c-sub); }
/* 정기배송 */
.subs { display: flex; flex-direction: column; gap: 48px; }
.sub { display: flex; flex-direction: column; gap: var(--gap-group); }
.sub-head { position: relative; }
.sub-items { display: flex; flex-direction: column; gap: 8px; }
.sub-item { display: flex; align-items: center; gap: 14px; }
.sub-item .line-name { gap: 5px; }
.sub-item .line-name a { font-size: var(--t3); }
.sub-item .line-name { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 5px 8px; }
.sub-item .line-name .meta { grid-column: 1 / -1; }
.sub-state { font-size: var(--t0); color: var(--c-rose); }
.sub-state.is-off { color: var(--c-mute); }
.sub-info { display: flex; flex-direction: column; margin-top: -8px; }
.sub-info > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-08); }
.sub-info dt { color: var(--c-mute); }
.sub-info dd { font-variant-numeric: tabular-nums; }
.sub-act { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sub-act .btns-split { width: 100%; }
.sub-act .btn { padding: 0 12px; }
.dialog-scrim { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(40, 30, 28, .3); animation: nnFade .25s both; }
.dialog { display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(320px, 100%); padding: 28px 20px 20px; border-radius: 18px; background: var(--c-milk); text-align: center; animation: nnRise .35s var(--ease) both; }
.dialog-title { font-size: var(--t3); }
.dialog .btns-split { width: 100%; }
.dialog .btn { padding: 0 10px; }
/* 내 후기 · 후기 쓰기 */
[data-review-todo-box]:not([hidden]) + .empty-line { display: none; }
.my-reviews { display: flex; flex-direction: column; }
.my-review { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-10); }
.my-review .agree-row { align-items: baseline; }
.my-review .meta { font-size: var(--t0); }
.my-review .stars { font-size: var(--t2); }
.review-text { line-height: 1.75; font-weight: 300; text-wrap: pretty; }
.my-review .thumbs { gap: 6px; }
.my-review .thumbs > * { width: 56px; border-radius: 8px; }
.reply { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r1); background: rgba(244, 236, 232, .7); font-size: var(--t1); line-height: 1.7; color: var(--c-sub); }
.review-act { display: flex; justify-content: flex-end; gap: 14px; }
.stars .off { color: var(--star-off); }
.review-form { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; gap: var(--gap-group); overflow-y: auto; padding: 24px 20px 40px; background: var(--c-milk); scrollbar-width: none; animation: nnIn 380ms var(--open) both; }
.panel-view:has(.review-form:not([hidden])) { overflow: hidden; }
.review-form-head .thumb:has(img:not([src])) { display: none; }
.rate { display: flex; gap: 4px; }
.rate label { position: relative; font-size: 30px; line-height: 1; color: var(--star-off); cursor: pointer; transition: color .2s, transform .15s; }
.rate label:active { transform: scale(.85); }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label:has(input:checked), .rate label:has(~ label input:checked) { color: var(--c-rose-soft); }
.photo-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-pick .thumbs { display: contents; }
.photo-pick .thumbs > * { width: 72px; height: 72px; border-radius: var(--r1); animation: nnFade .3s both; }
.pick-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 72px; height: 72px; border: 1px dashed rgba(74, 59, 59, .3); border-radius: var(--r1); color: var(--c-mute); font-size: var(--t0); transition: transform .15s; }
.pick-tile span { font-size: var(--t5); line-height: 1; }
.pick-tile:active { transform: scale(.95); }
.thumbs .btn-icon { top: 4px; right: 4px; width: 20px; height: 20px; background: rgba(251, 247, 244, .9); }
.thumbs .btn-icon .icon { width: 10px; height: 10px; }

/* 10. 바닥 띠(시안 1안): 틀 아래를 띠 높이만큼 줄이고, 그 밑에 한 줄(PC 32 · 폰 30).
   이용약관 · 개인정보처리방침(굵게) · 고객센터 | 사업자 정보 ⌄. 고객센터 · 사업자 정보는 패널 */
.frame { bottom: 32px; }
.biz-line { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; height: 32px; padding: 0 16px; overflow: hidden; font-size: var(--t-sm); letter-spacing: .02em; line-height: 1.4; white-space: nowrap; color: var(--c-mute); }
.biz-line > a, .biz-line > button { display: inline-flex; align-items: center; gap: 3px; color: inherit; line-height: 1; opacity: .86; transition: opacity .2s; }
.biz-line .icon { width: 11px; height: 11px; }
.biz-line > a:hover, .biz-line > button:hover { opacity: 1; }
.biz-line > .is-strong { font-weight: 700; color: var(--c-ink); opacity: 1; }
.biz-sep { flex: none; width: 1px; height: 10px; background: currentColor; opacity: .3; }
[data-biz=""] { display: none; }
.biz { display: grid; gap: var(--gap-group); }
.biz .info > div { grid-template-columns: 136px minmax(0, 1fr); } /* 표는 공용 .info, 이름 칸만 넓게(통신판매업 신고번호) */
.biz .info dd { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.biz .info small { font-size: var(--t1); color: var(--c-mute); }
.biz-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.biz-links .is-strong { font-weight: 600; color: var(--c-ink); }
/* 폰: 틀 아래 둥글게 + 바닥 띠(30px · 아이폰 아래 홈 줄만큼 더) */
@media (max-width: 767px) {
  body { background: var(--c-milk); }
  .frame { bottom: calc(30px + env(safe-area-inset-bottom)); border-radius: 0 0 26px 26px; }
  .biz-line { height: calc(30px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
}

/* 11. 홈: 사진 슬라이드(4.6초) · 글 · 점 */
.home { position: relative; height: 100cqh; overflow: hidden; color: var(--c-ink); transition: color .8s; }
.home-slides { position: absolute; inset: 0; animation: nnSettle 2.8s var(--ease) both; }
.home[data-tone*="흰"], .home[data-tone="light" i] { color: var(--c-milk); }
.home-photo { position: absolute; inset: 0; height: 100cqh; opacity: 0; transform: scale(1); transition: opacity 1.6s ease, transform 0s linear 1.6s; }
.home-photo.is-on { opacity: 1; transition: opacity 1.6s ease, transform 7s linear; }
.home.is-kb .home-photo.is-on { transform: scale(1.08); }
.home-photo img { object-position: 50% 38%; }
.home-photo[data-tone*="흰"]::after, .home-photo[data-tone="light" i]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(58, 40, 36, .42), rgba(58, 40, 36, 0) 45%); }
.home:not(.is-live) .home-photo:first-child { opacity: 1; }
.home-bar { position: absolute; top: 0; animation: nnFade .6s ease both; left: var(--pad); right: var(--pad); bottom: max(44px, calc(132px - 5cqw)); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.home-copies { display: grid; align-self: center; }
.home-copy { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; visibility: hidden; }
.home-copy .t-display { font-size: clamp(30px, 2.6cqw, 42px); }
.home-sub { font-size: var(--t2); font-weight: 300; letter-spacing: .02em; }
.home-copy .btn { margin-top: 8px; }
.home-copy.is-on, .home:not(.is-live) .home-copy:first-child { visibility: visible; }
/* 글은 처음 한 번만 올라오고, 장면이 바뀌면 글자만 바로 바뀌어요(원본 그대로) */
.home-copy > * { animation: nnRise 1.2s var(--ease) .7s both; }
.home-copy > .home-sub { animation-delay: .9s; }
.home-copy > .btn { animation-delay: 1.1s; }
.home-dots { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; animation: nnFade 1s ease 1.3s both; }
.home-dots:has(> .dot:only-child), .home-dots:empty { display: none; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: currentColor; opacity: .4; transition: all .5s ease; }
.dot.is-on { width: 22px; opacity: 1; }
.home-empty { display: none; }
.home[data-empty] .home-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(30px, 2.6cqw, 42px); }
@media (max-width: 767px) {
  .home-bar { top: auto; }
  .home-copies { align-self: auto; }
}

/* 12. 두 칸 화면(널브캄 · 키즈 · 상세): 왼쪽 따라오는 칸 + 오른쪽 520px. 틀 폭 880px 아래에서 위아래로 접혀요 */
.duo { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; min-height: 100cqh; }
.list .list-copy, .list .duo-side, .kids .duo-hero, .kids .duo-side, .pd .duo, .pd .pd-detail { animation: nnFade .6s ease both; }
.duo-hero { position: sticky; top: 0; flex: 1 1 360px; height: min(100cqh, 130cqw); }
.duo-side { position: relative; z-index: 1; flex: 0 1 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(0px, calc((100cqw - 700px) * 100), 100cqh); }

/* 13. 널브캄 목록 */
.list { color: var(--c-ink); }
.list .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(50, 36, 32, .5), rgba(50, 36, 32, 0) 55%), linear-gradient(to left, rgba(50, 36, 32, .3), rgba(50, 36, 32, 0) 55%); }
.list .bg img { object-position: 50% 35%; }
.list:has(.bg-cat.is-active:not([hidden])) { color: var(--c-milk); }
.list-copy { position: absolute; left: var(--pad); top: clamp(8px, 3.6cqw, 56px); bottom: 130px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.list-copy > * { animation: nnRise 1.1s var(--ease) .3s both; }
.list-copy > .t-display { font-size: clamp(32px, 2.8cqw, 44px); animation-delay: .45s; }
.list-copy > .t-sub { animation-delay: .6s; }
/* 분류 화면: 분류 사진이 있으면 배경(지금 분류가 아닌 사진은 숨김). 글은 「널브캄 배경」 문구 그대로 */
.bg-cat:not(.is-active) { display: none; }
.bg-cat .bg-m { display: none; }
@media (max-width: 767px) { .bg-cat .bg-pc { display: none; } .bg-cat .bg-m { display: block; } }
/* 분류별 콘텐츠 글: 지금 분류에 제목이 있으면 「널브캄 배경」 글 대신. 문구는 줄바꿈 그대로 */
.list-copy-cat:not(.is-active) { display: none; }
.list-copy .t-sub { white-space: pre-line; }
/* PC 분류 화면: 글을 크게(제목은 화면 폭의 약 4.4%, 대표 요청 11/3) */
@media (min-width: 768px) {
  .list-copy { gap: clamp(10px, .9cqw, 18px); width: max-content; max-width: min(60cqw, 900px); }
  .list-copy > .t-eyebrow { font-size: clamp(12px, .78cqw, 15px); }
  .list-copy > .t-display { font-size: clamp(44px, 4.4cqw, 84px); }
  .list-copy > .t-sub { font-size: clamp(16px, 1.05cqw, 20px); line-height: 1.6; }
}
.list .duo-side { padding: clamp(8px, 3.6cqw, 56px) clamp(22px, 3cqw, 48px) 130px; }
.list:has(.bg-cat.is-active:not([hidden])) .duo-side, .list:has(.bg-cat.is-active:not([hidden])) .list-copy { text-shadow: var(--shade-photo); }
/* 배경 영상이 밝을 때도 왼쪽 문구가 보이게 (PC) */
@media (min-width: 768px) {
  .list .bg-cat::after { background: linear-gradient(to right, rgba(50, 36, 32, .46), rgba(50, 36, 32, .16) 42%, rgba(50, 36, 32, 0) 62%), linear-gradient(to top, rgba(50, 36, 32, .5), rgba(50, 36, 32, 0) 55%), linear-gradient(to left, rgba(50, 36, 32, .3), rgba(50, 36, 32, 0) 55%); }
  .list:has(.bg-cat.is-active:not([hidden])) .list-copy { text-shadow: 0 1px 3px rgba(40, 30, 28, .35), 0 2px 22px rgba(40, 30, 28, .4); }
}
@media (max-width: 767px) { .list:has(.bg-cat.is-active:not([hidden])) .list-copy, .list:has(.bg-cat.is-active:not([hidden])) .duo-side { text-shadow: 0 1px 14px rgba(40, 30, 28, .25); } }
.list-items { display: grid; gap: 56px; width: min(320px, 100%); }
.list .pcard { gap: 12px; color: inherit; }
.list .pcard-img { aspect-ratio: 1 / 1; border-radius: var(--r2); background: var(--c-img-bg2); box-shadow: none; }
.list .pcard-img img { transition: transform 1.2s var(--ease); }
.list .pcard-body { gap: 6px; padding-top: 4px; }
.list .pcard-name { font-size: var(--t3); line-height: 1.4; -webkit-line-clamp: 1; }
.list .pcard-name:hover { color: inherit; }
.list .price { flex-wrap: nowrap; gap: 6px; font-size: var(--t2); white-space: nowrap; }
.list .price-rate { color: var(--c-rose); font-weight: 400; }
.list .price-sale { font-weight: 400; }
.list:has(.bg-cat.is-active:not([hidden])) .price-rate { color: var(--c-rose-on-photo); }
.list .pcard .meta { font-size: var(--t0); font-weight: 300; letter-spacing: .02em; color: inherit; white-space: normal; }
.list .pcard .btn { align-self: flex-start; margin-top: 6px; }
.list .pcard:active { transform: none; }
.list .pcard-img:active { transform: scale(.98); }
@media (hover: hover) { .list .pcard:hover .pcard-img { box-shadow: none; } }
@media (max-width: 767px) {
  .list { flex-direction: column; flex-wrap: nowrap; justify-content: flex-end; align-items: stretch; gap: 22px; padding: 120px 22px 84px; }
  .list .duo-hero { position: static; flex: none; height: auto; }
  .list-copy { position: static; gap: 8px; }
  .list-copy > .t-display { font-size: var(--d2); }
  .list .duo-side { flex: none; align-items: stretch; min-height: 0; padding: 0; }
  .list-items { gap: 14px; width: 100%; }
  .list .pcard[data-rv], .list .pcard[data-rv]:not(.is-in) { opacity: 1; transition: none; }
  .list .pcard { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(251, 247, 244, .4); animation: nnRise 1.1s var(--ease) .8s both; }
  .list .pcard-img { border-radius: var(--r1); }
  .list .pcard-body { gap: 5px; padding: 0; }
  .list .pcard-body .sum-row { display: grid; gap: 5px; }
  .list .pcard .btn { width: auto; margin: 0; align-self: center; }
  .list:not(:has(.bg-cat.is-active:not([hidden]))) .pcard { border-top-color: var(--line-14); }
}

/* 14. 널브캄키즈 */
.kids { color: var(--c-ink); }
.kids:has(.kids-bg:not([hidden])) { color: #FFFFFF; }
.kids-bg { background: var(--c-kids-bg); }
.kids-media { position: absolute; inset: -2%; filter: sepia(.22) saturate(.85) brightness(1.05); animation: nnKen 16s ease-in-out infinite alternate; }
.kids-media img, .kids-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.kids-sun { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 6%, rgba(255, 226, 190, .6), rgba(255, 226, 190, 0) 55%); mix-blend-mode: screen; animation: nnSun 7s ease-in-out infinite; }
.kids-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(36, 44, 52, .38), rgba(36, 44, 52, 0) 60%), linear-gradient(to top, rgba(36, 44, 52, .45), rgba(36, 44, 52, 0) 55%); }
.kids-bg.is-paused :is(.kids-media, .kids-sun) { animation-play-state: paused; }
.kids-pause { position: absolute; left: var(--pad); bottom: clamp(36px, 4cqw, 64px); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(251, 247, 244, .75); border-radius: 50%; color: var(--c-milk); font-size: 9px; transition: transform .15s ease; }
.kids-pause:active { transform: scale(.9); }
.kids:not(:has(.kids-bg:not([hidden]))) .kids-pause { display: none; }
.kids-side { gap: 0; padding: clamp(8px, 4cqw, 64px) clamp(22px, 3cqw, 48px) 130px; text-align: center; }
.kids:has(.kids-bg:not([hidden])) .kids-side { text-shadow: 0 1px 14px rgba(30, 40, 50, .28); }
.kids-shot { width: min(260px, 66%); aspect-ratio: 1 / 1; margin-bottom: 26px; border-radius: var(--r2); background: transparent; }
.kids-shot:has(img[src=""]) { display: none; }
.kids-head, .kids-body { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kids-body { gap: 18px; margin-top: 14px; }
.kids-soon { display: flex; align-items: center; gap: 8px; }
.kids-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-kids-dot); }
.kids .t-display { font-size: clamp(34px, 2.8cqw, 44px); }
.kids-body p { font-size: var(--t2); font-weight: 300; line-height: 1.7; }
.kids:has(.kids-bg:not([hidden])) .btn-clear { border-color: rgba(255, 255, 255, .85); }
.kids .btn-clear:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 767px) { .kids .duo-hero { flex-basis: 100%; } }

/* 15. 상품 상세: 사진(따라오는 칸) + 반투명 정보 + 아래 상세 정보 · 후기 · 배송/교환. 뒤에는 지금 사진을 흐리게 */
.pd { display: block; padding: 0; }
.pd .bg { background: var(--c-detail-bg); }
.pd .bg img { position: absolute; inset: -6%; width: 112%; height: 112%; object-position: 50% 0; filter: blur(40px) saturate(.9); opacity: 0; transition: opacity .8s; }
.pd .bg img.is-on, .pd .bg:not(:has(.is-on)) img:first-child { opacity: .4; }
.pd .duo { justify-content: flex-start; }
.pd-media { position: sticky; top: 0; flex: 1 1 360px; height: 100cqh; margin: 0; overflow: hidden; background: var(--c-img-bg); }
.pd-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(50, 36, 32, .28), rgba(50, 36, 32, 0) 30%); pointer-events: none; }
.pd-photos { position: absolute; inset: 0; animation: nnSettle 2.4s var(--ease) both; }
.pd-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.pd-photo.is-on, .pd-photos:not(:has(.is-on)) .pd-photo:first-child { opacity: 1; }
.pd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-photo img, .pd-thumbs img { object-position: 50% 0; } /* 사진 위(병 뚜껑)가 잘리지 않게 위를 맞춰요 */
/* 사진 아래 줄: 작은 사진 + 「1 / 3 ›」. PC 는 알약 메뉴에 가리지 않게 작은 사진 바로 옆에 */
.pd-strip { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 4cqw, 56px); z-index: 2; display: flex; align-items: flex-end; gap: 16px; animation: nnRise 1s var(--ease) .4s both; }
.pd-count { padding: 0 0 4px; color: var(--c-milk); font-family: var(--mono); font-size: var(--t0); text-shadow: 0 1px 10px rgba(40, 30, 28, .35); }
.pd-thumbs { display: flex; gap: 8px; margin: 0; }
.pd-thumbs .img { width: 52px; height: 52px; border: 1.5px solid rgba(251, 247, 244, .35); border-radius: var(--r1); outline: 0; background: var(--c-img-bg); opacity: .78; transition: border-color .3s, opacity .3s, transform .18s ease; }
.pd-thumbs .img.is-on, .pd-thumbs:not(:has(.is-on)) .img:first-child { border-color: var(--c-milk); opacity: 1; }
.pd-thumbs .img:active { transform: scale(.92); }
.pd-media:not(:has(.pd-thumbs > :nth-child(2))) .pd-strip { display: none; }
.pd-back { display: none; }
.pd-info { position: relative; top: auto; z-index: 1; flex: 0 1 520px; display: flex; flex-direction: column; gap: 22px; min-width: 0; min-height: 100cqh; padding: clamp(28px, 3.6cqw, 56px) clamp(20px, 3cqw, 48px) 130px; border-left: 1px solid rgba(255, 255, 255, .45); border-radius: max(0px, calc(30px - 2cqw)) max(0px, calc(30px - 2cqw)) 0 0; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.pd-info .crumbs > :first-child { display: inline-flex; align-items: center; margin-right: 12px; color: var(--c-ink); }
.pd-info .crumbs .icon { width: 12px; height: 12px; }
.pd-head { display: grid; gap: 8px; }
.pd-head .t-serif { font-size: var(--t5); }
.pd-head .h2 { letter-spacing: -.01em; }
.pd-head > p:not(.meta) { font-size: var(--t2); font-weight: 300; line-height: 1.7; color: var(--c-sub); }
.pd-head > div:last-child:not(:has(> :not([hidden]))) { display: none; }
.pd .price-lg { align-items: baseline; gap: 10px; font-size: var(--t6); }
.pd .price-rate { order: 0; font-size: var(--t3); font-weight: 400; color: var(--c-rose); }
.pd .price-sale { font-weight: 400; }
.pd .price-orig { font-size: var(--t1); color: var(--c-mute); }
.pd-form { display: grid; gap: 16px; }
.pd-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-14); font-size: var(--t2); }
.pd-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line-10); }
.pd-row:last-child { border-bottom: 0; }
.pd-row > .stack-0 { justify-items: end; gap: 3px; text-align: right; }
.pd-row > .stack-0 .meta { font-size: var(--t0); }
.pd-row .opt-list { gap: 16px; padding: 0; }
.pd-row .opt-item { padding-bottom: 2px; border-bottom: 1px solid transparent; color: var(--c-mute); transition: color .3s, border-color .3s; }
.pd-row .opt-item::before { content: none; }
.pd-row .opt-item:has(input:checked) { border-bottom: 1px solid var(--c-rose-soft); color: var(--c-ink); }
.pd-row .opt-item .meta { font-size: var(--t0); }
.pd-row .opt-list select.input { width: auto; height: 36px; }
.pd-row [data-sub-pick] { flex-basis: 100%; }
.pd-row .qty { gap: 14px; }
.pd-row .qty-num { min-width: 12px; }
.pd-form > .meta { margin: 0; text-align: right; }
.pd .buybar { position: static; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0; background: none; box-shadow: none; }
/* 장바구니 = 정사각 아이콘 버튼 */
.pd .pd-cart { aspect-ratio: 1; padding: 0; }
.pd .pd-cart .icon { width: 20px; height: 20px; }
/* 맨 아래 한 줄: 왼쪽 개수, 오른쪽 합계 크게 */
.pd-row.pd-sum { flex-wrap: nowrap; padding: 18px 0; }
.pd-sum-total { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.pd-sum-total > span { font-size: var(--t0); color: var(--c-mute); }
.pd-sum-total .num { font-size: var(--d1); font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pd-jump { display: flex; gap: 24px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line-14); font-size: var(--t2); }
.pd-jump a { display: inline-flex; align-items: center; gap: 2px; padding-bottom: 4px; border-bottom: 1px solid rgba(74, 59, 59, .25); transition: transform .15s ease; }
.pd-jump a:active { transform: scale(.95); }
.pd-jump .icon { width: 12px; height: 12px; }
.pd-detail { position: relative; z-index: 1; margin: 0; padding-bottom: 200px; border-top: 1px solid var(--line-10); background: #fff; } /* 상세 정보 · 후기 · 배송/교환 = 흰 바탕 */
.pd-detail > .tabs { position: sticky; top: 0; z-index: 2; justify-content: center; gap: clamp(24px, 3cqw, 44px); padding: 0 22px; border-bottom: 1px solid var(--line-10); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pd-detail > .tabs .tabs-item { height: 52px; padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; font-size: var(--t2); transition: color .3s, border-color .3s; }
.pd-detail > .tabs .tabs-item.is-active { border-bottom-color: var(--c-ink); }
.pd-sec { display: flex; flex-direction: column; gap: 28px; max-width: 860px; margin: 0 auto; padding: 80px 22px 0; scroll-margin-top: 52px; }
#pd-desc { padding-top: 64px; }
.pd-body { margin: 0 -22px; }
.pd-body img { display: block; width: 100%; height: auto; }
/* 후기(클로드 디자인 「4a-3 수정」): 평점 + 점수별 막대 · 사진 줄 · 베스트 자동 슬라이드 · 전체 목록 · 사진 모아 보기 창 */
.rvs { gap: 48px; }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; } /* PC: 점수별 막대는 오른쪽 끝 */
.rv-score { display: flex; flex-direction: column; gap: 12px; }
.rv-avg { display: flex; align-items: center; gap: 16px; }
.pd-avg { font-size: var(--d4); font-weight: 300; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rv-avg-side { display: flex; flex-direction: column; gap: 7px; }
.rv-avg-side .stars { font-size: var(--t3); line-height: 1; white-space: nowrap; }
.rv-none { font-size: var(--t2); }
.rv-dist { display: flex; flex-direction: column; gap: 9px; width: 240px; padding-bottom: 2px; }
.rv-dist > div { display: grid; grid-template-columns: 14px minmax(0, 1fr) 24px; gap: 12px; align-items: center; font-size: var(--t0); color: var(--c-mute); font-variant-numeric: tabular-nums; }
.rv-dist > div > span:last-child { text-align: right; }
.rv-bar { height: 3px; overflow: hidden; border-radius: 2px; background: var(--line-10); }
.rv-bar > i { display: block; height: 100%; border-radius: 2px; background: var(--c-rose-soft); transition: width .6s ease; }
.rv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; font-size: var(--t2); }
.rv-row > span > .meta { font-variant-numeric: tabular-nums; }
.rv-photos { display: flex; flex-direction: column; gap: 14px; }
.rv-strip-wrap { position: relative; }
.rv-strip { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; }
.rv-strip::-webkit-scrollbar { display: none; }
.rv-strip > * { position: relative; flex: none; width: 104px; height: 104px; overflow: hidden; border-radius: 10px; background: var(--c-img-bg); }
.rv-strip img, .rv-thumb img, .rv-best-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); -webkit-user-drag: none; }
.rv-strip > button:hover img, .rv-thumb:hover img { transform: scale(1.04); }
.rv-strip .rv-gal-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(244, 236, 232, .95); font-size: var(--t0); line-height: 1.45; text-align: center; transition: transform .15s; }
.rv-strip .rv-gal-cell:active { transform: scale(.95); }
.rv-strip.is-empty { cursor: default; overflow: hidden; }
.rv-strip.is-empty > i { box-sizing: border-box; border: 1px dashed rgba(74, 59, 59, .22); background: none; }
.rv-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border: 1px solid rgba(74, 59, 59, .25); border-radius: 50%; background: rgba(251, 247, 244, .92); color: var(--c-ink); transition: transform .15s, background-color .2s; }
.rv-arrow:hover { background: var(--c-milk); }
.rv-arrow:active { transform: scale(.9); }
.rv-arrow .icon { width: 16px; height: 16px; }
.rv-strip-wrap > .rv-arrow { position: absolute; top: 50%; margin-top: -20px; }
.rv-strip-wrap > .is-prev { left: -20px; }
.rv-strip-wrap > .is-next { right: -20px; }
.rv-extra { position: absolute; right: 8px; bottom: 6px; font-size: var(--t0); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); pointer-events: none; }
/* 베스트: 4.5초마다 다음, 마우스 · 손가락이 있으면 멈춤. PC 는 다음 것이 오른쪽에 살짝 보여요 */
.rv-best { display: flex; flex-direction: column; gap: 18px; }
.rv-car { position: relative; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.rv-track { display: flex; gap: 24px; align-items: flex-start; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.rv-slide { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: center; flex: 0 0 84%; min-width: 0; opacity: .45; transition: opacity .7s ease; }
.rv-slide.is-on { opacity: 1; }
.rv-slide:not(:has(.rv-best-img)) { grid-template-columns: minmax(0, 1fr); }
.rv-best-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--c-img-bg); }
.rv-best-img img { pointer-events: none; }
.rv-best-in, .rv-item-in { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-best-in { gap: 12px; }
.rv-tag { font-size: var(--t-sm); letter-spacing: .18em; color: var(--c-rose); }
.rv-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-line .stars { font-size: var(--t1); line-height: 1; white-space: nowrap; }
.rv-line .meta, .rv-who { font-size: var(--t0); font-variant-numeric: tabular-nums; }
.rv-who { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--c-mute); }
.rv-text { margin: 0; font-size: var(--t2); line-height: 1.75; font-weight: 300; text-wrap: pretty; overflow-wrap: anywhere; }
.rv-best-in .rv-text { font-size: var(--t4); }
.rv-text .more { margin-left: 4px; font-size: var(--t0); }
.rv-car-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-car-pos { display: flex; align-items: center; gap: 14px; }
.rv-car-n { font-family: var(--mono); font-size: var(--t-sm); color: var(--c-mute); }
.rv-dots { display: flex; align-items: center; gap: 5px; }
.rv-dots > button { width: 6px; height: 6px; padding: 0; border-radius: 3px; background: var(--c-ink); opacity: .3; transition: width .5s ease, opacity .5s ease; }
.rv-dots > button.is-on { width: 18px; opacity: 1; }
.rv-car-arrows { display: flex; gap: 8px; }
/* 전체 목록: 사진은 오른쪽, 판매자 답글은 접어 둠 */
.rv-all { display: flex; flex-direction: column; gap: 4px; }
.rv-tools { display: flex; align-items: center; gap: 20px; }
.rv-sort { height: 32px; padding: 0 20px 0 0; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237A6765' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center / 10px 6px; font: inherit; font-size: var(--t1); color: var(--c-ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.rv-tools .more.is-on { color: var(--c-ink); }
.rv-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.rv-item { display: flex; gap: 20px; padding: 24px 0; }
.rv-item + .rv-item { border-top: 1px solid var(--line-10); }
.rv-item-in { flex: 1; }
.rv-thumb { position: relative; flex: none; width: 96px; height: 96px; overflow: hidden; border-radius: 10px; background: var(--c-img-bg); }
.rv-item .reply, .rv-best-in .reply { padding: 14px 16px; border-radius: 12px; background: rgba(244, 236, 232, .8); animation: nnFade .3s both; }
.rv-item .reply .kicker, .rv-best-in .reply .kicker { font-size: var(--t0); }
.rv-reply-btn { align-self: flex-start; }
.rvs .btns { justify-content: center; }
/* 후기 0개: 별을 눌러 첫 후기 */
.rv-empty { display: flex; flex-direction: column; gap: 48px; }
.rv-invite { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 32px 0 16px; text-align: center; }
.rv-pick { display: flex; gap: 4px; }
.rv-pick > button { font-size: 36px; line-height: 1; color: var(--star-off); transition: color .15s, transform .15s; }
.rv-pick > button.is-on { color: var(--c-rose-soft); }
.rv-pick > button:active { transform: scale(.85); }
.rv-invite-text { margin: 0; font-size: var(--t4); font-weight: 300; }
/* 사진 모아 보기 · 크게 보기: PC 는 가운데 창, 폰은 화면 가득(오른쪽에서) */
.rv-gal { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 32px; }
.rv-gal-scrim { position: absolute; inset: 0; background: rgba(40, 30, 28, .22); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.rv-gal-box { position: relative; display: flex; flex-direction: column; width: min(960px, 100%); height: min(85%, 760px); overflow: hidden; border-radius: 20px; background: var(--c-milk); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s ease, transform .45s cubic-bezier(.05, .7, .1, 1); }
.rv-gal.is-open .rv-gal-scrim, .rv-gal.is-open .rv-gal-box { opacity: 1; }
.rv-gal.is-open .rv-gal-box { transform: none; }
.rv-gal-head { flex: none; display: flex; align-items: center; gap: 4px; height: 60px; padding: 0 12px; }
.rv-gal-title { flex: 1; min-width: 0; margin: 0; padding-left: 12px; font-size: var(--t3); font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.rv-gal.is-view .rv-gal-title { padding-left: 0; }
.rv-gal-x { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s, transform .15s; }
.rv-gal-x:hover { background: rgba(74, 59, 59, .06); }
.rv-gal-x .icon { width: 16px; height: 16px; }
.rv-gal-body { position: relative; flex: 1; min-height: 0; display: flex; overflow: hidden; }
.rv-gal-grid { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 16px; }
.rv-gal-grid > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; animation: nnFade .3s both; }
.rv-gal-grid button { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--c-img-bg); }
.rv-gal-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rv-gal-grid button:hover img { transform: scale(1.05); }
.rv-view { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; animation: nnFade .3s both; }
.rv-view-img { position: relative; overflow: hidden; background: var(--c-detail-bg); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rv-view-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rv-view-img > .rv-arrow { position: absolute; top: 50%; margin-top: -20px; }
.rv-view-img > .is-prev { left: 16px; }
.rv-view-img > .is-next { right: 16px; }
.rv-view-n { position: absolute; left: 50%; bottom: 16px; padding: 4px 10px; border-radius: 999px; background: rgba(251, 247, 244, .88); font-family: var(--mono); font-size: var(--t-sm); transform: translateX(-50%); }
.rv-view-txt { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 28px 28px 32px; }
.rv-view-txt .more { align-self: flex-start; margin-top: 4px; }
.rv-gal:not(.is-view) .rv-gal-head .sheet-back { display: none; }
@media (max-width: 767px) {
  .rv-head { gap: 24px; }
  .rv-dist { width: 100%; }
  .rv-strip { margin: 0 -22px; padding: 0 22px; }
  .rv-strip > * { width: 88px; height: 88px; }
  .rv-strip-wrap > .rv-arrow, .rv-car-arrows { display: none; }
  .rv-track { gap: 12px; }
  .rv-slide { grid-template-columns: minmax(0, 1fr); gap: 20px; flex-basis: 100%; opacity: 1; }
  .rv-thumb { width: 72px; height: 72px; }
  .rvs .btns .btn, .rv-invite .btn { width: 100%; }
  .rv-gal { padding: 0; align-items: stretch; }
  .rv-gal-scrim { display: none; }
  .rv-gal-box { width: 100%; height: 100%; border-radius: 0; opacity: 1; transform: translateX(100%); transition: transform 300ms var(--close); }
  .rv-gal.is-open .rv-gal-box { transform: none; transition: transform 380ms var(--open); }
  .rv-gal-head { height: 56px; padding: 0 8px; }
  .rv-gal-title { padding-left: 0; }
  .rv-gal:not(.is-view) .rv-gal-head .sheet-back { display: flex; }
  .rv-gal-x { display: none; }
  .rv-gal-grid { padding: 4px; }
  .rv-gal-grid > div { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .rv-gal-grid button { border-radius: 0; }
  .rv-view { display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
  .rv-view-img { flex: none; aspect-ratio: 1 / 1; }
  .rv-view-img > .is-prev { left: 12px; }
  .rv-view-img > .is-next { right: 12px; }
  .rv-view-n { display: none; }
  .rv-view-txt { overflow: visible; padding: 20px 20px 40px; }
  .rv-view-txt .rv-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.pd-sec .empty { gap: 14px; padding: 36px 0 12px; }
.pd-sec .empty .sub-text { line-height: 1.75; }
.pd-sec .btns { padding-top: 8px; }
.pd-sec > .info > div:last-child { border-bottom: 0; }
.pd-soldout { color: var(--c-rose); font-weight: 400; }
.pd-float { display: none; }
@media (max-width: 767px) {
  .pd-media { position: relative; flex: 1 1 100%; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .pd-media::after { background: linear-gradient(to top, rgba(50, 36, 32, .3), rgba(50, 36, 32, 0) 35%); }
  .pd-strip { left: 16px; right: 16px; bottom: 40px; justify-content: space-between; gap: 12px; } /* 정보 칸이 사진 위로 22px 올라와요: 그 위로 18px 띄우기 */
  .pd-thumbs .img { width: 48px; height: 48px; }
  .pd-back { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(251, 247, 244, .88); color: var(--c-ink); transition: transform .15s ease; }
  .pd-back .icon { width: 18px; height: 18px; }
  .pd-back:active { transform: scale(.9); }
  .pd-info { flex-basis: 100%; margin-top: -22px; border-left: 0; }
  .pd-float { position: fixed; left: 14px; right: 14px; bottom: clamp(18px, 2cqw, 28px); /* 메뉴바(.dock-wrap)와 같은 자리(둘 다 틀 기준) */ z-index: 4; display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 6px; border: 1px solid var(--line-12); border-radius: 999px; background: rgba(251, 247, 244, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .4s ease, transform .5s var(--ease); }
  .pd-float.is-on { opacity: 1; pointer-events: auto; transform: none; }
  .pd-float .btn { height: 44px; padding: 0 12px; font-size: var(--t2); }
  .pd-float .pd-cart { padding: 0; }
  .pd.is-soldout .pd-float, .is-panel .pd-float { display: none; }
}
/* PC: 오른쪽 정보는 제자리에 고정, 왼쪽만 스크롤(사진 한 화면 → 상세 정보 · 후기 · 배송/교환).
   정보가 화면보다 길면 정보 칸 안에서만 따로 넘겨요 */
@media (min-width: 900px) {
  .pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-rows: auto auto; gap: 0; align-items: start; padding-bottom: 0; }
  /* 왼쪽 상세는 칸 폭을 꽉 채워요(글은 양옆 여백만, 상세 사진은 끝까지) */
  .pd-sec { --sec-pad: clamp(24px, 3.4cqw, 56px); max-width: none; padding: 80px var(--sec-pad) 0; }
  .pd-body { margin: 0 calc(var(--sec-pad) * -1); }
  .pd-sec .info > div { grid-template-columns: minmax(160px, 22%) minmax(0, 1fr); gap: 20px; }
  .pd .duo { display: contents; }
  .pd-media { position: relative; grid-column: 1; grid-row: 1; animation: nnFade .6s ease both; }
  .pd-detail { grid-column: 1; grid-row: 2; min-width: 0; }
  .pd-info { position: sticky; top: 0; grid-column: 2; grid-row: 1 / span 2; height: 100cqh; min-height: 0; overflow-y: auto; scrollbar-width: none; background: rgba(255, 255, 255, .82); animation: nnFade .6s ease both; } /* 왼쪽 흰 상세와 어울리게 더 밝게 */
  .pd-info::-webkit-scrollbar { display: none; }
}

/* 16. 스크롤해 보이면 올라오는 모션(common.js 가 is-in) */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-rv] { transition: opacity .9s ease, transform 1.1s var(--ease); }
  [data-rv]:not(.is-in) { opacity: 0; transform: translateY(24px); }
}

/* 17. 움직임 */
@keyframes nnIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes nnBack { from { transform: translateX(-30%); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes nnKen { 0% { transform: scale(1.03) translate(0, 0); } 100% { transform: scale(1.14) translate(-2.5%, -1.5%); } }
@keyframes nnSun { 0%, 100% { opacity: .3; } 50% { opacity: .75; } }
@keyframes nnRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nnSettle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes nnFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nnPop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); } }
@keyframes nnPopAgain { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); } }
/* 화면 바꾸기(문서 안에서 <main> 만 바꿔 끼움, 쇼핑몰 공용 스크립트 [data-swap]): 원본과 같은 움직임.
   이전 화면은 글 · 상품 칸이 바로 사라지고 배경 층만 1초에 걸쳐 흐려져요(.swap-ghost). 새 화면은 배경 1초 나타남 + 뿌리 .6초 · 글 올라오기 · 스크롤 등장.
   알약 메뉴는 그대로 남아 점이 .6초 미끄러지고 글자색이 .45초에 바뀌어요. 알약이 올라오는 등장 모션은 처음 들어올 때 한 번만(.nn-seen) */
.swap-ghost { position: absolute; inset: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
main.swap-ghost .bg { visibility: visible; animation: nnFadeOut 1s ease both; }
.swap-in .bg { animation: nnFade 1s ease both; }
@keyframes nnFadeOut { to { opacity: 0; } }
.nn-seen .dock { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroller { scroll-behavior: auto; }
}

/* 상품 상세 오른쪽 정보: 상품명 크게, 가격 오른쪽, 합계 위 구분선 진하게 */
.pd-head .h2 { font-size: clamp(32px, 2.8cqw, 40px); font-weight: 600; letter-spacing: -.02em; }
.pd-info > .price-lg { justify-content: flex-end; }
.pd-info > .price-lg .price-rate { order: -2; }
.pd-info > .price-lg .price-orig { order: -1; margin-right: 4px; }
.pd-form .pd-sum { margin-top: -1px; padding-top: 28px; border-top: 1px solid rgba(74, 59, 59, .38); }
.pd-info { gap: 36px; }
.pd-form { gap: 26px; }

/* PC: 화면 높이에 맞춰 오른쪽 정보를 여유 있게 채움 */
@media (min-width: 1024px) {
  .pd-info { justify-content: center; gap: clamp(32px, 5.5cqh, 64px); }
  .pd-form { gap: clamp(26px, 4cqh, 44px); }
  .pd-form .pd-row { padding-top: clamp(14px, 2.2cqh, 24px); padding-bottom: clamp(14px, 2.2cqh, 24px); }
  .pd-form .pd-sum { padding-top: clamp(28px, 4cqh, 44px); }
  .pd-form .buybar .btn { height: clamp(48px, 7cqh, 64px); font-size: var(--t3); }
  .pd-form .buybar .pd-cart { width: clamp(48px, 7cqh, 64px); }
}

/* PC: 상품 상세에서도 하단 메뉴바 보이기 (모바일은 그대로 숨김) */
@media (min-width: 1024px) {
  .frame:has(main:not(.swap-ghost) .pd) .dock-wrap { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* 폰 상품 상세: 사진 밑 빈자리 없이 상품 정보를 위로 · 정보 칸은 비치지 않게 꽉 찬 바탕 (대표 요청 11/5) */
@media (max-width: 767px) {
  .pd-info { padding-top: 16px; background: var(--c-milk); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* 주문서: 패널 넓게 · 주문자 접기 · 배송지 제목 옆 「주문자 정보와 동일」 · 결제 방법 카드 (입력칸 · 제목 밑줄은 공용 규칙 그대로) */
@media (min-width: 768px) { .sheet { width: min(540px, 100%); } }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-12); }
.co-head .sec-title { padding-bottom: 0; border-bottom: 0; }
.co-head .check { font-size: var(--t1); color: var(--c-sub); }
.co-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-field) 16px; }
.co-buyer-body { display: grid; gap: var(--gap-field); }
.co-buyer-sum { display: none; margin: 0; font-size: var(--t2); color: var(--c-sub); }
.co-buyer.is-fold .co-buyer-sum { display: block; animation: nnFade .3s both; }
.co-buyer.is-fold .co-buyer-body { display: none; }
.co-buyer:not(.is-fold) .co-buyer-body { animation: nnFade .3s both; }
.pay-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-card { position: relative; display: grid; justify-items: start; align-content: start; gap: 8px; min-height: 92px; padding: 16px; border: 1px solid var(--line-14); border-radius: 14px; color: var(--c-ink); cursor: pointer; transition: border-color .2s, box-shadow .2s, color .2s, transform .15s; }
.pay-card input { position: absolute; opacity: 0; pointer-events: none; }
.pay-card svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--c-mute); transition: color .2s; }
.pay-name { font-size: var(--t2); }
.pay-note { font-size: var(--t-sm); color: var(--c-mute); }
.pay-card:has(input:checked) { border-color: var(--c-rose); box-shadow: inset 0 0 0 1px var(--c-rose); color: var(--c-rose); }
.pay-card:has(input:checked) svg { color: var(--c-rose); }
.pay-card:has(input:disabled) { opacity: .5; cursor: default; }
.pay-card:has(input:focus-visible) { outline: 2px solid var(--c-rose); outline-offset: 2px; }
.pay-card:not(:has(input:disabled)):active { transform: scale(.98); }

/* 주문서(패널): 항목 사이는 두꺼운 띠로만 나누고 제목 밑줄은 없애요 (1안). 입력칸 밑줄은 공용 규칙 그대로 */
.panel-view .co { gap: 0; }
.panel-view .co > .panel { margin: 0 -20px; padding: 26px 20px; border-top: 8px solid var(--c-detail-bg); }
.panel-view .co > .panel:first-child { padding-top: 4px; border-top: 0; }
.panel-view .co :is(.co-head, .sec-title) { padding-bottom: 0; border-bottom: 0; }

/* 패널 공용(마이쇼핑 · 주문 완료 · 주문 조회 · 배송지 · 적립금 등): 주문서와 같은 규칙 — 구역은 두꺼운 띠로 나누고 구역 제목 밑줄은 없애요 */
.panel-view .panels { gap: 8px; margin: 0 -20px; background: var(--c-detail-bg); }
.panel-view .panels > :not(.btn) { margin: 0; padding: 26px 20px; background: var(--c-milk); }
/* 패널 안 폼 맨 아래 단추(1:1 문의 등): 띠 규칙에서 빼고, 단추 양옆도 흰 바탕으로 */
.panel-view .panels { isolation: isolate; }
.panel-view .panels > .btn { position: relative; width: auto; margin: -8px 20px 0; }
.panel-view .panels > .btn::before { content: ""; position: absolute; inset: -2px -20px; z-index: -1; background: var(--c-milk); }
.panel-view .panels > :first-child { padding-top: 4px; }
.panel-view .panels > :is(.link-row, .btns-col) { margin-top: -8px; padding-top: 4px; } /* 로그아웃 · 쇼핑 계속하기 같은 단추 줄은 띠 없이 바로 아래에 */
.panel-view :is(.sec-title, .sec-head, .panel > .h3, .panel > .h4) { padding-bottom: 0; border-bottom: 0; }
.panel-view .panels .steps { border-top: 0; border-bottom: 0; }
.panel-view .panels .menu-row:last-of-type { border-bottom: 0; }

/* 장바구니: 금액 · 주문하기가 바닥에 떨어져 가운데가 비지 않게 담은 상품 바로 아래로 (내용이 길면 바닥에 붙어요) */
.panel-view [data-cart] .sheet-foot { margin-top: 0; padding-top: 22px; border-top: 8px solid var(--c-detail-bg); }
.panel-view [data-cart] .cart-item:last-child { border-bottom: 0; }

/* 상품 상세(화면 폭 900px 미만): 정보 칸이 화면 높이만큼 늘어나 구매 단추 밑이 비던 것 → 내용 높이만큼만 */
@media (max-width: 899px) {
  .pd-info { min-height: 0; padding-bottom: 40px; }
}

/* 모바일 분류 화면: 문구를 위쪽으로 올리고 제목을 크게, 밝은 영상 위에서도 보이게 위아래 어두운 그라데이션 + 그림자 (대표 요청 11/4) */
@media (max-width: 767px) {
  .list { padding-top: 96px; }
  .list .duo-hero { margin-bottom: auto; }
  .list-copy { gap: 10px; }
  .list-copy > .t-eyebrow { font-size: var(--t-sm); letter-spacing: .14em; }
  .list-copy > .t-display { font-size: var(--d3); line-height: 1.08; }
  .list-copy > .t-sub { font-size: var(--t3); line-height: 1.6; }
  .list .bg-cat::after { background: linear-gradient(to bottom, rgba(50, 36, 32, .55), rgba(50, 36, 32, .22) 38%, rgba(50, 36, 32, 0) 58%), linear-gradient(to top, rgba(50, 36, 32, .55), rgba(50, 36, 32, 0) 50%); }
  .list:has(.bg-cat.is-active:not([hidden])) .list-copy { text-shadow: 0 1px 3px rgba(40, 30, 28, .4), 0 2px 20px rgba(40, 30, 28, .45); }
}

/* 모바일 분류 화면 상품: 오른쪽 아래에 썸네일 위 · 상품명 · 금액만 오른쪽 정렬로 (구분선 · 설명 없음, 대표 요청 11/4) */
@media (max-width: 767px) {
  .list .duo-side { align-items: flex-end; }
  .list-items { width: auto; justify-items: end; }
  .list .pcard { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-top: 0; border-top: 0; text-align: right; }
  .list .pcard-img { width: 112px; flex: none; }
  .list .pcard-body { align-items: flex-end; }
  .list .pcard-body .sum-row { justify-items: end; gap: 4px; }
  .list .pcard .meta { display: none; }
}

/* 분류 화면 상품(PC · 모바일 공통): 설명 줄은 빼고 상품명 밑에 금액. 모바일 썸네일은 더 크게 (대표 요청 11/4) */
.list .pcard .meta { display: none; }
.list .pcard-body .sum-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
.list .pcard-name { font-size: var(--t4); }
@media (max-width: 767px) {
  .list .pcard-img { width: 168px; }
  .list .pcard-body .sum-row { align-items: flex-end; gap: 4px; }
  .list .pcard-name { font-size: var(--t3); }
}

/* 사업자 정보 패널: 위 4줄만 보이고 나머지는 「더보기」로 펼쳐요 (대표 요청 11/4) */
.biz .biz-more { margin-top: calc(var(--gap-group) * -1); border-top: 0; animation: nnRise .4s var(--ease) both; }
.biz-more-btn { justify-self: start; margin-top: -10px; }
.biz-more-btn .icon { transition: transform .25s; }
.biz-more-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* 구역 제목 공용 규칙(2026-11-04): 패널 안 구역 제목은 크기 · 아래 간격을 :root --sec-title-fs · --sec-title-gap 하나로 맞춰요(주문서 · 주문 완료 · 주문 상세 · 장바구니 …) */
.panel:is(.panel-list, .panel-sum):has(> .sec-title) { gap: var(--sec-title-gap); }
.panel-addr > .sec-title { margin-bottom: calc(var(--sec-title-gap) - 8px); }
.panel-agree > .sec-title { margin-bottom: calc(var(--sec-title-gap) - 12px); }
.panel-view .panels > .done-head { padding: 28px 20px 34px; }

/* 주문서 배송지(11/5 모든 스킨 같은 구조): 정보가 다 있으면 한 줄(누르면 수정 칸) · 「변경」 = 저장한 배송지 목록 */
.co-recv, .co-list { display: grid; gap: var(--gap-field); }
.co-saved { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.co-saved-text { flex: 1; min-width: 0; display: grid; gap: 4px; font-size: var(--t2); line-height: 1.5; }
.co-saved > .icon { width: 14px; height: 14px; color: var(--c-mute); }
.co-who { font-weight: 600; }
.co-addr { align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-12); }
.co-addr input { margin-top: 3px; border-radius: 50%; }
.co-list .btn { justify-self: start; }

/* 줄 안 고르기 칸(공동현관 등): 옆에 입력칸이 보이면 고르기 칸은 글자 폭만큼만, 입력칸이 나머지를 채워요(사이 빈 공간 없음). 입력칸이 숨으면 고르기 칸이 줄 전체 */
.field-row > .pick-wrap:has(+ .input:not([hidden])) { flex: none; min-width: 104px; }

/* 카드 결제(11/8): 카드가 켜지면 「준비 중」 글씨를 숨기고, 주문 완료의 카드 전용 글씨는 카드 주문일 때만 */
form[data-pay-card="on"] .pay-note { display: none; }
[data-complete]:not([data-pay="card"]) [data-pay-only="card"] { display: none; }
[data-email-field][data-known] { display: none; }

/* 장바구니 상품 빼기: 글자 「빼기」 대신 오른쪽 위 X 아이콘(icon-close) */
.cart-del { flex: none; align-self: flex-start; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -5px -6px 0 0; border-radius: 50%; color: var(--c-mute); transition: color .2s, background-color .2s, transform .15s; }
.cart-del .icon { width: 14px; height: 14px; }
.cart-del:hover { color: var(--c-ink); background: rgba(74, 59, 59, .06); }
.cart-del:active { transform: scale(.9); }

/* 홈 영상(콘텐츠 「홈 슬라이드」에 mp4 를 올리면 common.js 가 영상으로 바꿔요): 화면 가득 · 확대 움직임 없음 */
.home-photo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.home.is-kb .home-photo.is-video.is-on { transform: none; }

/* 홈 문구 크기 = 분류 화면(널브캄 · 널브캄키즈)과 같게 (대표 요청 11/11). 폰은 고정 크기, PC는 화면 폭 따라 */
.home-copy > .t-eyebrow { font-size: var(--t-sm); letter-spacing: .14em; }
.home-copy > .t-display { font-size: var(--d3); line-height: 1.08; }
.home-copy > .home-sub { font-size: var(--t3); line-height: 1.6; }
@media (min-width: 768px) {
  .home-copy { gap: clamp(10px, .9cqw, 18px); }
  .home-copy > .t-eyebrow { font-size: clamp(12px, .78cqw, 15px); letter-spacing: .2em; }
  .home-copy > .t-display { font-size: clamp(44px, 4.4cqw, 84px); line-height: 1.05; }
  .home-copy > .home-sub { font-size: clamp(16px, 1.05cqw, 20px); }
}

/* 홈 문구: 분류 화면(널브캄 · 널브캄키즈)과 같은 흰 글자 + 어두운 그라데이션 + 그림자 (대표 요청 11/11). 폰은 위아래(문구가 있는 아래쪽을 더 길게), PC는 왼쪽(문구 쪽)과 아래를 어둡게 */
.home { color: var(--c-milk); }
.home .home-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(50, 36, 32, .45), rgba(50, 36, 32, 0) 35%), linear-gradient(to top, rgba(50, 36, 32, .62), rgba(50, 36, 32, .32) 38%, rgba(50, 36, 32, 0) 66%); } /* 폰: 홈 문구는 아래쪽(60~80%)에 있어서 아래 그라데이션을 분류 화면보다 길게 */
.home-copy { text-shadow: 0 1px 3px rgba(40, 30, 28, .4), 0 2px 20px rgba(40, 30, 28, .45); }
@media (min-width: 768px) {
  .home .home-bg::after { background: linear-gradient(to right, rgba(50, 36, 32, .46), rgba(50, 36, 32, .16) 42%, rgba(50, 36, 32, 0) 62%), linear-gradient(to top, rgba(50, 36, 32, .5), rgba(50, 36, 32, 0) 55%), linear-gradient(to left, rgba(50, 36, 32, .3), rgba(50, 36, 32, 0) 55%); }
  .home-copy { text-shadow: 0 1px 3px rgba(40, 30, 28, .35), 0 2px 22px rgba(40, 30, 28, .4); }
}


/* 폰에서 누를 때 브라우저가 칠하는 파란 눌림 표시 끄기(2026-11-11 대표) */
html { -webkit-tap-highlight-color: transparent; }


/* 홈 영상: 첫 장면이 오기 전 빈 칸에 브라우저 기본 ▶ 재생 모양이 잠깐 뜨지 않게(2026-11-11 대표). 준비되면(is-ready) 부드럽게 보이기 */
.home-photo.is-video video { opacity: 0; transition: opacity .6s ease; }
.home-photo.is-video.is-ready video { opacity: 1; }
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
