/* JunK Information - 기본 스타일. 디자인을 잡을 때 이 파일만 손보면 된다. */

:root {
  --line: #e5e5e5;
  --text: #222;
  --muted: #888;
  --point: #d33;
  --bg-soft: #fafafa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Malgun Gothic", "맑은 고딕", -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 헤더 ---------- */

.site-header { border-bottom: 1px solid var(--line); }

.site-header .inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }

.search { flex: 1; display: flex; max-width: 420px; }

.search input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  font-size: 14px;
}

.search button {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.user-menu { margin-left: auto; display: flex; gap: 16px; font-size: 14px; white-space: nowrap; }
.user-menu a:hover { color: var(--point); }

.category-nav { border-top: 1px solid var(--line); background: var(--bg-soft); }
.category-nav .inner { display: flex; gap: 24px; height: 46px; align-items: center; }
.category-nav a { font-size: 15px; }
.category-nav a:hover { color: var(--point); }

/* ---------- 본문 ---------- */

main { min-height: 60vh; padding: 40px 20px 80px; }

.hero {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.hero h1 { margin: 0 0 8px; font-size: 34px; }
.hero p { margin: 0; color: var(--muted); }

.section-title {
  font-size: 20px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}
.section-title .count { font-size: 14px; font-weight: 400; color: var(--muted); }

.empty { color: var(--muted); padding: 60px 0; text-align: center; }

/* ---------- 상품 카드 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.product-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.no-image { color: #bbb; font-size: 13px; }

.badge.soldout {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.product-card .info { padding: 12px 2px; }
.product-card .name { margin: 0 0 6px; font-size: 14px; }
.product-card .price { margin: 0; font-size: 15px; }

.price .rate { color: var(--point); font-weight: 700; margin-right: 6px; }
.price .origin { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-right: 6px; }

/* ---------- 상품 상세 ---------- */

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.detail-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img { width: 100%; height: 100%; object-fit: cover; }

.crumb { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.detail-info h1 { margin: 0 0 10px; font-size: 26px; }
.detail-info .summary { color: var(--muted); margin: 0 0 20px; }
.detail-info .price {
  font-size: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.option-box { margin: 24px 0; }
.option-box label { display: block; font-size: 14px; margin-bottom: 8px; }
.option-box select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid var(--line); }

.buy-buttons { display: flex; gap: 10px; }
.buy-buttons button {
  flex: 1;
  height: 52px;
  font-size: 16px;
  border: 1px solid var(--text);
  background: #fff;
  cursor: pointer;
}
.buy-buttons .btn-buy { background: var(--text); color: #fff; }
.buy-buttons .disabled { opacity: 0.4; cursor: not-allowed; }

.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.detail-body { margin-top: 70px; }
.description { white-space: pre-line; padding: 20px 0; }

/* ---------- 안내 메시지 ---------- */

.flash {
  list-style: none;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--text);
  background: var(--bg-soft);
  font-size: 14px;
}
.flash li + li { margin-top: 6px; }

/* ---------- 폼 (로그인 · 회원가입) ---------- */

.form-page { max-width: 400px; margin: 0 auto; }
.form-page.wide { max-width: 520px; }
.form-page h1 {
  font-size: 24px;
  text-align: center;
  margin: 0 0 32px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.field .req { color: var(--point); font-size: 12px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.field input + input { margin-top: 8px; }
.field input.short { width: 140px; }
.field input:focus { outline: none; border-color: var(--text); }
.field .hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

.check {
  display: block;
  font-size: 14px;
  margin: 10px 0;
  cursor: pointer;
}
.check input { margin-right: 6px; }

.agree-box {
  margin: 26px 0;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.agree-box .check { margin: 8px 0; }

.btn-primary {
  width: 100%;
  height: 52px;
  margin-top: 10px;
  border: 0;
  background: var(--text);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.85; }

.form-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.form-links a:hover { color: var(--point); }

.user-menu .hello { color: var(--muted); }

.lead { text-align: center; color: var(--muted); font-size: 14px; margin: -18px 0 26px; }
.found-box { text-align: center; }
.found-email {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 12px 0;
}

/* ---------- 장바구니 ---------- */

.warn {
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--point);
  color: var(--point);
  font-size: 14px;
}

.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table th {
  padding: 12px 8px;
  border-bottom: 1px solid var(--text);
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}
.cart-table td { padding: 18px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .col-price, .cart-table .col-sum, .cart-table .col-qty, .cart-table .col-del { text-align: center; }
.cart-table .col-sum strong { font-size: 15px; }
.cart-table tr.row-problem { background: #fff8f8; }

.col-item { display: flex; gap: 14px; align-items: center; text-align: left; }
.thumb-sm {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.item-text .opt { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.item-text .alert { margin: 5px 0 0; color: var(--point); font-size: 13px; }

.qty-form { display: inline-flex; gap: 4px; }
.qty-form input { width: 58px; height: 32px; padding: 0 6px; border: 1px solid var(--line); text-align: center; }
.qty-form button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}
.qty-form button:hover { border-color: var(--text); }

.btn-x {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  line-height: 1;
}
.btn-x:hover { border-color: var(--point); color: var(--point); }

.btn-plain {
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}
.btn-plain:hover { border-color: var(--text); }

.cart-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 24px;
  gap: 30px;
}

.summary {
  width: 320px;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.summary dl { display: flex; flex-wrap: wrap; margin: 0; font-size: 14px; }
.summary dt { width: 50%; color: var(--muted); margin-bottom: 8px; }
.summary dd { width: 50%; margin: 0 0 8px; text-align: right; }
.summary .hint { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.summary .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.summary .total strong { font-size: 22px; }

.btn-primary.as-link {
  display: block;
  line-height: 52px;
  text-align: center;
  height: 52px;
  margin: 0;
}
.btn-primary.disabled { opacity: 0.4; pointer-events: none; }

.cart-badge {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--point);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.text-link { text-decoration: underline; }
.soldout-notice {
  padding: 18px;
  margin: 24px 0;
  background: var(--bg-soft);
  text-align: center;
  color: var(--muted);
}

@media (max-width: 780px) {
  .cart-bottom { flex-direction: column; }
  .summary { width: 100%; }
  .cart-table .col-price { display: none; }
  .cart-table thead .col-price { display: none; }
}

/* ---------- 주문서 · 주문완료 ---------- */

.box {
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.box h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.box p { margin: 0 0 6px; font-size: 14px; }
.box .hint { color: var(--muted); font-size: 13px; margin-top: 10px; }

.check.inline { display: inline; float: right; font-weight: 400; font-size: 13px; }
.check.muted { color: var(--muted); }

.checkout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.checkout-side { position: sticky; top: 20px; }
.checkout-side .summary { width: 100%; }
.checkout-side .summary h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.checkout-side .check { font-size: 13px; margin: 16px 0; }

.order-items { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-items td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-items tr:last-child td { border-bottom: 0; }
.order-items .opt { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.order-items .qty { width: 70px; text-align: center; color: var(--muted); }
.order-items .sum { width: 110px; text-align: right; }

.total-lines {
  display: flex;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.total-lines dt { width: 50%; color: var(--muted); margin-bottom: 8px; }
.total-lines dd { width: 50%; margin: 0 0 8px; text-align: right; }
.total-lines .strong { color: var(--text); font-size: 17px; font-weight: 700; }

.order-done { text-align: center; padding: 40px 0 34px; }
.order-done h1 { margin: 0 0 12px; font-size: 26px; }
.order-done .order-no { color: var(--muted); font-size: 15px; }
.order-done .order-no strong { color: var(--text); letter-spacing: 0.5px; }

.deposit { border: 2px solid var(--text); }
.deposit dl { display: flex; flex-wrap: wrap; margin: 0; font-size: 14px; }
.deposit dt { width: 90px; color: var(--muted); margin-bottom: 10px; }
.deposit dd { width: calc(100% - 90px); margin: 0 0 10px; }
.deposit .amount { font-size: 20px; font-weight: 700; }

.done-buttons { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.done-buttons .btn-primary.as-link { width: 200px; }
.done-buttons .btn-plain { padding: 0 24px; line-height: 52px; }

.btn-plain.block {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  line-height: 44px;
  padding: 0;
}

@media (max-width: 780px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  .done-buttons { flex-direction: column; }
}

/* ---------- 좌측 메뉴가 있는 화면 (마이페이지 · 관리자) ---------- */

.with-side { display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: start; }

.side-nav h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
  font-size: 17px;
}
.side-nav a {
  display: block;
  padding: 9px 2px;
  font-size: 14px;
  color: var(--muted);
}
.side-nav a:hover { color: var(--text); }
.side-nav a.on { color: var(--text); font-weight: 700; }

.side-body .section-title { margin-top: 0; }

.user-summary .big { font-size: 19px; margin: 0 0 14px; }
.user-summary dl { display: flex; margin: 0; font-size: 14px; gap: 8px 30px; flex-wrap: wrap; }
.user-summary dt { color: var(--muted); }
.user-summary dd { margin: 0 24px 0 0; }

.status-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.status-card {
  padding: 18px 10px;
  border: 1px solid var(--line);
  text-align: center;
}
.status-card:hover { border-color: var(--text); }
.status-card strong { display: block; font-size: 22px; margin-bottom: 4px; }
.status-card span { font-size: 13px; color: var(--muted); }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.tabs a:hover { border-color: var(--text); color: var(--text); }
.tabs a.on { background: var(--text); border-color: var(--text); color: #fff; }

.order-list { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-list td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.order-list.bordered { border-top: 1px solid var(--text); }
.order-list .no { width: 190px; }
.order-list .no .date { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.order-list .amount { width: 110px; text-align: right; }
.order-list .status { width: 90px; text-align: right; }

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 12px;
  white-space: nowrap;
}
.badge-status.big { font-size: 13px; float: right; }

.deposit-inline { display: flex; flex-wrap: wrap; margin: 14px 0 0; font-size: 14px; }
.deposit-inline dt { width: 90px; color: var(--muted); margin-bottom: 8px; }
.deposit-inline dd { width: calc(100% - 90px); margin: 0 0 8px; }

.detail-buttons { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.detail-buttons .hint { margin: 0; }
.btn-plain.danger { color: var(--point); }
.btn-plain.danger:hover { border-color: var(--point); }

.readonly { margin: 0; padding: 11px 0; font-size: 15px; }
.empty.small { padding: 30px 0; }

@media (max-width: 780px) {
  .with-side { grid-template-columns: 1fr; gap: 20px; }
  .side-nav { display: flex; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .side-nav h3 { width: 100%; border: 0; margin-bottom: 4px; padding-bottom: 0; }
  .status-cards { grid-template-columns: repeat(2, 1fr); }
  .order-list .no { width: auto; }
}

/* ---------- 관리자 ---------- */

.section-title .right { float: right; }
.btn-small {
  padding: 7px 14px;
  border: 1px solid var(--text);
  font-size: 13px;
  font-weight: 400;
}
.btn-small:hover { background: var(--text); color: #fff; }

.search-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.search-bar input[type="text"] {
  flex: 1;
  max-width: 300px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.search-bar button {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--text);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}
.search-bar button:hover { background: var(--text); color: #fff; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  padding: 10px 8px;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}
.admin-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.admin-table .right, .admin-table th.right { text-align: right; }
.admin-table .center { text-align: center; }
.admin-table .danger { color: var(--point); font-weight: 700; }
.admin-table .sub { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.option-table input[type="text"],
.option-table input[type="number"] {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.option-table td { padding: 6px 6px; }

.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.6;
}
.field select { width: 100%; height: 44px; padding: 0 10px; border: 1px solid var(--line); }
.preview { max-width: 160px; border: 1px solid var(--line); }

.chip {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 6px 6px 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
}
.chip.small { padding: 2px 7px; font-size: 11px; margin-left: 6px; }
.cat-list { margin: 0 0 14px; }

/* 옵션별 재고 — 총합만 보면 '일부 품절'을 놓치므로 옵션 단위로 표시한다 */
.stock-cell { min-width: 260px; }
.stock-opt {
  display: inline-block;
  padding: 3px 9px;
  margin: 0 4px 4px 0;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.stock-opt b { font-weight: 700; margin-left: 4px; }
.stock-opt.low { border-color: #e0a800; color: #8a6100; background: #fffdf3; }
.stock-opt.out { border-color: var(--point); color: var(--point); background: #fff6f6; }

.legend { margin-top: 14px; }
.legend .stock-opt { margin-right: 2px; }

.chip.danger-chip { border-color: var(--point); color: var(--point); background: #fff6f6; }
.chip.warn-chip { border-color: #e0a800; color: #8a6100; background: #fffdf3; }

/* 진열 ↔ 숨김 전환 */
.toggle-cell { white-space: nowrap; }
.toggle-cell .state {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.toggle-cell .state.on { color: var(--text); font-weight: 700; }
.btn-toggle {
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}
.btn-toggle:hover { border-color: var(--text); background: var(--bg-soft); }

.status-card.urgent { border-color: var(--point); }
.status-card.urgent strong { color: var(--point); }

.order-admin .order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.order-admin .order-head .sub { color: var(--muted); font-size: 13px; margin-left: 10px; }

.status-form {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.status-form select, .status-form input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.status-form input { width: 130px; }
.status-form button {
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.btn-primary.auto { width: auto; padding: 0 40px; height: 44px; margin: 0; }

@media (max-width: 780px) {
  .field-row { flex-direction: column; gap: 0; }
}

/* ---------- 게시판 · 리뷰 · 찜 ---------- */

.nav-sep { width: 1px; height: 14px; background: var(--line); }

.post { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.post h1 { font-size: 22px; margin: 0 0 12px; }
.post-meta { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.post-body {
  white-space: pre-line;
  line-height: 1.75;
  font-size: 15px;
  padding: 6px 0;
}

.lock { color: var(--muted); }
.target-product {
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  margin: 0 0 18px;
}

.box.answer { border-left: 3px solid var(--text); margin-top: 20px; }
.hint.waiting { padding: 24px 0; text-align: center; }

.answer-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.answer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.answer-form button {
  margin-top: 8px;
  height: 36px;
  padding: 0 20px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.rating-line { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.stars { color: #f0a500; letter-spacing: 1px; }

.review-form {
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.review-form .field { margin-bottom: 12px; }
.review-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
}
.review-form select { width: 200px; height: 40px; padding: 0 10px; border: 1px solid var(--line); }

.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-head .who { font-weight: 700; }
.review-head .when { color: var(--muted); }
.review-head form { margin-left: auto; }
.review-body { margin: 10px 0 0; white-space: pre-line; font-size: 14px; line-height: 1.7; }

.btn-wish {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.btn-wish:hover { border-color: var(--point); color: var(--point); }
.btn-wish.on { border-color: var(--point); color: var(--point); }

.wish-item form { margin-top: 8px; }
.btn-plain.full { width: 100%; }

/* ---------- 미구현 페이지 ---------- */

.placeholder {
  text-align: center;
  padding: 90px 20px;
  border: 1px dashed var(--line);
  background: var(--bg-soft);
}
.placeholder .step {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
}
.placeholder h1 { margin: 0 0 10px; font-size: 24px; }
.placeholder p { margin: 0 0 6px; color: var(--muted); }
.placeholder .path code { font-size: 13px; color: #999; }
.placeholder .back {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  border: 1px solid var(--text);
  font-size: 14px;
}
.placeholder .back:hover { background: var(--text); color: #fff; }

/* ---------- 푸터 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  font-size: 13px;
  color: var(--muted);
}
.site-footer .biz { margin: 0 0 8px; }
.site-footer .links a:hover { color: var(--text); }

/* ---------- 모바일 ---------- */

@media (max-width: 780px) {
  .site-header .inner { flex-wrap: wrap; height: auto; padding: 14px 20px; gap: 12px; }
  .search { order: 3; max-width: none; width: 100%; }
  .user-menu { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
}
