/* ===== 색·글꼴 — 여기만 바꾸면 전체 분위기가 바뀝니다 ===== */
:root {
  --bg: #FFFBF3;            /* 페이지 바탕 — 바닐라 밀크 */
  --bg-header: #FFFBF3;     /* 헤더·푸터 바탕 */
  --text: #000;
  --menu: #0A0606;          /* 헤더 메뉴 글자 */
  --fill: #F9EBE2;          /* 바닐라 핑크 면 — 버튼에 마우스를 올렸을 때·선택된 면 */
  --point: #C48A86;         /* 바닐라 핑크 — 버튼·선·할인가 */
  --point-deep: #8C5A55;    /* 진한 글자색 — 면 위 글자, 관리자 링크 */
  --line: #E2C5BC;          /* 입력칸·수량 버튼 테두리 */
  --logo: #D6A9A1;          /* 로고 */
  --menu-on: #C48A86;       /* 메뉴에 마우스를 올렸을 때·현재 메뉴 */
  --footer-text: #F0EDE9;   /* 푸터 글자 (원본처럼 아주 옅게) */
  --faint: #dcdcdc;         /* 현재가 아닌 페이지 번호 */
  --soft-line: #F0E4DC;
  --gutter: clamp(20px, 4vw, 64px);   /* 좌우 여백: 화면 폭의 4% (alohamood 36px 보다 조금 넓게) */
  --font-menu: 'Ovo', Georgia, serif;
  --font-logo: Georgia, serif;
  --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
.hidden { display: none !important; }
/* 화면에는 안 보이지만 검색엔진·화면 낭독기가 읽는 제목 */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.sale { color: var(--point); }

/* ===== 헤더 ===== */
.site-header { position: relative; z-index: 40; background: var(--bg-header); }
.hd-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 80px var(--gutter) 30px;
}
.hd-menu, .hd-util {
  display: flex;
  align-items: center;
  gap: 31px;
  font-family: var(--font-menu);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .15em;
  color: var(--menu);
}
.hd-menu { justify-self: start; }
.hd-util { justify-self: end; }
.hd-menu a, .hd-util a { transition: color .15s; }
.hd-menu a:hover, .hd-menu a.on, .hd-util a:hover { color: var(--menu-on); }
.hd-logo {
  padding-left: .15em;
  font-family: var(--font-logo);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .15em;
  color: var(--logo);
}
.hd-burger, .hd-bag { display: none; }

/* 모바일 메뉴 */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mmenu.open { opacity: 1; visibility: visible; }
.mmenu-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(78vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 72px 28px 30px;
  background: var(--bg-header);
  font-family: var(--font-menu);
  font-size: 14px;
  letter-spacing: .05em;
  transform: translateX(-100%);
  transition: transform .3s;
}
.mmenu.open .mmenu-panel { transform: none; }
.mmenu-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; padding: 6px; }
.mmenu-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--soft-line);
  font-size: 12px;
  letter-spacing: .15em;
}

/* ===== 버튼·입력칸 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--point);
  border-radius: 50px;
  background: transparent;
  color: var(--point);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .05em;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--fill); color: var(--point-deep); }
.btn.outline { opacity: .5; }
.btn.sm { min-height: 45px; padding: 12px 20px; }
.btn.xs { min-height: 0; padding: 4px 14px; font-size: 12px; }
.btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--point); }

.input, .textarea {
  display: block;
  width: 100%;
  height: 45px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.textarea { height: auto; min-height: 110px; resize: vertical; line-height: 1.7; }
.input:focus, .textarea:focus { box-shadow: inset 0 0 0 1px var(--point); }
.input[readonly] { color: #777; }
.field { margin-top: 18px; }
.field > label { display: block; margin-bottom: 8px; font-size: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check a { color: #888; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.hint { margin-top: 8px; font-size: 12px; color: #888; }

/* 수량 버튼 */
.stepper { display: inline-flex; height: 37px; border: 1px solid var(--line); }
.stepper button { display: flex; align-items: center; justify-content: center; width: 36px; color: var(--line); }
.stepper button svg { width: 11px; height: 11px; }
.stepper input {
  width: 38px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  text-align: center;
  outline: 0;
}

/* 말풍선 (ⓘ) */
.tip { position: relative; display: inline-flex; width: 13px; height: 13px; vertical-align: middle; cursor: pointer; outline: 0; }
.tip > svg { width: 13px; height: 13px; }
.tip-box {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 10;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  color: #222;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  transform: translateX(-50%);
}
.tip:hover .tip-box, .tip:focus .tip-box { display: block; }

/* 페이지 번호 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 66px; font-size: 13px; }
.pagination a { min-width: 8px; color: var(--faint); text-align: center; transition: color .15s; }
.pagination a.now, .pagination a:hover { color: var(--point); }

/* 공통 페이지 */
.page { padding: 60px var(--gutter) 0; }
.page-title { font-size: 12px; font-weight: 400; letter-spacing: .05em; }
.nf { padding-top: 140px; text-align: center; }
.nf-btn { margin-top: 30px; }

/* ===== SHOP ===== */
.shop { padding: 28px var(--gutter) 0; }
.filter { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 94px; font-size: 11px; letter-spacing: .09em; }
.filter a { transition: color .15s; }
.filter a:hover { color: var(--point); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.card { display: block; }
.thumb { position: relative; aspect-ratio: var(--thumb-ratio, 3 / 4); overflow: hidden; background: var(--bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 31px;
  padding: 0 10px;
  background: #fff;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
}
.card-name, .card-desc, .card-price { text-align: center; letter-spacing: 0; line-height: 1.5; }
.card-name { margin-top: 13px; font-size: 11px; }
.card-desc { margin: 4px 0 1px; font-size: 11px; }
.card-price { margin-top: 5px; font-size: 10px; }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; }

/* ===== 상품 상세 ===== */
.detail { padding: 72px var(--gutter) 0; }
.top-info { display: grid; grid-template-columns: 55% 35%; justify-content: space-between; align-items: start; }
.main-img { aspect-ratio: var(--thumb-ratio, 3 / 4); overflow: hidden; background: var(--bg); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: var(--thumb-ratio, 3 / 4); overflow: hidden; opacity: .45; transition: opacity .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.d-name { font-size: 13px; font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.d-price { display: flex; align-items: center; gap: 5px; margin-top: 58px; font-size: 13px; letter-spacing: 0; }
.d-meta { margin-top: 58px; font-size: 13px; line-height: 1.5; }
.d-meta > div { display: flex; }
.d-meta > div + div { margin-top: 16px; }
.d-meta dt { flex: none; width: 94px; font-weight: 700; }
.d-meta dd .tip { margin-left: 3px; }

.opt-area, .qty-area { margin-top: 58px; }
.opt-group + .opt-group { margin-top: 22px; }
.opt-label { margin-bottom: 10px; font-size: 13px; }
.cselect { position: relative; display: inline-block; }
.cselect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}
.cselect-btn svg { width: 8px; height: 5px; }
.cselect-list {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 20;
  min-width: 250px;
  padding: 4px 0;
  background: var(--bg);
  border: 1px solid var(--line);
}
.cselect.open .cselect-list { display: block; }
.cselect-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 15px;
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
.cselect-list li:hover { background: rgba(249, 235, 226, .55); }
.cselect-list li.off { color: #bbb; cursor: default; background: none; }

.picked-wrap { margin-top: 60px; border-top: 1px solid var(--point); }
.picked:not(:empty) { padding: 66px 0 60px; border-bottom: 1px solid var(--point); }
.pick + .pick { margin-top: 32px; }
.pick-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.3; }
.pick-x { flex: none; width: 14px; height: 14px; padding: 1px; }
.pick-x svg { width: 12px; height: 12px; }
.pick-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.pick-price { font-size: 14px; }
.summary { margin-top: 66px; font-size: 14px; }
.summary > div { display: flex; justify-content: space-between; align-items: center; }
.summary > div + div { margin-top: 17px; }
.summary .t { font-size: 13px; font-weight: 700; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 66px; }
.soldout-msg { margin-top: 58px; font-size: 13px; color: #999; }

.bottom-info { margin-top: 150px; padding: 0 39px; }
.desc, .notice { font-size: 14px; line-height: 1.8; letter-spacing: .05em; }
.desc-en { margin-top: 36px; font-size: 13px; line-height: 1.8; color: #666; letter-spacing: 0; }
.desc-imgs img { width: 100%; max-width: 900px; margin-top: 40px; }
.notice { margin-top: 80px; }

/* ===== 장바구니 ===== */
.cart { padding-top: 80px; }
.cart-empty { padding: 150px 0 120px; text-align: center; font-size: 14px; }
.cart-table { width: 100%; margin-top: 55px; border-collapse: collapse; font-size: 14px; }
.cart-table th { padding: 0 6px 16px; font-weight: 400; text-align: center; border-bottom: 1px solid var(--point); }
.cart-table th.c-info { text-align: left; padding-left: 0; }
.cart-table td { padding: 20px 6px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--point); }
.cart-table td.c-info { padding-left: 0; }
.c-info-in { display: flex; align-items: center; gap: 15px; text-align: left; }
.c-thumb { flex: none; width: 43px; aspect-ratio: var(--thumb-ratio, 3 / 4); overflow: hidden; }
.c-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-opt { margin-top: 4px; font-size: 12px; color: #777; }
.c-qty { width: 150px; }
.c-price { width: 130px; }
.c-del { width: 100px; }
.c-ship { width: 190px; line-height: 1.45; }
.c-ship .tip { margin-left: 2px; }
.cart-total { width: 50%; margin: 10px 0 0 auto; }
.cart-total .r, .co-sum .r { display: grid; grid-template-columns: 1fr 196px; padding: 11px 0; font-size: 14px; text-align: right; }
.cart-total .r.sum { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--point); font-size: 15px; font-weight: 700; }
.cart-buy { display: flex; justify-content: flex-end; margin-top: 50px; }
.cart-buy .btn { width: 160px; }

/* ===== 주문서·주문 상세·마이페이지 ===== */
.checkout, .order, .mypage { max-width: 760px; margin: 0 auto; }
.co-guest { margin-top: 24px; font-size: 13px; color: #666; }
.co-guest a { color: var(--point); text-decoration: underline; text-underline-offset: 3px; }
.co-sec { margin-top: 56px; }
.co-sec > h3 { padding-bottom: 14px; border-bottom: 1px solid var(--point); font-size: 14px; font-weight: 700; }
.co-items li { display: flex; align-items: center; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--soft-line); font-size: 14px; }
.co-item-name { flex: 1; min-width: 0; }
.co-item-qty { width: 50px; text-align: center; }
.co-item-price { width: 100px; text-align: right; }
.co-same { margin-top: 18px; }
.zip-row { display: flex; gap: 8px; }
.zip-row .input { width: 160px; }
.mt8 { margin-top: 8px; }
.pt-row { display: flex; gap: 8px; margin-top: 18px; }
.pt-row .input { width: 200px; }
.pay-row { margin-top: 18px; }
.bank-box { margin-top: 12px; padding: 14px 16px; background: rgba(249, 235, 226, .5); font-size: 13px; }
.pay-guide p { margin: 4px 0; }
.co-sec > .pay-guide { padding: 14px 16px; background: rgba(249, 235, 226, .5); font-size: 13px; }
.pay-guide .hint { color: var(--point-deep); }
.co-sum { margin-top: 10px; }
.co-sum .r { grid-template-columns: 1fr auto; text-align: left; }
.co-sum .r > span:last-child { text-align: right; }
.co-sum .r.sum { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--point); font-size: 15px; font-weight: 700; }
.co-sum .r.small { padding-top: 4px; font-size: 12px; color: #888; }
.co-agree { margin-top: 40px; }
.co-submit { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.co-submit .btn { min-width: 200px; }
.kv > div { display: flex; padding: 11px 0; border-bottom: 1px solid var(--soft-line); font-size: 14px; }
.kv dt { flex: none; width: 120px; color: #666; }
.kv dd { min-width: 0; word-break: break-all; }
.order-done { margin-top: 40px; padding: 40px 20px; border: 1px solid var(--point); text-align: center; font-size: 14px; line-height: 1.9; }
.order-done .big { margin-bottom: 8px; font-size: 16px; }
.my-hello { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 24px; border: 1px solid var(--point); font-size: 14px; }
.none { padding: 30px 0; text-align: center; color: #888; font-size: 13px; }
.my-logout { margin-top: 50px; }

/* ===== 로그인·회원가입 ===== */
.auth { max-width: calc(400px + var(--gutter) * 2); margin: 0 auto; padding-top: 118px; }
.auth .page-title { margin-bottom: 38px; }
.auth form > .field:first-child { margin-top: 0; }
.auth-links { display: flex; justify-content: center; gap: 26px; margin-top: 22px; font-size: 14px; }
.auth-links a:hover { color: var(--point); }
.auth-btns { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 58px; }
.auth-btns .btn { width: 240px; }
.agree-box { display: grid; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--soft-line); }
.agree-box .check { font-size: 13px; }

/* ===== 소개 ===== */
.about { padding-top: 168px; text-align: center; }
.about-text { font-size: 12px; line-height: 1.8; }
.about-text p:empty { height: 1.8em; }
.about-quote { margin: 0 auto 56px; font-size: 11.5px; line-height: 1.9; color: #8a7f7a; }
.about-quote figcaption { margin-top: 12px; font-size: 11px; color: #a89d98; }   /* 빈 줄 = 문단 사이 간격 */
.about-en { max-width: 520px; margin: 22px auto 0; font-size: 11px; line-height: 1.8; color: #888; letter-spacing: 0; }
.about-imgs { display: flex; flex-direction: column; align-items: center; gap: 32px; margin-top: 30px; }
.about-imgs img { width: min(65%, 720px); }
.about .btn.xs { margin-top: 110px; }

/* ===== 약관 ===== */
.doc { max-width: calc(760px + var(--gutter) * 2); margin: 0 auto; }
.doc-body { margin-top: 40px; font-size: 13px; line-height: 1.9; }
.doc-body p + p { margin-top: 16px; }

/* ===== Q&A ===== */
.qna { padding-top: 30px; }
.board { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.board th { height: 44px; font-weight: 400; border-bottom: 1px solid var(--point); }
.board td {
  height: 60px;
  padding: 0 5px;
  border-bottom: 1px solid var(--point);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board .b-no { width: 70px; }
.board .b-author { width: 110px; }
.board .b-date { width: 150px; }
.board td.b-title { padding-left: 12px; text-align: left; }
.b-title a { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.b-title a .t { overflow: hidden; text-overflow: ellipsis; }
.b-title a:hover .t { color: var(--point); }
.b-meta-m { display: none; }
.b-empty { color: #888; }
.is-notice .b-no { font-size: 12px; color: var(--point); }
.lock { display: inline-flex; flex: none; width: 10px; height: 12px; }
.lock svg { width: 100%; height: 100%; }
.board-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.board-search { display: flex; gap: 8px; }
.board-search .input { width: 220px; }

/* 주문 내역 표 (Q&A 표 모양을 그대로 씀) */
.orders td { height: 56px; font-size: 13px; }
.orders .o-date { width: 100px; }
.orders .o-no { width: 160px; }
.orders .o-total { width: 110px; }
.orders .o-status { width: 120px; }
.orders td.o-no a { color: var(--point); }
.status-sel { height: 32px; padding: 0 6px; border: 1px solid var(--line); background: transparent; font-size: 12px; }

/* 글쓰기 */
.write { max-width: calc(768px + var(--gutter) * 2); margin: 0 auto; padding-top: 70px; }
.write form > .field:first-child { margin-top: 0; }
.write-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.editor { margin-top: 24px; border-top: 1px solid var(--point); border-bottom: 1px solid var(--point); }
.editor-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 10px 30px; border-bottom: 1px solid var(--point); }
.editor-tools button { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 3px; color: #555; font-size: 13px; letter-spacing: 0; }
.editor-tools button:hover { background: rgba(0, 0, 0, .05); }
.editor-tools button svg { width: 15px; height: 15px; }
.editor-tools .sep { width: 1px; height: 16px; margin: 0 6px; background: #ddd; }
.editor-body { min-height: 380px; padding: 30px 34px; font-size: 15px; line-height: 1.9; outline: 0; word-break: break-word; }
.editor-body img, .post-body img { max-width: 100%; height: auto; margin: 10px 0; }
.editor-body blockquote, .post-body blockquote { margin: 8px 0; padding-left: 14px; border-left: 2px solid var(--point); color: #555; }
.editor-body ul, .post-body ul { list-style: disc; padding-left: 22px; }
.editor-body ol, .post-body ol { list-style: decimal; padding-left: 22px; }
.editor-body a, .post-body a { color: var(--point); text-decoration: underline; }
.write-actions { display: flex; justify-content: space-between; margin-top: 30px; }
.write-actions .btn { min-width: 128px; }

/* 글 보기 */
.post { max-width: calc(900px + var(--gutter) * 2); margin: 0 auto; }
.post-head { padding-bottom: 20px; border-bottom: 1px solid var(--point); }
.post-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; }
.post-meta { margin-top: 10px; font-size: 12px; color: #888; }
.post-body { padding: 40px 0 60px; border-bottom: 1px solid var(--point); font-size: 14px; line-height: 1.9; word-break: break-word; }
.post-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 24px; }
.post-actions > div { display: flex; gap: 8px; }
.pw-box { margin-top: 24px; padding: 24px; border: 1px solid var(--point); font-size: 13px; }
.gate-form { display: flex; gap: 8px; max-width: 360px; margin-top: 12px; }
.post-gate { max-width: 420px; margin: 0 auto; padding-top: 110px; text-align: center; }
.post-gate .gate-form { margin: 24px auto 0; }
.gate-msg { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.gate-sub { margin-top: 10px; font-size: 13px; color: #888; }
.gate-login { margin-top: 24px; }
.gate-back { margin-top: 40px; }
.comments { margin-top: 50px; }
.cm-title { padding-bottom: 12px; border-bottom: 1px solid var(--soft-line); font-size: 13px; font-weight: 700; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--soft-line); }
.comment-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #888; }
.comment-head b { margin-right: 10px; color: #000; font-weight: 700; }
.comment.admin .comment-head b { color: var(--point); }
.comment-head button { font-size: 12px; color: #aaa; }
.comment-head button:hover { color: #000; }
.comment-body { margin-top: 8px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.comment-form { display: grid; gap: 8px; margin-top: 24px; }
.comment-form .row-2 { gap: 8px; }
.comment-submit { display: flex; justify-content: flex-end; }

/* ===== 푸터 ===== */
.site-footer {
  margin-top: 50px;
  padding: 30px var(--gutter) 34px;
  background: var(--bg-header);
  color: var(--footer-text);
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
}
.f-insta { display: inline-flex; width: 20px; height: 20px; }
.f-insta svg { width: 20px; height: 20px; }
.f-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 15px; line-height: 1; }
.f-info { margin-top: 22px; line-height: 24px; }
.f-copy { margin-top: 16px; line-height: 24px; }

/* ===== 맨 위로·알림·창 ===== */
.top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #fff;
  color: var(--point);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.top-btn.show { opacity: 1; visibility: visible; }
.top-btn svg { width: 20px; height: 20px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 13px 22px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .3);
}
.modal.show { display: flex; }
.modal-box { width: 100%; max-width: 380px; padding: 40px 30px 30px; background: var(--bg); text-align: center; font-size: 14px; }
.modal-box .input { margin-top: 18px; }
.modal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.modal-actions .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
.modal-box.wide { position: relative; max-width: 520px; height: min(560px, 80vh); padding: 44px 0 0; }
.pc-box { width: 100%; height: 100%; }
.pc-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 5px; }

/* ===== 모바일 ===== */
@media (max-width: 768px) {
  .site-header { position: sticky; top: 0; }
  .hd-row { height: 56px; padding: 0 var(--gutter); }
  .hd-menu, .hd-util { display: none; }
  .hd-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; justify-self: start; width: 24px; height: 40px; }
  .hd-burger span { display: block; height: 1px; background: var(--menu); }
  .hd-bag { display: flex; align-items: center; gap: 3px; justify-self: end; font-size: 11px; letter-spacing: 0; }
  .hd-bag svg { width: 20px; height: 20px; }

  .page { padding-top: 40px; }
  .shop { padding-top: 24px; }
  .filter { margin-bottom: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 15px; }
  .card-name, .card-desc { font-size: 12px; }
  .card-price { font-size: 11px; }
  .pagination { margin-top: 50px; }

  .detail { padding-top: 0; }
  .top-info { grid-template-columns: 1fr; gap: 36px; }
  .gallery { margin: 0 calc(var(--gutter) * -1); }
  .thumbs { padding: 0 var(--gutter); }
  .d-price, .d-meta, .opt-area, .qty-area, .soldout-msg { margin-top: 30px; }
  .picked-wrap { margin-top: 36px; }
  .picked:not(:empty) { padding: 36px 0; }
  .summary, .actions { margin-top: 36px; }
  .bottom-info { margin-top: 80px; padding: 0; }

  .cart { padding-top: 40px; }
  .cart-table { margin-top: 30px; }
  .cart-table thead tr { display: block; }
  .cart-table thead th { display: block; border-bottom: 1px solid var(--point); }
  .cart-table thead th:not(.c-info) { display: none; }
  .cart-table tbody, .cart-table td { display: block; }
  .cart-table tbody tr { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--point); }
  .cart-table td { width: auto; padding: 0; border: 0; text-align: left; }
  .cart-table td.c-info { grid-column: 1 / -1; padding-right: 64px; }
  .cart-table td.c-price { text-align: right; }
  .cart-table td.c-del { position: absolute; top: 18px; right: 0; font-size: 12px; color: #888; }
  .cart-table td.c-ship { display: none; }
  .cart-total { width: 100%; }
  .cart-total .r { grid-template-columns: 1fr auto; }
  .cart-total .r > span:first-child { text-align: left; }
  .cart-buy .btn { width: 100%; }

  .row-2 { grid-template-columns: 1fr; }
  .co-items li { flex-wrap: wrap; }
  .co-item-name { flex-basis: calc(100% - 60px); }
  .co-item-qty { width: auto; margin-left: 58px; }
  .co-item-price { flex: 1; }
  .co-submit .btn { width: 100%; }
  .kv dt { width: 90px; }

  .auth { padding-top: 50px; }
  .auth-btns .btn { width: 100%; }
  .about { padding-top: 70px; }
  .about-imgs img { width: 100%; }
  .about .btn.xs { margin-top: 70px; }

  .board .b-no, .board .b-author, .board .b-date { display: none; }
  .board td.b-title { padding: 14px 0; height: auto; }
  .b-meta-m { display: block; margin-top: 4px; font-size: 11px; color: #999; }
  .board-tools { flex-direction: column-reverse; align-items: stretch; }
  .board-tools > .btn { align-self: flex-end; }
  .board-search .input { width: auto; flex: 1; }
  .orders .o-date, .orders .o-total { display: none; }
  .orders td.o-no { white-space: normal; font-size: 11px; }

  .write { padding-top: 40px; }
  .editor-tools { padding: 8px 4px; }
  .editor-body { padding: 20px 8px; }
  .post-actions { flex-wrap: wrap; }
  .top-btn { right: 16px; bottom: 16px; }
}

/* ===== 관리자 (#/admin) ===== */
.admin { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 40px; padding: 40px var(--gutter) 0; }
.adm-nav { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.adm-brand { margin-bottom: 14px; padding-left: 12px; font-family: var(--font-menu); font-size: 12px; letter-spacing: .2em; color: var(--logo); }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 4px; }
.adm-nav a:hover { background: rgba(249, 235, 226, .5); }
.adm-nav a.on { background: var(--fill); color: var(--point-deep); }
.adm-badge { min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--point-deep); color: #fff; font-size: 11px; line-height: 18px; text-align: center; letter-spacing: 0; }
.adm-nav a.adm-view { margin-top: 14px; color: #888; }
.adm-main { min-width: 0; }
.adm-title { margin-bottom: 24px; font-size: 16px; font-weight: 700; }
.adm-warn { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #e8c48a; background: #fff8ec; font-size: 13px; line-height: 1.7; }
.adm-warn code { padding: 1px 6px; border-radius: 3px; background: #f3e7cf; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.adm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.adm-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--soft-line); background: #fff; transition: border-color .15s; }
.adm-card:hover { border-color: var(--point); }
.adm-card span { font-size: 12px; color: #777; }
.adm-card b { font-size: 19px; font-weight: 700; letter-spacing: 0; }
.adm-sub { margin: 44px 0 10px; font-size: 14px; font-weight: 700; }
.adm-scroll { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { padding: 10px 8px; border-bottom: 1px solid var(--point); color: #555; font-weight: 400; white-space: nowrap; }
.adm-table td { padding: 10px 8px; border-bottom: 1px solid var(--soft-line); text-align: center; vertical-align: middle; }
.adm-table .l { text-align: left; }
.adm-table .r { text-align: right; }
.adm-thumb { width: 52px; height: 52px; object-fit: cover; }
.adm-link { color: var(--point-deep); text-decoration: underline; text-underline-offset: 3px; }
.adm-dim { font-size: 12px; color: #888; }
p.adm-dim { margin: 6px 0 14px; }
.adm-empty { padding: 30px 0; color: #999; font-size: 13px; text-align: center; }
.adm-nowrap { white-space: nowrap; }
.adm-mt { margin-top: 14px; }
.adm-icon { width: 28px; height: 28px; margin: 0 2px; border: 1px solid var(--soft-line); border-radius: 3px; background: #fff; font-size: 12px; }
.adm-icon:hover { border-color: var(--point); color: var(--point); }
.adm-act { margin: 0 5px; color: #555; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.adm-act:hover { color: var(--point); }
.adm-icon:disabled, .adm-act:disabled, .admin input[type=checkbox]:disabled { opacity: .35; cursor: default; }
.adm-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.adm-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-input { width: 240px; }
.adm-select { height: 45px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); font-size: 13px; }
.adm-select.sm { height: 32px; padding: 0 6px; font-size: 12px; }
select.input { padding-right: 10px; -webkit-appearance: auto; appearance: auto; background: var(--bg); }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.adm-tabs a { padding: 7px 13px; border: 1px solid var(--soft-line); border-radius: 30px; font-size: 12px; }
.adm-tabs a span { margin-left: 2px; color: #999; }
.adm-tabs a.on { border-color: var(--point); color: var(--point); }
.adm-status { display: inline-block; padding: 3px 8px; border-radius: 3px; background: #efede7; font-size: 11px; white-space: nowrap; letter-spacing: 0; }
.adm-status.s0 { background: #fff0d2; color: #8a5a00; }
.adm-status.s1 { background: var(--fill); color: var(--point-deep); }
.adm-status.s2 { background: #e2edf8; color: #2b5d8f; }
.adm-status.s3 { background: #e8e5f7; color: #4b3f8f; }
.adm-status.s4 { background: #eceae4; color: #555; }
.adm-status.s5 { background: #f7e1e1; color: #9a3b3b; }
.adm-sec { margin-top: 38px; }
.adm-form > .adm-sec:first-child, .adm-two .adm-sec { margin-top: 0; }
.adm-sec > h3 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--point); font-size: 14px; font-weight: 700; }
.adm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.adm-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.adm-field.wide { grid-column: 1 / -1; }
.adm-checks { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; }
.adm-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.adm-photo { position: relative; width: 112px; }
.adm-photo img { width: 112px; height: 112px; object-fit: cover; border: 1px solid var(--soft-line); background: #fff; }
.adm-photo-main { position: absolute; top: 4px; left: 4px; padding: 2px 6px; background: var(--point-deep); color: #fff; font-size: 10px; letter-spacing: 0; }
.adm-photo-tools { display: flex; margin-top: 4px; border: 1px solid var(--soft-line); background: #fff; }
.adm-photo-tools button { flex: 1; height: 26px; color: #666; font-size: 15px; }
.adm-photo-tools button + button { border-left: 1px solid var(--soft-line); }
.adm-photo-tools button:hover { background: rgba(249, 235, 226, .6); color: var(--point-deep); }
.adm-upload { cursor: pointer; }
.adm-opt { margin-bottom: 12px; padding: 16px; border: 1px solid var(--soft-line); background: #fff; }
.adm-opt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.adm-opt-head .input { max-width: 280px; }
.adm-opt-table td { padding: 6px; }
.adm-opt-table .input { height: 36px; padding: 6px 10px; font-size: 13px; }
.adm-opt-table th:nth-child(2), .adm-opt-table td:nth-child(2) { width: 140px; }
.adm-opt-table th:nth-child(3), .adm-opt-table td:nth-child(3), .adm-opt-table th:nth-child(4), .adm-opt-table td:nth-child(4) { width: 64px; }
.adm-num { width: 100%; }
.adm-editor .editor { margin-top: 0; }
.adm-editor .editor-body { min-height: 240px; background: #fff; }
.adm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.adm-actions.start { justify-content: flex-start; margin-top: 10px; }
.adm-long { min-height: 280px; font-size: 13px; }
.admin .co-sum { max-width: 420px; margin-left: auto; }

@media (max-width: 768px) {
  .admin { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .adm-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .adm-brand { width: 100%; margin-bottom: 4px; padding-left: 0; }
  .adm-nav a { padding: 7px 10px; border: 1px solid var(--soft-line); }
  .adm-nav a.adm-view { margin-top: 0; }
  .adm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-grid, .adm-two { grid-template-columns: 1fr; }
  .adm-input { flex: 1; width: auto; }
}

/* 불러오는 중·비밀번호 찾기 안내 */
.loading { padding: 120px 0; text-align: center; font-size: 13px; color: #999; }
.find-pw { font-size: 14px; line-height: 1.9; text-align: center; }
.find-pw-mail { margin-top: 18px; }
.find-pw-mail a { color: var(--point-deep); text-decoration: underline; text-underline-offset: 3px; }

/* 글자 모양 버튼 (주문번호 복사, 회원 탈퇴) */
.link-btn { padding: 2px 4px; border: 0; background: none; color: var(--point-deep); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.my-leave { margin-top: 14px; }
.my-leave .link-btn { color: #999; }
