@charset "UTF-8";
/* ── 부천FC 1995 헤르메스 MD ── */
/* ── Fixed fullscreen background (somoim pattern) ── */
.mdshop-fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 50% 20%, #1a0505 0%, #000000 100%), linear-gradient(180deg, #000000 0%, #68050a 50%, #000000 100%);
  background-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}
/* ── Shell ── */
.mdshop-shell {
  --mdshop-panel: rgba(255, 255, 255, 0.05);
  --mdshop-panel-hover: rgba(255, 255, 255, 0.08);
  --mdshop-border: rgba(255, 255, 255, 0.1);
  --mdshop-border-hover: rgba(255, 210, 74, 0.3);
  --mdshop-text: #fff;
  --mdshop-muted: rgba(255, 255, 255, 0.65);
  --mdshop-accent: #E2001A;
  --mdshop-gold: #ffd24a;
  --mdshop-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --mdshop-radius: 20px;
  --mdshop-radius-sm: 12px;
  --mdshop-blur: blur(20px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  position: relative;
  z-index: 2;
  color: var(--mdshop-text);
  font-family: "Pretendard", -apple-system, "Segoe UI", sans-serif;
}
.mdshop-shell--narrow {
  max-width: 860px;
}
.mdshop-shell a {
  color: inherit;
  text-decoration: none;
}
.mdshop-shell h1, .mdshop-shell h2, .mdshop-shell h3, .mdshop-shell strong, .mdshop-shell .mdshop-price {
  font-family: "Pretendard", -apple-system, sans-serif;
  font-weight: 700;
}
/* ── Hero ── */
.mdshop-hero {
  text-align: center;
  padding: 80px 40px 60px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: radial-gradient(circle at 50% 20%, rgba(226, 0, 26, 0.18), transparent 60%), var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
}
.mdshop-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 0, 26, 0.12), transparent 70%);
  pointer-events: none;
}
.mdshop-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--mdshop-gold);
  border: 1px solid var(--mdshop-gold);
  border-radius: 50px;
}
.mdshop-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(to bottom, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mdshop-hero-sub {
  margin: 12px 0 0;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--mdshop-accent);
  text-shadow: 0 0 20px rgba(226, 0, 26, 0.4);
}
.mdshop-hero-copy {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--mdshop-muted);
  line-height: 1.7;
}
.mdshop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
/* ── Buttons ── */
.mdshop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--mdshop-radius-sm);
  background: var(--mdshop-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(226, 0, 26, 0.25);
}
.mdshop-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(226, 0, 26, 0.35);
}
.mdshop-button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mdshop-text);
  box-shadow: none;
}
.mdshop-button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--mdshop-border-hover);
  box-shadow: none;
}
.mdshop-button--disabled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
  box-shadow: none;
}
.mdshop-button--disabled:hover {
  transform: none;
}
.mdshop-button--danger {
  background: #c0392b;
  color: #fff;
  box-shadow: none;
}
.mdshop-button--danger:hover {
  background: #e74c3c;
}
.mdshop-button--sm {
  padding: 8px 14px;
  font-size: 13px;
}
.mdshop-card-actions, .mdshop-detail-actions, .mdshop-form-actions, .mdshop-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* ── Product Grid ── */
.mdshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mdshop-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mdshop-card:hover {
  transform: translateY(-5px);
  border-color: var(--mdshop-border-hover);
}
.mdshop-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.mdshop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.mdshop-card:hover .mdshop-card-media img {
  transform: scale(1.05);
}
.mdshop-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(226, 0, 26, 0.06), rgba(255, 210, 74, 0.04));
}
.mdshop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  color: var(--mdshop-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mdshop-badge.is-soldout {
  background: rgba(226, 0, 26, 0.55);
  color: #ffb4b8;
}
.mdshop-badge.is-preorder {
  background: rgba(96, 165, 250, 0.55);
  color: #e0edff;
}
.mdshop-badge.is-expired {
  background: rgba(120, 120, 120, 0.55);
  color: #ccc;
}
.mdshop-kicker.is-preorder {
  color: #60a5fa;
  border-color: #60a5fa;
}
.mdshop-kicker.is-expired {
  color: #999;
  border-color: #999;
}
.mdshop-card-body {
  padding: 20px 22px 24px;
}
.mdshop-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mdshop-price {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  color: var(--mdshop-gold);
}
/* ── Product Detail ── */
.mdshop-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
}
.mdshop-detail-media {
  position: relative;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.mdshop-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mdshop-detail-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.mdshop-detail-body .mdshop-kicker {
  align-self: flex-start;
}
.mdshop-detail-body h1 {
  margin: 12px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}
.mdshop-detail-body .mdshop-price {
  margin: 14px 0 0;
  font-size: 32px;
}
.mdshop-copy {
  margin: 18px 0;
  color: var(--mdshop-muted);
  line-height: 1.8;
  font-size: 15px;
}
/* ── Product Detail: Editor Content (below card, full width) ── */
.mdshop-detail-content {
  margin-top: 28px;
  padding: 32px;
  border-radius: var(--mdshop-radius);
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  color: #333;
  line-height: 1.8;
  font-size: 15px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.mdshop-detail-content img {
  max-width: 100%;
  height: auto;
}
.mdshop-shell .mdshop-detail-content p {
  margin: 0 0 12px;
  color: #444;
}
.mdshop-shell .mdshop-detail-content a {
  color: #1a73e8;
}
.mdshop-shell .mdshop-detail-content h1, .mdshop-shell .mdshop-detail-content h2, .mdshop-shell .mdshop-detail-content h3 {
  color: #222;
  margin: 24px 0 12px;
}
.mdshop-shell .mdshop-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.mdshop-shell .mdshop-detail-content table td, .mdshop-shell .mdshop-detail-content table th {
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
}
.mdshop-detail-content iframe, .mdshop-detail-content video {
  max-width: 100%;
}
.mdshop-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}
.mdshop-meta-grid div {
  padding: 14px 16px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-meta-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mdshop-muted);
}
.mdshop-meta-grid strong {
  font-size: 18px;
  font-weight: 700;
}
.mdshop-detail-actions {
  margin-top: auto;
}
/* ── Form ── */
.mdshop-form-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
  padding: 36px 32px;
}
.mdshop-form-header {
  text-align: center;
  margin-bottom: 28px;
}
.mdshop-form-header h1 {
  margin: 10px 0 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}
.mdshop-form-header p {
  margin: 10px 0 0;
  color: var(--mdshop-muted);
  font-size: 14px;
}
.mdshop-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-bottom: 22px;
  border-radius: var(--mdshop-radius-sm);
  background: linear-gradient(135deg, rgba(226, 0, 26, 0.1), rgba(255, 210, 74, 0.08));
  border: 1px solid rgba(255, 210, 74, 0.12);
}
.mdshop-summary-card span {
  font-size: 13px;
  color: var(--mdshop-muted);
}
.mdshop-summary-card strong {
  font-size: 22px;
  color: var(--mdshop-gold);
}
.mdshop-form {
  display: grid;
  gap: 20px;
}
.mdshop-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mdshop-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mdshop-muted);
}
.mdshop-form label em {
  color: var(--mdshop-accent);
  font-style: normal;
}
.mdshop-form input, .mdshop-form select, .mdshop-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--mdshop-radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--mdshop-text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mdshop-form input:focus, .mdshop-form select:focus, .mdshop-form textarea:focus {
  outline: none;
  border-color: rgba(255, 210, 74, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 210, 74, 0.08);
}
.mdshop-form textarea {
  resize: vertical;
  min-height: 80px;
}
.mdshop-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.mdshop-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.mdshop-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: var(--mdshop-radius-sm);
  background: linear-gradient(135deg, rgba(226, 0, 26, 0.12), rgba(255, 210, 74, 0.1));
  border: 1px solid rgba(255, 210, 74, 0.15);
}
.mdshop-total-bar span {
  font-size: 14px;
  font-weight: 600;
}
.mdshop-total-bar strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--mdshop-gold);
}
/* ── Order Complete ── */
.mdshop-complete-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
  padding: 48px 36px;
  text-align: center;
}
.mdshop-complete-card h1 {
  margin: 12px 0 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}
.mdshop-complete-card .mdshop-form-actions {
  margin-top: 28px;
}
.mdshop-order-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
  text-align: left;
}
.mdshop-order-meta div {
  padding: 14px 16px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-order-meta span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mdshop-muted);
}
.mdshop-order-meta strong {
  font-size: 16px;
}
.mdshop-payment-card {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 210, 74, 0.1);
  text-align: left;
}
.mdshop-payment-card h2 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--mdshop-gold);
}
.mdshop-payment-card dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 10px;
  margin: 0;
  font-size: 14px;
}
.mdshop-payment-card dt {
  color: var(--mdshop-muted);
}
.mdshop-payment-card dd {
  margin: 0;
  font-weight: 600;
}
.mdshop-payment-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mdshop-muted);
  font-size: 13px;
  line-height: 1.7;
}
/* ── Panel (Orders list) ── */
.mdshop-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mdshop-border);
  border-radius: var(--mdshop-radius);
  background: var(--mdshop-panel);
  backdrop-filter: var(--mdshop-blur);
  -webkit-backdrop-filter: var(--mdshop-blur);
  box-shadow: var(--mdshop-shadow);
  padding: 32px 28px;
}
.mdshop-panel .mdshop-section-head h1 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}
/* ── Table ── */
.mdshop-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}
.mdshop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.mdshop-table th, .mdshop-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: middle;
}
.mdshop-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdshop-gold);
  border-bottom-color: rgba(255, 210, 74, 0.15);
}
.mdshop-table tbody tr {
  transition: background 0.15s;
}
.mdshop-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
/* ── Mobile sub-row: hidden on desktop ── */
.mdshop-show-mobile {
  display: none;
}
.mdshop-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.mdshop-status--ordered {
  background: rgba(255, 210, 74, 0.12);
  color: var(--mdshop-gold);
}
.mdshop-status--paid {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}
.mdshop-status--picked_up {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
}
.mdshop-status--cancelled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}
/* ── Order Cards (My Orders) ── */
.mdshop-order-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.mdshop-order-card {
  padding: 18px 20px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
}
.mdshop-order-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.mdshop-order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mdshop-order-card-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--mdshop-muted);
  letter-spacing: 0.02em;
}
.mdshop-order-card-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mdshop-order-card-product {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.mdshop-order-card-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--mdshop-muted);
  flex-shrink: 0;
}
.mdshop-order-card-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--mdshop-gold);
}
.mdshop-order-card-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* ── Cancel Form (toggle) ── */
.mdshop-cancel-form {
  display: none;
  width: 100%;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
}
.mdshop-cancel-form.is-open {
  display: block;
}
.mdshop-cancel-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mdshop-muted);
}
.mdshop-cancel-form textarea, .mdshop-cancel-form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--mdshop-radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--mdshop-text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.mdshop-cancel-form textarea:focus, .mdshop-cancel-form input[type="text"]:focus {
  outline: none;
  border-color: rgba(192, 57, 43, 0.4);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.mdshop-cancel-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.mdshop-required {
  color: var(--mdshop-accent);
  font-weight: 700;
}
/* ── Empty State ── */
.mdshop-empty {
  padding: 48px 24px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mdshop-muted);
  text-align: center;
  font-size: 15px;
}
/* ── Pagination ── */
.mdshop-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mdshop-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.page-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mdshop-text);
}
.page-link.is-active {
  background: var(--mdshop-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(226, 0, 26, 0.3);
}
.page-link--edge {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* ── Option Quantity Grid ── */
.mdshop-option-qty-grid {
  padding: 20px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-option-qty-grid h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}
.mdshop-option-qty-grid h3 em {
  color: var(--mdshop-accent);
  font-style: normal;
}
.mdshop-option-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mdshop-option-qty-row:last-child {
  border-bottom: 0;
}
.mdshop-option-qty-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--mdshop-text);
}
.mdshop-option-qty-input {
  width: 90px !important;
  padding: 10px 12px !important;
  text-align: center;
  color-scheme: dark;
}
.mdshop-option-qty-input::-webkit-inner-spin-button, .mdshop-option-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button;
  opacity: 1;
  filter: invert(1);
}
/* ── Option Stock: Order Form ── */
.mdshop-option-remaining {
  display: inline;
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--mdshop-muted);
}
.mdshop-option-soldout {
  opacity: 0.4;
  pointer-events: none;
}
.mdshop-option-soldout .mdshop-option-qty-label::after {
  content: " (품절)";
  color: var(--mdshop-accent);
  font-size: 12px;
  font-weight: 600;
}
/* ── Inline Options: Manager Product Form ── */
.mdshop-toggle-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.mdshop-toggle-row input[type="checkbox"] {
  width: auto !important;
  accent-color: var(--mdshop-accent);
}
.mdshop-toggle-row span {
  font-size: 15px;
  font-weight: 600;
}
.mdshop-inline-options {
  padding: 20px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}
.mdshop-option-rows-header {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--mdshop-muted);
  text-transform: uppercase;
}
.mdshop-option-rows-header span:first-child {
  flex: 1;
}
.mdshop-option-rows-header span:nth-child(2) {
  width: 100px;
  text-align: center;
}
.mdshop-option-rows-header-action {
  width: 36px;
}
.mdshop-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mdshop-option-row input[type="text"] {
  flex: 1;
}
.mdshop-option-row input[type="number"] {
  width: 100px !important;
  text-align: center;
}
.mdshop-option-remove {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mdshop-muted);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mdshop-option-remove:hover {
  border-color: var(--mdshop-accent);
  color: var(--mdshop-accent);
}
.mdshop-option-stock-clear {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.15);
}
.mdshop-option-stock-clear label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}
.mdshop-option-stock-clear input[type="checkbox"] {
  width: auto !important;
}
.mdshop-option-stock-clear p {
  margin: 6px 0 0 26px;
  font-size: 12px;
}
/* ── Danger text ── */
.mdshop-text-danger {
  color: var(--mdshop-accent);
}
/* ── Tag (manager product list) ── */
.mdshop-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 210, 74, 0.12);
  color: var(--mdshop-gold);
}
.mdshop-tag--danger {
  background: rgba(226, 0, 26, 0.12);
  color: var(--mdshop-accent);
}
/* ── Editor Wrap ── */
.mdshop-editor-wrap {
  display: grid;
  gap: 8px;
}
.mdshop-editor-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mdshop-muted);
}
.mdshop-editor-wrap .xe_content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--mdshop-radius-sm);
  color: #222;
}
/* ── Direct Input Toggle ── */
.mdshop-direct-input {
  display: none;
}
.mdshop-direct-input.is-visible {
  display: grid;
}
/* ── Common text styling ── */
.mdshop-shell p, .mdshop-shell li, .mdshop-shell dd {
  color: var(--mdshop-muted);
  line-height: 1.7;
}
/* ── Image preview (manager) ── */
.mdshop-image-preview {
  width: 220px;
  height: 220px;
  margin: 8px 0 12px;
  overflow: hidden;
  border-radius: var(--mdshop-radius);
}
.mdshop-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ─────────────────────────────────────────────
   Manager / Admin styles
   ───────────────────────────────────────────── */
.mdshop-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mdshop-stat-card {
  padding: 20px 18px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-stat-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mdshop-muted);
}
.mdshop-stat-card strong {
  font-size: 24px;
  font-weight: 800;
}
.mdshop-card-grid--summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.mdshop-inline-actions--stack {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.mdshop-detail-card {
  padding: 24px;
  border-radius: var(--mdshop-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-detail-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 10px;
  margin: 0;
}
.mdshop-detail-card dt {
  color: var(--mdshop-gold);
  font-size: 13px;
}
.mdshop-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.mdshop-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.mdshop-chart-card {
  padding: 22px;
  border-radius: var(--mdshop-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.mdshop-chart-card canvas {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
.mdshop-chart-card--wide {
  grid-column: span 2;
}
.mdshop-manager-head, .mdshop-manager-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mdshop-manager-nav {
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mdshop-manager-nav a {
  padding: 8px 14px;
  border-radius: 50px;
  color: var(--mdshop-muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s;
}
.mdshop-manager-nav a:hover {
  color: var(--mdshop-text);
}
.mdshop-manager-nav a.is-active {
  background: rgba(226, 0, 26, 0.15);
  color: #fff;
}
.mdshop-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.mdshop-inline-form input {
  min-width: 220px;
}
.mdshop-inline-editor summary {
  cursor: pointer;
  color: var(--mdshop-gold);
}
.mdshop-form--compact {
  margin-top: 14px;
}
.mdshop-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.mdshop-filter-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mdshop-muted);
}
.mdshop-filter-grid input, .mdshop-filter-grid select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--mdshop-radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--mdshop-text);
  font-size: 14px;
  font-family: inherit;
}
.mdshop-filter-inline {
  display: grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 16px;
}
.mdshop-filter-inline label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mdshop-muted);
}
.mdshop-filter-inline select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--mdshop-radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--mdshop-text);
  font-size: 14px;
  font-family: inherit;
}
.mdshop-empty-text {
  padding: 26px;
  border-radius: var(--mdshop-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mdshop-muted);
  text-align: center;
}
/* ── Responsive ── */
@media (max-width: 960px) {
  .mdshop-card-grid--summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mdshop-grid, .mdshop-card-grid, .mdshop-chart-grid, .mdshop-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mdshop-detail {
    grid-template-columns: 1fr 1fr;
  }
  .mdshop-chart-card--wide {
    grid-column: auto;
  }
}
@media (max-width: 720px) {
  /* ── Manager header + nav ── */
  /* ── Section head: stack title + controls ── */
  /* ── Hide helper: mobile only ── */
  /* ── Show helper: mobile only ── */
  /* ── Sub-row: price + status below main row (mobile) ── */
  /* ── Tables: wrap instead of horizontal scroll ── */
  /* ── Table action buttons: stack vertically ── */
  /* ── Orders table: slim columns ── */
  /* ── Products table: handled by .mdshop-hide-mobile class ── */
  /* ── Stats: chart + detail card 완전 통일 ── */
  /* detail-card 안 테이블: 카드 안쪽에 맞게 */
  /* detail-card DL */
  /* ── Inline actions stack ── */
  /* ── Cancel form compact ── */
  /* ── Fields: inline editor → fullscreen modal ── */
  .mdshop-shell {
    padding: 20px 10px 54px;
  }
  .mdshop-hero {
    padding: 48px 22px 36px;
  }
  .mdshop-card-body, .mdshop-form-wrap, .mdshop-complete-card, .mdshop-detail-body {
    padding: 22px 18px;
  }
  .mdshop-detail-content {
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: var(--mdshop-radius-sm);
  }
  .mdshop-panel {
    padding: 18px 12px;
    border-radius: var(--mdshop-radius-sm);
    max-width: 100%;
  }
  .mdshop-grid, .mdshop-card-grid, .mdshop-form-grid, .mdshop-chart-grid, .mdshop-detail-grid, .mdshop-detail, .mdshop-order-meta, .mdshop-meta-grid {
    grid-template-columns: 1fr;
  }
  .mdshop-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mdshop-filter-grid label {
    min-width: 0;
    overflow: hidden;
  }
  .mdshop-filter-grid input, .mdshop-filter-grid select {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    height: 40px;
    padding: 0 8px;
    font-size: 13px;
  }
  .mdshop-filter-grid input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
  }
  .mdshop-filter-grid .mdshop-inline-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .mdshop-card-grid--summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mdshop-stat-card {
    padding: 14px 12px;
  }
  .mdshop-stat-card strong {
    font-size: 20px;
  }
  .mdshop-filter-inline {
    grid-auto-flow: row;
  }
  .mdshop-detail-media {
    min-height: 280px;
  }
  .mdshop-hero h1 {
    font-size: 28px;
  }
  .mdshop-manager-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mdshop-manager-head h1 {
    font-size: 22px;
  }
  .mdshop-manager-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 6px;
    gap: 4px;
  }
  .mdshop-manager-nav a {
    flex: 1 1 auto;
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
  }
  .mdshop-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mdshop-section-head .mdshop-inline-actions {
    width: 100%;
    flex-direction: column;
  }
  .mdshop-section-head .mdshop-filter-inline {
    width: 100%;
  }
  .mdshop-hide-mobile {
    display: none;
  }
  .mdshop-show-mobile {
    display: table-row;
  }
  .mdshop-table--dashboard tbody tr:not(.mdshop-sub-row) td, .mdshop-table--orders tbody tr:not(.mdshop-sub-row) td, .mdshop-table--products tbody tr:not(.mdshop-sub-row) td, .mdshop-table--fields tbody tr:not(.mdshop-sub-row) td {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .mdshop-sub-row td {
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right;
    font-size: 11px;
  }
  .mdshop-sub-row .mdshop-sub-price {
    color: var(--mdshop-gold);
    margin-right: 8px;
  }
  .mdshop-sub-row .mdshop-sub-status {
    color: var(--mdshop-muted);
    margin-right: 8px;
  }
  .mdshop-sub-row .mdshop-status-ordered {
    color: var(--mdshop-gold);
  }
  .mdshop-sub-row .mdshop-status-paid {
    color: #4ecdc4;
  }
  .mdshop-sub-row .mdshop-status-cancelled {
    color: #ff6b6b;
  }
  .mdshop-sub-row .mdshop-sub-actions {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
  }
  .mdshop-sub-row .mdshop-sub-actions .mdshop-button {
    padding: 3px 6px;
    font-size: 10px;
  }
  .mdshop-table-wrap {
    margin-top: 14px;
    overflow-x: visible;
  }
  .mdshop-table {
    font-size: 12px;
  }
  .mdshop-table th, .mdshop-table td {
    padding: 10px 6px;
    word-break: keep-all;
    vertical-align: top;
  }
  .mdshop-table th {
    font-size: 10px;
    white-space: nowrap;
  }
  .mdshop-table .mdshop-inline-actions {
    flex-direction: column;
    gap: 4px;
  }
  .mdshop-table .mdshop-button {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .mdshop-table--orders td:nth-child(1) {
    font-size: 11px;
  }
  .mdshop-table--orders td:nth-child(5), .mdshop-table--orders td:nth-child(6), .mdshop-table--orders td:nth-child(7) {
    font-size: 11px;
  }
  .mdshop-chart-grid, .mdshop-detail-grid {
    gap: 12px;
    margin-top: 12px;
  }
  .mdshop-chart-card, .mdshop-detail-card {
    padding: 14px 10px;
    border-radius: var(--mdshop-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .mdshop-chart-card canvas {
    max-width: 100%;
    box-sizing: border-box;
  }
  .mdshop-chart-card h3, .mdshop-detail-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
  }
  .mdshop-detail-card .mdshop-table-wrap {
    margin: 10px 0 0;
    overflow-x: auto;
  }
  .mdshop-detail-card .mdshop-table {
    font-size: 12px;
  }
  .mdshop-detail-card .mdshop-table th, .mdshop-detail-card .mdshop-table td {
    padding: 8px 6px;
  }
  .mdshop-detail-card dl {
    grid-template-columns: 90px 1fr;
    row-gap: 8px;
    font-size: 13px;
  }
  .mdshop-inline-actions--stack {
    flex-direction: column;
    gap: 8px;
  }
  .mdshop-cancel-form {
    padding: 14px;
  }
  .mdshop-inline-editor[open] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 2, 2, 0.97);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .mdshop-inline-editor[open] > summary {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--mdshop-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .mdshop-inline-editor[open] > summary::marker, .mdshop-inline-editor[open] > summary::-webkit-details-marker {
    display: none;
  }
  .mdshop-inline-editor[open] > summary::before {
    content: "← 닫기";
  }
  .mdshop-inline-editor[open] > summary {
    font-size: 0;
  }
  .mdshop-inline-editor[open] > summary::before {
    font-size: 13px;
  }
  .mdshop-inline-editor[open] .mdshop-form {
    gap: 16px;
  }
  .mdshop-inline-editor[open] .mdshop-form label {
    display: grid;
    gap: 6px;
  }
  .mdshop-inline-editor[open] .mdshop-form input, .mdshop-inline-editor[open] .mdshop-form select, .mdshop-inline-editor[open] .mdshop-form textarea {
    width: 100%;
  }
}
/*# sourceMappingURL=cde2e19db4eec3d94a9299b2d7a9be35d83562a0.mdshop.scss.map */
