:root {
  --red: #740000;
  --yellow: #ffd500;
  --bg: #ffffff;
  --text: #c8102e;
  --white: #ffffff;
  --green: #2e7d32;
  --brown: #740000;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --border: #e6e6e6;
  --text-strong: #111111;
}

* { box-sizing: border-box }

html, body { height: 100% }
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  line-height: 1.5;
}



.page { max-width: 1080px; margin: 0 auto; padding: 24px }
.checkout-page { padding-bottom: 90px }

.hero { display: grid; place-items: center; gap: 12px; padding-top: 10px; animation: fade-in 700ms ease both }

.site-header { display: grid; margin-bottom: 12px }
.banner-img { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover }

.highlight-card {
  width: 100%;
  max-width: 900px;
  padding: 18px 20px;
  border: 2px solid rgba(255,213,0,0.6);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,213,0,0.06), rgba(255,213,0,0.02));
  box-shadow: 0 10px 30px rgba(255,213,0,0.18), inset 0 0 18px rgba(255,213,0,0.16);
}

.highlight-card p { margin: 6px 0; line-height: 1.4 }
.bullet-list { margin: 8px 0 10px 0; padding-left: 18px }
.bullet-list li { margin: 4px 0 }
.title-strong { font-weight: 900; color: var(--text) }

.hero-image { width: min(560px, 80vw); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: float-in 600ms cubic-bezier(.2,.7,.2,1) both }

.cta {
  cursor: pointer;
  border: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background 160ms ease;
}

.cta-primary {
  background: linear-gradient(90deg, var(--red), #8a001a);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(200,16,46,0.35);
}

.cta-secondary {
  background: linear-gradient(90deg, var(--yellow), #e2c400);
  color: #1b1300;
  box-shadow: 0 8px 18px rgba(255,213,0,0.35);
}

.cta:hover { transform: scale(1.04); filter: brightness(1.05) }
.cta:active { transform: scale(0.98) }
.cta:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px }
.cta[disabled] { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none }

.intro { display: grid; place-items: center; gap: 14px; margin-top: 22px; animation: fade-in-up 500ms ease both }
.intro-card { text-align: center; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--yellow); background: rgba(255,213,0,0.06) }

.quiz { margin-top: 20px; display: grid; gap: 20px }
.step {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: none;
  animation: fade-in-up 300ms ease both;
}

.question {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 12px;
}
.question-image {
  display: block;
  margin: 8px auto 14px;
  width: 340px;
  max-width: 88vw;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.options { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px }
.options .option {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--neutral-50);
  color: var(--text-strong);
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease;
  cursor: pointer;
}
.options .option:disabled { opacity: .7; cursor: not-allowed }

.options .option:hover { background: var(--neutral-100); border-color: #dcdcdc }
.options .option:active { background: #eeeeee; border-color: #d5d5d5 }
.options .option:focus-visible { outline: 2px solid var(--red); outline-offset: 3px }
.options .option.wrong { background: #f6c7cd; border-color: var(--red); box-shadow: 0 0 0 2px rgba(200,16,46,0.18) inset; color: var(--text-strong) }
.options .option.correct { background: #cfe8d6; border-color: var(--green); box-shadow: 0 0 0 2px rgba(46,125,50,0.18) inset; color: var(--text-strong) }

.next { margin-top: 20px; display: block; margin-left: auto; margin-right: auto; min-width: 220px }

.result-card {
  max-width: 900px;
  margin: 22px auto;
  padding: 20px 22px;
  border-radius: 16px;
  border: 2px solid rgba(255,213,0,0.6);
  background: linear-gradient(180deg, rgba(255,213,0,0.08), rgba(255,213,0,0.03));
  box-shadow: 0 10px 30px rgba(255,213,0,0.18), inset 0 0 18px rgba(255,213,0,0.16);
  text-align: center;
}
.result-card .actions { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 14px; flex-wrap: wrap }
.result-card .actions .cta { min-width: 220px }

.video-player { width: 100%; max-width: 720px; border-radius: 12px; margin-top: 16px }
.video-box { display: grid; justify-items: center }
.video-player { box-shadow: 0 10px 24px rgba(0,0,0,0.12); border: 1px solid var(--border); background: #000 }
.video-actions { margin-top: 16px; display: grid; gap: 10px; justify-items: center }

@media (max-width: 640px) {
  .page { padding: 6px }
  .hero { min-height: 100vh; gap: 8px }
  .site-header { margin-bottom: 2px }
  .logo { font-size: 20px }
  .logo-img { width: min(190px, 58vw) }
  .highlight-card { padding: 10px 12px; border-radius: 10px; border-width: 1.5px }
  .highlight-card p { margin: 3px 0; font-size: 13px; line-height: 1.25 }
  .bullet-list { padding-left: 10px }
  .hero-image { width: min(300px, 62vw) }
  .cta { padding: 10px 14px; font-size: 14px }
  .quiz { min-height: 100vh }
  .question { font-size: 18px }
  .question-image { width: 260px }
  .options { grid-template-columns: 1fr; gap: 10px }
  .options .option { padding: 12px; font-size: 15px }
  .next { margin-top: 8px }
  .step { padding: 12px 12px; border-radius: 12px; border-width: 1.5px }
  .result-card .actions { gap: 10px; margin-top: 12px }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important }
}

@media (max-height: 720px) {
  .logo-img { width: min(190px, 58vw) }
  .hero-image { width: min(280px, 60vw) }
  .highlight-card { padding: 8px 10px }
  .question-image { width: 220px }
}

@keyframes fade-in { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: translateY(0) } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }
@keyframes float-in { from { opacity: 0; transform: translateY(10px) scale(.98) } to { opacity: 1; transform: translateY(0) scale(1) } }
.checkout-page .logo-img { width: min(200px, 50vw) }
.checkout { display: grid; gap: 24px }

.checkout-grid { display: grid; gap: 24px }
.flow { display: grid; gap: 20px }
.order-aside { display: grid; gap: 18px }

.section-title { display: flex; align-items: center; gap: 8px }
.title-icon { width: 24px; height: 24px; border-radius: 999px; background: var(--brown); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px }
.title-icon svg { width: 14px; height: 14px; fill: #fff }
.label-icon { font-size: 1em; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-right: 4px }
.sec-icon { width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--brown) }
.sec-icon svg { width: 14px; height: 14px; fill: #fff }
.sec-icon.user { background: var(--brown) }
.sec-icon.location { background: var(--brown) }
.sec-icon.truck { background: var(--brown) }
.sec-icon.card { background: var(--brown) }

.checkout-page { position: relative }
.checkout-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 20% 10%, rgba(255,255,255,0.8), transparent 40%),
    radial-gradient(2px 2px at 40% 30%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.8), transparent 40%),
    radial-gradient(2px 2px at 80% 15%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(2px 2px at 30% 80%, rgba(255,255,255,0.8), transparent 40%),
    radial-gradient(2px 2px at 70% 75%, rgba(255,255,255,0.7), transparent 40%);
  opacity: .5;
  animation: snow-move 10s linear infinite;
}

.xmas-banner { background: linear-gradient(90deg, #740000, #740000); color: #fff; border-radius: 10px; padding: 14px 16px; text-align: center }
.xmas-title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 18px }
.xmas-sub { opacity: .9; font-size: 14px }

.summary-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.product-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; margin-bottom: 12px }
.product-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--neutral-50) }
.product-info { display: grid; gap: 4px }
.product-title { font-weight: 700; color: var(--text-strong) }
.product-desc { color: #666; font-size: 14px }
.product-qty { color: #666; font-size: 14px }
.price-lines { display: grid; gap: 8px }
.price-lines .line { display: flex; justify-content: space-between; color: #333 }
.price-lines .total { font-weight: 800 }

.order-bump-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px }
.order-bump-left { display: grid; gap: 10px }
.order-bump-right { display: grid; gap: 10px; align-content: start }
.bump-title { font-weight: 700; color: var(--text-strong) }
.bump-sub { color: #666; font-size: 14px }
.shirt-options { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 10px }
.shirt-card { display: grid; gap: 8px; align-content: start; padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease }
.shirt-card:hover { border-color: #dcdcdc; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transform: translateY(-1px) }
.shirt-card.active { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(116,0,0,0.12) inset }
.shirt-img { width: 100%; height: 120px; object-fit: contain; border-radius: 10px; background: var(--neutral-50) }
.shirt-label { font-weight: 600; color: var(--text-strong); text-align: center }
.extra-title { font-weight: 700; color: var(--text-strong) }
.extra-sub { color: #666; font-size: 14px }
.extra-qty { display: inline-flex; align-items: center; gap: 10px }
.qty-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--neutral-50); font-weight: 800; cursor: pointer }
.qty-btn:hover { filter: brightness(1.03) }
.qty-val { min-width: 32px; text-align: center; font-weight: 800; color: var(--text-strong) }

.section { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); transition: box-shadow 160ms ease, transform 160ms ease }
.section-title { font-weight: 800; color: var(--text-strong); margin-bottom: 14px; font-size: 18px }
.fields { display: grid; grid-template-columns: repeat(2, minmax(320px, 1fr)); gap: 14px }
.field { display: grid; gap: 6px }
.field span { font-size: 14px; color: #444; font-weight: 600 }
.field input, .field select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--neutral-50); color: var(--text-strong); font-size: 16px; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; background: #fff; box-shadow: 0 0 0 3px rgba(200,16,46,0.12) }
.section:focus-within { box-shadow: 0 8px 22px rgba(0,0,0,0.08); transform: translateY(-1px) }
.field .error { color: var(--red); font-size: 12px }
.field .loader { width: 18px; height: 18px; border-radius: 999px; border: 2px solid #ddd; border-top-color: var(--red); animation: spin 800ms linear infinite }
.hidden { display: none }
.invalid { border-color: var(--red) !important; background: #fbe9ea !important }
.valid { border-color: var(--green) !important; background: #e7f3ea !important }

.shipping-options { display: grid; gap: 10px }
.radio-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease }
.radio-card .left { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px }
.radio-card .radio-indicator { grid-column: 1 }
.radio-card .label { grid-column: 2; line-height: 1.2 }
.radio-card .sub { grid-column: 2; margin-top: 2px; color: #666; font-size: 13px }
.radio-card .label { font-weight: 600; color: var(--text-strong) }
.radio-card .right { font-weight: 700; color: var(--text-strong) }
.radio-card .radio-indicator { width: 16px; height: 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff }
.radio-card .ship-logo { grid-column: 3; height: 18px; width: auto; max-width: 90px; object-fit: contain }
.radio-card:hover { border-color: #dcdcdc; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transform: translateY(-1px) }
.radio-card.active { border-color: var(--brown); background: #fff; box-shadow: 0 0 0 2px rgba(116,0,0,0.12) inset }
.radio-card.active .radio-indicator { border-color: var(--brown); background: var(--brown) }
.radio-card:focus-visible, .radio-card:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px }

.payment-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px }
.pay-method { font-weight: 600; color: var(--text-strong) }
.pay-status { color: #666; font-size: 14px }
.info-card { margin-top: 12px; background: var(--neutral-50); border: 1px solid var(--border); border-radius: 12px; padding: 14px; width: 100%; max-width: 720px }
.info-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px }
.info-card li { color: #555; margin: 0; font-weight: 600 }

.payment-section { display: grid; gap: 16px; justify-items: center; text-align: center }
.pix-card { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04) }
.pix-card.active { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(116,0,0,0.12) inset }
.pix-left { display: grid; place-items: center }
.pix-badge { width: 40px; height: 40px; border-radius: 999px; background: var(--neutral-50); display: inline-flex; align-items: center; justify-content: center }
.pix-badge svg { width: 18px; height: 18px; fill: var(--brown) }
.pix-content { display: grid; gap: 2px }
.pix-title { font-weight: 700; color: var(--text-strong) }
.pix-sub { color: #666; font-size: 13px }
.pix-right .check-dot { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff }
.pix-card.active .check-dot { border-color: var(--brown); background: var(--brown) }
.cta-brown { background: linear-gradient(90deg, #740000, #740000); color: #fff; box-shadow: 0 8px 18px rgba(116,0,0,0.28) }
.cta-brown:hover { filter: brightness(1.05); transform: translateY(-1px) }

.pay-methods { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 720px }
.pay-option { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease }
.pay-option:hover { border-color: #dcdcdc; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transform: translateY(-1px) }
.pay-option.active { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(116,0,0,0.12) inset }
.pay-option:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px }
.option-left { display: grid; place-items: center }
.option-icon { width: 36px; height: 36px; border-radius: 999px; background: var(--brown); color: #fff; display: inline-flex; align-items: center; justify-content: center }
.option-icon svg { width: 20px; height: 20px; fill: currentColor }
.option-icon.pix { background: var(--brown) }
.option-icon.card { background: var(--brown) }
.option-text { display: grid; gap: 2px }
.option-title { font-weight: 800; color: var(--text-strong); font-size: 18px }
.option-sub { color: #666; font-size: 14px }
.option-check { display: none }
.pay-option.active .option-check { display: none }

.card-form { display: grid; gap: 12px }
#confirm-btn { width: 100%; max-width: 560px; padding: 14px 22px; font-size: 16px }
.pay-actions { display: grid; gap: 8px; width: 100%; max-width: 720px }
.pay-actions .terms { font-size: 13px; color: #666; text-align: center; margin-top: 4px }

.cta-primary { transition: filter 160ms ease, transform 160ms ease }
.cta-primary:hover { filter: brightness(1.05); transform: translateY(-1px) }

@media (max-width: 1023px) {
  .pay-methods { grid-template-columns: 1fr }
}

.notice-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #161616; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px }
.notice-text { font-size: 13px; color: #eaeaea }
.countdown { font-weight: 800; font-size: 18px }

@media (max-width: 768px) {
  .fields { grid-template-columns: 1fr }
  .flow { grid-template-columns: 1fr }
  .section { padding: 16px }
  #confirm-btn { max-width: none }
}

@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr }
  #confirm-btn { max-width: none }
  .info-card ul { grid-template-columns: 1fr }
  .checkout-page { padding-bottom: calc(110px + env(safe-area-inset-bottom)) }
  .reviews-section { margin-bottom: 8px }
  .page { padding-top: 0 }
  .site-header { margin: 0 }
  .banner-img { width: 100vw; max-width: 100vw; border-radius: 0; display: block; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw) }
  .xmas-banner { width: 100vw; max-width: 100vw; border-radius: 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 16px }
  .order-bump-grid { grid-template-columns: 1fr }
}

@media (min-width: 1024px) {
  .flow { grid-template-columns: 1.2fr 0.8fr }
  .summary-card { grid-column: 1 }
  .section, .payment-section, .reviews-section { grid-column: 2 }
  .order-aside { position: sticky; top: 16px }
}

@keyframes spin { to { transform: rotate(360deg) } }
@keyframes snow-move { 0% { transform: translateY(0) } 100% { transform: translateY(20px) } }
.section.reveal { animation: fade-in-up 300ms ease both }
.reviews-section { display: grid; gap: 14px }
.reviews-grid { display: grid; gap: 14px }
.reviews-list { display: grid; grid-template-columns: 1fr; gap: 12px }
.rating-head { display: flex; align-items: center; gap: 10px }
.star-row { display: flex; gap: 4px }
.star-char { color: var(--brown); font-size: 18px; line-height: 1 }
.star-char.muted { color: #d9c5ba }
.rating-score { font-weight: 800; color: var(--text-strong) }
.rating-count { color: #666; font-weight: 600 }
.rating-bars { display: grid; gap: 8px }
.bar-row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px }
.bar { width: 100%; height: 10px; background: var(--neutral-50); border: 1px solid var(--border); border-radius: 999px; overflow: hidden }
.bar span { display: block; height: 100%; background: var(--brown) }
.label { color: #555; font-weight: 600 }
.percent { color: #555; font-weight: 700 }
.review-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: 0 6px 14px rgba(0,0,0,0.06) }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--brown); object-fit: cover }
.content { display: grid; gap: 2px }
.header { display: flex; align-items: center; justify-content: space-between }
.name { font-weight: 700; color: var(--text-strong) }
.star-inline { color: var(--yellow); font-weight: 800 }
.title { font-weight: 600; color: var(--text-strong) }
.text { color: #555 }
.reviews-link { display: inline-block; margin-top: 6px; color: var(--red); font-weight: 700; text-decoration: none }
.reviews-link:hover { text-decoration: underline }

.reviews-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch }
.reviews-carousel::-webkit-scrollbar { display: none }
.review-card { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 16px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); scroll-snap-align: center }

@media (min-width: 1024px) {
  .reviews-list { grid-template-columns: repeat(2, minmax(280px, 1fr)) }
}

.pix-info { margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); display: grid; gap: 12px; justify-items: center; text-align: center }
.pix-title { font-weight: 700; color: var(--text-strong); text-align: center }
.pix-grid { display: grid; grid-template-columns: auto auto; gap: 16px; justify-content: center; align-items: start }
.qr-box { display: grid; gap: 8px; align-content: start; justify-items: center }
.qr-label { font-weight: 600; color: var(--text-strong) }
#pix-qr { width: 220px; height: 220px; border: 1px solid var(--border); border-radius: 12px; background: var(--neutral-50); object-fit: contain; display: block; margin: 0 auto }
.pix-right { display: grid; gap: 10px; align-content: start; align-items: center; justify-items: center; text-align: center }
.pix-amount { font-weight: 700; color: var(--text-strong); text-align: center }
.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; background: var(--neutral-50); border: 1px solid var(--border); border-radius: 10px; padding: 10px; word-break: break-all; max-width: 720px }
.pix-howto { display: grid; gap: 10px; max-width: 760px }
.howto-title { font-weight: 700; color: var(--text-strong) }
.howto-steps { display: grid; gap: 8px }
.howto-step { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; text-align: left }
.step-num { width: 28px; height: 28px; border-radius: 999px; background: var(--brown); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center }
.step-text { color: var(--text-strong) }

@media (max-width: 640px) {
  .pix-grid { grid-template-columns: 1fr; justify-items: center }
  #pix-qr { width: 180px; height: 180px }
}

.loading-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: grid; place-items: center; z-index: 9999 }
.loading-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); display: grid; gap: 10px; max-width: 560px; width: calc(100% - 32px); text-align: center }
.loading-title { font-weight: 700; color: var(--text-strong) }
.loading-sub { color: #555 }
.loading-alert { color: var(--red); font-weight: 700 }
.loading-bar { width: 100%; height: 12px; background: var(--neutral-50); border: 1px solid var(--border); border-radius: 999px; overflow: hidden }
.loading-bar span { display: block; height: 100%; background: var(--brown); width: 0% }
.loading-percent { font-weight: 700; color: var(--text-strong) }
.alert-img { width: 180px; height: auto; border-radius: 12px; display: block; margin: 6px auto 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08) }