/* Buy Now / order form on the beta site. Visual only — the form posts
   to the live Mercado Direto cart handler, with the same field names. */

.bn {
  --ink: #1A1A1A;
  --muted: #5E5E5E;
  --red: #A7001F;
  --red-dark: #880019;
  --green: #108F34;
  --line: #E8E6E3;
  --paper: #F4F4F4;
  --white: #FFFFFF;
  --wrap: 1120px;
}

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

.bn-hero {
  background:
    radial-gradient(1200px 280px at 50% -40px, rgba(16, 143, 52, 0.08), transparent 70%),
    var(--white);
  padding: 48px 40px 12px;
  text-align: center;
}

.bn-hero-inner,
.bn-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

.bn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.bn-hero h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
}

.bn-hero .lead {
  margin: 0 auto;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

.bn-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px auto 0;
  max-width: 640px;
}

.bn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.bn-pill b {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
}

.bn-pill.is-on {
  border-color: rgba(16, 143, 52, 0.35);
  background: #f3faf5;
  color: var(--ink);
}

.bn-section {
  padding: 28px 40px 12px;
}

.bn-section h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.bn-section .intro {
  margin: 0 0 24px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  max-width: 44em;
}

.bn-weights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bn-weight {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 100%;
  text-align: left;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 50px -28px rgba(15, 23, 42, 0.4);
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.bn-weight:hover {
  border-color: #d0cdc8;
}

.bn-weight:focus-visible {
  outline: 3px solid rgba(16, 143, 52, 0.35);
  outline-offset: 3px;
}

.bn-weight.is-on {
  border-color: rgba(16, 143, 52, 0.45);
  box-shadow: 0 22px 50px -26px rgba(16, 143, 52, 0.4);
  background: linear-gradient(#fff, #f7fbf8);
}

.bn-weight-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.bn-weight h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.bn-weight p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}

.bn-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.bn-weight .bn-go {
  margin-top: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bn-weight.is-on .bn-go {
  background: var(--green);
}

.bn-form-wrap {
  padding: 12px 40px 72px;
}

.bn-form-card {
  max-width: var(--wrap);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 50px -28px rgba(15, 23, 42, 0.4);
  padding: 32px 32px 28px;
}

.bn-form-card.is-wait {
  opacity: 0.55;
  filter: grayscale(0.15);
}

.bn-form-card.is-wait .bn-fields {
  pointer-events: none;
}

.bn-form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

.bn-form-head h2 { margin: 0; }

.bn-chosen {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}

.bn-form-card .intro { margin-bottom: 20px; }

.bn-alert {
  display: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fdecee;
  color: #6b0014;
  font-size: 14.5px;
  line-height: 1.45;
}

.bn-alert.is-on { display: block; }

.bn-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.bn-field {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.bn-field:last-of-type { border-bottom: 0; margin-bottom: 8px; padding-bottom: 8px; }

.bn-stepno {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 6px;
}

.bn-field label,
.bn-field .bn-lab {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.bn-opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

.bn-hint {
  margin: 0 0 8px;
  color: #333;
  font-size: 14.5px;
  line-height: 1.5;
}

.bn-ex {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bn-ex b { color: var(--ink); font-weight: 600; }
.bn-ex .warn { color: var(--red); font-weight: 600; }

.bn-field input[type="text"],
.bn-field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid #d8d5d0;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
}

.bn-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.bn-field input[type="text"]:focus,
.bn-field textarea:focus {
  border-color: #c9ced8;
  box-shadow: 0 0 0 4px rgba(16, 143, 52, 0.08);
  background: #fff;
}

.bn-field input.is-bad,
.bn-field textarea.is-bad {
  border-color: #e3b3bc;
  background: #fff8f8;
}

.bn-price {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.bn-price .cur {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bn-field .bn-price input[type="text"] {
  width: 150px;
  max-width: 150px;
  flex: 0 0 150px;
  text-align: right;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bn-field .bn-price input[name="FeatureValue5"] {
  width: 70px;
  max-width: 70px;
  flex: 0 0 70px;
  text-align: center;
}

.bn-price .dot {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 700;
}

.bn-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bn-qty-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  min-height: 52px;
  flex: 0 0 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #d8d5d0;
  border-radius: 12px;
  background: #fafafa;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.bn-qty-btn:hover { background: #fff; }

.bn-qty-btn:focus {
  outline: none;
  border-color: #c9ced8;
  box-shadow: 0 0 0 4px rgba(16, 143, 52, 0.08);
}

.bn-field .bn-qty input[type="text"] {
  width: 100px;
  max-width: 100px;
  flex: 0 0 100px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bn-note {
  margin: 0 0 18px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.bn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bn-submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 240px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(167, 0, 31, 0.7);
}

.bn-submit:hover,
.bn-submit:focus,
.bn-submit:focus-visible {
  background: var(--red-dark);
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.bn-submit:disabled {
  background: #b9b6b1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}

.bn-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.bn-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.bn-trust svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex: none;
}

.bn-live {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.bn-live a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#formulario, #peso {
  scroll-margin-top: calc(var(--header-h, 84px) + var(--testbar-h, 36px) + 12px);
}

@media (max-width: 1000px) {
  .bn-weights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bn-weights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-hero h1 { font-size: 34px; }
}

@media (max-width: 800px) {
  .bn-hero, .bn-section, .bn-form-wrap { padding-left: 20px; padding-right: 20px; }
  .bn-hero { padding-top: 32px; }
  .bn-hero h1 { font-size: 28px; }
  .bn-hero .lead { font-size: 16px; }
  .bn-section h2, .bn-form-head h2 { font-size: 24px; }
  .bn-weights { grid-template-columns: 1fr; gap: 12px; }
  .bn-form-card { padding: 22px 18px 20px; border-radius: 18px; }
  .bn-field input[type="text"],
  .bn-field textarea { font-size: 16px; }
  .bn-field .bn-price input[type="text"] { width: 140px; max-width: 140px; flex-basis: 140px; font-size: 20px; }
  .bn-field .bn-price input[name="FeatureValue5"] { width: 64px; max-width: 64px; flex-basis: 64px; }
  .bn-field .bn-qty input[type="text"] { width: 96px; max-width: 96px; flex-basis: 96px; font-size: 18px; }
  .bn-qty-btn { width: 42px; flex-basis: 42px; min-height: 48px; }
  .bn-submit { width: 100%; font-size: 16px; }
  .bn-form-wrap { padding-bottom: 110px; }
}
