* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: var(--gray-800);
  line-height: 1.6;
  font-size: 14px;
}

.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.brand-info h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.brand-info p {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.security-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--success);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Main Content */
.checkout-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.form-header {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 30px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.form-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--gray-600);
  font-size: 14px;
}

/* Payment Form */
.payment-form {
  padding: 30px;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}

.form-section h3 i {
  color: var(--primary);
  font-size: 18px;
}

.input-group {
  margin-bottom: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--gray-400);
  font-size: 16px;
  z-index: 2;
}

.input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  transition: all 0.3s ease;
  color: var(--gray-800);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.input-wrapper input:focus + i {
  color: var(--primary);
}

.error-message {
  display: block;
  color: var(--error);
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  min-height: 18px;
}

/* Order Summary */
.order-summary {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
}

.product-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.product-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.product-details p {
  font-size: 13px;
  color: var(--gray-600);
}

.product-price {
  margin-left: auto;
}

.product-price .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
}

.summary-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 20px 0;
}

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

.summary-row:last-child {
  margin-bottom: 0;
}

.free-badge {
  background: var(--success);
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.total-row {
  border-top: 2px solid var(--gray-200);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
}

.total-price {
  color: var(--success);
  font-size: 20px;
}

/* PIX Button */
.pix-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 30px 0 20px;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pix-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.pix-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button-content i {
  font-size: 20px;
  color: #00d4aa;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
}

.trust-item i {
  color: var(--success);
  font-size: 14px;
}

/* Sidebar Cards */
.checkout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pix-result-card,
.help-card,
.guarantee-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

/* PIX Result */
.result-header {
  background: linear-gradient(135deg, var(--success) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 24px;
  text-align: center;
}

.success-badge {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.result-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.result-header p {
  opacity: 0.9;
  font-size: 14px;
}

.result-content {
  padding: 24px;
}

/* Help Card */
.help-header,
.guarantee-header {
  background: var(--gray-50);
  padding: 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-header i,
.guarantee-header i {
  color: var(--primary);
  font-size: 18px;
}

.help-header h3,
.guarantee-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
}

.help-steps {
  padding: 20px;
}

.help-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.help-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
  font-size: 14px;
}

.step-text span {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.4;
}

/* Guarantee Card */
.guarantee-list {
  padding: 20px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray-700);
}

.guarantee-item:last-child {
  margin-bottom: 0;
}

.guarantee-item i {
  color: var(--success);
  font-size: 16px;
  width: 16px;
}

/* PIX Result Content */
.pix-info {
  background: var(--gray-50);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.highlight {
  font-size: 18px;
  font-weight: 700;
  color: var(--success);
}

.transaction-id {
  font-family: "Courier New", monospace;
  background: var(--gray-200);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.qr-code-container {
  text-align: center;
  margin: 20px 0;
}

.qr-code-wrapper {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--gray-300);
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.qr-code-wrapper img {
  width: 200px;
  height: 200px;
  display: block;
}

.qr-code-info {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}

.pix-copy-section {
  margin: 20px 0;
}

.pix-copy-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 13px;
}

.copy-container {
  display: flex;
  gap: 8px;
}

.copy-container input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: "Courier New", monospace;
  font-size: 12px;
  background: var(--gray-50);
}

.copy-btn {
  padding: 12px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--primary-dark);
}

.payment-instructions {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  border: 1px solid #93c5fd;
}

.payment-instructions h4 {
  margin-bottom: 16px;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.payment-instructions ol {
  margin-left: 20px;
  color: #1e40af;
}

.payment-instructions li {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 13px;
}

.status-section {
  text-align: center;
  margin-top: 20px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 12px;
}

.status-indicator.pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}

.status-indicator.paid {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.test-section {
  margin-top: 20px;
  text-align: center;
}

.test-btn {
  background: var(--success);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
}

.test-btn:hover {
  background: var(--secondary-dark);
}

/* Footer */
.checkout-footer {
  margin-top: 40px;
  text-align: center;
}

.footer-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.footer-content p {
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 13px;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== RESPONSIVE DESIGN MOBILE PERFEITO ===== */

/* Tablet */
@media (max-width: 1024px) {
  .checkout-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .checkout-sidebar {
    order: 1;
  }

  .checkout-main {
    order: 0;
  }
}

/* Mobile Grande (768px - 1024px) */
@media (max-width: 768px) {
  .checkout-container {
    padding: 15px;
    max-width: 100%;
  }

  /* Header Mobile */
  .checkout-header {
    padding: 15px 20px;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .brand-info h1 {
    font-size: 20px;
  }

  .brand-info p {
    font-size: 11px;
  }

  .security-indicator {
    font-size: 11px;
    padding: 6px 12px;
  }

  /* Content Mobile */
  .checkout-content {
    display: block;
    gap: 0;
  }

  .checkout-main {
    margin-bottom: 20px;
  }

  /* Form Card Mobile */
  .form-card {
    border-radius: var(--radius-lg);
    margin: 0;
    box-shadow: var(--shadow-lg);
  }

  .form-header {
    padding: 20px;
    text-align: left;
  }

  .form-header h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .form-header p {
    font-size: 13px;
  }

  /* Payment Form Mobile */
  .payment-form {
    padding: 20px;
  }

  .form-section {
    margin-bottom: 25px;
  }

  .form-section h3 {
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }

  .form-section h3 i {
    font-size: 16px;
  }

  /* Input Groups Mobile */
  .input-group {
    margin-bottom: 18px;
  }

  .input-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .input-group label {
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
  }

  .input-wrapper {
    width: 100%;
  }

  .input-wrapper i {
    left: 14px;
    font-size: 15px;
  }

  .input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    font-size: 16px;
    border-radius: var(--radius);
    min-height: 48px;
  }

  .error-message {
    font-size: 11px;
    margin-top: 4px;
    min-height: 16px;
  }

  /* Order Summary Mobile */
  .order-summary {
    padding: 18px;
    border-radius: var(--radius);
  }

  .product-info {
    gap: 12px;
    margin-bottom: 16px;
  }

  .product-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .product-details h4 {
    font-size: 15px;
    margin-bottom: 3px;
  }

  .product-details p {
    font-size: 12px;
  }

  .product-price .price {
    font-size: 18px;
  }

  .summary-divider {
    margin: 16px 0;
  }

  .summary-row {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .free-badge {
    font-size: 10px;
    padding: 3px 6px;
  }

  .total-row {
    font-size: 15px;
    padding-top: 12px;
    margin-top: 12px;
  }

  .total-price {
    font-size: 18px;
  }

  /* PIX Button Mobile */
  .pix-button {
    padding: 16px;
    font-size: 15px;
    margin: 25px 0 18px;
    border-radius: var(--radius);
    min-height: 52px;
  }

  .button-content i {
    font-size: 18px;
  }

  /* Trust Indicators Mobile */
  .trust-indicators {
    gap: 16px;
    justify-content: space-around;
  }

  .trust-item {
    font-size: 11px;
    gap: 5px;
  }

  .trust-item i {
    font-size: 13px;
  }

  /* Sidebar Mobile */
  .checkout-sidebar {
    gap: 15px;
  }

  .pix-result-card,
  .help-card,
  .guarantee-card {
    border-radius: var(--radius-lg);
  }

  .result-header {
    padding: 20px;
  }

  .success-badge {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    font-size: 20px;
  }

  .result-header h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .result-header p {
    font-size: 13px;
  }

  .result-content {
    padding: 18px;
  }

  .help-header,
  .guarantee-header {
    padding: 16px;
  }

  .help-header h3,
  .guarantee-header h3 {
    font-size: 15px;
  }

  .help-steps {
    padding: 16px;
  }

  .help-step {
    gap: 12px;
    margin-bottom: 16px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .step-text strong {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .step-text span {
    font-size: 12px;
  }

  .guarantee-list {
    padding: 16px;
  }

  .guarantee-item {
    font-size: 13px;
    margin-bottom: 12px;
    gap: 10px;
  }

  .guarantee-item i {
    font-size: 14px;
  }

  /* PIX Result Content Mobile */
  .pix-info {
    padding: 16px;
    margin-bottom: 16px;
  }

  .info-row {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .highlight {
    font-size: 16px;
  }

  .transaction-id {
    font-size: 11px;
    padding: 3px 6px;
  }

  .qr-code-container {
    margin: 16px 0;
  }

  .qr-code-wrapper {
    padding: 16px;
    margin-bottom: 12px;
  }

  .qr-code-wrapper img {
    width: 180px;
    height: 180px;
  }

  .qr-code-info {
    font-size: 13px;
    gap: 6px;
  }

  .pix-copy-section {
    margin: 16px 0;
  }

  .pix-copy-section label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .copy-container {
    flex-direction: column;
    gap: 10px;
  }

  .copy-container input {
    padding: 12px;
    font-size: 11px;
    border-radius: var(--radius-sm);
  }

  .copy-btn {
    padding: 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    min-height: 44px;
  }

  .payment-instructions {
    padding: 16px;
    margin: 16px 0;
  }

  .payment-instructions h4 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .payment-instructions ol {
    margin-left: 16px;
  }

  .payment-instructions li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .status-indicator {
    font-size: 11px;
    padding: 8px 12px;
  }

  .test-btn {
    font-size: 11px;
    padding: 10px 16px;
    min-height: 40px;
  }

  /* Footer Mobile */
  .checkout-footer {
    margin-top: 30px;
  }

  .footer-content {
    padding: 16px;
    border-radius: var(--radius-lg);
  }

  .footer-content p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .footer-badges {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .footer-badges span {
    font-size: 11px;
    gap: 5px;
  }
}

/* Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
  .checkout-container {
    padding: 10px;
  }

  .checkout-header {
    padding: 12px 16px;
    margin-bottom: 15px;
  }

  .brand-info h1 {
    font-size: 18px;
  }

  .form-header {
    padding: 16px;
  }

  .form-header h2 {
    font-size: 16px;
  }

  .form-header p {
    font-size: 12px;
  }

  .payment-form {
    padding: 16px;
  }

  .form-section {
    margin-bottom: 20px;
  }

  .form-section h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .input-group {
    margin-bottom: 15px;
  }

  .input-row {
    gap: 15px;
  }

  .input-wrapper input {
    padding: 12px 12px 12px 38px;
    min-height: 44px;
  }

  .input-wrapper i {
    left: 12px;
    font-size: 14px;
  }

  .order-summary {
    padding: 15px;
  }

  .product-info {
    gap: 10px;
    margin-bottom: 14px;
  }

  .product-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .product-details h4 {
    font-size: 14px;
  }

  .product-details p {
    font-size: 11px;
  }

  .product-price .price {
    font-size: 16px;
  }

  .summary-row {
    font-size: 12px;
  }

  .total-row {
    font-size: 14px;
  }

  .total-price {
    font-size: 16px;
  }

  .pix-button {
    padding: 14px;
    font-size: 14px;
    margin: 20px 0 15px;
    min-height: 48px;
  }

  .trust-indicators {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .trust-item {
    font-size: 10px;
  }

  .checkout-sidebar {
    gap: 12px;
  }

  .result-header {
    padding: 16px;
  }

  .success-badge {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .result-header h3 {
    font-size: 15px;
  }

  .result-header p {
    font-size: 12px;
  }

  .result-content {
    padding: 15px;
  }

  .help-header,
  .guarantee-header {
    padding: 14px;
  }

  .help-header h3,
  .guarantee-header h3 {
    font-size: 14px;
  }

  .help-steps {
    padding: 14px;
  }

  .help-step {
    gap: 10px;
    margin-bottom: 14px;
  }

  .step-number {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .step-text strong {
    font-size: 12px;
  }

  .step-text span {
    font-size: 11px;
  }

  .guarantee-list {
    padding: 14px;
  }

  .guarantee-item {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .qr-code-wrapper img {
    width: 160px;
    height: 160px;
  }

  .footer-content {
    padding: 14px;
  }
}

/* Otimizações para iOS */
@media (max-width: 768px) {
  /* Evitar zoom em inputs no iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    font-size: 16px !important;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
  }

  /* Melhor toque */
  .pix-button,
  .copy-btn,
  .test-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Scroll suave */
  .pix-result-card {
    scroll-margin-top: 20px;
  }
}

/* Estados de loading */
.pix-button:disabled .button-content {
  opacity: 0;
}

.pix-button:disabled .loading-spinner {
  display: block;
}

/* Animações suaves */
.form-card,
.help-card,
.guarantee-card,
.pix-result-card {
  transition: all 0.3s ease;
}

/* Hover apenas em desktop */
@media (min-width: 769px) {
  .form-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
  }

  .help-card:hover,
  .guarantee-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
  }
}

/* Acessibilidade */
.input-wrapper input:focus,
.pix-button:focus,
.copy-btn:focus,
.test-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Animação do PIX result */
.pix-result-card {
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
