:root {
  color-scheme: only light; /* 휴대폰 브라우저 다크 모드가 색을 바꾸지 않게 */
  --bg: #fbf9f5;
  --tint: #f4efe6;
  --card: #ffffff;
  --ink: #16140f;
  --ink-2: #4d4840;
  --muted: #8d867b;
  --line: #e7e0d4;
  --gold: #c09a45;
  --gold-2: #9c7629;
  --gold-hi: #ecd08a;
  --dark: #12110e;
  --dark-2: #1c1a16;
  --up: #d2412f;
  --down: #2f63c9;
  --serif-en: "Cormorant Garamond", "Noto Serif KR", serif;
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Util & Header ---------- */
.util { background: var(--dark); color: #b9b1a3; font-size: 12px; }
.util__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.util__call strong { color: var(--gold-hi); font-weight: 500; margin: 0 6px 0 2px; }
.util__call span { color: #7e776b; }
.util__links { display: flex; gap: 18px; }
.util__links a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 245, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 48px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo span { font-family: var(--serif-en); font-weight: 600; font-size: 25px; letter-spacing: .14em; line-height: 1; }
.logo em { font-style: normal; color: var(--gold-2); margin-left: .28em; }
.nav { display: flex; gap: 36px; flex: 1; }
.nav a { font-size: 15px; font-weight: 500; position: relative; padding: 24px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover { color: var(--gold-2); }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 10px; line-height: 17px; font-weight: 700; text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.badge.has-items { transform: scale(1); }
.badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-toggle { display: none; }
.menu-toggle span { position: absolute; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s; }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); background: var(--bg); }
.mobile-nav a { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.mobile-nav.is-open { max-height: 400px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--dark-2); color: #d9d2c4; border-bottom: 1px solid #2a2721; overflow: hidden; font-size: 13px; }
.ticker__track { display: flex; width: max-content; }
.ticker__track.is-running { animation: marquee 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 8px; padding: 11px 28px; white-space: nowrap; border-right: 1px solid #2f2b24; }
.ticker__item b { color: #fff; font-weight: 500; }
.ticker__item span { color: #8f877a; }
.ticker__item em { font-style: normal; color: #8f877a; font-size: 12px; }
.ticker__item.is-gold b { color: var(--gold-hi); }
@keyframes marquee { to { transform: translateX(-50%); } }
.chart-card__krw { font-size: 14px !important; font-weight: 500; color: var(--gold-2); margin-left: 6px; }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }

.util__links button { font-size: 12px; color: inherit; padding: 0; }
.util__links button:hover { color: #fff; }
.util__me b { color: #fff; font-weight: 500; }
.util__grade { display: inline-flex; align-items: center; margin-right: -6px; transition: transform .15s; }
.util__grade:hover { transform: scale(1.12); }
.gbadge { display: block; flex: none; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .45)); }
.util__admin { color: var(--gold-hi) !important; font-weight: 500; }

/* ---------- Live price ---------- */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 0 rgba(47,168,102,.5); animation: pulse 2s infinite; }
.live-dot.is-loading { background: var(--gold); }
.live-dot.is-error { background: var(--up); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,168,102,0); } 100% { box-shadow: 0 0 0 0 rgba(47,168,102,0); } }
.refresh { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; line-height: 1; color: var(--ink-2); background: #fff; }
.refresh:hover { border-color: var(--ink); }
.intl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.intl__card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; }
.intl__card:first-child { background: linear-gradient(135deg, #1c1a16, #2b261c); border-color: #2b261c; color: #fff; }
.intl__card:first-child .intl__name span, .intl__card:first-child .intl__sub { color: #b9ae98; }
.intl__card:first-child .intl__val { color: var(--gold-hi); }
.intl__name { font-size: 13px; font-weight: 500; }
.intl__name span { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.intl__val { font-size: 22px; font-weight: 700; margin: 4px 0 2px; }
.intl__sub { font-size: 12px; color: var(--muted); }
.tv-chart { flex: 1; min-height: 420px; border-radius: 3px; overflow: hidden; }

/* ---------- Auth modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12,11,9,.6); backdrop-filter: blur(3px); }
.modal__box { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg); border-radius: 6px; padding: 32px 28px 24px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: up .35s var(--ease); }
.modal__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; font-size: 24px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 10px 0 12px; font-size: 16px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs button.is-on { color: var(--ink); border-color: var(--gold); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form[hidden] { display: none; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.auth-form label small { color: var(--muted); }
.auth-form input:not([type=checkbox]) { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 15px; }
.auth-form input:focus { border-color: var(--gold); outline: none; }
.auth-form .check { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 13px; }
.auth-form .check input { margin-top: 3px; accent-color: var(--gold-2); }
.auth-form .btn { margin-top: 6px; height: 50px; }
.auth-form .btn:disabled { opacity: .6; cursor: wait; }
.auth-link { font-size: 13px; color: var(--muted); text-decoration: underline; align-self: center; }
.auth-msg { margin-top: 14px; font-size: 13px; color: var(--gold-2); min-height: 18px; text-align: center; }
.auth-msg.is-error { color: var(--up); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; font-size: 14px; font-weight: 500; letter-spacing: .02em; border: 1px solid transparent; border-radius: 2px; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn--gold { background: linear-gradient(135deg, #d8b562, #a98235); color: #1a160e; }
.btn--gold:hover { background: linear-gradient(135deg, #e6c678, #b98f3c); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--gold-2); }
.link-arrow { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: " →"; }

.eyebrow { font-family: var(--serif-en); font-style: italic; font-weight: 500; font-size: 18px; color: var(--gold-2); margin-bottom: 6px; }
.eyebrow--light { color: var(--gold-hi); }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(520px, 78vh, 760px); background: var(--dark); color: #fff; overflow: hidden; }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; display: flex; align-items: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; transform: scale(1.08); transition: transform 7s linear; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,7,.88) 0%, rgba(10,9,7,.6) 40%, rgba(10,9,7,.1) 75%); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide.is-active::before { transform: scale(1); }
.slide__inner { position: relative; z-index: 2; }
/* 금비 브랜드 슬라이드: 어두운 금 배경 + 떨어지는 금빛 비 */
.slide--rain::before { filter: brightness(.45) saturate(1.15); }
.slide--rain::after { background: radial-gradient(ellipse at 70% 40%, rgba(10,9,7,0) 0%, rgba(10,9,7,.55) 60%), linear-gradient(90deg, rgba(10,9,7,.85) 0%, rgba(10,9,7,.4) 50%, rgba(10,9,7,.1) 100%); }
/* 상품 사진 슬라이드: 사진을 오른쪽에 두고 왼쪽은 어둡게 */
.slide--product::before { background-position: 70% 60%; background-color: #0d0c09; }
.slide--product::after { background: linear-gradient(90deg, #0d0c09 0%, #0d0c09 38%, rgba(13,12,9,.55) 58%, rgba(13,12,9,0) 80%); }
.gold-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* 금빛 그라데이션 글씨 (밝은 크림 → 금색). 그라데이션을 못 그리는 브라우저는 단색 금색으로 */
/* 휴대폰은 다크 모드가 그라데이션 글씨를 어둡게 바꿔버려서 항상 단색 금색, 컴퓨터(마우스)에서만 그라데이션 */
.slide--rain h1 { color: #f6e2ae; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: light) {
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .slide--rain h1 { background: linear-gradient(180deg, #fffaf0 0%, #f7e3b0 50%, #e8c77a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
  }
}
@media (max-width: 760px) {
  .slide.slide--rain::after { background: linear-gradient(180deg, rgba(10,9,7,.45) 0%, rgba(10,9,7,.8) 45%, rgba(10,9,7,.94) 75%); }
}
.slide__eyebrow { font-family: var(--serif-en); font-style: italic; font-size: 20px; color: var(--gold-hi); margin-bottom: 14px; }
.slide h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.22; letter-spacing: -.02em; }
.slide__lead { margin: 22px 0 36px; font-size: clamp(15px, 1.3vw, 17px); color: #ddd5c6; font-weight: 300; }
.slide__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.slide.is-active .slide__inner > * { animation: up .9s var(--ease) both; }
.slide.is-active .slide__inner > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__inner > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__inner > *:nth-child(4) { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 32px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 36px; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; padding: 0; }
.hero__dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform-origin: left; animation: fill 6s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } }
.hero__arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font-size: 22px; line-height: 1; transition: background .25s, color .25s; }
.arrow:hover { background: #fff; color: var(--ink); }

/* ---------- Section ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #f3ede2; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head h2, .editorial h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.3; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; }

/* ---------- Price ---------- */
.price__time { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.price__time strong { color: var(--ink); font-weight: 500; }
.demo-tag { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--tint); color: var(--gold-2); border: 1px solid var(--line); }
.price__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.price__table-card { padding: 8px 24px 20px; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th { font-size: 13px; font-weight: 500; color: var(--muted); text-align: right; padding: 16px 0 12px; border-bottom: 1px solid var(--ink); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table th small { display: block; font-size: 11px; font-weight: 400; }
.price-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: right; }
.price-table .item { font-weight: 500; font-size: 15px; }
.price-table .item small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.price-table .val { font-size: 17px; font-weight: 500; }
.price-table .chg { display: block; font-size: 12px; margin-top: 2px; }
.price-table .na { font-size: 13px; color: var(--muted); }
.price-table tr.is-main .val { font-size: 20px; font-weight: 700; color: var(--ink); }
.note { margin-top: 14px; font-size: 12px; color: var(--muted); }

.chart-card { padding: 22px 24px 18px; display: flex; flex-direction: column; }
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-card__label { font-size: 13px; color: var(--muted); }
.chart-card__value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-card__value small { font-size: 13px; font-weight: 500; margin-left: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.seg button { padding: 6px 12px; font-size: 12px; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.is-on { background: var(--ink); color: #fff; }
.chart { width: 100%; height: 220px; flex: 1; min-height: 180px; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--gold-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .area { fill: url(#areaGrad); }
.chart__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

.calc { margin-top: 20px; padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: linear-gradient(120deg, #fff, #fbf4e4); }
.calc h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; white-space: nowrap; }
.calc__row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.calc select, .calc input { height: 46px; border: 1px solid var(--line); background: #fff; padding: 0 12px; border-radius: 3px; font-size: 15px; color: var(--ink); min-width: 0; }
.calc__input { display: flex; }
.calc__input input { width: 110px; border-right: 0; border-radius: 3px 0 0 3px; }
.calc__input select { border-radius: 0 3px 3px 0; }
.calc__out { display: flex; gap: 28px; margin-left: auto; }
.calc__out div { display: flex; flex-direction: column; }
.calc__out span { font-size: 12px; color: var(--muted); }
.calc__out strong { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__out div:last-child strong { color: var(--gold-2); }

/* ---------- Gold bars ---------- */
.assure { display: flex; gap: 8px; flex-wrap: wrap; }
.assure li { font-size: 12px; padding: 6px 12px; border: 1px solid #3a352c; border-radius: 16px; color: #cfc6b5; }
.assure li::before { content: "✓ "; color: var(--gold-hi); }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bar { background: var(--dark-2); border: 1px solid #2b2822; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.bar:hover { border-color: #6b5a33; transform: translateY(-4px); }
.bar__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(ellipse at 50% 55%, #3a3226 0%, #1c1a16 70%); }
.bar__img img { width: 100%; height: 100%; object-fit: contain; padding: 18px 0 14px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); transition: transform .8s var(--ease); }
.bar:hover .bar__img img { transform: scale(1.06); }
.bar__weight { position: absolute; left: 14px; top: 14px; background: rgba(18,17,14,.82); color: var(--gold-hi); font-family: var(--serif-en); font-weight: 600; font-size: 22px; padding: 2px 12px; border-radius: 2px; line-height: 1.4; }
.bar__weight small { font-family: var(--sans); font-size: 11px; color: #bdb4a4; margin-left: 4px; font-weight: 400; }
.bar__tag { position: absolute; right: 14px; top: 14px; font-size: 11px; font-weight: 700; background: var(--gold); color: #1a160e; padding: 3px 8px; border-radius: 2px; }
.bar__body { padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bar__name { font-size: 16px; font-weight: 500; color: #fff; }
.bar__spec { font-size: 12px; color: #8f877a; }
.bar__price { margin-top: 10px; font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.bar__unit { font-size: 12px; color: #a69d8d; font-variant-numeric: tabular-nums; }
.bar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.bar__btns button { height: 42px; font-size: 13px; font-weight: 500; border-radius: 2px; transition: background .25s, color .25s, border-color .25s; }
.bar__btns .cart-btn { border: 1px solid #4a4436; color: #e6dfd1; }
.bar__btns .cart-btn:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.bar__btns .buy-btn { background: linear-gradient(135deg, #d8b562, #a98235); color: #1a160e; }

/* 십이지신 카드형 */
.zodiac { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid #2b2822; }
.zodiac__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.zodiac__head h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.zodiac__desc { margin-top: 6px; font-size: 14px; color: #a69d8d; }
.zodiac__price { text-align: right; }
.zodiac__price span { display: block; font-size: 12px; color: #a69d8d; }
.zodiac__price strong { font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.bar--silver .bar__img { background: radial-gradient(ellipse at 50% 55%, #3a3e44 0%, #18191c 70%); }
#silverBlock { scroll-margin-top: 90px; }
.bar__img img[src*="granule-"][src$=".jpg"] { object-fit: cover; padding: 0; filter: none; }
.zodiac__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.zcard { background: var(--dark-2); border: 1px solid #2b2822; border-radius: 4px; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.zcard:hover { border-color: #6b5a33; transform: translateY(-3px); }
.zcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.zcard__img img { width: 100%; height: 100%; object-fit: cover; }
.zcard__body { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; }
.zcard__body h4 { margin: 0; font-size: 15px; font-weight: 500; color: #fff; }
.zcard__btn { height: 32px; padding: 0 14px; font-size: 12px; border: 1px solid #4a4436; color: #e6dfd1; border-radius: 2px; transition: border-color .25s, color .25s; }
.zcard__btn:hover { border-color: var(--gold-hi); color: var(--gold-hi); }

/* ---------- Accessories ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 19px; font-size: 14px; color: var(--ink-2); background: #fff; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.product { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.product__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); border-radius: 3px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 3px 8px; background: var(--ink); color: #fff; border-radius: 2px; }
.product { display: flex; flex-direction: column; }
.product__info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.product__info .add-cart { align-self: stretch; margin-top: auto; padding-top: 10px; box-sizing: content-box; }
.add-cart { margin: 10px 0 6px; height: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.add-cart button { height: 100%; font-size: 13px; font-weight: 500; border-radius: 2px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.add-cart .p-cart { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.add-cart .p-buy { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.add-cart button:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.product__info { padding-top: 14px; }
.product__spec { display: flex; gap: 6px; font-size: 12px; color: var(--muted); }
.product__spec .karat { color: var(--gold-2); font-weight: 700; }
.product__name { font-size: 15px; font-weight: 500; margin: 4px 0 6px; }
.product__price { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product__labor { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ---------- Editorial ---------- */
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--tint); }
.editorial__img { min-height: 440px; overflow: hidden; }
.editorial__img img { width: 100%; height: 100%; object-fit: cover; }
.editorial__text { padding: clamp(48px, 7vw, 96px) clamp(16px, 6vw, 88px); align-self: center; }
.editorial__text > p:not(.eyebrow) { color: var(--ink-2); margin: 18px 0 28px; max-width: 440px; }
.gift-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; max-width: 460px; }
.gift-list li { background: var(--bg); display: flex; }
.gift-list li a { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; transition: background .2s; }
.gift-list li a:hover { background: var(--tint); }
.gift-list li a:hover strong { color: var(--gold-2); }
.gift-list strong { font-weight: 500; }
.gift-list span { font-size: 12px; color: var(--muted); }

/* ---------- Sell ---------- */
.sell { position: relative; padding: clamp(72px, 9vw, 120px) 0; color: #fff; background: linear-gradient(rgba(12,11,9,.82), rgba(12,11,9,.9)), url('images/molten.jpg') center / cover; }
.sell__lead { color: #cfc6b5; margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 28px 24px; border: 1px solid rgba(236, 208, 138, .22); background: rgba(18,17,14,.55); border-radius: 4px; backdrop-filter: blur(4px); }
.steps__no { font-family: var(--serif-en); font-size: 36px; font-weight: 600; color: var(--gold-hi); line-height: 1; display: block; margin-bottom: 14px; }
.steps strong { font-size: 17px; font-weight: 500; display: block; margin-bottom: 8px; }
.steps p { font-size: 14px; color: #bfb6a6; }
.sell__cta { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- Board ---------- */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.board__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.board__head h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.board__head a { font-size: 13px; color: var(--muted); }
.board__list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.board__list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__list a:hover { color: var(--gold-2); }
.board__list time { color: var(--muted); font-size: 13px; flex: none; font-variant-numeric: tabular-nums; }

/* ---------- Stores ---------- */
.stores { display: grid; grid-template-columns: minmax(0, 560px); gap: 20px; }
.store { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; position: relative; transition: border-color .25s; }
.store:hover { border-color: var(--gold); }
.store__tag { position: absolute; top: 28px; right: 28px; font-size: 11px; font-weight: 700; background: var(--gold); color: #1a160e; padding: 2px 8px; border-radius: 2px; }
.store h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 10px; }
.store p { font-size: 14px; color: var(--ink-2); }
.store__meta { margin-top: 6px; font-size: 13px !important; color: var(--muted) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #8f877a; padding: 48px 0 36px; font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #2a2721; margin-bottom: 24px; }
.logo--footer span { color: #f3ede2; font-size: 22px; }
.footer__top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__top nav a { color: #cfc6b5; }
.footer__top nav strong { color: #fff; font-weight: 500; }
.footer__info { line-height: 1.9; }
.footer__note { margin-top: 12px; font-size: 12px; color: #6f685d; }
.footer__copy { margin-top: 16px; font-size: 12px; color: #6f685d; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; translate: -50% 20px; opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 3px; font-size: 14px; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); transition: opacity .3s var(--ease), translate .3s var(--ease); }
.toast.is-show { opacity: 1; translate: -50% 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header__inner { gap: 28px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .price__grid { grid-template-columns: 1fr; }
  .intl { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .util__links a:nth-child(n+3):not(.util__admin) { display: none; }
  .util__call span { display: none; }
  .nav { display: none; }
  .menu-toggle { display: grid; margin-left: -10px; }
  .mobile-nav { display: flex; }
  .header__inner { height: 60px; gap: 8px; }
  .logo span { font-size: 21px; }
  .logo__mark { width: 28px; height: 28px; }
  .bars { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__img { min-height: 280px; max-height: 360px; }
  .board { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .add-cart { height: 36px; gap: 4px; margin-top: 8px; }
  .add-cart button { font-size: 12px; padding: 0 4px; }
  .slide::after { background: linear-gradient(180deg, rgba(10,9,7,.35) 0%, rgba(10,9,7,.85) 70%); }
  .slide { align-items: flex-end; padding-bottom: 96px; }
  .slide__lead br { display: none; }
}
@media (max-width: 560px) {
  .bars { grid-template-columns: 1fr; }
  .intl { grid-template-columns: 1fr 1fr; gap: 8px; }
  .intl__card { padding: 12px 14px; }
  .intl__card:first-child { grid-column: 1 / -1; }
  .intl__val { font-size: 18px; }
  .tv-chart { min-height: 340px; }
  .util__me { display: none; }
  .bar__img { aspect-ratio: 16 / 9; }
  .zodiac__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zcard__btn { padding: 0 10px; }
  .zodiac__price { text-align: left; }
  .zcard__body { padding: 10px; flex-direction: column; align-items: stretch; }
  .zcard__body h4 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .zcard__btns { width: 100%; }
  .zcard__btns .zcard__cart { flex: 1; }
  .steps { grid-template-columns: 1fr; }
  .calc__row { flex-direction: column; align-items: stretch; }
  .calc__input input { width: 100%; flex: 1; }
  .calc__out { margin-left: 0; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
  .price__table-card { padding: 4px 14px 16px; }
  .price-table .val { font-size: 15px; }
  .price-table tr.is-main .val { font-size: 17px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .chip { flex: none; }
  .gift-list { grid-template-columns: 1fr 1fr; }
  .hero__arrows { display: none; }
  .btn { height: 46px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 구매·매입 신청 / 접수 조회 / 공지 ---------- */
.modal__title { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin-bottom: 2px; }
.modal__box--wide { max-width: 560px; }
.auth-form select, .auth-form textarea { border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 15px; padding: 10px 14px; width: 100%; }
.auth-form select { height: 46px; }
.auth-form select:focus, .auth-form textarea:focus { border-color: var(--gold); outline: none; }
.auth-form textarea { resize: vertical; min-height: 64px; font-family: inherit; }
.auth-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-form [hidden] { display: none !important; }
.order-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px; }
.order-item img { width: 64px; height: 64px; object-fit: contain; background: #1c1a16; border-radius: 3px; flex: none; }
.order-item b { display: block; font-weight: 500; font-size: 15px; }
.order-item span { font-size: 13px; color: var(--muted); }
.order-item .lead { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--gold-2); }
.order-item .lead.is-slow { color: #9a5b00; }
.qty { display: flex; width: 140px; border: 1px solid var(--line); border-radius: 3px; background: #fff; overflow: hidden; }
.qty button { width: 40px; font-size: 18px; color: var(--ink-2); }
.qty input { flex: 1; width: 0; height: 42px !important; border: 0 !important; text-align: center; padding: 0 !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-total strong { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.seg-field { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg-field legend { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.seg-field label { flex: 1; flex-direction: row !important; align-items: center; gap: 8px !important; min-width: 130px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; font-size: 14px !important; color: var(--ink) !important; }
.seg-field label:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.seg-field input { accent-color: var(--gold-2); margin: 0; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.done { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; padding: 8px 0; }
.done__icon { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #d8b562, #a98235); color: #1a160e; font-size: 26px; display: grid; place-items: center; }
.done__code { font-size: 14px; color: var(--ink-2); background: #fff; border: 1px dashed var(--gold); padding: 10px 18px; border-radius: 3px; }
.done__code strong { font-size: 18px; letter-spacing: .04em; color: var(--ink); margin-left: 6px; }
.done .btn { width: 100%; height: 48px; margin-top: 6px; }
.lookup-result { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.track { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.track__kind { font-size: 12px; color: var(--muted); }
.track__title { font-weight: 500; margin: 2px 0 12px; }
.track__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.track__steps li { flex: 1; font-size: 11.5px; text-align: center; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); line-height: 1.3; }
.track__steps li.is-past { border-color: #d9c48f; color: var(--ink-2); }
.track__steps li.is-now { border-color: var(--gold-2); color: var(--ink); font-weight: 700; }
.track__cancel { font-size: 13px; color: var(--up); }
.track__time { font-size: 12px; color: var(--muted); margin-top: 10px; }
.notice__meta { font-size: 13px; color: var(--gold-2); margin-bottom: 4px; }
.notice__body { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.board__list .pin { font-size: 11px; color: #fff; background: var(--gold-2); padding: 1px 6px; border-radius: 2px; font-weight: 500; vertical-align: 1px; }
.board__list .board__empty { color: var(--muted); font-size: 14px; }
.bar__tag--out, .product__tag--out { background: #5a554c !important; color: #fff !important; }
.is-soldout .bar__img img, .is-soldout .zcard__img img, .is-soldout .product__img img { filter: grayscale(.7) opacity(.6); }
.bar__btns button:disabled, .zcard__btn:disabled { opacity: .45; cursor: not-allowed; }
.products__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.sell__cta button.btn { cursor: pointer; }
@media (max-width: 560px) {
  .modal__box { padding: 28px 18px 20px; }
  .track__steps li { font-size: 10.5px; }
}.auth-form .row2 { align-items: end; }

/* 동의 문구 */
.consent-sum { margin: -4px 0 2px 26px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.auth-form a.u, .check a.u { text-decoration: underline; text-underline-offset: 2px; color: var(--gold-2); }
.check b { font-weight: 600; color: var(--ink); }

/* 주문 확정 · 입금 안내 */
.pay-box { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 14px 0; padding: 16px 18px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; text-align: left; font-size: 14px; color: var(--ink-2); }
.pay-box dt { color: var(--muted); white-space: nowrap; }
.pay-box dd { margin: 0; }
.pay-box dd strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-box dd b { color: var(--up); }
.pay-box dd span { color: var(--muted); font-size: 12.5px; }
.copy-btn { display: inline-block; margin-top: 6px; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; }
.copy-btn:hover { background: var(--ink); color: #fff; }
.order-total small { display: block; text-align: right; font-size: 12px; font-weight: 400; color: var(--muted); }

/* ---------- 주문 완료 페이지 ---------- */
.od-body { background: var(--tint); }
.od { max-width: 620px; margin: 0 auto; padding: clamp(28px, 6vw, 56px) 16px 64px; }
.od__loading { text-align: center; color: var(--muted); padding: 80px 0; }
.od__card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 5vw, 40px); text-align: center; box-shadow: 0 20px 50px -30px rgba(40,30,10,.35); }
.od__card h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 4vw, 30px); letter-spacing: -.02em; margin-top: 10px; }
.od__kicker { font-size: 13px; color: var(--gold-2); font-weight: 500; }
.od__icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--gold-hi), var(--gold-2)); }
.od__icon--off { background: var(--muted); }
.od__code { display: inline-block; margin-top: 14px; padding: 8px 16px; border: 1px dashed var(--gold); border-radius: 4px; font-size: 14px; color: var(--ink-2); }
.od__code strong { font-size: 18px; color: var(--ink); margin-left: 6px; letter-spacing: .02em; }
.od__lead { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.od__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 24px 0 4px; font-size: 12px; color: var(--muted); }
.od__steps li { padding-top: 10px; border-top: 3px solid var(--line); }
.od__steps li.is-past { border-color: var(--gold-hi); }
.od__steps li.is-now { border-color: var(--gold-2); color: var(--ink); font-weight: 700; }
.od__timer { margin: 22px 0 6px; padding: 18px; border-radius: 8px; background: var(--dark); color: #d9d1c2; display: grid; gap: 2px; }
.od__timer span { font-size: 13px; color: #a69d8d; }
.od__timer strong { font-size: 40px; font-weight: 700; color: var(--gold-hi); font-variant-numeric: tabular-nums; letter-spacing: .04em; line-height: 1.2; }
.od__timer em { font-style: normal; font-size: 12.5px; color: #a69d8d; }
.od__timer.is-urgent strong { color: #ff8a73; }
.od__timer.is-over { background: #3a1d17; }
.od__timer.is-over strong { color: #ff8a73; font-size: 26px; }
.od__info { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; margin-top: 18px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; text-align: left; font-size: 14.5px; }
.od__info dt { color: var(--muted); white-space: nowrap; }
.od__info dd { margin: 0; color: var(--ink-2); }
.od__info dd b { color: var(--ink); font-size: 16px; }
.od__amount { font-size: 26px; font-weight: 700; color: var(--ink) !important; font-variant-numeric: tabular-nums; line-height: 1.2; }
.od__amount small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.od__copy { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.od__notes { margin-top: 18px; padding-left: 1.2em; list-style: disc; text-align: left; font-size: 13.5px; color: var(--ink-2); }
.od__notes li { margin-top: 4px; }
.od__notes a { text-decoration: underline; color: var(--gold-2); }
.od__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.od__btn { min-width: 160px; justify-content: center; }
.od__btn--line { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.od__ask { display: flex; gap: 8px; margin-top: 18px; }
.od__ask input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.od__err { margin-top: 10px; color: var(--up); font-size: 13.5px; }
.legal-foot a { text-decoration: underline; }
@media (max-width: 480px) {
  .od__info { grid-template-columns: 1fr; gap: 2px; }
  .od__info dt { margin-top: 10px; }
  .od__info dt:first-child { margin-top: 0; }
  .od__btn { flex: 1; min-width: 0; }
}
.done[hidden] { display: none; }

/* ---------- 주문내역 페이지 ---------- */
.mo { max-width: 760px; margin: 0 auto; padding: clamp(28px, 6vw, 56px) 16px 64px; }
.mo__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.mo__head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 32px); letter-spacing: -.02em; }
.mo__who { font-size: 14px; color: var(--muted); }
.mo__who .btn { height: 42px; padding: 0 18px; }
.mo__card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-bottom: 12px; }
.mo__card.is-wait { border-color: var(--gold); box-shadow: 0 10px 30px -20px rgba(156,118,41,.6); }
.mo__card.is-off { opacity: .6; }
.mo__top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.mo__kind { padding: 2px 8px; border-radius: 3px; background: var(--tint); color: var(--ink-2); font-weight: 500; }
.mo__st { margin-left: auto; font-weight: 700; color: var(--ink); }
.is-wait .mo__st { color: var(--up); }
.is-done .mo__st { color: #2f8a4b; }
.mo__title { margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--ink); }
.mo__bottom { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.mo__code { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.mo__amt { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mo__wait { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }
.mo__wait b { color: var(--up); font-size: 16px; font-variant-numeric: tabular-nums; }
.mo__wait .btn { height: 40px; padding: 0 16px; font-size: 13px; }
.mo__note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.mo__empty { text-align: center; padding: 40px 0; color: var(--muted); }
.mo__empty .btn { margin-top: 14px; }
.mo__guest { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.mo__guest h2 { font-size: 17px; font-weight: 700; }
.mo__guest .muted { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.mo__find { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; margin: 14px 0 16px; }
.mo__find input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; min-width: 0; }
@media (max-width: 560px) { .mo__find { grid-template-columns: 1fr; } }
/* Netlify 무료 요금제가 자동으로 붙이는 'Powered by Netlify' 배지 숨김 */
#nl-badge-frame, #nl-hud-frame { display: none !important; }

/* ---------- 장바구니 ---------- */
.modal__box--wide { width: min(640px, calc(100vw - 32px)); }
.cart-list { margin: 14px 0 6px; display: grid; gap: 8px; }
.cart-row { display: grid; grid-template-columns: 56px 1fr auto auto 28px; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.cart-row img { width: 56px; height: 56px; object-fit: contain; background: radial-gradient(ellipse at 50% 55%, #3a3226 0%, #1c1a16 75%); border-radius: 4px; }
.cart-row__info { min-width: 0; display: grid; gap: 2px; }
.cart-row__info b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-row__info span { font-size: 12.5px; color: var(--muted); }
.cart-row__info em { font-style: normal; color: var(--up); font-weight: 700; }
.cart-row.is-soldout { opacity: .65; }
.cart-row__sub { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; }
.cart-row__x { width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font-size: 18px; }
.cart-row__x:hover { background: var(--tint); color: var(--ink); }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; }
.qty--sm input { width: 34px; }
.cart-sum { display: grid; gap: 6px; padding: 14px 16px; background: var(--tint); border-radius: 6px; font-size: 14px; }
.cart-sum p { display: flex; justify-content: space-between; color: var(--ink-2); }
.cart-sum p[hidden] { display: none; }
.cart-sum b { font-variant-numeric: tabular-nums; }
.cart-sum__total { padding-top: 8px; border-top: 1px solid var(--line); }
.cart-sum__total strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-empty { text-align: center; padding: 30px 0 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.cart-warn { font-size: 13px; color: var(--up); }
.zcard__btns { display: flex; gap: 6px; }
.zcard__cart { flex: 0 0 auto; padding: 0 10px; height: 32px; border: 1px solid #4a4438; border-radius: 2px; color: #d9d1c2; font-size: 12px; }
.zcard__cart:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.zcard__btns .zcard__btn { flex: 1; }
.od__items { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.od__items li { display: flex; justify-content: space-between; gap: 10px; }
.od__items b { font-size: 14px !important; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 48px 1fr 28px; grid-template-areas: "img info x" "img qty sub"; row-gap: 6px; }
  .cart-row img { grid-area: img; width: 48px; height: 48px; }
  .cart-row__info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-row__sub { grid-area: sub; grid-column: 2 / 4; justify-self: end; min-width: 0; }
  .cart-row__x { grid-area: x; }
}
.qty.qty--sm { width: 100px; }
.qty--sm input { height: 32px !important; }

.cart-row__info b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- 상품 검색 ---------- */
.search { position: fixed; inset: 0; z-index: 150; }
.search[hidden] { display: none; }
.search__backdrop { position: absolute; inset: 0; background: rgba(12,11,9,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.search__box { position: relative; max-width: 720px; margin: 0 auto; max-height: 100%; display: flex; flex-direction: column; background: var(--bg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); border-radius: 0 0 8px 8px; animation: sdown .28s var(--ease); }
@keyframes sdown { from { transform: translateY(-16px); opacity: 0; } }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.search__bar svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.search__bar input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font-size: 17px; color: var(--ink); outline: none; font-family: inherit; }
.search__bar input::-webkit-search-cancel-button { cursor: pointer; }
.search__x { flex: none; font-size: 14px; color: var(--ink-2); padding: 8px 10px; border-radius: 3px; }
.search__x:hover { background: var(--tint); }
.search__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 20px 4px; }
.search__keys p { width: 100%; margin: 0 0 2px; font-size: 12px; color: var(--muted); }
.search__keys button { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink-2); }
.search__keys button:hover, .search__keys button.is-on { border-color: var(--gold); color: var(--gold-2); }
.search__count { margin: 0; padding: 12px 20px 6px; font-size: 13px; color: var(--muted); min-height: 1em; }
.search__count b { color: var(--ink); font-weight: 500; }
.search__list { overflow-y: auto; padding: 0 12px 14px; overscroll-behavior: contain; }
.sres { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.sres:last-child { border-bottom: 0; }
.sres img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--tint); }
.sres__body { min-width: 0; }
.sres__body p, .sres__body h3 { margin: 0; }
.sres__kind { font-size: 11px; color: var(--gold-2); letter-spacing: .02em; }
.sres__kind b { color: #b4442f; font-weight: 500; }
.sres__name { font-size: 15px; font-weight: 500; line-height: 1.4; }
.sres__sub { font-size: 12px; color: var(--muted); }
.sres__price { font-size: 15px; font-weight: 700; margin-top: 2px !important; }
.sres__btns { display: flex; gap: 6px; }
.sres__btns button { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 3px; white-space: nowrap; }
.sres__cart { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.sres__cart:hover { border-color: var(--ink); }
.sres__buy { background: var(--ink); color: #fff; }
.sres__buy:hover { background: var(--gold-2); }
.sres button:disabled { opacity: .4; cursor: not-allowed; }
.sres.is-soldout img { filter: grayscale(1); opacity: .6; }
.search__empty { text-align: center; padding: 34px 10px 24px; }
.search__empty p { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.search__empty span { font-size: 13px; color: var(--muted); line-height: 1.7; }
.search__empty a { color: var(--gold-2); text-decoration: underline; }
@media (max-width: 560px) {
  .search__box { border-radius: 0; height: 100%; }
  .search__bar { padding: 10px 8px 10px 16px; }
  .search__keys, .search__count { padding-left: 16px; padding-right: 16px; }
  .search__list { padding: 0 8px 20px; }
  .sres { grid-template-columns: 56px 1fr; grid-template-areas: "img body" "img btns"; column-gap: 12px; row-gap: 8px; }
  .sres img { grid-area: img; width: 56px; height: 56px; align-self: start; }
  .sres__body { grid-area: body; }
  .sres__btns { grid-area: btns; }
  .sres__btns button { flex: 1; }
}
/* 현금영수증 · 세금계산서 신청 */
.rc-field { border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px 14px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.rc-field legend { font-size: 13px; color: var(--ink-2); padding: 0 6px; }
.rc-field select { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 15px; color: var(--ink); width: 100%; font-family: inherit; }
.rc-field .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-note { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.rc-field [hidden] { display: none !important; }
/* 주문내역 배송 조회 */
.mo__ship { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; background: var(--tint); border-radius: 4px; font-size: 13px; }
.mo__ship .btn { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--line { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.rc-field { grid-template-columns: minmax(0, 1fr); }
.rc-field select, .rc-field input { width: 100%; min-width: 0; box-sizing: border-box; }
.rc-field .row2 > label { min-width: 0; }

/* 상품정보 제공고시 */
.info-link { display: inline-block; margin-top: 10px; padding: 0; background: none; border: 0; font: inherit; font-size: 12px; color: inherit; opacity: .6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.info-link:hover, .info-link:focus-visible { opacity: 1; }
.zodiac__price .info-link { display: block; margin: 6px 0 0 auto; color: #a69d8d; }
.pinfo { margin: 4px 0 2px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.pinfo summary { padding: 10px 12px; cursor: pointer; color: var(--ink-2); font-weight: 500; }
.pinfo[open] summary { border-bottom: 1px solid var(--line); }
.pinfo > div { max-height: 260px; overflow-y: auto; }
.pinfo__tbl { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.pinfo__tbl th, .pinfo__tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pinfo__tbl tr:last-child th, .pinfo__tbl tr:last-child td { border-bottom: 0; }
.pinfo__tbl th { width: 34%; background: var(--tint); color: var(--ink-2); font-weight: 500; word-break: keep-all; }
.pinfo__tbl td { color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
#infoBody .pinfo__tbl { border: 1px solid var(--line); }
@media (max-width: 640px) { .zodiac__price .info-link { margin-left: 0; } }

/* 악세사리 더보기 */
.products__more { margin-top: 36px; text-align: center; }
.products__more .btn { min-width: 240px; }

/* 상품 사진 크게 보기 */
.product__img img, .bar__img img, .zcard__img img, .gcard__img img, .sres img, .sres__body { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 11, 9, .9); display: grid; place-items: center; padding: 56px 16px 24px; cursor: zoom-out; animation: lbIn .2s ease; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.lightbox__fig img { max-width: min(92vw, 900px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__fig figcaption { color: #eee6d6; font-size: 15px; text-align: center; max-width: 90vw; }
.lightbox__x { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; font-size: 34px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.mkt-note { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* 악세사리 중량 필터 */
.wchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px 0 24px; }
.wchips__label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.wchip { height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; color: var(--ink-2); background: #fff; transition: all .2s; }
.wchip:hover { border-color: var(--gold); color: var(--gold-2); }
.wchip.is-active { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.wchip span { margin-left: 3px; font-size: 11px; opacity: .7; }
.wchips__label { white-space: nowrap; flex: none; }
@media (max-width: 720px) { .wchips { gap: 6px 5px; } .wchip { height: 30px; padding: 0 11px; font-size: 12px; } .psort { order: 10; width: 100%; margin: 4px 0 0; } }
.psort { margin-left: auto; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font-size: 13px; color: var(--ink); flex: none; }

#materialChips { margin-bottom: 10px; }

/* 옵션 선택 (1g · 1돈 · 2돈 …) */
.optchips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 8px; }
.optchips button { min-width: 44px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink-2); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s, color .2s; }
.optchips button:hover { border-color: var(--ink); }
.optchips button.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.optchips button.is-out { color: var(--muted); text-decoration: line-through; }
.optchips button.is-out.is-on { color: #fff; }
.product__out { margin: 10px 0 6px; height: 36px; display: grid; place-items: center; align-self: stretch; margin-top: auto; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font-size: 13px; }
.gcard__w { margin-bottom: auto; }

/* ---------- 메인 상품: 순금 콩알금 ---------- */
.bean { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line);
  background: radial-gradient(90% 80% at 88% 8%, rgba(236,208,138,.45) 0%, rgba(236,208,138,0) 60%), radial-gradient(70% 60% at 0% 100%, rgba(192,154,69,.16) 0%, rgba(192,154,69,0) 70%), linear-gradient(180deg, #f8f3ea 0%, #efe4cf 100%); }
.bean::before { content: "Gold Bean"; position: absolute; right: -1vw; bottom: -.18em; font-family: var(--serif-en); font-style: italic; font-weight: 600; font-size: clamp(96px, 17vw, 260px); line-height: 1; color: rgba(156,118,41,.08); pointer-events: none; white-space: nowrap; }
.bean__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bean__main { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -40px rgba(80,58,15,.55), 0 0 0 1px rgba(156,118,41,.12); }
.bean__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .9s var(--ease); }
.bean__main:hover img { transform: scale(1.04); }
.bean__badges { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.bean__badge { padding: 6px 12px; border-radius: 2px; background: var(--ink); color: var(--gold-hi); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.bean__badge--gift { background: var(--gold-hi); color: var(--ink); box-shadow: 0 0 0 1px rgba(156,118,41,.35); }
.bean__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.bean__thumbs:empty { display: none; }
.bean__thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; background: #fff; }
.bean__thumbs button.is-on, .bean__thumbs button:hover { opacity: 1; border-color: var(--gold); }
.bean__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bean__eyebrow { font-family: var(--serif-en); font-style: italic; font-weight: 500; font-size: clamp(17px, 1.6vw, 20px); color: var(--gold-2); }
.bean__name { margin: 6px 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; line-height: 1.12; }
.bean__lead { color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.75; }
.bean__points { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(22px, 3vw, 32px) 0; border-top: 1px solid rgba(156,118,41,.28); border-bottom: 1px solid rgba(156,118,41,.28); }
.bean__points li { padding: 16px 6px; text-align: center; }
.bean__points li + li { border-left: 1px solid rgba(156,118,41,.18); }
.bean__points b { display: block; font-family: var(--sans); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--ink); }
.bean__points b small { font-size: .6em; margin-left: 1px; font-weight: 500; }
.bean__points span { font-size: 12px; color: var(--muted); }
.bean__label { font-size: 13px; font-weight: 700; margin-bottom: 10px; letter-spacing: .02em; }
.bean__opts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.bean-opt { position: relative; text-align: left; padding: 14px 14px 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s, background .2s; }
.bean-opt:hover:not(:disabled) { border-color: var(--gold); background: #fff; }
.bean-opt b { display: block; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.2; }
.bean-opt span { font-size: 12px; color: var(--muted); }
.bean-opt em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bean-opt.is-on { background: #fff; border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2), 0 14px 28px -16px rgba(156,118,41,.7); }
.bean-opt.is-on em { color: var(--gold-2); }
.bean-opt.is-on::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-2); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.bean-opt:disabled { opacity: .45; cursor: not-allowed; }
.bean__sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 24px 0 14px; }
.bean__sum > span { font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.bean__sum > span b { color: var(--ink); }
.bean__sum p { text-align: right; }
.bean__sum strong { display: block; font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bean__sum small { font-size: 12px; color: var(--muted); }
.bean__btns { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; }
.bean__btns .btn { height: 56px; font-size: 15px; font-weight: 700; border-radius: 4px; }
.bean__cart { background: #fff; border-color: var(--ink) !important; color: var(--ink); }
.bean__cart:hover { background: var(--ink); color: #fff; }
.bean__btns .btn:disabled { opacity: .45; cursor: not-allowed; }
.bean__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .bean__card { grid-template-columns: 1fr; }
  .bean__main { aspect-ratio: 4 / 3.4; }
  .bean__thumbs button { width: 60px; height: 60px; }
  .bean__name { margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .bean-opt { padding: 12px 10px 10px; }
  .bean-opt em { font-size: 13px; }
  .bean-opt.is-on::after { width: 17px; height: 17px; top: 8px; right: 8px; font-size: 10px; }
  .bean__btns .btn { height: 52px; }
}.bean__nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); font-size: 26px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3); opacity: 0; transition: opacity .25s, background .2s; z-index: 2; }
.bean__nav--prev { left: 14px; } .bean__nav--next { right: 14px; }
.bean__main:hover .bean__nav, .bean__nav:focus-visible { opacity: 1; }
.bean__nav:hover { background: #fff; }
.bean__count { position: absolute; right: 14px; bottom: 14px; padding: 3px 10px; border-radius: 12px; background: rgba(22,20,15,.6); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .04em; z-index: 2; }
.bean__main img { transition: transform .9s var(--ease), opacity .25s; }
@media (hover: none) { .bean__nav { opacity: .9; width: 36px; height: 36px; font-size: 22px; } }
.bean__sum > span small { display: block; margin-top: 3px; font-size: 12px; }

/* ---------- 간판 상품 2: 광폭 팔찌 (어두운 배경 · 사진 오른쪽) ---------- */
.bean--rev .bean__gallery { order: 2; }
.bean--dark { color: #f3ede2; border-top-color: #2a2721;
  background: radial-gradient(70% 70% at 95% 10%, rgba(236,208,138,.18) 0%, rgba(236,208,138,0) 60%), radial-gradient(60% 60% at 0% 100%, rgba(192,154,69,.12) 0%, rgba(192,154,69,0) 70%), linear-gradient(180deg, #17150f 0%, #0d0c09 100%); }
.bean--dark::before { content: "Gold Bangle"; right: auto; left: -1vw; color: rgba(236,208,138,.06); }
.bean--dark .bean__eyebrow { color: var(--gold-hi); }
.bean--dark .bean__name, .bean--dark .bean__label, .bean--dark .bean__points b, .bean--dark .bean__sum strong, .bean--dark .bean__sum > span b { color: #fff; }
.bean--dark .bean__lead { color: #cfc6b5; }
.bean--dark .bean__points { border-color: rgba(236,208,138,.25); }
.bean--dark .bean__points li + li { border-left-color: rgba(236,208,138,.15); }
.bean--dark .bean__points span, .bean--dark .bean__sum > span, .bean--dark .bean__sum small, .bean--dark .bean__foot, .bean--dark .bean-opt span { color: #a39a8a; }
.bean--dark .bean__foot .info-link { color: #cfc6b5; }
.bean--dark .bean__main { box-shadow: 0 40px 80px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(236,208,138,.22); }
.bean--dark .bean-opt { background: rgba(255,255,255,.04); border-color: #3a352c; color: #fff; }
.bean--dark .bean-opt:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: var(--gold); }
.bean--dark .bean-opt em { color: #ddd5c6; }
.bean--dark .bean-opt.is-on { background: rgba(236,208,138,.1); border-color: var(--gold-hi); box-shadow: 0 0 0 1px var(--gold-hi), 0 14px 28px -16px rgba(236,208,138,.45); }
.bean--dark .bean-opt.is-on em { color: var(--gold-hi); }
.bean--dark .bean-opt.is-on::after { background: var(--gold-hi); color: var(--ink); }
.bean--dark .bean__cart { background: transparent; border-color: #f3ede2 !important; color: #f3ede2; }
.bean--dark .bean__cart:hover { background: #f3ede2; color: var(--ink); }
@media (max-width: 860px) { .bean--rev .bean__gallery { order: 0; } }
/* 휴대폰: 중량 버튼이 4개면 2개씩 두 줄로 (가격이 줄바꿈되지 않게) */
@media (max-width: 560px) { .bean__opts { grid-template-columns: repeat(min(var(--n, 3), 2), minmax(0, 1fr)); } }
/* 사이즈 · 추가 옵션 */
.product__opt { margin: -2px 0 6px; font-size: 12px; color: var(--muted); }
.order-opts { display: grid; gap: 12px; }
.order-opts:empty { display: none; }
.order-opts select { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 14px; }
.opt-addon { flex-direction: row !important; align-items: center; gap: 8px !important; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 14px !important; color: var(--ink) !important; cursor: pointer; }
.opt-addon:has(input:checked) { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2); }
.opt-addon b { color: var(--gold-2); margin-left: 4px; }
/* 골드바 각인 (무료): 체크하면 문구 칸이 열림 */
.engrave { display: grid; gap: 8px; }
.engrave [hidden] { display: none !important; }
.engrave__txt small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.engrave__note { margin: 0; font-size: 12.5px; color: var(--up); }
.cart-row__eng { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; }
.cart-row__eng .check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cart-row__eng .check b { color: var(--gold-2); }
.cart-row__eng input[data-cetext] { flex: 1 1 200px; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; }
.cart-row__eng small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.opt-w { margin: -4px 0 0; padding: 10px 12px; border-radius: 4px; background: var(--tint); font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.opt-w small { color: var(--muted); }

/* ---------- 상품 상세 (?p=상품번호) ---------- */
.product__img, .product__name, .bar__img, .bar__name, .zcard__img, .zcard h4 { cursor: pointer; }
.product__name:hover, .bar__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-modal { padding: 24px; }
.modal__box.pd { max-width: 1040px; width: 100%; max-height: calc(100vh - 48px); padding: 0; border-radius: 10px; overscroll-behavior: contain; }
.pd__x { z-index: 3; background: rgba(255,255,255,.85); border-radius: 50%; top: 12px; right: 12px; }
.pd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pd__media { background: var(--tint); padding: 24px; }
.pd__main { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #fff; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pd__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 24px; line-height: 1; box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); }
.pd__nav--prev { left: 10px; } .pd__nav--next { right: 10px; }
.pd__count { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 99px; background: rgba(18,17,14,.65); color: #fff; font-size: 12px; }
.pd__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pd__thumbs button { flex: none; width: 60px; height: 60px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
.pd__thumbs button.is-on { border-color: var(--gold-2); opacity: 1; }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__body { padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.pd__spec { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-2); }
.pd__name { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -.02em; word-break: keep-all; padding-right: 32px; }
.pd__label { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 6px; }
.pd__optlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.pd__optlist button { text-align: left; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pd__optlist button b { display: block; font-size: 15px; }
.pd__optlist button em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd__optlist button.is-on { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2); }
.pd__optlist button.is-on em { color: var(--gold-2); font-weight: 700; }
.pd__optlist button:disabled { opacity: .45; cursor: not-allowed; }
.pd__price { font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.pd__unit { font-size: 12px; color: var(--muted); margin-top: -10px; }
.pd__lead { margin-top: 8px; padding: 8px 12px; border-radius: 4px; background: var(--tint); font-size: 13px; font-weight: 600; color: var(--gold-2); }
.pd__lead.is-slow { background: #fdf3e3; color: #9a5b00; }
.order-item .lead.is-night { color: #2b3f8f; }
.cart-row__info .lead { font-style: normal; font-weight: 700; color: #9a5b00; }
.pd__nocancel { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.pd__nocancel b { color: #b3261e; font-weight: 600; }
.pd__btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.pd__btns button { height: 52px; border-radius: 6px; font-weight: 700; font-size: 15px; }
.pd__btns .cart-btn { border: 1px solid var(--ink); }
.pd__btns .buy-btn { background: var(--dark); color: var(--gold-hi); }
.pd__btns button:disabled { opacity: .45; cursor: not-allowed; }
.pd__facts { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 7px; font-size: 13px; }
.pd__facts li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.pd__facts span { color: var(--muted); }
.pd__facts b { font-weight: 500; color: var(--ink); word-break: keep-all; }
.pd__share { align-self: flex-start; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.pd__reviews { border-top: 1px solid var(--line); padding: 28px 32px 32px; }
@media (max-width: 760px) {
  .pd-modal { padding: 0; place-items: end stretch; }
  .modal__box.pd { max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .pd__grid { grid-template-columns: minmax(0, 1fr); }
  .pd__media { padding: 0; }
  .pd__main { border-radius: 0; }
  .pd__thumbs { padding: 0 16px; }
  .pd__body { padding: 20px 16px 24px; }
  .pd__reviews { padding: 24px 16px 96px; }
  .pd__btns { position: sticky; bottom: 0; z-index: 2; background: var(--bg); padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); margin: 0 -16px; padding-left: 16px; padding-right: 16px; box-shadow: 0 -8px 16px -12px rgba(0,0,0,.25); }
}
/* ---------- 상품 상세: 설명 · 후기 · 재입고 알림 ---------- */
.pd__desc { font-size: 14px; line-height: 1.75; color: var(--ink-2); display: grid; gap: 8px; word-break: keep-all; }
.pd__stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.pd__stars span { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rv-stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.rv-stars i { font-style: normal; color: #d9d2c4; }
.rv__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.rv__head h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.rv__head h3 span { color: var(--gold-2); }
.rv__avg { font-size: 14px; color: var(--ink-2); }
.rv__write { margin-left: auto; }
.rv__list { display: grid; gap: 0; }
.rv { padding: 16px 0; border-top: 1px solid var(--line); }
.rv__top { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rv__top time { color: var(--muted); }
.rv__opt { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rv__body { margin-top: 6px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.rv__reply { margin-top: 10px; padding: 10px 12px; background: var(--tint); border-radius: 6px; font-size: 13px; }
.rv__reply b { color: var(--gold-2); font-size: 12px; }
.rv__reply p { margin-top: 2px; white-space: pre-wrap; }
.rv__empty { color: var(--muted); font-size: 14px; padding: 8px 0; }
.rv__form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; display: grid; gap: 10px; }
.rv__for { font-size: 13px; color: var(--ink-2); }
.rv__rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv__label { font-size: 13px; color: var(--ink-2); margin-bottom: -6px; }
.rv__rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv__rate label { font-size: 30px; line-height: 1; color: #d9d2c4; cursor: pointer; padding: 0 2px; }
.rv__rate input:checked ~ label, .rv__rate label:hover, .rv__rate label:hover ~ label { color: var(--gold); }
.rv__rate input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.rv__msg { font-size: 13px; color: var(--ink-2); min-height: 1em; }
.rv__msg.is-error { color: var(--up); }
.rv__btns { display: flex; justify-content: flex-end; gap: 8px; }
.restock { background: var(--tint); border-radius: 8px; padding: 14px; display: grid; gap: 8px; font-size: 13px; }
.restock__t b { display: block; font-size: 15px; margin-bottom: 2px; }
.restock__row { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.restock__row input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 0; }
.restock__agree { font-size: 12px; color: var(--ink-2); display: flex; gap: 6px; align-items: flex-start; }
.restock--done { color: var(--gold-2); font-weight: 500; }
/* ---------- 쿠폰 · 포인트 (주문 창) ---------- */
.bnf:empty { display: none; }
.bnf__hint { font-size: 12.5px; color: var(--ink-2); background: var(--tint); border-radius: 6px; padding: 10px 12px; line-height: 1.6; }
.bnf__login { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.bnf__set { border: 1px solid var(--gold-hi); background: #fffaf0; border-radius: 8px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 8px; }
.bnf__set legend { font-size: 13px; font-weight: 700; padding: 0 4px; }
.bnf__set legend small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.bnf__pts { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.bnf__msg { font-size: 12px; color: var(--gold-2); font-weight: 500; min-height: 0; }
.bnf__msg:empty { display: none; }
.bnf__msg.is-error { color: var(--up); }
#cartDiscRow b { color: var(--up); }

/* ---------- 후기 이벤트 팝업 ---------- */
.evt-modal .modal__box.evt { max-width: 480px; width: calc(100% - 24px); padding: 0; overflow: hidden; border-radius: 14px; }
.evt__x { color: #f3e3b8; z-index: 2; }
.evt__top { position: relative; padding: 34px 28px 28px; background: radial-gradient(120% 90% at 85% 0%, #3a2f17 0%, #14120d 60%); color: #fff; overflow: hidden; }
.evt__eyebrow { font-family: var(--serif-en); font-style: italic; letter-spacing: .14em; color: var(--gold-hi); font-size: 14px; }
.evt__top h2 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.4; }
.evt__top h2 b { font-size: 40px; font-weight: 700; color: var(--gold-hi); letter-spacing: -.02em; }
.evt__coin { position: absolute; right: -18px; bottom: -34px; width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; font: 700 64px/1 var(--serif); color: #8a6a24; background: radial-gradient(circle at 35% 30%, #fff1c4, #d9b25c 45%, #9c7629 100%); box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.45); transform: rotate(-14deg); opacity: .95; }
.evt__body { padding: 22px 24px 18px; display: grid; gap: 14px; }
.evt__steps { display: grid; gap: 9px; font-size: 14px; }
.evt__steps li { display: flex; gap: 10px; align-items: flex-start; }
.evt__steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--dark); color: var(--gold-hi); font-size: 12px; display: grid; place-items: center; margin-top: 1px; }
.evt__steps em { font-style: normal; font-weight: 700; color: var(--gold-2); }
.evt__note { font-size: 12.5px; color: var(--muted); line-height: 1.7; display: grid; gap: 1px; }
.evt__note li { white-space: nowrap; }
.evt__note li::before { content: "· "; }
.evt__steps span { white-space: nowrap; }
@media (max-width: 420px) { .evt__steps span, .evt__note li { white-space: normal; } }
.evt__go { width: 100%; height: 50px; display: grid; place-items: center; font-weight: 700; }
& font-size: 12.5px; color: var(--muted); justify-self: center; text-decoration: underline; text-underline-offset: 3px; }
.rv__gift { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; background: #fffaf0; border: 1px solid var(--gold-hi); font-size: 14px; }
.rv__gift a { color: var(--gold-2); font-weight: 700; text-decoration: underline; }

/* ---------- 주문내역: 내 쿠폰·포인트 · 후기 쓰기 ---------- */
.mo__bnf { margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 18px; display: grid; gap: 12px; }
.mo__bnf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mo__bnf-top > div { background: var(--tint); border-radius: 8px; padding: 14px; }
.mo__bnf-top p { font-size: 13px; color: var(--ink-2); }
.mo__bnf-top strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.mo__bnf-top strong small { font-size: 14px; margin-left: 2px; }
.mo__bnf-top span { font-size: 11.5px; color: var(--muted); line-height: 1.5; display: block; }
.mo__cps { display: grid; gap: 6px; }
.mo__cps li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px dashed var(--gold); border-radius: 8px; background: #fffaf0; font-size: 13px; }
.mo__cps b { color: var(--gold-2); font-size: 16px; }
.mo__cps em { font-style: normal; color: var(--muted); font-size: 12px; }
.mo__logs summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }
.mo__logs ul { margin-top: 8px; display: grid; gap: 4px; font-size: 12.5px; }
.mo__logs li { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px; }
.mo__logs .is-plus { color: var(--gold-2); } .mo__logs .is-minus { color: var(--up); }
.mo__rv { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mo__rv small { color: var(--muted); font-weight: 400; margin-left: 4px; }
@media (max-width: 480px) { .mo__bnf-top strong { font-size: 22px; } }
.btn.btn--sm { height: auto; min-height: 34px; padding: 6px 12px; font-size: 13px; }

/* 후기: 내 후기 · 수정 / 주문내역 후기 완료 */
.rv__mine { font-size: 11px; font-weight: 700; color: var(--gold-2); background: #fff4d9; border-radius: 99px; padding: 2px 8px; }
.rv__edit { margin-left: auto; font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.mo__rvdone { width: 100%; font-size: 12px; color: var(--muted); }
/* 쿠폰 지급 후기 표시 (추천·보증 심사지침) · 소멸 예정 포인트 */
.rv__giftTag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.rv__disc { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 0 12px; }
.mo__bnf-top--one { grid-template-columns: 1fr; }
/* 회원 등급 */
.mo__tier { background: linear-gradient(135deg, #f8efd9, #f3e4bf) !important; }
.mo__tier span b { color: var(--ink); }

.mo__tiername { display: flex !important; align-items: center; gap: 8px; }

/* 생일 · 기념일 쿠폰 등록 */
.mo__anniv { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; }
.mo__anniv h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.mo__anniv h3 small { display: block; font-size: 12px; font-weight: 500; color: var(--gold-2); margin-top: 2px; }
.mo__anniv-desc { font-size: 12.5px; color: var(--ink-2); margin: 0 0 10px; line-height: 1.6; }
.mo__anniv-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; margin-bottom: 8px; }
.mo__anniv-row > span { width: 48px; font-weight: 600; }
.mo__anniv-row select { padding: 6px 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; }
.mo__anniv-row input { flex: 1 1 180px; min-width: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.mo__anniv-ok { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: var(--ink-2); line-height: 1.5; margin: 6px 0; }
.mo__anniv-ok input { margin-top: 2px; flex: none; }
.mo__anniv-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.mo__anniv-msg { font-size: 12.5px; color: var(--gold-2); margin: 6px 0 0; min-height: 1em; }
.mo__anniv-note { font-size: 11.5px; color: var(--muted); }

/* ---------- 찜하기 · 사이즈 안내 · 내 관심 상품 ---------- */
.pd__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pd__wish { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--card); }
.pd__wish.is-on { border-color: var(--up); color: var(--up); }
.sizeguide { padding: 12px 14px; font-size: 13px; line-height: 1.7; color: var(--ink-2); max-height: none !important; }
.sizeguide ol, .sizeguide ul { padding-left: 18px; margin: 0 0 8px; }
.sizeguide ol { list-style: decimal; }
.sizeguide ul { list-style: disc; }
.sizeguide p { margin: 6px 0; }
.sizeguide__tbl { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 12.5px; }
.sizeguide__tbl th, .sizeguide__tbl td { border: 1px solid var(--line); padding: 5px 8px; text-align: center; }
.sizeguide__tbl th { background: var(--tint); font-weight: 500; }
.sizeguide__free { background: var(--tint); padding: 8px 10px; border-radius: 4px; }
.mine { padding: 40px 0 8px; }
.mine__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mine__head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.mine__tabs { display: flex; gap: 6px; }
.mine__tabs button { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--card); }
.mine__tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mine__list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.mine__item { flex: 0 0 140px; scroll-snap-align: start; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.mine__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--tint); }
.mine__item b { font-size: 12.5px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mine__item em { font-style: normal; font-size: 13px; color: var(--gold-2); font-weight: 600; }
.mine__item.is-soldout { opacity: .55; }
.mine__empty { font-size: 13px; color: var(--muted); padding: 12px 0; }
@media (max-width: 760px) { .mine { padding: 28px 0 4px; } .mine__item { flex-basis: 120px; } }

/* ---------- 사진 후기 ---------- */
.rv__photos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rv__photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); cursor: zoom-in; background: var(--tint); }
.rv__photoField { margin-top: 4px; }
.rv__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.rv__thumb { position: relative; width: 72px; height: 72px; }
.rv__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.rv__thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; line-height: 22px; }
.rv__add { width: 72px; height: 72px; border: 1px dashed var(--muted); border-radius: 6px; color: var(--ink-2); font-size: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--card); }
.rv__add small { font-size: 11px; color: var(--muted); }

/* ---------- 시세 흐름 그래프 · 시세 알림 ---------- */
.trend { margin-top: 20px; }
.trend__chart { padding: 22px 24px; }
.trend__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.trend h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.trend h3 small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.trend__tabs { display: flex; gap: 4px; }
.trend__tabs button { font-size: 12px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: #fff; }
.trend__tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.trend__svg svg { width: 100%; height: auto; display: block; overflow: visible; }
.trend__lab { font-size: 12px; fill: var(--ink-2); font-weight: 500; }
.trend__axis { font-size: 11px; fill: var(--muted); }
.trend__empty { height: 160px; display: grid; place-items: center; text-align: center; color: var(--ink-2); font-size: 14px; background: var(--tint); border-radius: 4px; line-height: 1.7; }
.trend__empty small { color: var(--muted); }
.trend__note { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.trend__note .up { color: var(--up); } .trend__note .down { color: var(--down); }
.trend__alert { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(160deg, #fff, #fbf4e4); }
.trend__sub { font-size: 13px; color: var(--muted); margin-top: -4px; }
.trend__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.trend__kinds label { position: relative; cursor: pointer; }
.trend__kinds input { position: absolute; opacity: 0; }
.trend__kinds span { display: block; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); text-align: center; }
.trend__kinds input:checked + span { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2); color: var(--ink); }
.trend__kinds input:focus-visible + span { outline: 2px solid var(--gold); }
.trend__field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.trend__field input { height: 44px; border: 1px solid var(--line); border-radius: 3px; padding: 0 12px; font-size: 15px; color: var(--ink); background: #fff; min-width: 0; width: 100%; }
.trend__won { position: relative; display: block; }
.trend__won em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-2); font-size: 14px; }
.trend__alert .check { font-size: 12px; }
.trend__alert .btn { width: 100%; }
.trend__done { font-size: 14px; line-height: 1.7; color: var(--ink); }
@media (max-width: 860px) {
  .trend { grid-template-columns: minmax(0, 1fr); }
  .trend__chart { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px; }
  .trend__alert { padding: 18px 16px; }
}

/* ---------- 선물로 보내기 ---------- */
.giftopt { border: 1px solid var(--line); border-radius: 6px; background: #fffdf8; }
.giftopt summary { padding: 11px 14px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); }
.giftopt summary small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.giftopt[open] summary { border-bottom: 1px solid var(--line); }
.giftopt { min-width: 0; }
.giftopt__body { padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.giftopt__body > *, .giftopt .row2 > label { min-width: 0; }
.giftopt .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.giftopt input:not([type=checkbox]), .giftopt textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.giftopt__tip { white-space: normal; overflow-wrap: anywhere; }
.giftopt__tip { font-size: 12.5px; color: var(--ink-2); background: var(--tint); padding: 8px 10px; border-radius: 4px; }
