/**
 * DS4K Market
 */
:root {
  --mk-bg: #f4f7fb;
  --mk-ink: #0f2744;
  --mk-muted: #5a7189;
  --mk-line: #d5e2f0;
  --mk-accent: #2563eb;
  --mk-accent-deep: #1d4ed8;
  --mk-coral: #ff7a6b;
  --mk-teal: #0d9488;
  --mk-surface: #ffffff;
  --mk-radius: 18px;
  --mk-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
  --font-display: "Comfortaa", "Pretendard", sans-serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--mk-ink);
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, #dceaf8 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 5%, #e8f5f0 0%, transparent 50%),
    var(--mk-bg);
  min-height: 100%;
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

.mk-app { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-right)) 60px max(18px, env(safe-area-inset-left)); }

a { color: inherit; }

/* Nav */
.mk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  flex-wrap: wrap;
}

.mk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.mk-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
}

.mk-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mk-brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mk-muted);
  text-transform: uppercase;
}

.mk-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mk-nav-links a,
.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
}

.mk-nav-links a:not(.mk-btn) {
  padding: 8px 10px;
  color: var(--mk-muted);
  border-radius: 10px;
}

.mk-nav-links a:not(.mk-btn):hover { color: var(--mk-accent); background: #e8f0fe; }

.mk-lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--mk-line, #e2e8f0);
}

.mk-lang-btn {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  color: #64748b;
}

.mk-lang-btn.is-active {
  background: #fff;
  color: var(--mk-accent, #2563eb);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.mk-btn {
  padding: 10px 16px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.15s;
}

.mk-btn:hover { transform: translateY(-1px); }

.mk-btn-primary {
  background: var(--mk-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.mk-btn-primary:hover { background: var(--mk-accent-deep); }

.mk-btn-coral {
  background: var(--mk-coral);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 122, 107, 0.3);
}

.mk-btn-ghost {
  background: #fff;
  color: var(--mk-ink);
  border: 1.5px solid var(--mk-line);
}

.mk-btn-teal {
  background: var(--mk-teal);
  color: #fff;
}

.mk-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.mk-cart-btn { position: relative; }

.mk-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mk-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.mk-cart-badge.is-empty,
.mk-cart-badge[hidden] { display: none; }

/* Hero */
.mk-hero {
  margin: 12px 0 28px;
  padding: 32px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #c7e4ff 0%, #d9f3ea 55%, #e8e4ff 100%);
  border: 1px solid #c5daf0;
}

.mk-hero-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mk-accent-deep);
  margin-bottom: 8px;
}

.mk-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mk-hero h1 span { color: var(--mk-accent); }

.mk-hero p {
  margin: 0;
  max-width: 520px;
  color: var(--mk-muted);
  font-size: 15px;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Toolbar */
.mk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-tab {
  border: 1.5px solid var(--mk-line);
  background: #fff;
  color: var(--mk-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.mk-tab.active {
  background: var(--mk-accent);
  border-color: var(--mk-accent);
  color: #fff;
}

.mk-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 999px;
  padding: 8px 14px;
  min-width: min(100%, 260px);
}

.mk-search input {
  border: none;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 14px;
  background: transparent;
}

/* Grid */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.mk-card {
  background: var(--mk-surface);
  border: 1.5px solid var(--mk-line);
  border-radius: var(--mk-radius);
  overflow: hidden;
  box-shadow: var(--mk-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
  text-decoration: none;
  color: inherit;
}

.mk-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
}

.mk-card-img {
  aspect-ratio: 4/3;
  background: #eef4fb;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mk-card-cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--mk-teal);
}

.mk-card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.mk-card-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--mk-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mk-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.mk-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--mk-accent-deep);
}

.mk-compare {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.mk-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fee2e2;
  color: #b91c1c;
}

.mk-badge.sale {
  background: #ffedd5;
  color: #c2410c;
}

.mk-badge.digital {
  background: #ccfbf1;
  color: #0f766e;
}

.mk-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--mk-muted);
  background: #fff;
  border: 1.5px dashed var(--mk-line);
  border-radius: var(--mk-radius);
}

/* Product detail */
.mk-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  margin-top: 12px;
}

@media (max-width: 800px) {
  .mk-detail { grid-template-columns: 1fr; }
}

.mk-gallery {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--mk-shadow);
}

.mk-gallery-main {
  aspect-ratio: auto;
  min-height: 240px;
  background: #eef4fb;
  display: grid;
  place-items: center;
}

.mk-gallery-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.mk-info h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.25;
}

.mk-info .mk-lead {
  color: var(--mk-muted);
  margin: 0 0 16px;
}

.mk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.mk-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f0fe;
  color: var(--mk-accent-deep);
}

.mk-buy-box {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.mk-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
}

.mk-qty button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--mk-line);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.mk-qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
}

.mk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-desc {
  margin-top: 20px;
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 18px 20px;
  white-space: pre-wrap;
  font-size: 14.5px;
}

.mk-highlights {
  margin: 12px 0 0;
  padding-left: 1.1em;
}

.mk-highlights li { margin-bottom: 6px; font-size: 14px; }

/* Cart / Checkout */
.mk-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--mk-line);
}

.mk-table th,
.mk-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--mk-line);
  font-size: 14px;
  vertical-align: middle;
}

.mk-table th {
  background: #eef4fb;
  font-size: 12px;
  color: var(--mk-muted);
}

.mk-table tr:last-child td { border-bottom: none; }

.mk-line-product {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mk-line-product img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef4fb;
}

.mk-summary {
  margin-top: 18px;
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 360px;
  margin-left: auto;
}

.mk-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.mk-summary-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px solid var(--mk-line);
  font-size: 1.15rem;
  font-weight: 900;
}

.mk-form {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
}

.mk-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.mk-form input,
.mk-form select,
.mk-form textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1.5px solid var(--mk-line);
  border-radius: 10px;
  font-weight: 500;
}

.mk-form textarea { min-height: 90px; resize: vertical; }

.mk-addr-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-addr-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--mk-ink);
}

.mk-addr-zip-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.mk-addr-zip-row input {
  flex: 1;
  min-width: 0;
}

.mk-addr-search {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 14px;
  font-size: 13px;
}

.mk-addr-block input[readonly] {
  background: #f8fafc;
  cursor: pointer;
}

.mk-memo-custom[hidden] {
  display: none !important;
}

.mk-notice {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  color: #9a3412;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 14px 0;
}

.mk-bank {
  background: #f0fdfa;
  border: 1.5px solid #99f6e4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}

.mk-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0f2744;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  z-index: 50;
  transform: translateY(80px);
  opacity: 0;
  transition: 0.25s;
}

.mk-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Admin */
.mk-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .mk-admin-grid { grid-template-columns: 1fr; }
}

.mk-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  background: #0f2744;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 12px;
  white-space: pre-wrap;
  max-height: 480px;
  overflow: auto;
}

.mk-section-title {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.mk-section-desc {
  margin: 0 0 18px;
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-mypage-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}
.mk-mypage-hero p { margin: 6px 0 0; color: var(--mk-muted); font-size: 13px; }
.mk-mypage-actions { display: flex; gap: 8px; align-items: center; }
.mk-mypage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
@media (max-width: 800px) {
  .mk-mypage-grid { grid-template-columns: 1fr; }
}
.mk-panel {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 16px;
}
.mk-panel h2 { margin: 0 0 12px; font-size: 1.05rem; }
.mk-order-list { list-style: none; margin: 0; padding: 0; }
.mk-order-list li { border-bottom: 1px solid var(--mk-line); }
.mk-order-list a {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.mk-order-id { font-family: ui-monospace, Consolas, monospace; }
.mk-muted { color: var(--mk-muted); font-size: 13px; }
.mk-addr { border-bottom: 1px solid var(--mk-line); padding: 10px 0; }
.mk-addr p { margin: 6px 0; font-size: 13px; }
.mk-track {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  overflow: auto;
}
.mk-track li {
  flex: 1;
  min-width: 72px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  padding: 8px 4px;
  border-bottom: 3px solid #e2e8f0;
}
.mk-track li.is-on {
  color: #0d9488;
  border-bottom-color: #0d9488;
}

/* Toss Payments checkout */
.mk-toss-area {
  margin-top: 20px;
  background: var(--mk-surface);
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 18px;
}

.mk-toss-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-toss-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--mk-muted);
  line-height: 1.45;
}

.mk-toss-pay {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  font-size: 16px;
  padding: 14px 20px;
}

.mk-success-card {
  text-align: center;
  background: var(--mk-surface);
  border: 1.5px solid var(--mk-line);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--mk-shadow);
}

.mk-success-icon {
  font-size: 48px;
  color: #0d9488;
  margin-bottom: 12px;
}

.mk-empty-error {
  color: #b91c1c;
}

/* Bank transfer panel */
.mk-bank-panel {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 16px 18px;
}
.mk-bank-panel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-bank-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--mk-muted);
  line-height: 1.5;
}
.mk-bank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--mk-line);
  font-size: 14px;
}
.mk-bank-row span {
  min-width: 72px;
  color: var(--mk-muted);
  font-weight: 700;
  font-size: 12px;
}
.mk-bank-row strong {
  flex: 1;
  font-weight: 900;
  word-break: break-all;
}
.mk-copy {
  border: 1px solid var(--mk-line);
  background: #f8fafc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.mk-copy:hover { background: #e8f0fe; color: var(--mk-accent); }

/* Bank checkout — enlarged panel */
.mk-bank-checkout {
  margin-top: 20px;
  padding: 24px 22px;
  border-width: 2px;
  border-color: #cbd5e1;
  box-shadow: var(--mk-shadow);
}
.mk-bank-checkout h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.mk-bank-checkout .mk-bank-hint {
  font-size: 14px;
  margin-bottom: 16px;
}
.mk-bank-checkout .mk-bank-row {
  padding: 14px 0;
  font-size: 15px;
}
.mk-bank-checkout .mk-bank-row span {
  min-width: 84px;
  font-size: 13px;
}
.mk-bank-checkout .mk-bank-row strong {
  font-size: 1.05rem;
}
.mk-bank-checkout .mk-copy {
  padding: 8px 14px;
  font-size: 13px;
}
.mk-bank-pay {
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
  font-size: 1.05rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Order progress steps */
.mk-order-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: mkstep;
}
.mk-order-step {
  flex: 1;
  min-width: 100px;
  position: relative;
  text-align: center;
  padding: 0 8px 0 0;
}
.mk-order-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 14px);
  right: -8px;
  height: 3px;
  background: var(--mk-line);
  z-index: 0;
}
.mk-order-step.done:not(:last-child)::after {
  background: #0d9488;
}
.mk-order-step-dot {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid var(--mk-line);
  position: relative;
  z-index: 1;
}
.mk-order-step.done .mk-order-step-dot {
  background: #0d9488;
  border-color: #0d9488;
}
.mk-order-step.done .mk-order-step-dot::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 24px;
  display: block;
}
.mk-order-step.active .mk-order-step-dot {
  background: #fff;
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}
.mk-order-step-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--mk-muted);
  line-height: 1.35;
}
.mk-order-step.done .mk-order-step-label,
.mk-order-step.active .mk-order-step-label {
  color: var(--mk-ink);
}
.mk-order-steps-compact {
  margin-bottom: 12px;
}
.mk-order-steps-compact .mk-order-step-dot {
  width: 22px;
  height: 22px;
}
.mk-order-steps-compact .mk-order-step-label {
  font-size: 11px;
}
.mk-order-card {
  border: 1.5px solid var(--mk-line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.mk-order-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}
.mk-order-card-head a {
  font-weight: 800;
}

.mk-download-btn:disabled,
.mk-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.mk-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.mk-admin-tabs button {
  border: 1.5px solid var(--mk-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.mk-admin-tabs button.active {
  background: var(--mk-accent);
  color: #fff;
  border-color: var(--mk-accent);
}
.mk-order-admin-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1.5px solid var(--mk-line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
}
.mk-purchase-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mk-purchase-table th,
.mk-purchase-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--mk-line);
  vertical-align: middle;
}
.mk-purchase-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mk-muted);
}
@media (max-width: 720px) {
  .mk-purchase-table, .mk-purchase-table thead, .mk-purchase-table tbody,
  .mk-purchase-table th, .mk-purchase-table td, .mk-purchase-table tr {
    display: block;
  }
  .mk-purchase-table thead { display: none; }
  .mk-purchase-table tr {
    border: 1.5px solid var(--mk-line);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 8px;
  }
  .mk-purchase-table td {
    border: 0;
    padding: 6px 8px;
  }
}

/* —— 리뷰 / Q&A / 문의 —— */
.mk-comm-wrap {
  margin-top: 28px;
}
.mk-comm-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.mk-comm-tabs button {
  border: 1.5px solid var(--mk-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.mk-comm-tabs button.active {
  background: var(--mk-accent);
  color: #fff;
  border-color: var(--mk-accent);
}
.mk-comm-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--mk-muted);
}
.mk-comm-summary strong {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.mk-comm-form {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.mk-comm-login {
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 14px;
}
.mk-comm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mk-comm-list > li {
  background: #fff;
  border: 1.5px solid var(--mk-line);
  border-radius: 14px;
  padding: 14px 16px;
}
.mk-comm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--mk-muted);
  margin-bottom: 8px;
}
.mk-comm-meta .mk-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 14px;
}
.mk-comm-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.mk-comm-answer {
  margin-top: 10px;
  padding: 12px;
  background: #f0f7ff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.mk-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mk-check input {
  width: auto !important;
  margin-top: 3px;
}
.mk-muted {
  color: var(--mk-muted);
}
