/* ============================================================
   WeMakeVoice Store — 안내방송 연계 제품 스토어
   디자인 토큰(colors_and_type.css) + site.css 위에 얹는 스토어 전용 스타일.
   모든 규칙은 .wmv-store 스코프로 한정해 레거시/부트스트랩과 충돌 방지.
   ============================================================ */

.wmv-store,
.wmv-store * {
  box-sizing: border-box;
}
.wmv-store {
  font-family: var(--font-sans);
  color: var(--fg-neutral);
  background: var(--bg-primary);
  min-height: 70vh;
  padding-bottom: 96px;
}
/* 일반 링크는 부모색 상속. 단 .store-btn(앵커 버튼)·.store-chip(카테고리 칩)은
   제외해 각자 정의한 색(흰색 등)을 유지하도록 한다. (특이성 함정 회피) */
.wmv-store a:not(.store-btn):not(.store-chip) {
  color: inherit;
  text-decoration: none;
}
.store-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 페이지 헤더 ---------- */
.store-head {
  padding: 48px 0 28px;
}
.store-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--w-blue-50);
  text-transform: uppercase;
}
.store-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--w-blue-50);
}
.store-head h1 {
  margin: 12px 0 6px;
  font: 800 clamp(28px, 4vw, 40px) / 1.15 var(--font-sans);
  letter-spacing: -0.025em;
  color: var(--fg-primary);
}
.store-head p {
  margin: 0;
  color: var(--fg-neutral-muted);
  font-size: 16px;
}

/* ---------- 카테고리 필터 ---------- */
.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 32px;
}
.store-chip {
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--line-neutral);
  background: var(--bg-elevated);
  color: var(--fg-neutral-subtle);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.store-chip:hover {
  border-color: var(--line-neutral-strong);
  color: var(--fg-primary);
}
.store-chip.active {
  background: var(--w-blue-50);
  border-color: var(--w-blue-50);
  color: #fff;
}

/* ---------- 상품 그리드 ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 440px) {
  .store-grid {
    grid-template-columns: 1fr;
  }
}

.store-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line-neutral-subtle);
  border-radius: var(--radius-16, 16px);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-emphasize);
  border-color: var(--line-neutral);
}
.store-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}
.store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.store-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--w-blue-50);
  color: #fff;
}
.store-badge.is-soft {
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
}
.store-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.store-card-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-neutral-muted);
}
.store-card-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card-desc {
  font-size: 13px;
  color: var(--fg-neutral-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-price-row {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.store-list-price {
  font-size: 13px;
  color: var(--fg-neutral-disable);
  text-decoration: line-through;
}
.store-discount {
  font-size: 17px;
  font-weight: 800;
  color: var(--w-red-60);
}
.store-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
}
.store-price .won {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- 버튼 (스토어 전용) ---------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-12, 12px);
  border: 1px solid transparent;
  font: 700 15px/1 var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.store-btn-primary {
  background: var(--w-blue-50);
  color: #fff;
}
.store-btn-primary:hover {
  background: var(--w-blue-45);
  box-shadow: 0 8px 20px rgba(79, 55, 255, 0.28);
}
.store-btn-dark {
  background: var(--w-cool-5, #0d0e12);
  color: #fff;
}
.store-btn-dark:hover {
  background: var(--w-cool-10, #181a1f);
}
.store-btn-outline {
  background: var(--bg-elevated);
  color: var(--fg-primary);
  border-color: var(--line-neutral-strong);
}
.store-btn-outline:hover {
  background: var(--bg-neutral);
}
.store-btn-ghost {
  background: transparent;
  color: var(--fg-neutral-subtle);
}
.store-btn-ghost:hover {
  background: var(--bg-neutral);
  color: var(--fg-primary);
}
.store-btn-block {
  width: 100%;
}
.store-btn:disabled,
.store-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.store-btn-lg {
  height: 54px;
  font-size: 16px;
}

/* ---------- 상세 페이지 ---------- */
.store-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  padding-top: 36px;
}
@media (max-width: 900px) {
  .store-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.store-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-20, 20px);
  overflow: hidden;
  border: 1px solid var(--line-neutral-subtle);
}
.store-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
/* 캐로우셀 좌우 화살표 — 호버 시 노출 */
.store-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fg-primary);
  box-shadow: var(--shadow-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease, transform 0.15s ease;
  z-index: 2;
}
.store-gallery-arrow.prev {
  left: 14px;
}
.store-gallery-arrow.next {
  right: 14px;
}
.store-gallery-main:hover .store-gallery-arrow {
  opacity: 1;
}
.store-gallery-arrow:hover {
  background: #fff;
}
.store-gallery-arrow:active {
  transform: translateY(-50%) scale(0.92);
}
.store-gallery-arrow svg {
  width: 22px;
  height: 22px;
}
.store-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.store-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-12, 12px);
  overflow: hidden;
  border: 2px solid var(--line-neutral-subtle);
  background: #f3f4f6;
  cursor: pointer;
  padding: 0;
}
.store-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-thumb.active {
  border-color: var(--w-blue-50);
}

.store-buy h1 {
  margin: 0 0 12px;
  font: 800 clamp(22px, 3vw, 30px) / 1.25 var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.store-buy-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.store-buy-price .store-discount {
  font-size: 24px;
}
.store-buy-price .store-price {
  font-size: 28px;
}
.store-buy-sub {
  color: var(--fg-neutral-muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.store-meta-list {
  border-top: 1px solid var(--line-neutral);
  margin: 0 0 22px;
  padding: 16px 0 0;
}
.store-meta-list .row {
  display: flex;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
}
.store-meta-list .row .k {
  width: 88px;
  color: var(--fg-neutral-muted);
  flex: none;
}
.store-meta-list .row .v {
  color: var(--fg-primary);
  font-weight: 600;
}

/* 옵션 그룹 */
.store-option {
  margin-bottom: 16px;
}
.store-option-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-neutral-subtle);
  margin-bottom: 8px;
}
.store-option-label .req {
  color: var(--w-red-60);
  margin-left: 3px;
}
.store-select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--radius-12, 12px);
  border: 1px solid var(--line-neutral-strong);
  background: var(--bg-elevated)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2382858b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  font: 600 15px/1 var(--font-sans);
  color: var(--fg-primary);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.store-select:focus {
  outline: none;
  border-color: var(--w-blue-50);
}
.store-option.is-pass .store-select {
  border-color: var(--w-blue-50);
  background-color: var(--w-blue-99, #f3f1ff);
}
.store-option-hint {
  font-size: 12.5px;
  color: var(--w-blue-45);
  margin-top: 6px;
}

/* 선택 요약 박스 */
.store-summary {
  margin: 22px 0;
  padding: 18px;
  background: var(--bg-neutral);
  border-radius: var(--radius-16, 16px);
}
.store-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--fg-neutral-subtle);
  padding: 4px 0;
}
.store-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-neutral-strong);
  border-radius: var(--radius-8, 8px);
  overflow: hidden;
  background: var(--bg-elevated);
}
.store-qty button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--fg-neutral-subtle);
  cursor: pointer;
}
.store-qty button:hover {
  background: var(--bg-neutral);
}
.store-qty input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-primary);
  background: transparent;
}
.store-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 20px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-neutral);
}
.store-total-row .label {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-primary);
}
.store-total-row .amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--w-blue-50);
  letter-spacing: -0.02em;
}
.store-buy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* 결제 PG 준비중 안내 (구매 버튼 비활성 시) */
.store-prep-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-neutral-muted);
}
.store-prep-note b {
  color: var(--fg-neutral-subtle);
  font-weight: 700;
}
.store-pay-shortcuts {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.store-pay-shortcuts .pay-btn {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-12, 12px);
  border: 1px solid var(--line-neutral);
  background: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fg-neutral-muted);
  cursor: not-allowed;
  position: relative;
}
.store-pay-shortcuts .pay-btn .soon {
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-neutral-disable);
}
.store-pay-shortcuts .pay-naver {
  color: #03c75a;
}
.store-pay-shortcuts .pay-kakao {
  color: #3a1d1d;
  background: #fee500;
  border-color: #fee500;
}

/* 상세 본문 */
.store-detail-body {
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 48px 24px 0;
  border-top: 1px solid var(--line-neutral);
}
.store-detail-body h2 {
  font-size: 22px;
  margin: 0 0 24px;
  color: var(--fg-primary);
}
.store-detail-body h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--fg-primary);
}
.store-detail-body p,
.store-detail-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-neutral-subtle);
}
.store-detail-body ul {
  padding-left: 20px;
}
/* 벤더 상세 이미지 스택 (세로로 이어지는 마케팅 이미지) */
.store-vendor-detail {
  margin-top: 8px;
}
.store-detail-body img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}
.store-detail-lead {
  font-size: 17px !important;
  font-weight: 600;
  color: var(--fg-primary) !important;
}
.store-spec-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin-top: 8px;
}
.store-spec-table th,
.store-spec-table td {
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--line-neutral-subtle);
}
.store-spec-table th {
  width: 140px;
  color: var(--fg-neutral-muted);
  font-weight: 600;
  background: var(--bg-neutral);
}
.store-spec-table td {
  color: var(--fg-primary);
  font-weight: 600;
}

/* ---------- 빈 상태 ---------- */
.store-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--fg-neutral-muted);
}
.store-empty h3 {
  color: var(--fg-primary);
  margin-bottom: 8px;
}

/* ---------- 장바구니 드로어 ---------- */
.store-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1100;
}
.store-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-strong);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 1101;
  display: flex;
  flex-direction: column;
}
.store-drawer-open .store-drawer {
  transform: translateX(0);
}
.store-drawer-open .store-drawer-backdrop {
  opacity: 1;
  visibility: visible;
}
.store-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-neutral);
}
.store-drawer-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--fg-primary);
}
.store-drawer-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--fg-neutral-muted);
  cursor: pointer;
}
.store-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 22px;
}
.store-drawer-foot {
  border-top: 1px solid var(--line-neutral);
  padding: 18px 22px 22px;
}
.store-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.store-drawer-total .label {
  font-size: 14px;
  color: var(--fg-neutral-muted);
}
.store-drawer-total .amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg-primary);
}

/* 장바구니 아이템 (드로어 + 카트 페이지 공용) */
.store-cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-neutral-subtle);
}
.store-cart-item .thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-12, 12px);
  background: #f3f4f6;
  object-fit: cover;
  flex: none;
}
.store-cart-item .info {
  flex: 1;
  min-width: 0;
}
.store-cart-item .name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg-primary);
  line-height: 1.35;
}
.store-cart-item .opts {
  font-size: 12.5px;
  color: var(--fg-neutral-muted);
  margin: 4px 0 8px;
  line-height: 1.45;
}
.store-cart-item .pass-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
  font-size: 11px;
  font-weight: 700;
}
.store-cart-item .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-cart-item .price {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg-primary);
}
.store-cart-item .remove {
  border: none;
  background: transparent;
  color: var(--fg-neutral-disable);
  font-size: 12.5px;
  cursor: pointer;
}
.store-cart-item .remove:hover {
  color: var(--w-red-60);
}

/* 나브 장바구니 버튼 */
.store-cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--fg-neutral, #374151);
  cursor: pointer;
}
.store-cart-trigger:hover {
  color: var(--fg-primary);
}
.store-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--w-blue-50);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-cart-count:empty,
.store-cart-count[data-count="0"] {
  display: none;
}

/* ---------- 카트 페이지 / 체크아웃 / 주문 공통 레이아웃 ---------- */
.store-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 28px;
}
@media (max-width: 880px) {
  .store-two-col {
    grid-template-columns: 1fr;
  }
}
.store-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-16, 16px);
  padding: 24px;
}
.store-panel h2 {
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--fg-primary);
}
.store-summary-panel {
  position: sticky;
  top: 88px;
}
.store-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  color: var(--fg-neutral-subtle);
}
.store-sum-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-neutral);
  font-size: 17px;
  font-weight: 800;
  color: var(--fg-primary);
}
.store-sum-row.total .amount {
  color: var(--w-blue-50);
}

/* 폼 */
.store-field {
  margin-bottom: 16px;
}
.store-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-neutral-subtle);
  margin-bottom: 7px;
}
.store-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-12, 12px);
  border: 1px solid var(--line-neutral-strong);
  background: var(--bg-elevated);
  font: 500 15px/1 var(--font-sans);
  color: var(--fg-primary);
}
.store-input:focus {
  outline: none;
  border-color: var(--w-blue-50);
}
textarea.store-input {
  height: auto;
  min-height: 84px;
  padding: 12px 14px;
  resize: vertical;
}
.store-field-row {
  display: flex;
  gap: 10px;
}
.store-field-row .store-field {
  flex: 1;
}

.store-login-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-12, 12px);
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- 결제수단 선택 ---------- */
.store-paymethods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.store-paymethod {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border: 1.5px solid var(--line-neutral);
  border-radius: var(--radius-12, 12px);
  background: var(--bg-elevated);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-neutral-subtle);
  transition: all 0.15s ease;
  position: relative;
}
.store-paymethod input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.store-paymethod:hover {
  border-color: var(--line-neutral-strong);
}
.store-paymethod.is-selected,
.store-paymethod:has(input:checked) {
  border-color: var(--w-blue-50);
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
}
.store-paymethod.pm-kakao.is-selected,
.store-paymethod.pm-kakao:has(input:checked) {
  border-color: #fee500;
  background: #fff8d0;
  color: #3a1d1d;
}
.store-paymethod.pm-naver.is-selected,
.store-paymethod.pm-naver:has(input:checked) {
  border-color: #03c75a;
  background: #e6f9ee;
  color: #03894a;
}
/* 준비중(비활성) 결제수단 */
.store-paymethod.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--bg-neutral);
}
.store-paymethod.is-disabled:hover {
  border-color: var(--line-neutral);
}
.store-paymethod .pm-soon {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-neutral-muted);
  background: var(--bg-neutral);
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-full, 9999px);
  padding: 1px 8px;
}

/* ---------- 우편번호 검색 레이어 ---------- */
.store-postcode-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}
.store-postcode-overlay.open {
  display: flex;
}
.store-postcode-box {
  width: 480px;
  max-width: 94vw;
  height: 540px;
  max-height: 88vh;
  background: var(--bg-elevated);
  border-radius: var(--radius-16, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
}
.store-postcode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-neutral);
  font-weight: 700;
  color: var(--fg-primary);
}
.store-postcode-head button {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--fg-neutral-muted);
  cursor: pointer;
}
.store-postcode-embed {
  flex: 1;
  min-height: 0;
}
.store-postcode-embed > * {
  width: 100% !important;
  height: 100% !important;
}

/* 결제완료 */
.store-complete {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px 0;
}
.store-complete .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--w-blue-50);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}
.store-complete h1 {
  font-size: 26px;
  color: var(--fg-primary);
  margin: 0 0 10px;
}
.store-complete p {
  color: var(--fg-neutral-muted);
}
.store-order-box {
  text-align: left;
  margin: 28px 0;
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-16, 16px);
  padding: 22px;
}
.store-order-box .ordernum {
  font-size: 14px;
  color: var(--fg-neutral-muted);
}
.store-order-box .ordernum b {
  color: var(--w-blue-50);
  font-size: 16px;
}
/* 가상계좌(무통장입금) 입금 안내 */
.store-complete .check.vbank {
  background: var(--bg-accent-subtle, #eef0ff);
  font-size: 34px;
}
.store-vbank {
  margin-top: 16px;
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-12, 12px);
  background: var(--bg-neutral);
  padding: 14px 16px;
}
.store-vbank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--fg-neutral-subtle);
}
.store-vbank-row + .store-vbank-row {
  border-top: 1px solid var(--line-neutral-subtle, rgba(0, 0, 0, 0.06));
}
.store-vbank-row b {
  color: var(--fg-primary);
  font-weight: 700;
}
.store-vbank-row b.num {
  font-size: 17px;
  letter-spacing: 0.02em;
}
.store-vbank-row b.amount {
  color: var(--w-blue-50);
  font-size: 16px;
}
.store-vbank-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--fg-neutral-muted);
  line-height: 1.5;
}

/* 주문 현황 테이블 */
.store-order-list {
  padding-top: 28px;
}
.store-order-card {
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-16, 16px);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.store-order-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.store-order-card .head .num {
  font-weight: 700;
  color: var(--fg-primary);
}
.store-order-card .head .date {
  font-size: 13px;
  color: var(--fg-neutral-muted);
}
.store-status {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 12.5px;
  font-weight: 700;
}
.store-status.pending {
  background: #fff1e6;
  color: var(--w-orange-40, #c23800);
}
.store-status.paid,
.store-status.preparing {
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
}
.store-status.shipped,
.store-status.delivered {
  background: #e6f9ee;
  color: var(--w-green-60, #00bf40);
}
.store-status.cancelled,
.store-status.refunded {
  background: #ffecec;
  color: var(--w-red-60);
}
.store-order-line {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--fg-neutral-subtle);
}
.store-order-line .ln-name {
  flex: 1;
  color: var(--fg-primary);
  font-weight: 600;
}

/* 작은 헤더 + 뒤로가기 */
.store-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--fg-neutral-muted);
}
.store-back:hover {
  color: var(--fg-primary);
}

/* ---------- 상단 '이전으로' 네비게이션 ---------- */
.store-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 28px 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-neutral-muted);
}
.store-back-link:hover {
  color: var(--fg-primary);
}
.store-back-link svg {
  width: 18px;
  height: 18px;
}
/* 페이지 헤더 안에 들어갈 땐 한 줄을 독차지하게 해서 eyebrow(● CART 등)와
   같은 줄에 겹치지 않도록 한다. (inline-flex → flex + fit-content) */
.store-head .store-back-link {
  display: flex;
  width: fit-content;
  margin: 0 0 14px;
}

/* ---------- 결제 약관 동의 ---------- */
.store-agree {
  margin-top: 16px;
  border: 1px solid var(--line-neutral);
  border-radius: var(--radius-12, 12px);
  padding: 10px 14px 12px;
}
.store-agree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--fg-neutral-subtle);
}
.store-agree-item .grow {
  flex: 1;
}
.store-agree-item a {
  flex: none;
  color: var(--fg-neutral-muted);
  text-decoration: underline;
  font-size: 12.5px;
}
.store-agree-item a:hover {
  color: var(--w-blue-50);
}
.store-agree-note {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-neutral-subtle);
  font-size: 11.5px;
  color: var(--fg-neutral-muted);
  line-height: 1.55;
}
.store-agree-consent {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--fg-neutral-subtle);
  line-height: 1.5;
  text-align: center;
}
