.mar-form,
.mar-profile {
  /*border: 1px solid #707070;*/
  padding: 28px;
  margin: 16px 0;
  border-radius: 6px;
  color: #202020;
}

.mar-form h3,
.mar-form h4,
.mar-profile h3 {
  color: #202020;
  margin-top: 0;
}

.mar-form h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

/* ── Login/Signup/Forgot Password button loading spinner ───── */
.mar-login-continue-btn.is-loading,
.mar-login-submit.is-loading,
.mar-login-code-submit.is-loading,
.mar-login-social-btn.is-loading,
.mar-login-code-resend-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.mar-login-continue-btn.is-loading::after,
.mar-login-submit.is-loading::after,
.mar-login-code-submit.is-loading::after,
.mar-login-social-btn.is-loading::after,
.mar-login-code-resend-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: mar-btn-spin 0.6s linear infinite;
  z-index: 1;
}

@keyframes mar-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.mar-form h4 {
  font-size: 22px !important;
  margin-bottom: 20px;
}

.mar-form label {
  display: block;
  color: #202020;
  font-weight: 500;
}

.mar-label-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mar-required-marker {
  color: #dc2626;
  font-weight: 700;
  line-height: 1;
}

.mar-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mar-form input,
.mar-form select,
.mar-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 10px 12px;
  background: #ffffff;
  color: #202020;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
  border-radius: 6px !important;
}

.mar-form input::placeholder,
.mar-form textarea::placeholder {
  color: #707070;
  opacity: 1;
}

.mar-form input:focus,
.mar-form select:focus,
.mar-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.mar-password-field {
  position: relative;
  display: block;
  margin-top: 8px;
}

.mar-password-field input {
  margin-top: 0;
  padding-right: 52px;
}

.mar-password-toggle {
  position: absolute !important;
  top: 43% !important;
  right: 12px !important;
  z-index: 5 !important;
  transform: translateY(-50%) !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--primary) !important;
  line-height: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide browser-native reveal controls so only our custom toggle is used. */
.mar-password-field input[type="password"]::-ms-reveal,
.mar-password-field input[type="password"]::-ms-clear {
  display: none !important;
}

.mar-password-field
  input[type="password"]::-webkit-contacts-auto-fill-button,
.mar-password-field
  input[type="password"]::-webkit-credentials-auto-fill-button {
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
}

.mar-password-toggle:hover,
.mar-password-toggle:focus {
  background: transparent !important;
  color: #202020 !important;
}

.mar-password-toggle-icon {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

.mar-password-toggle .mar-password-toggle-icon-hide {
  display: none !important;
}

.mar-password-toggle[aria-pressed="true"] .mar-password-toggle-icon-show {
  display: none !important;
}

.mar-password-toggle[aria-pressed="true"] .mar-password-toggle-icon-hide {
  display: inline-flex !important;
}

.mar-password-toggle:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

.mar-label-with-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}

.mar-password-rules-toggle {
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 999px !important;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mar-password-rules-help {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 85vw);
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  z-index: 20;
  pointer-events: none;
}

.mar-label-with-help .mar-password-rules-help::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  border-left: 1px solid #cbd5e1;
  transform: rotate(45deg);
}

.mar-label-with-help
  .mar-password-rules-toggle[aria-expanded="true"]
  + .mar-password-rules-help {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mar-step-title-with-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mar-inline-help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mar-inline-help-toggle {
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 999px !important;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mar-inline-help-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 88vw);
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  z-index: 25;
  pointer-events: none;
}

.mar-inline-help-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  border-left: 1px solid #cbd5e1;
  transform: rotate(45deg);
}

.mar-inline-help-toggle[aria-expanded="true"] + .mar-inline-help-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mar-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%232BB4B8' d='M7 9L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
  min-width: 100%;
}

.mar-radio-group.mar-inline-radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mar-radio-group.mar-inline-radio .mar-radio-label {
  display: flex;
  align-items: last baseline;
  position: relative;
  top: 12px;
}

.mar-radio-group.mar-inline-radio input[type^="radio"] {
  position: relative;
  top: 4px;
}

label.mar-radio-label:nth-child(1) > span:nth-child(2),
label.mar-radio-label:nth-child(2) > span:nth-child(2) {
  margin-left: -110px;
}

.mar-form.mar-signup-form .mar-city-select {
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  background-image: none;
  padding-right: 12px;
  display: block;
}

.mar-progress {
  margin: 8px 0 26px;
}

.mar-luxury-signup {
  min-height: auto;
}

.mar-progress-bar {
  width: 33.33%;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 260ms ease;
}

.mar-progress-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.mar-form.mar-piece-upload-form .mar-progress-labels {
  grid-template-columns: repeat(7, 1fr);
}

.mar-form.mar-signup-form .mar-progress-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.mar-step-tab {
  appearance: none;
  background: transparent;
  color: #707070;
  border: none;
  border: none !important;
  border-bottom: 1px solid #707070 !important;
  border-radius: 0px !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 180ms ease;
}

.mar-step-tab:hover {
  background: transparent !important;
  color: #202020 !important;
  font-weight: bold !important;
  border-bottom: 2px solid #202020 !important;
}

.mar-step-tab.is-active {
  background: transparent;
  color: var(--primary) !important;
  font-weight: bold !important;
  border-bottom: 2px solid var(--primary) !important;
}

.mar-step-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mar-step {
  display: none;
  min-height: auto;
  flex-direction: column;
  animation: marFadeIn 240ms ease;
}

.mar-step.is-active {
  display: flex;
}

.mar-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #b91c1c;
}

.mar-signup-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 18px;
  background:
    radial-gradient(
      circle at top right,
      rgba(43, 180, 184, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
}

.mar-piece-upload-review {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Step 15 Review Layout */
.mar-step[data-step="15"] .mar-piece-upload-review {
  display: flex;
  flex-direction: column;
  gap: 28px;
  grid-template-columns: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4px;
}
.mar-step[data-step="15"] .mar-review-images {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mar-step[data-step="15"] .mar-review-images-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mar-step[data-step="15"] .mar-review-images-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
}
.mar-step[data-step="15"] .mar-review-images-hint {
  font-size: 0.78rem;
  color: #94a3b8;
}
.mar-step[data-step="15"] .mar-review-thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mar-step[data-step="15"] .mar-review-thumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.mar-step[data-step="15"] .mar-review-thumb-item .mar-review-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  display: block;
  margin: 0;
}
.mar-step[data-step="15"] .mar-review-thumb-item .mar-review-thumb:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.mar-step[data-step="15"] .mar-review-thumb-caption {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mar-step[data-step="15"] .mar-review-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mar-step[data-step="15"] .mar-review-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  min-height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mar-step[data-step="15"] .mar-review-row:last-child {
  grid-column: 1 / -1;
}
.mar-step[data-step="15"] .mar-review-label {
  color: #64748b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.mar-step[data-step="15"] .mar-review-value {
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}
.mar-step[data-step="15"] .mar-earnings-preview {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.mar-step[data-step="15"] .mar-earnings-preview h5 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #111827;
  font-weight: 700;
}
.mar-step[data-step="15"] .mar-dimension-earnings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}
.mar-step[data-step="15"] .mar-dimension-earnings-row {
  display: inline-flex;
  width: auto;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f8fafc;
  color: #475569;
  font-size: .82rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.mar-step[data-step="15"] .mar-dimension-earnings-row:hover,
.mar-step[data-step="15"] .mar-dimension-earnings-row.is-active {
  border-color: #4acbb9;
  background: #effcf9;
  box-shadow: 0 5px 14px rgba(32, 183, 160, .12);
}
.mar-step[data-step="15"] .mar-dimension-earnings-row strong {
  color: #1e293b;
  white-space: nowrap;
}
.mar-step[data-step="15"] .mar-earnings-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  font-size: 0.9rem;
}
.mar-step[data-step="15"] .mar-earnings-grid .mar-earnings-label {
  color: #64748b;
  padding: 4px 0;
}
.mar-step[data-step="15"] .mar-earnings-grid .mar-earnings-value {
  text-align: right;
  font-weight: 600;
  color: #111827;
  padding: 4px 0;
}
.mar-step[data-step="15"] .mar-earnings-grid .mar-earnings-total {
  font-weight: 700;
  color: #059669;
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
  margin-top: 4px;
}

/* Responsive for step 15 */
@media (max-width: 640px) {
  .mar-step[data-step="15"] .mar-review-details {
    grid-template-columns: 1fr;
  }
  .mar-step[data-step="15"] .mar-review-image-wrap {
    max-width: 100%;
  }
}

.mar-signup-review-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: start;
  padding: 14px;
  margin-bottom: 0;
  /* border: 1px solid #e5e7eb; */
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  min-height: 92px;
}

.mar-signup-review-row strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mar-signup-review-row > span {
  display: block;
  width: 100%;
  color: #111827;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}

.mar-contract-card {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  margin-bottom: 16px;
}

.mar-contract-points {
  margin: 0 0 14px 18px;
  color: #202020;
}

.mar-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.mar-contract-card h6,
.mar-contract-card p,
.mar-contract-card ul,
.mar-contract-card .mar-contract-signature {
  break-inside: avoid;
}

.mar-contract-signatures {
  break-inside: avoid;
  margin-top: 10px;
  text-align: center;
}

.mar-contract-signatures .mar-contract-signature img {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .mar-contract-card {
    column-count: 2;
    column-gap: 28px;
  }

  .mar-contract-card h5,
  .mar-contract-card > p:first-of-type,
  .mar-contract-card > p:nth-of-type(2),
  .mar-contract-card > p:nth-of-type(3),
  .mar-contract-card > p:nth-of-type(4) {
    column-span: all;
  }

  .mar-contract-card .mar-contract-signature {
    column-span: all;
  }

  .mar-contract-card .mar-contract-signatures {
    column-span: all;
  }
}

.mar-contract-signature img {
  display: block;
  margin-top: 8px;
  max-width: 220px;
  max-height: 90px;
  background: #fff;
}

.mar-story-field {
  position: relative;
}

.mar-story-field textarea {
  padding-bottom: 34px;
}

.mar-story-counter {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  line-height: 1;
  color: #64748b;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.92);
  padding: 2px 6px;
  border-radius: 999px;
}

.mar-review-thumb {
  display: block;
  width: 88px;
  height: 88px;
  margin-top: 10px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mar-review-thumb[hidden] {
  display: none !important;
}

.mar-review-thumb-signature {
  width: 100%;
  max-width: 160px;
  height: auto;
  min-height: 90px;
  object-fit: contain;
  max-height: 88px;
}

.mar-piece-upload-review .mar-review-thumb {
  cursor: pointer;
}

.mar-signup-review .mar-review-thumb {
  cursor: pointer;
}

.mar-review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.mar-review-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
}

.mar-review-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 1240px);
  height: min(88vh, 880px);
  margin: 6vh auto;
  padding: 24px;
}

.mar-review-lightbox-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mar-review-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.mar-review-lightbox-close,
.mar-review-lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.mar-review-lightbox-close {
  top: 8px;
  right: 8px;
}

.mar-review-lightbox-nav.is-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.mar-review-lightbox-nav.is-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.mar-review-lightbox-nav:disabled {
  opacity: 0.45;
  cursor: default;
}


@media (max-width: 782px) {
  .mar-review-lightbox-dialog {
    width: min(94vw, 94vw);
    height: min(88vh, 88vh);
    padding: 18px;
  }

  .mar-review-lightbox-nav.is-prev {
    left: 8px;
  }

  .mar-review-lightbox-nav.is-next {
    right: 8px;
  }
}

.mar-piece-upload-review .mar-review-row-full {
  grid-column: 1 / -1;
}

.mar-piece-upload-review .mar-review-row-third {
  grid-column: span 2;
}

.mar-piece-upload-review .mar-review-row-half {
  grid-column: span 3;
}

.mar-review-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 782px) {
  .mar-signup-review {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .mar-contract-grid {
    grid-template-columns: 1fr;
  }

  .mar-piece-upload-review .mar-review-row-full,
  .mar-piece-upload-review .mar-review-row-third,
  .mar-piece-upload-review .mar-review-row-half {
    grid-column: auto;
  }

  .mar-signup-review-row {
    min-height: auto;
  }
}

.mar-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mar-bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mar-piece-spec-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mar-piece-spec-row label {
  margin-bottom: 0;
}

.mar-piece-meta-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.mar-piece-meta-row label,
.mar-piece-color-field {
  margin-bottom: 0;
}

.mar-piece-extra-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.mar-piece-extra-row label {
  margin-bottom: 0;
}

.mar-color-select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mar-color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.mar-color-swatch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #202020 !important;
  cursor: pointer !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease !important;
}

.mar-color-swatch:hover {
  border-color: var(--primary) !important;
  transform: translateY(-1px) !important;
}

.mar-color-swatch.is-selected {
  border-color: var(--dark) !important;
  background: var(--primary) !important;
  color: #fff !important;
}

.mar-color-swatch.is-selected .mar-color-swatch-chip {
  border-color: #fff !important;
}

.mar-color-swatch-chip {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mar-color-chip, #c7c7c7);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.mar-color-swatch-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.mar-piece-upload-note {
  margin: 0 0 10px;
  border: 1px solid #d1d5db;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: #374151;
  font-size: 13px;
}

.mar-step-help {
  border-left-color: #9ca3af;
  background: #f9fafb;
}

.mar-piece-upload-form .mar-step-help.is-help-source-hidden {
  display: none !important;
}

.mar-piece-upload-form .mar-step-title-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  justify-content: space-between;
}

.mar-piece-upload-form .mar-step-title-row h4 {
  margin: 0;
}

.mar-piece-upload-form .mar-step-help-trigger {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  padding: 0;
}

.mar-piece-upload-form .mar-step-help-trigger:hover,
.mar-piece-upload-form .mar-step-help-trigger:focus {
  border-color: #475569 !important;
  color: #fff !important;
  outline: none !important;
}

.mar-piece-upload-form .mar-step-help-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(320px, calc(100vw - 60px));
  background: #111827;
  color: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  z-index: 30;
}

.mar-piece-upload-form .mar-step-help-trigger:hover + .mar-step-help-popover,
.mar-piece-upload-form .mar-step-help-trigger:focus + .mar-step-help-popover,
.mar-piece-upload-form
  .mar-step-help-trigger[aria-expanded="true"]
  + .mar-step-help-popover,
.mar-piece-upload-form .mar-step-help-popover:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mar-piece-earnings-preview {
  margin-top: 4px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fafc;
}

.mar-piece-earnings-preview h5 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #0f172a;
}

.mar-piece-precheck {
  margin-bottom: 10px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
}

.mar-piece-precheck h5 {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.mar-piece-precheck-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: 20px;
}

.mar-piece-precheck-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.mar-piece-precheck-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  flex: 0 0 auto;
}

.mar-piece-precheck-list li.is-ok {
  color: #166534;
}

.mar-piece-precheck-list li.is-ok::before {
  background: #22c55e;
}

.mar-piece-precheck-list li.is-missing {
  color: #b91c1c;
}

.mar-piece-precheck-list li.is-missing::before {
  background: #ef4444;
}

.mar-upload-progress-panel {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
}

.mar-upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.mar-upload-progress-percent {
  font-weight: 700;
  color: var(--primary);
}

.mar-upload-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.mar-upload-progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 180ms ease;
}

.mar-upload-progress-files {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.mar-upload-progress-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #334155;
}

.mar-upload-progress-file-state {
  font-weight: 700;
}

.mar-upload-progress-retry {
  margin-top: 10px;
}

.mar-piece-tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.mar-piece-tour-head > h3 {
  margin: 0;
}

.mar-piece-tour-trigger {
  margin: 0;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #0f172a;
  border-radius: 999px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mar-tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  z-index: 100000;
}

.mar-tour-popover {
  position: fixed;
  width: min(360px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.24);
  padding: 12px 12px 10px;
}

.mar-tour-popover h5 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.mar-tour-popover p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.mar-tour-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.mar-tour-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mar-tour-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.mar-tour-btn.is-ghost {
  border-color: transparent;
  color: #64748b;
}

.mar-tour-target {
  position: relative;
  z-index: 100001 !important;
  box-shadow:
    0 0 0 3px rgba(72, 202, 178, 0.72),
    0 0 0 7px rgba(72, 202, 178, 0.22) !important;
  border-radius: 10px;
}

.mar-mockup-form {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  max-width: 320px;
}

.mar-mockup-form.is-hidden {
  display: none;
}

.mar-mockup-section.is-hidden {
  display: none;
}

.mar-mockup-form select {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}

.mar-mockup-dimension-field {
  position: relative;
  display: block;
  width: 100%;
}

.mar-mockup-dimension-field .mar-mockup-dimension-input {
  width: 100%;
  min-height: 48px;
  padding-right: 44px;
  box-sizing: border-box;
}

.mar-mockup-dimension-field.is-disabled {
  opacity: 0.58;
}

.mar-mockup-dimension-field.is-disabled .mar-mockup-dimension-input {
  background: #f8fafc;
  cursor: not-allowed;
}

.mar-mockup-dimension-field.is-disabled .mar-mockup-dimension-step {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
}

.mar-mockup-dimension-stepper {
  position: absolute;
  top: 50%;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 28px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: auto;
}

.mar-mockup-dimension-step {
  width: 28px;
  height: 18px;
  padding: 0 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease !important;
}

.mar-mockup-dimension-step:hover {
  background: #ecfeff;
  border-color: #48cab2;
  color: #159a90;
}

.mar-mockup-dimension-step:active {
  transform: scale(0.96);
}

.mar-mockup-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 8px;
}

.mar-mockup-grid-compact {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.mar-mockup-preview {
  align-self: start;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mar-mockup-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mar-mockup-section {
  padding: 10px 12px;
}

.mar-mockup-dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.mar-mockup-circle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
}

.mar-mockup-circle-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.mar-mockup-circle-zoom-wrap {
  margin-top: 12px;
}

.mar-mockup-circle-zoom-input {
  width: 100%;
  margin: 2px 0 0;
}

.mar-mockup-circle-zoom-value {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.mar-mockup-section h5 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.mar-mockup-theme,
.mar-mockup-form,
.mar-mockup-select {
  display: grid;
  gap: 6px;
  margin: 0;
}

.mar-mockup-frame-style-select,
.mar-mockup-frame-color-select {
  display: none !important;
}

.mar-mockup-theme[hidden],
.mar-mockup-form[hidden],
.mar-mockup-section[hidden],
.mar-mockup-other-wrap[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .mar-mockup-dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mar-mockup-controls {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}

.mar-mockup-controls-hidden {
  display: none !important;
}

.mar-mockup-image-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.mar-mockup-image-option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-height: 112px !important;
  padding: 2px 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  color: #111827 !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease !important;
  text-align: center !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.mar-mockup-image-option:hover,
.mar-mockup-image-option:focus-visible {
  border-color: var(--primary) !important;
  box-shadow: 0 12px 28px rgba(59, 246, 212, 0.16) !important;
  transform: translateY(-2px) !important;
  background-color: #f8fbff !important;
}

.mar-mockup-image-option:hover img,
.mar-mockup-image-option:focus-visible img {
  transform: scale(1.02) !important;
}

.mar-mockup-image-option img {
  width: 100% !important;
  max-height: 72px !important;
  object-fit: cover !important;
  border-radius: 22px !important;
  transition: transform 0.18s ease !important;
}

.mar-mockup-image-option span {
  display: block !important;
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.mar-mockup-image-option.is-active {
  border-color: var(--primary) !important;
  box-shadow: 0 16px 30px rgb(37 235 162 / 22%) !important;
  background-color: #fdfdfd !important;
}

.mar-mockup-image-option.is-active span {
  color: var(--primary) !important;
}

.mar-mockup-image-option[data-value="Autre"] span {
  font-size: 0.95rem !important;
}

label.mar-mockup-theme.mar-mockup-other-wrap {
    padding: 20px 0px 0px 0px;
}

@media (max-width: 640px) {
  .mar-mockup-image-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mar-mockup-image-option {
    padding: 12px;
  }
}

.mar-mockup-picker-trigger {
  width: 100%;
  min-height: 46px;
  border: 1px solid #202020 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  text-align: left !important;
  color: #202020 !important;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
  margin-top: 6px;
}

.mar-mockup-picker-trigger:hover,
.mar-mockup-picker-trigger:focus {
  border-color: #202020 !important;
  box-shadow: 0 0 0 3px rgba(72, 202, 178, 0.12) !important;
  background: #cfcfcf !important;
  color: #202020 !important;
}

.mar-mockup-picker-trigger-text {
  display: block;
  font-weight: 500;
}

.mar-mockup-picker-trigger-icon {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.mar-mockup-picker-modal[hidden] {
  display: none !important;
}

.mar-mockup-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mar-mockup-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
}

.mar-mockup-picker-dialog {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  margin: 20px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
}

/* Piece upload: open mockup picker as fullscreen overlay (step 9/10 flow). */
.mar-form.mar-piece-upload-form .mar-mockup-picker-modal .mar-mockup-picker-dialog {
  width: calc(100vw - 24px) !important;
  height: calc(100dvh - 24px) !important;
  max-height: none !important;
  margin: 12px !important;
  border-radius: 16px !important;
}

.mar-form.mar-piece-upload-form .mar-mockup-picker-modal .mar-mockup-picker-body {
  min-height: 0;
}

.mar-form.mar-piece-upload-form .mar-mockup-picker-modal .mar-mockup-picker-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.mar-mockup-picker-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mar-mockup-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #edf1f4;
}

.mar-mockup-picker-head strong {
  display: block;
  color: #202020;
  font-size: 18px;
}

.mar-mockup-picker-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.mar-mockup-picker-close {
  width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  color: #202020;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.mar-mockup-picker-grid {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  overflow-y: auto;
  align-content: start;
}

.mar-mockup-picker-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.mar-mockup-picker-card:hover,
.mar-mockup-picker-card:focus {
  transform: translateY(-2px) !important;
  border-color: rgba(72, 202, 178, 0.48) !important;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1) !important;
  background: #fff !important;
}

.mar-mockup-picker-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(72, 202, 178, 0.14);
}

.mar-mockup-picker-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  background: #f8fafc;
}

.mar-mockup-picker-card-meta {
  display: grid;
  gap: 4px;
}

.mar-mockup-picker-card-meta strong {
  color: #202020;
  font-size: 14px;
  line-height: 1.4;
}

.mar-mockup-picker-card-meta small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.mar-mockup-picker-search-wrap {
  padding: 12px 20px;
  border-bottom: 1px solid #edf1f4;
}

.mar-mockup-picker-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  color: #202020;
  background: #f8fafc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.mar-mockup-picker-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(72, 202, 178, 0.15);
}

.mar-mockup-picker-search::placeholder {
  color: #94a3b8;
}

.mar-mockup-picker-pagination {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid #edf1f4;
  background: #fff;
}

.mar-mockup-picker-page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #202020;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
  padding: 0;
}

.mar-mockup-picker-page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: #ecfeff;
}

.mar-mockup-picker-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mar-mockup-picker-page-info {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  min-width: 48px;
  text-align: center;
}

.mar-mockup-picker-empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.mar-mockup-canvas-wrap {
  display: block;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.mar-mockup-canvas {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.canvas-container {
  max-height: 673px;
  width: 100% !important;
}

.mar-mockup-canvas-loader {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(248, 250, 252, 0.74);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.mar-mockup-canvas-loader.is-visible {
  opacity: 1;
}

.mar-mockup-canvas-loader-spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(45, 212, 191, 0.25);
  border-top-color: #2dd4bf;
  animation: marMockupSpin 0.8s linear infinite;
}

.mar-mockup-canvas-loader-text {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

@keyframes marMockupSpin {
  to {
    transform: rotate(360deg);
  }
}

.mar-mockup-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.mar-mockup-apply {
  border-radius: 10px;
  padding: 10px 16px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary) !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  position: relative !important;
  overflow: hidden !important;
}
.mar-mockup-apply::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  pointer-events: none;
  animation: marShimmer 2.5s ease-in-out infinite;
}
@keyframes marShimmer {
  0% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

.mar-mockup-apply:hover,
.mar-mockup-apply:focus {
  background: #36ad97 !important;
  border-color: #36ad97 !important;
}

.mar-mockup-apply .dashicons,
.mar-mockup-reset .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
}

.mar-mockup-reset {
  border-radius: 10px;
  padding: 10px 16px !important;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.mar-mockup-status {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.mar-mockup-status.is-error {
  border-color: #fecaca;
  border-left-color: #ef4444;
  color: #991b1b;
  background: #fff5f5;
}

.mar-mockup-empty {
  margin: 6px 0 0;
  color: #9f1239;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .mar-mockup-grid {
    grid-template-columns: 1fr;
  }
}

.mar-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.mar-cin-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.mar-gallery-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mar-gallery-mockup-card,
.mar-gallery-upload-card {
  margin-bottom: 0 !important;
  /* border: 1px solid #dbe3ea;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); */
}

.mar-gallery-mockup-card {
  padding: 18px;
  min-width: 0;
}

.mar-gallery-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mar-gallery-card-head h5 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
}

.mar-gallery-slot-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* --- Gallery created thumbnails (inside .mar-mockup-settings) --- */
.mar-gallery-created {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  min-width: 0;
}

.mar-gallery-created-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  min-width: 0;
}

.mar-gallery-created-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.mar-gallery-created-head h6 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
}

.mar-gallery-created-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.mar-gallery-created-item {
  display: grid;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  flex: 0 0 auto;
  width: 80px;
}

.mar-gallery-created-item:hover,
.mar-gallery-created-item:focus {
  transform: scale(1.1);
}

.mar-gallery-created-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  pointer-events: none;
}

.mar-gallery-created-meta {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.mar-gallery-created-remove {
  justify-self: center;
  padding: 4px 8px;
  border: 1px solid #dbe3ea;
  border-radius: 999px;
  background: #fff;
  color: #b91c1c;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  transition: background 180ms ease;
}

.mar-gallery-created-remove:hover {
  background: #fef2f2;
}

.mar-gallery-created-empty {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

/* --- Full-screen gallery viewer overlay --- */
.mar-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mar-gallery-viewer[hidden] {
  display: none;
}

.mar-gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.mar-gallery-viewer-dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  max-width: 1000px;
  max-height: 90vh;
}

.mar-gallery-viewer-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mar-gallery-viewer-image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.mar-gallery-viewer-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 180ms ease;
  padding: 4px;
}

.mar-gallery-viewer-close:hover {
  opacity: 1;
}

.mar-gallery-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease;
  backdrop-filter: blur(4px);
}

.mar-gallery-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mar-gallery-viewer-nav.is-prev {
  left: 16px;
}

.mar-gallery-viewer-nav.is-next {
  right: 16px;
}

.mar-gallery-viewer-nav .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.mar-gallery-upload-card {
  min-height: 240px;
  justify-content: center;
}

@media (max-width: 980px) {
  .mar-gallery-step-grid {
    grid-template-columns: 1fr;
  }

  .mar-mockup-grid-compact {
    grid-template-columns: 1fr;
  }

  .mar-mockup-picker-dialog {
    width: min(100vw, calc(100vw - 16px));
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    border-radius: 18px;
  }

  .mar-mockup-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .mar-profile-upload-notice-modal .mar-dash-modal-card {
    width: 92%;
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .mar-profile-upload-notice-modal .mar-dash-modal-title {
    font-size: 1.3rem;
  }
}

.mar-dropzone {
  border: 1px dashed var(--primary);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.mar-dropzone input[type="file"] {
  display: none;
}

.mar-dropzone .dashicons {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.mar-dropzone strong {
  display: block;
  margin-bottom: 4px;
  color: #202020;
}

.mar-dropzone em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #707070;
}

.mar-dropzone-preview {
  margin-top: 10px;
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
  height: 80%;
}

.mar-dropzone-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mar-dropzone-preview-pdf {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  background: #ffffff;
}

.mar-dropzone-preview-file {
  display: inline-block;
  width: 100%;
  padding: 10px 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.mar-signature-pad-card {
  border: 1px dashed var(--primary);
  border-radius: 6px;
  padding: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mar-signature-pad-card .dashicons {
  font-size: 24px;
  color: var(--primary);
}

.mar-signature-pad-card strong {
  display: block;
  color: #202020;
}

.mar-signature-pad-wrap {
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
  min-height: 200px;
}

.mar-signature-pad {
  width: 100% !important;
  height: 200px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.mar-signature-pad-actions {
  display: flex;
  justify-content: flex-end;
}

.mar-signature-pad-clear {
  padding: 7px 10px !important;
  font-size: 12px;
}

.mar-dash-modal-signature {
  display: grid;
  gap: 8px;
}

.mar-dash-modal-signature[hidden] {
  display: none !important;
}

.mar-dropzone:hover,
.mar-dropzone.is-dragover {
  background: #ffffff;
  border-color: #202020;
}

.mar-checkbox {
  display: flex !important;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.mar-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 1px solid #707070;
  border-radius: 4px;
  flex: 0 0 auto;
  box-shadow: none;
}

.mar-login-form .mar-checkbox {
  margin-top: 4px;
  margin-bottom: 6px;
}

.mar-login-page {
  position: relative;
  min-height: 100vh;
  padding: 28px 24px 78px;
  background: #fff;
}

.mar-login-header-logo {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 5;
}

.mar-login-header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.mar-login-header-logo-img {
  width: 230px;
  height: 60px;
  object-fit: contain;
}

.mar-login-header-logo-text {
  color: #202020;
  font-size: 20px;
  font-weight: 700;
}

.mar-login-page-shell {
  width: min(420px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 18px;
}

.mar-login-brand {
  display: none;
}

.mar-login-brand-inner {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mar-login-brand-link {
  display: inline-flex;
  text-decoration: none;
}

.mar-login-brand-logo {
  width: 400px;
  height: 200px;
  object-fit: contain;
}

.mar-login-brand-name {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mar-login-form.mar-login-card {
  max-width: 420px;
  margin: 40px auto 24px;
  padding: 18px 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mar-login-form.mar-login-card.mar-login-form-switching {
  opacity: 0;
  transform: translateY(8px);
}

.mar-login-form.mar-login-card h3 {
  margin: 0 0 24px;
  font-size: 30px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mar-login-form-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 14px;
}

.mar-login-form-logo-img {
  display: block;
  width: auto;
  max-width: min(220px, 72%);
  max-height: 64px;
  object-fit: contain;
}

.mar-login-subtitle {
  margin: 0 0 10px;
  text-align: center;
  color: #707070;
  font-size: 16px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mar-login-form.mar-login-card h3.mar-login-heading-switch,
.mar-login-form.mar-login-card .mar-login-subtitle.mar-login-heading-switch {
  opacity: 0;
  transform: translateY(6px);
}

.mar-login-page .mar-login-form.mar-login-card {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-radius: 0;
}

.mar-login-form.mar-login-card .mar-response {
  margin-bottom: 14px;
}

.mar-login-social-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}

.mar-login-social-btn {
  width: 100%;
  min-height: 50px;
  border: 1px solid #111 !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px !important;
  color: #4a4a4a !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;
  text-transform: capitalize;
}

.mar-login-social-btn:hover,
.mar-login-social-btn:focus {
  box-shadow: none !important;
  background: #eff1f5 !important;
  border-color: #ccd2dc !important;
}

.mar-login-social-btn img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.mar-login-social-btn span {
  display: inline-block;
  line-height: 1.2;
}

.mar-login-divider {
  position: relative;
  margin: 14px 0 16px;
  text-align: center;
}

.mar-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #e5e7eb;
  transform: translateY(-50%);
}

.mar-login-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: #ffffff;
  color: #707070;
  font-size: 14px;
  text-transform: lowercase;
}

.mar-login-field-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #4a4a4a;
  display: none;
}

.mar-login-password-wrap .mar-login-lost-password-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  text-decoration: underline;
}

.mar-login-email-wrap input[readonly] {
  background: #f8fafc;
  cursor: not-allowed;
}

.mar-login-form.mar-login-card input[type="email"],
.mar-login-form.mar-login-card input[type="password"],
.mar-login-form.mar-login-card input[type="text"] {
  margin-top: 0;
  border: 1px solid #b7b7b7;
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  font-size: 14px;
}

.mar-login-form.mar-login-card .mar-password-field input {
  padding-right: 18px;
  appearance: none;
  -webkit-appearance: none;
}

.mar-login-form.mar-login-card input[type="password"]::-ms-reveal,
.mar-login-form.mar-login-card input[type="password"]::-ms-clear {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mar-login-form.mar-login-card
  input[type="password"]::-webkit-credentials-auto-fill-button,
.mar-login-form.mar-login-card
  input[type="password"]::-webkit-contacts-auto-fill-button {
  visibility: hidden !important;
  display: none !important;
  pointer-events: none;
}

.mar-login-form.mar-login-card
  .mar-password-field
  input[type="password"]::-webkit-textfield-decoration-container {
  visibility: hidden !important;
}

/* Keep only our own toggle button inside the login password wrapper. */
.mar-login-form.mar-login-card
  .mar-password-field
  > :not(input):not(.mar-password-toggle) {
  display: none !important;
}

.mar-login-form.mar-login-card
  .mar-password-field
  button:not(.mar-password-toggle) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mar-login-continue-btn,
.mar-login-submit {
  width: 100%;
  min-width: 0;
  justify-content: center !important;
  margin: 0 !important;
  display: inline-flex !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  padding: 13px 16px !important;
}

.mar-login-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.mar-login-auth-actions button {
  min-width: 118px !important;
}

.mar-login-back-btn {
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  display: none !important;
}

.mar-login-back-btn:hover,
.mar-login-back-btn:focus {
  background: #f8fafc !important;
  color: #334155 !important;
}

.mar-login-continue-btn:hover,
.mar-login-continue-btn:focus,
.mar-login-submit:hover,
.mar-login-submit:focus {
  background: #36ad97 !important;
  color: #ffffff !important;
}

.mar-login-code-wrap {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.mar-login-password-wrap[hidden],
.mar-login-code-wrap[hidden],
.mar-login-auth-actions[hidden],
.mar-login-submit[hidden],
.mar-login-continue-btn[hidden] {
  display: none !important;
}

.mar-login-code-wrap h4 {
  margin: 2px 0 0;
  font-size: 24px !important;
}

.mar-login-code-help {
  margin: 0;
  color: #707070;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mar-login-code-help-left {
  min-width: 0;
}

.mar-login-code-resend-timer {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.mar-login-code-wrap input[name="verification_code"] {
  letter-spacing: 0.02em;
}

.mar-login-code-input-wrap {
  position: relative;
  display: block;
}

.mar-login-code-input-wrap input[name="verification_code"] {
  padding-right: 48px !important;
}

.mar-login-code-resend-btn {
  position: absolute;
  right: 12px;
  top: 40%;
  transform: translateY(-50%);
  border: 0 !important;
  background: transparent !important;
  color: #6b7280 !important;
  padding: 4px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}

.mar-login-code-resend-btn:hover,
.mar-login-code-resend-btn:focus {
  color: #1f2937;
  background: #f3f4f6 !important;
}

.mar-login-code-resend-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: transparent !important;
}

.mar-login-code-submit {
  width: 100%;
  border-color: #202020;
  border-radius: 10px !important;
  background: var(--dark) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.mar-login-code-submit:hover,
.mar-login-code-submit:focus {
  background: #fff !important;
  color: #202020 !important;
}

.mar-login-switch-email {
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--primary) !important;
  padding: 0 !important;
  text-decoration: underline !important;
  text-transform: initial !important;
  font-weight: 500 !important;
}

.mar-login-switch-email:hover,
.mar-login-switch-email:focus {
  background: transparent !important;
  color: #36ad97 !important;
  text-decoration: underline;
}

.mar-login-divider[hidden],
.mar-login-social-row[hidden] {
  display: none !important;
}

.mar-login-form.mar-login-step-verify > h3,
.mar-login-form.mar-login-step-verify > .mar-login-subtitle,
.mar-login-form.mar-login-step-verify > .mar-login-email-wrap {
  display: none !important;
}

.mar-login-signup-wrap {
  margin: 14px 0 6px;
  text-align: center;
}

.mar-login-terms {
  margin: 10px 0 0;
  text-align: center;
  color: #707070;
  font-size: 13px;
}

.mar-login-links-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mar-login-links-row .mar-login-lost-password-link {
  margin: 0 !important;
  color: #1f1f1f !important;
  text-decoration: underline !important;
  font-weight: 600;
}

.mar-login-links-row .mar-login-lost-password-link:hover,
.mar-login-links-row .mar-login-lost-password-link:focus,
.mar-login-signup-toggle:hover,
.mar-login-signup-toggle:focus,
.mar-login-to-login-btn:hover,
.mar-login-to-login-btn:focus,
.mar-login-signup-terms a:hover,
.mar-login-signup-terms a:focus,
.mar-login-page-footer-links a:hover,
.mar-login-page-footer-links a:focus {
  color: var(--primary) !important;
}

.mar-login-signup-toggle,
.mar-login-to-login-btn {
  border: 0 !important;
  background: transparent !important;
  color: #1f1f1f !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  padding: 0 !important;
  text-transform: none !important;
}

.mar-login-signup-hint {
  margin: 14px 0 0;
  text-align: center;
  color: #666;
}

.mar-login-signup-terms {
  margin: 16px 0 0;
  text-align: center;
  color: #707070;
  font-size: 14px;
  line-height: 1.45;
}

.mar-login-form.mar-login-step-verify .mar-login-links-row,
.mar-login-form.mar-login-step-verify .mar-login-signup-hint,
.mar-login-form.mar-login-step-verify .mar-login-signup-terms {
  display: none !important;
}

.mar-login-form.mar-login-mode-login .mar-login-signup-hint,
.mar-login-form.mar-login-mode-login .mar-login-signup-terms {
  display: none !important;
}

.mar-login-form.mar-login-mode-signup .mar-login-links-row {
  display: none !important;
}

.mar-login-signup-terms a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mar-login-toast {
  display: none !important;
}

.mar-login-toast.is-visible {
  display: none !important;
}

.mar-login-toast-close {
  margin-left: auto;
  border: 0 !important;
  background: transparent !important;
  color: #7f1d1d !important;
  font-size: 18px;
  line-height: 1;
  padding: 0 !important;
}

.mar-login-page-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 12px 40px;
  background: #fff;
  color: #4b5563;
  font-size: 12px !important;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mar-login-page-footer-copy {
  white-space: nowrap;
}

.mar-login-page-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.mar-login-page-footer-links a,
.mar-login-page-footer-links span {
  color: #4b5563;
  text-decoration: none;
  padding: 0 12px;
  position: relative;
  line-height: 1.2;
  white-space: nowrap;
}

.mar-login-page-footer-links a:hover,
.mar-login-page-footer-links a:focus {
  color: var(--primary) !important;
  text-decoration: underline;
}

.mar-login-page-footer-links a + a::before,
.mar-login-page-footer-links a + span::before,
.mar-login-page-footer-links span + a::before,
.mar-login-page-footer-links span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #d1d5db;
  transform: translateY(-50%);
}

.mar-forgot-password-form .mar-forgot-send-code {
  width: auto;
  min-width: 130px;
  margin-left: auto;
  border-color: #202020;
  border-radius: 999px !important;
  background: var(--dark) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.mar-forgot-password-form .mar-forgot-reset-submit {
  width: 100%;
  border-color: #202020;
  border-radius: 10px !important;
  background: var(--dark) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.mar-forgot-password-form .mar-forgot-send-code:hover,
.mar-forgot-password-form .mar-forgot-send-code:focus,
.mar-forgot-password-form .mar-forgot-reset-submit:hover,
.mar-forgot-password-form .mar-forgot-reset-submit:focus {
  background: #fff !important;
  color: #202020 !important;
}

.mar-forgot-password-form .mar-forgot-step-email,
.mar-forgot-password-form .mar-forgot-step-reset {
  display: flex;
  flex-direction: column;
}

.mar-forgot-step-email label {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.mar-forgot-password-form .mar-forgot-step-email[hidden],
.mar-forgot-password-form .mar-forgot-step-reset[hidden] {
  display: none !important;
}

.mar-forgot-password-form .mar-forgot-code-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mar-forgot-password-form .mar-forgot-code-help-left {
  min-width: 0;
}

.mar-forgot-password-form .mar-forgot-code-resend-timer {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.mar-forgot-password-form .mar-forgot-code-input-wrap {
  position: relative;
  display: block;
}

.mar-forgot-password-form
  .mar-forgot-code-input-wrap
  input[name="forgot_code"] {
  padding-right: 48px !important;
}

.mar-forgot-password-form .mar-forgot-code-resend-btn {
  position: absolute;
  right: 12px;
  top: 40%;
  transform: translateY(-50%);
  border: 0 !important;
  background: transparent !important;
  color: #6b7280 !important;
  padding: 4px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 2;
}

.mar-forgot-password-form .mar-forgot-code-resend-btn:hover,
.mar-forgot-password-form .mar-forgot-code-resend-btn:focus {
  color: #1f2937;
  background: #f3f4f6 !important;
}

.mar-forgot-password-form .mar-forgot-code-resend-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mar-custom-check input[type="checkbox"] {
  appearance: none;
  width: 35px;
  height: 35px;
  border: 1px solid #707070;
  border-radius: 4px;
  margin-top: 2px;
  position: relative;
}

.mar-custom-check input[type="checkbox"]:checked {
  border-color: var(--primary);
}

.mar-custom-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 38%;
  top: 20%;
  width: 10px;
  height: 17px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mar-checkbox a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.mar-checkbox a:hover,
.mar-checkbox a:focus {
  color: #202020;
  outline: none;
}

.mar-login-signup-link {
  color: var(--primary);
  text-decoration: underline;
}

.mar-login-signup-link:hover,
.mar-login-signup-link:focus {
  color: #202020;
}

@media (max-width: 980px) {
  .mar-login-page {
    padding: 20px 14px 70px;
  }

  .mar-login-page-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .mar-login-brand {
    justify-content: flex-start;
  }

  .mar-login-brand-inner {
    max-width: 100%;
  }

  .mar-login-brand-logo {
    width: 50px;
    height: 50px;
  }

  .mar-login-brand-name {
    font-size: clamp(24px, 8vw, 34px);
  }
}

@media (max-width: 640px) {
  .mar-login-page {
    min-height: auto;
    padding: 16px 12px 24px;
  }

  .mar-login-header-logo {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 0 12px;
  }

  .mar-login-header-logo-link {
    justify-content: center;
  }

  .mar-login-header-logo-img {
    width: min(170px, 58vw);
    height: auto;
    max-height: 52px;
  }

  .mar-login-page-shell {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    gap: 12px;
    align-content: start;
  }

  .mar-login-form.mar-login-card {
    max-width: 100%;
    padding: 0;
  }

  .mar-login-form-logo {
    margin: 0 0 10px;
  }

  .mar-login-form-logo-img {
    max-width: min(170px, 58vw);
    max-height: 52px;
  }

  .mar-login-form.mar-login-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.15;
  }

  .mar-login-subtitle {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .mar-login-social-row {
    gap: 12px;
  }

  .mar-login-social-btn {
    min-height: 54px;
    padding: 10px 12px !important;
    font-size: 14px;
  }

  .mar-login-social-btn img {
    width: 28px;
    height: 28px;
  }

  .mar-login-links-row {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .mar-login-links-row > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .mar-login-links-row .mar-login-lost-password-link,
  .mar-login-signup-toggle {
    display: block;
    text-align: left;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  .mar-login-signup-toggle {
    text-align: right;
  }

  .mar-login-page-footer {
    position: static;
    min-height: 0;
    padding: 18px 8px 4px;
    margin-top: 20px;
    justify-content: center;
    gap: 10px;
    font-size: 11px !important;
  }

  .mar-login-page-footer-copy {
    white-space: normal;
    width: 100%;
  }

  .mar-login-page-footer-links {
    width: 100%;
    gap: 4px 0;
  }

  .mar-login-page-footer-links a,
  .mar-login-page-footer-links span {
    white-space: normal;
    padding: 0 8px;
    text-align: center;
  }
}

.mar-tech-list {
  display: grid;
  gap: 10px;
}

.mar-tech-items {
  display: grid;
  gap: 8px;
}

.mar-tech-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.mar-tech-remove {
  width: 36px;
  height: 36px;
  border: 1px solid #707070 !important;
  background: #ffffff !important;
  color: #202020 !important;
  border-radius: 6px;
  line-height: 1;
  font-size: 20px;
  padding: 0 !important;
}

.mar-tech-remove:hover,
.mar-tech-remove:focus {
  background: #202020 !important;
  color: #ffffff !important;
}

.mar-tech-add {
  justify-self: start;
}

.mar-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 0;
}

.mar-step-actions.mar-right {
  justify-content: flex-end;
}

.mar-form button,
.mar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #202020;
  border: 0;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 220ms ease;
  border: 1px solid #202020;
  text-transform: capitalize;
}

.mar-form button:hover,
.mar-cta:hover {
  background: #202020;
  color: #ffffff;
  text-decoration: none;
}

.mar-outline-btn {
  background: transparent !important;
  color: #202020 !important;
  border: 1px solid #202020 !important;
}

.mar-outline-btn:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--primary) !important;
}

.mar-step-prev.mar-outline-btn {
  gap: 10px;
}

.mar-contract-download-btn {
  background: transparent !important;
  color: var(--secondary) !important;
  border: 1px solid var(--secondary) !important;
  gap: 10px;
}

.mar-contract-download-btn:hover,
.mar-contract-download-btn:focus {
  background: var(--secondary) !important;
  color: #fff !important;
  border: 1px solid var(--secondary) !important;
}

.mar-wide-submit {
  width: min(100%, 360px);
  margin-left: auto;
  background-color: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary) !important;
  gap: 10px;
}

.mar-wide-submit:hover,
.mar-wide-submit:focus {
  background-color: #fff !important;
  color: #202020 !important;
  border-color: #202020 !important;
}

.mar-response {
  display: none;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.mar-response.is-visible {
  display: block;
}

.mar-response.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #7f1d1d;
}

.mar-response.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.mar-login-form .mar-response.mar-response-toast,
.mar-signup-form .mar-response.mar-response-toast,
.mar-piece-upload-form .mar-response.mar-response-toast {
  position: fixed;
  left: 20px;
  bottom: 100px;
  z-index: 10;
  min-width: 300px;
  max-width: min(430px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(2px);
}

.mar-login-form .mar-response.mar-response-toast.is-visible,
.mar-signup-form .mar-response.mar-response-toast.is-visible,
.mar-piece-upload-form .mar-response.mar-response-toast.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mar-login-form .mar-response.mar-response-toast .mar-response-toast-text,
.mar-signup-form .mar-response.mar-response-toast .mar-response-toast-text,
.mar-piece-upload-form
  .mar-response.mar-response-toast
  .mar-response-toast-text {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.mar-login-form .mar-response.mar-response-toast .mar-response-toast-close,
.mar-signup-form .mar-response.mar-response-toast .mar-response-toast-close,
.mar-piece-upload-form
  .mar-response.mar-response-toast
  .mar-response-toast-close {
  margin-left: auto;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 20px;
  line-height: 1;
  padding: 1px 2px !important;
  opacity: 0.74;
  transition: opacity 0.16s ease;
}

.mar-login-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:hover,
.mar-login-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:focus,
.mar-signup-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:hover,
.mar-signup-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:focus,
.mar-piece-upload-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:hover,
.mar-piece-upload-form
  .mar-response.mar-response-toast
  .mar-response-toast-close:focus {
  opacity: 1;
}

.mar-login-form .mar-response.mar-response-toast::before,
.mar-signup-form .mar-response.mar-response-toast::before,
.mar-piece-upload-form .mar-response.mar-response-toast::before {
  content: "!";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.mar-login-form .mar-response.mar-response-toast.is-error::before,
.mar-signup-form .mar-response.mar-response-toast.is-error::before,
.mar-piece-upload-form .mar-response.mar-response-toast.is-error::before {
  background: #dc2626;
  color: #fff;
}

.mar-login-form .mar-response.mar-response-toast.is-success::before,
.mar-signup-form .mar-response.mar-response-toast.is-success::before,
.mar-piece-upload-form .mar-response.mar-response-toast.is-success::before {
  content: "✓";
  background: #16a34a;
  color: #fff;
}

@media (max-width: 640px) {
  .mar-login-form .mar-response.mar-response-toast,
  .mar-signup-form .mar-response.mar-response-toast,
  .mar-piece-upload-form .mar-response.mar-response-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
    width: auto;
  }
}

.mar-signup-banner {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  background: #202020;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.mar-signup-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mar-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.mar-images img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Profile modern style (palette: var(--primary), #202020, #707070) */
.mar-profile {
  background: transparent;
  border-radius: 6px;
  color: #707070;
  padding: 22px;
}

.mar-profile h3 {
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #707070;
}

.mar-profile p {
  margin: 8px 0;
  padding: 10px 12px;
  background: transparent;
}

.mar-profile p strong {
  color: var(--primary);
}

.mar-profile .mar-images {
  margin-top: 16px;
}

.mar-profile .mar-images figure {
  margin: 0;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 10px;
  background: #202020;
}

.mar-profile .mar-images figcaption {
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.mar-profile .mar-images img {
  border: 1px solid #707070;
  border-radius: 6px;
  display: block;
  width: 100%;
}

.mar-profile .mar-cta {
  background: var(--light);
  color: #202020;
  border: 1px solid var(--light);
}

.mar-profile .mar-cta:hover,
.mar-profile .mar-cta:focus {
  background: #202020;
  color: #ffffff;
  border: 1px solid #202020;
  text-decoration: none;
}

/* Private profile theme */
.mar-profile-private {
  position: relative;
  background: transparent;
  border: 0;
  color: #202020;
}

/* .mar-profile-private::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(112, 112, 112, 0.18) 1px, transparent 1px), linear-gradient(to bottom, rgba(112, 112, 112, 0.18) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
} */

.mar-profile-private > * {
  position: relative;
  z-index: 1;
}

.mar-profile-private .mar-dash-hero {
  border-left: 6px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 24px;
  position: relative;
}

.mar-profile-private .mar-profile-back-btn {
  margin-bottom: 12px;
}

.mar-profile-private .mar-dash-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mar-profile-private .mar-dash-name-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mar-profile-private .mar-verified-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.mar-profile-private .mar-dash-hero h3 {
  color: #202020;
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 42px;
  line-height: 1.05;
  text-transform: uppercase;
}

.mar-profile-private .mar-dash-save-btn {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.mar-profile-private .mar-dash-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mar-profile-private .mar-dash-save-btn.is-loading {
  opacity: 0.75;
  cursor: progress;
}

.mar-profile-private .mar-dash-subtitle {
  margin: 8px 0 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  background: #202020;
  border-radius: 6px;
}

.mar-profile-private .mar-profile-upload-cta,
.mar-profile-private .mar-profile-contact-btn {
  margin-top: 10px;
  margin-right: 8px;
}

.mar-profile-private .mar-dash-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 26px;
  margin-bottom: 24px;
}

.mar-profile-private .mar-dash-main-image-wrap {
  position: relative;
}

.mar-profile-private .mar-dash-main-image-accent {
  position: absolute;
  inset: 0;
  transform: translate(0px, 0px);
  background: var(--primary);
  border-radius: 6px;
  rotate: 3deg;
}

.mar-profile-private .mar-dash-main-image {
  position: relative;
  margin: 0;
  border: 1px solid #707070;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px;
}

.mar-profile-private .mar-dash-main-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.mar-profile-private .mar-dash-contact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mar-profile-private .mar-dash-contact-card {
  background: #ffffff;
  border: 1px solid #707070;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 11px 12px;
  position: relative;
}

.mar-profile-private .mar-dash-contact-card h4 {
  margin: 0 0 4px;
  color: #707070;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mar-profile-private .mar-dash-contact-card p {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #202020;
}

.mar-profile-private .mar-dash-section {
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}

.mar-profile-private .mar-dash-section h4 {
  display: inline-block;
  margin: 0 0 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary);
  font-size: 20px;
  text-transform: uppercase;
}

.mar-profile-private .mar-dash-section p {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #202020;
  line-height: 1.6;
}

.mar-profile-private .mar-dash-techniques {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mar-profile-private .mar-dash-tech-item {
  display: block;
  border: 1px solid #707070;
  background: #fff;
  color: #202020;
  border-radius: 6px;
  padding: 7px 9px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.mar-profile-private .mar-dash-tech-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mar-profile-private .mar-dash-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mar-profile-private .mar-dash-gallery-empty {
  margin: 0;
  border: 1px dashed #707070;
  border-radius: 6px;
  padding: 14px;
  color: #707070;
  background: #ffffff;
}

.mar-profile-private.mar-profile-layout-compact .mar-dash-layout {
  grid-template-columns: minmax(0, 1fr);
}

.mar-profile-private.mar-profile-layout-compact .mar-dash-gallery {
  grid-template-columns: minmax(0, 1fr);
}

.mar-profile-private.mar-profile-layout-split .mar-dash-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mar-profile-private .mar-dash-gallery-item {
  position: relative;
  margin: 0;
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
}

.mar-profile-private .mar-dash-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.mar-profile-private .mar-dash-gallery-item-studio {
  background: #202020;
}

.mar-profile-private .mar-dash-gallery-item-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mar-studio-image);
  background-size: cover;
  background-position: center;
  filter: blur(16px) saturate(1.05);
  transform: scale(1.08);
}

.mar-profile-private .mar-dash-gallery-item-studio img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  background: transparent;
}

.mar-profile-private .mar-dash-gallery-item-studio .mar-dash-edit-btn,
.mar-profile-private .mar-dash-gallery-item-studio figcaption {
  z-index: 2;
}

.mar-profile-private .mar-dash-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 12px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.mar-profile-private .mar-dash-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #707070;
  background: #ffffff;
  color: #202020;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.mar-profile-private .mar-dash-edit-btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mar-profile-private .mar-dash-edit-btn-icon .dashicons,
.mar-profile-private .mar-dash-edit-btn-icon-fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.mar-profile-private .mar-dash-edit-btn-icon-fa i {
  font-size: 15px;
  line-height: 1;
}

.mar-profile-private .mar-dash-edit-btn-always {
  opacity: 1;
  pointer-events: auto;
}

.mar-profile-private .mar-editable:hover .mar-dash-edit-btn {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.mar-profile-private .mar-dash-edit-btn:hover,
.mar-profile-private .mar-dash-edit-btn:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.mar-profile-private .mar-response {
  margin-top: 14px;
}

/* Private profile redesign (left dark panel + right details panel) */
.mar-profile-private .mar-dash-layout-profile-split {
  display: block;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.35fr);
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #f8fafc;
}

.mar-profile-private .mar-dash-save-wrap-left {
  margin: 0 0 12px;
  display: flex;
  justify-content: flex-start;
}

.mar-profile-private .mar-dash-left-col {
  background: #202020;
  color: #f8fafc;
  padding: 34px 26px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.mar-profile-private .mar-dash-right-col {
  background: #f8fafc;
  padding: 36px 44px;
}

.mar-profile-private .mar-dash-left-col .mar-dash-hero {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  text-align: center;
}

.mar-profile-private .mar-dash-left-col .mar-dash-main-image-wrap {
  margin: 0 auto 12px;
  width: 188px;
}

.mar-profile-private .mar-dash-left-col .mar-dash-main-image {
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0;
  background: transparent;
}

.mar-profile-private .mar-dash-left-col .mar-dash-main-image img {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.mar-profile-private .mar-dash-left-col .mar-dash-name-row {
  justify-content: center;
  flex-wrap: wrap;
}

.mar-profile-private .mar-dash-left-col .mar-dash-hero h3 {
  color: #ffffff;
  font-size: clamp(34px, 3.2vw, 52px);
  text-transform: none;
  text-align: center;
}

.mar-profile-private .mar-dash-left-col .mar-verified-icon {
  width: 26px;
  height: 26px;
}

.mar-profile-private .mar-dash-city-row {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d1d5db;
  position: relative;
  min-height: 28px;
  padding-right: 44px;
}

.mar-profile-private .mar-dash-city-icon {
  font-size: 14px;
  line-height: 1;
  width: 14px;
  height: 14px;
}

.mar-profile-private .mar-dash-city-row .mar-dash-edit-btn {
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
}

.mar-profile-private .mar-dash-left-col .mar-dash-hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.mar-profile-private .mar-dash-left-col .mar-profile-upload-cta {
  margin: 0;
  border-radius: 10px;
  padding: 10px 14px;
}

.mar-profile-private .mar-dash-left-col .mar-profile-payment-btn {
  margin: 0;
  border-radius: 10px;
  padding: 10px 14px;
  width: 180px;
}

.mar-profile-private .mar-cta-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: text-bottom;
}

.mar-profile-private .mar-profile-dashboard-btn {
  background: #fff;
  color: #202020;
  border: 1px solid #202020;
  width: 100%;
  text-transform: uppercase;
  font-size: 12px;
}

.mar-profile-private .mar-profile-dashboard-btn:hover,
.mar-profile-private .mar-profile-dashboard-btn:focus {
  background: #202020;
  color: #ffffff;
}

.mar-profile-private .mar-dash-left-col .mar-profile-upload-cta-outline {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.32);
  width: 180px;
}

.mar-profile-private .mar-dash-gallery-inline {
  grid-template-columns: repeat(2, minmax(0, 142px));
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.mar-profile-private .mar-dash-gallery-inline .mar-dash-gallery-item {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.mar-profile-private .mar-dash-gallery-inline .mar-dash-gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mar-profile-private
  .mar-dash-gallery-inline
  .mar-dash-gallery-item:not(.mar-dash-gallery-item-studio) {
  background: #ffffff;
}

.mar-profile-private
  .mar-dash-gallery-inline
  .mar-dash-gallery-item:not(.mar-dash-gallery-item-studio)
  img {
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
}

.mar-profile-private
  .mar-dash-gallery-inline
  .mar-dash-gallery-item
  figcaption {
  background: rgba(0, 0, 0, 0.66);
  color: #f8fafc;
  font-size: 11px;
  padding: 7px 8px;
  text-transform: none;
}

.mar-profile-private .mar-dash-right-col .mar-dash-contact-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.mar-profile-private .mar-dash-right-col .mar-dash-contact-card {
  border-left-width: 1px;
  border-color: #d1d5db;
  border-radius: 12px;
  padding: 14px 16px;
}

.mar-profile-private .mar-dash-right-col .mar-dash-section {
  border-radius: 12px;
  border-color: #d1d5db;
  margin-bottom: 12px;
  text-align: center;
}

.mar-profile-private .mar-dash-right-col .mar-dash-section h4 {
  border-bottom: 0;
  margin-bottom: 8px;
  font-size: 20px;
  text-transform: none;
}

.mar-profile-private .mar-dash-right-col .mar-dash-techniques {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mar-profile-private .mar-dash-right-col .mar-dash-tech-item {
  text-transform: none;
  border-color: #cbd5e1;
  text-align: center;
}

.mar-profile-private .mar-dash-stats-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #eef2f7;
}

.mar-profile-private .mar-dash-stats-card h4 {
  margin: 0;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mar-profile-private .mar-dash-stats-card h4 .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.mar-profile-private .mar-dash-stats-card h4 .mar-stat-icon-cube {
  color: #202020;
}

.mar-profile-private .mar-dash-stats-card p {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

/* Hover edit on any editable field */
.mar-profile-private .mar-editable {
  position: relative;
}

.mar-profile-private .mar-editable:hover .mar-dash-edit-btn,
.mar-profile-private .mar-editable:focus-within .mar-dash-edit-btn {
  opacity: 1;
  pointer-events: auto;
}

.mar-profile-private .mar-dash-name-row {
  position: relative;
}

.mar-profile-private .mar-dash-name-row .btn-name {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.mar-profile-private .mar-dash-main-image-wrap .mar-dash-edit-btn {
  opacity: 0;
  pointer-events: none;
}

.mar-profile-private
  .mar-dash-main-image-wrap
  .mar-dash-main-image:hover
  + .mar-dash-edit-btn,
.mar-profile-private .mar-dash-main-image-wrap:focus-within .mar-dash-edit-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Profile UI simplification pass */
.mar-profile-private .mar-dash-layout-profile-split {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.mar-profile-private .mar-dash-left-col .mar-dash-main-image {
  border: 0;
}

.mar-profile-private .mar-dash-left-col,
.mar-profile-private .mar-dash-right-col {
  background: transparent;
}

.mar-profile-private .mar-dash-left-col {
  color: #202020;
}

.mar-profile-private .mar-dash-left-col .mar-dash-hero h3 {
  color: #202020;
}

.mar-profile-private .mar-dash-city-row {
  color: #475569;
}

.mar-profile-private .mar-dash-gallery-inline .mar-dash-gallery-item {
  border: 1px solid #a5a5a5;
  background: #f8fafc;
}

.mar-profile-private .mar-dash-right-col .mar-dash-contact-card {
  border: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
}

.mar-profile-private .mar-dash-right-col .mar-dash-section {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mar-profile-private .mar-dash-right-col .mar-dash-tech-item {
  border: 0;
  background: #f1f5f9;
}

.mar-profile-private .mar-dash-stats-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mar-profile-private .mar-dash-gallery-empty {
  border: 0;
  background: #f8fafc;
}

.mar-profile-private .mar-profile-dashboard-btn {
  color: #202020;
  border-color: #202020;
  background-color: #fff;
}

.mar-profile-private .mar-profile-dashboard-btn:hover,
.mar-profile-private .mar-profile-dashboard-btn:focus {
  background: #202020;
  color: #fff;
}

button.mar-cta.mar-profile-payment-btn.mar-profile-payment-trigger {
  border-color: #202020;
}

a.mar-cta.mar-profile-upload-cta {
  border-color: #202020;
}

.mar-dash-alert {
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-weight: 600;
}

.mar-dash-alert.is-success {
  border-color: var(--primary);
  color: #202020;
  background: #ffffff;
}

.mar-dash-alert.is-error {
  border-color: #202020;
  color: #202020;
  background: #ffffff;
}

.mar-profile-private .mar-dash-alert.mar-response-toast {
  position: fixed;
  left: 20px;
  bottom: 100px;
  z-index: 10020;
  min-width: 300px;
  max-width: min(430px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(2px);
  background: #ffffff;
}

.mar-profile-private .mar-dash-alert.mar-response-toast.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mar-profile-private .mar-dash-alert.mar-response-toast .mar-response-toast-text {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.mar-profile-private .mar-dash-alert.mar-response-toast .mar-response-toast-close {
  margin-left: auto;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 20px;
  line-height: 1;
  padding: 1px 2px !important;
  opacity: 0.74;
  transition: opacity 0.16s ease;
}

.mar-profile-private .mar-dash-alert.mar-response-toast .mar-response-toast-close:hover,
.mar-profile-private .mar-dash-alert.mar-response-toast .mar-response-toast-close:focus {
  opacity: 1;
}

.mar-profile-private .mar-dash-alert.mar-response-toast::before {
  content: "!";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.mar-profile-private .mar-dash-alert.mar-response-toast.is-error::before {
  background: #dc2626;
  color: #fff;
}

.mar-profile-private .mar-dash-alert.mar-response-toast.is-success::before {
  content: "✓";
  background: #16a34a;
  color: #fff;
}

@media (max-width: 640px) {
  .mar-profile-private .mar-dash-alert.mar-response-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
    width: auto;
  }
}

.mar-dash-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-content: center;
  align-items: center;
}

.mar-dash-modal[hidden] {
  display: none !important;
}

.mar-dash-modal-input[hidden],
.mar-dash-modal-textarea[hidden],
.mar-dash-modal-select[hidden],
.mar-dash-modal-country-city-fields[hidden],
.mar-dash-modal-tech-list[hidden],
.mar-dash-modal-payment-fields[hidden],
.mar-piece-modal-multi[hidden],
.mar-dash-modal-file[hidden],
.mar-dash-modal-error[hidden] {
  display: none !important;
}

input {
  border-radius: 6px !important;
}

.mar-dash-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 32, 0.65);
}

.mar-dash-modal-card {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  margin: 8vh auto 0;
  background: #ffffff;
  border: 1px solid #707070;
  border-radius: 6px;
  max-height: min(82vh, 760px);
  display: flex;
  flex-direction: column;
}

.mar-dash-modal-title {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  color: #202020;
  flex: 0 0 auto;
}

.mar-dash-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.mar-dash-modal-error {
  margin: 0 0 10px;
  color: #202020;
  font-size: 13px;
}

.mar-dash-modal-input,
.mar-dash-modal-textarea,
.mar-dash-modal-select {
  width: 100%;
  border: 1px solid #707070;
  border-radius: 6px !important;
  padding: 10px 12px;
  color: #202020;
  margin-bottom: 12px;
}

.mar-dash-modal-tech-list {
  margin-bottom: 12px;
}

.mar-dash-modal-payment-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.mar-dash-modal-country-city-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.mar-piece-modal-multi {
  margin-bottom: 12px;
}

.mar-piece-modal-multi-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 12px;
  align-items: start;
}

.mar-piece-modal-multi-item {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #202020 !important;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #ffffff;
}

.mar-piece-modal-multi-item input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #111111;
  flex: 0 0 auto;
}

.mar-piece-modal-multi-item
  input[type="checkbox"]
  + .mar-piece-modal-multi-swatch {
  margin-left: 2px;
}

.mar-piece-modal-multi-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: var(--swatch-color, #f1f1f1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  flex: 0 0 auto;
}

.mar-piece-modal-multi-swatch.is-generic {
  background: conic-gradient(
    #d7263d,
    #f28c28,
    #f4c430,
    #2e8b57,
    #1f5aa6,
    #6a0dad,
    #d7263d
  );
}

.mar-piece-modal-multi-item[data-swatch="#ffffff"]
  .mar-piece-modal-multi-swatch {
  border-color: #b6bcc3;
}

.mar-piece-modal-multi-text {
  line-height: 1.2;
  text-transform: capitalize;
  letter-spacing: 0.1px;
  margin-left: 8px;
}

.mar-piece-modal-multi-item:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.mar-dash-modal-tech-input {
  width: 100% !important;
  border: 1px solid #707070 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  color: #202020;
}

.mar-dash-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  flex: 0 0 auto;
  border-radius: 6px !important;
}

.mar-dash-modal-cancel {
  border: 1px solid #707070;
  background: #ffffff;
  color: #202020;
  border-radius: 6px;
  padding: 8px 12px;
}

.mar-dash-modal-apply {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #ffffff !important;
}

.mar-dash-modal-apply:hover,
.mar-dash-modal-apply:focus {
  border-color: #36ad97 !important;
  background: #36ad97 !important;
  color: #ffffff !important;
}

.mar-profile-upload-notice-modal .mar-dash-modal-backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: marModalFadeIn 0.2s ease-out;
}

.mar-profile-upload-notice-modal .mar-dash-modal-card {
  width: min(440px, 90vw);
  max-height: none;
  margin: 0 auto;
  padding: 32px 28px 28px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: marModalSlideUp 0.3s ease-out;
}

.mar-profile-upload-notice-modal .mar-modal-icon {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mar-profile-upload-notice-modal .mar-dash-modal-title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
}

.mar-profile-upload-notice-modal .mar-dash-modal-body {
  margin: 0 0 28px;
  padding: 0;
  overflow: visible;
}

.mar-profile-upload-notice-modal .mar-profile-upload-notice-text {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.5;
}

button.mar-step-next {
  color: #fff;
  background: var(--primary);
  border: var(--primary);
  gap: 10px;
}

button.mar-step-next:hover,
button.mar-step-next:focus {
  color: #fff;
  background: #36ad97;
  border: #36ad97;
}

.mar-profile-upload-notice-modal .mar-modal-subtext {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

.mar-profile-upload-notice-modal .mar-dash-modal-actions {
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.mar-profile-upload-notice-modal .mar-dash-modal-apply {
  min-width: 120px;
  padding: 12px 28px;
  border: 0;
  border-radius: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mar-profile-upload-notice-modal .mar-dash-modal-apply:hover,
.mar-profile-upload-notice-modal .mar-dash-modal-apply:focus {
  background: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(72, 202, 178, 0.3);
}

.mar-profile-upload-notice-modal .mar-dash-modal-apply:active {
  transform: scale(0.98);
}

.mar-profile-upload-notice-modal .mar-dash-modal-apply:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@keyframes marModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes marModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mar-piece-dashboard .mar-piece-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.shipping_note {
  width: 500px;
}

.mar-piece-dashboard .mar-piece-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mar-piece-dashboard .mar-piece-header h3 {
  margin-bottom: 0;
}

.mar-piece-dashboard .mar-piece-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #202020;
  border: 1px solid #d0d7e2;
  border-radius: 999px;
  min-height: 44px;
  padding: 11px 18px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  flex: 0 0 16px;
}

.mar-piece-dashboard .mar-piece-dashboard-toggle::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.mar-piece-dashboard .mar-piece-dashboard-overview-toggle::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.mar-piece-dashboard .mar-piece-dashboard-orders-toggle::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10'/%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M7 16h6'/%3E%3C/svg%3E");
}

.mar-piece-dashboard .mar-piece-upload-link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='M7 9l5-5 5 5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
}

.mar-piece-dashboard .mar-piece-profile-back::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E");
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta:hover,
.mar-piece-dashboard .mar-piece-header-actions .mar-cta:focus-visible {
  background: #202020;
  color: #ffffff;
  border-color: #202020;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta.is-active,
.mar-piece-dashboard .mar-piece-header-actions .mar-cta[aria-pressed="true"] {
  background: #202020;
  color: #ffffff;
  border-color: #202020;
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta.is-active::before,
.mar-piece-dashboard
  .mar-piece-header-actions
  .mar-cta[aria-pressed="true"]::before {
  filter: brightness(0) invert(1);
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta:hover::before,
.mar-piece-dashboard .mar-piece-header-actions .mar-cta:focus-visible::before {
  filter: brightness(0) invert(1);
}

.mar-piece-dashboard .mar-piece-header-actions .mar-cta.is-active:hover,
.mar-piece-dashboard
  .mar-piece-header-actions
  .mar-cta[aria-pressed="true"]:hover,
.mar-piece-dashboard .mar-piece-header-actions .mar-cta.is-active:focus-visible,
.mar-piece-dashboard
  .mar-piece-header-actions
  .mar-cta[aria-pressed="true"]:focus-visible {
  background: #202020;
  color: #ffffff;
  border-color: #202020;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.mar-piece-dashboard .mar-piece-stat-card {
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 10px 12px;
  background: #ffffff;
}

.mar-piece-dashboard .mar-piece-stat-card small {
  display: block;
  color: #707070;
  text-transform: uppercase;
}

.mar-piece-dashboard .mar-piece-stat-card strong {
  font-size: 22px;
  color: #202020;
}

.mar-piece-dashboard .mar-piece-insights {
  margin: 12px 0 14px;
  display: grid;
  gap: 12px;
}

.mar-piece-dashboard .mar-piece-insights[hidden] {
  display: none !important;
}

.mar-piece-dashboard .mar-piece-insights-slider {
  position: relative;
  display: block;
}

.mar-piece-dashboard .mar-piece-insights-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0;
}

.mar-piece-dashboard .mar-piece-insights-track .mar-piece-insights-card {
  scroll-snap-align: start;
}

.mar-piece-dashboard .mar-piece-insights-nav {
  display: none;
}

.mar-piece-dashboard .mar-piece-dashboard-artworks[hidden] {
  display: none !important;
}

.mar-piece-dashboard .mar-piece-dashboard-orders[hidden] {
  display: none !important;
}

.mar-piece-dashboard .mar-piece-orders-header {
  margin: 12px 0 18px;
}

.mar-piece-dashboard .mar-piece-orders-header h4 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #202020;
}

.mar-piece-dashboard .mar-piece-orders-header p {
  margin: 0;
  color: #64748b;
}

.mar-piece-dashboard .mar-piece-orders-table-wrap {
  width: 100%;
  overflow-x: auto;
}

table thead th:first-child,
table td:first-child,
table th:first-child {
  padding: auto !important;
}

.mar-piece-dashboard .mar-piece-orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mar-piece-dashboard .mar-piece-orders-table th,
.mar-piece-dashboard .mar-piece-orders-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}

.mar-piece-dashboard .mar-piece-orders-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mar-piece-dashboard .mar-piece-orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.mar-piece-dashboard .mar-piece-orders-table tbody tr[hidden] {
  display: none !important;
}

.mar-piece-dashboard .mar-piece-order-view-btn {
  min-width: 88px;
  border-radius: 999px;
}

.mar-piece-dashboard .mar-piece-order-card {
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.mar-piece-dashboard .mar-piece-order-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.mar-piece-dashboard .mar-piece-order-top h5 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #202020;
}

.mar-piece-dashboard .mar-piece-order-top p {
  margin: 0;
  color: #64748b;
}

.mar-piece-dashboard .mar-piece-order-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mar-piece-dashboard .mar-piece-order-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.mar-piece-dashboard .mar-piece-order-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.mar-piece-dashboard .mar-piece-order-quick-btn {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.mar-piece-dashboard .mar-piece-order-box {
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 14px;
  background: #fbfdff;
}

.mar-piece-dashboard .mar-piece-order-box strong {
  display: block;
  margin-bottom: 8px;
  color: #202020;
}

.mar-piece-dashboard .mar-piece-order-box p,
.mar-piece-dashboard .mar-piece-order-box li {
  color: #475569;
}

.mar-piece-dashboard .mar-piece-order-box ul {
  margin: 0;
  padding-left: 18px;
}

.mar-piece-dashboard .mar-piece-order-money-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .mar-dashboard-shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mar-dashboard-shortcuts-grid .btn {
    width: 100%;
    min-width: 0;
  }
}

.mar-piece-dashboard .mar-piece-order-money-grid div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5f9;
}

.mar-piece-dashboard .mar-piece-order-money-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #64748b;
}

.mar-piece-dashboard .mar-piece-order-money-grid strong {
  margin: 0;
  font-size: 14px;
}

.mar-piece-dashboard .mar-piece-order-events-box {
  margin-bottom: 14px;
}

.mar-piece-dashboard .mar-piece-order-events-list {
  display: grid;
  gap: 10px;
}

.mar-piece-dashboard .mar-piece-order-event-item {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.mar-piece-dashboard .mar-piece-order-event-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.mar-piece-dashboard .mar-piece-order-event-head span {
  font-size: 12px;
  color: #64748b;
}

.mar-piece-dashboard .mar-piece-order-event-item p {
  margin: 0;
}

.mar-piece-dashboard .mar-piece-insights-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.mar-piece-dashboard .mar-wallet-request-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mar-piece-dashboard .mar-wallet-request-form label {
  display: grid;
  gap: 6px;
}

.mar-piece-dashboard .mar-wallet-request-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mar-piece-dashboard .mar-wallet-request-response {
  margin: 0;
  color: #475569;
}

.mar-piece-dashboard .mar-wallet-request-response.is-success {
  color: #15803d;
}

.mar-piece-dashboard .mar-wallet-request-response.is-error {
  color: #b91c1c;
}

.mar-piece-dashboard .mar-piece-order-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mar-piece-dashboard .mar-piece-order-form-grid label {
  display: grid;
  gap: 6px;
}

.mar-piece-dashboard .mar-piece-order-form-grid label.is-full {
  grid-column: 1 / -1;
}

.mar-piece-dashboard .mar-piece-delivery-proof-field small {
  color: #64748b;
}

.mar-piece-dashboard .mar-piece-delivery-proof-link {
  display: inline-block;
  margin-top: 10px;
  max-width: 220px;
}

.mar-piece-dashboard .mar-piece-delivery-proof-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbe4f0;
  background: #fff;
}

.mar-piece-dashboard .mar-piece-order-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mar-piece-dashboard .mar-piece-order-response {
  margin: 0;
  color: #475569;
}

.mar-piece-dashboard .mar-piece-order-response.is-success {
  color: #15803d;
}

.mar-piece-dashboard .mar-piece-order-response.is-error {
  color: #b91c1c;
}

.mar-piece-dashboard .mar-piece-orders-table td > .mar-piece-order-card {
  margin: 0;
}

.mar-piece-dashboard .mar-piece-order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.mar-piece-dashboard .mar-piece-order-timeline-step {
  position: relative;
  padding: 0 8px 0 0;
  text-align: center;
}

.mar-piece-dashboard .mar-piece-order-timeline-step::after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(50% + 14px);
  right: -8px;
  height: 2px;
  background: #cbd5e1;
}

.mar-piece-dashboard .mar-piece-order-timeline-step:last-child::after {
  display: none;
}

.mar-piece-dashboard .mar-piece-order-timeline-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin: 0 auto 8px;
  background: #cbd5e1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #cbd5e1;
}

.mar-piece-dashboard .mar-piece-order-timeline-step strong {
  display: block;
  font-size: 12px;
  color: #475569;
  line-height: 1.35;
}

.mar-piece-dashboard
  .mar-piece-order-timeline-step.is-done
  .mar-piece-order-timeline-dot,
.mar-piece-dashboard .mar-piece-order-timeline-step.is-done::after {
  background: #16a34a;
  box-shadow: 0 0 0 2px #16a34a;
}

.mar-piece-dashboard
  .mar-piece-order-timeline-step.is-current
  .mar-piece-order-timeline-dot {
  background: #2563eb;
  box-shadow: 0 0 0 2px #2563eb;
}

.mar-piece-dashboard
  .mar-piece-order-timeline-step.is-issue
  .mar-piece-order-timeline-dot,
.mar-piece-dashboard .mar-piece-order-timeline-step.is-issue::after {
  background: #dc2626;
  box-shadow: 0 0 0 2px #dc2626;
}

.mar-piece-dashboard .mar-piece-order-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mar-piece-dashboard .mar-piece-order-modal[hidden] {
  display: none !important;
}

.mar-piece-dashboard .mar-piece-order-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mar-piece-dashboard .mar-piece-order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.mar-piece-dashboard .mar-piece-order-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(95vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.mar-piece-dashboard
  .mar-piece-order-modal.is-open
  .mar-piece-order-modal-dialog {
  transform: translateY(0) scale(1);
}

.mar-piece-dashboard .mar-piece-order-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #202020;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mar-piece-dashboard .mar-piece-orders-empty {
  color: #64748b;
}

.mar-piece-dashboard .mar-state-paid {
  background: #dcfce7;
  color: #166534;
}

.mar-piece-dashboard .mar-state-pending {
  background: #fef3c7;
  color: #92400e;
}

.mar-piece-dashboard .mar-state-failed,
.mar-piece-dashboard .mar-state-issue {
  background: #fee2e2;
  color: #991b1b;
}

.mar-piece-dashboard .mar-state-refunded {
  background: #e0e7ff;
  color: #3730a3;
}

.mar-piece-dashboard .mar-piece-duplicate-btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.mar-piece-dashboard .mar-piece-fix-list li {
  grid-template-columns: 1fr auto;
}

.mar-piece-dashboard .mar-piece-fix-list li small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.mar-piece-dashboard .mar-piece-status-inline {
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mar-piece-dashboard .mar-piece-status-inline.is-refused {
  color: #b91c1c;
}

.mar-piece-dashboard .mar-piece-status-inline.is-blocked {
  color: #991b1b;
}

.mar-piece-dashboard .mar-piece-card-reason {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 1100px) {
  .mar-piece-dashboard .mar-piece-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mar-piece-dashboard .mar-piece-insights-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mar-piece-dashboard .mar-piece-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .mar-piece-dashboard .mar-piece-insights-track {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mar-piece-dashboard .mar-piece-insights-prev {
  left: 6px;
}

.mar-piece-dashboard .mar-piece-insights-next {
  right: 6px;
}

.mar-piece-dashboard .mar-piece-insights-card {
  border: 1px solid #707070;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.mar-piece-dashboard .mar-piece-insights-card h4 {
  margin: 0;
  font-size: 15px;
  align-self: start;
  justify-self: start;
}

.mar-piece-dashboard .mar-piece-insights-card > * {
  margin-top: 0;
}

.mar-piece-dashboard .mar-piece-insights-chart,
.mar-piece-dashboard .mar-piece-charts-row,
.mar-piece-dashboard .mar-piece-chart-area,
.mar-piece-dashboard .mar-piece-chart-combo,
.mar-piece-dashboard .mar-piece-chart-bars,
.mar-piece-dashboard .mar-piece-chart-timeline,
.mar-piece-dashboard .mar-piece-chart-donut {
  align-self: center;
  justify-self: center;
  width: 100%;
}

.mar-piece-dashboard .mar-piece-charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: center;
}

.mar-piece-dashboard .mar-piece-chart-pie svg,
.mar-piece-dashboard .mar-piece-chart-columns svg,
.mar-piece-dashboard .mar-piece-chart-area svg {
  width: 100%;
  height: auto;
  display: block;
}

.mar-piece-dashboard .mar-piece-chart-slice.mar-piece-chart-verified {
  fill: #10b981;
}
.mar-piece-dashboard .mar-piece-chart-slice.mar-piece-chart-pending {
  fill: #f59e0b;
}
.mar-piece-dashboard .mar-piece-chart-slice.mar-piece-chart-refused {
  fill: #ef4444;
}
.mar-piece-dashboard .mar-piece-chart-slice.mar-piece-chart-blocked {
  fill: #b91c1c;
}
.mar-piece-dashboard .mar-piece-chart-slice.mar-piece-chart-trashed {
  fill: #6b7280;
}

.mar-piece-dashboard .mar-piece-chart-col.mar-piece-chart-verified {
  fill: #10b981;
}
.mar-piece-dashboard .mar-piece-chart-col.mar-piece-chart-pending {
  fill: #f59e0b;
}
.mar-piece-dashboard .mar-piece-chart-col.mar-piece-chart-refused {
  fill: #ef4444;
}
.mar-piece-dashboard .mar-piece-chart-col.mar-piece-chart-blocked {
  fill: #b91c1c;
}
.mar-piece-dashboard .mar-piece-chart-col.mar-piece-chart-trashed {
  fill: #6b7280;
}

.mar-piece-dashboard .mar-piece-chart-area {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px;
  border: 1px solid #e5e7eb;
}

.mar-piece-dashboard .mar-piece-chart-area-fill {
  fill: rgba(79, 70, 229, 0.18);
}

.mar-piece-dashboard .mar-piece-chart-line {
  fill: none;
  stroke: #4f46e5;
  stroke-width: 2;
}

.mar-piece-dashboard .mar-piece-chart-labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
}

.mar-piece-dashboard .mar-piece-chart-combo {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px;
  border: 1px solid #e5e7eb;
}

.mar-piece-dashboard .mar-piece-chart-combo-bar {
  fill: rgba(59, 130, 246, 0.45);
}

.mar-piece-dashboard .mar-piece-chart-combo-line {
  fill: none;
  stroke: #10b981;
  stroke-width: 2;
}

.mar-piece-dashboard .mar-piece-chart-bars {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mar-piece-dashboard .mar-piece-chart-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #374151;
}

.mar-piece-dashboard .mar-piece-chart-bars-price .mar-piece-chart-bar div {
  background: #0ea5e9;
}

.mar-piece-dashboard .mar-piece-chart-timeline {
  display: grid;
  gap: 10px;
  position: relative;
  align-content: start;
}

.mar-piece-dashboard .mar-piece-chart-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e5e7eb;
}

.mar-piece-dashboard .mar-piece-timeline-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  align-items: center;
  position: relative;
  padding-left: 4px;
}

.mar-piece-dashboard .mar-piece-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4f46e5;
  z-index: 1;
}

.mar-piece-dashboard .mar-piece-timeline-row strong {
  display: block;
  font-size: 13px;
  color: #111827;
}

.mar-piece-dashboard .mar-piece-timeline-row em {
  font-style: normal;
  font-size: 11px;
  color: #6b7280;
}

.mar-piece-dashboard
  .mar-piece-chart-timeline-moderation
  .mar-piece-dot-verified {
  background: #10b981;
}

.mar-piece-dashboard
  .mar-piece-chart-timeline-moderation
  .mar-piece-dot-pending {
  background: #f59e0b;
}

.mar-piece-dashboard
  .mar-piece-chart-timeline-moderation
  .mar-piece-dot-refused {
  background: #ef4444;
}

.mar-piece-dashboard
  .mar-piece-chart-timeline-moderation
  .mar-piece-dot-blocked,
.mar-piece-dashboard
  .mar-piece-chart-timeline-moderation
  .mar-piece-dot-trashed {
  background: #334155;
}

.mar-piece-dashboard .mar-piece-status-inline {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #475569;
}

.mar-piece-dashboard .mar-piece-status-inline.is-verified {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.mar-piece-dashboard .mar-piece-status-inline.is-pending {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.mar-piece-dashboard .mar-piece-status-inline.is-refused {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.mar-piece-dashboard .mar-piece-status-inline.is-blocked,
.mar-piece-dashboard .mar-piece-status-inline.is-trashed {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.mar-piece-dashboard .mar-piece-chart-donut {
  display: grid;
  place-items: center;
  position: relative;
  width: 160px;
  margin: 0 auto;
}

.mar-piece-dashboard .mar-piece-chart-donut svg {
  width: 160px;
  height: 160px;
}

.mar-piece-dashboard .mar-piece-chart-donut-base {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 12;
}

.mar-piece-dashboard .mar-piece-chart-donut-value {
  fill: none;
  stroke: #0ea5e9;
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
}

.mar-piece-dashboard .mar-piece-chart-donut-label {
  position: absolute;
  display: grid;
  gap: 4px;
  text-align: center;
}

.mar-piece-dashboard .mar-piece-chart-donut-label strong {
  font-size: 22px;
  color: #111827;
}

.mar-piece-dashboard .mar-piece-chart-donut-label span {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
}

.mar-piece-dashboard .mar-piece-insights-chart {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mar-piece-dashboard .mar-piece-chart-row {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #374151;
}

.mar-piece-dashboard .mar-piece-chart-bar {
  position: relative;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
}

.mar-piece-dashboard .mar-piece-chart-bar div {
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.mar-piece-dashboard .mar-piece-chart-verified .mar-piece-chart-bar div {
  background: #10b981;
}

.mar-piece-dashboard .mar-piece-chart-pending .mar-piece-chart-bar div {
  background: #f59e0b;
}

.mar-piece-dashboard .mar-piece-chart-refused .mar-piece-chart-bar div,
.mar-piece-dashboard .mar-piece-chart-blocked .mar-piece-chart-bar div,
.mar-piece-dashboard .mar-piece-chart-out .mar-piece-chart-bar div {
  background: #ef4444;
}

.mar-piece-dashboard .mar-piece-chart-trashed .mar-piece-chart-bar div {
  background: #6b7280;
}

.mar-piece-dashboard .mar-piece-chart-low .mar-piece-chart-bar div {
  background: #f97316;
}

.mar-piece-dashboard .mar-piece-chart-zoom .mar-piece-chart-bar div {
  background: #6366f1;
}

.mar-piece-dashboard .mar-piece-insights-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.mar-piece-dashboard .mar-piece-insights-kpis div {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f9fafb;
  display: grid;
  gap: 4px;
}

.mar-piece-dashboard .mar-piece-insights-kpis span {
  font-size: 11px;
  text-transform: uppercase;
  color: #6b7280;
}

.mar-piece-dashboard .mar-piece-insights-kpis strong {
  font-size: 16px;
  color: #111827;
}

.mar-piece-dashboard .mar-piece-insights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mar-piece-dashboard .mar-piece-insights-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.mar-piece-dashboard .mar-piece-insights-list li span {
  font-weight: 600;
  color: #111827;
}

.mar-piece-dashboard .mar-piece-insights-list li em {
  font-style: normal;
  color: #6b7280;
  font-size: 12px;
}

.mar-piece-dashboard .mar-piece-insights-list li a {
  font-size: 12px;
  text-decoration: none;
}

.mar-piece-dashboard .mar-piece-insights-empty {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.mar-piece-dashboard .mar-piece-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.mar-piece-dashboard .mar-piece-controls input[type="search"] {
  max-width: 260px;
}

.mar-piece-dashboard .mar-piece-table-wrap {
  overflow: auto;
}

.mar-piece-dashboard .mar-piece-cards-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.mar-piece-dashboard .mar-piece-card {
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.mar-piece-dashboard .mar-piece-card-image {
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
  height: 182px;
}

.mar-piece-dashboard.mar-piece-thumb-small .mar-piece-card-image {
  height: 140px;
}

.mar-piece-dashboard.mar-piece-thumb-small .mar-piece-card-image img {
  height: 138px;
}

.mar-piece-dashboard.mar-piece-thumb-large .mar-piece-card-image {
  height: 240px;
}

.mar-piece-dashboard.mar-piece-thumb-large .mar-piece-card-image img {
  height: 238px;
}

.mar-piece-dashboard .mar-piece-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.mar-piece-dashboard .mar-piece-card-image span {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #707070;
  font-size: 12px;
}

.mar-piece-dashboard .mar-piece-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.mar-piece-dashboard .mar-piece-card-head h4 {
  margin: 0;
  font-size: 16px;
  color: #202020;
}

.mar-piece-dashboard .mar-piece-card-id {
  font-size: 12px;
  color: #707070;
}

.mar-piece-dashboard .mar-piece-card-meta p {
  margin: 0;
  padding: 0;
  background: transparent;
}

.mar-piece-dashboard .mar-piece-card-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mar-piece-dashboard .mar-piece-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mar-piece-dashboard .mar-piece-card-actions .mar-piece-inline-form {
  margin-left: 0;
}

.mar-piece-dashboard table {
  width: 100%;
  border-collapse: collapse;
}

.mar-piece-dashboard th,
.mar-piece-dashboard td {
  border: 1px solid #707070;
  padding: 10px;
  color: #202020;
  background: #ffffff;
}

.mar-piece-dashboard .mar-piece-actions {
  white-space: nowrap;
}

.mar-piece-dashboard .mar-piece-inline-form {
  display: inline-block;
  margin-left: 6px;
}

.mar-piece-dashboard .mar-piece-trashed-pill {
  margin-left: 6px;
  color: #707070;
}

.mar-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #707070;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.2;
  background: #ffffff;
  color: #202020;
}

.mar-state-pill .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
}

.mar-state-pill.mar-state-verified {
  border-color: var(--primary);
  color: var(--primary);
}

.mar-state-pill.mar-state-unverified {
  border-color: #707070;
  color: #707070;
}

.mar-state-pill.mar-state-active {
  border-color: var(--primary);
  color: var(--primary);
}

.mar-state-pill.mar-state-inactive {
  border-color: #202020;
  color: #202020;
}

.mar-state-pill.mar-state-pending {
  border-color: #f59e0b;
  color: #b45309;
}

.mar-state-pill.mar-state-refused,
.mar-state-pill.mar-state-blocked {
  border-color: #dc2626;
  color: #b91c1c;
}

.mar-state-pill.mar-state-trashed {
  border-color: #6b7280;
  color: #4b5563;
}

.mar-state-pill.mar-state-warning {
  border-color: #f59e0b;
  color: #92400e;
}

.mar-piece-dashboard.mar-piece-badge-solid .mar-state-pill {
  background: #202020;
  color: #ffffff;
  border-color: #202020;
}

.mar-piece-dashboard.mar-piece-badge-outline .mar-state-pill {
  background: transparent;
}

.mar-piece-dashboard.mar-piece-layout-compact .mar-piece-cards-wrap {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.mar-piece-dashboard .mar-piece-pagination {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mar-verified-artists-grid-block {
  --mar-verified-columns-desktop: 4;
  --mar-verified-columns-tablet: 2;
  --mar-verified-columns-mobile: 1;
  --mar-verified-card-ratio: 1 / 1;
  --mar-verified-card-gap: 16px;
  --mar-verified-name-size: 22px;
  --mar-verified-meta-size: 14px;
  --mar-verified-text-align: center;
  --mar-verified-text-color: #ffffff;
  --mar-verified-overlay-opacity: 0.38;
  --mar-verified-transition: 260ms;
  margin: 20px 0;
}

.mar-verified-artists-grid-title {
  margin: 0 0 14px;
  font-size: 28px;
  color: #202020;
}

.mar-verified-artists-grid-subtitle {
  margin: -4px 0 16px;
  color: #707070;
}

.mar-verified-artists-grid {
  display: grid;
  grid-template-columns: repeat(
    var(--mar-verified-columns-desktop),
    minmax(0, 1fr)
  );
  gap: var(--mar-verified-card-gap);
}

.mar-verified-artist-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform var(--mar-verified-transition) ease, box-shadow var(--mar-verified-transition) ease, border-color var(--mar-verified-transition) ease;
  min-height: 240px;
}

.mar-verified-artist-card::before,
.mar-verified-artist-card::after {
  display: none !important;
}

.mar-verified-artist-card:hover,
.mar-verified-artist-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.14);
}

.mar-verified-artist-card.is-no-image .mar-verified-artist-card-avatar {
  background: linear-gradient(135deg, #f2f2f2 0%, #d9d9d9 100%);
}

.mar-verified-artist-card-inner {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.mar-verified-artist-card-avatar {
  flex: 0 0 180px;
  min-width: 180px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mar-verified-artist-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  padding: 26px 26px 22px;
  min-width: 0;
}

.mar-verified-artist-card-info {
  display: grid;
  gap: 10px;
}

.mar-verified-artist-card-title {
  margin: 0;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.mar-verified-artist-card-description {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}

.mar-verified-artist-card-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.mar-verified-artist-gallery-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mar-verified-artist-gallery-preview::-webkit-scrollbar {
  display: none;
}

.mar-verified-artist-artwork-thumb {
  flex: 0 0 100px;
  width: 100px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  object-fit: cover;
  background: #f8fafc;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mar-verified-artist-artwork-thumb:hover,
.mar-verified-artist-artwork-thumb:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.15);
}

.mar-verified-artist-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 220ms ease, transform 220ms ease;
  margin-top: auto;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
  position: relative;
  z-index: 1;
}

.mar-verified-artist-card:hover .mar-verified-artist-cta,
.mar-verified-artist-card:focus-within .mar-verified-artist-cta,
.mar-verified-artist-cta:hover,
.mar-verified-artist-cta:focus {
  background: #0f172a !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
  text-decoration: none;
}

.mar-verified-artist-link {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.mar-verified-artist-overlay,
.mar-verified-artist-overlay h4,
.mar-verified-artist-overlay p {
  display: none;
}

@media (max-width: 768px) {
  .mar-verified-artist-card {
    flex-direction: column;
    min-height: auto;
  }

  .mar-verified-artist-card-avatar {
    width: 100%;
    min-width: 0;
    height: 220px;
  }

  .mar-verified-artist-card-content {
    padding: 20px;
  }

  .mar-verified-artist-gallery-preview {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mar-verified-artist-artwork-thumb {
    min-width: 0;
  }

  .mar-verified-artist-cta {
    width: 100%;
  }

  .mar-verified-artist-card-inner{
    flex-direction: column;
  }

  main.dashboard-main{
    padding: 20px;
  }
}

.mar-verified-artists-grid-block.is-hover-show-meta
  .mar-verified-artist-overlay
  p {
  display: none;
}

.mar-verified-artists-grid-block.is-hover-show-meta
  .mar-verified-artist-card:hover
  .mar-verified-artist-overlay
  p,
.mar-verified-artists-grid-block.is-hover-show-meta
  .mar-verified-artist-card:focus-within
  .mar-verified-artist-overlay
  p {
  display: block;
  animation: marVerifiedMetaIn 220ms ease forwards;
}

.mar-verified-artists-grid-block.is-grayscale-default
  .mar-verified-artist-card::before {
  filter: grayscale(100%);
}

.mar-verified-artists-grid-block.is-image-contain
  .mar-verified-artist-card::before {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #202020;
}

.mar-verified-artists-grid-block.is-hover-colorize
  .mar-verified-artist-card:hover::before,
.mar-verified-artists-grid-block.is-hover-colorize
  .mar-verified-artist-card:focus-within::before {
  filter: grayscale(0%);
}

.mar-verified-artists-grid-block.is-hover-zoom
  .mar-verified-artist-card:hover::before,
.mar-verified-artists-grid-block.is-hover-zoom
  .mar-verified-artist-card:focus-within::before {
  transform: scale(1.06);
}

.mar-verified-artist-card:hover::before,
.mar-verified-artist-card:focus-within::before {
  will-change: transform;
}

.mar-verified-artist-card:hover::after,
.mar-verified-artist-card:focus-within::after {
  background: rgba(20, 20, 20, 0.22);
}

.mar-verified-artist-link {
  position: static;
  inset: auto;
  z-index: auto;
  display: block;
  width: 100%;
  text-decoration: none !important;
  color: inherit;
}

.mar-verified-artist-link .mar-verified-artist-overlay {
  width: 100%;
  height: 100%;
}

.mar-verified-artist-badge {
  margin-bottom: 10px;
}

.mar-verified-artist-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.mar-verified-artists-grid-block.is-stagger-reveal .mar-verified-artist-card {
  opacity: 0;
  transform: translateY(10px);
  animation: marVerifiedCardIn var(--mar-verified-transition) ease forwards;
  animation-delay: var(--mar-stagger-delay, 0ms);
}

@keyframes marVerifiedMetaIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marVerifiedCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mar-verified-artists-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #707070;
}

.mar-public-profile {
  background: #ffffff;
}

.mar-public-profile-nav {
  margin-bottom: 14px;
}

.mar-public-profile-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.mar-public-profile-avatar {
  width: 220px !important;
  height: 220px !important;
  min-width: 220px;
  max-width: 220px !important;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #707070;
  display: block;
}

.mar-public-profile-heading .mar-verified-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  max-width: 28px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.mar-public-profile-heading h3 {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 36px;
  line-height: 1.1;
}

.mar-public-profile-heading p {
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  color: #707070;
}

.mar-public-profile-section {
  margin-bottom: 16px;
}

.mar-public-profile-section h4 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.mar-public-profile-section p {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #202020;
  white-space: pre-wrap;
}

.mar-public-profile-techniques {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mar-public-profile-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mar-public-profile-gallery figure {
  margin: 0;
}

.mar-public-profile-gallery figure img[data-gallery-lightbox-item] {
  cursor: zoom-in;
}

.mar-public-profile-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #707070;
}

.mar-public-profile-gallery figcaption {
  margin-top: 6px;
  color: #707070;
}

.mar-public-profile-marketplace .artist-banner {
  background: #fafafa;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(112, 112, 112, 0.05);
}

.mar-public-profile-marketplace .artist-info-container {
  display: contents;
}

.mar-public-profile-marketplace .artist-portrait-wrapper {
  position: relative;
  flex-shrink: 0;
}

.mar-public-profile-marketplace .artist-portrait {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(72, 202, 178, 0.2);
}

.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-circle
  .artist-portrait,
.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-circle
  .mar-public-profile-avatar {
  border-radius: 999px;
}

.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-square
  .artist-portrait,
.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-square
  .mar-public-profile-avatar {
  border-radius: 6px;
}

.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-rounded
  .artist-portrait,
.mar-public-profile
  .artist-portrait-wrapper.mar-avatar-shape-rounded
  .mar-public-profile-avatar {
  border-radius: 16px;
}

.mar-public-profile-marketplace .verified-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mar-public-profile-marketplace .verified-icon {
  color: #48cab2;
}

.mar-public-profile-marketplace .artist-details {
  flex: 1;
}

.mar-public-profile-marketplace .artist-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

.mar-public-profile-marketplace .artist-name {
  font-size: 28px;
  font-weight: 700;
  color: #202020;
  margin-bottom: 8px;
}

.mar-public-profile-marketplace .artist-meta {
  color: #707070;
  font-size: 14px;
  margin-bottom: 12px;
}

.mar-public-profile-marketplace .artist-bio {
  color: #707070;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mar-public-profile-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  width: 100%;
  max-width: 80%;
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
}

.mar-public-profile-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  margin-left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(72, 202, 178, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.mar-public-profile-filters {
  display: inline-flex;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mar-public-sort-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #202020;
  position: relative;
}

.mar-public-sort-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 44px 10px 16px;
  border: 1px solid #202020;
  background: #ffffff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #202020;
  cursor: pointer;
  min-width: 220px;
}

.mar-public-sort-select::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #202020;
  pointer-events: none;
}

.mar-public-profile-filters .filter-button {
  padding: 8px 14px;
  border: 1px solid rgba(112, 112, 112, 0.2);
  background: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  color: #202020;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mar-public-profile-filters .filter-button:hover {
  border-color: #48cab2;
  box-shadow: 0 2px 8px rgba(72, 202, 178, 0.15);
}

.mar-public-sort-item:hover {
  background: rgba(72, 202, 178, 0.12);
}

.mar-public-profile-products-grid {
  display: grid;
  grid-template-columns: repeat(
    var(--mar-public-grid-desktop, 4),
    minmax(0, 1fr)
  );
  gap: 18px;
  margin-top: 14px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.mar-public-profile-product-cell.is-hidden {
  display: none;
}

.mar-public-profile-pagination {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.mar-public-profile-pagination[hidden] {
  display: none !important;
}

.mar-public-profile-read-more {
  min-width: 180px;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mar-public-profile-read-more-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 999px;
  display: none;
  animation: mar-public-read-more-spin 0.7s linear infinite;
}

.mar-public-profile-read-more.is-loading .mar-public-profile-read-more-spinner {
  display: inline-block;
}

.mar-public-profile-read-more.is-loading .mar-public-profile-read-more-label {
  opacity: 0.9;
}

@keyframes mar-public-read-more-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mar-public-profile-pagination-debug {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  line-height: 1.6;
}

.mar-public-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(17, 24, 39, 0.86);
}

.mar-public-gallery-lightbox[hidden] {
  display: none !important;
}

.mar-public-gallery-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.mar-public-gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mar-related-art-pieces {
  margin-top: 32px;
  position: relative;
}

.mar-related-art-pieces-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.mar-related-art-pieces-head h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mar-related-art-pieces-controls {
  position: absolute;
  inset: 64px 0 0;
  pointer-events: none;
}

.mar-related-art-pieces-nav {
  position: absolute;
  top: 34%;
  transform: translateY(-50%) scale(0.96);
  width: 60px;
  height: 60px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #94a3b8;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease,
    background-color 0.26s ease,
    border-color 0.26s ease;
  z-index: 3;
  font-size: 0;
}

.mar-related-art-pieces-nav::before {
  font-family: inherit;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.mar-related-art-pieces-nav[data-related-prev]::before {
  content: "\2039";
}

.mar-related-art-pieces-nav[data-related-prev] {
  left: 12px;
}

.mar-related-art-pieces-nav[data-related-next]::before {
  content: "\203A";
}

.mar-related-art-pieces-nav[data-related-next] {
  right: 12px;
}

.mar-related-art-pieces:hover .mar-related-art-pieces-nav,
.mar-related-art-pieces:focus-within .mar-related-art-pieces-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.mar-related-art-pieces-nav:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  color: #64748b;
}

.mar-related-art-pieces-slider {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mar-related-art-pieces-slider::-webkit-scrollbar {
  display: none;
}

.mar-related-art-pieces-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (18px * (var(--mar-related-grid-desktop, 4) - 1))) /
      var(--mar-related-grid-desktop, 4)
  );
  gap: 18px;
}

.mar-related-art-piece-cell > .product,
.mar-related-art-piece-cell > .woocommerce {
  width: 100% !important;
}

.mar-related-art-piece-cell {
  scroll-snap-align: start;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.mar-related-art-piece-cell:hover {
  transform: translateY(-4px);
}

.mar-related-art-pieces-empty p,
.mar-related-art-pieces-debug {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
}

.mar-related-art-pieces-debug {
  margin-top: 14px;
  border: 1px dashed #94a3b8;
  color: #334155;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .mar-related-art-pieces-grid {
    grid-auto-columns: calc(
      (100% - (18px * (var(--mar-related-grid-tablet, 3) - 1))) /
        var(--mar-related-grid-tablet, 3)
    );
  }
}

@media (max-width: 600px) {
  .mar-related-art-pieces-head {
    margin-bottom: 30px;
  }
  .mar-related-art-pieces-controls {
    inset: 52px 0 0;
  }
  .mar-related-art-pieces-nav {
    opacity: 1;
    visibility: visible;
    top: 30%;
    width: 50px;
    height: 52px;
  }
  .mar-related-art-pieces-grid {
    grid-auto-columns: calc(
      (100% - (18px * (var(--mar-related-grid-mobile, 1) - 1))) /
        var(--mar-related-grid-mobile, 1)
    );
  }
}

@media (max-width: 1100px) {
  .mar-public-profile-products-grid {
    grid-template-columns: repeat(
      var(--mar-public-grid-tablet, 3),
      minmax(0, 1fr)
    );
  }
}

@media (max-width: 900px) {
  .mar-public-profile-products-grid {
    grid-template-columns: repeat(
      var(--mar-public-grid-tablet, 3),
      minmax(0, 1fr)
    );
  }
}

@media (max-width: 600px) {
  .mar-public-profile-products-grid {
    grid-template-columns: repeat(
      var(--mar-public-grid-mobile, 1),
      minmax(0, 1fr)
    );
    max-width: 100%;
  }
  .mar-public-profile-products-head {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
    max-width: 100%;
  }

  .mar-public-profile-filters {
    margin-left: 0;
    justify-content: flex-start;
  }

  .mar-public-sort-select,
  .mar-public-sort-select select {
    width: 100%;
    min-width: 0;
  }
}

.mar-public-profile-product-cell > .product,
.mar-public-profile-product-cell > .woocommerce {
  width: 100% !important;
}

.mar-public-product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mar-public-product-card:hover {
  text-decoration: none !important;
}

.woocommerce-Price-amount.amount {
  color: var(--primary) !important;
  font-weight: bold !important;
}

.mar-public-product-media {
  position: relative;
  border-radius: 10px;
  background: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
  aspect-ratio: 1 / 1;
}

.mar-public-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mar-public-product-card:hover .mar-public-product-media img,
.mar-public-product-card:focus-visible .mar-public-product-media img {
  transform: scale(1.06);
}

.mar-public-product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mar-public-product-body {
  text-align: center;
  padding: 12px 6px 4px;
}

.mar-public-product-body h5 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500 !important;
  color: #111827;
}

.mar-public-product-price {
  margin: 0;
  font-weight: 700;
  color: #2dbf9b;
}

.mar-public-profile-products .products > li.product:only-child {
  max-width: 320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

.mar-public-profile-products .products > li.product:only-child a {
  display: block !important;
}

/* .mar-piece-medina-grid {
  position: relative;
}

.mar-piece-medina-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%23707070' stroke-width='1'/%3E%3Cpath d='M15 15L45 15L45 45L15 45z' fill='none' stroke='%23707070' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='%23707070' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.mar-piece-medina-grid > * {
  position: relative;
  z-index: 1;
} */

.mar-piece-medina-grid .mar-piece-top-nav {
  margin-bottom: 24px;
}

.mar-piece-medina-grid .mar-piece-delivery-progress {
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-head p {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #202020;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-head strong {
  color: var(--primary);
  font-size: 14px;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e6efef;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: width 220ms ease;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-meta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-meta span {
  display: inline-grid;
  flex-direction: column;
  gap: 2px;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-meta small {
  color: #707070;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mar-piece-medina-grid .mar-piece-delivery-progress-meta strong {
  color: #202020;
  font-size: 13px;
}

.mar-piece-medina-grid .mar-piece-headline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mar-piece-medina-grid .mar-piece-headline-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mar-piece-medina-grid .mar-piece-headline-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mar-piece-medina-grid .mar-piece-headline-diamond {
  width: 24px;
  height: 24px;
  border: 2px solid #ffffff;
  transform: rotate(45deg);
}

.mar-piece-medina-grid .mar-piece-headline-text h3 {
  margin: 0;
  font-size: 34px;
  color: #202020;
  border: 0;
  padding: 0;
}

.mar-piece-medina-grid .mar-piece-headline-text p {
  margin: 2px 0 0;
  padding: 0;
  color: #707070;
  background: transparent;
}

.mar-piece-medina-grid .mar-piece-save-btn,
.mar-piece-medina-grid .mar-piece-edit-btn {
  border: 1px solid #202020;
  background: #ffffff;
  color: #202020;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mar-piece-medina-grid .mar-piece-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #202020;
  background: #ffffff;
  color: #202020;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.mar-piece-medina-grid .mar-piece-edit-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.mar-piece-medina-grid .mar-piece-headline:hover .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-headline:focus-within .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-hero-frame:focus-within .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-story-wrap:hover .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-story-wrap:focus-within .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-price-card:hover .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-price-card:focus-within .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-tech-item:hover .mar-piece-edit-btn,
.mar-piece-medina-grid .mar-piece-tech-item:focus-within .mar-piece-edit-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mar-piece-medina-grid .mar-piece-save-btn {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mar-piece-medina-grid .mar-piece-save-btn.is-loading {
  opacity: 0.8;
  cursor: progress;
}

.mar-piece-medina-grid .mar-piece-edit-btn:hover,
.mar-piece-medina-grid .mar-piece-edit-btn:focus {
  background: #202020;
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-product-btn:hover,
.mar-piece-medina-grid .mar-piece-product-btn:focus {
  background: #202020;
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-edit-btn-image.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.mar-piece-editor-show-actions .mar-piece-edit-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mar-piece-medina-grid .mar-piece-save-btn:hover,
.mar-piece-medina-grid .mar-piece-save-btn:focus {
  background: #202020;
  border-color: #202020;
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-medina-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--mar-piece-main-col, 66%)) minmax(
      0,
      calc(100% - var(--mar-piece-main-col, 66%))
    );
  gap: 24px;
}

.mar-piece-medina-grid .mar-piece-hero-frame {
  position: relative;
  margin: 0;
  border-radius: 18px;
  background: #f3f4f6;
}

.mar-piece-medina-grid .mar-piece-hero-gallery {
  position: relative;
}

.mar-piece-medina-grid .mar-piece-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transition:
    transform 320ms ease,
    opacity 320ms ease;
}

.mar-piece-medina-grid .mar-piece-hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.mar-piece-medina-grid .mar-piece-hero-slide.is-prev {
  opacity: 0;
  transform: translateX(-10%);
  z-index: 1;
}

.mar-piece-medina-grid .mar-piece-hero-slide.is-next {
  opacity: 0;
  transform: translateX(10%);
  z-index: 1;
}

.mar-piece-medina-grid .mar-piece-hero-slide.from-right {
  animation: marPieceSlideFromRight 320ms ease;
}

.mar-piece-medina-grid .mar-piece-hero-slide.from-left {
  animation: marPieceSlideFromLeft 320ms ease;
}

.mar-piece-medina-grid .mar-piece-hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--mar-piece-image-ratio, 4 / 3);
  object-fit: cover;
  display: block;
}

.mar-piece-medina-grid .mar-piece-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  padding: 0;
}

.mar-piece-medina-grid .mar-piece-gallery-nav .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.mar-piece-medina-grid .mar-piece-gallery-nav:hover,
.mar-piece-medina-grid .mar-piece-gallery-nav:focus {
  background: #202020;
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-gallery-nav-prev {
  left: 16px;
}

.mar-piece-medina-grid .mar-piece-gallery-nav-next {
  right: 16px;
}

.mar-piece-medina-grid .mar-piece-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  min-width: 76px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.mar-piece-medina-grid .mar-piece-gallery-counter strong {
  color: #ffffff;
  font-weight: 700;
}

@keyframes marPieceSlideFromRight {
  from {
    opacity: 0;
    transform: translateX(10%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes marPieceSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-10%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mar-piece-medina-grid .mar-piece-edit-btn-image {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: -1;
}

.mar-piece-medina-grid .mar-piece-fullscreen-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  border: 1px solid #202020;
  background: #ffffff;
  color: #202020;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mar-piece-medina-grid .mar-piece-fullscreen-btn .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.mar-piece-medina-grid .mar-piece-fullscreen-btn:hover,
.mar-piece-medina-grid .mar-piece-fullscreen-btn:focus {
  background: #202020;
  color: #ffffff;
}

.mar-piece-image-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(32, 32, 32, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mar-piece-image-overlay-img {
  max-width: min(96vw, 1600px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #707070;
  border-radius: 6px;
  background: #ffffff;
}

.mar-piece-image-overlay-close {
  position: fixed;
  top: 16px;
  right: 16px;
  border: 1px solid #ffffff;
  background: #202020;
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 100000;
}

.mar-piece-image-overlay-close:hover,
.mar-piece-image-overlay-close:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.mar-piece-image-overlay-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 0;
}

.mar-piece-image-overlay-nav-prev {
  left: 20px;
}

.mar-piece-image-overlay-nav-next {
  right: 20px;
}

.mar-piece-image-overlay-nav .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.mar-piece-image-overlay-counter {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 100000;
}

.mar-piece-medina-grid .mar-piece-empty-image {
  border: 1px solid #707070;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #707070;
  background: #ffffff;
}

.mar-piece-medina-grid .mar-piece-corner {
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--primary);
  border-style: solid;
  z-index: 2;
}

.mar-piece-medina-grid .mar-piece-corner-tl {
  top: -10px;
  left: -10px;
  border-width: 4px 0 0 4px;
}

.mar-piece-medina-grid .mar-piece-corner-tr {
  top: -10px;
  right: -10px;
  border-width: 4px 4px 0 0;
}

.mar-piece-medina-grid .mar-piece-corner-bl {
  bottom: -10px;
  left: -10px;
  border-width: 0 0 4px 4px;
}

.mar-piece-medina-grid .mar-piece-corner-br {
  bottom: -10px;
  right: -10px;
  border-width: 0 4px 4px 0;
}

.mar-piece-medina-grid .mar-piece-story-wrap {
  margin-top: 20px;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.mar-piece-medina-grid .mar-piece-story-wrap h4 {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--primary);
}

.mar-piece-medina-grid .mar-piece-edit-btn-inline {
  margin: 0 0 10px;
}

.mar-piece-medina-grid .mar-piece-story-mark {
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary);
  transform: rotate(45deg);
}

.mar-piece-medina-grid .mar-piece-story {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  color: #202020;
  line-height: 1.7;
  background: #ffffff;
}

.mar-piece-medina-grid .mar-piece-side-col {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-self: start;
}

@media (min-width: 901px) {
  .mar-piece-medina-grid .mar-piece-side-col {
    position: sticky;
    top: 20px;
  }
}

.mar-piece-medina-grid .mar-piece-price-card {
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  height: 124px;
}

.mar-piece-medina-grid .mar-piece-price-card p {
  margin: 0 0 4px;
  padding: 0;
  background: transparent;
  font-size: 12px;
  text-transform: uppercase;
}

.mar-piece-medina-grid .mar-piece-price-card strong {
  display: block;
  font-size: 32px;
  line-height: 1.05;
  color: #ffffff;
}

.mar-piece-medina-grid .mar-piece-price-card span {
  font-size: 16px;
}

.mar-piece-medina-grid .mar-piece-side-earnings {
  margin-top: 12px;
}

.mar-piece-medina-grid .mar-piece-artist-card {
  border: 2px solid #707070;
  border-radius: 6px;
  padding: 12px;
  background: #ffffff;
}

.mar-piece-medina-grid .mar-piece-artist-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mar-piece-medina-grid .mar-piece-artist-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.mar-piece-medina-grid .mar-piece-artist-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid #707070;
}

.mar-piece-medina-grid .mar-piece-artist-avatar-fallback {
  background: #707070;
}

.mar-piece-medina-grid .mar-piece-artist-verified {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
}

.mar-piece-medina-grid .mar-piece-artist-name,
.mar-piece-medina-grid .mar-piece-artist-city,
.mar-piece-medina-grid .mar-piece-artist-bio {
  margin: 0;
  padding: 0;
  background: transparent;
}

.mar-piece-medina-grid .mar-piece-artist-name {
  color: #202020;
  font-weight: 600;
}

.mar-piece-medina-grid .mar-piece-artist-city,
.mar-piece-medina-grid .mar-piece-artist-bio {
  color: #707070;
  font-size: 13px;
}

.mar-piece-medina-grid .mar-piece-tech-card {
  background: #ffffff;
  border: 1px solid #707070;
  border-radius: 6px;
  padding: 12px;
}

.mar-piece-medina-grid .mar-piece-tech-card h4 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mar-piece-medina-grid .mar-piece-tech-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.mar-piece-medina-grid .mar-piece-tech-card h4 {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.mar-piece-medina-grid .mar-piece-tech-item {
  margin-bottom: 0;
}

.mar-piece-medina-grid .mar-piece-tech-item span {
  display: block;
  font-size: 12px;
  color: #707070;
}

.mar-piece-medina-grid .mar-piece-tech-item strong {
  color: #202020;
  font-size: 14px;
  display: inline-block;
  margin-right: 8px;
}

@media (max-width: 640px) {
  .mar-piece-medina-grid .mar-piece-tech-card {
    grid-template-columns: 1fr;
  }
}

.mar-piece-medina-grid .mar-piece-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mar-piece-medina-grid .mar-piece-badge {
  border: 1px solid var(--primary);
  color: #202020;
  border-radius: 6px;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  background: #ffffff;
}

.mar-piece-medina-grid .mar-piece-alert {
  position: fixed;
  left: 24px;
  bottom: 100px;
  z-index: 10060;
  width: min(420px, calc(100vw - 32px));
  margin: 0 !important;
  padding: 14px 16px;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-left-width: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  color: #202020;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.mar-piece-medina-grid .mar-piece-alert.is-success {
  border-left-color: var(--primary);
}

.mar-piece-medina-grid .mar-piece-alert.is-error {
  border-left-color: #dc2626;
}

@media (max-width: 640px) {
  .mar-piece-medina-grid .mar-piece-alert {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 84px;
  }
}

input[disabled] {
  color: #707070;
  cursor: not-allowed;
}

button.mar-dash-edit-btn.btn-name {
  right: 150px;
  top: 4px;
}

input#mar-artist-chat-modal-29ffa53e-85b0-4406-8b6c-774279b10f2a-input {
  border-radius: 6px;
}

button.rmp-product-rating-trigger.rmp-product-rating-trigger-card {
  border: none !important;
}

button.rmp-product-rating-trigger.rmp-product-rating-trigger-card:hover {
  background-color: #fff !important;
  border: none !important;
}

a.button.mar-piece-page-btn {
  background-color: #fff;
  color: #202020;
  border: 1px solid #202020;
  border-radius: 6px;
}

a.button.mar-piece-page-btn.button-primary {
  background-color: #202020;
  color: #fff;
}

.mar-contract-article.mar-contract-article-6 {
  display: inline-block;
}

@keyframes marFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .mar-profile-private .mar-dash-layout {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-dash-layout-profile-split {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-dash-left-col,
  .mar-profile-private .mar-dash-right-col {
    padding: 24px 20px;
  }

  .mar-profile-private .mar-dash-gallery-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .mar-profile-private .mar-dash-right-col .mar-dash-contact-list {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-dash-gallery {
    grid-template-columns: 1fr;
  }

  .mar-piece-medina-grid .mar-piece-medina-layout {
    grid-template-columns: 1fr;
  }

  .mar-piece-medina-grid .mar-piece-headline {
    flex-wrap: wrap;
  }

  .mar-piece-medina-grid .mar-piece-headline-actions {
    margin-left: 0;
    width: 100%;
  }

  .mar-piece-medina-grid .mar-piece-hero-frame img {
    height: auto;
  }

  .mar-piece-medina-grid .mar-piece-delivery-progress-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mar-verified-artists-grid {
    grid-template-columns: repeat(
      var(--mar-verified-columns-tablet),
      minmax(0, 1fr)
    );
  }

  .mar-piece-dashboard .mar-piece-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mar-piece-dashboard .mar-piece-header-actions {
    width: 100%;
  }

  .mar-piece-dashboard .mar-piece-header-actions .mar-cta {
    width: 100%;
  }

  .mar-public-profile-head {
    grid-template-columns: 1fr;
  }

  .mar-public-profile-avatar {
    width: 100% !important;
    max-width: 260px;
    min-width: 0;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  .mar-form,
  .mar-profile {
    padding: 20px;
  }

  .mar-luxury-signup {
    min-height: auto;
  }

  .mar-step {
    min-height: auto;
  }

  .mar-form h3 {
    font-size: 26px;
  }

  .mar-piece-medina-grid .mar-piece-headline-text h3 {
    font-size: 26px;
  }

  .mar-piece-medina-grid .mar-piece-edit-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mar-piece-medina-grid .mar-piece-hero-frame img {
    height: auto;
  }

  .mar-two-col,
  .mar-bio-grid,
  .mar-piece-spec-row,
  .mar-piece-meta-row,
  .mar-piece-extra-row {
    grid-template-columns: 1fr;
  }

  .mar-form.mar-piece-upload-form .mar-progress-labels {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 0 0 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mar-form.mar-piece-upload-form .mar-progress-labels::-webkit-scrollbar {
    display: none;
  }

  .mar-form.mar-piece-upload-form .mar-step-tab {
    min-width: 140px;
    width: auto;
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    white-space: normal;
    scroll-snap-align: center;
  }

  .mar-form.mar-piece-upload-form .mar-mockup-preview {
    width: 100%;
  }

  .mar-form.mar-piece-upload-form .mar-mockup-canvas-wrap {
    padding: 8px;
    min-height: 0 !important;
  }

  .mar-form.mar-piece-upload-form .mar-mockup-canvas-wrap .canvas-container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    display: block;
    position: relative;
  }

  .mar-form.mar-piece-upload-form .mar-mockup-canvas-wrap .upper-canvas,
  .mar-form.mar-piece-upload-form .mar-mockup-canvas-wrap .lower-canvas {
    max-width: 100% !important;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-head {
    align-items: center;
    flex-wrap: wrap;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-nav {
    display: inline-flex;
    margin-left: auto;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-list::-webkit-scrollbar {
    display: none;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-item {
    flex: 0 0 calc(100% - 52px);
    min-width: calc(100% - 52px);
    max-width: calc(100% - 52px);
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .mar-form.mar-piece-upload-form .mar-gallery-created-empty {
    flex: 0 0 100%;
  }

  .mar-form.mar-signup-form .mar-progress-labels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mar-profile-private .mar-dash-hero h3 {
    font-size: 28px;
  }

  .mar-profile-private .mar-dash-techniques {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-dash-right-col .mar-dash-techniques {
    grid-template-columns: 1fr 1fr;
  }

  .mar-verified-artists-grid {
    grid-template-columns: repeat(
      var(--mar-verified-columns-mobile),
      minmax(0, 1fr)
    );
  }

  .mar-public-profile-gallery {
    grid-template-columns: 1fr;
  }

  .mar-piece-medina-grid .mar-piece-delivery-progress-meta {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-dash-edit-btn {
    opacity: 0;
    pointer-events: none;
  }

  .mar-profile-private .mar-dash-left-col .mar-dash-main-image-wrap {
    width: 156px;
  }

  .mar-form.mar-piece-upload-form .mar-step-actions {
    position: sticky;
    bottom: 0;
    z-index: 7;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .mar-wide-submit {
    width: 100%;
  }

  button.mar-dash-edit-btn.btn-name {
    right: 5px;
    top: 55px;
  }
}

.mar-artist-chat-widget {
  position: fixed;
  left: var(--mar-chat-offset-x, 20px);
  bottom: var(--mar-chat-offset-y, 20px);
  z-index: 9999;
}

.mar-artist-chat-widget.mar-artist-chat-widget-bottom-right {
  left: auto;
  right: var(--mar-chat-offset-x, 20px);
}

.mar-artist-chat-widget.mar-artist-chat-widget-bottom-left {
  left: var(--mar-chat-offset-x, 20px);
  right: auto;
}

.mar-artist-chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.mar-artist-chat-toggle .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
}

.mar-artist-chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d63638;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mar-artist-chat-modal {
  position: absolute;
  left: 0;
  bottom: 74px;
  width: min(92vw, 430px);
  height: min(80vh, 630px);
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.mar-artist-chat-widget.mar-artist-chat-widget-bottom-right
  .mar-artist-chat-modal {
  left: auto;
  right: 0;
}

.mar-artist-chat-modal[hidden] {
  display: none !important;
}

.mar-artist-chat-modal-head {
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mar-artist-chat-modal-head h4 {
  margin: 0;
  font-size: 15px;
}

.mar-artist-chat-close {
  border: 0;
  background: transparent;
  color: #444;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
}

.mar-artist-chat-list {
  padding: 10px;
  overflow: auto;
  display: grid;
  gap: 8px;
  background: #fafafa;
  align-content: start;
  grid-auto-rows: max-content;
}

.mar-artist-chat-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 10px;
  width: auto;
  max-width: none;
  inline-size: fit-content;
  max-inline-size: 80%;
  min-height: auto;
  overflow-x: auto;
}

.mar-artist-chat-item.is-admin {
  justify-self: start;
}

.mar-artist-chat-item.is-artist {
  justify-self: end;
  background: #ecf9f9;
  border-color: #bde9ea;
}

.mar-artist-chat-item.is-unread.is-admin {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}

.mar-artist-chat-item-meta {
  font-size: 11px;
  color: #666;
  margin-bottom: 5px;
}

.mar-artist-chat-item-body {
  margin: 0;
  color: #1f1f1f;
  white-space: pre-wrap;
}

.mar-artist-chat-item-related {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: #555;
}

.mar-artist-chat-empty {
  margin: 8px;
  color: #666;
}

.mar-artist-chat-send-form {
  border-top: 1px solid #ececec;
  padding: 8px;
  display: grid;
  gap: 6px;
  background: #fff;
}

.mar-artist-chat-input-wrap {
  position: relative;
  width: 100%;
}

.mar-artist-chat-input {
  width: 100% !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 10px !important;
  padding: 10px 52px 10px 12px !important;
  min-height: 40px !important;
  line-height: 22px !important;
  background: #fff !important;
}

.mar-artist-chat-send-btn {
  position: absolute;
  top: 42%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.mar-artist-chat-send-btn i {
  font-size: 14px;
}

.mar-artist-chat-send-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.mar-artist-chat-status {
  margin: 0;
  font-size: 12px;
  color: #444;
}

.mar-artist-chat-status.is-error {
  color: #b42318;
}

.mar-artist-chat-status.is-success {
  color: #067647;
}

.mar-upload-access-gate {
  min-height: min(68vh, 760px);
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.mar-upload-access-gate-card {
  width: min(100%, 760px);
  padding: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at top right,
      rgba(43, 180, 184, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.mar-upload-access-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43, 180, 184, 0.14);
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mar-upload-access-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.08);
}

.mar-upload-access-gate-card h3 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.mar-upload-access-gate-card p {
  max-width: 42rem;
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.mar-upload-access-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mar-upload-access-pill {
  display: inline-flex;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mar-upload-access-text {
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

.mar-upload-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mar-upload-access-actions .mar-piece-page-btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.mar-upload-access-actions .mar-piece-page-btn.button-primary {
  background: #111827;
  border-color: #111827;
}

.mar-upload-access-actions .mar-piece-page-btn.button-primary:hover {
  background: #0f172a;
  border-color: #0f172a;
}

@media (max-width: 900px) {
  .mar-upload-access-gate {
    min-height: auto;
    padding: 12px 0 24px;
  }

  .mar-upload-access-gate-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .mar-upload-access-gate-card p {
    font-size: 16px;
  }
}

.mar-product-waitlist {
  /* margin: 18px 0 0; */
  float: left;
  margin-right: 20px;
  margin-top: -2px !important;
}

input#mar-product-waitlist-email-149471 {
  border-radius: 6px !important;
}

.mar-product-waitlist-trigger {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
}

.mar-product-waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mar-product-waitlist-modal[hidden] {
  display: none !important;
}

.mar-product-waitlist-modal.is-open {
  opacity: 1;
}

.mar-product-waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 21, 35, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mar-product-waitlist-modal.is-open .mar-product-waitlist-backdrop {
  opacity: 1;
}

.mar-product-waitlist-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: #fff;
  border-radius: 16px;
  padding: 34px 28px 28px;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.28);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.mar-product-waitlist-modal.is-open .mar-product-waitlist-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mar-product-waitlist-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #202020;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.mar-product-waitlist-eyebrow {
  margin: 0 0 10px;
  color: #202020;
  font-size: 18px;
}

.mar-product-waitlist-title {
  margin: 0 0 8px;
  color: #202020;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.mar-product-waitlist-subtitle,
.mar-product-waitlist-message {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.mar-product-waitlist-form {
  display: grid;
  gap: 16px;
}

.mar-product-waitlist-email {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd5dc;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 18px;
}

.mar-product-waitlist-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.mar-product-waitlist-submit:hover,
.mar-product-waitlist-submit:focus {
  background-color: #fff !important;
  color: #202020 !important;
  border-color: #202020 !important;
}

.mar-product-waitlist-response {
  margin: 0;
  font-size: 15px;
}

.mar-product-waitlist-response.is-error {
  color: #c2410c;
}

.mar-product-waitlist-response.is-success {
  color: #15803d;
}

.woocommerce div.product:not(.no-addtocart) .summary > form.cart ~ .button-in {
  margin-top: 0px !important;
}

.woocommerce
  div.product:not(.no-addtocart)
  .summary
  > form.cart
  + .button-in.wishlist {
  margin-left: 0px !important;
}

@media (max-width: 640px) {
  .mar-product-waitlist-dialog {
    padding: 28px 18px 22px;
  }

  .mar-piece-dashboard .mar-piece-order-columns,
  .mar-piece-dashboard .mar-piece-order-form-grid {
    grid-template-columns: 1fr;
  }

  .mar-piece-dashboard .mar-piece-order-money-grid {
    grid-template-columns: 1fr;
  }

  .mar-piece-dashboard .mar-piece-order-timeline {
    grid-template-columns: 1fr;
  }

  .mar-piece-dashboard .mar-piece-order-timeline-step::after {
    display: none;
  }

  .mar-piece-dashboard .mar-piece-order-top {
    flex-direction: column;
  }
}

.mar-profile-private .mar-profile-editor-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.mar-profile-private .mar-profile-editor-sidebar {
  position: sticky;
  top: 28px;
  padding: 26px 22px;
  border-radius: 28px;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
}

.mar-profile-private .mar-profile-editor-sidebar-head {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mar-profile-private .mar-profile-editor-sidebar-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  overflow: visible;
  margin-bottom: 14px;
}

.mar-profile-private .mar-profile-editor-sidebar-avatar img,
.mar-profile-private .mar-profile-editor-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.mar-profile-private .mar-profile-editor-sidebar-avatar > span,
.mar-profile-private .mar-profile-editor-avatar-large > span {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #cfeee7 0%, #48cab2 100%);
  color: #0f3f39;
  font-size: 28px;
  font-weight: 700;
}

.mar-profile-private .mar-profile-editor-avatar-edit {
  position: absolute !important;
  right: -20px;
  bottom: -2px;
  opacity: 1 !important;
  background: #0b7d6c !important;
  color: #fff !important;
  border-color: #ffffff !important;
}

.mar-profile-private .mar-profile-editor-sidebar-title {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #202020;
}

.mar-profile-private .mar-profile-editor-sidebar-subtitle {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b8176;
}

.mar-profile-private .mar-profile-editor-nav {
  display: grid;
  gap: 10px;
}

.mar-profile-private .mar-profile-editor-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: #7a746f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.mar-profile-private .mar-profile-editor-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: inherit;
}

.mar-profile-private .mar-profile-editor-nav-link:hover,
.mar-profile-private .mar-profile-editor-nav-link:focus,
.mar-profile-private .mar-profile-editor-nav-link.is-active {
  background: linear-gradient(135deg, #edf8f5 0%, #e3f4ef 100%);
  color: #0b7d6c;
  border-color: #d7ede7;
  box-shadow: 0 10px 22px rgba(72, 202, 178, 0.12);
}

.mar-profile-private .mar-profile-editor-nav-link:hover {
  transform: translateX(2px);
}

.mar-profile-private .mar-profile-editor-sidebar-actions {
  margin-bottom: 28px;
}

.mar-profile-private .mar-dash-save-wrap-left {
  margin: 0;
  display: flex;
  justify-content: stretch;
}

.mar-profile-private .mar-dash-save-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 6px !important;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease !important;
}

.mar-profile-private .mar-dash-save-btn:hover,
.mar-profile-private .mar-dash-save-btn:focus {
  background: #096e60 !important;
  border-color: #096e60 !important;
  color: #fff !important;
}

.mar-profile-private .mar-profile-editor-main {
  min-width: 0;
}

.mar-profile-private .mar-profile-editor-header {
  margin-bottom: 18px;
}

.mar-profile-private .mar-profile-editor-header-top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mar-profile-private .mar-profile-editor-avatar-large {
  width: 98px;
  height: 98px;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.mar-profile-private .mar-profile-editor-header-copy {
  min-width: 0;
}

.mar-profile-private .mar-profile-editor-header-copy h1 {
  margin: 0 0 6px;
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #26211d;
}

.mar-profile-private .mar-profile-editor-header-copy p {
  margin: 0;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.6;
  color: #655d56;
}

.mar-profile-private .mar-profile-editor-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mar-profile-private .mar-profile-editor-name-chip,
.mar-profile-private .mar-profile-editor-verified-chip,
.mar-profile-private .mar-profile-editor-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #4c443c;
  font-size: 13px;
  font-weight: 600;
}

.mar-profile-private .mar-profile-editor-name-chip i,
.mar-profile-private .mar-profile-editor-verified-chip i,
.mar-profile-private .mar-profile-editor-location-chip i {
  color: inherit;
}

.mar-profile-private .mar-profile-editor-verified-chip {
  background: #e9f7f3;
  border-color: #cbece2;
  color: #0b7d6c;
}

.mar-profile-private .mar-profile-editor-section {
  padding: 28px 0 10px;
  border-top: 1px solid #efe7db;
}

.mar-profile-private .mar-profile-editor-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.mar-profile-private .mar-profile-editor-step {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #48cab2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.mar-profile-private .mar-profile-editor-section h3 {
  margin: 0 0 4px;
  font-size: 2rem;
  line-height: 1.05;
  color: #26211d;
}

.mar-profile-private .mar-profile-editor-section-head p {
  margin: 0;
  color: #7a746f;
}

.mar-profile-private .mar-profile-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.mar-profile-private .mar-profile-editor-field {
  position: relative;
}

.mar-profile-private .mar-profile-editor-field-full {
  grid-column: 1 / -1;
}

.mar-profile-private .mar-profile-editor-field label,
.mar-profile-private .mar-profile-editor-media-label {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b746e;
}

.mar-profile-private .mar-profile-editor-input,
.mar-profile-private .mar-profile-editor-textarea {
  width: 100%;
  border: 0 !important;
  background: #fcfcfc !important;
  border-radius: 999px !important;
  padding: 18px 22px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #202020 !important;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
}

.mar-profile-private .mar-profile-editor-textarea {
  min-height: 132px;
  border-radius: 28px !important;
  resize: none;
}

.mar-profile-private .mar-profile-editor-input[readonly],
.mar-profile-private .mar-profile-editor-textarea[readonly] {
  cursor: default;
}

.mar-profile-private .mar-profile-editor-text-block {
  width: 100%;
  min-height: 96px;
  padding: 20px 22px;
  border-radius: 28px;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
  color: #202020;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.mar-profile-private .mar-profile-editor-techniques {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 28px;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
}

.mar-profile-private .mar-profile-editor-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mar-profile-private .mar-profile-editor-media-card {
  position: relative;
}

.mar-profile-private .mar-profile-editor-media-frame {
  min-height: 230px;
  padding: 14px;
  border-radius: 28px;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mar-profile-private .mar-profile-editor-media-frame img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.mar-profile-private [data-view-image][hidden],
.mar-profile-private [data-view-image-empty][hidden],
.mar-profile-private [data-view-doc][hidden] {
  display: none !important;
}

.mar-profile-private .mar-profile-editor-media-empty {
  color: #9a9086;
  font-weight: 600;
}

.mar-profile-private .mar-profile-editor-media-actions {
  margin-top: 12px;
}

.mar-profile-private .mar-profile-editor-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d7ede7;
  background: #f6fcfa;
  color: #0b7d6c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.mar-profile-private .mar-profile-editor-download-link:hover,
.mar-profile-private .mar-profile-editor-download-link:focus {
  background: #48cab2;
  border-color: #48cab2;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(72, 202, 178, 0.24);
}

.mar-profile-private .mar-dash-modal-password-fields {
  display: grid;
  gap: 12px;
}

.mar-profile-private .mar-dash-modal-password-fields[hidden] {
  display: none !important;
}

.mar-profile-private .mar-password-input-wrap {
  position: relative;
}

.mar-profile-private .mar-password-input-wrap .mar-dash-modal-input {
  padding-right: 54px !important;
}

.mar-profile-private .mar-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef8f5;
  color: #0b7d6c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.mar-profile-private .mar-password-toggle:hover,
.mar-profile-private .mar-password-toggle:focus {
  background: #48cab2;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 20px rgba(72, 202, 178, 0.24);
}

.mar-profile-private .mar-profile-editor-password-help {
  margin: 2px 2px 0;
  color: #7a746f;
  font-size: 13px;
  line-height: 1.55;
}

.mar-profile-private .mar-profile-editor-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px;
  border-radius: 28px;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e9e9e9 !important;
}

.mar-profile-private .mar-profile-editor-payment-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e857b;
}

.mar-profile-private .mar-profile-editor-payment-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: #2d2926;
  word-break: break-word;
}

.mar-profile-private .mar-profile-editor-stat-card {
  padding: 20px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8fcfb 0%, #eef8f5 100%);
  box-shadow: inset 0 0 0 1px #d8ece5;
}

.mar-profile-private .mar-profile-editor-stat-value {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: #0b7d6c;
}

.mar-profile-private .mar-profile-editor-stat-meta {
  margin-top: 8px;
  color: #6d665f;
  font-size: 14px;
  line-height: 1.55;
}

.mar-profile-private .mar-profile-editor-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
}

.mar-profile-private .mar-profile-editor-status-badge.is-verified {
  background: #e9f7f3;
  color: #0b7d6c;
  box-shadow: inset 0 0 0 1px #cbece2;
}

.mar-profile-private .mar-profile-editor-status-badge.is-pending {
  background: #fff8e8;
  color: #b7791f;
  box-shadow: inset 0 0 0 1px #f3ddb0;
}

.mar-profile-private .mar-profile-editor-status-badge.is-refused,
.mar-profile-private .mar-profile-editor-status-badge.is-blocked {
  background: #fff1f2;
  color: #c53030;
  box-shadow: inset 0 0 0 1px #fecdd3;
}

.mar-profile-private .mar-profile-editor-field .mar-dash-edit-btn,
.mar-profile-private .mar-profile-editor-media-card .mar-dash-edit-btn {
  top: 50px;
  right: 14px;
  opacity: 1 !important;
  background: #ffffff !important;
  border-color: #e8ddd1 !important;
  color: #0b7d6c !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease !important;
}

.mar-profile-private .mar-profile-editor-media-card .mar-dash-edit-btn {
  top: 42px;
}

.mar-profile-private .mar-profile-editor-field:hover .mar-dash-edit-btn,
.mar-profile-private .mar-profile-editor-media-card:hover .mar-dash-edit-btn {
  transform: translateY(-1px);
}

.mar-profile-private .mar-profile-editor-field .mar-dash-edit-btn:hover,
.mar-profile-private .mar-profile-editor-field .mar-dash-edit-btn:focus,
.mar-profile-private .mar-profile-editor-media-card .mar-dash-edit-btn:hover,
.mar-profile-private .mar-profile-editor-media-card .mar-dash-edit-btn:focus {
  background: linear-gradient(135deg, #48cab2 0%, #2fb39a 100%) !important;
  border-color: #2fb39a !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(72, 202, 178, 0.28);
}

.mar-profile-private
  .mar-profile-editor-field
  .mar-dash-edit-btn:hover
  .mar-dash-edit-btn-icon-fa
  i,
.mar-profile-private
  .mar-profile-editor-field
  .mar-dash-edit-btn:focus
  .mar-dash-edit-btn-icon-fa
  i,
.mar-profile-private
  .mar-profile-editor-media-card
  .mar-dash-edit-btn:hover
  .mar-dash-edit-btn-icon-fa
  i,
.mar-profile-private
  .mar-profile-editor-media-card
  .mar-dash-edit-btn:focus
  .mar-dash-edit-btn-icon-fa
  i {
  transform: rotate(-8deg) scale(1.06);
}

.mar-profile-private
  .mar-profile-editor-field
  .mar-dash-edit-btn
  .mar-dash-edit-btn-icon-fa
  i,
.mar-profile-private
  .mar-profile-editor-media-card
  .mar-dash-edit-btn
  .mar-dash-edit-btn-icon-fa
  i {
  transition: transform 180ms ease;
}

@media (max-width: 1080px) {
  .mar-profile-private .mar-profile-editor-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mar-profile-private .mar-profile-editor-sidebar {
    position: static;
  }

  .mar-profile-private .mar-dash-save-wrap-left {
    margin: 0;
  }
}

@media (max-width: 782px) {
  .mar-profile-private .mar-profile-editor-grid,
  .mar-profile-private .mar-profile-editor-media-grid,
  .mar-profile-private .mar-profile-editor-payment-grid {
    grid-template-columns: 1fr;
  }

  .mar-profile-private .mar-profile-editor-header-copy h1 {
    font-size: 2.5rem;
  }

  .mar-profile-private .mar-profile-editor-sidebar {
    padding: 22px 18px;
  }

  .mar-profile-private .mar-profile-editor-nav-link {
    min-height: 44px;
    font-size: 12px;
  }

  .mar-profile-private .mar-profile-editor-media-frame {
    min-height: 180px;
  }

  .mar-profile-private .mar-dash-save-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ========================================
   SIGNUP WIZARD — Typeform-like Onboarding
   ======================================== */

.mar-luxury-signup {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* background: #f8fafc; */
  position: relative;
  overflow: visible;
  padding: 0;
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#mar-signup-wizard {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ---- Loading Screen ---- */
.mar-wizard-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  animation: marFadeIn 0.3s ease;
}
.mar-wizard-loading-brand {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1e293b;
  margin-bottom: 12px;
}
.mar-wizard-loading-status {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 20px;
  text-align: center;
}
.mar-wizard-loading-bar-track {
  width: 240px;
  height: 4px;
  background: linear-gradient(90deg, #dfe7ee 0%, #e8eef4 100%);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}
.mar-wizard-loading-bar {
  height: 100%;
  width: 0%;
  position: relative;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary) 75%, #ffffff 25%) 0%,
    var(--primary) 45%,
    color-mix(in srgb, var(--primary) 85%, #0ea5a5 15%) 100%
  );
  background-size: 220% 100%;
  border-radius: 4px;
  transition: width 0.1s linear;
  animation: marLoadingFlow 1.45s linear infinite;
}

.mar-wizard-loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  min-width: 22px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: marLoadingShimmer 1.45s ease-in-out infinite;
}

@keyframes marLoadingFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes marLoadingShimmer {
  0% {
    transform: translateX(-120%);
    opacity: 0.25;
  }
  45% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(310%);
    opacity: 0.18;
  }
}

/* ---- Submit Status Modal ---- */
.mar-wizard-status-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mar-wizard-status-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
}

.mar-wizard-status-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.28),
    0 8px 24px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 24px 24px 20px;
  animation: marFadeInUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.mar-wizard-status-modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.mar-wizard-status-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mar-wizard-status-modal-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.mar-wizard-status-modal-title {
  margin: 0;
  font-size: 1.62rem;
  line-height: 1.3;
  color: #0b1324;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mar-wizard-status-modal-text {
  margin: 0;
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.62;
  max-width: 44ch;
}

.mar-wizard-status-modal-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.mar-wizard-status-modal-btn {
  min-width: 96px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.16s ease,
    opacity 0.16s ease,
    background-color 0.2s ease;
}

.mar-wizard-status-modal-btn:hover {
  transform: translateY(-1px) scale(1.01);
}

.mar-wizard-status-modal-btn:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}

.mar-wizard-status-modal.is-success .mar-wizard-status-modal-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #0ea5a3 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.38);
}

.mar-wizard-status-modal.is-success .mar-wizard-status-modal-dialog::before {
  background: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 100%);
}

.mar-wizard-status-modal.is-success .mar-wizard-status-modal-icon {
  background: rgba(20, 184, 166, 0.16);
  color: #0f766e;
}

.mar-wizard-status-modal.is-error .mar-wizard-status-modal-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.34);
}

.mar-wizard-status-modal.is-error .mar-wizard-status-modal-dialog::before {
  background: linear-gradient(90deg, #f87171 0%, #dc2626 100%);
}

.mar-wizard-status-modal.is-error .mar-wizard-status-modal-icon {
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

@media (max-width: 640px) {
  .mar-wizard-status-modal-dialog {
    width: min(94vw, 520px);
    border-radius: 18px;
    padding: 20px 18px 16px;
  }

  .mar-wizard-status-modal-title {
    font-size: 1.28rem;
  }

  .mar-wizard-status-modal-text {
    font-size: 0.98rem;
  }
}

@keyframes marFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Progress Bar ---- */
.mar-wizard-progress {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 16px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.4s ease;
}
.mar-wizard-progress-track {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
}
.mar-wizard-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mar-wizard-progress-label {
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ---- Wizard Header ---- */
.mar-wizard-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f5f9;
  min-height: 56px;
}
.mar-wizard-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.mar-wizard-header-logo img {
  display: block;
  width: auto !important;
  height: 66px;
  margin: 0 0 0;
  padding: 0;
}

/* ---- Header Buttons ---- */
.mar-wizard-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.mar-wizard-header-btn-back {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.mar-wizard-header-btn-back:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}
.mar-wizard-header-btn-next {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb, 14, 165, 150), 0.25) !important;
  border-color: var(--primary) !important;
}
.mar-wizard-header-btn-next:hover {
  background: #0d9488 !important;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb, 14, 165, 150), 0.35) !important;
  transform: translateY(-1px) !important;
  border-color: #0d9488 !important;
}

.mar-wizard-header-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---- Header Actions (right side) ---- */
.mar-wizard-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mar-wizard-header-btn-download {
  background: transparent;
  color: #d97706;
  border: 1px solid #d97706;
  width: 38px;
  padding: 0;
  justify-content: center;
  font-size: 1rem;
}
.mar-wizard-header-btn-download:hover {
  background: #d97706;
  color: #fff;
}

@media (max-width: 640px) {
  .mar-wizard-header {
    padding: 8px 12px;
    min-height: 48px;
  }
  .mar-wizard-header-btn {
    height: 34px;
    padding: 0 12px;
    font-size: 0.8125rem;
  }
}

/* ---- Carousel Viewport ---- */
.mar-wizard-viewport {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ---- Carousel Track ---- */
.mar-wizard-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  position: relative;
  min-height: 400px;
  overflow: visible;
}

/* ---- Luxury Upload Form Overrides ---- */
.mar-form.mar-piece-upload-form.mar-luxury-signup {
  overflow: visible !important;
}
html {
  overflow-x: hidden;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-viewport {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-track {
  position: relative;
  overflow: visible;
  width: 100%;
}
/* .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step {
  display: none;
  flex-direction: column;
  animation: marFadeIn 240ms ease;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 32px 28px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
*/
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step.is-active {
  display: flex;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-actions.mar-right {
  justify-content: flex-end;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-prev {
  background: transparent !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 6px;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-prev:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-next,
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wide-submit {
  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary) !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 6px;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step-next:hover,
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wide-submit:hover {
  opacity: 0.9;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup
  .mar-mockup-reset.mar-outline-btn {
  background: transparent !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-size: 0.875rem;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup
  .mar-mockup-reset.mar-outline-btn:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-dropzone {
  border-radius: 14px;
  padding: 18px 14px;
}
.mar-dimension-price-row label {
  padding: 0;
  margin: 0;
}
label.mar-dropzone.mar-gallery-upload-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-piece-upload-note {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-header {
  position: fixed;
  top: -1px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 20px;
  margin: 0;
  max-width: none;
  z-index: 110;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-header-logo img {
  width: 220px;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-progress {
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 12px 24px 10px;
  z-index: 100;
  margin: 0;
  max-width: none;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-viewport {
  position: relative;
  margin: 110px auto 0;
  max-width: 1150px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.mar-form.mar-piece-upload-form.mar-luxury-signup section[data-step="10"],
.mar-form.mar-piece-upload-form.mar-luxury-signup section[data-step="11"] {
  max-width: 100%;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-card.is-wide {
  max-width: 1100px;
}

/* Review step position/size on card itself */
.mar-form.mar-piece-upload-form.mar-luxury-signup
  .mar-wizard-card:has(.mar-piece-upload-review) {
  width: 100% !important;
  max-width: 980px !important;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup
  .mar-wizard-card.is-active:has(.mar-piece-upload-review) {
  margin-top: 300px !important;
}
.mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step:first-of-type {
  margin-top: 0;
}
@media (max-width: 768px) {
  .mar-form.mar-piece-upload-form.mar-luxury-signup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-viewport {
    min-height: 0;
    padding: 20px 8px 40px;
    align-items: flex-start;
    overflow-x: hidden;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-track {
    min-height: 0;
    align-items: flex-start;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-card,
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-card.is-active {
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-header {
    padding: 6px 12px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-header-btn {
    padding: 0 12px;
    height: 34px;
    font-size: 0.8rem;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-progress {
    padding: 10px 16px 8px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-wizard-viewport {
    margin: 105px auto 0;
    padding: 20px 8px 40px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup
    .mar-wizard-card.is-active:has(section[data-step="10"]),
  .mar-form.mar-piece-upload-form.mar-luxury-signup
    .mar-wizard-card.is-active:has(section[data-step="11"]) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;
    margin-bottom: 20px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup
    .mar-wizard-card.is-active:has(.mar-piece-upload-review) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 20px;
  }
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step input,
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step select,
  .mar-form.mar-piece-upload-form.mar-luxury-signup .mar-step textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
  .mar-form.mar-piece-upload-form .mar-mockup-image-options {
    gap: 8px;
    margin-top: 8px;
  }
  .mar-form.mar-piece-upload-form .mar-mockup-image-option {
    min-height: 86px !important;
    padding: 6px !important;
    border-radius: 14px !important;
    gap: 3px !important;
  }
  .mar-form.mar-piece-upload-form .mar-mockup-image-option img {
    max-height: 52px !important;
    border-radius: 12px !important;
  }
  .mar-form.mar-piece-upload-form .mar-mockup-image-option span {
    font-size: 0.75rem !important;
    line-height: 1.15 !important;
  }
}

/* ---- Earnings Preview ---- */
.mar-piece-earnings-preview {
  margin-top: 4px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fafc;
}

.mar-piece-earnings-preview h5 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #0f172a;
}

.mar-piece-earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.mar-piece-earnings-grid > div {
  background: #ffffff;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
}

.mar-piece-earnings-grid > div span {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mar-piece-earnings-grid > div strong {
  font-size: 15px;
  color: #0f172a;
}

.mar-piece-earnings-grid > div.is-highlight {
  grid-column: 1 / -1;
  border-color: #99f6e4;
  background: #ecfeff;
}

/* ---- Wide mockup steps ---- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.mar-form.mar-piece-upload-form.mar-luxury-signup
  .mar-wizard-header-btn-next:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (min-width: 900px) {
  .mar-form.mar-piece-upload-form.mar-luxury-signup section[data-step="10"],
  .mar-form.mar-piece-upload-form.mar-luxury-signup section[data-step="11"] {
    max-width: 100%;
  }
}
.mar-form.mar-piece-upload-form.mar-luxury-signup
  section[data-step="10"]
  .mar-mockup-preview,
.mar-form.mar-piece-upload-form.mar-luxury-signup
  section[data-step="11"]
  .mar-mockup-preview {
  overflow: visible;
}

/* ---- Step Card ---- */
.mar-wizard-card {
  position: absolute;
  width: 100%;
  max-width: 520px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity, filter;
}
.mar-wizard-card.is-wide {
  max-width: 760px;
}
.mar-wizard-card.is-prev {
  transform: translateX(-140%) scale(0.92) !important;
  opacity: 0.35 !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
  z-index: 1;
}
.mar-wizard-card.is-active {
  transform: translateX(0) scale(1) !important;
  opacity: 1 !important;
  filter: blur(0) !important;
  pointer-events: auto !important;
  z-index: 3;
}
.mar-wizard-card.is-next {
  transform: translateX(140%) scale(0.92) !important;
  opacity: 0.35 !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
  z-index: 1;
}
.mar-wizard-card.is-hidden {
  transform: translateX(75%) scale(0.85) !important;
  opacity: 0 !important;
  filter: blur(4px) !important;
  pointer-events: none !important;
  z-index: 0;
}

/* ---- Card Inner ---- */
.mar-wizard-card-inner {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 20px 32px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.3s ease,
    padding 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.mar-wizard-card.is-active .mar-wizard-card-inner {
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Side panel preview: only show step head, condensed */
.mar-wizard-card.is-prev section,
.mar-wizard-card.is-next section {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  min-height: auto !important;
  border-radius: 0 !important;
}
.mar-wizard-card.is-prev
  .mar-wizard-card-inner
  > section
  > *:not(.mar-wizard-step-head),
.mar-wizard-card.is-next
  .mar-wizard-card-inner
  > section
  > *:not(.mar-wizard-step-head) {
  display: none !important;
}
.mar-wizard-card.is-prev .mar-wizard-card-inner,
.mar-wizard-card.is-next .mar-wizard-card-inner {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.mar-wizard-card.is-prev .mar-wizard-step-head,
.mar-wizard-card.is-next .mar-wizard-step-head {
  margin-bottom: 0;
  flex-direction: column;
  text-align: center;
  gap: 8px;
}
.mar-wizard-card.is-prev .mar-wizard-step-icon,
.mar-wizard-card.is-next .mar-wizard-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.mar-wizard-card.is-prev .mar-wizard-step-label,
.mar-wizard-card.is-next .mar-wizard-step-label {
  font-size: 0.8rem;
  color: #94a3b8;
}
@media (max-width: 768px) {
  .mar-wizard-card.is-prev,
  .mar-wizard-card.is-next {
    display: none;
  }
}

/* Signup wizard side cards: keep original card design and show half outside screen. */
.mar-signup-form .mar-wizard-card.is-prev {
  transform: translateX(-140%) scale(0.94) !important;
  opacity: 0.45 !important;
  filter: blur(1px) !important;
}

.mar-signup-form .mar-wizard-card.is-next {
  transform: translateX(140%) scale(0.94) !important;
  opacity: 0.45 !important;
  filter: blur(1px) !important;
}

/* Signup-only: keep full step layout on side cards (cancel compact preview rules). */
.mar-signup-form .mar-wizard-card.is-prev .mar-wizard-card-inner,
.mar-signup-form .mar-wizard-card.is-next .mar-wizard-card-inner {
  padding: 40px 36px 32px !important;
  min-height: auto !important;
  display: block !important;
}

.mar-signup-form .mar-wizard-card.is-prev section,
.mar-signup-form .mar-wizard-card.is-next section {
  display: block !important;
  flex-direction: initial !important;
  align-items: stretch !important;
  width: 100% !important;
}

.mar-signup-form
  .mar-wizard-card.is-prev
  .mar-wizard-card-inner
  > section
  > *:not(.mar-wizard-step-head),
.mar-signup-form
  .mar-wizard-card.is-next
  .mar-wizard-card-inner
  > section
  > *:not(.mar-wizard-step-head) {
  display: block !important;
}

.mar-signup-form .mar-wizard-card.is-prev .mar-wizard-step-head,
.mar-signup-form .mar-wizard-card.is-next .mar-wizard-step-head {
  margin-bottom: 24px !important;
  flex-direction: row !important;
  text-align: left !important;
  gap: 16px !important;
}

.mar-signup-form .mar-wizard-card.is-prev .mar-wizard-step-icon,
.mar-signup-form .mar-wizard-card.is-next .mar-wizard-step-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  font-size: 1.25rem !important;
}

.mar-signup-form .mar-wizard-card.is-prev .mar-wizard-step-label,
.mar-signup-form .mar-wizard-card.is-next .mar-wizard-step-label {
  font-size: 1.65rem !important;
  color: #0f172a !important;
}

/* ---- Step Icon ---- */
.mar-wizard-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

/* ---- Step Head (icon + label side by side) ---- */
.mar-wizard-step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

/* ---- Help Button & Popup ---- */
.mar-wizard-help-btn {
  padding: 0px !important;
  background: #f1f5f9 !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.mar-wizard-help-btn:hover {
  color: #fff !important;
  background: var(--primary) !important;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb, 14, 165, 150), 0.3) !important;
  transform: scale(1.1) !important;
}
.mar-wizard-help-popup {
  margin-top: 16px;
  background: #fefce8;
  color: #92400e;
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  animation: marSlideUp 0.25s ease;
}
.mar-wizard-step-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0;
  line-height: 1.4;
  flex: 1;
}
.mar-wizard-step-counter {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Input Styles ---- */
.mar-wizard-input {
  width: 100%;
  height: 64px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 1.0625rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.mar-wizard-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 14, 165, 150), 0.1);
}
.mar-wizard-input::placeholder {
  color: #94a3b8;
}

.mar-wizard-textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1.0625rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.25s ease;
  outline: none;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
.mar-wizard-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 14, 165, 150), 0.1);
}

.mar-wizard-select {
  width: 100%;
  height: 64px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 1.0625rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.25s ease;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
  box-sizing: border-box;
}
.mar-wizard-select:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 14, 165, 150), 0.1);
}

/* ---- Validation ---- */
.mar-wizard-input.has-error,
.mar-wizard-textarea.has-error,
.mar-wizard-select.has-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}
.mar-wizard-error-msg {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}
.mar-wizard-error-msg.is-visible {
  display: block;
  animation: marFadeIn 0.2s ease;
}

/* ---- Continue Button ---- */
.mar-wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  margin-top: 24px;
  letter-spacing: 0.01em;
}
.mar-wizard-btn:hover {
  background: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb, 14, 165, 150), 0.3);
}
.mar-wizard-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.mar-wizard-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---- Radio Group ---- */
.mar-wizard-radio-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.mar-wizard-radio-option {
  flex: 1;
  height: 56px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  transition: all 0.25s ease;
  user-select: none;
}
.mar-wizard-radio-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.mar-wizard-radio-option.is-selected {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb, 14, 165, 150), 0.06);
  color: var(--primary);
  font-weight: 600;
}

/* ---- File Dropzone ---- */
.mar-wizard-dropzone {
  border: 2px dashed #e2e8f0;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #f8fafc;
  position: relative;
  margin-top: 12px;
}
.mar-wizard-dropzone:hover,
.mar-wizard-dropzone.is-active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb, 14, 165, 150), 0.04);
}
.mar-wizard-dropzone.has-file {
  border-style: solid;
  border-color: var(--primary);
  background: rgba(var(--primary-rgb, 14, 165, 150), 0.04);
  padding: 16px;
}
.mar-wizard-preview {
  display: block;
  max-width: 100%;
  max-height: 200px;
  border-radius: 10px;
  margin: 0 auto 12px;
  object-fit: contain;
}
.mar-wizard-dropzone-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.mar-wizard-dropzone-text {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mar-wizard-dropzone-text strong {
  color: #1e293b;
}
.mar-wizard-file-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  border: 1px solid #fecaca !important;
  background: #fff1f2 !important;
  color: #b91c1c !important;
  border-radius: 999px !important;
  padding: 12px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}
.mar-wizard-file-remove:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}
.mar-wizard-dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.mar-wizard-file-name {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 8px;
}

/* ---- Signature Pad ---- */
.mar-wizard-signature-wrap {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  margin-top: 12px;
  background: #fff;
  position: relative;
}
.mar-wizard-signature-canvas {
  width: 100%;
  height: 280px;
  display: block;
  touch-action: none;
}

.mar-wizard-card.is-sub {
  width: min(1400px, calc(100vw - 64px));
  max-width: none;
  min-width: 0;
  margin-top: 40px;
}

/* Prevent plan step side cards from breaking the carousel layout. */
.mar-signup-form .mar-wizard-card.is-sub.is-prev,
.mar-signup-form .mar-wizard-card.is-sub.is-next {
  width: min(560px, calc(100vw - 64px)) !important;
  max-width: 560px !important;
  min-width: 0 !important;
}

.mar-signup-form .mar-wizard-card.is-sub.is-prev .mar-wizard-plans,
.mar-signup-form .mar-wizard-card.is-sub.is-next .mar-wizard-plans {
  display: none !important;
}

.mar-signup-form .mar-wizard-card.is-sub.is-prev .mar-plan-section-head,
.mar-signup-form .mar-wizard-card.is-sub.is-next .mar-plan-section-head {
  margin-bottom: 0 !important;
}

.mar-wizard-signature-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
  border-top: 1px solid #f1f5f9;
  gap: 8px;
}
.mar-wizard-signature-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.mar-wizard-signature-clear:hover {
  color: #ef4444;
  background: #fef2f2;
}

/* ---- Techniques (Tags) ---- */
.mar-wizard-tech-input-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
}
.mar-wizard-tech-input {
  flex: 1;
  height: 48px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1rem;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.mar-wizard-tech-input:focus {
  border-color: var(--primary);
}
.mar-wizard-tech-add {
  height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.mar-wizard-tech-add:hover {
  background: #0d9488;
}
.mar-wizard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  min-height: 36px;
}
.mar-wizard-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 500;
  transition: all 0.2s ease;
}
.mar-wizard-tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: #94a3b8;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.2s ease;
}
.mar-wizard-tag-remove:hover {
  color: #ef4444;
}

.mar-wizard-tag-remove {
  border: none !important;
  border-radius: 999px !important;
  width: 20px;
  height: 20px;
  padding: 12px !important;
}

/* ---- Contract Step ---- */
.mar-wizard-contract {
  max-height: 300px;
  overflow-y: scroll;
  margin-top: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}
.mar-wizard-contract h6 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 12px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mar-wizard-contract p {
  margin: 0 0 6px;
}
.mar-wizard-contract ul {
  margin: 4px 0;
  padding-left: 16px;
}
.mar-wizard-contract ul li {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}
.mar-contract-signatures {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.mar-contract-signature {
  margin-top: 8px;
}
.mar-contract-signature img {
  display: block;
  max-width: 200px;
  margin-top: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.mar-wizard-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  cursor: pointer;
}
.mar-wizard-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.mar-wizard-checkbox-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin-left: 8px;
}
.mar-wizard-checkbox-text a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---- Review Step ---- */
.mar-wizard-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
  max-height: 500px;
  overflow-y: scroll;
}
.mar-review-section {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
}
.mar-review-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mar-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.875rem;
  gap: 12px;
}
.mar-review-label {
  font-weight: 500;
  color: #64748b;
  flex-shrink: 0;
  min-width: 110px;
}
.mar-review-value {
  text-align: right;
  color: #1e293b;
  font-weight: 500;
  word-break: break-word;
  max-width: 60%;
}
.mar-review-value.is-empty {
  color: #cbd5e1;
  font-style: italic;
}
.mar-review-image-wrap {
  flex-shrink: 0;
}
.mar-review-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.mar-review-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}
.mar-review-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 420px;
}
.mar-review-thumb-grid.is-single {
  display: inline-grid;
  grid-template-columns: 92px;
  max-width: 92px;
}
.mar-review-thumb-grid .mar-review-thumb {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
}

/* ---- Review Step Download Button ---- */
.mar-wizard-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin-bottom: 16px;
  background: transparent;
  color: #d97706;
  border: 1px solid #d97706;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.mar-wizard-download-btn:hover {
  background: #d97706;
  color: #fff;
}

/* ---- Submit Button (review step) ---- */
.mar-wizard-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
  margin-top: 24px;
  letter-spacing: 0.01em;
}
.mar-wizard-submit:hover {
  background: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb, 14, 165, 150), 0.3);
}
.mar-wizard-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---- Animations ---- */
@keyframes marFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes marSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes marScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mar-wizard-card.is-active .mar-wizard-card-inner > * {
  animation: marSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.mar-wizard-card.is-active .mar-wizard-card-inner > *:nth-child(2) {
  animation-delay: 0.05s;
}
.mar-wizard-card.is-active .mar-wizard-card-inner > *:nth-child(3) {
  animation-delay: 0.1s;
}
.mar-wizard-card.is-active .mar-wizard-card-inner > *:nth-child(4) {
  animation-delay: 0.15s;
}
.mar-wizard-card.is-active .mar-wizard-card-inner > *:nth-child(5) {
  animation-delay: 0.2s;
}

div.mar-wizard-card:nth-child(17) {
  margin-top: 600px;
}
#marWizardCard16 {
  margin-top: 0px !important;
}
#marLightbox img {
  background: #fff;
}

/* ---- Plan Selection (Step 20) ---- */
.mar-plan-section {
  width: 100%;
}
.mar-plan-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.mar-plan-section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #48cab2;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mar-plan-section-title {
  margin: 0 0 8px;
  color: #1a1c1c;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mar-plan-section-subtitle {
  margin: 0;
  color: #787878;
  font-size: 0.98rem;
  line-height: 1.6;
}
.mar-plan-toggle {
  margin: 0 auto 24px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #1f2937;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.mar-plan-toggle-btn {
  min-width: 140px;
  padding: 10px 20px !important;
  border: 0 !important;
  background: #fff !important;
  color: #8b8b8b !important;
  font-size: 0.95rem;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.mar-plan-toggle-btn + .mar-plan-toggle-btn {
  border-left: 1px solid #1f2937 !important;
  border-radius: 0 !important;
}
.mar-plan-toggle-btn.is-active {
  color: #1a1c1c !important;
  font-weight: 800 !important;
  background: #f3fdf9 !important;
}
.mar-plan-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: #ffd33d;
  color: #5f4b00;
  position: absolute;
  top: -12px;
  right: -28px;
  z-index: 10;
  white-space: nowrap;
}
.mar-plan-toggle-btn:not(.mar-plan-toggle-btn-subscription)
  .mar-plan-toggle-badge {
  display: none;
}
.mar-plan-billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: -8px 0 18px;
}
.mar-plan-billing-toggle-wrap.is-hidden {
  display: none;
}
.mar-plan-billing-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.mar-plan-billing-btn {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mar-plan-billing-btn + .mar-plan-billing-btn {
  border-left: 1px solid #cbd5e1;
}
.mar-plan-billing-btn.is-active {
  background: #ecfdf5;
  color: #065f46;
}

.mar-wizard-multi-upload {
  margin-top: 10px !important;
  width: 100% !important;
}
.mar-wizard-multi-upload-row {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}
.mar-wizard-multi-picker {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.mar-wizard-multi-add-btn {
  height: 52px !important;
  width: 100% !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
}
.mar-wizard-multi-hint {
  margin: 10px 0 12px !important;
  color: #64748b !important;
  font-size: 0.88rem !important;
}
.mar-wizard-multi-thumbs {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}
.mar-wizard-multi-thumb-item {
  position: relative !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px !important;
  background: #fff !important;
}
.mar-wizard-multi-thumb {
  width: 100% !important;
  height: 86px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}
.mar-wizard-multi-thumb-name {
  display: block !important;
  margin-top: 6px !important;
  font-size: 0.75rem !important;
  color: #475569 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.mar-wizard-multi-thumb-remove {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 12px !important;
}

.mar-wizard-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(2, 6, 23, 0.9) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 28px !important;
}
.mar-wizard-lightbox.is-open {
  display: flex !important;
}
.mar-wizard-lightbox-image {
  max-width: 92vw !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}
.mar-wizard-lightbox-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(15, 23, 42, 0.65) !important;
  color: #fff !important;
  font-size: 26px !important;
  cursor: pointer !important;
}
.mar-wizard-lightbox-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(15, 23, 42, 0.65) !important;
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}
.mar-wizard-lightbox-nav.is-prev {
  left: 18px !important;
}
.mar-wizard-lightbox-nav.is-next {
  right: 18px !important;
}
.mar-plan-pricing-group.is-hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    max-height 0.25s ease,
    visibility 0s linear 0.25s;
}
.mar-plan-pricing-group {
  opacity: 1;
  max-height: 2400px;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    max-height 0.25s ease;
}
.mar-wizard-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}
.mar-wizard-plans-commission {
  grid-template-columns: minmax(260px, 1200px);
  justify-content: center;
}
.mar-wizard-plans-subscription {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mar-wizard-plans-subscription .mar-plan-card[data-plan="gold"] {
  transform: scale(1.05);
  z-index: 2;
}
.mar-wizard-plans-subscription .mar-plan-card[data-plan="gold"]:hover {
  transform: scale(1.05) translateY(-2px);
}
.mar-plan-card {
  border: 1.5px solid #edf1f5;
  border-radius: 26px;
  padding: 28px 28px 26px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  position: relative;
  box-shadow: 0 20px 44px rgba(19, 25, 33, 0.06);
  min-height: 100%;
}
.mar-plan-card:hover {
  border-color: #48cab2;
  box-shadow: 0 24px 48px rgba(72, 202, 178, 0.12);
  transform: translateY(-2px);
}
.mar-plan-card.is-selected {
  border-color: #48cab2;
  background: linear-gradient(180deg, #f7fffd 0%, #effcf8 100%);
  box-shadow:
    0 0 0 1px #48cab2,
    0 24px 50px rgba(72, 202, 178, 0.14);
}
.mar-plan-top-badge {
  position: absolute;
  top: 4px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffd33d;
  color: #5f4b00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.mar-plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.mar-plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1c1c;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.mar-plan-mini-price {
  color: #1a1c1c;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  padding-top: 6px;
}
.mar-plan-mini-price small {
  font-weight: 500;
  font-size: 0.82rem;
  color: #787878;
}
.mar-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.mar-plan-price-wrap-free {
  margin-bottom: 10px;
}
.mar-plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1c1c;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.mar-plan-price-unit {
  font-weight: 500;
  font-size: 0.95rem;
  color: #787878;
}
.mar-plan-price-old {
  margin-left: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: line-through;
  white-space: nowrap;
}
.mar-plan-price-free {
  color: #1a1c1c;
  font-size: 1rem;
  font-weight: 700;
}
.mar-plan-card-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 42px);
}
.mar-plan-desc {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #787878;
  line-height: 1.6;
}
.mar-plan-commission {
  display: inline-block;
  align-self: flex-start;
  background: #eafaf6;
  color: #48cab2;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 999px;
  margin-top: 0;
  margin-bottom: 18px;
}
.mar-plan-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px 0 22px;
  border-top: 1px solid #eef2f6;
  list-style: none;
}
.mar-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 42px;
  color: #636b74;
  font-size: 0.95rem;
  line-height: 1.5;
}
.mar-plan-features li strong {
  color: #1a1c1c;
  font-weight: 800;
}
.mar-plan-features i {
  color: #48cab2;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}
.mar-plan-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #dfe5eb;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}
.mar-plan-calc {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #d8efe9;
  border-radius: 14px;
  background: #fbfefd;
}
.mar-plan-calc-title {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}
.mar-plan-calc-label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}
.mar-plan-calc-inputs {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.mar-plan-calc-number,
.mar-plan-calc-range {
  width: 100%;
}
.mar-plan-calc-number {
  margin-bottom: 6px;
}
.mar-plan-calc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #475569;
  margin-top: 6px;
}
.mar-plan-calc-row strong {
  color: #0f172a;
}
.mar-plan-calc-revenue {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e9fbf4;
  border: 1px solid #b7efd9;
}
.mar-plan-calc-revenue span,
.mar-plan-calc-revenue strong {
  color: #065f46;
  font-size: 1.03rem;
  font-weight: 900;
}
.mar-plan-select-btn:hover,
.mar-plan-select-btn.is-selected {
  border-color: #48cab2;
  background: linear-gradient(90deg, #57cfbb 0%, #48cab2 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(72, 202, 178, 0.2);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .mar-wizard-plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mar-plan-card {
    padding: 22px 20px 20px;
    border-radius: 22px;
  }
  .mar-plan-name {
    font-size: 1.4rem;
  }
  .mar-plan-price {
    font-size: 2.4rem;
  }
  .mar-plan-top-badge {
    position: static;
    margin-bottom: 12px;
  }
  .mar-wizard-viewport {
    padding: 20px 12px;
    min-height: 50vh;
  }
  .mar-wizard-card {
    max-width: 100%;
  }
  .mar-wizard-card-inner {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }
  .mar-wizard-step-label {
    font-size: 1rem;
  }
  .mar-wizard-input,
  .mar-wizard-select {
    height: 56px;
  }
  .mar-wizard-btn,
  .mar-wizard-submit {
    height: 50px;
    font-size: 0.9375rem;
  }
  .mar-wizard-loading-brand {
    font-size: 1.75rem;
  }
  .mar-wizard-radio-option {
    height: 48px;
    font-size: 0.875rem;
  }
  .mar-wizard-progress {
    top: 66px;
    padding: 12px 16px 10px;
  }
  .mar-wizard-viewport {
    padding: 80px 12px 32px;
  }

  .mar-wizard-header-logo img {
    height: 45px;
  }

  .mar-wizard-card.is-sub {
    margin-top: 1400px;
  }

  .mar-plan-section .mar-plan-toggle .mar-plan-toggle-btn{
    min-width: 140px !important;
  }

  main.dashboard-main {
    padding: 20px !important;
}
}

/* ---- Safari Height Fix ---- */
@supports (-webkit-touch-callout: none) {
  .mar-luxury-signup {
    min-height: -webkit-fill-available;
  }
}
/* Signup step: mirror gateway subscription section */
.mar-plan-section .ua-pricing-subscription-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
@media (min-width: 900px) {
  .mar-plan-section .ua-pricing-subscription-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
.mar-plan-section .mar-plan-card.ua-subscription-pack-card {
  border-radius: 24px !important;
  border: 1px solid #e7ecef !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06) !important;
  padding: 28px !important;
}
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card.mar-plan-card-popular {
  transform: scale(1.03) !important;
  border: 2px solid #48cab2 !important;
  background: #f2fbf9 !important;
}
.mar-plan-section .mar-plan-card.ua-subscription-pack-card .mar-plan-price {
  font-size: 3rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}
.mar-plan-section .mar-plan-card.ua-subscription-pack-card .mar-plan-price-old {
  margin-left: 10px !important;
}
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card
  .mar-plan-select-btn.ua-gateway-pack-btn {
  width: 100% !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
}
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card:not(.is-selected)
  .mar-plan-select-btn.ua-gateway-pack-btn {
  background: #fff !important;
  color: #1a1c1c !important;
  border: 1px solid #1f2937 !important;
}
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card.is-selected
  .mar-plan-select-btn.ua-gateway-pack-btn,
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card.mar-plan-card-popular
  .mar-plan-select-btn.ua-gateway-pack-btn {
  background: #48cab2 !important;
  color: #fff !important;
  border: 1px solid #48cab2 !important;
}

/* Gateway parity: signup plan step */
.mar-plan-section .mar-plan-toggle {
  display: flex !important;
  width: max-content !important;
  margin: 0 auto 24px !important;
  overflow: visible !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}
.mar-plan-section .mar-plan-toggle .mar-plan-toggle-btn {
  min-width: 170px ;
  height: 50px !important;
  border-radius: 16px !important;
}
.mar-plan-section
  .mar-plan-toggle
  .mar-plan-toggle-btn.mar-plan-toggle-btn-subscription {
  position: relative !important;
  overflow: visible !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.mar-plan-section .mar-plan-toggle .mar-plan-toggle-badge {
  top: -12px !important;
  right: -22px !important;
  z-index: 40 !important;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.28) !important;
}
.mar-plan-section .mar-plan-billing-toggle-wrap {
  margin: 0 0 22px !important;
}
.mar-plan-section .mar-plan-billing-toggle {
  border-radius: 999px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
}
.mar-plan-section .mar-plan-billing-btn {
  min-width: 98px !important;
  height: 44px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.mar-plan-section .mar-plan-card.ua-subscription-pack-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.mar-plan-section .mar-plan-card.ua-subscription-pack-card .mar-plan-features {
  min-height: 246px !important;
}
.mar-plan-section
  .mar-plan-card.ua-subscription-pack-card.mar-plan-card-popular {
  transform: scale(1.05) !important;
}

/* Fix commission ("Sans abonnement") layout */
.mar-wizard-plans-commission {
  grid-template-columns: minmax(320px, 1200px) !important;
}
.mar-wizard-plans-commission .mar-plan-card {
  width: 100% !important;
}
.mar-wizard-plans-commission .mar-plan-card.mar-plan-mode-commission {
  background: #ffffff !important;
  border: 2px solid #48cab2 !important;
  box-shadow: 0 20px 44px rgba(72, 202, 178, 0.12) !important;
}
.mar-wizard-plans-commission
  .mar-plan-card.mar-plan-mode-commission.is-selected {
  background: #ffffff !important;
  box-shadow: 0 24px 48px rgba(72, 202, 178, 0.16) !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-card-body {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr) !important;
  grid-template-areas:
    "features calc"
    "cta cta" !important;
  column-gap: 22px !important;
  row-gap: 14px !important;
  align-items: start !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-price-wrap,
.mar-wizard-plans-commission .mar-plan-card .mar-plan-price-wrap-free {
  display: none !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-commission {
  display: none !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-features {
  grid-area: features !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  min-height: auto !important;
  border-top: 1px solid #edf1f5 !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-features li {
  min-height: 0 !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-features li + li {
  margin-top: 4px !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-calc {
  grid-area: calc !important;
  margin: 0 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-calc + .mar-plan-features,
.mar-wizard-plans-commission
  .mar-plan-card
  .mar-plan-features
  + .mar-plan-calc {
  margin-bottom: 0 !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-select-btn {
  grid-area: cta !important;
  margin-top: 6px !important;
  background: linear-gradient(90deg, #57cfbb 0%, #48cab2 100%) !important;
  border: 1px solid #48cab2 !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(72, 202, 178, 0.2) !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-name {
  font-size: 2.6rem !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-card-header {
  margin-bottom: 14px !important;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-name::after {
  content: "Sans abonnement";
  display: block;
  margin-top: 8px;
  color: #1a1c1c;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}
.mar-wizard-plans-commission .mar-plan-card .mar-plan-name::before {
  content: "";
  display: inline-block;
  width: 0;
}
@media (max-width: 980px) {
  .mar-wizard-plans-commission .mar-plan-card .mar-plan-card-body {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "features"
      "calc"
      "cta" !important;
  }
  .mar-wizard-plans-commission .mar-plan-card .mar-plan-name {
    font-size: 2.1rem !important;
  }
}

/* Piece upload success modal (replaces browser alert) */
.mar-piece-upload-status-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mar-piece-upload-status-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
}

.mar-piece-upload-status-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 640px);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.32),
    0 8px 28px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 22px 22px 20px;
}

.mar-piece-upload-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
}

.mar-piece-upload-progress-panel {
  width: min(92vw, 520px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.mar-piece-upload-progress-title {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.mar-piece-upload-progress-text {
  margin: 0 0 22px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.mar-piece-upload-progress-bar {
  position: relative;
  width: 100%;
  height: 14px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.mar-piece-upload-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #14b8a6 0%, #2dd4bf 100%);
  transition: width 0.24s ease;
}

.mar-piece-upload-progress-label {
  margin-top: 14px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

.mar-piece-upload-status-head {
  margin-bottom: 10px;
}

.mar-piece-upload-status-domain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
}

.mar-piece-upload-status-domain::before {
  content: "◉";
  color: #14b8a6;
  font-size: 0.68rem;
}

.mar-piece-upload-status-title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mar-piece-upload-status-text {
  margin: 0;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.58;
}

.mar-piece-upload-status-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.mar-piece-upload-status-btn {
  min-width: 92px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    opacity 0.16s ease;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.32);
}

.mar-piece-upload-status-btn:hover {
  transform: translateY(-1px);
}

.mar-piece-upload-status-btn:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .mar-piece-upload-status-dialog {
    width: min(94vw, 640px);
    border-radius: 14px;
    padding: 18px 16px 16px;
  }
  .mar-piece-upload-status-title {
    font-size: 1.3rem;
  }
  .mar-piece-upload-status-text {
    font-size: 0.98rem;
  }
}
/* Artwork dimension pricing step */
.mar-piece-upload-form .mar-piece-dimension-price-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.mar-piece-upload-form .mar-dimension-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dfe7ee;
  border-radius: 14px;
  background: #fff;
}
.mar-piece-upload-form .mar-dimension-price-row strong { color: #172033; }
.mar-piece-upload-form .mar-dimension-price-row span { color: #697586; font-size: .9rem; }
.mar-piece-upload-form .mar-dimension-price-row input { max-width: 150px; margin: 0;}
.mar-piece-upload-form .mar-dimension-price-remove { border: 0; background: transparent; color: #d64545; cursor: pointer; }
.mar-piece-upload-form .mar-dimension-price-modal[hidden] { display: none; }
.mar-piece-upload-form .mar-dimension-price-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; }
.mar-piece-upload-form .mar-dimension-price-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.mar-piece-upload-form .mar-dimension-price-dialog { position: relative; width: max(670px, 100%); max-height: min(90vh, 720px); overflow: auto; padding: 26px; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .25); }
.mar-piece-upload-form .mar-dimension-price-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 25px; cursor: pointer; color: #64748b; }
.mar-piece-upload-form .mar-dimension-price-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.mar-piece-upload-form .mar-dimension-price-fields label { display: grid; gap: 7px; font-weight: 600; font-size: .85rem; }
.mar-piece-upload-form .mar-dimension-price-fields input { width: 100%; box-sizing: border-box; }
.mar-piece-upload-form .mar-dimension-price-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) {
  .mar-piece-upload-form .mar-dimension-price-row { grid-template-columns: 1fr auto; }
  .mar-piece-upload-form .mar-dimension-price-row input { grid-column: 1 / -1; max-width: none; }
  .mar-piece-upload-form .mar-dimension-price-fields { grid-template-columns: 1fr; }
}
/* Keep the GTranslate language switcher anchored to the bottom-right corner. */
.gtranslate_wrapper .gt_switcher_wrapper,
#gt-wrapper-63166606 .gt_switcher_wrapper {
  right: 15px !important;
  bottom: 15px !important;
  left: auto !important;
}
