/* 순금선물 목록 페이지 */
.gift-page { padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 8vw, 96px); }
.crumb { font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--gold-2); }
.crumb span { margin: 0 4px; }
.gift-title { margin-top: 18px; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; }
.gift-sub { margin: 10px auto 0; max-width: 620px; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.7; }

.gift-cats { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gift-cats button { padding: 9px 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.gift-cats button:hover { border-color: var(--gold); color: var(--gold-2); }
.gift-cats button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.gift-bar { margin-top: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gift-bar p { font-size: 14px; color: var(--ink-2); }
.gift-bar b { color: var(--gold-2); }
.gift-bar select { height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font-size: 13px; }

.gift-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.gcard { display: flex; flex-direction: column; }
.gcard__img { position: relative; aspect-ratio: 1 / 1; background: #f3efe7; border-radius: 4px; overflow: hidden; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.04); }
.gcard.is-soldout .gcard__img img { opacity: .5; }
.gcard__badge { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; background: var(--gold-2); color: #fff; border-radius: 2px; }
.gcard__badge--out { background: var(--muted); }
.gcard__name { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.gcard .info-link { align-self: flex-start; margin-top: 6px; }
.gcard__btns { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gcard--ask .gcard__btns { grid-template-columns: 1fr; }
.gbtn { height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; color: var(--ink); border-radius: 2px; transition: all .2s; }
.gbtn:hover { border-color: var(--ink); }
.gbtn--buy { background: var(--ink); border-color: var(--ink); color: #fff; }
.gbtn--buy:hover { background: var(--gold-2); border-color: var(--gold-2); }
.gbtn:disabled { opacity: .45; cursor: not-allowed; }
.legal-top nav { align-items: center; }
.gift-cart { position: relative; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; }
.gift-cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gcard__w { margin-top: 4px; font-size: 13px; color: var(--muted); }
.gcard__price { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.gcard__price strong { font-size: 17px; font-weight: 700; }
.gcard__price .ask { font-size: 15px; color: var(--gold-2); }

.gift-guide { margin-top: clamp(56px, 8vw, 88px); padding: 28px clamp(18px, 3vw, 32px); background: var(--tint); border-radius: 6px; }
.gift-guide h2 { font-size: 17px; font-weight: 700; }
.gift-guide ol { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gift-guide li { display: grid; gap: 4px; }
.gift-guide b { font-weight: 500; color: var(--gold-2); }
.gift-guide span { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.gift-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 상세 창 */
.gm__body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.gm__img { aspect-ratio: 1 / 1; background: #f3efe7; border-radius: 4px; display: grid; place-items: center; }
.gm__img svg { width: 70%; height: 70%; }
.gm__cat { font-size: 13px; color: var(--gold-2); }
.gm .modal__title { margin-top: 4px; }
.gm__price { margin: 10px 0 16px; font-size: 24px; font-weight: 700; }
.gm__desc { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.gift-cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.gift-cta .btn { height: 46px; padding: 0 22px; flex: 1; }

@media (max-width: 1024px) { .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .gift-cats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .gift-cats::-webkit-scrollbar { display: none; }
  .gift-cats button { flex: none; }
  .gift-guide ol { grid-template-columns: 1fr 1fr; }
  .gm__body { grid-template-columns: 1fr; gap: 16px; }
  .gm__img { aspect-ratio: 16 / 10; }
  .gcard__name { font-size: 14px; }
  .gcard__price strong { font-size: 15px; }
}
@media (max-width: 520px) {
  .legal-top nav a:not([aria-current]):not(:last-of-type) { display: none; }
  .gbtn { font-size: 12px; }
}
