@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #fdf6ff;
  color: #3a2a50;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.header {
  background-color: #ffffff;
  border-bottom: 2px solid #fce4f0;
  box-shadow: 0 2px 12px rgba(232, 93, 138, 0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.header-safe {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  border: 1px solid #e0d0f0;
  border-radius: 20px;
  padding: 5px 12px;
}

.header-safe svg {
  width: 14px;
  height: 14px;
  stroke: #ef94a3;
  fill: none;
}

/* ===== STEPS BAR ===== */
.steps-bar {
  background: #ffffff;
  border-bottom: 1px solid #f5e8ff;
  padding: 0 24px;
}

.steps-list {
  display: flex;
  align-items: center;
  padding: 14px 0;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  list-style: none;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #ede8f8;
  z-index: 0;
}

.step-item:first-child::before {
  display: none;
}

.step-item.active::before {
  background: #ef94a3;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ede8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.2s, box-shadow 0.2s;
}

.step-icon svg {
  width: 18px;
  height: 18px;
  stroke: #b0a0c8;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-item.active .step-icon {
  background: #ef94a3;
  box-shadow: 0 4px 14px rgba(239, 148, 163, 0.4);
}

.step-item.active .step-icon svg {
  stroke: #ffffff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: #c9a0d8;
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #ef94a3;
  font-weight: 800;
}

/* ===== MAIN LAYOUT ===== */
.main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px 40px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

/* CARRINHO — ocupa largura total, fica no topo */
.cart-top {
  width: 100%;
}

/* STEPS — empilhados abaixo do carrinho */
.steps-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* ===== CARD ===== */
.card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #f5e8ff;
  box-shadow: 0 4px 20px rgba(232, 93, 138, 0.06);
  overflow: hidden;
}

.card.disabled {
  opacity: 0.7;
}

.card-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #fdf0ff;
}

.card-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #77c4db;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-badge {
  background: #ef94a3;
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(239, 148, 163, 0.35);
}

.step-badge.inactive {
  background: #ede8f8;
  color: #b0a0c8;
  box-shadow: none;
}

.card-body {
  padding: 16px 20px 20px;
}

/* COLLAPSED CARD */
.card-collapsed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.card-collapsed h2 {
  font-size: 18px;
  font-weight: 800;
  color: #c9a0d8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FORM ===== */
.field {
  margin-bottom: 14px;
}

.field:last-of-type {
  margin-bottom: 0;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #ef94a3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.input-wrap {
  position: relative;
}

.input-wrap input,
.input-wrap select {
  width: 100%;
  background: #fdf8ff;
  border: 1.5px solid #edd8ff;
  border-radius: 12px;
  color: #3a2a50;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  padding: 12px 40px 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}

.input-wrap input::placeholder {
  color: #c8b8d8;
  opacity: 0.8;
}

.input-wrap input:focus {
  border-color: #e85d8a;
  background: #fff5f9;
  box-shadow: 0 0 0 3px rgba(232, 93, 138, 0.12);
}

.input-valid {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  display: none;
  align-items: center;
}

.input-valid svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-wrap.valid .input-valid {
  display: flex;
}

.input-wrap.valid input {
  padding-right: 40px;
}

/* PHONE FIELD */
.phone-wrap {
  position: relative;
}

.phone-flag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  z-index: 2;
  pointer-events: none;
}

.phone-flag span:first-child {
  font-size: 16px;
}

.phone-wrap input {
  padding-left: 72px !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #73c1db 0%, #90d4eb 100%);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 22px rgba(115, 193, 219, 0.38);
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 16px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(115, 193, 219, 0.48);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-secondary {
  background: linear-gradient(135deg, #73c1db 0%, #90d4eb 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(115, 193, 219, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(115, 193, 219, 0.45);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== CART ===== */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #fdf0ff;
}

.cart-header-info strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #ef94a3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.cart-header-info p {
  font-size: 11px;
  color: #b0a0c8;
  margin-top: 2px;
}

.cart-header-icon svg {
  width: 18px;
  height: 18px;
  stroke: #b0a0c8;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* PRODUCT IN CART */
.product-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #fdf0ff;
}

.product-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid #f0e0ff;
  background: #fdf8ff;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  color: #3a2a50;
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #3a2a50;
  margin-bottom: 8px;
}

/* QUANTITY COUNTER */
.qty-counter {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #edd8ff;
  border-radius: 8px;
  overflow: hidden;
  height: 28px;
}

.qty-counter button {
  background: #74c1db;
  border: none;
  color: #ffffff;
  width: 26px;
  height: 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}

.qty-counter button:hover:not(:disabled) {
  background: #5ab0cc;
}

.qty-counter button:disabled {
  background: #c8e8f3;
  cursor: default;
}

.qty-counter button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.qty-counter .qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #3a2a50;
  padding: 0 6px;
}

/* COUPON */
.coupon-section {
  padding: 14px 18px;
  border-bottom: 1px solid #fdf0ff;
}

.coupon-label {
  font-size: 11px;
  font-weight: 700;
  color: #ef94a3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-icon {
  width: 38px;
  height: 38px;
  background: #fdf8ff;
  border: 1.5px solid #edd8ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coupon-icon svg {
  width: 18px;
  height: 18px;
  stroke: #b0a0c8;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coupon-row input {
  flex: 1;
  background: #fdf8ff;
  border: 1.5px solid #edd8ff;
  border-radius: 12px;
  color: #3a2a50;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.coupon-row input::placeholder {
  color: #c8b8d8;
  opacity: 0.7;
}

.coupon-row input:focus {
  border-color: #e85d8a;
  box-shadow: 0 0 0 3px rgba(232, 93, 138, 0.1);
}

.btn-coupon {
  background: #77c4db;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(119, 196, 219, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-coupon:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(119, 196, 219, 0.55);
}

/* RESUME TOTALS */
.resume-section {
  padding: 10px 0 4px;
}

.resume-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 18px;
}

.resume-row span {
  font-size: 13px;
  color: #888;
}

.resume-row strong {
  font-size: 13px;
  color: #3a2a50;
  font-weight: 700;
}

.resume-row--discount span {
  color: #888;
  font-weight: 400;
}

.resume-row--discount strong {
  color: #3a2a50;
  font-weight: 400;
}

.resume-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 16px;
  border-top: 1px solid #fdf0ff;
  margin-top: 4px;
}

.resume-total span,
.resume-total--label {
  font-size: 15px;
  font-weight: 700;
  color: #888;
}

.resume-total strong {
  font-size: 18px;
  font-weight: 800;
  color: #ef94a3;
}

/* ===== REVIEWS ===== */
.reviews-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #f5e8ff;
  box-shadow: 0 4px 20px rgba(232, 93, 138, 0.06);
  padding: 14px;
}

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #fdf0ff;
}

.review-item:first-child {
  padding-top: 0;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid #f0e0ff;
  background: #fdf8ff;
}

.review-content {
  flex: 1;
  min-width: 0;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.stars svg {
  width: 12px;
  height: 12px;
  fill: #ffd500;
}

.review-title {
  font-size: 12px;
  font-weight: 700;
  color: #3a2a50;
  margin-bottom: 2px;
}

.review-desc {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #ee969f;
  padding: 32px 24px;
  text-align: center;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-content p {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.9;
}

.footer-label {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  margin-top: 10px;
}

.footer-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.footer-safe svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== STEP PREENCHIDO (filled) ===== */
.card-filled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
}

.card-filled-info h2 {
  font-size: 17px;
  font-weight: 800;
  color: #77c4db;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-filled-info h2 svg {
  stroke: #2ecc71;
}

.filled-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filled-summary strong {
  font-size: 13px;
  font-weight: 700;
  color: #3a2a50;
}

.filled-summary span {
  font-size: 12px;
  color: #888;
}

.btn-edit-step {
  background: none;
  border: 1.5px solid #edd8ff;
  border-radius: 10px;
  color: #77c4db;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-edit-step:hover {
  background: #f5fbfd;
}

/* ===== CEP BUTTON ===== */
.btn-cep {
  background: #77c4db;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(119,196,219,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cep:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(119,196,219,0.5);
}

.btn-cep:disabled {
  opacity: 0.6;
  cursor: default;
}

.field-error {
  font-size: 12px;
  color: #e85d5d;
  font-weight: 600;
  margin-top: 6px;
}

/* ===== FIELD ROW ===== */
.field-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.field-row .field {
  flex: 1;
}

/* ===== ADDRESS GRID (Número + Bairro) ===== */
.addr-grid {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.addr-grid .field:first-child {
  max-width: 120px;
  flex-shrink: 0;
}

.addr-grid .field:last-child {
  flex: 1;
}

.addr-grid--cep {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.addr-grid--cep .field:first-child {
  flex: 2;
}

.field--uf {
  width: 72px;
  flex-shrink: 0;
}

.addr-handle {
  margin-top: 6px;
}

.label-optional {
  font-size: 11px;
  font-weight: 400;
  color: #b0a0c8;
  text-transform: none;
  letter-spacing: 0;
}

.field--short { max-width: 200px; }

/* ===== SAVED ADDRESS CARD ===== */
.saved-address {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #74c1db;
  border-radius: 14px;
  padding: 14px 16px;
  background: #f5fbfd;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 4px;
}

.saved-address:hover {
  background: #eaf6fb;
}

.saved-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saved-radio.selected {
  border-color: #74c1db;
}

.saved-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74c1db;
  display: block;
}

.saved-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.saved-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #3a2a50;
}

.saved-info span {
  font-size: 12px;
  color: #888;
}

/* ===== DIVIDER ===== */
.divider {
  border: none;
  border-top: 1px solid #f0e8ff;
  margin: 16px 0 12px;
}

/* ===== FREIGHT LABEL ===== */
.freight-label {
  font-size: 14px;
  color: #3a2a50;
  margin-bottom: 12px;
}

/* ===== FREIGHT LIST ===== */
.freight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.freight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid #e8e0f5;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.2s, background 0.2s;
}

.freight-item:hover {
  border-color: #74c1db;
  background: #f5fbfd;
}

.freight-item.selected {
  border: 2px solid #74c1db;
  background: #f0fafd;
}

.freight-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.freight-radio.selected {
  border-color: #74c1db;
}

.freight-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74c1db;
  display: block;
}

.freight-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.freight-name {
  font-size: 14px;
  font-weight: 800;
  color: #3a2a50;
}

.freight-days {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.correios-logo {
  height: auto;
  max-height: 12px;
  max-width: 55px;
  width: auto;
  display: block;
  margin-top: 2px;
  object-fit: contain;
}

.freight-price {
  font-size: 15px;
  font-weight: 800;
  color: #3a2a50;
  white-space: nowrap;
}

.freight-price--free {
  color: #2ecc71;
}

/* Botão continuar frete desabilitado */
.btn-primary:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

/* ===== PIX BOX ===== */
.pix-box {
  background: linear-gradient(145deg, #e8f8fc 0%, #d4f0f8 100%);
  border: 1.5px solid #a8dff0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.pix-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pix-logo-wrap {
  display: flex;
  align-items: center;
}

.pix-label {
  font-size: 18px;
  font-weight: 800;
  color: #3a2a50;
}

.pix-discount {
  font-size: 14px;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 8px;
}

.pix-total {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.pix-total strong {
  font-size: 20px;
  font-weight: 800;
  color: #ef94a3;
}

.btn-pix-purchase {
  width: 100%;
  background: linear-gradient(135deg, #f0a0b0 0%, #f5b8c4 100%);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 24px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(240,160,176,0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
}

.btn-pix-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(240,160,176,0.55);
}

.btn-pix-purchase:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

@media (max-width: 600px) {
  .main {
    padding: 14px 12px 30px;
  }

  .header {
    padding: 12px 16px;
  }

  .steps-bar {
    padding: 0 12px;
  }

  .card-header h2 {
    font-size: 17px;
  }
}

/* ===== PIX METHOD ===== */
/* ===== PIX METHOD ===== */
.pix-method {
  border: 1.5px solid #e8e0f5;
  border-radius: 14px;
  overflow: hidden;
}
.pix-method-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
}
.pix-radio-selected {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #74c1db;
  background: radial-gradient(circle, #74c1db 45%, #ffffff 46%);
  flex-shrink: 0;
  display: block;
}
.pix-method-header strong { font-size: 15px; font-weight: 800; color: #3a2a50; }
.pix-info {
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid #f0e8ff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pix-desc { font-size: 15px; font-weight: 700; color: #3a2a50; line-height: 1.6; margin: 0; }
.pix-value-text {
  font-size: 15px;
  font-weight: 800;
  color: #2ecc71;
  margin: 0;
}

/* ===== ORDER BUMP — igual ao original OrderBump_preview__PMtEt ===== */
.ob-preview {
  border: 2px dashed var(--color-bump, #f1919f);
  border-radius: 14px;
  background: var(--bg-bump, #f1919f1A);
  overflow: hidden;
}

/* Header: fundo transparente, só texto rosa centralizado */
.ob-header {
  padding: 10px 14px 8px;
  text-align: center;
}
.ob-header strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-bump, #f1919f);
  display: block;
  line-height: 1.4;
}
.ob-divider {
  border: none;
  border-top: 1px solid var(--color-bump, #f1919f);
  opacity: 0.3;
  margin: 0 14px 12px;
}

/* Container: imagem + conteúdo */
.ob-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 14px;
}
.ob-figure {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.ob-figure img { width: 100%; height: 100%; object-fit: cover; }
.ob-content { flex: 1; }
.ob-content p {
  font-size: 13px;
  color: #3a2a50;
  margin: 0 0 8px 0;
  line-height: 1.4;
  font-weight: 600;
}
.ob-prices { display: flex; align-items: center; gap: 8px; }
.ob-old { font-size: 13px; color: #999; text-decoration: line-through; }
.ob-new { font-size: 16px; font-weight: 800; color: #3a2a50; }

/* Botão não selecionado: azul sólido, círculo branco vazio */
.ob-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: #74c1db;
  border: none;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0 0 12px 12px;
}
.ob-btn:hover { background: #5ab0cc; }

/* Círculo como radio button */
.ob-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estado SELECIONADO: borda tracejada rosa, fundo rosa claro, texto rosa */
.ob-selected .ob-btn {
  background: transparent;
  border: 2px dashed var(--color-bump, #f1919f);
  border-radius: 50px;
  color: var(--color-bump, #f1919f);
  margin: 0 14px 14px;
  width: calc(100% - 28px);
  padding: 10px 16px;
}
.ob-selected .ob-circle {
  border-color: var(--color-bump, #f1919f);
  background: #2ecc71;
}
/* ✓ verde dentro do círculo quando selecionado */
.ob-selected .ob-circle::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.pay-handle { margin-top: 4px; }

/* ===== TELA PIX ===== */
.pix-screen {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #f5e8ff;
  box-shadow: 0 4px 20px rgba(232,93,138,0.06);
  overflow: hidden;
}
.pix-screen-inner {
  padding: 28px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pix-title {
  font-size: 24px;
  font-weight: 800;
  color: #77c4db;
  margin: 0;
  text-align: center;
}
.pix-subtitle {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.pix-subtitle strong { color: #ef94a3; font-weight: 800; }
#pix-timer { color: #ef94a3; }

.pix-phone-illus {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pix-phone-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.pix-scan-label {
  font-size: 13px;
  color: #888;
  margin: 0;
  text-align: center;
}
.pix-qr-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.pix-qr-img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 6px;
}

.pix-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffbea;
  border: 1.5px solid #f5d060;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #b8860b;
}
.pix-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5d060;
  animation: pixBlink 1.2s ease-in-out infinite;
}
@keyframes pixBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.pix-code-wrap {
  width: 100%;
  border: 1.5px dashed #ccc;
  border-radius: 50px;
  padding: 12px 18px;
  background: #fafafa;
  box-sizing: border-box;
}
.pix-code-text {
  font-size: 11px;
  color: #666;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  text-align: center;
  font-family: monospace;
}

.pix-copy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: #2ecc71;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(46,204,113,0.35);
}
.pix-copy-btn:hover { background: #27ae60; transform: translateY(-1px); }
.pix-copy-btn:active { transform: translateY(0); }

.pix-value-display {
  font-size: 16px;
  font-weight: 600;
  color: #3a2a50;
  margin: 0;
  text-align: center;
}
.pix-value-display strong {
  color: #2ecc71;
  font-size: 18px;
  font-weight: 800;
}

.pix-beneficiary {
  background: #f0f4f8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: #555;
  text-align: center;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}
.pix-beneficiary strong { color: #3a2a50; }

.pix-steps-section {
  width: 100%;
  border-top: 1.5px dashed #e0d8f0;
  padding-top: 20px;
}
.pix-steps-title {
  font-size: 16px;
  font-weight: 800;
  color: #3a2a50;
  margin: 0 0 16px 0;
}
.pix-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pix-steps-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #3a2a50;
}
.pix-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2ecc71;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== PIX PAGE — página completa ===== */
#pix-page {
  min-height: 100vh;
  background: #fdf6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 40px;
  box-sizing: border-box;
}
#pix-page .pix-screen {
  width: 100%;
  max-width: 480px;
}
