@charset "utf-8";
/* ==========================================================================
   HONEY MARKET — Design System (1st Draft)
   Author: Honey Market Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — warm gold */
  --gold-900: #5E4512;
  --gold-800: #7A5C1B;
  --gold-700: #96731F;
  --gold-600: #A8812C;   /* primary */
  --gold-500: #C09A40;
  --gold-400: #D8B96E;
  --gold-300: #E7D2A2;
  --gold-200: #F2E6CB;
  --gold-100: #F8F1E1;
  --gold-050: #FCF8EF;

  /* Neutral — warm grey */
  --ink:      #17150F;
  --ink-2:    #3D3931;
  --ink-3:    #6E685C;
  --ink-4:    #9A9488;
  --line:     #E7E2D8;
  --line-2:   #F0ECE4;
  --bg:       #FFFFFF;
  --bg-soft:  #FAF8F3;
  --bg-dark:  #1A1811;

  /* Semantic */
  --sale:     #D6452F;
  --info:     #2F6FD6;
  --ok:       #2E8B62;

  /* Layout */
  --container: 1280px;
  --gutter: 20px;
  --header-h: 169px;   /* utility 34 + main 82 + gnb 50 + borders */
  --sticky-top: 189px; /* header-h + 20 */

  /* Radius — 절제된 사각 기반 */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-pill: 999px;

  /* Elevation — 최소한만 */
  --sh-1: 0 1px 2px rgba(23, 21, 15, .06);
  --sh-2: 0 6px 24px rgba(23, 21, 15, .10);

  /* Type */
  --ff: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --ff-display: "Cormorant Garamond", "Apple SD Gothic Neo", "Times New Roman", serif;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -.01em;
  word-break: keep-all;
}
h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
del { text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; }

.blind {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--soft { background: var(--bg-soft); }
.stack > * + * { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row--between { justify-content: space-between; }
.spacer { flex: 1; }

/* Section head */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec-head__eyebrow {
  display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600);
}
.sec-head__title { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.sec-head__desc { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.sec-head__more { flex: none; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.sec-head__more:hover { color: var(--gold-700); border-color: var(--gold-400); }

/* Page head (sub pages) */
.page-head { padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.page-head__title { font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.page-head__desc { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-4); margin-bottom: 14px; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--line); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb li:last-child { color: var(--ink-3); }

/* --------------------------------------------------------------------------
   4. Buttons / Badges / Form
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; letter-spacing: -.02em; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--gold-600); color: #fff; }
.btn--primary:hover { background: var(--gold-700); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--line:hover { border-color: var(--ink-4); }
.btn--gold-line { background: #fff; border-color: var(--gold-400); color: var(--gold-700); }
.btn--gold-line:hover { background: var(--gold-050); }
.btn--ghost { color: var(--ink-3); }
.btn--ghost:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { height: 54px; font-size: 15px; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn:disabled { background: var(--line-2); border-color: var(--line-2); color: var(--ink-4); cursor: default; }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px;
  border-radius: var(--r-xs); font-size: 11px; font-weight: 700; letter-spacing: -.01em;
}
.badge--sale  { background: var(--sale); color: #fff; }
.badge--best  { background: var(--ink); color: #fff; }
.badge--new   { background: var(--gold-600); color: #fff; }
.badge--soon  { background: rgba(23,21,15,.62); color: #fff; }
.badge--gift  { background: #fff; border: 1px solid var(--gold-400); color: var(--gold-700); }
.badge--soldout { background: rgba(23,21,15,.72); color: #fff; }

.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: var(--r-xs);
  font-size: 11px; font-weight: 500; color: var(--ink-3); background: #fff;
}
.chip--gold { border-color: var(--gold-200); background: var(--gold-050); color: var(--gold-700); }

.field { display: block; }
.field__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field__label .req { color: var(--sale); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14px; transition: border-color .15s;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-500); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236E685C' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.field__help { margin-top: 7px; font-size: 12px; color: var(--ink-4); }

.check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold-600); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }

.utility { border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: 34px; font-size: 12px; color: var(--ink-3); }
.utility__notice { display: flex; align-items: center; gap: 8px; min-width: 0; }
.utility__notice b { flex: none; color: var(--gold-700); font-weight: 700; }
.utility__notice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utility__links { display: flex; align-items: center; gap: 14px; }
.utility__links a:hover { color: var(--ink); }
.utility__links li + li { position: relative; }
.utility__links li + li::before { content: ""; position: absolute; left: -8px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: var(--line); }

.header__main { display: flex; align-items: center; gap: 40px; height: 82px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__text { display: block; line-height: 1.05; }
.logo__name { display: block; font-family: var(--ff-display); font-size: 25px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.logo__sub { display: block; font-size: 9px; font-weight: 600; letter-spacing: .34em; color: var(--gold-600); }

.search { flex: 1; max-width: 520px; position: relative; }
.search__form { display: flex; align-items: center; height: 46px; padding: 0 6px 0 16px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: #fff; }
.search__input { flex: 1; height: 100%; border: 0; background: none; font-size: 14px; }
.search__input:focus { outline: none; }
.search__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--ink); }
.search__keywords { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 12px; color: var(--ink-4); padding-left: 2px; }
.search__keywords b { font-weight: 600; color: var(--ink-3); }
.search__keywords a:hover { color: var(--gold-700); }

.header__util { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hutil {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 62px; padding: 6px 0; font-size: 11px; color: var(--ink-3); border-radius: var(--r-sm);
}
.hutil:hover { color: var(--ink); background: var(--bg-soft); }
.hutil__count {
  position: absolute; top: 0; right: 10px; min-width: 17px; height: 17px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sale); color: #fff; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; line-height: 1;
}

/* GNB */
.gnb { border-top: 1px solid var(--line-2); }
.gnb__inner { display: flex; align-items: center; gap: 28px; height: 50px; }
.gnb__all { display: flex; align-items: center; gap: 9px; flex: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.gnb__menu { display: flex; align-items: center; gap: 26px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gnb__menu::-webkit-scrollbar { display: none; }
.gnb__menu > li > a {
  position: relative; display: flex; align-items: center; height: 49px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.gnb__menu > li > a:hover { color: var(--gold-700); }
.gnb__menu > li.is-active > a { color: var(--ink); font-weight: 700; }
.gnb__menu > li.is-active > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.gnb__menu .em { color: var(--gold-700); font-weight: 700; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 90;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-2); display: none;
}
.mega.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; padding: 32px 20px 36px; max-width: var(--container); margin: 0 auto; }
.mega__title { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.mega__title svg { color: var(--gold-600); }
.mega__list li + li { margin-top: 8px; }
.mega__list a { font-size: 13.5px; color: var(--ink-3); }
.mega__list a:hover { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile header bits */
.header__mobile { display: none; }
.m-icon-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--ink); position: relative; }

/* --------------------------------------------------------------------------
   6. Product card
   -------------------------------------------------------------------------- */
.prd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.prd-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 36px 20px; }
.prd-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { display: block; position: relative; }
.card__thumb {
  position: relative; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line-2); border-radius: var(--r-md); aspect-ratio: 1 / 1;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__thumb img { transform: scale(1.035); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
/* 랭킹 번호가 있을 때는 배지를 그 아래로 내려 겹치지 않게 한다 */
.card--ranked .card__badges { top: 40px; }
.card__wish {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  color: var(--ink-4); transition: color .15s, border-color .15s;
}
.card__wish:hover { color: var(--sale); border-color: var(--gold-200); }
.card__wish.is-on { color: var(--sale); }
.card__wish.is-on svg path { fill: currentColor; }
.card__soldout {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(250,248,243,.78); font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: -.02em;
}
.card__body { padding-top: 14px; }
.card__brand { font-size: 12px; font-weight: 600; color: var(--gold-700); letter-spacing: -.01em; }
.card__name {
  margin-top: 5px; font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
}
.card:hover .card__name { color: var(--ink); }
.card__spec { margin-top: 4px; font-size: 12px; color: var(--ink-4); }
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.card__rate { font-size: 16px; font-weight: 800; color: var(--sale); letter-spacing: -.03em; }
.card__cost { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.card__cost .won { font-size: 13px; font-weight: 600; margin-left: 1px; }
.card__origin { font-size: 12.5px; color: var(--ink-4); }
.card__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--ink-4); }
.card__star { color: var(--gold-600); font-weight: 700; }
.card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }

/* rank card (인기 랭킹) */
.card__rank {
  position: absolute; top: 0; left: 0; z-index: 2; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; font-family: var(--ff-display);
}
.card__rank--gold { background: var(--gold-600); }

/* --------------------------------------------------------------------------
   7. Home — hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--bg-soft); }
.hero__viewport { overflow: hidden; }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.4,.1,.2,1); }
.hero__slide { flex: 0 0 100%; }
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  min-height: 440px; padding: 48px 20px; max-width: var(--container); margin: 0 auto;
}
.hero__eyebrow { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; background: var(--gold-600); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; border-radius: var(--r-xs); }
.hero__title { margin-top: 20px; font-size: 44px; font-weight: 700; line-height: 1.22; letter-spacing: -.045em; }
.hero__title em { font-style: normal; color: var(--gold-700); }
.hero__desc { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--ink-3); }
.hero__cta { display: flex; gap: 10px; margin-top: 30px; }
.hero__visual { position: relative; aspect-ratio: 4 / 3; }
.hero__visual img { width: 100%; height: 100%; object-fit: contain; }
.hero__slide--dark { background: var(--bg-dark); color: #fff; }
.hero__slide--dark .hero__desc { color: rgba(255,255,255,.68); }
.hero__slide--dark .hero__title em { color: var(--gold-400); }
.hero__slide--dark .btn--line { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.hero__slide--dark .btn--line:hover { border-color: #fff; }
.hero__slide--gold { background: var(--gold-050); }

.hero__controls {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 8px;
}
.hero__dots { display: flex; gap: 6px; padding: 0 6px; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.hero__dot.is-on { background: var(--gold-600); width: 18px; border-radius: var(--r-pill); }
.hero__arrow { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--ink-3); }
.hero__arrow:hover { color: var(--ink); }
.hero__count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding: 0 4px; }
.hero__count b { color: var(--ink); }

/* Category quick nav */
.catnav { border-bottom: 1px solid var(--line-2); }
.catnav__list { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; padding: 26px 0; }
.catnav__item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 4px; border-radius: var(--r-md); }
.catnav__item:hover { background: var(--gold-050); }
.catnav__ico {
  width: 54px; height: 54px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--gold-700);
}
.catnav__item:hover .catnav__ico { background: #fff; border-color: var(--gold-300); }
.catnav__label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-align: center; white-space: nowrap; }

/* Timesale */
.timesale { display: flex; align-items: center; gap: 14px; }
.timer { display: flex; align-items: center; gap: 4px; font-family: var(--ff-display); }
.timer__unit {
  min-width: 34px; height: 34px; padding: 0 6px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border-radius: var(--r-xs);
  font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.timer__colon { color: var(--ink-4); font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs__btn {
  position: relative; height: 44px; padding: 0 16px; font-size: 15px; font-weight: 500; color: var(--ink-4);
}
.tabs__btn:hover { color: var(--ink-2); }
.tabs__btn.is-on { color: var(--ink); font-weight: 700; }
.tabs__btn.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tabpanel[hidden] { display: none; }

/* Promo band */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 34px 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.promo--gold { background: var(--gold-050); border-color: var(--gold-200); }
.promo--dark { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.promo__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold-600); }
.promo--dark .promo__eyebrow { color: var(--gold-400); }
.promo__title { margin-top: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.promo__desc { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.promo--dark .promo__desc { color: rgba(255,255,255,.6); }
.promo__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--gold-700); }
.promo--dark .promo__link { color: var(--gold-400); }
.promo__img { flex: none; width: 128px; }

/* Benefit strip */
.benefit { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.benefit__item { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.benefit__item + .benefit__item { border-left: 1px solid var(--line-2); }
.benefit__ico { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--gold-600); background: var(--gold-050); border-radius: var(--r-pill); }
.benefit__title { font-size: 14px; font-weight: 700; }
.benefit__desc { margin-top: 3px; font-size: 12.5px; color: var(--ink-4); }

/* Brand strip */
.brand-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-item {
  display: flex; align-items: center; justify-content: center; height: 76px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-3);
}
.brand-item:hover { border-color: var(--gold-300); color: var(--gold-700); background: var(--gold-050); }

/* Review cards */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.review-card__stars { color: var(--gold-500); font-size: 13px; letter-spacing: .08em; }
.review-card__text { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.review-card__thumb { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line-2); object-fit: cover; }
.review-card__prd { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.review-card__user { font-size: 12px; color: var(--ink-4); }

/* --------------------------------------------------------------------------
   8. Category / list page
   -------------------------------------------------------------------------- */
.layout-side { display: grid; grid-template-columns: 208px 1fr; gap: 48px; align-items: start; padding: 34px 0 90px; }

.side-nav { position: sticky; top: var(--sticky-top); }
.side-nav__title { padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.side-nav__list { margin-top: 6px; }
.side-nav__list > li > a { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.side-nav__list > li > a:hover { color: var(--gold-700); }
.side-nav__list > li.is-active > a { font-weight: 700; color: var(--gold-700); }
.side-nav__count { font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.side-box { margin-top: 30px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); }
.side-box__title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.side-rank li { display: flex; gap: 9px; align-items: baseline; padding: 6px 0; font-size: 13px; color: var(--ink-2); }
.side-rank .n { flex: none; width: 14px; font-family: var(--ff-display); font-weight: 700; color: var(--gold-700); }
.side-rank a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cat-hero { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--gold-050); }
.cat-hero__title { font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.cat-hero__desc { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips__btn {
  height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-size: 13.5px; color: var(--ink-2);
}
.chips__btn:hover { border-color: var(--gold-400); color: var(--gold-700); }
.chips__btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.list-toolbar__count { font-size: 13.5px; color: var(--ink-3); }
.list-toolbar__count b { color: var(--ink); font-weight: 700; }
.sorter { display: flex; align-items: center; gap: 16px; }
.sorter__btn { font-size: 13.5px; color: var(--ink-4); }
.sorter__btn:hover { color: var(--ink-2); }
.sorter__btn.is-on { color: var(--ink); font-weight: 700; }
.sorter__sep { width: 1px; height: 11px; background: var(--line); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 60px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 6px;
  border: 1px solid transparent; border-radius: var(--r-sm); font-size: 13.5px; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--line); color: var(--ink); }
.pagination .is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.pagination .nav { border-color: var(--line); }

/* --------------------------------------------------------------------------
   9. Product detail
   -------------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0,1fr) 440px; gap: 56px; padding: 34px 0 80px; align-items: start; }
.pdp__gallery { position: sticky; top: var(--sticky-top); }
.pdp__main { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-soft); aspect-ratio: 1/1; overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.pdp__thumb { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1; }
.pdp__thumb.is-on { border-color: var(--ink); }

.pdp__brand { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-700); }
.pdp__title { margin-top: 10px; font-size: 26px; font-weight: 700; line-height: 1.38; letter-spacing: -.035em; }
.pdp__sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.pdp__rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.pdp__rating .stars { color: var(--gold-500); letter-spacing: .06em; }
.pdp__rating b { color: var(--ink); }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pdp__rate { font-size: 28px; font-weight: 800; color: var(--sale); letter-spacing: -.04em; }
.pdp__cost { font-size: 30px; font-weight: 800; letter-spacing: -.045em; }
.pdp__cost .won { font-size: 19px; font-weight: 700; }
.pdp__origin { font-size: 15px; color: var(--ink-4); }

.pdp__info { margin-top: 22px; border-top: 1px solid var(--line-2); }
.pdp__info dl { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.pdp__info dt { flex: none; width: 84px; color: var(--ink-4); }
.pdp__info dd { color: var(--ink-2); }
.pdp__info .point { color: var(--gold-700); font-weight: 600; }

.opt-box { margin-top: 24px; }
.opt-selected { margin-top: 14px; padding: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); }
.opt-selected__name { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.opt-selected__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; height: 36px; }
.qty button { width: 34px; height: 100%; color: var(--ink-3); font-size: 15px; }
.qty button:hover { color: var(--ink); }
.qty input { width: 42px; height: 100%; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; font-size: 14px; font-weight: 600; }
.qty input:focus { outline: none; }
.opt-selected__price { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }

.pdp__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ink); }
.pdp__total-label { font-size: 14px; font-weight: 600; }
.pdp__total-price { font-size: 15px; color: var(--ink-3); }
.pdp__total-price strong { font-size: 30px; font-weight: 800; color: var(--sale); letter-spacing: -.045em; margin-right: 2px; }
.pdp__actions { display: grid; grid-template-columns: 52px 1fr 1.2fr; gap: 8px; margin-top: 18px; }
.pdp__wish { display: flex; align-items: center; justify-content: center; height: 54px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-3); background: #fff; }
.pdp__wish:hover, .pdp__wish.is-on { color: var(--sale); border-color: var(--gold-200); }
.pdp__wish.is-on svg path { fill: currentColor; }
.pdp__notice { margin-top: 16px; padding: 14px 16px; background: var(--gold-050); border: 1px solid var(--gold-200); border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.7; color: var(--gold-900); }

.pdp-tabs { position: sticky; top: var(--header-h); z-index: 40; display: flex; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 56px; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.pdp-tabs a.is-on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.pdp-tabs .n { font-size: 13px; color: var(--ink-4); }

.pdp-section { padding: 64px 0; border-bottom: 1px solid var(--line-2); }
.pdp-section__title { font-size: 20px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.pdp-detail { max-width: 860px; margin: 0 auto; text-align: center; }
.pdp-detail__lead { font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.pdp-detail__body { margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--ink-3); }
.pdp-detail__img { margin-top: 40px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-soft); }
.pdp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pdp-fact { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r-md); text-align: left; }
.pdp-fact__no { font-family: var(--ff-display); font-size: 13px; font-weight: 700; color: var(--gold-600); letter-spacing: .1em; }
.pdp-fact__title { margin-top: 8px; font-size: 16px; font-weight: 700; }
.pdp-fact__desc { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }

.table-spec { border-top: 1px solid var(--ink); font-size: 13.5px; }
.table-spec th, .table-spec td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table-spec th { width: 180px; background: var(--bg-soft); font-weight: 600; color: var(--ink-2); }
.table-spec td { color: var(--ink-3); }

.review-summary { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); margin-bottom: 30px; }
.review-score { text-align: center; }
.review-score__num { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.review-score__stars { color: var(--gold-500); letter-spacing: .1em; margin-top: 4px; }
.review-score__count { margin-top: 6px; font-size: 12.5px; color: var(--ink-4); }
.review-bars li { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.review-bars li + li { margin-top: 8px; }
.review-bars .label { flex: none; width: 34px; }
.review-bars .bar { flex: 1; height: 6px; background: var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.review-bars .bar i { display: block; height: 100%; background: var(--gold-500); }
.review-bars .pct { flex: none; width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

.review-item { padding: 24px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 96px 1fr; gap: 20px; }
.review-item__thumb { width: 96px; height: 96px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-soft); object-fit: cover; }
.review-item__head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-4); }
.review-item__stars { color: var(--gold-500); }
.review-item__opt { margin-top: 10px; display: inline-block; padding: 4px 8px; background: var(--bg-soft); border-radius: var(--r-xs); font-size: 12px; color: var(--ink-3); }
.review-item__text { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }

.qna-item { border-bottom: 1px solid var(--line-2); }
.qna-item__q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 4px; text-align: left; font-size: 14px; }
.qna-item__q .tag { flex: none; }
.qna-item__q .txt { flex: 1; color: var(--ink-2); }
.qna-item__q .meta { flex: none; font-size: 12.5px; color: var(--ink-4); }
.qna-item__a { display: none; gap: 14px; padding: 18px; margin-bottom: 18px; background: var(--bg-soft); border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.qna-item.is-open .qna-item__a { display: flex; }

/* --------------------------------------------------------------------------
   10. Cart / Order
   -------------------------------------------------------------------------- */
.steps { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 26px 0 0; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-4); }
.steps li::after { content: "›"; color: var(--line); margin-left: 4px; }
.steps li:last-child::after { content: none; }
.steps .n { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--line-2); color: var(--ink-4); font-size: 11.5px; font-weight: 700; }
.steps li.is-on { color: var(--ink); font-weight: 700; }
.steps li.is-on .n { background: var(--gold-600); color: #fff; }

.order-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 40px; align-items: start; padding: 30px 0 90px; }

.cart-table { border-top: 2px solid var(--ink); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.cart-head__actions { display: flex; gap: 12px; }
.cart-head__actions button:hover { color: var(--ink); text-decoration: underline; }
.cart-group { border-bottom: 1px solid var(--line-2); }
.cart-group__head { display: flex; align-items: center; gap: 8px; padding: 14px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); padding-left: 14px; }
.cart-item { display: grid; grid-template-columns: 24px 96px minmax(0,1fr) 120px 140px 24px; gap: 18px; align-items: center; padding: 22px 4px; }
.cart-item + .cart-item { border-top: 1px solid var(--line-2); }
.cart-item__thumb { width: 96px; height: 96px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-soft); object-fit: cover; }
.cart-item__brand { font-size: 12px; color: var(--gold-700); font-weight: 600; }
.cart-item__name { margin-top: 4px; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.cart-item__opt { margin-top: 7px; font-size: 12.5px; color: var(--ink-4); }
.cart-item__qty { display: flex; justify-content: center; }
.cart-item__price { text-align: right; }
.cart-item__price .now { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.cart-item__price .was { display: block; font-size: 12.5px; color: var(--ink-4); }
.cart-item__remove { align-self: start; justify-self: end; color: var(--ink-4); }
.cart-item__remove:hover { color: var(--ink); }
.cart-foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; }

.summary { position: sticky; top: var(--sticky-top); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.summary__title { padding: 18px 20px; border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 700; }
.summary__body { padding: 18px 20px; }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--ink-3); }
.summary__row + .summary__row { margin-top: 11px; }
.summary__row b { color: var(--ink-2); font-weight: 600; }
.summary__row.is-sale b { color: var(--sale); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.summary__total dt { font-size: 14px; font-weight: 700; }
.summary__total dd { font-size: 15px; color: var(--ink-3); }
.summary__total strong { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.summary__point { margin-top: 10px; padding: 9px 12px; background: var(--gold-050); border-radius: var(--r-xs); font-size: 12.5px; color: var(--gold-800); text-align: right; }
.summary__foot { padding: 0 20px 20px; }
.summary__note { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--ink-4); }

.order-block { margin-bottom: 40px; }
.order-block__title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.order-block__body { padding: 22px 0; }
.form-grid { display: grid; grid-template-columns: 120px 1fr; gap: 16px 20px; align-items: center; }
.form-grid__label { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.form-grid__label .req { color: var(--sale); }
.inline-fields { display: flex; gap: 8px; align-items: center; }

.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay-method {
  display: flex; align-items: center; justify-content: center; height: 52px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-size: 13.5px; color: var(--ink-2); cursor: pointer;
}
.pay-method:hover { border-color: var(--ink-4); }
.pay-method.is-on { border-color: var(--ink); border-width: 1.5px; font-weight: 700; }

.order-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.order-item__thumb { width: 68px; height: 68px; flex: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-soft); object-fit: cover; }
.order-item__name { font-size: 14px; font-weight: 500; line-height: 1.45; }
.order-item__meta { margin-top: 6px; font-size: 12.5px; color: var(--ink-4); }
.order-item__price { margin-top: 6px; font-size: 14px; font-weight: 700; }

/* Empty state */
.empty { padding: 90px 20px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); }
.empty__ico { color: var(--gold-300); }
.empty__title { margin-top: 18px; font-size: 17px; font-weight: 700; }
.empty__desc { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.empty__cta { margin-top: 22px; }

/* Order complete */
.complete { max-width: 720px; margin: 0 auto; padding: 70px 0 90px; text-align: center; }
.complete__ico { width: 72px; height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--gold-050); border: 1px solid var(--gold-200); border-radius: var(--r-pill); color: var(--gold-600); }
.complete__title { margin-top: 24px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.complete__desc { margin-top: 12px; font-size: 15px; color: var(--ink-3); line-height: 1.7; }
.complete__box { margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); text-align: left; }
.complete__cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }

/* --------------------------------------------------------------------------
   11. Auth
   -------------------------------------------------------------------------- */
.auth { max-width: 420px; margin: 0 auto; padding: 60px 0 100px; }
.auth--wide { max-width: 620px; }
.auth__head { text-align: center; margin-bottom: 34px; }
.auth__title { font-size: 26px; font-weight: 700; letter-spacing: -.04em; }
.auth__desc { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.auth__tabs { display: flex; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.auth__tab { flex: 1; height: 48px; font-size: 15px; color: var(--ink-4); }
.auth__tab.is-on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.auth__links { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.auth__links li + li { position: relative; }
.auth__links li + li::before { content: ""; position: absolute; left: -8px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: var(--line); }
.auth__divider { display: flex; align-items: center; gap: 14px; margin: 34px 0 22px; font-size: 12.5px; color: var(--ink-4); }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sns-login { display: grid; gap: 8px; }
.sns-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; }
.sns-btn--kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.sns-btn--naver { background: #03C75A; border-color: #03C75A; color: #fff; }
.join-benefit { margin-top: 28px; padding: 20px; background: var(--gold-050); border: 1px solid var(--gold-200); border-radius: var(--r-md); }
.join-benefit__title { font-size: 13.5px; font-weight: 700; color: var(--gold-800); }
.join-benefit ul { margin-top: 10px; display: grid; gap: 6px; font-size: 13px; color: var(--gold-900); }
.join-benefit li { display: flex; gap: 7px; }
.terms-box { max-height: 120px; overflow-y: auto; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   12. Mypage
   -------------------------------------------------------------------------- */
.my-profile { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--gold-050); }
.my-profile__avatar { width: 62px; height: 62px; flex: none; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--gold-200); border-radius: var(--r-pill); color: var(--gold-600); }
.my-profile__name { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.my-profile__name .grade { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 8px; background: var(--gold-600); color: #fff; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.my-profile__desc { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.my-stats { display: flex; margin-left: auto; }
.my-stat { min-width: 108px; text-align: center; padding: 0 10px; }
.my-stat + .my-stat { border-left: 1px solid var(--gold-200); }
.my-stat__label { font-size: 12.5px; color: var(--ink-3); }
.my-stat__value { margin-top: 5px; font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.my-stat__value small { font-size: 13px; font-weight: 600; margin-left: 1px; }

.my-status { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-md); }
.my-status__item { position: relative; padding: 24px 10px; text-align: center; }
.my-status__item + .my-status__item::before { content: "›"; position: absolute; left: -6px; top: 50%; transform: translateY(-50%); color: var(--line); font-size: 15px; }
.my-status__num { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.my-status__num.is-zero { color: var(--ink-4); }
.my-status__label { margin-top: 5px; font-size: 13px; color: var(--ink-3); }

/* 리워드 지급 내역 (마이페이지 > 혜택 관리 > 포인트 내역) */
.reward-sum {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; margin-bottom: 18px;
  border: 1px solid var(--gold-200); border-radius: var(--r-md); background: var(--gold-050);
}
.reward-sum__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.reward-sum__value { font-size: 15px; color: var(--gold-700); font-weight: 600; }
.reward-sum__value b { font-size: 24px; font-weight: 800; letter-spacing: -.04em; margin-right: 2px; }

.rwd { width: 100%; border-top: 1px solid var(--ink); border-collapse: collapse; font-size: 13.5px; }
.rwd th {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft); font-weight: 600; color: var(--ink-2); text-align: left; white-space: nowrap;
}
.rwd td { padding: 15px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.rwd__date { color: var(--ink-3); white-space: nowrap; }
.rwd__type {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border: 1px solid var(--gold-200); border-radius: var(--r-xs);
  background: var(--gold-050); color: var(--gold-700); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.rwd__desc { color: var(--ink-3); }
.rwd__amt { text-align: right; font-weight: 700; color: var(--gold-700); white-space: nowrap; }
.rwd__note { margin-top: 14px; font-size: 12.5px; color: var(--ink-4); }

@media (max-width: 768px) {
  .reward-sum { padding: 16px 18px; }
  .reward-sum__value b { font-size: 20px; }
  .rwd { display: block; overflow-x: auto; white-space: nowrap; }
}

.my-order { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.my-order + .my-order { margin-top: 14px; }
.my-order__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); font-size: 13px; }
.my-order__no { color: var(--ink-3); }
.my-order__no b { color: var(--ink); font-weight: 700; }
.my-order__body { padding: 6px 18px 18px; }
.my-order__state { font-size: 13.5px; font-weight: 700; color: var(--gold-700); }

/* --------------------------------------------------------------------------
   13. Support
   -------------------------------------------------------------------------- */
.support-hero { padding: 46px 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.support-search { max-width: 560px; margin: 22px auto 0; display: flex; height: 52px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: #fff; padding: 0 6px 0 16px; align-items: center; }
.support-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-align: center; }
.support-card:hover { border-color: var(--gold-300); background: var(--gold-050); }
.support-card__ico { color: var(--gold-600); }
.support-card__title { margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.support-card__desc { margin-top: 5px; font-size: 12.5px; color: var(--ink-4); }

.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item__q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 4px; text-align: left; font-size: 15px; }
.faq-item__q .q { flex: none; font-family: var(--ff-display); font-size: 17px; font-weight: 700; color: var(--gold-600); }
.faq-item__q .txt { flex: 1; }
.faq-item__q .arw { flex: none; color: var(--ink-4); transition: transform .2s; }
.faq-item.is-open .faq-item__q .arw { transform: rotate(180deg); }
.faq-item__a { display: none; padding: 4px 4px 22px 40px; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.faq-item.is-open .faq-item__a { display: block; }

.notice-list { border-top: 1px solid var(--ink); }
.notice-list li { display: flex; align-items: center; gap: 16px; padding: 17px 6px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.notice-list .tag { flex: none; }
.notice-list .txt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-list .date { flex: none; font-size: 12.5px; color: var(--ink-4); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer { margin-top: 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 32px; padding: 52px 0 44px; }
.footer__brand .logo { margin-bottom: 16px; }
.footer__slogan { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
.footer__sns { display: flex; gap: 8px; margin-top: 18px; }
.footer__sns a { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-3); background: #fff; }
.footer__sns a:hover { color: var(--gold-700); border-color: var(--gold-300); }
.footer__title { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.footer__links li + li { margin-top: 9px; }
.footer__links a { font-size: 13px; color: var(--ink-3); }
.footer__links a:hover { color: var(--gold-700); }
.footer__cs-num { font-family: var(--ff-display); font-size: 30px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.footer__cs-time { margin-top: 8px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.footer__cs-btns { display: flex; gap: 6px; margin-top: 14px; }
.footer__bottom { padding: 22px 0 44px; border-top: 1px solid var(--line); }
.footer__policy { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; }
.footer__policy a { color: var(--ink-2); }
.footer__policy a.em { font-weight: 700; }
.footer__policy a:hover { color: var(--gold-700); }
.footer__biz { margin-top: 16px; font-size: 12px; line-height: 1.9; color: var(--ink-4); }
.footer__biz span { display: inline-block; margin-right: 14px; }
.footer__copy { margin-top: 14px; font-size: 12px; color: var(--ink-4); letter-spacing: .02em; }
.footer__disclaimer { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 11.5px; line-height: 1.7; color: var(--ink-4); }

/* --------------------------------------------------------------------------
   15. Floating / mobile nav
   -------------------------------------------------------------------------- */
.quick { position: fixed; right: 24px; bottom: 30px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.quick__btn {
  width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-1);
  font-size: 9px; color: var(--ink-3);
}
.quick__btn:hover { border-color: var(--gold-300); color: var(--gold-700); }
.quick__btn--kakao { background: #FEE500; border-color: #F3DC00; color: #191600; }
.quick__btn--top { background: var(--ink); border-color: var(--ink); color: #fff; }

.mobile-tab { display: none; }
.drawer-dim { position: fixed; inset: 0; background: rgba(23,21,15,.45); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .25s; }
.drawer-dim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 84vw; z-index: 120;
  background: #fff; transform: translateX(-100%); transition: transform .28s cubic-bezier(.3,.7,.3,1);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 40px; }
.drawer__group + .drawer__group { border-top: 8px solid var(--bg-soft); }
.drawer__title { padding: 16px 18px 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold-700); }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: 14.5px; color: var(--ink-2); }
.drawer__list a:hover { background: var(--bg-soft); }
.drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .catnav__list { grid-template-columns: repeat(5, 1fr); }
  .mega__inner { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1080px) {
  .layout-side { grid-template-columns: 1fr; gap: 24px; }
  .side-nav { position: static; }
  .side-nav__list { display: flex; flex-wrap: wrap; gap: 8px; }
  .side-nav__list > li > a { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; }
  .side-nav__count { display: none; }
  .side-box { display: none; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .pdp__gallery { position: static; }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .prd-grid--5 { grid-template-columns: repeat(4, 1fr); }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  body { font-size: 14px; }
  .section { padding: 44px 0; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 34px 20px 76px; gap: 26px; }
  .hero__visual { max-width: 320px; margin: 0 auto; }
  .hero__title { font-size: 30px; }
  .hero__desc { font-size: 14.5px; }
  .sec-head__title { font-size: 21px; }
  .promo-grid { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: repeat(2, 1fr); }
  .benefit__item:nth-child(3) { border-left: 0; }
  .benefit__item:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .review-grid { grid-template-columns: 1fr; }
  .pdp-facts { grid-template-columns: 1fr; }
  .review-summary { grid-template-columns: 1fr; gap: 24px; }
  .my-profile { flex-direction: column; align-items: flex-start; gap: 18px; }
  .my-stats { margin-left: 0; width: 100%; }
  .my-stat { flex: 1; min-width: 0; }
  .my-status { grid-template-columns: repeat(3, 1fr); }
  .my-status__item:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .support-cards { grid-template-columns: repeat(2, 1fr); }
  .pay-methods { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 8px 0; }
  .form-grid__label { margin-top: 10px; }
  .cart-item { grid-template-columns: 20px 74px minmax(0,1fr) 24px; gap: 12px; }
  .cart-item__thumb { width: 74px; height: 74px; }
  .cart-item__qty { grid-column: 2 / -1; justify-content: flex-start; }
  .cart-item__price { grid-column: 2 / -1; text-align: left; }
  .table-spec th { width: 110px; padding: 12px; }
  .table-spec td { padding: 12px; }
  .complete { padding: 46px 0 60px; }
  .complete__title { font-size: 22px; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .utility, .header__main, .gnb { display: none; }
  .header__mobile { display: block; }
  .header__mobile-bar { display: flex; align-items: center; gap: 4px; height: 54px; }
  .header__mobile-bar .logo__name { font-size: 21px; }
  .header__mobile-bar .logo__sub { font-size: 8px; letter-spacing: .28em; }
  .header__mobile-search { padding-bottom: 12px; }
  .header__mobile-search .search { max-width: none; }
  .header__mobile-search .search__form { height: 40px; }
  .m-gnb { display: flex; gap: 18px; overflow-x: auto; padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .m-gnb::-webkit-scrollbar { display: none; }
  .m-gnb a { white-space: nowrap; font-size: 14px; color: var(--ink-3); padding-bottom: 2px; }
  .m-gnb a.is-active { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); }

  .quick { display: none; }
  .mobile-tab {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-tab a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 10.5px; color: var(--ink-4); position: relative; }
  .mobile-tab a.is-on { color: var(--gold-700); }
  body { padding-bottom: 62px; }

  .prd-grid, .prd-grid--5, .prd-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .card__name { font-size: 13.5px; min-height: 39px; }
  .card__cost { font-size: 16px; }
  .catnav__list { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 18px 0; }
  .catnav__ico { width: 46px; height: 46px; }
  .catnav__label { font-size: 11.5px; }
  .brand-list { grid-template-columns: repeat(3, 1fr); }
  .support-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 26px; padding: 36px 0 28px; }
  .footer__cs { grid-column: 1 / -1; }
  .pdp__actions { grid-template-columns: 52px 1fr; }
  .pdp__actions .btn--dark { grid-column: 1 / -1; }
  .pdp-tabs { position: static; }
  .pdp-tabs a { height: 48px; font-size: 13.5px; }
  .pdp__title { font-size: 20px; }
  .pdp__cost { font-size: 25px; }
  .pdp__thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .review-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .review-item__thumb { width: 72px; height: 72px; }
  .page-head__title { font-size: 22px; }
  .my-status { grid-template-columns: repeat(3, 1fr); }
  .steps li { font-size: 12px; }
  .steps .n { width: 20px; height: 20px; }
  .list-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .promo { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .promo__img { width: 96px; align-self: flex-end; margin-top: -20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 25px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .benefit { grid-template-columns: 1fr; }
  .benefit__item + .benefit__item { border-left: 0; border-top: 1px solid var(--line-2); }
  .support-cards { grid-template-columns: 1fr; }
  .my-stat__value { font-size: 18px; }
}

/* Print-safe */
@media print { .header, .footer, .quick, .mobile-tab { display: none; } }

/* --------------------------------------------------------------------------
   구매 확정 (마이페이지 주문 · 배송 조회) — 신규 추가 블록
   기존 선택자는 변경하지 않고 새 클래스만 정의한다.
   -------------------------------------------------------------------------- */
.confirm-guide {
  margin-top: 20px; padding: 18px 20px;
  border: 1px solid var(--gold-300); border-radius: var(--r-md);
  background: var(--gold-050);
}
.confirm-guide__title {
  display: flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700; color: var(--gold-800); letter-spacing: -.02em;
}
.confirm-guide__list { margin-top: 10px; }
.confirm-guide__list li {
  position: relative; padding-left: 13px; margin-top: 6px;
  font-size: 13px; line-height: 1.65; color: var(--ink-2);
}
.confirm-guide__list li::before {
  content: "*"; position: absolute; left: 0; top: 1px; color: var(--gold-600); font-weight: 700;
}
.confirm-guide__list b { font-weight: 700; color: var(--sale); }

/* 주문 상태 라벨 색상 변형 */
.my-order__state--claim { color: var(--sale); }
.my-order__state--done { color: var(--ok); }
.my-order__state--confirmed { color: var(--ink-3); }

/* 주문 카드 하단 — 구매 확정 영역 */
.my-order__foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-top: 1px solid var(--line-2); background: var(--bg-soft);
}
.my-order__hint { flex: 1; min-width: 200px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.my-order__hint b { color: var(--ink); font-weight: 700; }
.my-order__hint.is-block { color: var(--sale); }
.my-order__foot .btn { flex: none; min-width: 118px; }

@media (max-width: 768px) {
  .my-order__foot { flex-direction: column; align-items: stretch; }
  .my-order__foot .btn { width: 100%; }
}

/* Policy (이용약관 · 개인정보처리방침 · 청약철회 · 포인트 운영정책) */
.policy__tabs { margin: 26px 0 0; overflow-x: auto; scrollbar-width: none; }
.policy__tabs .tabs__btn { display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap; }
.policy { max-width: 860px; padding: 34px 0 100px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); word-break: keep-all; }
.policy__title { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.policy__date { margin: 6px 0 30px; font-size: 13px; color: var(--ink-4); }
.policy h2:not(.policy__title) { margin: 36px 0 10px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.policy h3 { margin: 20px 0 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.policy p { margin: 0 0 8px; }
.policy ul, .policy ol { margin: 0 0 10px; padding-left: 22px; }
.policy ul { list-style: disc; }
.policy ol { list-style: decimal; }
.policy ol ol { list-style: lower-alpha; margin: 4px 0 4px; }
.policy li { margin: 2px 0; }
.policy__table { margin: 10px 0 14px; overflow-x: auto; }
.policy__table table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 13.5px; }
.policy__table th, .policy__table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.policy__table th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.policy__todo { padding: 0 3px; background: var(--gold-100); color: var(--gold-800); border-radius: 2px; }
@media (max-width: 768px) {
  .policy { padding: 24px 0 70px; font-size: 14px; }
  .policy__table th, .policy__table td { padding: 9px 10px; }
}

/* 서버 연동: 0개일 때 배지 숨김 */
.hutil__count[hidden] { display: none; }

/* 모바일 가로 넘침 방지 — 그리드 자식이 내용 폭 아래로 줄지 못해 페이지가 넓어지던 문제 */
.layout-side > * { min-width: 0; }
@media (max-width: 768px) {
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex-shrink: 0; white-space: nowrap; }
  .tabs__btn.is-on::after { bottom: 0; }
}
