:root {
  --olx-purple: #6e0ad6;
  --olx-purple-dark: #5c08b4;
  --olx-orange: #f28000;
  --ink: #1a1d23;
  --muted: #5e6a82;
  --line: #cfd4dd;
  --soft: #f5f6f7;
  --bg: #fff;
  --font-primary: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --spots-background-circle: #f0e6ff;
  --spots-color-circle: #6e0ad6;
  --spots-border-color-default: #1a1d23;
  --color-neutral-70: #fff;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; }
a { color: var(--olx-purple); }

.olx-link {
  font-family: var(--font-primary);
  color: var(--olx-purple);
  text-decoration: none;
  font-weight: 600;
}
.olx-link:hover { text-decoration: underline; }
.olx-link--small { font-size: 14px; font-weight: 600; }
.olx-link--caption { font-size: 12px; font-weight: 600; }

/* ---------------------------------------------------------- header */
.olx-focus-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.olx-focus-header__content {
  max-width: 1576px;
  margin: 0 auto;
  height: 47px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1024px) {
  .olx-focus-header__content { gap: 24px; }
}
.olx-focus-header__logo {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.olx-focus-header__logo svg,
.olx-focus-header__logo-container svg {
  width: 48px;
  height: 48px;
  display: block;
}
.header-help { font-size: 14px; color: var(--muted); text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer; font-family: var(--font-primary); font-weight: 600; }
.header-help:hover { color: var(--ink); }

/* ---------------------------------------------------------- página */
.olx-page { margin: 0; }
.olx-grid { display: block; }
.olx-hero-col { display: none; }
.olx-card-col { width: 100%; }
.terms-mobile { display: block; }

@media (min-width: 1024px) {
  .olx-page { margin-top: 48px; }
  .olx-grid {
    display: flex;
    align-items: stretch;
    gap: 56px;
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 48px;
  }
  .olx-hero-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 480px;
    flex: 1 1 480px;
    min-width: 0;
  }
  .olx-card-col { width: 504px; flex: 0 0 504px; }
  .terms-mobile { display: none; }
}

.hero-top { display: block; }
#heroTitle {
  display: block;
  font-size: 40px;
  line-height: 1.32;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
#heroSub {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-terms .typo-caption {
  display: block;
  max-width: 380px;
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1.6;
  color: #3c4453;
}
.terms-mobile {
  padding: 16px 16px 32px;
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1.6;
  color: #3c4453;
}

/* ---------------------------------------------------------- card */
.olx-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}
@media (min-width: 1024px) {
  .olx-container { padding: 24px 32px; }
}
.card-head { display: block; padding: 16px 16px 0; }
.card-head span { font-size: 16px; line-height: 1.5; }
.card-head strong { font-weight: 700; }
@media (min-width: 1024px) {
  .card-head { display: none; }
}
.card-body { width: 100%; padding: 8px 16px 24px; }
@media (min-width: 1024px) {
  .card-body { padding: 16px 0 0; }
}

/* ---------------------------------------------------------- botões */
.olx-core-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.olx-core-button--primary {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 40px;
  background: var(--olx-purple);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .15s ease;
}
.olx-core-button--primary:hover:not(:disabled) { background: var(--olx-purple-dark); }
.olx-core-button--primary:disabled {
  background: var(--soft);
  color: #8994a9;
  cursor: not-allowed;
}
.w-full { width: 100%; }
.btn-block { margin-top: 16px; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.olx-core-button-social {
  flex: 1 1 0;
  max-width: 135px;
  min-height: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 40px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
}
.olx-core-button-social:hover { background: var(--soft); }
.olx-core-button-social__icon { display: inline-flex; }
.olx-core-button-social__label { white-space: nowrap; }

.line-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: #898989;
  font-family: var(--font-primary);
  font-size: 12px;
}
.line-sep::before,
.line-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.center-row {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 14px;
}
.center-row .typo-body-small { font-size: 14px; }
.mt-2 { margin-top: 16px; margin-bottom: 40px; }
.mt-3 { margin-top: 12px; }

.link-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--olx-purple);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }

/* ---------------------------------------------------------- passos */
.step { display: none; }
.step.active { display: block; }

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
}
.step-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.back-link {
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
}
.back-link:hover { background: #e9ecef; }

.step-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #3c4453;
}

/* ---------------------------------------------------------- campos */
.olx-text-input { display: block; }
.olx-form-control { margin-bottom: 4px; }
.olx-form-control__label {
  display: block;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.olx-text-input__input-container {
  display: block;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}
.olx-text-input__input-container:focus-within {
  box-shadow: 0 0 0 2px var(--olx-purple);
}
.olx-text-input__input-field {
  display: block;
  width: 100%;
  height: 46px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.olx-text-input__input-field::placeholder { color: #8994a9; }

.error {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecec;
  color: #b3261e;
  font-size: 13px;
  line-height: 1.45;
}
.error.show { display: block; }

.email-chip {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.email-chip:empty { display: none; }

/* ---------------------------------------------------------- sugestão de e-mail */
.mail-suggest {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 8px 0;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--ink);
}
.mail-suggest[hidden] { display: none; }
.mail-suggest-link { margin-left: 2px; }
.mail-suggest-link span { display: inline-flex; flex-direction: row; }
.mail-suggest-link b { font-weight: 700; }

/* ---------------------------------------------------------- métodos */
.hero-method { display: none; }
.hero-method-title {
  display: block;
  width: 91.6%;
  font-size: 40px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0;
}
.hero-method-title strong { font-weight: 700; }
.hero-ident {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  box-sizing: border-box;
  margin-top: 0;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.on-method #heroTitle,
.on-method #heroSub { display: none; }
.on-method .hero-method { display: block; }
.on-method .olx-container {
  border-radius: 0;
  padding: 0;
  border-width: 0;
  background: transparent;
  overflow: visible;
}
.on-method .card-head { display: none; }
.on-method .card-body { padding: 0 24px; }
@media (min-width: 1024px) { .on-method .card-body { padding: 0; } }

.method-mobile-head { display: block; margin-bottom: 16px; }
.method-mobile-head .hero-method-title { width: 100%; font-size: 28px; line-height: 1.3; }
@media (min-width: 1024px) {
  .method-mobile-head { display: none; }
}

.method-list { display: flex; flex-direction: column; gap: 8px; }
.method-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-primary);
}
.method-card:hover { background: var(--soft); }
.method-icon { flex: none; display: inline-flex; width: 48px; height: 48px; }
.method-icon svg { width: 48px; height: 48px; display: block; }
.method-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.method-title { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
.method-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--ink); overflow-wrap: break-word; }
.method-voltar { display: flex; justify-content: center; margin: 40px 0 0; }
.method-voltar .olx-core-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--olx-purple);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.method-voltar .olx-core-link:hover { text-decoration: underline; }

.login-ident { margin-bottom: 14px; }
.login-email-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------- ajuda */
.help-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .55);
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
}
.help-overlay[hidden] { display: none; }
body.help-open { overflow: hidden; }
.help-sheet {
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  height: 100%;
  padding: 16px 24px 24px;
  background: #fff;
  overflow-y: auto;
  animation: help-in .22s ease;
}
@keyframes help-in { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.help-top { display: flex; justify-content: flex-start; }
.help-close {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -8px;
  padding: 8px;
  color: #4a4a4a;
  cursor: pointer;
}
.help-title { display: block; margin: 12px 0 16px; font-size: 18px; font-weight: 600; color: var(--ink); }
.help-list { display: flex; flex-direction: column; gap: 8px; }
.help-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.help-item:hover { background: var(--soft); }
.help-item svg { flex: none; }
.help-answers { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.help-answer {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: #3c4453;
  font-family: var(--font-primary);
  font-size: 13px;
  line-height: 1.45;
}
.help-answer.open { display: block; }
.help-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 0;
  color: var(--muted);
  font-family: var(--font-primary);
  font-size: 12px;
}
.help-secure svg { flex: none; }

/* ---------------------------------------------------------- produto da venda */
.product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin: 16px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.product-photo {
  width: 128px;
  height: 128px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--soft);
  color: #8b93a1;
  overflow: hidden;
}
.product-photo.has-photo { background: #fff; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-photo img[hidden] { display: none; }
.product-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.product-info small { font-size: 11.5px; font-weight: 700; color: #1f7a43; }
.product-info b { font-size: 16px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.product-info span { font-size: 13px; color: var(--muted); }
.product-info span b { font-size: 15px; color: var(--ink); }

/* ---------------------------------------------------------- resumo da venda */
.sale-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
}
.sale-thumb {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e9ecef;
  color: #4c4c4c;
}
.sale-thumb.has-photo { background: #fff; overflow: hidden; }
.sale-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sale-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sale-info small { font-size: 11px; font-weight: 700; color: #1f7a43; }
.sale-info b { font-size: 14px; color: var(--ink); }
.sale-info span { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------- código */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input {
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  outline: none;
}
.otp input:focus { box-shadow: inset 0 0 0 2px var(--olx-purple); }
.otp input.filled { box-shadow: inset 0 0 0 1px #8994a9; }

/* ---------------------------------------------------------- nota fiscal */
.nf-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ffe1bf;
  border-radius: 8px;
  background: #fff3e6;
  color: #b35a00;
}
.nf-head div { display: flex; flex-direction: column; }
.nf-head b { font-size: 13px; }
.nf-head span { font-size: 11.5px; color: #b35a00; }
.field-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin-top: 16px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #3c4453;
}
.check input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--olx-purple); }

.secure-note {
  margin: 16px 0 4px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------------------------------- processando / fim */
.bar {
  position: relative;
  height: 6px;
  margin: 18px 0 8px;
  border-radius: 3px;
  background: #e6dcf7;
  overflow: hidden;
}
.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: 3px;
  background: var(--olx-purple);
  animation: slide 1.15s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

.done-box { text-align: center; padding: 4px 0; }
.check-wrap { display: flex; justify-content: center; margin-bottom: 10px; }
.check-wrap svg { width: 52px; height: 52px; }
.done-box .step-title { display: block; margin-bottom: 8px; }

.receipt {
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
}
.receipt > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.receipt span { color: var(--muted); }
.receipt code { font-size: 11px; word-break: break-all; text-align: right; color: #333; }
.receipt-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.olx-core-button--outline {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 40px;
  border: 1px solid var(--olx-purple);
  background: #fff;
  color: var(--olx-purple);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s ease;
}
.olx-core-button--outline:hover { background: var(--soft); }
.olx-core-button--done {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 40px;
  border: 1px solid #1f7a43;
  background: #fff;
  color: #1f7a43;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.olx-core-button--done:hover:not(:disabled) { background: #eaf5ee; }
.olx-core-button--done:disabled { opacity: .65; cursor: default; }

.progress { height: 4px; margin-top: 12px; border-radius: 2px; background: #eee; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--olx-purple); transition: width .25s linear; }

#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  max-width: 88vw;
  padding: 11px 16px;
  border-radius: 8px;
  background: #1a1d23;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: .22s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------- cookies (AdOpt) */
.adopt-root { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
#adopt-controller-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}
#adopt-controller-button svg { width: 60px; height: 60px; display: block; }
#cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: min(350px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 20px;
  border-radius: 20px;
  background: #3c4453;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  pointer-events: auto;
  z-index: 81;
}
#cookie-banner[hidden] { display: none; }
.adopt-c-doWKeN { display: block; }
.adopt-c-esqUtQ { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.adopt-c-dOeFjM { font-size: 13px; font-weight: 700; color: var(--olx-orange); margin: 0; }
.adopt-c-ifnJHA { font-size: 12px; color: #fff; text-decoration: underline; }
.adopt-x { margin-left: auto; padding: 0 0 0 12px; border: 0; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.adopt-c-fiFuDN,
.adopt-c-ixrywm { display: block; font-size: 12px; line-height: 1.55; color: #fff; }
.adopt-c-ixrywm { margin-top: 8px; }
.adopt-c-cBoPgq { display: block; margin: 12px 0 6px; font-size: 12px; }
.adopt-c-cQwybr { color: #fff; text-decoration: underline; }
#adopt-divisor { color: #fff; }
.adopt-c-fwazNp { display: block; margin-top: 8px; font-size: 11px; color: #cfd4dd; }
.adopt-c-fwazNp a { color: #cfd4dd; }
.adopt-c-hLzCaa { display: flex; gap: 10px; margin-top: 12px; }
.adopt-c-hLzCaa button {
  flex: 1;
  padding: 10px 0;
  border-radius: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
#adopt-preferences-button {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}
#adopt-accept-all-button {
  border: 0;
  background: var(--olx-orange);
  color: #3c4453;
  box-shadow: 0 10px 28px -12px var(--olx-orange);
}
#cookie-banner.closed { display: none; }

:focus-visible { outline: 2px solid var(--olx-purple); outline-offset: 2px; }
