.accounts-review-bar .pilot-tools {
  color: inherit;
  text-decoration: underline;
  font-size: 12px;
  white-space: nowrap;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 500px) 1fr;
  gap: 64px;
  max-width: 1050px;
  margin: 30px auto;
}
.auth-panel {
  max-width: 530px;
  width: 100%;
}
.auth-panel h2 {
  margin: 0 0 25px;
}
.auth-panel form {
  display: grid;
  gap: 20px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink, #253d34);
}
.account-field input,
.account-field select,
.pilot-example select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd5cc;
  border-radius: 8px;
  background: #fff;
  color: #263e34;
  font: inherit;
  min-width: 0;
  box-sizing: border-box;
}
.account-field input:focus,
.account-field select:focus {
  outline: 2px solid #557f68;
  outline-offset: 2px;
}
.account-field input[aria-invalid='true'] {
  border-color: #a74336;
}
.field-error {
  color: #a74336;
  font-weight: 450;
}
.field-error:empty {
  display: none;
}
.form-error {
  color: #8c332c;
  background: #f8eeeb;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
}
.form-error[hidden] {
  display: none;
}
.auth-aside {
  padding: 30px 20px;
  align-self: center;
}
.auth-aside h2,
.registration-aside h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
  line-height: 1.2;
}
.auth-aside p,
.registration-aside p,
.registration-aside li {
  color: #647066;
  line-height: 1.7;
}
.auth-aside .button {
  margin: 12px 0;
}
.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) 270px;
  gap: 38px;
  align-items: start;
}
.registration-form {
  padding: 30px;
}
.registration-form fieldset {
  padding: 0;
  margin: 32px 0;
  border: 0;
}
.registration-form legend {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 20px;
}
.account-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.company-profile-form fieldset + fieldset {
  margin-top: 32px;
}
.account-review-notice {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.account-review-notice p {
  margin: 6px 0 0;
}
.account-review-link {
  margin-bottom: 12px;
}
.registration-form > .button {
  margin: 24px 20px 0 0;
}
.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.checkbox-line input {
  width: 17px;
  height: 17px;
}
.pilot-example {
  background: #f7f2e3;
  border: 1px solid #e6dcc0;
  border-radius: 10px;
  padding: 18px;
}
.pilot-example label {
  font-size: 13px;
  font-weight: 600;
}
.pilot-example select {
  margin-top: 9px;
}
.pilot-example p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 0;
  color: #786c52;
}
.registration-aside {
  padding: 20px 0;
  position: sticky;
  top: 130px;
}
.registration-aside ol {
  padding-left: 20px;
}
.recovery-panel {
  margin: 30px auto;
}
.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 28px;
}
.onboarding-step {
  display: flex;
  gap: 16px;
  border-top: 1px solid #e3e7df;
  padding: 24px 0;
}
.onboarding-step:last-child {
  padding-bottom: 0;
}
.onboarding-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.onboarding-step p {
  font-size: 14px;
  color: #637366;
  margin: 0 0 14px;
  line-height: 1.6;
}
.step-state {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f1eee4;
  color: #8f815b;
}
.step-state svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.onboarding-step.complete .step-state {
  background: #e7efe5;
  color: #41644c;
}
.onboarding-step > div {
  flex: 1;
  min-width: 0;
}
.phone-code-row {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.phone-code-row .account-field {
  max-width: 220px;
}
.phone-code-row .button {
  height: 46px;
}
.account-summary {
  margin-bottom: 24px;
}
.account-summary p {
  line-height: 1.7;
  color: #677467;
}
.account-summary h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.account-pieces {
  font-size: 32px;
}
.account-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin: 0;
}
.account-data div {
  border-bottom: 1px solid #e0e6de;
  padding-bottom: 16px;
}
.account-data dt {
  font-size: 12px;
  color: #778377;
}
.account-data dd {
  margin: 6px 0 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
button[disabled] {
  cursor: wait;
  opacity: 0.65;
}
input,
select {
  max-width: 100%;
}
@media (max-width: 900px) {
  .auth-layout {
    gap: 25px;
  }
  .registration-layout {
    grid-template-columns: 1fr;
  }
  .registration-aside {
    position: static;
    max-width: 700px;
  }
  .onboarding-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .auth-layout {
    grid-template-columns: 1fr;
    margin: 15px 0;
  }
  .auth-aside {
    padding: 0;
  }
  .account-fields {
    grid-template-columns: 1fr;
  }
  .registration-form {
    padding: 20px;
  }
  .account-data {
    grid-template-columns: 1fr;
  }
  .accounts-review-bar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .accounts-review-bar #review-description {
    font-size: 12px;
  }
  .accounts-review-bar .pilot-tools {
    font-size: 12px;
  }
  .phone-code-row {
    flex-wrap: wrap;
  }
  .onboarding-step {
    gap: 10px;
  }
  .registration-form > .button {
    width: 100%;
    margin-right: 0;
  }
  .auth-panel {
    max-width: none;
  }
  .registration-aside h2,
  .auth-aside h2 {
    font-size: 24px;
  }
}

/* Jornada comercial: total único, ofertas e confirmação de teste. */
.price-login {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #466354;
  text-decoration: none;
}
.price-login svg {
  width: 15px;
  height: 15px;
}
.product-price del,
.detail-price del {
  font-size: 0.8em;
  font-weight: 400;
  color: #7c8580;
  margin-right: 4px;
}
.coupon-form {
  margin: 22px 0;
}
.coupon-form > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.coupon-input {
  display: flex;
  gap: 8px;
}
.coupon-input input {
  min-width: 0;
  width: 100%;
  border: 1px solid #dce2dc;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.coupon-input .button {
  padding: 10px 12px;
  min-width: auto;
}
.savings,
.coupon-saving {
  color: #356550;
}
.coupon-saving {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}
.checkout-errors {
  padding-left: 18px;
  color: #895840;
  font-size: 13px;
  line-height: 1.7;
}
.checkout-review h2 {
  margin-top: 28px;
}
.checkout-review h2:first-child {
  margin-top: 0;
}
.checkout-review .summary-line small {
  display: block;
  font-size: 12px;
  color: #66796b;
  margin-top: 4px;
}
.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.order-summary-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-summary-card h2,
.order-summary-card p {
  margin: 0;
}
.order-summary-card > strong {
  font-size: 24px;
}
.order-test-label {
  display: inline-block;
  color: #56724e;
  background: #f0f4e8;
  font-size: 12px;
  letter-spacing: 0.07em;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 5px;
}
.order-confirmation {
  --order-credit-attention: #806039;
  max-width: none;
}
.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  margin: 28px 0 0;
  align-items: start;
}
.order-products,
.order-payment-column {
  min-width: 0;
}
.order-products > h3 {
  margin: 0 0 20px;
}
.order-payment-column {
  display: grid;
  gap: 16px;
}
.order-payment-column .payment-panel {
  margin: 0;
}
.order-info-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbf8;
}
.order-info-card h3 {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.4;
}
.order-totals .summary-line {
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
}
.order-totals .summary-line strong {
  flex-shrink: 0;
}
.order-totals .summary-line small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.order-totals .summary-total {
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-top: 16px;
}
.order-totals .summary-total strong {
  margin-left: auto;
  font-size: 22px;
}
.order-delivery {
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.order-delivery-mode {
  display: grid;
  gap: 3px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.order-delivery-mode span,
.order-delivery-address > span {
  color: var(--muted);
  font-size: 12px;
}
.order-delivery address {
  margin-top: 6px;
  font-style: normal;
}
.order-tools {
  display: grid;
  gap: 12px;
}
.order-tools > .button {
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}
.order-more-actions {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.order-more-actions > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.order-more-actions > summary::-webkit-details-marker {
  display: none;
}
.order-more-actions > summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.order-more-actions[open] > summary::after {
  content: '−';
}
.order-more-actions-list {
  padding: 0 16px 6px;
}
.order-more-actions-list > * {
  border-top: 1px solid var(--line);
}
.order-more-actions-list > [data-order-repeat-slot]:empty {
  display: none;
}
.order-more-actions .order-utility-action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 12px 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.order-more-actions [data-order-repeat-slot] > .order-utility-action {
  border-top: 0;
}
.order-more-actions .order-utility-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.order-more-actions > summary:focus-visible,
.order-more-actions .order-utility-action:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.order-simulation-note {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.order-payment-column .pix-instructions {
  grid-template-columns: minmax(0, 1fr);
}
.order-payment-column .pix-instructions img {
  justify-self: center;
}
/* Payment changes follow the same two-column review pattern as checkout. */
.payment-change-link {
  display: inline-flex;
  margin: 4px 0 24px;
  font-size: 13px;
}
.payment-flow {
  max-width: 1120px;
  margin: auto;
}
.payment-flow-back {
  display: inline-block;
  margin-bottom: 24px;
}
.payment-flow-heading {
  margin-bottom: 28px;
}
.payment-flow-heading h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 10px 0;
  outline: none;
}
.payment-flow-heading p {
  color: var(--muted);
  line-height: 1.7;
}
.payment-flow-steps {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.payment-flow-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.payment-flow-steps span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
}
.payment-flow-steps [aria-current] {
  color: var(--accent);
  font-weight: 700;
}
.payment-flow-steps [aria-current] span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.payment-flow-steps .is-complete span {
  background: #edf3eb;
  color: var(--accent);
}
.payment-flow-layout {
  align-items: start;
}
.payment-flow-main,
.payment-flow-summary {
  min-width: 0;
}
.payment-flow-main {
  padding: 32px;
}
.payment-flow-main h2,
.payment-flow-summary h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.payment-methods {
  border: 0;
  padding: 0;
  margin: 0;
}
.payment-methods legend {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.payment-method-option:has(input:checked) {
  background: #f1f6ef;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.payment-method-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.payment-method-option input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.payment-method-option strong,
.payment-method-option small {
  display: block;
}
.payment-method-option strong {
  font-size: 15px;
}
.payment-method-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 4px;
}
.payment-installments {
  margin-top: 22px;
}
.payment-coupon {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.payment-coupon small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.payment-flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.payment-flow-actions .button {
  min-height: 48px;
}
.payment-flow-main .checkbox-line {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  margin: 24px 0;
}
.payment-flow-main .checkbox-line input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: var(--accent);
}
.payment-flow-main .checkbox-line .text-link {
  font-size: inherit;
}
.payment-selected {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  padding: 22px;
  border-radius: 10px;
  background: #f1f6ef;
}
.payment-selected span {
  font-size: 14px;
}
.payment-selected .text-link {
  margin-top: 6px;
  font-size: 13px;
}
.payment-coupon-applied {
  color: var(--accent);
  font-size: 14px;
  margin-top: 18px;
}
.payment-replacement-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0;
}
.payment-order-preserved {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 24px;
}
.payment-order-items {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.payment-order-items summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.payment-order-items .order-matrix {
  margin-top: 22px;
}
.payment-flow [hidden] {
  display: none;
}
.payment-flow [data-payment-progress]:empty {
  display: none;
}
.payment-flow [data-payment-progress] {
  font-size: 13px;
  margin-top: 18px;
  color: var(--muted);
}
.payment-flow-empty p {
  margin: 20px 0;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .payment-flow-main {
    padding: 22px;
  }
  .payment-flow-steps {
    gap: 16px;
  }
  .payment-flow-steps li {
    gap: 6px;
    font-size: 12px;
  }
  .payment-flow-steps span {
    width: 26px;
    height: 26px;
  }
  .payment-method-option {
    padding: 16px;
    gap: 12px;
  }
  .payment-flow-actions {
    flex-wrap: wrap-reverse;
  }
  .payment-flow-actions .button {
    width: 100%;
  }
}
.order-payment-column [hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .order-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  .order-detail-layout {
    display: block;
  }
  .order-payment-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }
  .order-info-card {
    break-inside: avoid;
  }
  .order-payment-column .payment-panel,
  .order-priority-payment,
  .order-tools {
    display: none !important;
  }
}
.account-field input:disabled {
  color: #67766c;
  background: #f3f4ef;
}
.summary .checkbox-line {
  font-size: 13px;
  line-height: 1.6;
}
.registration-form > .text-link {
  margin: 15px;
}
#lookup-cnpj {
  margin-top: 15px;
}
#installment-field[hidden] {
  display: none;
}
.cart-products {
  align-self: start;
}
.cart-item > div:last-child {
  text-align: right;
}
.cart-item .remove-item {
  display: block;
  margin-left: auto;
}
@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 56px 1fr;
  }
  .cart-item > div:last-child {
    grid-column: 2;
    text-align: left;
  }
  .cart-item .remove-item {
    margin-left: 0;
  }
  .cart-item img {
    width: 56px;
    height: 76px;
  }
  .summary .button {
    width: 100%;
  }
  .coupon-input .button {
    width: auto;
  }
}

button.text-link {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
button.text-link:hover {
  text-decoration: underline;
}
.cart-products .cart-item:last-child {
  border-bottom: 0;
}

.variant-price del {
  font-size: 12px;
  display: block;
  color: #778579;
}
.price-login {
  line-height: 1.5;
}

.fulfillment-picker {
  background: #f7f8f4;
  border: 1px solid #dce2d9;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 24px;
}
.fulfillment-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.fulfillment-intro p,
.fulfillment-help {
  font-size: 12px;
  color: #627060;
  margin: 0;
}
.fulfillment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fulfillment-choice {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  border: 1px solid #d1d9cd;
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
  color: #233b2b;
  cursor: pointer;
  min-height: 84px;
  font: inherit;
}
.fulfillment-choice[aria-pressed='true'] {
  border-color: #587553;
  background: #edf3e8;
  box-shadow: inset 0 0 0 1px #587553;
}
.fulfillment-choice strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}
.fulfillment-choice small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #54624f;
}
.fulfillment-radio {
  width: 17px;
  height: 17px;
  flex: none;
  border: 1px solid #95a38b;
  border-radius: 50%;
  background: #fff;
}
.fulfillment-choice[aria-pressed='true'] .fulfillment-radio {
  border: 5px solid #587553;
}
.fulfillment-choice:focus-visible {
  outline: 3px solid #263f2d;
  outline-offset: 3px;
}
.fulfillment-choice:disabled {
  opacity: 0.6;
  cursor: wait;
}
.fulfillment-help {
  margin-top: 10px;
}
.detail-info .fulfillment-picker {
  padding: 16px;
  margin-top: 24px;
}
.detail-info .fulfillment-intro {
  display: block;
}
.detail-info .fulfillment-intro p {
  margin-top: 6px;
}
.detail-info .fulfillment-choice {
  padding: 12px;
  gap: 8px;
}
.detail-info .fulfillment-choice strong {
  font-size: 14px;
}
.detail-info .fulfillment-choice small {
  font-size: 12px;
}
.fulfillment-promise {
  padding: 14px 18px;
  background: #f1f5ed;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .fulfillment-picker {
    padding: 15px;
  }
  .fulfillment-intro {
    display: block;
  }
  .fulfillment-intro p {
    margin-top: 5px;
  }
  .fulfillment-options {
    gap: 8px;
  }
  .fulfillment-choice {
    padding: 12px 9px;
    align-items: flex-start;
    gap: 8px;
  }
  .fulfillment-choice strong {
    font-size: 14px;
  }
  .fulfillment-choice small {
    font-size: 12px;
  }
  .fulfillment-radio {
    width: 15px;
    height: 15px;
    margin-top: 2px;
  }
  .fulfillment-help {
    font-size: 12px;
  }
}

.order-progress {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding: 26px 0;
  margin: 20px 0;
  border-top: 1px solid #e2e9e1;
  border-bottom: 1px solid #e2e9e1;
  gap: 16px;
}
.order-progress li {
  position: relative;
  min-width: 0;
  color: #8a948d;
  font-size: 13px;
  line-height: 1.5;
}
.order-progress li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 24px;
  right: -4px;
  height: 1px;
  background: var(--line);
}
.order-progress small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
}
.progress-dot {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #c9d5cb;
  border-radius: 50%;
  margin-bottom: 12px;
}
.order-progress .is-done {
  color: #456c50;
}
.order-progress .is-done .progress-dot {
  background: #527b59;
  border-color: #527b59;
}
.order-progress .is-current {
  color: #385b44;
}
.order-progress .is-current .progress-dot {
  box-shadow: 0 0 0 4px #e4ece1;
  border-color: #698160;
}
.order-progress .is-attention {
  color: #89642f;
}
.order-progress .is-attention .progress-dot {
  border-color: #bf9858;
  background: #fbefdb;
}
.order-progress .is-declined {
  color: var(--order-credit-attention);
}
.order-progress .is-declined .progress-dot {
  position: relative;
  border-color: #b18b57;
  background: #fbf3e6;
}
.order-progress .is-declined .progress-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 1px;
  width: 6px;
  height: 2px;
  background: #806039;
}
.order-progress .is-closed {
  color: var(--muted);
}
.order-progress .is-closed .progress-dot {
  border-color: #748078;
  background: #e8ece8;
}
.order-credit-recovery .trade-credit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  gap: 28px;
}
.trade-credit-content > h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.trade-credit-denied .trade-credit-content > h3 {
  color: var(--order-credit-attention);
}
.trade-credit-content > p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.trade-credit-content .trade-credit-condition {
  color: var(--muted);
  font-size: 12px;
}
.trade-credit-condition span {
  margin-right: 4px;
}
.trade-credit-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.trade-credit-content + .trade-credit-actions {
  margin-top: 18px;
}
.order-credit-recovery .trade-credit-actions {
  margin-top: 0;
}
.trade-credit-actions .payment-deadline,
.trade-credit-unavailable {
  margin: 0;
  font-size: 12px;
}
.trade-credit-actions .button {
  min-height: 44px;
}
.trade-credit-actions .text-link {
  min-height: 36px;
  font-size: 12px;
}
.trade-credit-unavailable {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .order-progress {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .order-progress li {
    display: flex;
    gap: 15px;
  }
  .order-progress li:not(:last-child)::after {
    top: 23px;
    left: 5px;
    right: auto;
    bottom: -14px;
    width: 1px;
    height: auto;
  }
  .progress-dot {
    flex-shrink: 0;
    margin: 5px 0 0;
  }
  .order-credit-recovery .trade-credit-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media print {
  body > *:not(main):not(#app) {
    box-shadow: none;
  }
  header,
  footer,
  .site-header,
  .site-footer,
  .mobile-nav,
  .account-nav,
  .order-tools,
  .order-confirmation > a,
  .toast,
  .skip-link {
    display: none !important;
  }
  main {
    margin: 0 !important;
    padding: 0 !important;
  }
  .order-confirmation {
    border: 0 !important;
    box-shadow: none !important;
  }
  .order-progress {
    break-inside: avoid;
  }
  .summary-line {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  body {
    background: white !important;
    color: #17251d !important;
  }
}

.cart-more {
  margin-top: 16px;
}

.payment-panel {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #cfddcf;
  border-radius: 12px;
  background: #f4f7f0;
}
.payment-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.payment-heading h3 {
  margin: 8px 0 14px;
  font-size: 22px;
  line-height: 1.3;
}
.payment-panel p {
  line-height: 1.65;
}
.payment-panel.needs-attention {
  background: #fbf6ed;
  border-color: #e5d5b9;
}
.pix-instructions {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 18px 0;
}
.pix-instructions img {
  background: #fff;
  border-radius: 8px;
}
.payment-panel .account-field textarea {
  font: 14px/1.5 monospace;
  width: 100%;
  resize: vertical;
  min-height: 70px;
  padding: 10px;
  border: 1px solid #d4ded0;
  border-radius: 6px;
  box-sizing: border-box;
}
.payment-panel > .account-field {
  margin-top: 16px;
}
.payment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.payment-actions [role='status'] {
  font-size: 13px;
  color: #56705e;
}
@media (max-width: 600px) {
  .payment-panel {
    padding: 18px;
  }
  .payment-heading {
    flex-direction: column;
    gap: 0;
  }
  .pix-instructions {
    grid-template-columns: minmax(0, 1fr);
  }
  .pix-instructions img {
    justify-self: center;
  }
  .payment-actions {
    align-items: start;
    flex-direction: column;
  }
}
@media print {
  .payment-panel {
    display: none !important;
  }
}

.checkout-card {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.checkout-card legend {
  font-weight: 600;
  margin-bottom: 12px;
}
.checkout-card-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 10px;
}
.checkout-card input {
  min-width: 0;
  width: 100%;
}

.legal-agreement {
  margin: 20px 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.legal-agreement .checkbox-line {
  margin-top: 0;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 12px;
}
.legal-links .text-link {
  text-align: left;
  font-size: 12px;
}
.legal-document {
  max-width: 68ch;
}
.legal-dialog {
  padding: 0;
  max-height: calc(100dvh - 32px);
}
.legal-dialog[open] {
  display: flex;
  flex-direction: column;
}
.legal-dialog #dialog-content {
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.legal-dialog > form {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: white;
}
.legal-dialog > form .button {
  width: 100%;
}
.legal-document h3 {
  margin: 24px 0 10px;
  font-size: 16px;
}
.legal-document p {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  text-align: justify;
  hyphens: auto;
}
.legal-document .legal-edition {
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.registration-privacy-intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.registration-privacy-intro .text-link {
  display: inline;
  padding: 0;
  font-size: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.registration-privacy .checkbox-line {
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.65;
}
.registration-privacy .checkbox-line input {
  flex: 0 0 auto;
  margin-top: 4px;
}
.registration-privacy .subtle-line {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  line-height: 1.65;
}
.footer-legal {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.footer-legal p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
}
.legal-record {
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.payment-return {
  max-width: 640px;
  margin: 10vh auto;
  padding: 24px;
}
.payment-return h1 {
  margin: 20px 0;
}
.payment-return p {
  margin-bottom: 24px;
}

/* Seletor compacto continua explícito, com as duas promessas lado a lado. */
.fulfillment-picker.fulfillment-compact {
  padding: 14px 16px;
  margin-bottom: 18px;
}
.fulfillment-compact .fulfillment-intro {
  margin-bottom: 10px;
}
.fulfillment-compact .fulfillment-scope,
.fulfillment-compact .fulfillment-help {
  display: none;
}
.fulfillment-compact .fulfillment-choice {
  min-height: 66px;
  padding: 11px 14px;
}
.fulfillment-compact .fulfillment-choice strong {
  font-size: 14px;
  margin-bottom: 3px;
}
.fulfillment-compact .fulfillment-choice small {
  font-size: 12px;
  line-height: 1.5;
}
.detail-info .fulfillment-picker.fulfillment-compact {
  margin-top: 0;
}
@media (max-width: 760px) {
  .fulfillment-picker.fulfillment-compact {
    padding: 11px 12px;
    margin-bottom: 12px;
  }
  .fulfillment-compact .fulfillment-intro {
    margin-bottom: 8px;
  }
  .fulfillment-compact .fulfillment-choice {
    padding: 10px 8px;
    gap: 7px;
    min-height: 74px;
  }
  .fulfillment-compact .fulfillment-choice strong {
    font-size: 13px;
  }
  .fulfillment-compact .fulfillment-choice small {
    font-size: 12px;
  }
  .fulfillment-compact .fulfillment-radio {
    width: 14px;
    height: 14px;
  }
  .fulfillment-intro .eyebrow {
    font-size: 12px;
  }
  .fulfillment-help,
  .fulfillment-scope {
    font-size: 12px;
  }
  .accounts-review-bar #review-description,
  .accounts-review-bar .pilot-tools {
    font-size: 12px;
  }
  .account-data dt {
    color: #647066;
  }
  .cart-unit-price {
    font-size: 12px !important;
  }
  .order-test-label {
    font-size: 12px;
  }
  .summary p,
  .summary .subtle-line {
    font-size: 12px;
  }
  .summary select {
    width: 100%;
    max-width: 100%;
  }
}

/* Cadastro progressivo: mantém todos os campos e a validação final do servidor. */
.registration-layout {
  grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
  gap: 48px;
  max-width: 1160px;
}
.registration-progress {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.registration-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.registration-progress li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef0e9;
  flex-shrink: 0;
}
.registration-progress li[aria-current='step'] {
  color: var(--accent);
  font-weight: 750;
}
.registration-progress li[aria-current='step'] > span,
.registration-progress li.complete > span {
  background: var(--accent);
  color: white;
}
.registration-form fieldset {
  margin: 0;
  min-width: 0;
}
.registration-form legend {
  font-size: 23px;
  letter-spacing: -0.4px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.registration-form legend:focus {
  outline: none;
}
.registration-form .account-fields {
  margin-top: 20px;
}
.registration-hint,
.registry-feedback,
.registration-company-id {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 10px 0 20px;
}
.registry-feedback:empty {
  display: none;
}
.cnpj-lookup-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-top: 24px;
}
.cnpj-lookup-row .account-field {
  flex: 1;
  min-width: 0;
}
.cnpj-lookup-row #lookup-cnpj {
  margin: 0;
  min-height: 47px;
  white-space: nowrap;
  font-size: 13px;
}
.registration-form .text-link {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.registration-section-title {
  font-size: 16px;
  margin: 28px 0 0;
}
.registration-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}
.registration-actions .button {
  min-height: 46px;
  font-size: 13px;
}
.registration-login {
  margin: 16px 0 0 !important;
}
.registration-form .pilot-example {
  padding: 0;
  border: 0;
  background: transparent;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.pilot-example > summary {
  padding: 18px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
}
.pilot-example > label {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.pilot-example p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.registration-aside {
  top: 32px;
  padding-top: 8px;
}
.registration-aside p,
.registration-aside li {
  font-size: 14px;
}
.registration-aside .photo-caption {
  font-size: 12px;
}
.registration-form .checkbox-line {
  margin-top: 24px;
  line-height: 1.65;
  font-size: 13px;
  align-items: flex-start;
}
.registration-form input[type='checkbox'] {
  min-width: 20px;
  min-height: 20px;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .registration-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .registration-aside {
    position: static;
    padding: 0;
  }
  .registration-aside ol {
    display: none;
  }
}
@media (max-width: 600px) {
  .registration-progress {
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }
  .registration-progress li {
    font-size: 12px;
    gap: 6px;
  }
  .registration-progress li > span {
    width: 24px;
    height: 24px;
  }
  .registration-form {
    padding: 20px 18px;
  }
  .registration-form legend {
    font-size: 21px;
  }
  .cnpj-lookup-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cnpj-lookup-row #lookup-cnpj {
    width: 100%;
  }
  .registration-actions {
    flex-wrap: wrap;
    gap: 12px;
  }
  .registration-actions .button {
    flex: 1;
  }
  .registration-actions [type='submit'] {
    flex-basis: 100%;
    order: -1;
  }
  .registration-aside h2 {
    font-size: 22px;
  }
  .registration-hint,
  .registry-feedback,
  .registration-company-id {
    font-size: 13px;
  }
  .registration-aside p {
    font-size: 13px;
  }
}

.fulfillment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 6px;
  margin: 0 0 16px !important;
  font-size: 12px !important;
  color: var(--ink) !important;
}
.fulfillment-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.fulfillment-summary strong {
  color: var(--accent);
}
.fulfillment-summary .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.fulfillment-summary-copy > span {
  line-height: 1.6;
}
@media (max-width: 480px) {
  .fulfillment-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .fulfillment-summary .text-link {
    margin: 0;
    min-height: 32px;
  }
}

.commercial-card-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  max-width: 760px;
}
.commercial-card-fields {
  border: 1px solid var(--line, #deded8);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.commercial-card-fields legend {
  padding: 0 8px;
  font-weight: 600;
}
.commercial-card-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.commercial-card-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.commercial-card-notice {
  font-size: 13px;
  line-height: 1.6;
}
.commercial-card-notice summary {
  cursor: pointer;
}
.commercial-card-progress {
  margin: 24px 0;
  padding: 24px;
  border-radius: 12px;
  background: var(--cream, #f6f5f0);
}
@media (max-width: 600px) {
  .commercial-card-fields {
    padding: 14px;
  }
  .commercial-card-form .account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .payment-flow.is-review .payment-flow-summary {
    order: -1;
  }
}

.payment-quote-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.payment-quote-status:empty {
  display: none;
}
.payment-flow-summary [data-quote-retry] {
  margin-top: 10px;
  font-size: 13px;
}
.payment-flow-summary [data-payment-total] {
  white-space: nowrap;
}

.email-confirmation {
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.email-confirmation > .text-link {
  display: block;
  margin-top: 1.5rem;
}
.email-confirmation .email-address {
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.email-confirmation form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.email-confirmation .email-correction {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.email-confirmation summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0;
}
[data-email-password]:not([hidden]) {
  max-width: 28rem;
  margin-top: 1rem;
}
@media (max-width: 560px) {
  .email-confirmation .button {
    width: 100%;
  }
}

/* The next action after checkout is paying; product details follow it. */
.order-priority-payment .payment-panel {
  margin: 0 0 24px;
}
.order-page-heading {
  margin-bottom: 20px;
}
.order-page-heading h1 {
  margin-top: 12px;
}
.order-tracking-details {
  margin: 18px 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.order-tracking-details > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.order-tracking-details .order-progress {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.payment-panel {
  scroll-margin-top: 20px;
}
.payment-panel:focus {
  outline: none;
}
.payment-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.payment-order-amount {
  display: grid;
  gap: 4px;
  flex-shrink: 0;
  text-align: right;
}
.payment-order-amount span {
  color: var(--muted);
  font-size: 12px;
}
.payment-order-amount strong {
  font-size: clamp(23px, 4vw, 29px);
  letter-spacing: -0.5px;
}
.cash-payment-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.6fr);
  gap: 32px;
  margin: 18px 0;
}
.cash-payment-controls {
  min-width: 0;
}
.payment-instruction {
  margin: 0 0 16px;
  font-size: 14px;
}
.payment-main-action {
  min-height: 48px;
  justify-content: center;
}
.payment-code-details {
  margin: 14px 0;
}
.payment-code-details summary {
  font-size: 13px;
  cursor: pointer;
}
.payment-code-details .account-field {
  margin: 14px 0;
}
.payment-deadline,
.payment-beneficiary,
.payment-simulation-note {
  color: var(--muted);
  font-size: 12px;
}
.payment-simulation-note {
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
}
.payment-qr {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.payment-qr img {
  padding: 10px;
  box-sizing: content-box;
}
.payment-qr figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  max-width: 220px;
}
.boleto-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.boleto-digitable-line {
  margin: 18px 0 12px;
}
.boleto-digitable-line textarea {
  overflow-wrap: anywhere;
}
.boleto-payment-help {
  font-size: 13px;
  align-self: start;
  padding: 18px;
  border-left: 1px solid #d5e0d1;
}
.boleto-payment-help p {
  margin-bottom: 0;
}
.payment-panel .payment-actions {
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 16px;
  border-top: 1px solid #d5e0d1;
}
.payment-actions .payment-change-link {
  margin: 0;
}
@media (max-width: 700px) {
  .order-awaiting-payment {
    padding: 16px;
  }
  .cash-payment-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .payment-order-amount {
    text-align: left;
    margin: 4px 0 10px;
  }
  .payment-heading {
    flex-direction: column;
    gap: 0;
  }
  .payment-heading h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .cash-payment-controls .button {
    width: 100%;
  }
  .payment-qr {
    padding-top: 8px;
  }
  .boleto-payment-help {
    border-left: 0;
    border-top: 1px solid #d5e0d1;
    padding: 16px 0 0;
  }
}
@media print {
  .order-page-heading .text-link,
  .order-tracking-details:not([open]) {
    display: none;
  }
}

/* Trade credit shares the order and checkout surfaces. */
.purchase-trade-condition {
  min-width: 0;
  max-width: 30rem;
  margin: 0 0 1.5rem;
  gap: 0.5rem;
}
.trade-credit-panel .button {
  white-space: normal;
  text-align: center;
}

.purchase-trade-condition select {
  display: block;
  appearance: none;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #263e34 50%),
    linear-gradient(135deg, #263e34 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
