/**
 * MRVS Photo Curtain - 苹果极简风样式
 * 白底大留白、系统字体，与 air-light 主题视觉基底匹配。
 */

.mrvs-mpc {
  max-width: 720px;
  margin: 32px 0 8px;
  padding: 28px 24px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  box-sizing: border-box;
}

.mrvs-mpc *,
.mrvs-mpc *::before,
.mrvs-mpc *::after {
  box-sizing: border-box;
}

.mrvs-mpc__header {
  text-align: center;
  margin-bottom: 22px;
}

.mrvs-mpc__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

.mrvs-mpc__subtitle {
  margin: 0;
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.5;
}

.mrvs-mpc__upload {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 18px;
  cursor: pointer;
}

.mrvs-mpc__hint {
  font-size: 12px;
  color: #86868b;
}

.mrvs-mpc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 0;
  border-radius: 980px;
  background: #0071e3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: inherit;
}

.mrvs-mpc__btn:hover {
  background: #0077ed;
}

.mrvs-mpc__btn:active {
  transform: scale(0.98);
}

.mrvs-mpc__btn[disabled] {
  background: #c7c7cc;
  cursor: not-allowed;
}

.mrvs-mpc__btn:not(.mrvs-mpc__btn-primary) {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.mrvs-mpc__btn:not(.mrvs-mpc__btn-primary):hover {
  background: #eaeaea;
}

.mrvs-mpc__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.mrvs-mpc__label {
  min-width: 84px;
  font-size: 13px;
  color: #6e6e73;
  font-weight: 500;
}

.mrvs-mpc__options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mrvs-mpc__opt {
  padding: 7px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 980px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.mrvs-mpc__opt:hover {
  border-color: #0071e3;
  color: #0071e3;
}

.mrvs-mpc__opt[data-active] {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
}

.mrvs-mpc__stage-wrap {
  margin-top: 4px;
}

.mrvs-mpc__canvas-holder {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f2 100%);
  border-radius: 14px;
  min-height: 120px;
}

.mrvs-mpc__canvas-holder canvas {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.mrvs-mpc__ops {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mrvs-mpc__tip {
  font-size: 12px;
  color: #86868b;
}

.mrvs-mpc__preview-text {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #1d1d1f;
}

.mrvs-mpc__preview-text--error {
  color: #d70015;
}

@media (max-width: 600px) {
  .mrvs-mpc {
    padding: 20px 16px;
  }
  .mrvs-mpc__title {
    font-size: 19px;
  }
  .mrvs-mpc__label {
    min-width: 100%;
  }
}

/* 购物车缩略图微调 */
.mrvs-mpc__cart-thumb {
  object-fit: cover;
}
