:root {
  --ink: #12181a;
  --muted: #5c7276;
  --line: #d7e6e6;
  --paper: #f3f7f7;
  --teal: #178f96;
  --teal-deep: #0e6e76;
  --cream: #e7f4f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body {
  font-family: Montserrat, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
}
button, input { font-family: inherit; }
a { color: inherit; }

.co-head {
  position: relative;
  height: 96px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid #e6f0f0;
  overflow: hidden;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 68px; width: auto; max-width: 260px; object-fit: contain; }
.checkout-preview { margin: 16px auto; max-width: 1120px; padding: 12px 16px; border: 1px solid #c59d34; border-radius: 8px; background: #fff6d9; color: #6b5015; font-size: 14px; text-align: center; }
.secure {
  position: absolute;
  right: max(24px, calc((100% - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 12px;
}

.pixbar[hidden] { display: none !important; }
.pixbar {
  background: var(--teal-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 20px 18px;
}
.pixbar p { margin: 0; font-size: 13px; font-weight: 500; }
.pixbar strong { font-weight: 700; }
.pixbar .pixbar__time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pixbar__time svg { width: 16px; height: 16px; }

.co {
  width: min(1120px, 100%);
  margin: 28px auto 56px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}
.col, .col-1, .col-2, .box, .box form, .row, .card-number, .card-number__wrap {
  min-width: 0;
}
.col-1 { display: flex; flex-direction: column; gap: 16px; }

.box {
  background: #fff;
  border: 1px solid #e4eeee;
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 28px rgba(16, 40, 44, 0.05);
  overflow: visible;
}
.box.is-locked {
  background: #f7fafa;
  border-color: #e8f0f0;
  box-shadow: none;
  color: #9aadaf;
}
.box.is-done {
  box-shadow: none;
  padding-bottom: 18px;
}
.box h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.box h2 span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.box.is-locked h2 { color: #9aadaf; }
.box.is-locked h2 span { background: #d5e0e0; }
.box.is-done h2 span { font-size: 0; }
.box.is-done h2 span::after { content: "✓"; font-size: 13px; }
.box__lead {
  margin: -4px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}
.box__wait { margin: 0; font-size: 13px; font-weight: 500; }
.box__summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.box__done {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: #2c4447;
  line-height: 1.45;
}
.box__edit {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -8px -10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.box__edit:hover,
.box__edit:focus-visible {
  background: #eef6f6;
  outline: none;
}
.box.is-locked .box__summary { display: none; }

.box form { display: grid; gap: 14px; }
[hidden] { display: none !important; }
.box form[hidden], .box__done[hidden], .box__summary[hidden], .box .paid[hidden], .coupon__msg[hidden] { display: none; }
.box.is-locked form { display: none; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.row--city { grid-template-columns: minmax(0, 1fr) 88px; }
.box label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: #3c5558; }
.card-number__wrap {
  position: relative;
  display: block;
}
.card-number__wrap input { padding-right: 52px; }
.card-number__wrap img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: auto;
  display: block;
  pointer-events: none;
}
.box input[type="text"],
.box input[type="email"],
.box input:not([type]) {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  outline: none;
}
.box input::placeholder { color: #93a8ab; font-weight: 500; }
.box input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 143, 150, 0.16);
}
.phone {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.phone:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 143, 150, 0.16);
}
.phone i {
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: #f7fbfb;
  border-right: 1px solid var(--line);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #3c5558;
}
.phone input { border: 0; height: 46px; box-shadow: none; }
.box label.check {
  font-weight: 500;
  font-size: 13px;
  color: #3c5558;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.check input { width: 16px; height: 16px; accent-color: var(--teal); }
.pix-note {
  margin: 0;
  background: var(--cream);
  color: var(--teal-deep);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
}

.go {
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 143, 150, 0.28);
}
.go:hover { background: var(--teal-deep); }
.go:focus-visible, .coupon button:focus-visible, .items:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.resume h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}
.resume .coupon {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.resume .coupon input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.resume .coupon button {
  height: 44px;
  min-width: 52px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.resume .coupon button:hover { background: var(--teal-deep); }
.resume dl { margin: 18px 0 8px; }
.resume dl div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 500;
}
.resume dl div[hidden] { display: none !important; }
.resume dl dt { color: var(--muted); }
.resume dl dd { margin: 0; font-weight: 600; }
.resume .total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #e7f1f1;
  font-size: 16px;
}
.resume .total dt, .resume .total dd { color: var(--ink); font-weight: 700; }
.resume .ship dt { color: #1a7a32; }
.resume .ship dd { color: #1a7a32; font-weight: 800; }
.items {
  background: none;
  border: 0;
  padding: 8px 0 0;
  color: var(--teal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #f7fbfb;
}
.item img { width: 64px; height: 64px; object-fit: contain; }
.item p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
.coupon__msg { color: var(--teal-deep); font-size: 13px; font-weight: 600; margin: 8px 0 0; }

.quotes { display: grid; gap: 10px; margin-top: 16px; }
.quotes article {
  background: #fff;
  border: 1px solid #e4eeee;
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 8px 20px rgba(16, 40, 44, 0.04);
}
.quotes strong { display: block; font-size: 13px; }
.quotes span { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--teal); }
.quotes p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.pay {
  display: flex !important;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
}
.pay:has(input:checked) {
  border-color: var(--teal);
  background: #f4fbfb;
  box-shadow: inset 0 0 0 1px var(--teal);
}
.pay input { accent-color: var(--teal); width: 16px; height: 16px; }
.pay span { display: grid; gap: 2px; }
.pay b { font-size: 14px; }
.pay small { color: var(--muted); font-size: 12px; font-weight: 500; }
.card-form { display: grid; gap: 12px; min-width: 0; overflow: visible; }
.card-form[hidden] { display: none; }
.pay-terms {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
.pay-terms strong { color: var(--ink); font-weight: 700; }
.pay-terms a { color: var(--teal-deep); font-weight: 700; }
.pick { position: relative; min-width: 0; display: grid; gap: 6px; z-index: 6; overflow: visible; }
.pick__caption { font-size: 12px; font-weight: 600; color: #3c5558; }
.pick__btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 40px 0 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c7276' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  text-align: left;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pick__btn:focus,
.pick.is-open .pick__btn {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 143, 150, 0.16);
}
.pick__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(16, 40, 44, 0.12);
  padding: 6px;
}
.pick__opt {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.pick__opt:hover,
.pick__opt[aria-selected="true"] {
  background: var(--cream);
}
.paid { margin: 4px 0 0; font-weight: 600; color: var(--teal-deep); font-size: 14px; }
.pay-error { margin: 8px 0 0; color: #9d2c2c; font-size: 14px; font-weight: 600; }
.pix-box { display: none; }
.pix-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  font-size: 13px;
}

.co-foot {
  text-align: center;
  color: #7d9194;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 20px 36px;
}
.co-foot a { color: var(--teal-deep); text-decoration: none; }
.co-foot p { margin: 4px 0; }
.co-legal { margin-top: 0; }
.co-pay { margin: 0 0 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.co-pay__flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
}
.co-pay__flags img { height: 28px; width: auto; display: block; }

.result {
  width: min(560px, calc(100% - 32px));
  margin: 32px auto 56px;
}
.result-card h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.result-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.result-kicker.ok { color: var(--teal-deep); }
.result-kicker.err { color: #9d2c2c; }
.result-lead { margin: 0 0 20px; color: var(--muted); font-size: 14px; font-weight: 500; }
.result-meta { margin: 0 0 22px; }
.result-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #e7f1f1;
  font-size: 14px;
}
.result-meta dt { color: var(--muted); font-weight: 500; }
.result-meta dd { margin: 0; font-weight: 600; text-align: right; }
.qr-wrap {
  display: grid;
  place-items: center;
  background: #f7fbfb;
  border: 1px solid #e4eeee;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}
.qr-wrap img { width: 220px; height: 220px; }
.pix-code { display: grid; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 600; color: #3c5558; }
.pix-code textarea {
  width: 100%;
  border: 1.5px dashed #9bb3b6;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  color: #3c5558;
  background: #f7fbfb;
  resize: none;
  word-break: break-all;
}
.go--pix-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  margin: 14px auto 0;
}
.copied { margin: 10px 0 0; color: var(--teal-deep); font-weight: 700; font-size: 14px; text-align: center; }
.pix-ship {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: #f7fbfb;
  border: 1px solid #e4eeee;
  border-radius: 12px;
}
.pix-ship h2 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pix-ship p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: pre-line;
}
.co-pix-deadline {
  width: min(440px, 100%);
  margin: 0 auto 40px;
  padding: 14px 16px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  background: #e7f4f4;
  border-radius: 12px;
}
.result-lead--mob { display: none; }
.result-status { margin: 18px 0 0; font-weight: 600; color: var(--teal-deep); }
.result-actions { display: grid; gap: 10px; }
.go.link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.go--ghost {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid var(--line);
  box-shadow: none;
}
.go--ghost:hover { background: var(--cream); }

@media (max-width: 980px) {
  .co-head { height: 112px; }
  .brand img { height: 92px; }
  .co { grid-template-columns: 1fr; width: 100%; max-width: 440px; padding: 0 16px; }
  .col-1 { order: 1; }
  .col-2 { order: 2; }
  .col-3 { order: 3; }
  #step-pay { scroll-margin-top: 12px; }
  #step-ship { scroll-margin-top: 12px; }
  .pixbar { padding-left: 16px; padding-right: 16px; }
  .pixbar .pixbar__time { font-size: 15px; }
  .secure { display: none; }
  .result-card h1 { font-size: 24px; }
  .qr-wrap { display: none !important; }
  .result-lead--desk { display: none; }
  .result-lead--mob { display: block; }
}

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.go:disabled { cursor: wait; opacity: .6; box-shadow: none; }
[data-quote-retry] { color: var(--teal-deep); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.item__contents { display: block; margin-top: 4px; color: #526467; font-size: 11px; }
