.bp-order-app {
  --bp-orange: #c8431f;
  --bp-orange-dark: #a8371a;
  --bp-ink: #2b2b2b;
  --bp-muted: #5e5e5e;
  --bp-border: #dedede;
  --bp-soft: #fcf1ed;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 24px 64px;
  color: var(--bp-ink);
  position: relative;
  isolation: isolate;
  background: transparent;
  font-family: "Fira Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.bp-order-app::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f2f2f2;
}

.bp-pedido-page { flex-grow: 1; }
.bp-pedido-content { width: 100%; }

.bp-order-app *,
.bp-order-app *::before,
.bp-order-app *::after {
  box-sizing: border-box;
}

.bp-order-app a { color: var(--bp-orange); }
.bp-order-app a:hover { color: var(--bp-orange-dark); }
.bp-order-app h1,
.bp-order-app h2,
.bp-order-app h3,
.bp-order-app p { margin: 0; }

.bp-order-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 0 28px;
}

.bp-order-intro h1 {
  color: var(--bp-orange);
  font-family: "Fira Sans", system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.bp-order-intro p {
  max-width: 700px;
  color: var(--bp-muted);
  font-size: 16px;
}

.bp-order-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.bp-order-main {
  display: flex;
  flex: 1 1 650px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.bp-order-summary {
  flex: 0 1 360px;
  min-width: 280px;
  position: sticky;
  top: 120px;
}

.bp-section,
.bp-summary-card,
.bp-order-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 10px;
}

.bp-section-heading,
.bp-subheading,
.bp-address-heading,
.bp-summary-row,
.bp-success-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.bp-section-heading h2,
.bp-subheading h3,
.bp-summary-card h2,
.bp-order-success h2 {
  font-weight: 700;
}

.bp-section-heading h2 { font-size: 20px; }
.bp-subheading h3 { font-size: 15px; }
.bp-section-heading > span,
.bp-subheading > span { color: var(--bp-muted); font-size: 13px; }

.bp-choice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border: 1.5px solid var(--bp-border);
  border-radius: 10px;
  background: #fff;
}

.bp-choice:hover,
.bp-choice:has(input:focus-visible) { border-color: var(--bp-orange); }
.bp-choice.is-selected { border-color: var(--bp-orange); background: var(--bp-soft); }
.bp-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.bp-choice-mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid var(--bp-orange);
  border-radius: 50%;
  background: #fff;
}

.bp-choice-bpp .bp-choice-mark { color: var(--bp-orange); }
.bp-choice-software.is-selected .bp-choice-mark { background: var(--bp-orange); box-shadow: inset 0 0 0 5px #fff; }
.bp-choice-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.bp-choice-copy > strong { font-size: 16px; }
.bp-choice-copy > span { align-self: flex-start; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-choice-copy em { color: var(--bp-muted); font-size: 13px; font-style: normal; font-weight: 500; }
.bp-choice-copy small { color: var(--bp-muted); font-size: 14px; line-height: 1.5; }
.bp-software-list { display: flex; flex-direction: column; gap: 10px; }

.bp-fields-row,
.bp-fields-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.bp-fields-grid { gap: 16px 14px; }
.bp-field { display: flex; flex: 1 1 200px; flex-direction: column; gap: 6px; min-width: 0; }
.bp-field-wide { flex-basis: 280px; }
.bp-fields-grid .bp-field:first-child { flex-basis: 100%; }
.bp-field > span { color: #3d3d3d; font-size: 13px; font-weight: 600; }
.bp-field > span b { color: var(--bp-orange); }
.bp-order-form .bp-field input,
.bp-order-form .bp-field select,
.bp-order-form .bp-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--bp-ink);
  font: inherit;
  font-size: 15px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
}
.bp-order-form .bp-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--bp-orange) 50%), linear-gradient(135deg, var(--bp-orange) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bp-order-form .bp-field select:invalid { color: #777; }
.bp-order-form .bp-field select option { color: var(--bp-ink); }
.bp-field textarea { line-height: 1.5; resize: vertical; }
.bp-order-form .bp-field input:focus,
.bp-order-form .bp-field select:focus,
.bp-order-form .bp-field textarea:focus { outline: 0; border-color: var(--bp-orange); box-shadow: 0 0 0 3px #f5d8ce; }
.bp-order-form .bp-field.has-error input,
.bp-order-form .bp-field.has-error select,
.bp-order-form .bp-field.has-error textarea { border-color: #b3261e; }
.bp-error { min-height: 1px; color: #b3261e; font-size: 13px; }
.bp-help,
.bp-summary-note { color: var(--bp-muted); font-size: 14px; }

.bp-address-heading { margin-top: 4px; }
.bp-address-heading strong { font-size: 15px; }
.bp-payment-box { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--bp-border); border-radius: 10px; }
.bp-payment-data { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.bp-payment-data span { display: flex; flex-direction: column; gap: 4px; }
.bp-payment-data small { color: var(--bp-muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bp-payment-data strong { font-size: 15px; }

.bp-summary-card { gap: 16px; }
.bp-summary-card h2 { font-size: 17px; }
.bp-summary-lines { display: flex; flex-direction: column; gap: 8px; }
.bp-summary-line { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid #ebebeb; }
.bp-summary-line > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bp-summary-line small { color: var(--bp-orange); font-size: 13px; }
.bp-summary-empty { color: var(--bp-muted); font-size: 14px; }
.bp-summary-row { font-size: 14px; }
.bp-summary-row strong { font-variant-numeric: tabular-nums; }
.bp-summary-iva { color: var(--bp-muted); }
.bp-summary-total { padding-top: 14px; border-top: 1.5px solid var(--bp-ink); font-size: 17px; }

.bp-acceptance { display: flex; align-items: flex-start; gap: 9px; color: var(--bp-muted); font-size: 13px; line-height: 1.45; }
.bp-acceptance input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--bp-orange); }
.bp-submit,
.bp-secondary { min-height: 44px; padding: 0 18px; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; border: 0; border-radius: 6px; background: var(--bp-orange); }
.bp-submit:hover { background: var(--bp-orange-dark); }
.bp-submit:disabled { cursor: wait; opacity: .65; }
.bp-secondary { color: var(--bp-ink); font-size: 13px; border: 1px solid #cfcfcf; background: #fff; }
.bp-secondary:hover { background: #f2f2f2; }
.bp-small { min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--bp-orange); }
.bp-submit-message { min-height: 1px; color: #b3261e; font-size: 13px; }
.bp-submit-message.is-success { color: #23633d; }
.bp-submit-message.is-processing { color: var(--bp-muted); font-weight: 600; }

.bp-order-success { margin: 10px 0 24px; }
.bp-success-heading { display: flex; align-items: center; gap: 14px; }
.bp-success-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; font-size: 24px; font-weight: 700; border-radius: 50%; background: #2f7d4f; }
.bp-success-kicker { display: block; margin-bottom: 4px; color: #2f7d4f; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bp-order-success h2 { font-size: 30px; line-height: 1.15; }
.bp-order-success p { color: var(--bp-muted); font-size: 16px; }
.bp-success-lead { margin-left: 56px !important; }
.bp-success-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp-success-details > div { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border: 1px solid var(--bp-border); border-radius: 8px; background: #fafafa; }
.bp-success-details span { color: var(--bp-muted); font-size: 12px; }
.bp-success-details strong { color: var(--bp-ink); font-size: 17px; }
.bp-success-next { padding: 18px 20px; border-left: 3px solid var(--bp-orange); border-radius: 0 8px 8px 0; background: var(--bp-soft); }
.bp-success-next h3 { margin: 0 0 10px; font-size: 16px; }
.bp-success-next ol { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; padding-left: 20px; color: var(--bp-muted); font-size: 14px; }
.bp-success-next p { font-size: 14px; }
.bp-success-warning { padding: 12px 14px; color: #8d3a22 !important; font-size: 13px !important; border: 1px solid #edc5b7; border-radius: 6px; background: #fff5f1; }
.bp-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .bp-order-layout { flex-direction: column; }
  .bp-order-main,
  .bp-order-summary { flex-basis: auto; width: 100%; }
  .bp-order-summary { position: static; }
}

@media (max-width: 560px) {
  .bp-order-app { padding: 20px 10px 44px; }
  .bp-section,
  .bp-summary-card,
  .bp-order-success { padding: 18px 16px; }
  .bp-section-heading,
  .bp-subheading,
  .bp-address-heading { align-items: flex-start; flex-direction: column; }
  .bp-success-heading { align-items: flex-start; }
  .bp-order-success h2 { font-size: 24px; }
  .bp-success-lead { margin-left: 0 !important; }
  .bp-success-details { grid-template-columns: 1fr; }
  .bp-field { flex-basis: 100%; }
  .bp-payment-data { flex-direction: column; gap: 12px; }
}
