/* Mobilplaneten sell / buyback flow */

.mp-sell-flow {
  --mp-brand: #017848;
  --mp-brand-dark: #015f3a;
  --mp-brand-light: #ecf8f2;
  --mp-ink: #0b1320;
  --mp-ink-600: #4b5565;
  --mp-border: #e6e8ec;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--mp-ink);
}

.mp-sell-hidden {
  display: none !important;
}

.mp-sell-start {
  padding: 8px 0 40px;
  transition: opacity 0.35s ease;
}

.mp-sell-start.is-loading .mp-sell-intake-main,
.mp-sell-start.is-loading .mp-sell-aside {
  opacity: 1;
}

.mp-sell-start.is-loading .mp-sell-quickpicks,
.mp-sell-start.is-loading .mp-sell-aside-list {
  position: relative;
}

.mp-sell-start:not(.is-loading) .mp-sell-intake-main,
.mp-sell-start:not(.is-loading) .mp-sell-aside {
  animation: mp-sell-content-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mp-sell-content-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mp-sell-qp--skeleton {
  pointer-events: none;
  overflow: hidden;
  border: 1px solid #d0efdd !important;
  background: #f7fcf9 !important;
  min-height: 132px;
}

.mp-sell-qp--skeleton .mp-sell-sk-block {
  display: block;
  background: linear-gradient(
    100deg,
    rgba(1, 120, 72, 0.06) 0%,
    rgba(1, 120, 72, 0.14) 40%,
    rgba(1, 120, 72, 0.06) 80%
  );
  background-size: 240% 100%;
  animation: mp-sell-shimmer 1.6s ease-in-out infinite;
  border-radius: 10px;
}

.mp-sell-qp--skeleton .mp-sell-sk-visual {
  min-height: 88px;
  margin: 14px 14px 8px;
  border-radius: 12px;
}

.mp-sell-qp--skeleton .mp-sell-sk-line {
  height: 12px;
  margin: 0 14px 8px;
}

.mp-sell-qp--skeleton .mp-sell-sk-line--short {
  width: 55%;
  margin-bottom: 14px;
}

.mp-sell-aside-row--skeleton {
  pointer-events: none;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 13px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: transparent !important;
  min-height: 54px;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-block {
  display: block;
  flex-shrink: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(102, 202, 150, 0.22) 45%,
    rgba(255, 255, 255, 0.04) 90%
  );
  background-size: 240% 100%;
  animation: mp-sell-shimmer 1.6s ease-in-out infinite;
  border-radius: 6px;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-rank {
  width: 22px;
  height: 22px;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-thumb {
  width: 22px;
  height: 34px;
  border-radius: 4px;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-line {
  height: 10px;
  width: 100%;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-line--short {
  width: 42%;
}

.mp-sell-aside-row--skeleton .mp-sell-sk-price {
  width: 72px;
  height: 14px;
  border-radius: 999px;
}

@keyframes mp-sell-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.mp-sell-loader {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(1, 120, 72, 0.18);
  border-top-color: var(--mp-brand);
  border-right-color: rgba(1, 120, 72, 0.55);
  border-radius: 50%;
  animation: mp-sell-spin 0.85s cubic-bezier(0.55, 0.15, 0.35, 0.85) infinite;
}

@keyframes mp-sell-spin {
  to { transform: rotate(360deg); }
}

.mp-sell-wz-loading {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mp-sell-wz-loading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--mp-ink-600);
}

.mp-sell-intake-main {
  min-width: 0;
}
.mp-sell-intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
@media (min-width: 901px) {
  .mp-sell-aside {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 900px) {
  .mp-sell-intake-grid { grid-template-columns: 1fr; }
}

.mp-sell-step-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.mp-sell-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mp-brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -4px rgba(1,120,72,.4);
}
.mp-sell-step-text {
  font-size: 12px;
  font-weight: 800;
  color: var(--mp-brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.mp-sell-step-bar {
  width: 96px; height: 4px;
  border-radius: 2px;
  background: #d0efdd;
  position: relative;
  overflow: hidden;
}
.mp-sell-step-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 12%;
  background: var(--mp-brand);
  border-radius: 2px;
}

.mp-sell-intake-title {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.mp-sell-intake-desc {
  font-size: 1.125rem;
  color: var(--mp-ink-600);
  margin: 1rem 0 0;
  max-width: 36rem;
  line-height: 1.6;
}

.mp-sell-search { position: relative; margin-top: 1.75rem; }
.mp-sell-search::before {
  content: '';
  position: absolute;
  inset: -20px -12px -8px;
  background: radial-gradient(ellipse at 30% 40%, rgba(1,120,72,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.mp-sell-search .mp-sell-input-wrap,
.mp-sell-search .mp-sell-results { position: relative; z-index: 1; }
.mp-sell-input-wrap {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1.5px solid var(--mp-border);
  border-radius: 18px;
  padding: 8px 8px 8px 14px;
  transition: all .15s ease;
  box-shadow: 0 14px 32px -16px rgba(11,19,32,.10);
}
.mp-sell-search-icon {
  display: flex;
  align-items: center;
  color: #9aa3b2;
  flex-shrink: 0;
  padding: 0 4px 0 6px;
}
.mp-sell-input-wrap:focus-within .mp-sell-search-icon { color: var(--mp-brand); }
.mp-sell-input-wrap:focus-within {
  border-color: var(--mp-brand);
  box-shadow: 0 0 0 4px rgba(1,120,72,.12), 0 14px 32px -16px rgba(11,19,32,.18);
}
.mp-sell-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
  padding: 14px 8px;
  min-width: 0;
}
.mp-sell-search-btn {
  flex-shrink: 0;
  background: var(--mp-brand);
  color: #fff !important;
  border: 0;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  min-height: 48px;
  text-transform: none;
  letter-spacing: 0;
}
.mp-sell-search-btn:hover { background: var(--mp-brand-dark); }

.mp-sell-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.mp-sell-trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mp-brand-dark);
}
.mp-sell-trust-strip li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mp-brand);
  box-shadow: 0 0 0 3px rgba(1,120,72,.15);
}

.mp-sell-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(11,19,32,.18);
  overflow: hidden;
  z-index: 20;
  max-height: 360px;
  overflow-y: auto;
  display: none;
}
.mp-sell-results.is-open { display: block; }
.mp-sell-result-head {
  padding: 10px 18px;
  background: #fafbfc;
  border-bottom: 1px solid #f2f4f7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}
.mp-sell-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .12s;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}
.mp-sell-result:hover, .mp-sell-result:focus { background: var(--mp-brand-light); outline: 0; }
.mp-sell-result-img {
  width: 36px; height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f2f4f7;
}
.mp-sell-result-info { flex: 1; min-width: 0; }
.mp-sell-result-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--mp-ink);
  text-transform: none;
  letter-spacing: 0;
}
.mp-sell-result:hover .mp-sell-result-name,
.mp-sell-result:focus .mp-sell-result-name { color: var(--mp-brand-dark); }
.mp-sell-result-price {
  font-size: 12px;
  color: #6b7280;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.mp-sell-result-price strong {
  color: var(--mp-brand-dark);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.mp-sell-results-empty { padding: 24px 18px; text-align: center; color: #6b7280; font-size: 14px; }

.mp-sell-qp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 .85rem;
  gap: 12px;
}
.mp-sell-qp-label {
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.mp-sell-quickpicks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .mp-sell-quickpicks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-sell-qp {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--mp-border);
  border-radius: 18px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-align: left;
  width: 100%;
  overflow: hidden;
  animation: mp-sell-qp-in .4s ease both;
  animation-delay: calc(var(--qp-i, 0) * 60ms);
}
@keyframes mp-sell-qp-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mp-sell-qp-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 12px 8px;
  background: linear-gradient(180deg, #f8fafb 0%, #fff 100%);
  border-bottom: 1px solid #f0f2f5;
}
.mp-sell-qp:hover {
  border-color: var(--mp-brand);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -18px rgba(1,120,72,.28);
}
.mp-sell-qp:hover .mp-sell-chevron { transform: translateX(3px); color: var(--mp-brand); }
.mp-sell-qp-body {
  flex: 1;
  min-width: 0;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-sell-qp .mp-sell-chevron {
  position: absolute;
  right: 12px;
  bottom: 14px;
}
.mp-sell-qp { position: relative; }
.mp-sell-qp-img {
  width: 40px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  filter: drop-shadow(0 6px 12px rgba(11,19,32,.12));
}
.mp-sell-qp-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: var(--mp-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding-right: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-sell-qp-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.mp-sell-qp-from {
  font-size: 10px;
  font-weight: 800;
  color: #6b7280 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
}
.mp-sell-qp-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--mp-brand-dark) !important;
  text-transform: none !important;
}
.mp-sell-chevron {
  flex-shrink: 0;
  color: #c5cad3;
  transition: transform .15s ease, color .15s ease;
}
.mp-sell-device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  flex-shrink: 0;
  color: var(--mp-brand);
  opacity: .85;
}
.mp-sell-qp-empty, .mp-sell-aside-empty {
  font-size: 13px;
  color: #6b7280;
  padding: 12px 0;
}

.mp-sell-helpers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}
.mp-sell-helper-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1b2330 !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #f6f8fa;
  border: 1px solid #e8ecf0;
  transition: background .15s, border-color .15s, color .15s;
}
.mp-sell-helper-link:hover {
  color: var(--mp-brand-dark) !important;
  background: var(--mp-brand-light);
  border-color: rgba(1,120,72,.25);
}
.mp-sell-helper-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  color: var(--mp-brand-dark);
  border: 1px solid #e8ecf0;
}

/* Aside panel — live market */
.mp-sell-aside {
  background: linear-gradient(165deg, #070d16 0%, #121b28 45%, #0a111c 100%);
  color: #fff;
  border-radius: 28px;
  padding: 28px 22px 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 32px 64px -24px rgba(11,19,32,.55),
    0 0 0 1px rgba(102,202,150,.12),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.mp-sell-aside-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(102,202,150,.18) 0%, transparent 70%);
  pointer-events: none;
  animation: mp-sell-glow-drift 8s ease-in-out infinite alternate;
}
@keyframes mp-sell-glow-drift {
  from { transform: translate(0, 0); opacity: .7; }
  to { transform: translate(-8%, 6%); opacity: 1; }
}
.mp-sell-aside-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 85%);
  pointer-events: none;
}
.mp-sell-aside-ticker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  opacity: .5;
  pointer-events: none;
}
.mp-sell-ticker-track {
  display: block;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #66ca96, #a2dfbd, transparent);
  animation: mp-sell-ticker 4s linear infinite;
}
@keyframes mp-sell-ticker {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.mp-sell-aside-header,
.mp-sell-aside-list,
.mp-sell-aside-foot {
  position: relative;
  z-index: 1;
}
.mp-sell-aside-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.mp-sell-aside-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.mp-sell-aside-sub {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}
.mp-sell-aside-live-copy { color: rgba(162,223,189,.9); }
.mp-sell-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(102,202,150,.14);
  border: 1px solid rgba(102,202,150,.35);
  color: #a2dfbd;
  padding: 5px 11px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.mp-sell-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66ca96;
  box-shadow: 0 0 0 0 rgba(102,202,150,.55);
  animation: mp-sell-pulse 2s ease infinite;
}
@keyframes mp-sell-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102,202,150,.45); }
  50% { box-shadow: 0 0 0 6px rgba(102,202,150,0); }
}
.mp-sell-live-tag::before { content: none; }

.mp-sell-aside-list {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.mp-sell-aside-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: #fff !important;
  text-transform: none !important;
  transition: background .2s ease, transform .2s ease;
  animation: mp-sell-row-in .45s ease both;
  animation-delay: calc(var(--row-i, 0) * 70ms);
}
.mp-sell-aside-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55) !important;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.mp-sell-aside-row.is-top .mp-sell-aside-rank {
  background: linear-gradient(135deg, rgba(102,202,150,.35), rgba(1,120,72,.45));
  color: #d4f5e4 !important;
  box-shadow: 0 0 12px rgba(102,202,150,.25);
}
.mp-sell-aside-row.is-top {
  background: linear-gradient(90deg, rgba(102,202,150,.14) 0%, transparent 100%);
}
.mp-sell-aside-row:hover,
.mp-sell-aside-row.is-highlight {
  background: rgba(102,202,150,.12);
}
.mp-sell-aside-row.is-highlight .mp-sell-aside-price {
  animation: mp-sell-price-glow 1.2s ease;
}
.mp-sell-aside-trend {
  font-size: 9px;
  color: #66ca96;
  opacity: .85;
  line-height: 1;
  animation: mp-sell-trend-bounce 2.4s ease infinite;
}
@keyframes mp-sell-trend-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes mp-sell-row-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mp-sell-price-glow {
  0%, 100% { color: #8ae8b8; }
  50% { color: #c8f5dc; text-shadow: 0 0 14px rgba(102,202,150,.4); }
}
.mp-sell-aside-row + .mp-sell-aside-row { border-top: 1px solid rgba(255,255,255,.06); }
.mp-sell-aside-thumb {
  width: 22px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.mp-sell-aside-info { flex: 1; min-width: 0; }
.mp-sell-aside-name {
  display: block;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.mp-sell-aside-meta {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.45) !important;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mp-sell-aside-price-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-left: auto;
}
.mp-sell-aside-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #8ae8b8 !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.mp-sell-aside-row .mp-sell-chevron { color: rgba(255,255,255,.25); width: 14px; height: 14px; }
.mp-sell-aside-row:hover .mp-sell-chevron { color: rgba(162,223,189,.8); }

.mp-sell-aside-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 16px;
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.mp-sell-aside-stat strong {
  color: #fff !important;
  font-weight: 800;
  text-transform: none !important;
}
.mp-sell-aside-stat--payout { display: inline-flex; align-items: center; gap: 5px; }
.mp-sell-payout-icon { font-size: 12px; opacity: .8; }

/* Wizard */
.mp-sell-wizard {
  padding: 8px 0 48px;
}

.mp-sell-wizard-card {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 24px;
  box-shadow: 0 24px 64px -24px rgba(11, 19, 32, 0.12);
  padding: 32px 32px 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mp-sell-wizard-card {
    padding: 20px 16px 28px;
    border-radius: 18px;
  }
}

.mp-sell-wp {
  max-width: none;
  margin: 0 0 28px;
}

.mp-sell-wp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mp-sell-wp-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 420px;
}

.mp-sell-wp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #b8dfc9;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.mp-sell-wp-dot.is-done {
  border-color: var(--mp-brand);
  background: var(--mp-brand);
}

.mp-sell-wp-dot.is-active {
  border-color: var(--mp-brand);
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--mp-brand);
}

.mp-sell-wp-line {
  flex: 1;
  height: 2px;
  min-width: 20px;
  max-width: 56px;
  background: #d0efdd;
  margin: 0 4px;
}

.mp-sell-wp-line.is-done {
  background: var(--mp-brand);
}

.mp-sell-wp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 16px;
}

.mp-sell-wp-count {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mp-brand-dark);
  white-space: nowrap;
}

.mp-sell-wzgrid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .mp-sell-wzgrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.mp-sell-wz-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px 0;
}

@media (max-width: 900px) {
  .mp-sell-wz-aside {
    position: static;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mp-border);
  }
}

.mp-sell-wz-device {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 20px;
}

.mp-sell-wz-device.has-image {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.mp-sell-wz-product-img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(11, 19, 32, 0.12));
}

.mp-sell-wz-product-img.mp-sell-hidden {
  display: none !important;
}

.mp-sell-wz-phone-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  margin-top: 18px;
  letter-spacing: -0.02em;
  color: var(--mp-ink) !important;
  line-height: 1.15;
  text-transform: none !important;
}

.mp-sell-change-model {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-ink) !important;
  background: transparent !important;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  text-decoration: none;
  text-transform: none !important;
}

.mp-sell-change-icon {
  font-size: 16px;
  color: var(--mp-brand-dark);
  line-height: 1;
}

.mp-sell-change-model:hover {
  color: var(--mp-brand-dark) !important;
}

.mp-sell-wz-empty {
  margin: 0;
  font-size: 15px;
  color: var(--mp-ink-600);
  line-height: 1.5;
}

.mp-sell-wz-main {
  min-width: 0;
}

.mp-sell-wz-panel {
  display: none;
}

.mp-sell-wz-panel.is-active {
  display: block;
  animation: mp-sell-fade 0.25s ease;
}

@keyframes mp-sell-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mp-sell-wz-panel-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 0;
}

@media (max-width: 600px) {
  .mp-sell-wz-panel-inner {
    padding: 0;
  }
}

.mp-sell-wz-panel-inner--price {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mp-sell-price-card {
  position: relative;
  text-align: center;
  padding: 44px 32px 36px;
  margin-bottom: 8px;
  background: linear-gradient(145deg, #ecf8f2 0%, #f7fcf9 55%, #fff 100%);
  border: 1.5px solid #c8ead8;
  border-radius: 22px;
  box-shadow:
    0 20px 48px -28px rgba(1, 120, 72, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mp-sell-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mp-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -4px rgba(1, 120, 72, 0.45);
}

.mp-sell-price-label {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mp-brand-dark);
}

.mp-sell-price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 72px);
  line-height: 1;
  margin: 16px 0 14px;
  color: var(--mp-brand-dark);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.mp-sell-price-meta {
  font-size: 14px;
  color: #4b5565;
  margin-bottom: 0;
  font-weight: 600;
}

.mp-sell-wz-panel-inner--form {
  max-width: none;
}

.mp-sell-form-card {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  padding: 24px 24px 28px;
  box-shadow: 0 16px 40px -28px rgba(11, 19, 32, 0.12);
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section {
  padding-top: 4px;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section + .mp-sell-form-section {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #eef1f4;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section-title {
  font-size: 18px;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row > label,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-field > label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #334155;
}

@media (max-width: 600px) {
  .mp-sell-form-card {
    padding: 20px 16px 24px;
    border-radius: 16px;
  }
}

.mp-sell-form-header {
  margin-bottom: 24px;
}

.mp-sell-form-title {
  margin-bottom: 12px !important;
}

.mp-sell-form-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mp-ink-600);
  max-width: 36rem;
}

.mp-sell-cf7-wrap {
  margin-top: 0;
  width: 100%;
}

.mp-sell-form-card .mp-sell-cf7-wrap,
.mp-sell-form-card .wpcf7-form {
  width: 100%;
}

.mp-sell-cf7-fallback {
  margin: 0;
  padding: 20px;
  background: #fafbfc;
  border: 1px solid var(--mp-border);
  border-radius: 14px;
  font-size: 15px;
  color: var(--mp-ink-600);
}

/* CF7 form inside sell flow */
.mp-sell-cf7-wrap .wpcf7-form {
  margin: 0;
}

.mp-sell-cf7-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 12px;
  font-size: 14px;
}

.mp-sell-cf7-wrap .mp-sell-customer-type {
  display: block;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-list-item {
  display: block !important;
  flex: 1 1 calc(50% - 7px);
  min-width: min(100%, 160px);
  margin: 0 !important;
  padding: 0 !important;
}

.mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 1.5px solid #d5dbe3;
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: var(--mp-ink-600) !important;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  box-sizing: border-box;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-form-control.wpcf7-radio {
  display: flex !important;
  flex-direction: row !important;
  column-gap: 14px !important;
  row-gap: 14px !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .formStyle .mp-sell-customer-type .wpcf7-list-item,
.mp-sell-flow .mp-sell-cf7-wrap .formStyle .mp-sell-customer-type .wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
  width: auto !important;
  flex: 1 1 calc(50% - 7px);
}

.mp-sell-cf7-wrap .mp-sell-customer-type .wpcf7-list-item label:has(input:checked) {
  background: var(--mp-brand-light);
  border-color: var(--mp-brand);
  color: var(--mp-brand-dark) !important;
  box-shadow: 0 0 0 3px rgba(1, 120, 72, 0.1);
}

.mp-sell-cf7-wrap .mp-sell-vat-box {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #f6f8fa;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
}

.mp-sell-cf7-wrap .mp-sell-vat-box h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mp-ink);
}

.mp-sell-cf7-wrap .mp-sell-vat-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mp-ink-600);
}

.mp-sell-cf7-wrap .mp-sell-corp-only {
  display: none;
}

.mp-sell-cf7-wrap.is-corporate .mp-sell-corp-only {
  display: contents;
}

.mp-sell-cf7-wrap .mp-sell-private-only {
  display: block;
}

.mp-sell-cf7-wrap.is-corporate .mp-sell-private-only {
  display: none;
}

.mp-sell-cf7-wrap .mp-sell-swish-only,
.mp-sell-cf7-wrap .mp-sell-bank-only {
  display: none;
}

.mp-sell-cf7-wrap[data-payment="Swish"] .mp-sell-swish-only:not(.mp-sell-payment-info),
.mp-sell-cf7-wrap[data-payment="swish"] .mp-sell-swish-only:not(.mp-sell-payment-info) {
  display: contents;
}

.mp-sell-cf7-wrap[data-payment="Swish"] .mp-sell-payment-info,
.mp-sell-cf7-wrap[data-payment="swish"] .mp-sell-payment-info {
  display: block;
}

.mp-sell-cf7-wrap[data-payment="Banköverföring"] .mp-sell-bank-only,
.mp-sell-cf7-wrap[data-payment="Bankoverforing"] .mp-sell-bank-only {
  display: contents;
}

.mp-sell-cf7-wrap .mp-sell-form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  margin-bottom: 28px;
  width: 100%;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section > .mp-sell-form-section-title,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section > .mp-sell-form-row--duo,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section > .mp-sell-payment-info,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section .mp-sell-form-row:has([name="address"]),
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section .mp-sell-form-row:has([name="country"]),
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section .mp-sell-form-row:has([name="bank-details"]),
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section .mp-sell-form-row:has(.mp-sell-payment-select),
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-section .mp-sell-form-row:has(select[name="payment-method"]) {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .mp-sell-cf7-wrap .mp-sell-form-section {
    grid-template-columns: 1fr;
  }
}

.mp-sell-cf7-wrap .mp-sell-form-section-title {
  margin: 0 0 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--mp-ink);
  letter-spacing: -0.01em;
}

/* Stacked label-above-input rows — full width */
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-bottom: 16px;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row > label,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row > .mp-sell-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-ink);
  margin: 0;
  line-height: 1.3;
}

/* CF7 auto-wraps shortcodes in <p> — force full width */
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row > p,
.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-field > p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input[type="text"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="email"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="tel"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="number"],
.mp-sell-flow .mp-sell-cf7-wrap select,
.mp-sell-flow .mp-sell-cf7-wrap textarea,
.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-hidden) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  border: 1.5px solid #d5dbe3 !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--mp-ink) !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(11, 19, 32, 0.04) !important;
  min-height: 52px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  flex: none !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input::placeholder,
.mp-sell-flow .mp-sell-cf7-wrap textarea::placeholder {
  color: #9aa3b2 !important;
  opacity: 1 !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input:-webkit-autofill,
.mp-sell-flow .mp-sell-cf7-wrap input:-webkit-autofill:hover,
.mp-sell-flow .mp-sell-cf7-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--mp-ink) !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  border: 1.5px solid #d5dbe3 !important;
}

.mp-sell-cf7-wrap .mp-sell-customer-type input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mp-sell-flow .mp-sell-cf7-wrap input:focus,
.mp-sell-flow .mp-sell-cf7-wrap select:focus,
.mp-sell-flow .mp-sell-cf7-wrap textarea:focus {
  outline: none !important;
  border-color: var(--mp-brand) !important;
  box-shadow: 0 0 0 3px rgba(1, 120, 72, 0.12) !important;
}

.mp-sell-cf7-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
}

.mp-sell-cf7-wrap .mp-sell-payment-info {
  margin: 20px 0 28px;
  padding: 18px 20px;
  background: #f6f8fa;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  text-align: center;
}

.mp-sell-cf7-wrap .mp-sell-payment-info h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mp-ink);
}

.mp-sell-cf7-wrap .mp-sell-payment-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mp-ink-600);
}

.mp-sell-cf7-wrap .mp-sell-form-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 24px;
}

.mp-sell-cf7-wrap .mp-sell-form-checks .wpcf7-list-item {
  margin: 0;
}

.mp-sell-cf7-wrap .mp-sell-form-checks label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mp-ink-600);
  cursor: pointer;
}

.mp-sell-cf7-wrap .mp-sell-form-checks input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--mp-brand);
}

.mp-sell-cf7-wrap .mp-sell-form-checks a {
  color: var(--mp-brand-dark);
  font-weight: 600;
}

.mp-sell-cf7-wrap .mp-sell-submit-wrap {
  text-align: center;
  margin-top: 16px;
  position: relative;
}

/* Single loader only — CF7 init was creating duplicates */
.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-spinner {
  display: none !important;
}

.mp-sell-flow .mp-sell-cf7-wrap form.submitting .mp-sell-submit-wrap::after {
  content: '';
  display: block;
  width: 26px;
  height: 26px;
  margin: 14px auto 0;
  border: 3px solid rgba(1, 120, 72, 0.16);
  border-top-color: var(--mp-brand);
  border-right-color: rgba(1, 120, 72, 0.5);
  border-radius: 50%;
  animation: mp-sell-spin 0.85s cubic-bezier(0.55, 0.15, 0.35, 0.85) infinite;
}

.mp-sell-flow .mp-sell-cf7-wrap form.submitting input.wpcf7-submit {
  opacity: 0.75;
  pointer-events: none;
}

/* Theme overrides — sell flow CF7 must win over global wpcf7 / formStyle rules */
.mp-sell-flow .mp-sell-cf7-wrap .formStyle form,
.mp-sell-flow .mp-sell-cf7-wrap form.wpcf7-form {
  margin: 0 !important;
  padding: 0 !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow,
.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow .formColumn {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow .formColumn > label {
  margin-bottom: 0 !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-row--duo {
    grid-template-columns: 1fr;
  }
}

.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow .wpcf7-form-control:not(.wpcf7-submit) {
  display: block !important;
  width: 100% !important;
  flex: none !important;
  column-gap: 0 !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow .formColumn,
.mp-sell-flow .mp-sell-cf7-wrap .formStyle .formRow .formColumn p {
  width: 100% !important;
  max-width: none !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-form-field > label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-ink);
  margin: 0;
}

.mp-sell-flow .mp-sell-cf7-wrap p:empty {
  display: none;
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-form > p:not(.mp-sell-form-checks):not(:has(.wpcf7-acceptance)):not(:has(.wpcf7-radio)):not(:has(.wpcf7-submit)) {
  margin: 0 0 14px;
}

.mp-sell-flow .mp-sell-cf7-wrap input::-webkit-calendar-picker-indicator,
.mp-sell-flow .mp-sell-cf7-wrap input::-webkit-inner-spin-button {
  display: none;
  -webkit-appearance: none;
}

.mp-sell-flow .mp-sell-cf7-wrap input[type="text"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="email"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="tel"],
.mp-sell-flow .mp-sell-cf7-wrap input[type="number"],
.mp-sell-flow .mp-sell-cf7-wrap select,
.mp-sell-flow .mp-sell-cf7-wrap textarea,
.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-hidden) {
  appearance: none;
  -webkit-appearance: none;
}

.mp-sell-flow .mp-sell-cf7-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234b5565' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 42px !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input.wpcf7-submit,
.mp-sell-flow .mp-sell-cf7-wrap input[type="submit"].wpcf7-form-control,
.mp-sell-flow .mp-sell-cf7-wrap button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 16px 40px !important;
  border: none !important;
  border-radius: 9999px !important;
  background: var(--mp-brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: 0 8px 24px -8px rgba(1, 120, 72, 0.55) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input.wpcf7-submit:hover,
.mp-sell-flow .mp-sell-cf7-wrap input[type="submit"].wpcf7-form-control:hover,
.mp-sell-flow .mp-sell-cf7-wrap button[type="submit"]:hover {
  background: var(--mp-brand-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(1, 120, 72, 0.6) !important;
}

.mp-sell-flow .mp-sell-cf7-wrap input.wpcf7-submit:disabled,
.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-form.submitting input.wpcf7-submit {
  opacity: 0.72;
  cursor: wait !important;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-submit-wrap {
  margin-top: 12px;
  padding-top: 8px;
}

.mp-sell-flow .mp-sell-cf7-wrap .mp-sell-submit-wrap > p {
  margin: 0 !important;
  text-align: center;
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-response-output {
  margin: 16px 0 0 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  text-align: center;
}

.mp-sell-flow .mp-sell-cf7-wrap form.wpcf7-form.sent .wpcf7-response-output {
  border-color: #c8ead8 !important;
  background: #ecf8f2;
  color: #034a2e;
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mp-ink-600);
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--mp-brand);
}

.mp-sell-flow .mp-sell-cf7-wrap .wpcf7-acceptance a {
  color: var(--mp-brand-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legacy price card block removed below — kept selectors for specificity */

.mp-sell-wz-question {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--mp-ink);
  letter-spacing: -0.02em;
}

.mp-sell-wz-help-inline {
  margin: -8px 0 20px;
  padding: 14px 18px;
  background: var(--mp-brand-light);
  border: 1px solid #d0efdd;
  border-radius: 14px;
  font-size: 14px;
  color: #034a2e;
  line-height: 1.55;
}

.mp-sell-wz-help-row {
  margin: -8px 0 20px;
}

.mp-sell-wz-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.mp-sell-wz-help:hover {
  color: var(--mp-brand);
}

.mp-sell-wz-help-content {
  display: none;
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--mp-brand-light);
  border: 1px solid #d0efdd;
  border-radius: 14px;
  font-size: 14px;
  color: #034a2e;
  line-height: 1.55;
}

.mp-sell-wz-help-content.is-open {
  display: block;
}

.mp-sell-wz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-sell-flow .mp-sell-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-sell-flow .mp-sell-radio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: #fff;
  border: 1.5px solid #c9ced7;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
  color: #1b2330 !important;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  box-shadow: none;
  min-height: auto;
}

.mp-sell-flow .mp-sell-radio:hover {
  border-color: #66ca96;
  background: #fff;
  color: var(--mp-brand-dark) !important;
}

.mp-sell-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #c9ced7;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #fff;
}

.mp-sell-flow .mp-sell-radio.is-active {
  background: #d0efdd;
  border-color: #017848;
  color: var(--mp-brand-dark) !important;
  box-shadow: 0 0 0 3px rgba(1, 120, 72, 0.1);
}

.mp-sell-flow .mp-sell-radio.is-active .mp-sell-radio-circle {
  border-color: var(--mp-brand);
}

.mp-sell-flow .mp-sell-radio.is-active .mp-sell-radio-circle::after {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mp-brand);
}

.mp-sell-wz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 4px;
}

.mp-sell-wz-nav--end {
  justify-content: flex-end;
}

.mp-sell-wz-nav--start {
  justify-content: flex-start;
}

.mp-sell-flow .mp-sell-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid var(--mp-border);
  background: #fff;
  color: var(--mp-ink) !important;
  cursor: pointer;
  box-shadow: 0 4px 0 0 #e6e8ec;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.mp-sell-flow .mp-sell-btn-pill:hover:not(:disabled) {
  transform: translateY(-1px);
}

.mp-sell-flow .mp-sell-btn-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mp-sell-flow .mp-sell-btn-pill--ghost {
  background: #fff;
  color: var(--mp-ink) !important;
}

.mp-sell-flow .mp-sell-btn-pill--primary {
  background: var(--mp-brand);
  color: #fff !important;
  border-color: var(--mp-brand);
  box-shadow: 0 4px 0 0 #034a2e;
}

.mp-sell-flow .mp-sell-btn-pill--primary:hover:not(:disabled) {
  background: var(--mp-brand-dark);
  color: #fff !important;
}


/* Theme overrides — keep sell flow readable */
.mp-sell-flow button,
.mp-sell-flow input[type="text"] {
  font-family: inherit;
}

.mp-sell-flow .mp-sell-qp,
.mp-sell-flow .mp-sell-aside-row,
.mp-sell-flow .mp-sell-result {
  background-color: transparent;
  text-shadow: none;
}

.mp-sell-flow .mp-sell-qp {
  background-color: #fff !important;
  color: var(--mp-ink) !important;
}

.mp-sell-flow .mp-sell-qp:hover {
  background-color: #fff !important;
}

.mp-sell-flow .mp-sell-input {
  color: var(--mp-ink);
}

/* Admin — product category picker */
.woocommerce table.form-table td.forminp .mp-sell-cat-panel {
  width: 100%;
  max-width: none;
  margin: 0;
}

.mp-sell-cat-meta {
  margin: 0 0 8px;
}

.mp-sell-cat-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #50575e;
  padding: 4px 10px;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 999px;
}

.mp-sell-cat-panel {
  width: 100%;
  max-width: 100%;
}

.woocommerce table.form-table .mp-sell-cat-panel .mp-sell-cat-option {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  gap: 14px;
  padding: 11px 20px 11px calc(20px + var(--cat-depth, 0) * 28px);
}

.woocommerce table.form-table .mp-sell-cat-panel .mp-sell-cat-option__text {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
}

.woocommerce table.form-table .mp-sell-cat-panel .mp-sell-cat-option__check {
  display: block !important;
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce table.form-table .mp-sell-cat-panel .mp-sell-cat-option__check input[type="checkbox"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mp-sell-cat-picker {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  max-height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
}

.mp-sell-cat-picker--tree {
  box-shadow: inset 0 1px 0 #f0f0f1;
}

.mp-sell-cat-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 16px 10px calc(16px + var(--cat-depth, 0) * 24px);
  border: 0;
  border-bottom: 1px solid #f0f0f1;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  line-height: 1.35;
  transition: background 0.15s ease;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.mp-sell-cat-option:last-child {
  border-bottom: 0;
}

.mp-sell-cat-option--child {
  background: #fcfcfd;
}

.mp-sell-cat-tree-branch,
.mp-sell-cat-tree-icon,
.mp-sell-cat-tree-icon--folder {
  display: none !important;
}

.mp-sell-cat-option__text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
  overflow: hidden;
}

.mp-sell-cat-option.is-hidden {
  display: none;
}

.mp-sell-cat-option:hover {
  background: #f6f7f7;
}

.mp-sell-cat-option--child:hover {
  background: #f3f4f6;
}

.mp-sell-cat-option:has(input:checked) {
  background: #f0faf5;
  box-shadow: inset 3px 0 0 #017848;
}

.mp-sell-cat-option__check {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.mp-sell-cat-option__check input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.mp-sell-cat-option__check::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
  pointer-events: none;
}

.mp-sell-cat-option__check:has(input:checked)::before {
  background: #017848;
  border-color: #017848;
}

.mp-sell-cat-option__check:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.mp-sell-cat-option__check:has(input:focus-visible)::before {
  box-shadow: 0 0 0 2px rgba(1, 120, 72, 0.25);
}


.mp-sell-cat-option--root .mp-sell-cat-option__name {
  font-weight: 700;
}

.mp-sell-cat-option__name {
  font-weight: 600;
  font-size: 13px;
  color: #1d2327;
  line-height: 1.35;
  white-space: nowrap;
  flex-shrink: 0;
}

.mp-sell-cat-option__slug {
  font-size: 11px;
  color: #787c82;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}

.mp-sell-cat-option__slug::before {
  content: "·";
  margin-right: 8px;
  color: #c3c4c7;
}

/* Admin questions builder (WooCommerce → Settings → Buyback) */
.woocommerce table.form-table tr.mp-sell-questions-row th {
  display: none;
}

.woocommerce table.form-table tr.mp-sell-questions-row td {
  padding-left: 0;
  padding-right: 0;
}

/* Prevent WC form-table from breaking nested inputs */
.mp-sell-questions-builder input.regular-text,
.mp-sell-questions-builder input.large-text,
.mp-sell-questions-builder input.small-text,
.mp-sell-questions-builder textarea.large-text {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  display: block;
  box-sizing: border-box;
}

.mp-sell-questions-cell {
  padding-top: 16px !important;
  padding-bottom: 8px !important;
}

.mp-sell-questions-heading {
  margin: 0 0 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #1d2327;
}

.mp-sell-questions-builder {
  max-width: none;
  margin-top: 4px;
}

.mp-sell-questions-cell > .description {
  margin-top: 16px;
}

.mp-sell-q-empty {
  margin: 0 0 20px;
  padding: 20px 22px;
  background: #f6f7f7;
  border: 1px dashed #c3c4c7;
  border-radius: 8px;
  color: #646970;
}

.mp-sell-q-block {
  border: 1px solid #dcdcde;
  border-radius: 10px;
  margin-bottom: 28px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mp-sell-q-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border-bottom: 1px solid #e5e7eb;
}

.mp-sell-q-block__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.mp-sell-q-block__header .mp-sell-q-btn--danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b1c1c;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 6px 12px;
  background: #fff;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: none;
}

.mp-sell-q-block__header .mp-sell-q-btn--danger .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.mp-sell-q-block__header .mp-sell-q-btn--danger:hover {
  background: #fef2f2;
  color: #7f1d1d;
  border-color: #fca5a5;
}

.mp-sell-q-fields {
  display: grid;
  grid-template-columns: minmax(200px, 28%) minmax(0, 1fr);
  gap: 20px 40px;
  padding: 24px 24px 8px;
}

@media (max-width: 782px) {
  .mp-sell-q-fields {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 20px 8px;
  }
}

.mp-sell-q-field {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.mp-sell-q-field--full {
  padding: 16px 24px 8px;
  margin-top: 8px;
  border-top: 1px solid #f0f0f1;
}

.mp-sell-q-field__label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
}

.mp-sell-q-field input.large-text,
.mp-sell-q-field textarea.large-text,
.mp-sell-q-field input.regular-text {
  width: 100%;
  margin: 0;
}

.mp-sell-q-field textarea.large-text {
  min-height: 72px;
  padding: 10px 12px;
  line-height: 1.5;
}

.mp-sell-q-field .description {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

/* Answers grid (div-based — avoids WP widefat table breakage) */
.mp-sell-q-answers-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1d2327;
}

.mp-sell-q-answers-wrap {
  margin: 20px 24px 0;
  padding-top: 20px;
  border-top: 1px solid #f0f0f1;
}

.mp-sell-q-answers-grid {
  border: 1px solid #dcdcde;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.mp-sell-q-answers-head,
.mp-sell-q-opt-row {
  display: grid;
  grid-template-columns: minmax(100px, 22%) minmax(0, 1fr) 110px 48px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
}

.mp-sell-q-answers-head {
  background: #f6f7f7;
  border-bottom: 1px solid #dcdcde;
  font-size: 12px;
  font-weight: 600;
  color: #1d2327;
}

.mp-sell-q-opt-row {
  background: #fff;
  border-bottom: 1px solid #f0f0f1;
}

.mp-sell-q-opt-row:last-child {
  border-bottom: 0;
}

.mp-sell-q-opt-row:hover {
  background: #fafafa;
}

.mp-sell-q-col {
  min-width: 0;
}

.mp-sell-q-col-action {
  display: flex;
  justify-content: center;
}

.mp-sell-q-answers-grid input.regular-text,
.mp-sell-q-answers-grid input.small-text {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 10px;
  box-sizing: border-box;
  line-height: 1.4;
  float: none !important;
}

@media (max-width: 782px) {
  .mp-sell-q-answers-head {
    display: none;
  }

  .mp-sell-q-opt-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .mp-sell-q-col-value,
  .mp-sell-q-col-label {
    grid-column: span 1;
  }

  .mp-sell-q-col-cut {
    grid-column: 1;
  }

  .mp-sell-q-col-action {
    grid-column: 2;
    justify-content: flex-end;
  }
}

.mp-sell-q-cut-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mp-sell-q-cut-wrap .small-text {
  width: 68px !important;
  flex-shrink: 0;
}

.mp-sell-q-cut-suffix {
  color: #646970;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.mp-sell-q-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #fff;
  color: #787c82;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  box-shadow: none;
}

.mp-sell-q-icon-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.mp-sell-q-icon-btn:hover {
  color: #b32d2e;
  border-color: #d63638;
  background: #fcf0f1;
}

.mp-sell-q-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-sell-q-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
}

.mp-sell-q-btn--secondary {
  border-radius: 4px !important;
  font-weight: 500 !important;
  padding: 4px 12px !important;
  height: auto !important;
}

.mp-sell-q-answers-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 16px;
  border-top: 1px solid #dcdcde;
  background: #f6f7f7;
}

.mp-sell-q-answers-toolbar .button.add-opt {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  height: auto !important;
  padding: 8px 16px !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.mp-sell-q-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #2271b1;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.mp-sell-q-add-wrap .button-primary .mp-sell-q-plus {
  background: rgba(255, 255, 255, 0.22);
}

.mp-sell-q-block__footer {
  display: none;
}

.mp-sell-q-add-wrap {
  margin: 24px 0 8px;
  padding-top: 8px;
}

.mp-sell-q-add-wrap .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 6px 16px;
}

.mp-sell-q-add-wrap .button-primary .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
