

/* Stage 5: sales + auction homepage */
.miromax-sales-home {
  --mmx-bg: #f8fafc;
  --mmx-card: #ffffff;
  --mmx-ink: #0f172a;
  --mmx-muted: #64748b;
  --mmx-line: #e2e8f0;
  --mmx-accent: #111827;
  --mmx-soft: #eef2ff;
  --mmx-success: #ecfdf5;
  --mmx-radius: 22px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 16px 72px;
  color: var(--mmx-ink);
}

.miromax-sales-home a {
  text-decoration: none;
}

.miromax-sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  gap: 24px;
  align-items: stretch;
  margin: 18px 0 20px;
}

.miromax-sales-hero__copy,
.miromax-sales-hero__deal,
.miromax-home-section,
.miromax-trust-home,
.miromax-category-strip a {
  background: var(--mmx-card);
  border: 1px solid var(--mmx-line);
  border-radius: var(--mmx-radius);
  box-shadow: 0 16px 45px rgba(15, 23, 42, .06);
}

.miromax-sales-hero__copy {
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 12% 18%, rgba(99, 102, 241, .15), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(14, 165, 233, .12), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.miromax-sales-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .78rem;
  color: #4f46e5;
}

.miromax-sales-hero h1 {
  margin: 0 0 18px;
  max-width: 860px;
  font-size: clamp(2.25rem, 6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.miromax-sales-lead {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--mmx-muted);
}

.miromax-home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 20px 0 18px;
  padding: 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--mmx-line);
  border-radius: 999px;
}

.miromax-home-search input[type="search"] {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 48px;
  padding: 0 16px;
  outline: none;
  box-shadow: none;
}

.miromax-home-search button,
.miromax-home-search__media,
.miromax-sales-btn,
.miromax-mini-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.miromax-home-search button,
.miromax-sales-btn--primary,
.miromax-mini-cta {
  background: #111827;
  color: #fff;
}

.miromax-home-search__media,
.miromax-sales-btn--secondary {
  background: #eef2ff;
  color: #3730a3;
}

.miromax-sales-btn--ghost {
  background: #fff;
  border: 1px solid var(--mmx-line);
  color: var(--mmx-ink);
}

.miromax-sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.miromax-sales-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
}

.miromax-sales-stats div {
  padding: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--mmx-line);
  border-radius: 18px;
}

.miromax-sales-stats strong {
  display: block;
  font-size: 1.35rem;
}

.miromax-sales-stats span {
  display: block;
  color: var(--mmx-muted);
  font-size: .92rem;
}

.miromax-sales-hero__deal {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.miromax-live-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 800;
  font-size: .86rem;
}

.miromax-live-label span {
  width: 9px;
  height: 9px;
  background: #ef4444;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(239,68,68,.12);
}

.miromax-deal-visual,
.miromax-offer-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(79,70,229,.16), transparent 30%),
    linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.miromax-deal-visual {
  min-height: 260px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.miromax-deal-visual img,
.miromax-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.miromax-deal-visual span,
.miromax-offer-image span {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #4f46e5;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
}

.miromax-card-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  font-size: .78rem;
}

.miromax-sales-hero__deal h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.miromax-sales-hero__deal p:not(.miromax-card-badge) {
  color: var(--mmx-muted);
}

.miromax-deal-price {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin: auto 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--mmx-line);
}

.miromax-deal-price span {
  color: var(--mmx-muted);
}

.miromax-deal-price strong {
  font-size: 1.45rem;
}

.miromax-full {
  width: 100%;
}

.miromax-category-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.miromax-category-strip a {
  padding: 18px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.miromax-category-strip a:hover,
.miromax-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15,23,42,.10);
}

.miromax-category-strip strong,
.miromax-category-strip span {
  display: block;
}

.miromax-category-strip strong {
  color: var(--mmx-ink);
}

.miromax-category-strip span {
  margin-top: 4px;
  color: var(--mmx-muted);
  font-size: .9rem;
}

.miromax-home-section {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.miromax-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.miromax-section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  letter-spacing: -.03em;
}

.miromax-section-head > a {
  font-weight: 800;
  white-space: nowrap;
  color: #3730a3;
}

.miromax-home-grid {
  display: grid;
  gap: 16px;
}

.miromax-home-grid--cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.miromax-offer-card {
  overflow: hidden;
  border: 1px solid var(--mmx-line);
  border-radius: 20px;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease;
}

.miromax-offer-image {
  min-height: 178px;
  aspect-ratio: 4 / 3;
}

.miromax-offer-body {
  padding: 16px;
}

.miromax-offer-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.miromax-offer-body h3 a {
  color: var(--mmx-ink);
}

.miromax-offer-body p:not(.miromax-card-badge) {
  margin: 0 0 12px;
  color: var(--mmx-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.miromax-offer-meta {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mmx-line);
}

.miromax-offer-meta span {
  color: var(--mmx-muted);
  font-size: .86rem;
}

.miromax-offer-meta strong {
  font-size: 1.12rem;
}

.miromax-mini-cta {
  margin-top: 14px;
  width: 100%;
}

.miromax-home-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  background:
    radial-gradient(circle at 15% 10%, rgba(79,70,229,.12), transparent 34%),
    linear-gradient(135deg, #111827, #1e293b);
  color: #fff;
}

.miromax-home-section--split .miromax-sales-kicker,
.miromax-home-section--split p {
  color: rgba(255,255,255,.78);
}

.miromax-ai-promo h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -.04em;
}

.miromax-ai-promo p {
  max-width: 760px;
  line-height: 1.65;
}

.miromax-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.miromax-steps div,
.miromax-seller-panel-card {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px;
}

.miromax-steps strong {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  margin-bottom: 10px;
}

.miromax-steps span {
  display: block;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.miromax-seller-panel-card h3 {
  margin-top: 0;
}

.miromax-seller-panel-card ul {
  margin: 0 0 18px 18px;
  padding: 0;
  color: rgba(255,255,255,.86);
}

.miromax-seller-panel-card a {
  color: #fff;
  font-weight: 900;
}

.miromax-trust-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
}

.miromax-trust-home strong,
.miromax-trust-home span {
  display: block;
}

.miromax-trust-home span {
  margin-top: 6px;
  color: var(--mmx-muted);
}

@media (max-width: 1100px) {
  .miromax-home-grid--cards,
  .miromax-category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .miromax-sales-hero,
  .miromax-home-section--split,
  .miromax-trust-home {
    grid-template-columns: 1fr;
  }

  .miromax-home-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .miromax-home-search button,
  .miromax-home-search__media {
    width: 100%;
  }

  .miromax-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .miromax-sales-stats,
  .miromax-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .miromax-sales-home {
    padding-left: 12px;
    padding-right: 12px;
  }

  .miromax-home-grid--cards,
  .miromax-category-strip {
    grid-template-columns: 1fr;
  }

  .miromax-sales-actions {
    flex-direction: column;
  }

  .miromax-sales-btn {
    width: 100%;
  }
}
