/* ═══════════════════════════════════════════════════
   UNIQSHOP — carrinho.css
   Cart, Checkout, Confirmation, My Orders
   ═══════════════════════════════════════════════════ */

/* ── Progress stepper ───────────────────────────────── */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: var(--s5) 0 var(--s8);
}
.step {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--t-base);
}
.step.done .step-num {
  background: var(--teal-green);
  border-color: var(--teal-green);
  color: #fff;
}
.step.active .step-num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.step.active { color: var(--navy); }
.step-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 var(--s2);
}
.step-line.done { background: var(--teal-green); }
@media (max-width: 480px) {
  .step-line { width: 30px; }
  .step span { display: none; }
}

/* ── Cart page ──────────────────────────────────────── */
.cart-page { padding: var(--s8) 0 var(--s20); }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--s8);
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items-wrap {}
.cart-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--s4);
  align-items: center;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item:first-child { border-top: 1px solid var(--color-border); }

.cart-item-img {
  width: 88px;
  height: 88px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--off-white);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {}
.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: var(--s1);
}
.cart-item-size {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--off-white);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--s2);
}
.cart-item-price {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s3);
}
.cart-item-subtotal {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  background: var(--off-white);
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--cyan-light); }
.qty-input {
  width: 44px;
  height: 32px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast);
  padding: 0;
}
.btn-remove-item:hover { color: var(--coral); }

/* Order summary */
.order-summary {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  position: sticky;
  top: calc(68px + var(--s4));
}
.order-summary h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--color-border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s2) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.summary-row.total {
  font-size: 1.125rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--navy);
  border-top: 2px solid var(--color-border);
  margin-top: var(--s3);
  padding-top: var(--s4);
}
.summary-value { font-weight: 600; color: var(--color-text); }
.summary-value.price { color: var(--blue); }

.btn-checkout {
  width: 100%;
  margin-top: var(--s5);
  padding: 15px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  text-decoration: none;
}
.btn-checkout:hover {
  background: #003599;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  margin-top: var(--s3);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── Checkout page ──────────────────────────────────── */
.checkout-page { padding: var(--s4) 0 var(--s20); }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s8);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-form-section {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  margin-bottom: var(--s5);
}
.section-divider {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.section-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s4);
}
@media (max-width: 640px) {
  .form-row-3 { grid-template-columns: 1fr 1fr; }
}

.pix-info-box {
  background: linear-gradient(135deg, rgba(243,215,80,.15) 0%, rgba(57,187,149,.1) 100%);
  border: 1.5px solid rgba(243,215,80,.4);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}
.pix-info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.pix-info-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s2);
}
.pix-info-content p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.pix-key-preview {
  margin-top: var(--s3);
  padding: var(--s3) var(--s4);
  background: rgba(0,71,187,.08);
  border-radius: var(--r-md);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
  word-break: break-all;
}

/* ── Order confirmation ──────────────────────────────── */
.confirmation-page { padding: var(--s8) 0 var(--s20); }
.confirmation-header {
  text-align: center;
  margin-bottom: var(--s10);
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-green), var(--teal-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s5);
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) both;
  font-size: 2.25rem;
  color: #fff;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: scale(1); }
}
.order-code-display {
  display: inline-block;
  padding: var(--s2) var(--s5);
  background: var(--off-white);
  border-radius: var(--r-full);
  font-family: monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--color-border);
  letter-spacing: .05em;
}

.pix-payment-box {
  background: linear-gradient(135deg, #fffae0 0%, #fff7f0 100%);
  border: 2px solid var(--yellow);
  border-radius: var(--r-xl);
  padding: var(--s8);
  margin-bottom: var(--s6);
  text-align: center;
}
.pix-payment-box h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--s2);
}
.pix-payment-box .pix-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--blue);
  margin: var(--s4) 0;
}
.pix-key-box {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
  margin: var(--s5) 0;
  position: relative;
}
.pix-key-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-bottom: var(--s2);
}
.pix-key-value {
  font-family: monospace;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue);
  word-break: break-all;
}
.pix-key-type {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--s1);
}
.btn-copy-pix {
  margin: var(--s4) auto 0;
  display: flex;
  width: fit-content;
  padding: 10px 24px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  gap: var(--s2);
  transition: all var(--t-fast);
}
.btn-copy-pix:hover { background: #002a5e; }
.btn-copy-pix.copied { background: var(--teal-green); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 12px 24px;
  background: #25d366;
  color: #fff;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all var(--t-fast);
  margin-top: var(--s4);
}
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-1px); }

.order-summary-table {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--s6);
}
.order-summary-table table {
  width: 100%;
  border-collapse: collapse;
}
.order-summary-table th {
  background: var(--off-white);
  padding: 12px var(--s5);
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.order-summary-table td {
  padding: 12px var(--s5);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.order-summary-table tr:last-child td { border-bottom: none; }
.order-summary-table .total-row td {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1rem;
}

.customer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  margin-bottom: var(--s6);
}
.info-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.info-item span {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
@media (max-width: 560px) {
  .customer-info-grid { grid-template-columns: 1fr; }
}

/* ── Payment method selector ────────────────────────── */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
@media (max-width: 520px) {
  .payment-methods { grid-template-columns: 1fr; }
}
.payment-method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4) var(--s3);
  border: 2px solid var(--color-border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-fast);
  background: #fff;
  text-align: center;
  user-select: none;
}
.payment-method-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.payment-method-card:hover {
  border-color: var(--blue);
  background: rgba(0,71,187,.04);
}
.payment-method-card.active {
  border-color: var(--blue);
  background: rgba(0,71,187,.06);
  box-shadow: 0 0 0 3px rgba(0,71,187,.12);
}
.payment-method-card.active .pm-label { color: var(--blue); }
.pm-icon {
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.payment-method-card.active .pm-icon { color: var(--blue); }
.pm-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--navy);
}
.pm-desc {
  font-size: .75rem;
  color: var(--color-text-muted);
}

/* ── My Orders ──────────────────────────────────────── */
.orders-page { padding: var(--s8) 0 var(--s20); }
.orders-search-wrap {
  max-width: 480px;
  margin: 0 auto var(--s10);
}
.orders-search-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.orders-search-card h2 {
  margin-bottom: var(--s3);
  color: var(--navy);
}
.orders-search-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--s6);
  font-size: 0.9375rem;
}
.orders-search-input-wrap {
  display: flex;
  gap: var(--s3);
  align-items: stretch;
}
.orders-search-input-wrap input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.orders-search-input-wrap .btn { flex: 0 0 auto; }
.orders-search-input-wrap input:focus { border-color: var(--blue); }

.orders-list {}
.order-row {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s4);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--s5);
  transition: all var(--t-fast);
}
.order-row:hover { border-color: var(--cyan-light); box-shadow: var(--shadow-sm); }
.order-row-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}
.order-row-info { min-width: 0; }
.order-row-date { font-size: 0.8125rem; color: var(--color-text-muted); }
.order-row-items { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 2px; }
.order-row-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .orders-search-input-wrap { flex-direction: column; }
  .orders-search-input-wrap .btn {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .order-row { grid-template-columns: 1fr; gap: var(--s2); }
}

/* ═══════════════════════════════════════════════════
   Pagamento page (custom PIX checkout)
   ═══════════════════════════════════════════════════ */

.pagamento-page { padding: var(--s4) 0 var(--s20); }

.pagamento-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--s8);
  align-items: start;
}
@media (max-width: 900px) {
  .pagamento-layout { grid-template-columns: 1fr; }
}

/* ── PIX card shell ─────────────────────────────── */
.pix-main-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Card header (dark navy) */
.pix-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s5) var(--s6);
  background: linear-gradient(135deg, var(--navy) 0%, #002a5e 100%);
  color: #fff;
  gap: var(--s3);
}
.pix-header-left {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-width: 0;
}
.pix-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.pix-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
}
.pix-card-subtitle {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}
.pix-amount-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--yellow);
  white-space: nowrap;
  flex-shrink: 0;
}

/* QR code area */
.qr-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s8) var(--s6) var(--s5);
  min-height: 256px;
  background: linear-gradient(180deg, rgba(0,71,187,.03) 0%, transparent 100%);
}
.qr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  color: var(--color-text-muted);
  font-size: .875rem;
}
.qr-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--color-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: qrSpin .8s linear infinite;
}
@keyframes qrSpin { to { transform: rotate(360deg); } }

.qr-image {
  border: 6px solid #fff;
  box-shadow: 0 4px 24px rgba(0,19,40,.14);
  border-radius: var(--r-md);
  display: block;
  max-width: 220px;
  height: auto;
}

/* How-to steps */
.pix-steps-hint {
  display: flex;
  justify-content: center;
  gap: var(--s5);
  padding: var(--s3) var(--s6) var(--s5);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.pix-step-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .8rem;
  color: var(--color-text-muted);
}
.pix-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Copy section */
.pix-copy-section {
  padding: var(--s4) var(--s6);
  border-bottom: 1px solid var(--color-border);
}
.pix-copy-label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin-bottom: var(--s3);
}
.pix-copy-box {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--off-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s3) var(--s3) var(--s4);
}
.pix-copy-text {
  flex: 1;
  font-family: monospace;
  font-size: .6875rem;
  color: var(--color-text-muted);
  word-break: break-all;
  line-height: 1.5;
  max-height: 56px;
  overflow: hidden;
  min-width: 0;
}
.pix-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8125rem;
  cursor: pointer;
  transition: background var(--t-fast);
  white-space: nowrap;
}
.pix-copy-btn:hover  { background: var(--blue); }
.pix-copy-btn.copied { background: var(--teal-green); }

/* Animated waiting bar */
.pix-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--s4) var(--s6);
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.pix-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-green);
  flex-shrink: 0;
  animation: pixPulse 1.6s ease-in-out infinite;
}
@keyframes pixPulse {
  0%   { box-shadow: 0 0 0 0   rgba(57,187,149,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(57,187,149,0); }
  100% { box-shadow: 0 0 0 0   rgba(57,187,149,0); }
}

/* Alt payment link */
.pix-alt-payment {
  padding: var(--s4) var(--s6);
  font-size: .8125rem;
  color: var(--color-text-muted);
  text-align: center;
}
.pix-alt-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  margin-left: var(--s1);
}
.pix-alt-link:hover { text-decoration: underline; }

/* ── Order sidebar ──────────────────────────────── */
.pagamento-sidebar {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: calc(68px + var(--s4));
}
.pagamento-sidebar-header {
  padding: var(--s5);
  border-bottom: 1px solid var(--color-border);
  background: var(--off-white);
}
.pagamento-sidebar-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-bottom: var(--s2);
}
.pagamento-order-code {
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.pagamento-items { padding: var(--s2) 0; }
.pagamento-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  border-bottom: 1px solid var(--color-border);
}
.pagamento-item:last-child { border-bottom: none; }
.pagamento-item-info { flex: 1; min-width: 0; }
.pagamento-item-name {
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pagamento-item-meta {
  font-size: .75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.pagamento-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  white-space: nowrap;
}
.pagamento-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s4) var(--s5);
  border-top: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy);
}
.pagamento-pickup {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s5);
  font-size: .8rem;
  color: var(--color-text-muted);
  background: rgba(121,219,212,.08);
  border-top: 1px solid rgba(121,219,212,.3);
}
.pagamento-customer-mini {
  padding: var(--s3) var(--s5);
  font-size: .8rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  line-height: 1.7;
}

/* ── Payment confirmed overlay ──────────────────── */
.payment-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,19,40,.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.payment-success-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.payment-success-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: var(--s12) var(--s10);
  max-width: 440px;
  width: 90%;
  text-align: center;
  transform: scale(.88) translateY(24px);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow-lg);
}
.payment-success-overlay.visible .payment-success-card {
  transform: scale(1) translateY(0);
}
.success-anim-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-green), var(--teal-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s6);
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) .1s both;
}
.success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.625rem;
  color: var(--navy);
  margin-bottom: var(--s3);
}
.success-sub {
  color: var(--color-text-muted);
  font-size: .9375rem;
  line-height: 1.65;
  margin-bottom: var(--s5);
}
.success-countdown {
  font-size: .875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--s5);
}
.success-countdown strong { color: var(--blue); font-weight: 700; }
