/* =========================================================================
   go-overrides.css — the only file in static/redesign/ that is NOT a verbatim
   copy from the redesign repo.

   style.css and storefront.css are vendored byte-for-byte so a future re-sync
   is a plain copy. Anything the live GO site needs on top of them belongs
   here instead of being edited into those two files.
   ========================================================================= */

/* The redesign FAQ fixture was all <p>. The live FAQ carries ordered steps and
   bullet lists (shipping options, exchange policy, refund terms), which the
   prototype never styled — without this they render at browser defaults and
   read as unstyled text inside an otherwise finished card. */
.faq__item ul,
.faq__item ol { margin: 8px 0 0; padding-left: 20px; }

.faq__item li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-body);
  margin-bottom: 6px;
}

.faq__item li:last-child { margin-bottom: 0; }

.faq__item ol li { padding-left: 2px; }

.faq__item strong { color: var(--ink-head); font-weight: 600; }

.faq__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.faq__cta { margin-top: 28px; text-align: center; }

/* The footer and the preview banner moved to chrome.css — both shells render
   them, and pulling this whole sheet into the admin shell to reach them
   dragged buyer-tuned selectors onto admin screens. */

/* ---------------------------------------------------------------------------
   Buyer order screens (stage 4).

   These classes live in the redesign's admin.css, which the buyer shell does
   not load — the admin port is out of scope, and pulling that whole sheet in
   would restyle screens this port is not touching. Only the rules the buyer
   templates actually use are copied here.
   --------------------------------------------------------------------------- */

.linked {
  border: 1px solid var(--border); border-radius: 11px;
  padding: 10px 12px; margin-bottom: 14px; background: var(--panel);
}
.linked__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}
.email-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: #fff; border: 1px solid oklch(0.92 0.02 330); color: oklch(0.4 0.04 330);
}
.email-pill__badge {
  font-size: 9px; font-weight: 700; padding: 1px 6px;
  border-radius: 5px; letter-spacing: .4px;
  color: oklch(0.4 0.08 60); background: oklch(0.94 0.07 70);
}
.email-pill__badge--magic { color: oklch(0.5 0.06 320); background: oklch(0.94 0.02 330); }
.email-pill__badge--google { color: oklch(0.42 0.12 160); background: oklch(0.94 0.06 160); }

.formcard {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; background: #fff; margin-bottom: 16px;
}
.formcard:last-child { margin-bottom: 0; }
.formcard h3 { font-family: var(--font-head); font-size: 15px; color: var(--ink-head); }

/* Per-line fulfilment state. The buyer shell does not load the admin sheet
   these came from, and an unstyled state badge reads as body text. */
.line-status {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 9px; border-radius: 999px;
  background: oklch(0.95 0.015 330); color: oklch(0.45 0.05 330);
}
.line-status.status-shipped   { background: #dbeafe; color: #1d4ed8; }
.line-status.status-arrived   { background: oklch(0.94 0.05 300); color: oklch(0.42 0.12 300); }
.line-status.status-packed    { background: #e0f2fe; color: #0369a1; }
.line-status.status-paid      { background: oklch(0.94 0.06 160); color: oklch(0.42 0.12 160); }
.line-status.status-cancelled { background: oklch(0.95 0.05 20);  color: oklch(0.5 0.16 20); }
.line-status.status-hold      { background: oklch(0.95 0.07 80);  color: oklch(0.45 0.13 70); }

.alert {
  background: oklch(0.96 0.04 20); border: 1px solid oklch(0.85 0.09 20);
  color: oklch(0.45 0.16 20); padding: 10px 14px; border-radius: 12px;
  margin-bottom: 14px; font-size: 13px;
}
.empty {
  padding: 18px 16px; text-align: center; font-size: 13px;
  color: var(--ink-soft); background: var(--panel);
  border: 1px dashed var(--border); border-radius: 12px; margin-bottom: 14px;
}
.sf-error {
  margin: 0 auto 18px; max-width: 720px;
  background: oklch(0.96 0.04 20); border: 1px solid oklch(0.85 0.09 20);
  color: oklch(0.45 0.16 20); padding: 12px 16px; border-radius: 12px; font-size: 13.5px;
}

/* My Orders status filter. The redesign's chips here were decorative <span>s
   with nothing behind them; a buyer with a long history needs them to work. */
.orders-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.orders-filter .chip { cursor: pointer; font-size: 12.5px; padding: 6px 13px; }
.orders-filter .chip__count {
  margin-left: 5px; font-size: 10.5px; font-weight: 700; opacity: .65;
  font-variant-numeric: tabular-nums;
}
/* Still clickable — it just says, before the click, that there is nothing there. */
.orders-filter .chip.is-empty { opacity: .45; }

/* ---------------------------------------------------------------------------
   Checkout summary lines (stage 5).
   --------------------------------------------------------------------------- */

.co-line {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.co-line:last-of-type { border-bottom: 0; }
.co-line__meta { flex: 1; min-width: 0; }
.co-line__artist {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent-strong);
}
.co-line__album {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  color: var(--ink-head); overflow-wrap: anywhere;
}
.co-line__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
/* Freebie tiers on a checkout line — operator free text, one tier per line;
   pre-line keeps those breaks so buyers read tiers exactly as written. */
.co-line__benefit { font-size: 11px; line-height: 1.5; white-space: pre-line; margin-top: 5px; padding: 5px 8px; border-radius: 7px; background: oklch(0.96 0.04 90); color: oklch(0.45 0.09 70); }
/* 같은 고지를 결제 라인에서 다시 — 카드와 같은 색을 쓴다. */
.co-line__random { font-size: 11px; font-weight: 600; line-height: 1.5; margin-top: 5px; padding: 5px 8px; border-radius: 7px; background: oklch(0.96 0.04 300); color: oklch(0.46 0.11 300); }
.co-line__price {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 700;
  color: var(--ink-head); white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* Product thumbnails. The buyer shell does not load the admin sheet these came
   from, so an unstyled one collapses to a full-width broken image. */
.campaign-image {
  position: relative; flex: 0 0 auto; width: 48px; height: 48px;
  border-radius: 10px; overflow: hidden;
  background: oklch(0.95 0.02 330); border: 1px solid var(--border);
}
.campaign-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.campaign-image-placeholder {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center; text-align: center;
  font-size: 8.5px; letter-spacing: .02em; color: var(--ink-mute); padding: 2px;
}
.campaign-image.is-missing .campaign-image-placeholder { display: flex; }
.campaign-image-order { width: 48px; height: 48px; }

.req { color: var(--accent-strong); }

/* Two-up field row and the postcode input + button pair (stage 5 address). */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.urlrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* `hidden` has to actually hide. The vendored sheet gives .field and several
   other blocks an explicit `display`, and any `display` beats the browser's
   default [hidden] rule — so the checkout's payment-specific fields stayed on
   screen while the script believed it had hidden them. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------------
   The outage page (templates/error.html).

   Sized like a card rather than a full-bleed banner: the point is that this is
   a temporary condition on an otherwise working shop, and a page-filling red
   screen says the opposite.
   --------------------------------------------------------------------------- */

.errpage { max-width: 620px; margin: 0 auto; padding: 56px 18px 90px; }
.errpage__card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 24px; box-shadow: var(--shadow-card);
  padding: 38px 30px 32px; text-align: center;
}
.errpage__icon { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.errpage__title {
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  color: var(--ink-head); margin: 0 0 10px;
}
.errpage__msg { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 20px; line-height: 1.6; }
.errpage__facts {
  list-style: none; padding: 14px 16px; margin: 0 0 22px; text-align: left;
  background: white; border: 1px solid var(--border); border-radius: 14px;
  font-size: 13.5px; color: var(--ink-head); display: grid; gap: 9px;
}
.errpage__facts li { padding-left: 24px; position: relative; line-height: 1.5; }
.errpage__facts li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: oklch(0.6 0.14 160); font-weight: 700;
}
.errpage__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.errpage__foot { font-size: 12.5px; color: var(--ink-soft); margin: 20px 0 0; }

@media (max-width: 640px) {
  .errpage { padding: 32px 14px 70px; }
  .errpage__card { padding: 30px 20px 26px; }
  .errpage__title { font-size: 21px; }
  .errpage__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Checkout: stopping a buyer before the order can fail.

   The order lines are written into the form by checkout.js from a cart kept in
   localStorage, so with scripting off there is nothing to submit. Saying that
   up front costs a buyer nothing; letting them fill in an address first and
   then refusing is where they leave.
   --------------------------------------------------------------------------- */

.co-nojs {
  max-width: 720px; margin: 0 auto 20px; padding: 16px 18px;
  background: oklch(0.97 0.04 85); border: 1px solid oklch(0.87 0.1 80);
  border-radius: 14px; color: oklch(0.4 0.11 70); font-size: 13.5px; line-height: 1.6;
}
.co-nojs b { display: block; font-size: 15px; margin-bottom: 6px; color: oklch(0.35 0.12 70); }
.co-nojs p { margin: 6px 0 0; }

/* A field the buyer still has to fill in. Marked on the field itself rather
   than only in a banner at the top: a message far from the box it is about
   leaves them hunting for which one it means. */
.field.is-invalid .input { border-color: oklch(0.7 0.16 20); background: oklch(0.99 0.02 20); }
.field.is-invalid .input:focus { outline-color: oklch(0.6 0.18 20); }
.field__err {
  display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600;
  color: oklch(0.5 0.17 20);
}

/* ---------------------------------------------------------------------------
   Sessions: the two places a buyer is told why they are being asked again.
   --------------------------------------------------------------------------- */

/* Shown only inside a messenger's built-in browser. Amber rather than red: it
   is a "do this instead", not an error — everything on the page still works. */
.inapp-note {
  max-width: 1120px; margin: 14px auto 0; padding: 12px 16px;
  display: grid; gap: 4px;
  background: oklch(0.97 0.04 85); border: 1px solid oklch(0.87 0.1 80);
  border-radius: 14px; color: oklch(0.42 0.1 70);
  font-size: 12.5px; line-height: 1.55;
}
.inapp-note b { color: oklch(0.35 0.12 70); }

.gate__note--warn {
  background: oklch(0.97 0.04 85); border-color: oklch(0.87 0.1 80);
  color: oklch(0.42 0.1 70);
}
.gate__note--warn b { color: oklch(0.35 0.12 70); }

@media (max-width: 640px) {
  .inapp-note { margin: 10px 12px 0; font-size: 12px; }
}

.privacy-page { padding-top: 34px; }
.privacy-document { max-width: 880px; margin: 0 auto; }
.privacy-hero {
  padding: 28px 30px; margin-bottom: 24px; border-radius: 24px;
  background: linear-gradient(115deg, var(--accent-tint), var(--indigo));
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.privacy-hero__eyebrow {
  margin: 0 0 8px; color: var(--accent-strong); font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.privacy-hero h1 {
  font-size: clamp(26px, 4vw, 28px); line-height: 1.2; margin: 0;
}
.privacy-hero h1 span,
.privacy-card__heading h2 span {
  display: block; margin-top: 4px; font-size: .58em; font-weight: 500;
  color: var(--ink-soft); letter-spacing: 0;
}
.privacy-hero__lead {
  max-width: 660px; margin: 12px 0 20px; color: var(--ink-body);
  font-size: 15px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
.privacy-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0;
}
.privacy-meta div { min-width: 0; padding: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.privacy-meta dt { margin: 0 0 4px; color: var(--ink-mute); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.privacy-meta dd { margin: 0; color: var(--ink-head); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.privacy-card {
  padding: 24px; margin-bottom: 24px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-soft);
}
.privacy-card__heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.privacy-card__number {
  flex: 0 0 auto; color: var(--accent-strong); font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.privacy-card__heading h2 { font-size: 20px; line-height: 1.25; }
.privacy-card__heading p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.privacy-card h3 {
  margin: 20px 0 10px; color: var(--ink-head); font-family: var(--font-head);
  font-size: 15px; line-height: 1.3;
}
.privacy-card h3:first-of-type { margin-top: 0; }
.privacy-card > p { margin: 0 0 16px; color: var(--ink-body); font-size: 14px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
.privacy-card > p a { overflow-wrap: anywhere; word-break: break-word; }
.privacy-card > p:last-child { margin-bottom: 0; }
.privacy-table-wrap { overflow-x: auto; }
.privacy-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--ink-body); font-size: 14px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.privacy-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.privacy-table th { padding: 10px 12px; background: var(--bg); color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.privacy-table th:nth-child(1) { width: 27%; }
.privacy-table th:nth-child(2) { width: 43%; }
.privacy-table th:nth-child(3) { width: 30%; }
.privacy-table td { padding: 12px; border-top: 1px solid var(--border); vertical-align: top; overflow-wrap: anywhere; word-break: keep-all; }
.privacy-table td:first-child { color: var(--ink-head); font-weight: 600; }
.privacy-table a { overflow-wrap: anywhere; }
.privacy-list { display: grid; gap: 10px; margin: 0; padding: 0 0 0 20px; color: var(--ink-body); font-size: 14px; line-height: 1.65; }
.privacy-list li::marker { color: var(--accent); }
.privacy-note { padding: 12px 14px; background: var(--accent-tint); border: 1px dashed var(--border-in); border-radius: 12px; color: var(--ink-soft) !important; font-size: 13px !important; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.privacy-alert {
  margin-top: 16px; padding: 14px 16px; background: oklch(0.97 0.04 85);
  border: 1px solid oklch(0.87 0.1 80); border-radius: 14px; color: oklch(0.42 0.1 70);
  font-size: 13px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
.privacy-alert strong { display: block; margin-bottom: 4px; color: oklch(0.35 0.12 70); font-size: 13px; }
.privacy-alert strong span { margin-left: 4px; font-weight: 500; }
.privacy-alert p { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.privacy-alert--blocking { margin-bottom: 24px; }
.privacy-checklist { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; color: inherit; }
.privacy-checklist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; line-height: 1.6; }
.privacy-checklist__status { padding: 2px 6px; border: 1px solid oklch(0.82 0.08 70); border-radius: 999px; background: oklch(0.99 0.03 85); color: oklch(0.35 0.12 70); font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; }
.privacy-request { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--accent-tint); border: 1px solid var(--border); border-radius: 14px; color: var(--ink-head); font-size: 13px; }
.privacy-request .btn { flex: 0 0 auto; }
.privacy-footer { padding: 4px 8px 30px; color: var(--ink-mute); font-size: 12px; line-height: 1.6; text-align: center; }
.privacy-footer a { display: inline-block; margin-left: 8px; }
.gate h1 { margin: 0 0 6px; color: var(--ink-head); font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.gate .signin__privacy { margin: 14px 0 0; color: var(--ink-body); font-size: 14px; line-height: 1.6; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.gate .signin__privacy a { font-weight: 600; white-space: nowrap; }
.gate__inputrow:focus-within { border-color: var(--accent-strong); outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.btn--primary { background: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: oklch(0.44 0.16 340); color: #fff; }
.gonav__link { color: var(--ink-body); }
.privacy-meta dt,
.privacy-table th,
.privacy-table td::before,
.privacy-footer { color: var(--ink-body); }
.gofoot a { white-space: nowrap; }
.privacy-page a:focus-visible,
.signin__privacy a:focus-visible,
.gofoot a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 640px) {
  .privacy-page { padding: 24px 14px 70px; }
  .privacy-hero { padding: 22px 18px; border-radius: 20px; }
  .privacy-hero__lead { font-size: 14px; }
  .privacy-meta { grid-template-columns: 1fr; gap: 8px; }
  .privacy-meta div { padding: 10px 12px; }
  .privacy-card { padding: 18px 16px; border-radius: 16px; }
  .privacy-card__heading h2 { font-size: 18px; }
  .privacy-card h3 { margin-top: 16px; }
  .privacy-table-wrap { overflow: visible; }
  .privacy-table, .privacy-table tbody, .privacy-table tr, .privacy-table td { display: block; width: 100%; }
  .privacy-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .privacy-table tr { padding: 10px 0; border-top: 1px solid var(--border); }
  .privacy-table tr:first-child { border-top: 0; }
  .privacy-table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; padding: 3px 0; border-top: 0; }
  .privacy-table td::before { content: attr(data-label); color: var(--ink-body); font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
  .privacy-request { align-items: stretch; flex-direction: column; }
  .privacy-request .btn { width: 100%; }
  .privacy-footer a { display: block; margin: 8px 0 0; }
}

/* The checkout note under Place order, when the reason it did nothing is that
   the cart is empty. */
.co-emptywarn { color: oklch(0.5 0.17 20); font-weight: 600; }

/* The 6-digit code box. Wide tracking and a tabular face so the digits read as
   six separate characters — a code that looks like one number is one the buyer
   mis-types and then blames the shop for. */
.codebox {
  font-size: 26px; font-weight: 700; text-align: center;
  letter-spacing: .38em; text-indent: .38em;
  font-variant-numeric: tabular-nums; padding: 12px 10px; height: auto;
}
.codebox::placeholder { letter-spacing: .38em; opacity: .25; font-weight: 600; }

/* A GO that closes while it sits in the basket is pruned by cart.js on the
   next page load. These notes — one in the drawer, one in the checkout
   summary — are where the buyer is told what was dropped; without them a
   vanished line reads as data loss, not as a GO that ended. Amber, not the
   accent pink: this is a warning about something that already happened, not a
   promotion. */
.cart-removed,
.co-removed {
  font-size: 12.5px; line-height: 1.55;
  color: oklch(0.42 0.1 70);
  background: oklch(0.97 0.04 85);
  border: 1px dashed oklch(0.87 0.1 80);
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 12px;
}
.cart-removed b,
.co-removed b { color: oklch(0.35 0.12 70); font-weight: 600; }

/* 앨범(재고형) 주문 공지 — Alibaba escrow 전용, 배송비는 인보이스에서
   (owner 2026.08.20). */
.co-note--stock {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.5;
  background: oklch(0.96 0.03 250); color: oklch(0.35 0.08 250);
  border: 1px solid oklch(0.88 0.05 250);
}
.co-note--stock b { font-weight: 700; }
label.is-disabled { opacity: .45; cursor: not-allowed; }

/* ── 20단계: 주문 분리 안내와 체크아웃 특전 줄 ────────────────────────────────
   `.co-split-note` 는 예전에 인라인 style 로만 그려졌다. 규칙을 파일로 옮겨,
   375px 에서의 줄바꿈과 왜 갈라졌는지의 보조 문장을 함께 관리한다.

   `.co-line__pob` 는 마크업만 있고 규칙이 없었다 — 특전이 본문과 같은 크기로
   찍혀 구성·사은품 줄과 구분되지 않았다. */
.co-split-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: oklch(0.96 0.03 300);
  color: oklch(0.4 0.08 300);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
  text-wrap: pretty;
}
/* 같은 아티스트가 왜 두 주문이 되는지. 본문보다 한 단계 낮춰 이유임을 드러낸다. */
.co-split-note__why {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: oklch(0.5 0.05 300);
}
/* 예약특전 — 결제 라인. 주문 내역의 `.order-line__pob` 와 같은 색 계열이다. */
.co-line__pob {
  margin-top: 5px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  background: oklch(0.96 0.035 300);
  color: oklch(0.44 0.11 300);
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ how to order
   New buyer guide (owner 2026.09.28, docs/workflow/25-how-to-order-guide.md).
   Every class is htg- prefixed: storefront.css reuses short names. */
.htg { max-width: 1080px; margin: 0 auto; padding: 32px 20px 90px; }
.htg-hero {
  background: linear-gradient(120deg, oklch(0.95 0.04 340) 0%, oklch(0.94 0.04 300) 60%, oklch(0.95 0.03 240) 100%);
  border-radius: 24px; padding: clamp(22px, 5vw, 40px); display: grid; gap: 12px;
}
.htg-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.htg-hero h1 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 600; text-wrap: balance; }
.htg-hero p { margin: 0; max-width: 62ch; color: var(--ink-soft); }
.htg-route { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.htg-route a {
  display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--ink-head);
  border: 1px solid var(--border-in); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 14px; font-weight: 500;
}
.htg-route a:hover, .htg-route a:focus-visible { border-color: var(--accent-strong); }
.htg-route b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-strong); color: white; font: 600 13px/1 var(--font-head);
}
.htg-step {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 44px);
  align-items: start; padding: 48px 0; border-bottom: 1px dashed var(--border-in); scroll-margin-top: 80px;
}
.htg-step__text { display: grid; gap: 12px; font-size: 14.5px; line-height: 1.65; }
.htg-step__text p { margin: 0; }
.htg-step__text ul, .htg-step__text ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.htg-step__text strong { color: var(--ink-head); font-weight: 600; }
.htg-num { display: flex; align-items: center; gap: 12px; }
.htg-num span {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, #ff2d8f, #6610d4); color: white; font: 700 19px/1 var(--font-head);
}
.htg-num h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; }
.htg-note { border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 1.55; }
.htg-note--info { background: oklch(0.96 0.03 230); color: oklch(0.36 0.08 240); }
.htg-note--warn { background: oklch(0.97 0.04 80); color: oklch(0.42 0.09 60); }
.htg-shots { display: grid; gap: 14px; }
.htg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.htg-frame { margin: 0; }
.htg-frame img {
  display: block; width: 100%; height: auto; border: 1px solid var(--border-in); border-radius: 16px;
  background: white; box-shadow: var(--shadow-soft);
}
.htg-frame--narrow { max-width: 420px; width: 100%; margin-inline: auto; }
.htg-frame figcaption { font-size: 12.5px; color: var(--ink-mute); padding: 6px 4px 0; }
.htg-table { overflow-x: auto; background: white; border: 1px solid var(--border); border-radius: 14px; padding: 4px 8px; }
.htg-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.htg-table th, .htg-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.htg-table tr:last-child td { border-bottom: 0; }
.htg-table th { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.htg-table td:first-child { color: var(--ink-head); font-weight: 500; white-space: nowrap; }
.htg-faq { margin-top: 32px; display: grid; gap: 12px; max-width: 760px; }
.htg-faq h2 { font-size: 24px; font-weight: 600; }
.htg-faq details { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-soft); }
.htg-faq summary { cursor: pointer; font-weight: 600; color: var(--ink-head); }
.htg-faq details p { margin: 10px 0 0; font-size: 14px; }
.htg-more { margin: 4px 0 0; font-size: 14px; }
@media (max-width: 820px) {
  .htg-step { grid-template-columns: 1fr; padding: 36px 0; }
}
@media (max-width: 520px) { .htg-pair { grid-template-columns: 1fr; } }

/* Storefront banner that points first-time buyers at the guide. Starts hidden;
   its inline script shows it unless this browser dismissed it. */
.htg-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 0;
  background: white; border: 1px solid var(--border-in); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-soft);
}
.htg-banner[hidden] { display: none; }
.htg-banner__text { flex: 1 1 260px; font-size: 14px; color: var(--ink-body); }
.htg-banner__text b { color: var(--ink-head); }
.htg-banner__close {
  border: 0; background: transparent; color: var(--ink-mute); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px 6px;
}
.htg-banner__close:hover { color: var(--ink-head); }

/* Buyer phone pass (owner 2026.10.05, option B, docs/workflow/34-buyer-mobile.md).
   Header: row 1 = logo + account + cart, row 2 = menu that scrolls sideways
   (171px → about 91px). Inputs 16px so iOS does not zoom on focus; tap targets 36px. */
@media (max-width: 720px) {
  .gonav .gonav__inner {
    display: grid; grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand . actions" "links links links";
    align-items: center; gap: 4px 8px; padding: 8px 12px;
  }
  .gonav .gonav__brand { grid-area: brand; }
  .gonav .gonav__actions { grid-area: actions; gap: 6px; margin: 0; }
  .gonav .gonav__links {
    grid-area: links; flex-wrap: nowrap; gap: 14px; margin: 0; padding: 0;
    overflow-x: auto; scrollbar-width: none;
  }
  .gonav .gonav__link { padding: 6px 0; }
  .gonav .gonav__acct-name { display: none; }

  body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) { font-size: 16px; }
  :is(.btn, button):not(.gonav *) { min-height: 36px; }
}

/* Proxy request lines (23단계): one column on a phone, paired fields from 640px. */
.pxr-line{display:grid;gap:8px;border:1px solid oklch(0.92 0.02 330);border-radius:12px;padding:12px;margin-bottom:12px}
.pxr-row{display:grid;gap:8px;grid-template-columns:minmax(0,1fr)}
.pxr-row .input{width:100%;min-width:0;box-sizing:border-box}
.pxr-row--qty{grid-template-columns:72px minmax(0,1fr) auto;align-items:center}
@media (min-width:640px){
  .pxr-line{padding:14px}
  .pxr-row--link{grid-template-columns:minmax(0,1fr) 170px}
  .pxr-row--pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .pxr-row--qty{grid-template-columns:96px minmax(0,1fr) auto}
}
.pxr-choice{display:flex;gap:10px;align-items:flex-start;margin-bottom:8px;font-size:14px;line-height:1.5}
.pxr-choice input{margin-top:3px;flex:none}
.pxr-est{width:100%;max-width:460px;margin-top:12px;font-size:13px;border-collapse:collapse}
.pxr-submit{width:100%;justify-content:center}
@media (min-width:640px){.pxr-submit{width:auto}}
.pxr-addr{display:grid;gap:8px;margin-top:4px;padding:12px;border:1px solid oklch(0.92 0.02 330);border-radius:12px}
.pxr-row--zip{grid-template-columns:minmax(0,200px) minmax(0,1fr);align-items:center}
.pxr-zip-msg{font-size:13px;color:oklch(0.5 0.03 320);min-width:0;overflow-wrap:anywhere}

/* Unfolded Galaxy Fold inner screen (~720–1000px, owner 2026.11.10): the desktop
   header's six links wrapped into three lines and pushed the cart pill off-screen.
   Keep one row; the links shrink and scroll sideways like the phone menu. */
@media (min-width: 721px) and (max-width: 1024px) {
  .gonav .gonav__inner { gap: 14px; }
  .gonav .gonav__name { display: none; }
  .gonav .gonav__links {
    flex: 1 1 auto; min-width: 0; gap: 16px; overflow-x: auto; scrollbar-width: none;
  }
  .gonav .gonav__links::-webkit-scrollbar { display: none; }
  .gonav .gonav__link { white-space: nowrap; }
  .gonav .gonav__actions { flex: 0 0 auto; }
  .gonav .gonav__acct, .gonav .gonav__actions .btn { white-space: nowrap; }
}

/* 계단식 가격 — 이 값으로 남은 세트 (owner 2026-11-18, docs/workflow/70-price-tiers.md). */
.go-card__tier { font-size: 12px; font-weight: 600; color: oklch(0.45 0.2 300); margin-top: 2px; }
