/*
 * NORDHEM 고객 화면 스타일 (빌드 없음 · 이 파일을 직접 고친다)
 * 방향: 넓은 여백, 큰 사진, 절제된 글꼴(본문 Pretendard · 제목 Noto Serif KR), 오프화이트·샌드·웜그레이·차콜
 * 모바일 우선: 기본 규칙이 휴대폰, min-width 600 / 900 / 1180 에서 넓혀 간다.
 */

:root {
    --bg: #fbfaf7;
    --white: #ffffff;
    --surface: #f2efe9;
    --sand: #e8e2d7;
    --sand-2: #d6cdbe;
    --line: #e4dfd6;
    --line-strong: #cbc3b6;
    --ink: #1d1c1a;
    --ink-2: #3d3a36;
    --muted: #6b665f;
    --faint: #9b958c;
    --sale: #a0301d;
    --ok: #2c5a37;

    --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
    --serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", Georgia, serif;

    --head-h: 56px;
    --gutter: 16px;
    --maxw: 1600px;
    --ease: cubic-bezier(.2, .65, .25, 1);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --head-h: 64px; } }
@media (min-width: 1180px) { :root { --gutter: 40px; --head-h: 68px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--sans); font-size: 14px; line-height: 1.65; letter-spacing: -.003em;
    word-break: keep-all; overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.3; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: var(--sand); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .over-hero:not(.solid) :focus-visible { outline-color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; font-size: 13px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }

/* 글자 도우미 */
.eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.sale-text { color: var(--sale); }
.ok-text { color: var(--ok); }
.nowrap { white-space: nowrap; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.link-arrow:hover { color: var(--muted); }

/* 페이지 제목 */
h1.page, .page-title { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.25; letter-spacing: -.01em; margin: 32px 0 24px; }
@media (min-width: 900px) { h1.page, .page-title { font-size: 38px; margin: 56px 0 36px; } }

/* ---------- 버튼 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0;
    background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 1.2;
    text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: #000; border-color: #000; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.block { display: flex; width: 100%; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface); border-color: var(--line-strong); color: var(--muted); cursor: not-allowed; }

/* ---------- 입력 ---------- */
label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin: 20px 0 8px; letter-spacing: .01em; }
label .muted { font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=file], select, textarea {
    display: block; width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); color: var(--ink);
    font-size: 14px; outline: 0; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
input[type=file] { padding: 10px 12px; font-size: 13px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
input:disabled, select:disabled { background: var(--surface); color: var(--muted); }
select {
    padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1c1a' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 400; color: var(--ink); margin: 16px 0 0; cursor: pointer; line-height: 1.5; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.inline-label { display: inline; margin: 0; font-size: inherit; font-weight: 400; color: inherit; letter-spacing: 0; }
.help { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.7; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* ---------- 알림 ---------- */
.notices { padding-top: 16px; }
.notices:empty { display: none; }
.flash, .errors { padding: 14px 16px; margin: 0 0 12px; font-size: 13.5px; border-left: 2px solid; line-height: 1.6; }
.flash { background: #edf2eb; color: #22492a; border-color: #22492a; }
.errors { background: #f6eae7; color: #82261a; border-color: #82261a; }
.errors ul { margin: 0; padding-left: 18px; }
.errors a, .flash a { color: inherit; }
.toast {
    position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%);
    width: max-content; max-width: calc(100% - 32px); display: flex; align-items: flex-start; gap: 16px;
    background: var(--ink); color: #fff; padding: 14px 16px 14px 20px; font-size: 13.5px; line-height: 1.55;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18); animation: toast-in .35s var(--ease);
}
.toast button { flex: none; background: none; border: 0; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; opacity: .8; }
.toast.hide { opacity: 0; transform: translate(-50%, 12px); transition: opacity .4s, transform .4s; pointer-events: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- 상단 안내 바 · 헤더 ---------- */
.notice-bar { background: var(--surface); color: var(--ink-2); font-size: 12px; letter-spacing: .02em; text-align: center; padding: 8px var(--gutter); line-height: 1.5; }

.site-head {
    position: sticky; top: 0; z-index: 60; background: var(--bg); color: var(--ink);
    border-bottom: 1px solid var(--line);
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 0; background: none; border: 0; cursor: pointer; }
.burger { position: relative; width: 22px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.menu-btn .lbl { font-size: 12px; letter-spacing: .1em; }
.logo { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .3em; padding-left: .3em; line-height: 1; text-decoration: none; white-space: nowrap; }
.primary { display: none; }
.utils { justify-self: end; display: flex; align-items: center; }
.util { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 40px; justify-content: center; padding: 0 6px; background: none; border: 0; font-size: 12px; letter-spacing: .06em; text-decoration: none; white-space: nowrap; cursor: pointer; }
.util .ico { width: 20px; height: 20px; flex: none; }
.util .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.util .bubble { position: absolute; top: 7px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 10px; line-height: 16px; text-align: center; letter-spacing: 0; }
.util .bubble[data-n="0"] { display: none; }
.util-sm-hide { display: none; }
@media (min-width: 900px) {
    .logo { font-size: 20px; }
    .util { padding: 0 10px; }
    .util .ico, .util .bubble { display: none; }
    .util .txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .util:hover .txt { text-decoration: underline; text-underline-offset: 6px; }
    .util-sm-hide { display: inline-flex; }
}
@media (min-width: 1280px) {
    /* 메뉴 버튼(전체 분류 서랍)은 그대로 두고, 대분류를 헤더에 펼친다 */
    .head-row { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0 32px; }
    .logo { font-size: 21px; }
    .primary { display: block; min-width: 0; overflow: hidden; }
    .primary > ul { display: flex; flex-wrap: nowrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
    .primary .wide-only { display: none; }
    .primary > ul > li > a { position: relative; display: flex; align-items: center; height: var(--head-h); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
    .primary > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(50% - 13px); height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
    .primary > ul > li > a:hover::after, .primary > ul > li > a.on::after, .primary > ul > li:focus-within > a::after { transform: scaleX(1); }
    .primary a.sale { color: var(--sale); }
}
@media (min-width: 1440px) { .primary .wide-only { display: list-item; } .primary > ul { gap: 0 26px; } }

/* 메가 메뉴 (데스크톱) */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
    background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 36px 0 44px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.primary li:hover > .mega, .primary li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.mega-title { font-family: var(--serif); font-size: 26px; font-weight: 300; margin: 0 0 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 3 180px; column-gap: 48px; }
.mega li a { display: inline-block; padding: 6px 0; font-size: 14px; text-decoration: none; }
.mega li a:hover { text-decoration: underline; }

/* 첫 화면 위 투명 헤더 → 스크롤하면 불투명 */
.site-head.over-hero { margin-bottom: calc(-1 * var(--head-h) - 1px); background: transparent; border-bottom-color: transparent; color: #fff; }
.site-head.over-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160%; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)); transition: opacity .35s; }
.site-head.over-hero.solid, .site-head.over-hero:hover, .site-head.over-hero:focus-within, .site-head.over-hero.is-open { background: var(--bg); color: var(--ink); border-bottom-color: var(--line); }
.site-head.over-hero.solid::before, .site-head.over-hero:hover::before, .site-head.over-hero:focus-within::before, .site-head.over-hero.is-open::before { opacity: 0; }
.site-head.over-hero:not(.solid):not(:hover):not(:focus-within):not(.is-open) .bubble { background: #fff; color: var(--ink); }

/* 검색 패널 */
.search-panel { border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 20px 0 28px; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--ink); }
.search-form input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; min-height: 52px; font-size: 18px; box-shadow: none; }
.search-form input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form button { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: .12em; padding: 8px 0; }
.search-hints { max-width: 760px; margin: 14px auto 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.search-hints a { text-decoration: none; }
.search-hints a:hover { color: var(--ink); text-decoration: underline; }

/* 서랍 메뉴 (휴대폰·태블릿) */
.drawer {
    margin: 0; padding: 0; border: 0; inset: 0 auto 0 0;
    width: min(420px, 100%); max-width: 100%; height: 100%; max-height: 100%;
    background: var(--bg); color: var(--ink); overflow: hidden;
}
.drawer[open] { display: flex; animation: drawer-in .35s var(--ease); }
.drawer::backdrop { background: rgba(29, 28, 26, .38); }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer-inner { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: 0 var(--gutter) 40px; }
.drawer-top { position: sticky; top: 0; z-index: 1; background: var(--bg); display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.drawer-close { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: .1em; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.drawer-close span[aria-hidden] { font-size: 22px; font-weight: 300; line-height: 1; }
.drawer-nav { list-style: none; margin: 8px 0 0; padding: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 16px; text-decoration: none; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--muted); }
.drawer-nav details[open] summary::after { content: "−"; }
.drawer-nav details ul { list-style: none; margin: 0; padding: 0 0 14px 2px; }
.drawer-nav details li a { display: block; padding: 8px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.drawer-nav a.sale { color: var(--sale); }
.drawer-sec { margin-top: 32px; }
.drawer-sec ul { list-style: none; margin: 0; padding: 0; }
.drawer-sec li a, .drawer-sec li button { display: block; width: 100%; text-align: left; padding: 8px 0; font-size: 14px; text-decoration: none; background: none; border: 0; cursor: pointer; }
.drawer-sec li a:hover, .drawer-sec li button:hover { text-decoration: underline; }
.drawer-foot { margin-top: auto; padding-top: 32px; font-size: 12.5px; color: var(--muted); }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; height: 82svh; min-height: 460px; max-height: 980px; background: var(--sand); color: #fff; overflow: hidden; }
@media (min-width: 900px) { .hero { height: 94svh; min-height: 560px; } }
.hero .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s; }
.hero .slide.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 7s linear; }
.hero .slide.on img { transform: scale(1); }
.hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .12) 42%, rgba(0, 0, 0, 0) 68%); pointer-events: none; }
.hero .text { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 72px; max-width: 680px; text-shadow: 0 1px 30px rgba(0, 0, 0, .18); }
.hero .eyebrow { color: rgba(255, 255, 255, .88); }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5.4vw, 76px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 14px; }
.hero .text p { font-size: 15px; line-height: 1.6; max-width: 40ch; margin: 0 0 26px; opacity: .94; }
.hero .link-arrow { color: #fff; font-size: 12.5px; }
.hero-ctrl { position: absolute; z-index: 3; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 4px; }
.hero-ctrl button { position: relative; width: 36px; height: 28px; background: none; border: 0; padding: 0; cursor: pointer; }
.hero-ctrl button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: rgba(255, 255, 255, .5); transition: background .3s, height .3s; }
.hero-ctrl button.on::before { background: #fff; height: 2px; margin-top: -.5px; }
.hero-count { font-size: 11px; letter-spacing: .14em; margin-right: 10px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .hero .text { bottom: 96px; } .hero-ctrl { bottom: 96px; } }
.hero-plain { background: var(--surface); padding: 96px 0 104px; text-align: center; }
.hero-plain .hero-title { color: var(--ink); }
.hero-plain p { color: var(--muted); }

.intro { text-align: center; padding: 72px 0 8px; }
.intro p { font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.6; max-width: 30ch; margin: 0 auto; }
.intro .eyebrow { margin-bottom: 18px; }

/* 섹션 */
.section { padding-top: 64px; }
@media (min-width: 900px) { .section { padding-top: 112px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.section-head h2 { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.section-head .desc { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
@media (min-width: 900px) { .section-head { margin-bottom: 36px; } .section-head h2 { font-size: 32px; } }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* 분류 타일 */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; }
.tile { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.tile-media { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 13px; letter-spacing: .06em; }
.tile-name .go { font-size: 11px; letter-spacing: .12em; color: var(--muted); transition: transform .3s var(--ease); }
.tile:hover .tile-name .go { transform: translateX(4px); color: var(--ink); }
.tiles .tile:first-child { grid-column: 1 / -1; }
.tiles .tile:first-child .tile-media { aspect-ratio: 4 / 3; }
.tiles .tile:first-child .tile-name { font-family: var(--serif); font-size: 18px; letter-spacing: 0; }
@media (min-width: 900px) {
    .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 16px; }
    .tiles .tile:first-child { grid-column: span 2; grid-row: span 2; }
    .tiles .tile:first-child .tile-media { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
    .tiles .tile:first-child .tile-name { font-size: 22px; }
}

/* 띠 배너 */
.band { background: var(--surface); padding: 72px var(--gutter); text-align: center; }
.band h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 52px); line-height: 1.15; margin: 0 0 12px; }
.band p { color: var(--muted); margin: 0 auto 28px; max-width: 36ch; }
@media (min-width: 900px) { .band { padding: 112px var(--gutter); } }
.after-band { padding-top: 40px; }
@media (min-width: 900px) { .after-band { padding-top: 56px; } }

/* 매거진 · 룩북 */
.lookbook { display: grid; gap: 40px; }
@media (min-width: 900px) {
    .lookbook { grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
    .lookbook.single { grid-template-columns: minmax(0, 1fr); }
    .lookbook .side { display: grid; gap: 40px; align-content: start; }
    .lookbook:not(.single) .lead { display: flex; flex-direction: column; }
    .lookbook:not(.single) .lead .cover { flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; }
}
.mag-card { display: block; text-decoration: none; min-width: 0; }
.mag-card .cover { position: relative; aspect-ratio: 3 / 2; background: var(--surface); overflow: hidden; }
.mag-card .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mag-card:hover .cover img { transform: scale(1.03); }
.mag-card .date, .mag .date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.mag-card h3, .mag-card .mag-title { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.4; margin: 6px 0 6px; }
.mag .crumbs { justify-content: center; }
.mag-card p { color: var(--muted); margin: 0; font-size: 13.5px; }
.lookbook .lead .cover { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .lookbook .lead h3 { font-size: 26px; } }
.mag-grid { display: grid; gap: 40px 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .mag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }

/* 인스타그램 띠 */
.ig-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (min-width: 900px) { .ig-strip { grid-template-columns: repeat(6, 1fr); } }
.ig-strip a { position: relative; display: block; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.ig-strip a:hover img { transform: scale(1.04); opacity: .9; }
.ig-video { position: absolute; top: 10px; right: 10px; color: #fff; font-size: 12px; text-shadow: 0 0 6px rgba(0, 0, 0, .6); }

/* 브랜드 줄 */
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 8px 0; }
.brand-row a { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .2s; }
.brand-row a:hover { color: var(--ink); }

/* ---------- 상품 카드 · 그리드 ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 8px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 12px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 16px; } }
@media (max-width: 599px) {
    .rail-sm { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .rail-sm::-webkit-scrollbar { display: none; }
    .rail-sm > * { flex: 0 0 62%; scroll-snap-align: start; }
}
.card { position: relative; min-width: 0; }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card-media img.alt { opacity: 0; }
@media (hover: hover) {
    .card-link:hover .card-media img.alt { opacity: 1; }
    .card-link:hover .card-media img.solo { transform: scale(1.035); }
}
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 11px; letter-spacing: .22em; }
.flags { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 4px; }
.flag { background: rgba(251, 250, 247, .94); color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 7px; line-height: 1.2; }
.flag.sale { color: var(--sale); }
.soldout { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(251, 250, 247, .9); text-align: center; font-size: 11px; letter-spacing: .16em; padding: 9px; color: var(--ink-2); }
.card-body { padding-top: 12px; }
.card-brand { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.card-name { font-size: 13px; font-weight: 400; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin: 6px 0 0; font-size: 13px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.card-price .was { color: var(--muted); font-size: 12px; text-decoration: line-through; }
.card-price .rate { color: var(--sale); font-size: 12px; }
.card-rate { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }
.card-rate .stars { font-size: 10px; }
.card-after { margin-top: 8px; }

/* ---------- 목록 ---------- */
.crumbs { font-size: 12px; color: var(--muted); margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .sep { color: var(--faint); }
.list-head { padding: 24px 0 8px; }
.list-head .title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.list-head h1 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.list-head .count { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
@media (min-width: 900px) { .list-head { padding: 44px 0 12px; } .list-head h1 { font-size: 44px; } }
.subcats { display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
.subcats::-webkit-scrollbar { display: none; }
.subcats a { flex: none; padding: 8px 0; font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; white-space: nowrap; }
.subcats a:hover { color: var(--ink); }
.subcats a.on { color: var(--ink); border-bottom-color: var(--ink); }
@media (min-width: 900px) { .subcats { flex-wrap: wrap; overflow: visible; } }
.toolbar {
    position: sticky; top: var(--head-h); z-index: 20; background: var(--bg);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border-bottom: 1px solid var(--line); margin: 16px 0 24px; min-height: 52px;
}
@media (min-width: 900px) { .toolbar { margin-bottom: 32px; } }
.toolbar .left { display: flex; align-items: center; gap: 20px; }
.toolbar select { width: auto; min-height: 40px; border: 0; background-color: transparent; padding: 0 28px 0 0; font-size: 12.5px; background-position: right 4px center; box-shadow: none; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 12.5px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.dd[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.dd-panel { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 220px; background: var(--bg); border: 1px solid var(--line); padding: 10px 18px 14px; box-shadow: 0 16px 40px rgba(29, 28, 26, .08); }
.dd-panel a { display: block; padding: 7px 0; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.dd-panel a:hover, .dd-panel a.on { color: var(--ink); text-decoration: underline; }
.empty { padding: 88px 0; text-align: center; color: var(--muted); }
.empty p { margin: 0 0 20px; }

/* 페이지 나누기 */
.pagination { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 64px 0 0; }
.pagination a, .pagination span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font-size: 13px; text-decoration: none; color: var(--muted); }
.pagination a:hover { color: var(--ink); }
.pagination .on { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- 상품 상세 ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 12px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.3fr) minmax(340px, 1fr); gap: 48px; align-items: start; margin-top: 20px; } }
@media (min-width: 1180px) { .pdp { grid-template-columns: minmax(0, 1.45fr) minmax(380px, 1fr); gap: 80px; } }

.gallery { position: relative; min-width: 0; }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); overscroll-behavior-x: contain; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .shot { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; margin: 0; }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; }
.gallery .shot .noimg { font-size: 12px; }
.gallery .counter { position: absolute; right: 0; bottom: 12px; z-index: 2; background: rgba(251, 250, 247, .9); font-size: 11px; letter-spacing: .12em; padding: 4px 9px; font-variant-numeric: tabular-nums; }
.gallery .thumbs { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery .thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 56px; padding: 0; border: 0; background: var(--surface); cursor: pointer; position: relative; }
.thumb img { width: 56px; aspect-ratio: 1; object-fit: cover; opacity: .55; transition: opacity .2s; }
.thumb.on img, .thumb:hover img { opacity: 1; }
.thumb.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); }
@media (min-width: 900px) {
    .gallery.multi { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: start; }
    .gallery.multi .thumbs { order: -1; position: sticky; top: calc(var(--head-h) + 20px); flex-direction: column; gap: 10px; margin: 0; overflow: visible; }
    .gallery .track { display: grid; gap: 6px; margin: 0; overflow: visible; }
    .gallery .shot { flex: none; }
    .gallery .counter { display: none; }
    .thumb, .thumb img { width: 60px; }
    .thumb.on::after { left: -10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
}

.buy { min-width: 0; }
@media (min-width: 900px) { .buy { position: sticky; top: calc(var(--head-h) + 28px); } }
.buy-brand { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.buy-brand:hover { color: var(--ink); }
.buy h1 { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 12px; }
@media (min-width: 1180px) { .buy h1 { font-size: 32px; } }
.buy-rating { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 0 0 14px; }
.buy-rating a { color: var(--muted); }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 19px; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.buy-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.buy-price .rate { font-size: 13px; color: var(--sale); }
.buy-points { font-size: 12.5px; color: var(--muted); margin: 0; }
.buy-summary { margin: 18px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }

.size-box { margin: 24px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 14px 0 16px; }
.size-box .size-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.size-box .size-label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.size-box .size-head a { font-size: 12px; color: var(--muted); }
.size-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 0; }
.size-box dt { font-size: 12.5px; color: var(--muted); }
.size-box dd { margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }

.buy form#buy-form label { margin-top: 18px; }
.buy-actions { display: flex; align-items: stretch; gap: 8px; margin-top: 22px; }
.buy-actions .btn { flex: 1; min-height: 52px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--white); height: 48px; }
.qty button { width: 42px; background: none; border: 0; font-size: 17px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--surface); }
.qty input { width: 48px; min-height: 0; border: 0; padding: 0; text-align: center; background: transparent; box-shadow: none !important; }
.heart { flex: none; width: 52px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; text-decoration: none; cursor: pointer; padding: 0; font-family: var(--sans); transition: border-color .2s, background-color .2s; }
.heart:hover { border-color: var(--ink); }
.heart.on { background: var(--ink); border-color: var(--ink); color: #fff; }
#stock-note { color: var(--sale); font-size: 12.5px; margin-top: 10px; }
#stock-note:empty { display: none; }

.delivery { margin-top: 24px; background: var(--surface); padding: 16px 18px; font-size: 13px; line-height: 1.75; }
.delivery > div + div { margin-top: 6px; }
.delivery .row-k { display: inline-block; min-width: 64px; color: var(--muted); }
.delivery strong { font-weight: 600; }
.delivery .low { color: var(--sale); }
#delivery-info { padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line); }
#delivery-info .note { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.acc { margin-top: 28px; border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--muted); line-height: 1; }
.acc details[open] > summary::after { content: "−"; }
.acc summary .hint { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.acc-body { padding: 0 0 22px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.acc-body .desc-text { white-space: pre-line; }
.acc-body ul { margin: 0; padding-left: 18px; }
.acc-body p:last-child { margin-bottom: 0; }
table.specs { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; }
table.specs th { width: 34%; text-align: left; font-weight: 400; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
table.specs tr:first-child th, table.specs tr:first-child td { border-top: 1px solid var(--line); }
.spec-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* 리뷰 · 문의 */
.pdp-section { padding-top: 72px; }
@media (min-width: 900px) { .pdp-section { padding-top: 120px; } }
@media (min-width: 900px) {
    .pdp-section.split { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr); gap: 48px; align-items: start; }
    .pdp-section.split .section-head { position: sticky; top: calc(var(--head-h) + 28px); margin: 0; }
    .pdp-section.split .desc { max-width: 28ch; }
}
@media (min-width: 1180px) { .pdp-section.split { gap: 80px; } }
.split-body { min-width: 0; }
.split-body > .help:first-child { margin-top: 0; padding-bottom: 16px; }
.rating-sum { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding: 24px 0; border-top: 1px solid var(--ink); }
.rating-sum .big { font-family: var(--serif); font-size: 46px; font-weight: 300; line-height: 1; margin-bottom: 8px; }
.rating-bars { flex: 1; min-width: 220px; max-width: 380px; font-size: 12px; color: var(--muted); }
.rating-bars div { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.rating-bars .bar { flex: 1; height: 3px; background: var(--sand); }
.rating-bars .bar i { display: block; height: 100%; background: var(--ink); }
.rating-bars .n { width: 28px; flex: none; }
.rating-bars .c { width: 28px; flex: none; text-align: right; }
.stars { color: var(--ink); letter-spacing: 1px; font-size: 12px; white-space: nowrap; }
.stars .off { color: var(--sand-2); }
.review { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.review .meta, .qa .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.review .body { white-space: pre-line; }
.review img { width: 88px; height: 88px; object-fit: cover; cursor: zoom-in; }
@media (min-width: 600px) { .review img { width: 112px; height: 112px; } }
.reply, .qa .a { background: var(--surface); padding: 14px 16px; margin-top: 12px; font-size: 13px; white-space: pre-line; }
.review-form { background: var(--surface); padding: 22px 20px 26px; margin: 8px 0 28px; max-width: 760px; }
@media (min-width: 600px) { .review-form { padding: 28px 32px 32px; } }
.review-form h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.review-form .form-actions { display: flex; margin-top: 24px; }
.split-body .review-form { max-width: none; }
.review-form p.help { margin-top: 2px; }
.qa { padding: 20px 0; border-top: 1px solid var(--line); }
.qa .q { white-space: pre-line; }
.qa-list, .review-list { margin-top: 8px; }
.qa-empty { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); margin: 0; }
.rate-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-pick label { color: var(--sand-2); cursor: pointer; margin: 0; font-size: 28px; line-height: 1; font-weight: 400; }
.rate-pick input:checked ~ label, .rate-pick label:hover, .rate-pick label:hover ~ label { color: var(--ink); }
.rate-pick input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.del-form { margin-top: 8px; }

/* 상태 표시 */
.status { display: inline-block; font-size: 11px; letter-spacing: .04em; padding: 3px 9px; background: var(--surface); color: var(--ink-2); white-space: nowrap; line-height: 1.5; }
.status.pending { background: #f4ead5; color: #694b11; }
.status.paid, .status.preparing { background: #e4eaf0; color: #2b4560; }
.status.shipped { background: #e1ece9; color: #22504a; }
.status.delivered { background: #e5eee4; color: #2c5a37; }
.status.cancelled { background: #f4e3df; color: #82261a; }

/* ---------- 장바구니 · 주문 ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
@media (min-width: 1180px) { .two-col { grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; } }
.cart-list { border-top: 1px solid var(--ink); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .cart-line { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px 0; } }
.cart-line .thumb-link { display: block; background: var(--surface); aspect-ratio: 4 / 5; overflow: hidden; }
.cart-line .thumb-link img { width: 100%; height: 100%; object-fit: cover; }
.cl-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cl-top { display: flex; justify-content: space-between; gap: 12px; }
.cl-info { min-width: 0; }
.cl-brand { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.cl-name { font-size: 14px; text-decoration: none; line-height: 1.5; }
.cl-name:hover { text-decoration: underline; }
.cl-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cl-total { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.cart-line .qty { height: 40px; }
.cart-line .qty button { width: 36px; }
.cart-line .qty input { width: 40px; }
.cart-foot { margin-top: 20px; }

.summary-box { background: var(--surface); padding: 24px 20px; }
@media (min-width: 600px) { .summary-box { padding: 32px; } }
@media (min-width: 900px) { .two-col > .summary-box { position: sticky; top: calc(var(--head-h) + 24px); } }
.summary-box h2, .summary-box h3 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.summary-box .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.summary-box .row > span:last-child { text-align: right; }
.summary-box .total { border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 18px; font-size: 17px; font-weight: 600; }
.summary-box .item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 13px; }
.summary-box .item img, .summary-box .item .ph { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--white); }
.summary-box .items { border-bottom: 1px solid var(--sand-2); padding-bottom: 12px; margin-bottom: 14px; }
.summary-box .pay-method { margin-top: 16px; border-top: 1px solid var(--sand-2); padding-top: 14px; }
.summary-box .note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; line-height: 1.7; }
.summary-box .actions { margin-top: 22px; display: grid; gap: 8px; }
.ship-progress { margin: 4px 0 8px; }
.ship-progress .bar { height: 2px; background: var(--sand-2); }
.ship-progress .bar i { display: block; height: 100%; background: var(--ink); }
.ship-progress p { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.coupon-box { display: flex; gap: 8px; margin: 4px 0 10px; }
.coupon-box input { flex: 1; min-width: 0; min-height: 40px; padding: 8px 12px; font-size: 13px; }
.coupon-box .btn { flex: none; }

/* 주문서 */
.step { padding: 0 0 36px; }
.step-head { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--ink); }
.step > legend + * { clear: both; }
.step-no { font-family: var(--serif); font-size: 13px; color: var(--muted); }
.step-title { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.step .lead { font-size: 13px; color: var(--muted); margin: 10px 0 0; line-height: 1.7; }
.field-2 { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .field-2 { grid-template-columns: 1fr 1fr; } }
.postcode-row { display: flex; gap: 8px; align-items: stretch; }
.postcode-row input { max-width: 180px; }
.postcode-row .btn { min-height: 48px; }
.postcode-layer { position: relative; margin-top: 8px; border: 1px solid var(--line-strong); height: 460px; background: #fff; }
.postcode-layer .close { position: absolute; right: 8px; top: 8px; z-index: 5; background: #fff; border: 1px solid var(--line); padding: 4px 10px; font-size: 12.5px; cursor: pointer; text-decoration: none; }
.info-box { border: 1px solid var(--line-strong); background: var(--surface); padding: 16px 18px; margin: 16px 0 0; font-size: 13px; line-height: 1.8; }
.info-box strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; margin-bottom: 4px; }
.pay-option { border: 1px solid var(--line-strong); background: var(--white); padding: 4px 18px 16px; margin-top: 12px; transition: border-color .2s, box-shadow .2s; }
.pay-option .check { margin-top: 12px; font-size: 14px; font-weight: 500; }
.pay-option:has(input:checked) { border-color: var(--ink); }
.pay-option .check input { width: 16px; height: 16px; margin-top: 2px; }
.pay-box { margin: 6px 0 0 28px; }
.pay-box label { margin-top: 14px; }
.pay-box input { max-width: 320px; }
.agree-line { margin-top: 4px; }

/* 주문 상세 · 완료 */
.order-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.order-meta strong { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.ship-info { margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 18px; }
.ship-info h2 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.ship-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; font-size: 13.5px; }
.ship-info dt { color: var(--muted); }
.ship-info dd { margin: 0; }
.complete-box { max-width: 560px; }
.complete-guest { margin: 20px 0 0; }
.complete-items { margin-top: 28px; border-top: 1px solid var(--ink); }
.complete-items .item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.complete-items .item img, .complete-items .item .ph { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.complete-actions { grid-template-columns: 1fr 1fr; }
.complete-mark { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; font-size: 20px; }

/* ---------- 로그인 · 가입 · 작은 안내 상자 ---------- */
.auth-box { max-width: 440px; margin: 0 auto; padding: 48px 0 16px; }
@media (min-width: 900px) { .auth-box { padding: 88px 0 24px; } }
.auth-box h1 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.3; text-align: center; margin: 0 0 10px; }
@media (min-width: 900px) { .auth-box h1 { font-size: 34px; } }
.auth-box .sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
.auth-box .alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }
.error-box { text-align: center; }
.error-box .eyebrow { font-family: var(--serif); font-size: 15px; letter-spacing: .3em; margin-bottom: 16px; }
.auth-split { display: grid; gap: 48px; max-width: 1040px; margin: 0 auto; padding: 40px 0 16px; }
@media (min-width: 900px) { .auth-split { grid-template-columns: 1fr 1fr; gap: 0; padding: 88px 0 24px; } .auth-split > * { padding: 0 56px; } .auth-split > * + * { border-left: 1px solid var(--line); } }
.auth-split h1, .auth-split h2 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.3; margin: 0 0 10px; }
.auth-split .sub { color: var(--muted); margin: 0 0 24px; }
.auth-split .benefits { list-style: none; padding: 0; margin: 0 0 28px; font-size: 13.5px; color: var(--ink-2); }
.auth-split .benefits li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.auth-split .benefits li:first-child { border-top: 1px solid var(--line); }
.form-actions { margin-top: 28px; display: grid; gap: 10px; }

/* ---------- 마이페이지 ---------- */
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.account-head h1.page { margin-bottom: 8px; }
.account-head .hello { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.subnav { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 12px calc(-1 * var(--gutter)) 32px; padding: 0 var(--gutter); }
.subnav::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .subnav { margin-inline: 0; padding: 0; gap: 32px; margin-bottom: 40px; } }
.subnav a, .subnav button { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 13px; color: var(--muted); text-decoration: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; padding: 0; white-space: nowrap; }
.subnav a:hover, .subnav button:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); border-bottom-color: var(--ink); }
.subnav form { margin-left: auto; flex: none; display: flex; }
.back-link { display: inline-block; font-size: 12.5px; margin: 0 0 20px; text-decoration: none; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.balance { background: var(--surface); padding: 24px; max-width: 480px; margin-bottom: 36px; }
.balance .amount { font-family: var(--serif); font-size: 36px; font-weight: 300; line-height: 1.2; margin: 6px 0 10px; }
.balance .amount span { font-size: 16px; margin-left: 2px; }

table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.list th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 8px; border-bottom: 1px solid var(--ink); }
.list td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
    table.list, .list tbody, .list tr, .list td { display: block; width: 100%; }
    .list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .list tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .list tbody tr:first-child { border-top: 1px solid var(--ink); }
    .list td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
    .list td.num { text-align: right; }
    .list td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; flex: none; }
    .list td.lead-cell { font-weight: 600; text-align: left; }
    .list td.lead-cell::before { content: none; }
}
.mini-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .mini-row.with-photo { grid-template-columns: 72px minmax(0, 1fr) 112px; gap: 20px; } }
.mini-row .pimg { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.mini-row .review-photo { grid-column: 2; }
.mini-row .review-photo:empty { display: none; }
@media (min-width: 600px) { .mini-row .review-photo { grid-column: auto; } }
.mini-row .review-photo .pimg { width: 96px; aspect-ratio: 1; }
.profile-form { max-width: 560px; }
.profile-form .step:last-of-type { padding-bottom: 28px; }
.mini-row .meta a { color: var(--ink); text-decoration: none; }
.mini-row .meta a:hover { text-decoration: underline; }

/* ---------- 안내 페이지 · 매거진 글 ---------- */
.page-doc { max-width: 760px; margin: 0 auto; }
.page-doc h1 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.25; margin: 40px 0 32px; }
@media (min-width: 900px) { .page-doc h1 { font-size: 40px; margin: 72px 0 44px; } }
.page-doc h2 { font-size: 17px; font-weight: 600; margin: 40px 0 12px; }
.page-doc h3 { font-size: 15px; font-weight: 600; margin: 28px 0 8px; }
.page-doc p, .page-doc li { line-height: 1.9; color: var(--ink-2); }
.page-doc p { margin: 0 0 14px; }
.page-doc ul, .page-doc ol { margin: 0 0 14px; padding-left: 20px; }
.page-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.page-doc th, .page-doc td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.page-doc .updated { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
.mag { max-width: 820px; margin: 0 auto; }
.mag header { text-align: center; margin: 24px 0 36px; }
.mag h1 { font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1.25; margin: 10px 0 14px; }
@media (min-width: 900px) { .mag h1 { font-size: 46px; } .mag header { margin: 48px 0 48px; } }
.mag .lead { font-size: 16px; color: var(--muted); margin: 0 auto; max-width: 40ch; }
.mag figure { margin: 0 0 40px; }
.mag figure img { width: 100%; }
.mag .body { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.mag .body p { margin: 0 0 24px; }
.mag .body h2 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 48px 0 16px; color: var(--ink); }
.mag .body figure { margin: 36px 0; }
.mag-hero-head { text-align: center; }
.mag-hero-head .page-title { margin-bottom: 8px; }
.mag-hero-head p { color: var(--muted); margin: 0 0 40px; }

/* ---------- 바닥글 ---------- */
.site-foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 900px) { .site-foot { margin-top: 144px; padding-top: 72px; } }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 2fr; gap: 64px; } }
.foot-brand .logo { font-size: 18px; padding-left: 0; }
.foot-brand p { color: var(--muted); margin: 16px 0 0; max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
@media (min-width: 600px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-foot h2 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 3px 0; line-height: 1.6; }
.site-foot li a { text-decoration: none; color: var(--ink-2); }
.site-foot li a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .cs-phone { font-family: var(--serif); font-size: 20px; color: var(--ink); padding: 0 0 6px; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); white-space: pre-line; line-height: 1.85; }
.foot-mark { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 12.6vw, 210px); letter-spacing: .12em; line-height: .9; color: var(--sand); text-align: center; margin: 40px 0 0; padding-left: .12em; white-space: nowrap; overflow: hidden; user-select: none; }

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 옵션 견본 (색상 등) — 사진이 있으면 사진으로, 없으면 글자 칩으로 */
.opt-chosen{font-weight:500;color:var(--ink,#1d1c1a)}
.opt-swatches{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 16px}
.swatch{border:1px solid var(--line,#e4dfd6);border-radius:8px;padding:0;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:44px;transition:border-color .15s,box-shadow .15s}
.swatch img{width:56px;height:56px;object-fit:cover;border-radius:7px;display:block}
.swatch.text{padding:0 14px;font-size:13.5px;color:var(--ink,#1d1c1a)}
.swatch.on{border-color:var(--ink,#1d1c1a);box-shadow:0 0 0 1px var(--ink,#1d1c1a)}
.swatch.soldout{opacity:.4;cursor:not-allowed}
.swatch.soldout.text{text-decoration:line-through}
.swatch:focus-visible{outline:2px solid var(--ink,#1d1c1a);outline-offset:2px}
.opt-select-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;margin:-1px;overflow:hidden}