/* ==========================================================================
   REI DOS COINS - Modern Checkout Stylesheet (Enhanced PIX-Only Edition)
   ========================================================================== */

:root {
  --rdc-blue: #0b1a30;
  --rdc-blue-dark: #071220;
  --rdc-red: #e61c34;
  --rdc-red-hover: #c41227;
  --rdc-pix: #32bcad;
  --rdc-pix-dark: #1b877c;
  --rdc-green: #0b6020;
  --rdc-green-light: #00ed80;
  --rdc-gray-bg: #f5f6f9;
  --rdc-border: #e2e5eb;
  --rdc-text: #2d3748;
  --rdc-text-muted: #718096;
  --rdc-card-bg: #ffffff;
  --rdc-radius: 12px;
  --rdc-shadow: 0 4px 20px rgba(11, 26, 48, 0.08);
  --rdc-shadow-hover: 0 8px 28px rgba(11, 26, 48, 0.12);
}

body.checkout-page {
  background-color: var(--rdc-gray-bg);
  color: var(--rdc-text);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* --- Checkout Header --- */
.checkout-header {
  background: #ffffff;
  border-bottom: 1px solid var(--rdc-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.checkout-logo-wrap img {
  height: 48px;
  width: auto;
}

.checkout-security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 20px;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.btn-back-store {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--rdc-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: #eef2f8;
  transition: all 0.2s ease;
}

.btn-back-store:hover {
  background: #e0e7f4;
  color: var(--rdc-red);
  text-decoration: none;
}

/* --- Breadcrumb & Progress Steps --- */
.checkout-progress-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--rdc-border);
  padding: 14px 0;
  margin-bottom: 20px;
}

.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rdc-text-muted);
}

.progress-step .step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #edf2f7;
  color: var(--rdc-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.progress-step.active {
  color: var(--rdc-blue);
}

.progress-step.active .step-num {
  background: var(--rdc-blue);
  color: #ffffff;
}

.progress-divider {
  width: 40px;
  height: 2px;
  background: #e2e8f0;
}

/* --- 10-Minute Urgency Timer Banner --- */
.checkout-timer-banner {
  background: linear-gradient(135deg, #0b1a30 0%, #17325c 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(11, 26, 48, 0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.timer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.timer-info-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-icon-badge {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  animation: pulseTimer 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseTimer {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); background: rgba(50, 188, 173, 0.25); }
  100% { transform: scale(1); }
}

.timer-texts h4 {
  margin: 0 0 2px 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.timer-texts p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.timer-clock-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.timer-clock-digits {
  font-family: monospace;
  font-size: 20px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 1px;
}

.timer-progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.timer-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #32bcad);
  border-radius: 6px;
  transition: width 1s linear;
}

/* --- Checkout Layout Grid --- */
.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 15px 60px 15px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
}

/* --- Section Cards --- */
.checkout-card {
  background: var(--rdc-card-bg);
  border: 1px solid var(--rdc-border);
  border-radius: var(--rdc-radius);
  box-shadow: var(--rdc-shadow);
  padding: 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rdc-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.checkout-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--rdc-blue);
  margin: 0;
}

.checkout-card-title .card-badge-num {
  background: var(--rdc-blue);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.checkout-card-header .btn-add-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--rdc-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkout-card-header .btn-add-more:hover {
  text-decoration: underline;
}

/* --- 1. SELETOR DE ITENS DO CHECKOUT --- */
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: #fbfcfe;
  transition: all 0.2s ease;
}

.checkout-item-row:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.checkout-item-thumb {
  width: 65px;
  height: 65px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.checkout-item-details {
  flex-grow: 1;
  min-width: 0;
}

.checkout-item-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--rdc-blue);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.checkout-item-unit-price {
  font-size: 12px;
  color: var(--rdc-text-muted);
  font-weight: 600;
}

.checkout-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.checkout-qty-control {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-item-qty {
  background: #f8fafc;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 800;
  color: var(--rdc-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-item-qty:hover {
  background: #e2e8f0;
  color: var(--rdc-red);
}

.item-qty-input {
  width: 40px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--rdc-blue);
  background: #ffffff;
  outline: none;
}

.checkout-item-total {
  font-size: 16px;
  font-weight: 900;
  color: var(--rdc-blue);
  min-width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-remove-item svg,
.btn-remove-item svg * {
  pointer-events: none;
}

.btn-remove-item:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Empty State */
.checkout-empty-cart {
  text-align: center;
  padding: 40px 20px;
}

.checkout-empty-cart svg {
  color: #94a3b8;
  margin-bottom: 16px;
}

.checkout-empty-cart h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--rdc-blue);
  margin-bottom: 8px;
}

.checkout-empty-cart p {
  color: var(--rdc-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* --- 2. Customer Form --- */
.form-info-alert {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.checkout-form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--rdc-blue);
}

.checkout-form-label .required {
  color: var(--rdc-red);
}

.checkout-input {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--rdc-text);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.checkout-input.error {
  border-color: var(--rdc-red);
  background-color: #fff5f5;
}

/* --- 3. EXCLUSIVE PIX PAYMENT SECTION --- */
.pix-exclusive-box {
  background: #fcfdfd;
  border: 2px solid #32bcad;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(50, 188, 173, 0.12);
}

.pix-box-header {
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border-bottom: 1px solid #b2f5ea;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pix-logo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pix-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.pix-brand-text h3 {
  margin: 0 0 2px 0;
  font-size: 17px;
  font-weight: 900;
  color: #115e59;
  letter-spacing: -0.2px;
}

.pix-brand-text p {
  margin: 0;
  font-size: 12px;
  color: #0f766e;
  font-weight: 600;
}

.pix-discount-pill {
  background: #0f766e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

.pix-box-body {
  padding: 20px;
}

.pix-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.pix-perk-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pix-perk-card .perk-check {
  color: #0f766e;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.pix-perk-card div {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}

.pix-perk-card strong {
  color: var(--rdc-blue);
}

.pix-flow-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Sticky Order Summary Sidebar --- */
.checkout-summary-card {
  background: var(--rdc-card-bg);
  border: 1px solid var(--rdc-border);
  border-radius: var(--rdc-radius);
  box-shadow: var(--rdc-shadow);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.summary-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--rdc-blue);
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rdc-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--rdc-text);
}

.summary-row.discount-row {
  color: #dc2626;
  font-weight: 700;
}

.summary-row.pix-discount-row {
  color: #0f766e;
  font-weight: 700;
}

.summary-row.cashback-row {
  background: #ecfdf5;
  border: 1px dashed #6ee7b7;
  padding: 8px 12px;
  border-radius: 8px;
  color: #047857;
  font-weight: 700;
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-input {
  flex-grow: 1;
  border: 1.5px dashed #94a3b8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rdc-blue);
}

.coupon-btn {
  background: var(--rdc-blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.coupon-btn:hover {
  background: #1e3a63;
}

.coupon-feedback {
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 12px;
  display: none;
}

.coupon-feedback.success {
  display: block;
  color: #16a34a;
  font-weight: 700;
}

.coupon-feedback.error {
  display: block;
  color: #dc2626;
  font-weight: 700;
}

.summary-divider {
  height: 1px;
  background: var(--rdc-border);
  margin: 16px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.summary-total-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--rdc-blue);
}

.summary-total-value {
  font-size: 28px;
  font-weight: 900;
  color: #0f766e;
  line-height: 1;
}

.btn-finish-order {
  width: 100%;
  background: linear-gradient(135deg, #e61c34 0%, #b80c21 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(230, 28, 52, 0.35);
  transition: all 0.25s ease;
}

.btn-finish-order:hover {
  background: linear-gradient(135deg, #f5223b 0%, #cb1026 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 28, 52, 0.45);
}

.btn-finish-order:active {
  transform: translateY(0);
}

.summary-trust-badges {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--rdc-text-muted);
  font-weight: 600;
}

.trust-badge-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* --- Success Order Modal --- */
.order-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.order-modal-overlay.active {
  display: flex !important;
}

.order-modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px auto;
}

.modal-order-number {
  background: #f1f5f9;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  color: var(--rdc-blue);
  font-size: 14px;
  margin-bottom: 14px;
}

/* Modal PIX Timer Alert */
.modal-pix-timer-alert {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  padding: 10px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #92400e;
  font-weight: 700;
}

.modal-timer-badge {
  font-family: monospace;
  font-size: 16px;
  color: #b45309;
  font-weight: 900;
}

.qr-code-box {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 16px;
  position: relative;
}

.qr-code-box svg {
  display: block;
}

.qr-pix-badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 2px solid #32bcad;
  border-radius: 6px;
  padding: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-copy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.pix-code-text {
  font-family: monospace;
  font-size: 11px;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-pix {
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-copy-pix:hover {
  background: #115e59;
}

/* Released PIN Cards */
.released-pins-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  text-align: left;
}

.released-pin-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 14px;
}

.released-pin-title {
  font-size: 13px;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 6px;
}

.released-pin-code-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 8px 12px;
}

.released-pin-code {
  font-family: monospace;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #166534;
}

.btn-copy-pin {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.btn-simulate-pix {
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 12px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
}

.btn-simulate-pix:hover {
  background: #115e59;
  transform: translateY(-1px);
}

/* --- High-Quality Mobile Responsive Adjustments --- */
@media (max-width: 991px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .checkout-container {
    padding: 14px 10px 40px 10px;
  }

  .checkout-header-inner {
    padding: 6px 0;
  }

  .checkout-logo-wrap img {
    width: 38px;
    height: 38px;
  }

  .checkout-logo-wrap span {
    font-size: 17px !important;
  }

  .btn-back-store {
    padding: 6px 10px;
    font-size: 12px;
  }

  .progress-steps {
    gap: 8px;
  }

  .progress-step {
    font-size: 12px;
    gap: 6px;
  }

  .progress-divider {
    width: 20px;
  }

  .checkout-timer-banner {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
  }

  .timer-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .timer-texts h4 {
    font-size: 13px;
  }

  .timer-texts p {
    font-size: 11px;
    line-height: 1.35;
  }

  .timer-clock-badge {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    border-radius: 6px;
  }

  .timer-clock-digits {
    font-size: 16px;
  }

  .checkout-card {
    padding: 16px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .checkout-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .btn-add-more {
    font-size: 12px;
    padding: 4px 0;
  }

  .checkout-item-row {
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 10px;
  }

  .checkout-item-thumb {
    width: 48px;
    height: 48px;
  }

  .checkout-item-name {
    font-size: 13px;
  }

  .checkout-qty-wrapper {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #f1f5f9;
  }

  .checkout-item-total {
    min-width: auto;
    font-size: 15px;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkout-input {
    min-height: 46px;
    font-size: 16px;
  }

  .order-modal-content {
    padding: 20px 14px;
    max-width: 95vw;
    max-height: 94vh;
    border-radius: 14px;
  }

  .qr-code-box {
    padding: 10px;
    margin-bottom: 12px;
  }

  .qr-code-box svg {
    width: 140px;
    height: 140px;
  }

  .qr-code-box img {
    max-width: 150px;
    max-height: 150px;
  }

  .pix-code-text {
    font-size: 11px;
    max-height: 48px;
    overflow-y: auto;
    word-break: break-all;
  }

  .btn-copy-pix {
    font-size: 12px;
    padding: 8px 10px;
  }

  .btn-finish-order {
    padding: 14px;
    font-size: 14px;
    min-height: 50px;
  }
}

@media (max-width: 380px) {
  .checkout-logo-wrap span {
    display: none;
  }

  .progress-step span:not(.step-num) {
    font-size: 11px;
  }

  .btn-item-qty {
    width: 28px;
    height: 28px;
  }

  .item-qty-input {
    width: 32px;
    height: 28px;
  }
}

/* --- PinguPag Gateway Integration Styles --- */
.pingupag-integration-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 13px;
  color: #166534;
}

.pingupag-badge-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pingupag-dot-active {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  display: inline-block;
}

.btn-pingupag-config {
  background: #ffffff;
  border: 1px solid #86efac;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pingupag-config:hover {
  background: #dcfce7;
  border-color: #4ade80;
}

/* Modal Live Status */
.pix-live-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #1e40af;
  font-weight: 700;
  margin: 12px 0;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  display: inline-block;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.qr-code-box img {
  display: block;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto;
}

.pingupag-api-note {
  font-size: 11px;
  color: #64748b;
  margin-top: -6px;
  margin-bottom: 12px;
}

/* PinguPag Settings Modal */
.pingupag-config-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pingupag-config-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.config-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.config-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0b1a30;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.config-modal-body p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}

.config-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.btn-test-key {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.btn-test-key:hover {
  background: #e2e8f0;
}

.btn-save-key {
  background: #16a34a;
  border: none;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
}

.btn-save-key:hover {
  background: #15803d;
}

/* ==========================================================================
   Order Bump Component (Aumento de Ticket Médio)
   ========================================================================== */
.order-bump-card {
  background: #fffdf5;
  border: 2px dashed #f59e0b;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.order-bump-card.active {
  background: #f0fdf4;
  border-color: #10b981;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.18);
}

.order-bump-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.order-bump-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.order-bump-checkbox {
  width: 22px;
  height: 22px;
  accent-color: #16a34a;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.order-bump-title-wrap {
  flex-grow: 1;
}

.order-bump-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 4px 0;
}

.order-bump-title .bump-price-highlight {
  color: #16a34a;
  font-weight: 900;
}

.order-bump-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.order-bump-body {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
}

.order-bump-card.active .order-bump-body {
  border-top-color: rgba(16, 185, 129, 0.3);
}

.order-bump-img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.order-bump-benefit {
  flex-grow: 1;
}

.checkout-item-badge-bump {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}

/* Discounted Item Price & Subtotal Styling */
.checkout-price-old {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}

.checkout-price-new {
  color: #16a34a;
  font-weight: 800;
  font-size: 14px;
}

.checkout-discount-pill {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

.checkout-price-old-total {
  display: block;
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
}

.checkout-price-new-total {
  display: block;
  color: #16a34a;
  font-weight: 900;
  font-size: 17px;
}

.summary-subtotal-old {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
  margin-right: 6px;
}

.summary-subtotal-new {
  color: #16a34a;
  font-weight: 800;
  font-size: 15px;
}

.total-striked {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 500;
}

.total-highlight {
  color: #00ed80;
  font-size: 26px;
  font-weight: 900;
}



