/* AvaliAuto Theme CSS - Exact replica of original template */
/* Apple-inspired font system */
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@100;200;300;400;500;600;700;800;900&family=SF+Pro+Text:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* AvaliAuto official color palette */
  --primary: #E88A30;
  --primary-50: #FEF3E7;
  --primary-100: #FDEAD3;
  --primary-200: #FAD4A6;
  --primary-300: #F7BE7A;
  --primary-400: #F4A84D;
  --primary-500: #E88A30;
  --primary-600: #DC7A1F;
  --primary-700: #B8651A;
  --primary-800: #935014;
  --primary-900: #6F3B0F;
  
  --secondary: #4D9999;
  --secondary-50: #EDFAFA;
  --secondary-100: #D5F4F4;
  --secondary-200: #AFEBEB;
  --secondary-300: #7DD3D3;
  --secondary-400: #4DBABA;
  --secondary-500: #4D9999;
  --secondary-600: #3D7A7A;
  --secondary-700: #2D5B5B;
  --secondary-800: #1F4040;
  --secondary-900: #0F2020;
  
  /* Neutral grays - matching original */
  --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;
  
  /* System colors */
  --background: #FFFFFF;
  --surface: #FAFAFA;
  --surface-elevated: #FFFFFF;
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-tertiary: var(--gray-500);
  
  /* Checkbox styles */
  --checkbox-size: 1.25rem;
  --checkbox-border: var(--gray-300);
  --checkbox-checked: var(--primary);
  --checkbox-checkmark: #FFFFFF;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Classes que estavam faltando */
.bg-secondary {
  background-color: var(--secondary);
}
/* Remove underline do link do logo/header */
.header-logo-link {
  text-decoration: none !important;
}

.header-logo-link:hover {
  text-decoration: none !important;
}
.text-secondary {
  color: var(--secondary);
}


/* ============================================
   SISTEMA DE NOTIFICAÇÕES MELHORADO
============================================ */

/* Container das notificações */
.notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 400px;
  pointer-events: none;
}

.notification-container > * + * {
  margin-top: 0.75rem;
}

/* Animações das notificações */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Classes das notificações */
.notification {
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  min-width: 320px;
  max-width: 400px;
  transform: translateX(100%);
  transition: all 0.5s ease-out;
}

.notification.show {
  animation: slideInRight 0.5s ease-out forwards;
  transform: translateX(0);
}

.notification.hide {
  animation: slideOutRight 0.3s ease-in forwards;
}

/* Tipos de notificação */
.notification.success {
  background-color: rgb(240, 253, 244);
  border: 1px solid rgb(187, 247, 208);
  color: rgb(22, 101, 52);
}

.notification.error {
  background-color: rgb(254, 242, 242);
  border: 1px solid rgb(254, 202, 202);
  color: rgb(153, 27, 27);
}

.notification.warning {
  background-color: rgb(255, 251, 235);
  border: 1px solid rgb(253, 230, 138);
  color: rgb(146, 64, 14);
}

.notification.info {
  background-color: rgb(239, 246, 255);
  border: 1px solid rgb(191, 219, 254);
  color: rgb(30, 64, 175);
}

/* Barra de acento */
.notification::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.notification.success::before { background-color: rgb(34, 197, 94); }
.notification.error::before { background-color: rgb(239, 68, 68); }
.notification.warning::before { background-color: rgb(245, 158, 11); }
.notification.info::before { background-color: rgb(59, 130, 246); }

/* Conteúdo da notificação */
.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.5rem;
}

.notification-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification.success .notification-icon { background-color: rgb(220, 252, 231); color: rgb(22, 163, 74); }
.notification.error .notification-icon { background-color: rgb(254, 226, 226); color: rgb(220, 38, 38); }
.notification.warning .notification-icon { background-color: rgb(254, 243, 199); color: rgb(217, 119, 6); }
.notification.info .notification-icon { background-color: rgb(219, 234, 254); color: rgb(37, 99, 235); }

.notification-message {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.notification-close {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  background: transparent;
}

.notification-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Barra de progresso */
.notification-progress {
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
}

.notification-progress-bar {
  height: 100%;
  transition: all linear;
}

.notification.success .notification-progress-bar { background-color: rgb(34, 197, 94); }
.notification.error .notification-progress-bar { background-color: rgb(239, 68, 68); }
.notification.warning .notification-progress-bar { background-color: rgb(245, 158, 11); }
.notification.info .notification-progress-bar { background-color: rgb(59, 130, 246); }

/* Responsivo */
@media (max-width: 640px) {
  .notification-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .notification {
    min-width: auto;
    max-width: none;
  }
}



.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.line-through {
  text-decoration: line-through;
}
/* Classes que estavam faltando */
.bg-secondary {
  background-color: var(--secondary);
}

.text-secondary {
  color: var(--secondary);
}




.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.line-through {
  text-decoration: line-through;
}


body {
  font-family: 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--background);
  max-width: 100vw;
  overflow-x: hidden;
}

/* Typography classes - exact match to original */
.text-display-lg {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.text-display-md {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.text-display-sm { 
  font-size: 2.25rem; 
  line-height: 1.2; 
  font-weight: 600; 
  letter-spacing: -0.025em; 
}

.text-headline-lg { 
  font-size: 2rem; 
  line-height: 1.25; 
  font-weight: 600; 
  letter-spacing: -0.025em; 
}

.text-headline-md { 
  font-size: 1.75rem; 
  line-height: 1.25; 
  font-weight: 600; 
  letter-spacing: -0.02em; 
}

.text-headline-sm {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-title-lg { 
  font-size: 1.375rem; 
  line-height: 1.27; 
  font-weight: 600; 
  letter-spacing: -0.015em; 
}

.text-title-md {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.text-title-sm { 
  font-size: 1rem; 
  line-height: 1.25; 
  font-weight: 600; 
  letter-spacing: -0.01em; 
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
}

.text-body-md { 
  font-size: 1rem; 
  line-height: 1.5; 
  font-weight: 400; 
}

.text-body-sm { 
  font-size: 0.875rem; 
  line-height: 1.43; 
  font-weight: 400; 
}

.text-caption {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Section classes */
.section {
  padding: 5rem 0;
}

.section-compact {
  padding: 4rem 0;
}

.section-hero {
  padding: 6rem 0;
}

/* Section title styling */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 32rem;
  margin: 0 auto;
}

/* Button components - exact match */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: white;
  background-color: var(--primary);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background-color: var(--primary-600);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-50);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-secondary:hover {
  background-color: var(--primary-100);
}

.btn-secondary:active {
  transform: scale(0.95);
}


.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-tertiary:hover {
  background-color: var(--gray-100);
}

.btn-tertiary:active {
  transform: scale(0.95);
}

/* Badge components */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-primary {
  background-color: var(--primary-100);
  color: var(--primary-800);
}

.badge-success {
  background-color: var(--secondary-100);
  color: var(--secondary-800);
}

.badge-warning {
  background-color: var(--primary-100) !important;
  color: var(--primary-800) !important;
  border: 1px solid var(--primary-300) !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  padding: 4px 12px !important;
  font-size: 0.875rem !important;
}

.badge-popular {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Card components */
.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}








.shadow-card {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Form inputs */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  color: var(--gray-900);
  transition: all 0.2s;
  outline: none;
  font-size: 1rem;
}

.input::placeholder {
  color: var(--gray-500);
}

.input:focus {
  background-color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 138, 48, 0.1);
}

.input-lg {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  border-radius: 1rem;
}

/* Container system */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 4rem;
  }
}

/* Navigation */
.nav-link {
  color: var(--gray-600);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 138, 48, 0.1), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-400));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Status indicators */
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-dot-active {
  background-color: #10B981;
  animation: pulse 2s infinite;
}

.status-dot-warning {
  background-color: #F59E0B;
  animation: pulse 2s infinite;
}

.status-dot-info {
  background-color: var(--primary);
  animation: pulse 2s infinite;
}

/* Avatar background colors */
.bg-blue-500 { background-color: #3B82F6; }
.bg-pink-500 { background-color: #EC4899; }
.bg-green-500 { background-color: #10B981; }
.bg-purple-500 { background-color: #8B5CF6; }
.bg-indigo-500 { background-color: #6366F1; }
.bg-yellow-500 { background-color: #EAB308; }

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Grid systems */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.grid-responsive {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Layout utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.space-x-0\.5 > * + * {
  margin-left: 0.125rem;
}

.space-x-1 > * + * {
  margin-left: 0.25rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

/* Sizing */
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }
.w-full { width: 100%; }
.w-px { width: 1px; }

.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-96 { height: 24rem; }
.h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }

.max-w-full { max-width: 100%; }
.max-h-full { max-height: 100%; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }

.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-1\/4 { top: 25%; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-1\/4 { bottom: 25%; }
.left-0 { left: 0; }
.-right-32 { right: -8rem; }
.-left-32 { left: -8rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Margins and Padding */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pr-8 { padding-right: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Colors */
.text-gray-300 { color: var(--gray-300); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }
.text-white { color: white; }
.text-primary { color: var(--primary); }
.text-primary-300 { color: var(--primary-300); }
.text-primary-400 { color: var(--primary-400); }
.text-primary-700 { color: var(--primary-700); }
.text-secondary-600 { color: var(--secondary-600); }
.text-red-500 { color: #ef4444; }
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }

.bg-white { background-color: white; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-primary { background-color: var(--primary); }
.bg-primary-50 { background-color: var(--primary-50); }
.bg-primary-100 { background-color: var(--primary-100); }
.bg-primary-300 { background-color: var(--primary-300); }
.bg-primary-400 { background-color: var(--primary-400); }
.bg-secondary-100 { background-color: var(--secondary-100); }
.bg-secondary-200 { background-color: var(--secondary-200); }
.bg-secondary-300 { background-color: var(--secondary-300); }
.bg-secondary-400 { background-color: var(--secondary-400); }

.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }

/* Border */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-white { border-color: white; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

/* FAQ specific styling */
#duvidas .border-b {
    border-bottom: 1px solid var(--gray-200);
}

#duvidas .last\:border-b-0:last-child {
    border-bottom: none;
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.last\:border-b-0:last-child { border-bottom-width: 0; }

/* Effects */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15)); }

.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

.filter { filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, ); }
.blur-xl { --tw-blur: blur(24px); }

.mix-blend-multiply { mix-blend-mode: multiply; }

.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Transforms */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.scale-95 { --tw-scale-x: 0.95; --tw-scale-y: 0.95; }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.-translate-y-1 { --tw-translate-y: -0.25rem; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Flex */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

/* Max width */
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Object */
.object-contain { object-fit: contain; }

/* Fill */
.fill-current { fill: currentColor; }

/* Focus */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Hover states */
.hover\:bg-gray-50:hover { background-color: var(--gray-50); }
.hover\:bg-primary-50:hover { background-color: var(--primary-50); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }

/* Responsive Design */
@media (max-width: 640px) {
  .text-display-lg { font-size: 2rem; line-height: 1.2; }
  .text-display-md { font-size: 1.75rem; line-height: 1.2; }
  .text-display-sm { font-size: 1.5rem; line-height: 1.25; }
  
  .section-title h2 {
    font-size: 1.875rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-hero {
    padding: 3rem 0;
  }
  
  .container { padding: 0 1rem; }
  .py-16 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-20 { padding-top: 4rem; padding-bottom: 4rem; }
}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:space-y-0 > * + * { margin-top: 0; }
  .md\:space-x-12 > * + * { margin-left: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:flex { display: flex; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:h-20 { height: 5rem; }
  .lg\:w-12 { width: 3rem; }
  .lg\:h-12 { height: 3rem; }
  .lg\:w-7 { width: 1.75rem; }
  .lg\:h-7 { height: 1.75rem; }
  .lg\:text-left { text-align: left; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .lg\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .lg\:text-display-lg { font-size: 4rem; line-height: 1; }
  .lg\:text-title-md { font-size: 1.125rem; line-height: 1.75rem; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:justify-center { justify-content: center; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:max-w-none { max-width: none; }
  .lg\:min-h-0 { min-height: 0; }
  .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:w-80 { width: 20rem; }
}

/* Delay for animations */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-600 {
  animation-delay: 600ms;
}

.delay-700 {
  animation-delay: 700ms;
}

.delay-800 {
  animation-delay: 800ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

/* Additional space utilities */
.-space-x-2 > * + * {
  margin-left: -0.5rem;
}

/* Enhanced hover effects */
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:rotate-12:hover {
  --tw-rotate: 12deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-rotate-12:hover {
  --tw-rotate: -12deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:rotate-2:hover {
  --tw-rotate: 2deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-rotate-2:hover {
  --tw-rotate: -2deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:translate-x-2:hover {
  --tw-translate-x: 0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-translate-y-2:hover {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group-hover\:translate-x-1:hover {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-1 {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bounce:hover {
  animation: bounce 1s infinite;
}

.group-hover\:bounce {
  transition: transform 0.3s ease;
}

.group:hover .group-hover\:bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0,-8px,0);
  }
  70% {
    transform: translate3d(0,-4px,0);
  }
  90% {
    transform: translate3d(0,-2px,0);
  }
}

/* Button hover enhancements */
.btn-primary:hover,
.btn-secondary:hover,
.btn-tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Card hover enhancements */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PRODUTOS SECTION - CLEAN & MINIMALIST 
   ============================================ */

.produtos-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.produtos-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.produtos-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-weight: 500;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary-100);
  font-size: 0.875rem;
}

.produtos-badge i {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.produtos-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.produtos-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.produtos-cta-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

/* Enhanced Tabs */
.produtos-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tabs-container {
  background: white;
  padding: 0.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
}

.tab-button {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.tab-button.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(232, 138, 48, 0.3);
}

.tab-button:disabled {
  color: var(--gray-400);
  cursor: not-allowed;
}

/* Clean Products Grid */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .produtos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Clean Product Cards */
.produto-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--gray-200);
}

.produto-card.popular {
  border: 2px solid var(--primary-200);
  transform: scale(1.02);
}

.produto-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary, #E88A30);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(232, 138, 48, 0.3);
  letter-spacing: 0.025em;
}
/* Card Icon */
.produto-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.produto-icon.primary {
  background: var(--primary-100);
}

.produto-icon.secondary {
  background: var(--secondary-100);
}

.produto-card:hover .produto-icon.primary {
  background: var(--primary-200);
  transform: scale(1.1);
}

.produto-card:hover .produto-icon.secondary {
  background: var(--secondary-200);
  transform: scale(1.1);
}

.produto-icon i {
  width: 2rem;
  height: 2rem;
}

.produto-icon.primary i {
  color: var(--primary);
}

.produto-icon.secondary i {
  color: var(--secondary);
}

/* Card Content */
.produto-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.produto-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Pricing Section */
.produto-pricing {
  margin-bottom: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-discount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.price-old {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.discount-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* CTA Buttons */
.produto-cta {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.produto-cta.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(232, 138, 48, 0.2);
}

.produto-cta.primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.produto-cta.secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 2px 4px rgba(77, 153, 153, 0.2);
}

.produto-cta.secondary:hover {
  background: var(--secondary-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(77, 153, 153, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .produtos-section {
    padding: 60px 0;
  }

  .produtos-title {
    font-size: 1.875rem;
  }

  .produtos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .produto-card {
    padding: 1.5rem;
  }

  .tabs-container {
    flex-direction: column;
    gap: 0.25rem;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    text-align: center;
  }
}

/* Single Product Row (for Empresarial) */
.produto-single {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.produto-single .produto-card {
  max-width: 20rem;
}


/* Mobile menu positioning fixes */
.fixed {
  position: fixed !important;
}

.translate-y-\[-100\%\] {
  --tw-translate-y: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Additional utility classes */
.bg-gray-900\/50 {
  background-color: rgba(17, 24, 39, 0.5);
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.group-hover\:scale-110 {
  transition: transform 0.3s ease;
}

.group:hover .group-hover\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group-hover\:shadow-xl {
  transition: box-shadow 0.3s ease;
}

.group:hover .group-hover\:shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.group-hover\:bg-primary-600 {
  transition: background-color 0.3s ease;
}

.group:hover .group-hover\:bg-primary-600 {
  background-color: var(--primary-600);
}

.group-hover\:text-primary {
  transition: color 0.3s ease;
}

.group:hover .group-hover\:text-primary {
  color: var(--primary);
}

.group-hover\:text-gray-700 {
  transition: color 0.3s ease;
}

.group:hover .group-hover\:text-gray-700 {
  color: var(--gray-700);
}

.group-hover\:rotate-12 {
  transition: transform 0.3s ease;
}

.group:hover .group-hover\:rotate-12 {
  --tw-rotate: 12deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Fix minimum height */
.min-h-\[420px\] {
  min-height: 420px;
}

/* Enhanced accessibility */
.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px var(--primary-300);
}

.focus\:ring-offset-2:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-300);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.2s ease;
}

/* Improved button states */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

button:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}
/* ============================================
   FAQ SECTION - CLEAN & MINIMALIST
   ============================================ */

.faq-section {
  padding: 80px 0;
  background: white;
}

.faq-item {
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background-color: #fafafa;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  outline: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question:focus {
  outline: none;
  color: var(--primary);
}

.faq-question h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: inherit;
  margin: 0;
  padding-right: 2rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-question:hover .faq-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.faq-answer {
  padding: 0 0 2rem 0;
  display: none;
  animation: fadeInDown 0.3s ease-out;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
  max-width: 90%;
}

/* Smooth animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .faq-question {
    padding: 1.5rem 0;
  }

  .faq-question h3 {
    font-size: 1.125rem;
    padding-right: 1rem;
  }

  .faq-answer {
    padding: 0 0 1.5rem 0;
  }

  .faq-answer p {
    font-size: 0.95rem;
    max-width: 95%;
  }
}

/* Enhanced hover states */
.faq-item:hover .faq-question h3 {
  color: var(--primary);
}

.faq-item:hover .faq-icon {
  color: var(--primary);
}

/* Focus styles for accessibility */
.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 25%;
    right: -200px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse-bg 3s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: -200px;
    width: 400px;
    height: 400px;
    background: rgba(77, 153, 153, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse-bg 3s ease-in-out infinite 1.5s;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.75;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.25);
    color: var(--primary);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.trust-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.trust-text {
    text-align: center;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.trust-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.social-proof {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-proof {
        flex-direction: row;
        gap: 3rem;
    }
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
    margin-left: -0.5rem;
}

.avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar:nth-child(1) { background: var(--primary-light); }
.avatar:nth-child(2) { background: var(--secondary); }
.avatar:nth-child(3) { background: var(--primary); }
.avatar:nth-child(4) { background: var(--secondary-light); }

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.star-filled {
    width: 1.5rem;
    height: 1.5rem;
    color: #fbbf24;
    fill: currentColor;
}

.social-proof-text {
    text-align: left;
}

.social-proof-number {
    font-size: 1.25rem;
    font-weight: bold;
}

.social-proof-label {
    font-size: 0.875rem;
    opacity: 0.8;
}



/* ============================================
  PAYMENT METHODS SECTION - CLEAN & COMPACT
  ============================================ */

.payment-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 138, 48, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.payment-section::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(77, 153, 153, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

/* Header Section */
.payment-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.payment-badge i {
  width: 0.875rem;
  height: 0.875rem;
}

.payment-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.payment-description {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.5;
}

/* Single Row Payment Methods */
.payment-methods-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .payment-methods-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .payment-methods-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.payment-method {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 1rem;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  cursor: pointer;
}

.payment-method:hover {
  transform: translateY(-4px);
  border-color: var(--primary-200);
  box-shadow: 0 8px 20px rgba(232, 138, 48, 0.15);
}

.payment-method.featured {
  border-color: var(--primary-200);
  background: linear-gradient(135deg, var(--primary-50), white);
}

.payment-method.featured:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(232, 138, 48, 0.25);
}

.payment-method.popular {
  border-color: var(--secondary-200);
  background: linear-gradient(135deg, var(--secondary-50), white);
  position: relative;
}

.payment-method.popular:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 25px rgba(77, 153, 153, 0.25);
}

/* Popular Indicator */
.popular-indicator {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  background: var(--secondary);
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(77, 153, 153, 0.3);
}

/* Method Icon */
.method-icon {
  width: 3.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.method-icon.pix {
  background: linear-gradient(135deg, #32d18e, #10b981);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.payment-method:hover .method-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-method.popular:hover .method-icon.pix {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

/* Method Label */
.method-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: auto;
}

.payment-method.featured .method-label {
  color: var(--primary-700);
}

.payment-method.popular .method-label {
  color: var(--secondary-700);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .payment-section {
    padding: 50px 0;
  }

  .payment-title {
    font-size: 1.75rem;
  }

  .payment-method {
    padding: 1rem 0.5rem;
    min-height: 100px;
  }

  .method-icon {
    width: 3rem;
    height: 2rem;
  }

  .method-label {
    font-size: 0.75rem;
  }

  .popular-indicator {
    font-size: 0.4rem;
    padding: 0.125rem 0.375rem;
  }
}

/* Enhanced hover effects */
.payment-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.payment-method:hover::before {
  left: 100%;
}

/* Focus states for accessibility */
.payment-method:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Additional animation delays for the steps */
.animate-fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced step circle hover effect */
.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.payment-method {
  animation: slideInUp 0.5s ease-out;
}
/* ============================================
   AUTH MODAL - DESIGN SYSTEM COMPLETO
   ============================================ */

/* Modal Container */
.auth-modal-content {
  position: relative;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 28rem;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleIn 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Header */
.auth-modal-header {
  position: relative;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  flex-shrink: 0;
}

.auth-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.auth-header-content {
  text-align: center;
  color: white;
}

.auth-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Modal Body */
.auth-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  -webkit-overflow-scrolling: touch;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Groups */
.auth-basic-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-extended-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row .flex-1 {
  grid-column: span 1;
}

.form-row .flex-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-row .flex-2 {
    grid-column: span 1;
  }
}

/* Form Labels */
.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.form-label-simple {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 138, 48, 0.1);
  transform: translateY(-1px);
}

/* Form Sections */
.form-section {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.form-section-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Error Messages */
.auth-error {
  animation: scaleIn 0.3s ease-out;
}

.auth-error-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Demo Info */
.auth-demo {
  margin-top: 0.5rem;
}

.auth-demo-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 12px;
}

.auth-demo-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.auth-demo-text {
  font-size: 0.8rem;
  color: var(--primary-700);
  margin-bottom: 0.25rem;
}

.auth-demo-example {
  font-size: 0.75rem;
  color: var(--primary-600);
  font-family: monospace;
  font-weight: 500;
}

/* Modal Footer */
.auth-modal-footer {
  padding: 1.5rem 2rem 2rem;
  background: white;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.auth-submit-btn:hover:not(:disabled) {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 138, 48, 0.4);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Switch Mode */
.auth-switch {
  margin-top: 1.5rem;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin-bottom: 1rem;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.auth-divider span {
  background: white;
  padding: 0 1rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.auth-switch-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-switch-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* ============================================
   CHECKOUT PAGE CART MODAL STYLING
   Override layout modal to match Profile modal EXACTLY
   ============================================ */

/* Cart Modal Base - Override layout */
.checkout-layout #cart-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 50 !important;
  overflow: hidden !important;
}

/* Backdrop - EXACT Profile styling */
.checkout-layout #cart-modal .absolute.inset-0 {
  position: absolute !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(4px) !important;
  transition: opacity 0.3s ease !important;
}

/* Modal Container - EXACT Profile styling */
.checkout-layout #cart-modal .absolute.right-4.top-4.bottom-4 {
  position: absolute !important;
  right: 1rem !important;
  top: 1rem !important;
  max-height: calc(100vh - 2rem) !important;
  width: 100% !important;
  max-width: 28rem !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(24px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  border-radius: 1rem !important;
  transform: translateX(0) !important;
  transition: all 0.3s ease !important;
  border: none !important;
  bottom: auto !important;
}

/* Remove layout-specific styling that conflicts */
.checkout-layout #cart-modal .cart-modal-content {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Animation support */
.checkout-layout #cart-modal:not(.hidden) .absolute.right-4 {
  animation: slideInFromRight 0.3s ease-out forwards !important;
}

.checkout-layout #cart-modal.hidden .absolute.right-4 {
  animation: slideOutToRight 0.3s ease-in forwards !important;
}

.checkout-layout #cart-modal:not(.hidden) .absolute.inset-0 {
  animation: scaleIn 0.3s ease-out !important;
}

/* Button styling - EXACT Profile styling */
.checkout-layout #cart-modal .btn-primary {
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

.checkout-layout #cart-modal .btn-primary:hover {
  background: var(--primary-600) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.checkout-layout #cart-modal .btn-tertiary {
  background: var(--gray-100) !important;
  color: var(--gray-700) !important;
  border: 1px solid var(--gray-200) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.checkout-layout #cart-modal .btn-tertiary:hover {
  background: var(--gray-50) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.checkout-layout #cart-modal .btn-secondary {
  background: var(--primary-50) !important;
  color: var(--primary-700) !important;
  border: 1px solid var(--primary-200) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.checkout-layout #cart-modal .btn-secondary:hover {
  background: var(--primary-100) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Typography - Match Profile exactly */
.checkout-layout #cart-modal .text-title-lg {
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
  font-weight: 700 !important;
}

.checkout-layout #cart-modal .text-body-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.checkout-layout #cart-modal .text-title-md {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  font-weight: 600 !important;
}

.checkout-layout #cart-modal .text-body-md {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

/* Checkout Cart Modal Mobile Responsiveness */
@media (max-width: 640px) {
  .checkout-layout #cart-modal .absolute.right-4 {
    right: 0.75rem !important;
    left: 0.75rem !important;
    top: 0.75rem !important;
    max-width: none !important;
    width: auto !important;
    max-height: calc(100vh - 1.5rem) !important;
  }
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .auth-modal-content {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    margin: 1rem;
    border-radius: 20px;
  }

  .auth-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .auth-modal-body {
    padding: 1.5rem;
  }

  .auth-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
  }

  .auth-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
  }

  .auth-title {
    font-size: 1.25rem;
  }

  .form-section {
    padding: 1rem;
  }
}

@media (max-height: 700px) {
  .auth-modal-content {
    max-height: calc(100vh - 1rem);
  }

  .auth-modal-header {
    padding: 1.25rem 2rem 0.75rem;
  }

  .auth-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
  }

  .auth-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
}

/* Loading States */
.auth-submit-btn .animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Focus States for Accessibility */
.auth-close-btn:focus,
.form-input:focus,
.auth-submit-btn:focus,
.auth-switch-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth Animations */
.auth-modal-content {
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .auth-modal-content {
    border: 2px solid var(--gray-900);
  }

  .form-input {
    border-width: 2px;
  }

  .form-input:focus {
    border-width: 3px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .auth-modal-content,
  .form-input,
  .auth-submit-btn,
  .auth-switch-btn,
  .register-step,
  .progress-step {
    animation: none;
    transition: none;
  }
}

/* ========== MULTI-STEP REGISTER SYSTEM ========== */

/* Progress Indicator */
.register-progress {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.progress-step.active {
  opacity: 1;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.progress-step.active .step-number {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.step-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

.progress-connector {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  border-radius: 1px;
  max-width: 3rem;
}

/* Register Steps */
.register-step {
  display: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.register-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.register-step.hidden {
  display: none;
}

/* Step Navigation */
.register-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.prev-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.prev-btn:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.next-btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.next-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn.hidden {
  display: none !important;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .register-progress {
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .progress-steps {
    gap: 0.5rem;
  }

  .step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .step-label {
    font-size: 0.625rem;
  }

  .progress-connector {
    max-width: 2rem;
  }

  .register-navigation {
    margin-top: 1rem;
    padding: 0;
    gap: 0.75rem;
  }

  .nav-btn {
    flex: 1;
    justify-content: center;
    padding: 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
  }

  .prev-btn {
    flex: 0.8;
  }

  .next-btn {
    flex: 1.2;
  }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
  .progress-steps {
    gap: 1.5rem;
  }

  .progress-connector {
    max-width: 4rem;
  }

  .register-navigation {
    padding: 0 1rem;
  }

  .nav-btn {
    padding: 0.875rem 2rem;
  }
}

.payment-method:nth-child(1) { animation-delay: 0.1s; }
.payment-method:nth-child(2) { animation-delay: 0.15s; }
.payment-method:nth-child(3) { animation-delay: 0.2s; }
.payment-method:nth-child(4) { animation-delay: 0.25s; }
.payment-method:nth-child(5) { animation-delay: 0.3s; }
.payment-method:nth-child(6) { animation-delay: 0.35s; }

/* Enhanced hover effects */
.payment-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.payment-method:hover::before {
  left: 100%;
}

/* Focus states for accessibility */
.payment-method:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Scrollbar hide para mobile */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Classes de texto do sistema de design - correcting existing ones */
.text-display-md { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.text-display-lg { font-size: 3rem; line-height: 1.2; font-weight: 700; }
.text-headline-sm { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.text-title-md { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.text-body-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }
.text-caption { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }

/* Additional grid utilities */




/* Line-through utility */
.line-through {
    text-decoration: line-through;
}

/* ============================================
   FOOTER - MODERN & CLEAN DESIGN
   ============================================ */

.footer-modern {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.5fr 2fr;
    gap: 6rem;
  }
}

/* Brand Section */
.footer-brand {
  max-width: 24rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.logo-img {
  height: 3rem;
  width: auto;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.brand-accent {
  color: var(--primary);
}

.brand-description {
  color: #d1d5db;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #d1d5db;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.social-link i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.column-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.column-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.925rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
  transform: translateX(0.25rem);
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-link:hover::before {
  width: 0.25rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(232, 138, 48, 0.1);
  border-radius: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-icon i {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text span {
  color: #d1d5db;
  font-size: 0.925rem;
  line-height: 1.5;
}

/* Trust Indicators */
.footer-trust {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 138, 48, 0.3);
  transform: translateY(-2px);
}

.trust-item .trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(232, 138, 48, 0.1);
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.trust-item .trust-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-weight: 600;
  color: white;
  font-size: 0.925rem;
  margin-bottom: 0.25rem;
}

.trust-subtitle {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    gap: 0;
  }
}

.copyright p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

.footer-policies {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.policy-link:hover {
  color: var(--primary);
}

.separator {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .footer-modern {
    padding: 60px 0 0;
  }

  .footer-main {
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-item {
    padding: 0.75rem;
  }

  .brand-logo {
    justify-content: center;
    text-align: center;
  }

  .brand-description {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column {
  animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced accessibility */
.footer-link:focus,
.social-link:focus,
.policy-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   CONSULTAS PAGE - DESIGN SYSTEM COMPLETO
   ============================================ */

/* Tab Navigation */
.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tab-button:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.tab-button.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.tab-button i {
  transition: transform 0.2s ease;
}

.tab-button:hover i {
  transform: scale(1.1);
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* Consultation Cards */
.consultation-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.consultation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.consultation-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Styling */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 138, 48, 0.1);
  transform: translateY(-1px);
}

.input-help {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-500);
  font-size: 0.75rem;
}

/* Consultation Buttons */
.btn-consultation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 3.5rem;
}

.btn-consultation.primary {
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 138, 48, 0.4);
}

.btn-consultation.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 138, 48, 0.5);
}

.btn-consultation.secondary {
  background: linear-gradient(135deg, var(--secondary), #3d7a7a);
  color: white;
  box-shadow: 0 4px 14px rgba(77, 153, 153, 0.4);
}

.btn-consultation.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(77, 153, 153, 0.5);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-consultation:hover .btn-shine {
  left: 100%;
}

/* Result Card */
.result-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
}

.result-header {
  background: linear-gradient(135deg, var(--gray-50), white);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-100);
}

.result-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.result-status.success {
  color: #10b981;
}

.result-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.result-type {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1rem;
}

.result-param {
  font-family: monospace;
  color: var(--gray-600);
  font-size: 0.875rem;
  background: var(--gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  align-self: flex-start;
}

/* Result Tabs */
.result-tabs {
  display: flex;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.result-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.result-tab:hover {
  color: var(--primary);
  background: white;
}

.result-tab.active {
  color: var(--primary);
  background: white;
  border-bottom-color: var(--primary);
}

/* Result Views */
.result-body {
  padding: 2rem;
}

.result-view {
  display: none;
}

.result-view.active {
  display: block;
}

.formatted-json,
.raw-json {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

/* Result Actions */
.result-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: white;
  border-radius: 1.5rem;
  border: 2px dashed var(--gray-200);
}

.empty-icon {
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.empty-description {
  color: var(--gray-600);
  max-width: 28rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid.lg\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  .tab-button span {
    display: none;
  }

  .consultation-card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-tabs {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading States */
.btn-consultation:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-consultation:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================
   RESULTADO FORMATADO - DESIGN SYSTEM
   ============================================ */

/* Container dos Dados Formatados */
.result-data-container {
  padding: 0;
}

/* Cards de Dados */
.data-section {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-100);
  transition: all 0.2s ease;
}

.data-section:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-section:last-child {
  margin-bottom: 0;
}

/* Títulos das Seções */
.data-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-100);
}

.data-section-icon {
  width: 2rem;
  height: 2rem;
  background: var(--primary-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Grid de Dados */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .data-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Items de Dados */
.data-item {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.data-item:hover {
  border-color: var(--primary-200);
  box-shadow: 0 2px 8px rgba(232, 138, 48, 0.1);
  transform: translateY(-1px);
}

.data-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.data-item:hover::before {
  opacity: 1;
}

/* Labels dos Dados */
.data-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Valores dos Dados */
.data-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  word-break: break-word;
}

/* Tipos Especiais de Dados */
.data-value.boolean-true {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-value.boolean-false {
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-value.date {
  color: var(--primary);
  font-family: monospace;
}

.data-value.url {
  color: var(--secondary);
  word-break: break-all;
  cursor: pointer;
  text-decoration: underline;
}

.data-value.email {
  color: var(--secondary);
  word-break: break-all;
  cursor: pointer;
  text-decoration: underline;
}

.data-value.phone {
  color: var(--primary);
  font-family: monospace;
}

.data-value.number {
  color: var(--primary-700);
  font-family: monospace;
  font-weight: 700;
}

.data-value.text {
  color: var(--gray-900);
}

.data-value.long-text {
  background: var(--gray-50);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  font-weight: 400;
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* Status Indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-indicator.success {
  background: #dcfce7;
  color: #166534;
}

.status-indicator.error {
  background: #fee2e2;
  color: #dc2626;
}

.status-indicator.warning {
  background: #fef3c7;
  color: #d97706;
}

.status-indicator.info {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* Icons para tipos de dados */
.data-type-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Dados Destacados */
.data-item.highlight {
  background: linear-gradient(135deg, var(--primary-50), white);
  border-color: var(--primary-200);
}

.data-item.highlight .data-label {
  color: var(--primary-700);
}

.data-item.highlight .data-value {
  color: var(--primary-900);
}

/* Animações */
.data-item {
  animation: slideInUp 0.3s ease-out;
}

.data-item:nth-child(1) { animation-delay: 0.05s; }
.data-item:nth-child(2) { animation-delay: 0.1s; }
.data-item:nth-child(3) { animation-delay: 0.15s; }
.data-item:nth-child(4) { animation-delay: 0.2s; }
.data-item:nth-child(5) { animation-delay: 0.25s; }
.data-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media (max-width: 640px) {
  .data-section {
    padding: 1rem;
  }

  .data-section-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .data-item {
    padding: 0.75rem;
  }

  .data-label {
    font-size: 0.8rem;
  }

  .data-value {
    font-size: 0.95rem;
  }
}

/* Estados de Loading */
.data-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--gray-500);
}

.data-loading i {
  width: 2rem;
  height: 2rem;
  animation: spin 1s linear infinite;
  margin-right: 0.75rem;
}

/* Estados de Erro */
.data-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: #dc2626;
}

.data-error i {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  color: #ef4444;
}







/* Header Fixo - Desktop: apenas sidebar, Mobile: tela toda - Scale aplicado individualmente */
.profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px; /* Altura original */
  background: white;
  border-bottom: 1px solid var(--gray-200);
  z-index: 995;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Profile-specific header (sidebar width) - Scale aplicado individualmente */
.profile-layout:not(.checkout-layout) .profile-header {
  width: 340px; /* Largura original */
  right: auto;
  transform: scale(0.75); /* Scale aplicado individualmente */
  transform-origin: top left; /* Origem da transformação */
}

/* ✅ CORREÇÃO: Sobrescrever width fixo no mobile */
@media (max-width: 768px) {
  .profile-layout:not(.checkout-layout) .profile-header {
    width: 100% !important;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-line:not(:last-child) {
  margin-bottom: 4px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Cart Button Styling */
.cart-btn {
  margin-left: auto;
  border: none;
  cursor: pointer;
  background: transparent;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn:hover {
  background-color: #f3f4f6;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.mobile-menu-open {
  display: flex;
  opacity: 1;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  border-radius: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.mobile-menu-overlay.mobile-menu-open .mobile-menu-content {
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  border-radius: 0;
}

.mobile-menu-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-items {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: flex-start;
}

/* Mobile Saldo Section */
.mobile-saldo-section {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.mobile-saldo-section .saldo-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-saldo-section .saldo-valor {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}

.mobile-comprar-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-comprar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

/* Mobile Sidebar Menu */
.mobile-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-menu-item:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  transform: translateX(4px);
}

.mobile-menu-item.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(232, 138, 48, 0.3);
}

.mobile-logout-btn {
  color: #dc2626 !important;
  border-top: 1px solid var(--gray-200);
  margin-top: 1rem;
  padding-top: 1rem;
}

.mobile-logout-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

/* Mobile Menu Dropdown */
.mobile-menu-item-dropdown {
  position: relative;
}

.mobile-menu-item-with-dropdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
  font-weight: 500;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  justify-content: space-between;
}

.mobile-menu-item-with-dropdown:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.mobile-menu-item-with-dropdown.active {
  background: var(--primary);
  color: white;
}

.mobile-submenu-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-50);
  margin: 0.5rem 1rem 0 1rem;
  border-radius: 0.5rem;
  border-left: 2px solid var(--primary);
}

.mobile-submenu-dropdown.open {
  max-height: 200px;
}

.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  margin: 0.25rem;
}

.mobile-submenu-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(2px);
}

/* Mobile Policy Links */
.mobile-policy-links {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.mobile-policy-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mobile-policy-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  text-align: center;
}

.mobile-policy-link:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.mobile-policy-link i {
  width: 1rem;
  height: 1rem;
}

/* Hide desktop sidebar on mobile */
.desktop-sidebar {
  display: block;
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-active {
  overflow: hidden;
}

/* Checkout Page Mobile Layout */
.checkout-layout {
  min-height: 100vh;
}

.checkout-content-mobile {
  padding-top: 80px; /* Space for fixed header */
}

@media (max-width: 768px) {
  .checkout-content-mobile {
    padding-top: 70px; /* Reduced space for mobile header */
  }
  
  .checkout-header {
    padding: 1rem;
    text-align: center;
  }
  
  .checkout-title {
    font-size: 1.5rem;
  }
  
  .checkout-subtitle {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
}

/* Sidebar Fixa com espaço para header - Scale aplicado individualmente */
.profile-sidebar {
  width: 340px; /* Largura original */
  background: white;
  border-right: 1px solid var(--gray-200);
  position: fixed;
  top: 80px; /* Top original */
  left: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transform: scale(0.75); /* Scale aplicado individualmente */
  transform-origin: top left; /* Origem da transformação */
}

/* Seção do topo - sem cart e profile, apenas saldo */
.sidebar-fixed-top {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem; /* Reduzido para dar mais espaço à navegação */
  background: white;
  border-bottom: 1px solid var(--gray-100);
}

/* Seção do meio - SEM SCROLL - OCUPA TODO ESPAÇO NECESSÁRIO */
.sidebar-scrollable-middle {
  flex: 1;
  overflow-y: visible !important;
  overflow-x: hidden;
  padding: 0.75rem 1.5rem;
  background: white;
  min-height: auto;
}


/* Conteúdo principal com margem correta - Scale aplicado individualmente */
.profile-main {
  margin-left: 255px; /* Largura efetiva da sidebar: 340px × 0.75 = 255px */
  margin-top: 0; /* Removido margin-top para aparecer imediatamente */
  padding: 2rem; /* Padding original */
  background: var(--gray-50);
  overflow-y: visible;
  min-height: auto;
  transform: scale(0.75); /* Scale aplicado individualmente */
  transform-origin: top left; /* Origem da transformação */
  width: calc((100vw - 255px) / 0.75); /* Compensar scale para ocupar 100% da área após transform */
  max-width: 100vw; /* Segurança contra overflow */
}

/* Títulos centralizados */
.main-header {
  margin-bottom: 2rem;
  text-align: center;
}

.main-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.main-header p {
  text-align: center;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Policy links na base - EMPURRADAS PARA O FUNDO */
.sidebar-fixed-bottom {
  margin-top: auto; /* ← CHAVE: Empurra para o fundo da sidebar */
  flex-shrink: 0;
  padding: 0.25rem 1.5rem 0.25rem 1.5rem;
  background: white;
  border-top: 1px solid var(--gray-100);
}

.logout-btn {
  color: #dc2626 !important;
  margin-bottom: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.policy-section-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.125rem 0 0.25rem 0;
}

.policy-links-header {
  font-size: 0.6rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.policy-links {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

.policy-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: #9ca3af;
  font-size: 0.6rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.policy-link:hover {
  background-color: #f9fafb;
  color: #6b7280;
  transform: translateX(2px);
}

.policy-link i {
  width: 0.75rem;
  height: 0.75rem;
}

/* ============================================
   RESPONSIVO MOBILE
   ============================================ */

@media (max-width: 768px) {
  .profile-header {
    height: 60px;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .header-content {
    padding: 0 1rem;
  }
  
  /* Ensure profile header maintains flex row layout on mobile */
  .profile-header .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 60px;
    max-width: none !important; /* ✅ CORREÇÃO: Remove limitação de largura no mobile apenas para Profile */
  }
  
  /* Ensure header actions stay on the right */
  .profile-header .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  
  /* Force mobile menu button to be visible on mobile in checkout/profile */
  .profile-header .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
  }
  
  /* Ensure cart button is visible in checkout/profile */
  .profile-header .cart-btn {
    display: flex !important;
    position: relative;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .profile-header .cart-btn:hover {
    background-color: #f3f4f6;
  }
  
  /* Ensure consistent cart button styling across all breakpoints */
  .profile-header .cart-btn {
    border: none;
    cursor: pointer;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  /* Show mobile menu button on mobile */
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hide desktop sidebar on mobile */
  .desktop-sidebar {
    display: none;
  }
  
  /* Adjust main content to use full width on mobile - removed duplicate rule */
  
  .profile-sidebar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  /* profile-main rule removed - duplicate handled in consolidated mobile section */


  .sidebar-scrollable-middle {
    overflow: visible;
    padding: 1rem 1.5rem;
  }

  .main-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
  }
}



/* Ensure smooth scrolling and proper spacing */
.sidebar-menu {
  margin-bottom: 0; /* Remove bottom margin since we're now in a scrollable container */
}

.sidebar-menu .menu-item,
.sidebar-menu .menu-item-dropdown {
  margin-bottom: 0.25rem;
}

/* Policy links positioned below sidebar */
.policy-links-container {
  margin-top: 1rem; /* Small gap between sidebar and policy links */
}

/* Sidebar Components */
.sidebar-header {
  margin-bottom: 2rem;
}

.saldo-section {
  background: linear-gradient(135deg, var(--primary, #E88A30), #dc7a1f);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.saldo-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.saldo-valor {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.btn-comprar {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-comprar:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-menu {
  margin-bottom: 2rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--gray-600, #6b7280);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}

.menu-item:hover {
  background: var(--gray-100, #f3f4f6);
  color: var(--gray-900, #111827);
}

.menu-item.active {
  background: var(--primary, #E88A30);
  color: white;
}

/* Main Content */
.main-header {
  margin-bottom: 2rem;
}

.main-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consultas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .consultas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .consultas-grid {
    grid-template-columns: 1fr;
  }
}

.consulta-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200, #e5e7eb);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative; /* ← ESTA É A CORREÇÃO PRINCIPAL */
  overflow: visible; /* ← Permite que o badge apareça fora do card */
}
.consulta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Card Components */
.card-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ver-modelo-link {
  color: var(--primary, #E88A30);
  font-size: 0.875rem;
  text-decoration: none;
}

.card-badge {
  background: var(--primary-100, #FDEAD3);
  color: var(--primary-700, #B8651A);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-badge.popular {
  background: var(--primary, #E88A30);
  color: white;
}

.card-badge.gravame {
  background: var(--secondary, #4D9999);
  color: white;
  border: 1px solid var(--secondary-300, #7DD3D3);
}

.card-badge.empresarial {
  background: #1e40af;
  color: white;
  border: 1px solid #3b82f6;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  margin-bottom: 0.75rem;
}

.card-description {
  color: var(--gray-600, #6b7280);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600, #6b7280);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.price-section {
  margin-bottom: 1.5rem;
}

.price-old {
  color: var(--gray-400, #9ca3af);
  text-decoration: line-through;
  font-size: 0.875rem;
}

.price-current {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary, #E88A30);
}

.price-period {
  color: var(--gray-600, #6b7280);
  font-size: 0.875rem;
}

.btn-consultar {
  background: var(--primary, #E88A30);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-consultar:hover {
  background: var(--primary-600, #dc7a1f);
  transform: translateY(-2px);
}

.btn-consultar.secondary {
  background: var(--secondary, #4D9999);
}

.btn-consultar.secondary:hover {
  background: var(--secondary-600, #3d7a7a);
}

/* Histórico */
.historico-view {
  display: none;
}

.historico-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-voltar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100, #f3f4f6);
  color: var(--gray-700, #374151);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.historico-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200, #e5e7eb);
  text-align: center;
}

.stats-card-label {
  color: var(--gray-600, #6b7280);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.stats-card-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary, #E88A30);
}

/* Histórico Container */
.historico-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.historico-subtitle {
  color: var(--gray-600, #6b7280);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Consultas List */
.consultas-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.consulta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.consulta-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.consulta-type-badge {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.consulta-type-badge.premium {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.consulta-type-badge.gravame {
  background: linear-gradient(135deg, var(--secondary-500), var(--secondary-600));
  color: white;
  border: 1px solid var(--secondary-300);
}

.consulta-type-badge.empresarial {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: white;
  border: 1px solid #3b82f6;
}

.consulta-type-badge.basica {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: 1px solid #34d399;
}

.consulta-type-badge.intermediaria {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: 1px solid #60a5fa;
}

.consulta-details h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900, #111827);
  margin-bottom: 0.5rem;
}

.consulta-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600, #6b7280);
  font-size: 0.875rem;
}

.consulta-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.consulta-custo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #E88A30);
}

.consulta-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 1rem;
  border: 2px dashed var(--gray-300, #d1d5db);
}

.empty-icon {
  font-size: 4rem;
  color: var(--gray-400, #9ca3af);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900, #111827);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-600, #6b7280);
  margin-bottom: 2rem;
}

/* Mobile responsiveness for historico */
@media (max-width: 768px) {
  .historico-container {
    padding: 1rem;
  }
  
  .consulta-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .consulta-status {
    align-items: flex-start;
  }
  
  .consulta-actions {
    justify-content: flex-start;
  }
}

/* ============================================
   RESPONSIVO MÓVEL CORRIGIDO
   ============================================ */

@media (max-width: 768px) {
  .profile-sidebar.desktop-sidebar {
    display: none;
  }

  /* profile-main rule removed - duplicate handled in consolidated mobile section */
  
  .profile-layout {
    /* Removed problematic transform scale that caused unnecessary scroll */
    /* transform: scale(0.9);
    transform-origin: top left;
    width: 111%; */
  }
}


/* ============================================
   PROFILE DROPDOWN - DESIGN SYSTEM COMPLETO
   ============================================ */

.profile-dropdown {
  position: relative;
  margin-bottom: 2rem;
}

.dropdown-trigger {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-50), white);
  border: 2px solid var(--primary-100);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.dropdown-trigger:hover {
  background: linear-gradient(135deg, var(--primary-100), white);
  border-color: var(--primary-200);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.15);
}

.dropdown-trigger.active {
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dropdown-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(232, 138, 48, 0.3);
  transition: all 0.3s ease;
}

.dropdown-trigger:hover .dropdown-avatar {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.4);
}

.dropdown-trigger.active .dropdown-avatar {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.dropdown-user-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.2;
}

.dropdown-trigger.active .dropdown-user-details h4 {
  color: white;
}

.dropdown-user-details span {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1;
}

.dropdown-trigger.active .dropdown-user-details span {
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
  transition: all 0.3s ease;
  transform-origin: center;
  margin-left: auto;
  /* Seta aponta para BAIXO por padrão (fechado) */
}

.dropdown-trigger:hover .dropdown-arrow {
  color: var(--primary);
}

.dropdown-trigger.active .dropdown-arrow {
  color: white;
  transform: rotate(180deg);
}

/* ============================================
   SIDEBAR DROPDOWN - MEU PERFIL
   ============================================ */

.menu-item-dropdown {
  position: relative;
}

.menu-item-with-dropdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--gray-600, #6b7280);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: inherit;
}

.menu-item-with-dropdown:hover {
  background: var(--gray-100, #f3f4f6);
  color: var(--gray-900, #111827);
}

.menu-item-with-dropdown.active {
  background: var(--primary, #E88A30);
  color: white;
}

.menu-item-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

/* ============================================
   SIDEBAR DROPDOWN - CORREÇÃO DA SETA
   ============================================ */

.dropdown-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
  transition: all 0.3s ease;
  transform-origin: center;
  margin-left: auto;
  /* Seta aponta para BAIXO por padrão (fechado) */
}

.menu-item-with-dropdown:hover .dropdown-arrow {
  color: var(--gray-600);
}

.menu-item-with-dropdown.active .dropdown-arrow {
  color: white;
}

/* Quando ABERTO, roda 180 graus para apontar para CIMA */
.menu-item-with-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Submenu Dropdown */
.submenu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 0.5rem;
}

.submenu-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 1rem;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 10;
}

.submenu-items {
  padding: 0.5rem;
}

.submenu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.submenu-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(2px);
}

.submenu-item.logout {
  border-top: 1px solid var(--gray-100);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.submenu-item.logout:hover {
  background: #fee2e2;
  color: #dc2626;
}

.submenu-item.logout:hover .submenu-item-icon {
  color: #dc2626;
}

.submenu-item-icon {
  width: 1rem;
  height: 1rem;
  color: var(--gray-500);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.submenu-item:hover .submenu-item-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.submenu-item-text {
  flex: 1;
  font-weight: 500;
}

.submenu-item-badge {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.65rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.submenu-item:hover .submenu-item-badge {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* Animações dos itens do submenu */
.submenu-item {
  animation: slideInLeft 0.3s ease-out;
  animation-fill-mode: both;
}

.submenu-dropdown.open .submenu-item:nth-child(1) { animation-delay: 0.05s; }
.submenu-dropdown.open .submenu-item:nth-child(2) { animation-delay: 0.1s; }
.submenu-dropdown.open .submenu-item:nth-child(3) { animation-delay: 0.15s; }
.submenu-dropdown.open .submenu-item:nth-child(4) { animation-delay: 0.2s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .submenu-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0.5rem 0 0 1rem;
    background: var(--gray-50);
    border-left: 2px solid var(--primary);
  }

  .submenu-dropdown::before {
    display: none;
  }

  .submenu-items {
    padding: 0.75rem;
  }

  .submenu-item {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
  }
}

/* Estados de foco para acessibilidade */
.menu-item-with-dropdown:focus,
.submenu-item:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth transition quando submenu fecha */
.submenu-dropdown:not(.open) .submenu-item {
  animation: none;
}

/* Indicador de hover suave */
.submenu-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
  border-radius: 1px;
}

.submenu-item:hover::before {
  transform: scaleY(1);
}

/* Backdrop para fechar dropdown em desktop */
.dropdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.dropdown-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Estilo especial para o botão Sair */
.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.sidebar-footer .menu-item {
  color: #dc2626 !important;
  border-top: 1px solid var(--gray-200);
  margin-top: 1rem;
  padding-top: 1rem;
}

.sidebar-footer .menu-item:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}



/* Profile page specific overrides for header-less layout */
.profile-page .profile-sidebar {
  top: 0 !important; /* Ensure sidebar starts from top */
}

.profile-page .profile-main {
  min-height: auto; /* Allow content to define height naturally */
}

/* Profile Layout - Scale aplicado individualmente nos elementos filhos */
.profile-layout {
  /* Scale removido para preservar position: fixed dos elementos filhos */
}

/* Ensure proper positioning after scaling */
.profile-layout .profile-sidebar {
  /* Sidebar maintains its sticky positioning within the scaled container */
}

.profile-layout .profile-main {
  /* Main content area maintains its margin within the scaled container */
}

/* Mobile responsive adjustments - desabilitar scale individual em mobile */
@media (max-width: 768px) {
  /* Desabilitar scale em todos os elementos individuais */
  .profile-header,
  .profile-sidebar,
  .profile-main {
    transform: none !important;
  }
  
  /* Reverter dimensões para valores originais em mobile */
  .profile-header {
    height: 60px;
  }
  
  .profile-sidebar {
    width: 100%;
    top: 60px;
    height: calc(100vh - 60px);
  }
  
  .profile-main {
    margin-left: 0;
    padding: 1.5rem;
    padding-top: 60px;
    width: 100%; /* Reverter largura para 100% em mobile */
  }
}

/* Ensure container doesn't overflow on smaller screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .profile-layout {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* Ensure modals are not affected by the layout scale */
.consultation-modal {
  transform-origin: center center;
  /* Os modais mantêm sua escala natural */
}

/* ============================================
   CART MODAL ANIMATIONS & POSITIONING
   ============================================ */

/* Cart Modal Animations */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Animation Classes */
.animate-slide-in-from-right {
  animation: slideInFromRight 0.3s ease-out forwards;
}

.animate-slide-out-to-right {
  animation: slideOutToRight 0.3s ease-in forwards;
}

/* Enhanced Cart Modal Positioning */
#cart-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  overflow: hidden;
}

#cart-modal:not(.hidden) .absolute.right-4 {
  animation: slideInFromRight 0.3s ease-out forwards;
}

/* Cart Modal Container - Top-Right Corner */
#cart-modal .absolute.right-4 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-height: calc(100vh - 2rem);
  width: 100%;
  max-width: 28rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

#cart-modal .absolute.right-4 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  bottom: 1rem; /* ← Garantir altura total disponível */
  width: 100%;
  max-width: 32rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Mobile Responsive Cart Modal */
@media (max-width: 640px) {
  #cart-modal .absolute.right-4 {
    right: 0.75rem; /* ← Slightly reduced margin for more space */
    left: 0.75rem;
    top: 0.75rem;
    bottom: 0.75rem; /* ← Added bottom margin */
    max-width: none;
    width: auto;
    max-height: none; /* ← Let bottom margin control height */
  }
  
  /* Ensure cart items container scales properly on mobile */
  #cart-items-container {
    max-height: calc(100vh - 14rem); /* ← Adjusted for mobile */
    padding: 1rem; /* ← Slightly reduced padding on mobile */
  }
}

/* Tablet Responsive */
@media (max-width: 768px) and (min-width: 641px) {
  #cart-modal .absolute.right-4 {
    max-width: 24rem;
  }
}

/* Cart Modal Backdrop */
#cart-modal .absolute.inset-0 {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

/* Cart Modal Content Positioning */
.cart-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Cart Modal Header */
.cart-modal-header {
  flex-shrink: 0;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

/* Cart Modal Body */
.cart-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* ← Crucial para funcionar o flex properly */
  overflow: hidden;
}

/* Cart Modal Footer */
.cart-modal-footer {
  flex-shrink: 0;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: white;
}

/* Auto-open Animation Enhancement */
.cart-auto-open {
  animation: slideInFromRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cart Items Container Scrolling */
#cart-items-container {
  max-height: calc(100vh - 16rem); /* ← Increased available space from 20rem to 16rem */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

#cart-items-container::-webkit-scrollbar {
  width: 6px;
}

#cart-items-container::-webkit-scrollbar-track {
  background: transparent;
}

#cart-items-container::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

#cart-items-container::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Enhanced Animation for Cart Item Addition */
.cart-item-added {
  animation: slideInFromRight 0.3s ease-out;
}

/* Cart Modal Z-Index Management */
#cart-modal {
  z-index: 10001;
}

/* Ensure cart modal appears above all other elements */
#cart-modal .absolute.right-4 {
  z-index: 10002;
}
/* ============================================
   CART ICON CLEAN STYLING - ICON ONLY
   ============================================ */

/* Desktop Cart Button - Clean icon only */
button[onclick="openCartModal()"] {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  position: relative;
  transition: none !important;
}

button[onclick="openCartModal()"]:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure cart icon is clean */
button[onclick="openCartModal()"] i[data-lucide="shopping-cart"] {
  color: var(--gray-600) !important;
  transition: color 0.2s ease !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

button[onclick="openCartModal()"] i[data-lucide="shopping-cart"]:hover,
button[onclick="openCartModal()"].group:hover i[data-lucide="shopping-cart"] {
  color: var(--gray-900) !important;
}

/* Mobile cart button - override background and padding */
button[onclick="openCartModal()"].w-full {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0.5rem 0 !important;
  border: none !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
}

button[onclick="openCartModal()"].w-full:hover {
  background: transparent !important;
  transform: none !important;
}

/* Keep cart counter badge visible and properly positioned */
button[onclick="openCartModal()"] #cart-counter,
button[onclick="openCartModal()"] #cart-counter-mobile {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary) !important;
  color: white !important;
  border-radius: 50% !important;
  min-width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ============================================
   CART MODAL COMPLETE STYLING
   ============================================ */

/* Cart Modal Base */
#cart-modal .absolute.right-4 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: 100%;
  max-width: 32rem; /* ← Increased from 28rem to 32rem */
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Cart Modal Content Layout */
.cart-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Cart Modal Header - Fixed */
.cart-modal-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cart Modal Body - Scrollable */
.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Cart Items List - Scrollable Area */
#cart-items-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

#cart-items-container {
  padding: 1.5rem; /* ← Increased padding from 1rem to 1.5rem */
  display: flex;
  flex-direction: column;
  gap: 1rem; /* ← Increased gap from 0.75rem to 1rem for better spacing between items */
}

.cart-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-height: auto; /* ← Remove restrição de altura */
}

.cart-item:hover {
  border-color: var(--primary-200);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.15);
  transform: translateY(-1px);
}
/* Cart Item Content Styling */
.cart-item .flex {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cart-item .flex-1 h4 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.4 !important;
}
.cart-item .flex-1 p {
  font-size: 0.875rem !important;
  color: var(--gray-600) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.cart-item .text-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cart-item button {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: none !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.cart-item .text-right .font-bold {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin: 0 !important;
}
.cart-item button:hover {
  background: #fecaca !important;
  transform: scale(1.05) !important;
}


/* Cart Modal Footer - Fixed */
.cart-modal-footer {
  flex-shrink: 0;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: 1.5rem;
}

/* Coupon Section */
#coupon-section {
  flex-shrink: 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 1.5rem;
}

/* Empty Cart State */
#empty-cart {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 300px; /* ← Altura mínima adequada */
}

#empty-cart.hidden {
  display: none !important; /* ← Força esconder quando tem itens */
}
/* Mobile Responsive */
@media (max-width: 640px) {
  #cart-modal .absolute.right-4 {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }

  #cart-items-container {
    padding: 1rem;
    gap: 0.75rem;
  }

  .cart-item {
    padding: 1rem;
  }

  .cart-item .flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cart-item .text-right {
    align-items: flex-start;
    width: 100%;
  }
}

/* Estados de transição suave */
#empty-cart,
#cart-items-list {
  transition: all 0.3s ease;
}

/* Garantir que footer seja visível */
.cart-modal-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--gray-100);
  background: white;
  padding: 1.5rem;
}

#coupon-section {
  flex-shrink: 0;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  padding: 1rem 1.5rem;
}

/* ============================================
   CHECKOUT PAGE - COMPREHENSIVE STYLING
   ============================================ */

/* Page Layout */
.checkout-page {
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  min-height: 100vh;
  padding: 2rem 0;
}

.checkout-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb-nav {
  margin-bottom: 1.5rem;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.breadcrumb-link:hover {
  color: var(--primary);
  background: var(--primary-50);
  transform: translateX(-2px);
}

.checkout-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.checkout-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin: 0;
}

/* Main Layout */
.checkout-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .checkout-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Form Styling */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--gray-300);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-100);
  border-radius: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .form-group-wide {
    grid-column: span 1;
  }
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  color: var(--gray-900);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 138, 48, 0.1);
  transform: translateY(-1px);
}

.form-input:invalid {
  border-color: #ef4444;
}

.form-input:invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.payment-method-option {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.payment-method-option:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.1);
  transform: translateY(-2px);
}

.payment-method-option.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-50), white);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.2);
}

.payment-method-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gray-100);
  border-radius: 0.75rem;
  color: var(--gray-600);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.payment-method-option.active .payment-method-icon {
  background: var(--primary);
  color: white;
}

.payment-method-icon.pix {
  background: linear-gradient(135deg, #32d18e, #10b981);
  color: white;
}

.payment-method-info {
  flex: 1;
}

.payment-method-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 0.25rem 0;
}

.payment-method-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.payment-method-brands {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  height: 1.5rem;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.payment-method-option.active .brand-icon {
  opacity: 1;
}

/* Disabled Payment Methods - Temporary */
.payment-method-option.disabled,
.payment-method-option.temporarily-unavailable {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: auto; /* Allow events to show tooltip */
  background: #f5f5f5 !important;
  border-color: #e0e0e0 !important;
  color: #999 !important;
  position: relative;
}

.payment-method-option.disabled:hover,
.payment-method-option.temporarily-unavailable:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #e0e0e0 !important;
}

.payment-method-option.disabled .payment-method-icon,
.payment-method-option.temporarily-unavailable .payment-method-icon {
  background: #e0e0e0 !important;
  color: #999 !important;
}

.payment-method-option.disabled .payment-method-info h3,
.payment-method-option.temporarily-unavailable .payment-method-info h3 {
  color: #999 !important;
}

.payment-method-option.disabled .payment-method-info p,
.payment-method-option.temporarily-unavailable .payment-method-info p {
  color: #bbb !important;
}

/* Tooltip for disabled methods */
.payment-method-option[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
}

.payment-method-option[data-tooltip]:hover::after {
  opacity: 1;
}

/* Disabled overlay effect */
.payment-method-option.disabled::before,
.payment-method-option.temporarily-unavailable::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(255, 255, 255, 0.1) 5px,
    rgba(255, 255, 255, 0.1) 10px
  );
  pointer-events: none;
}

/* Payment Forms */
.payment-form {
  display: none;
  margin-top: 1.5rem;
}

.payment-form.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

/* Credit Card Form */
.card-brand-indicator {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5rem;
  width: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-brand-indicator.visible {
  opacity: 1;
}

/* PIX and Boleto Info */
.pix-info,
.boleto-info {
  text-align: center;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 1rem;
  border: 2px dashed var(--gray-300);
}

.pix-icon,
.boleto-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--primary-100);
  border-radius: 1rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.pix-info h3,
.boleto-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 0.5rem 0;
}

.pix-info p,
.boleto-info p {
  color: var(--gray-600);
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.boleto-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Demo Notice */
.demo-notice {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: 1rem;
  padding: 1.5rem;
}

.demo-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #92400e;
}

.demo-notice-content i {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.demo-notice-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.demo-notice-content p {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Checkout Sidebar */
.checkout-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.order-summary {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.summary-header {
  background: linear-gradient(135deg, var(--gray-50), white);
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.items-count {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Summary Items */
.summary-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item-info {
  flex: 1;
}

.summary-item-title {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.summary-item-type {
  color: var(--gray-600);
  font-size: 0.8rem;
}

.summary-item-price {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Coupon Section */
.coupon-section {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--primary-50);
}

.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 500;
}

.coupon-discount {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Summary Totals */
.summary-totals {
  padding: 1.5rem;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.total-line-final {
  border-top: 2px solid var(--gray-200);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Security Notice */
.security-notice {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.security-item:last-child {
  margin-bottom: 0;
}

.security-item i {
  color: #10b981;
  flex-shrink: 0;
}

/* Checkout Actions */
.checkout-actions {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-checkout-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(232, 138, 48, 0.4);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-checkout-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 138, 48, 0.5);
}

.btn-checkout-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.checkout-total-amount {
  margin-left: auto;
  font-weight: 700;
  font-size: 1rem;
}

.btn-checkout-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-checkout-secondary:hover {
  background: var(--gray-100);
  color: var(--gray-700);
  border-color: var(--gray-400);
}

/* Empty Cart State */
.empty-checkout {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray-600);
}

.empty-checkout i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-checkout h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.empty-checkout p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .checkout-page {
    padding: 1rem 0;
  }

  .checkout-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .checkout-title {
    font-size: 1.875rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .checkout-content {
    padding: 0 1rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .section-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .payment-method-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .payment-method-brands {
    align-self: flex-end;
  }

  .checkout-content {
    display: flex;
    flex-direction: column;
  }
  
  .checkout-sidebar {
    position: static;
    order: 2;
  }
  
  .checkout-main {
    order: 1;
  }

  .order-summary {
    margin-bottom: 2rem;
  }
}

/* Loading States */
.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-checkout-primary:disabled:hover {
  transform: none !important;
  box-shadow: 0 4px 14px rgba(232, 138, 48, 0.4) !important;
}

/* Success State */
.checkout-success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #10b981;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: #065f46;
}

.checkout-success i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #10b981;
}

.checkout-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.checkout-success p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section {
  animation: slideInUp 0.4s ease-out;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .form-input {
    border-width: 2px;
  }

  .payment-method-option {
    border-width: 2px;
  }

  .btn-checkout-primary {
    border: 2px solid var(--primary);
  }
}

/* ============================================
   PIX TOTAL SECTION - PROFESSIONAL STYLING
   ============================================ */

/* PIX Total Section - Main Container */
.pix-total-section {
  background: linear-gradient(135deg, var(--primary-50), white);
  border: 2px solid var(--primary-200);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(232, 138, 48, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pix-total-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(232, 138, 48, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.pix-total-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 138, 48, 0.2);
  border-color: var(--primary);
}

/* PIX Total Header */
.pix-total-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.pix-total-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pix-total-header h3::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 2px;
}

.pix-total-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  text-shadow: 0 2px 4px rgba(232, 138, 48, 0.2);
  letter-spacing: -0.02em;
}

/* PIX Total Details */
.pix-total-details {
  position: relative;
  z-index: 2;
}

.total-breakdown {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: all 0.2s ease;
}

.breakdown-item:not(:last-child) {
  border-bottom: 1px solid var(--gray-100);
}

.breakdown-item:hover {
  background: var(--gray-50);
  margin: 0 -1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.breakdown-item span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breakdown-item span:last-child {
  font-weight: 600;
}

.breakdown-total {
  border-top: 2px solid var(--primary-200) !important;
  border-bottom: none !important;
  margin-top: 0.5rem !important;
  padding-top: 1rem !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
}

.breakdown-total span:last-child {
  color: var(--primary) !important;
  font-size: 1.5rem !important;
}

/* PIX Generate Section */
.pix-generate-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.pix-generate-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-400));
  border-radius: 2px 2px 0 0;
}

.pix-generate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(232, 138, 48, 0.4);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  margin: 0 auto;
}

.pix-generate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232, 138, 48, 0.5);
  background: linear-gradient(135deg, var(--primary-600), #b8651a);
}

.pix-generate-btn:active {
  transform: translateY(-1px);
}

.pix-generate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.pix-generate-btn:hover::before {
  left: 100%;
}

.pix-generate-help {
  margin: 1rem 0 0 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* Mobile Responsive for PIX Total */
@media (max-width: 768px) {
  .pix-total-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .pix-total-amount {
    font-size: 2.5rem;
  }

  .pix-generate-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 180px;
    margin: 0 auto;
  }

  .total-breakdown {
    padding: 1rem;
  }

  .breakdown-item {
    font-size: 0.95rem;
  }

  .breakdown-total {
    font-size: 1.125rem !important;
  }

  .breakdown-total span:last-child {
    font-size: 1.375rem !important;
  }
}

@media (max-width: 640px) {
  .pix-total-section {
    padding: 1rem;
    border-radius: 1rem;
  }

  .pix-total-header h3 {
    font-size: 1.25rem;
  }

  .pix-total-amount {
    font-size: 2rem;
  }

  .pix-generate-section {
    padding: 1.5rem;
  }

  .pix-generate-btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem;
    margin: 0 auto;
  }
}

/* ============================================
   PIX QR CODE ENHANCED STYLING
   ============================================ */

/* PIX Display Area */
.pix-display-area {
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.pix-qr-container {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  overflow: visible; /* Permite botão sobreposto aparecer fora do container */
  position: relative; /* Necessário para posicionamento absoluto do botão */
  transition: all 0.3s ease;
}

.pix-qr-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* PIX Header */
.pix-qr-header {
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.pix-qr-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.pix-status-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.pix-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pix-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pix-status-text h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.pix-status-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.pix-timer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pix-timer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.pix-timer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pix-timer-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.125rem;
}

.pix-timer-countdown {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* PIX QR Code Content */
.pix-qr-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* QR Code Image Container */
.pix-qr-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  min-height: 280px; /* Garante altura mínima para centralização vertical */
}

.pix-qr-image {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content; /* Ajusta largura ao conteúdo */
  margin: 0 auto;
}

.pix-qr-image:hover {
  box-shadow: 0 12px 40px rgba(232, 138, 48, 0.2);
  border-color: var(--primary-200);
}

.pix-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  display: block;
  margin: 0; /* Remove margin automático já que o container pai centraliza */
}

.pix-qr-img.expired {
  filter: blur(2px) grayscale(1);
  opacity: 0.5;
}

.pix-qr-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  z-index: 5;
  transition: all 0.3s ease;
}

.pix-qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.pix-qr-overlay.visible {
  display: flex;
}

/* Overlay adicional para o estado expirado */
.pix-qr-container.expired::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 1.5rem;
  z-index: 5;
  pointer-events: none;
}

.pix-qr-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.pix-qr-overlay-content span {
  font-size: 1rem;
  font-weight: 600;
  color: #dc2626;
}

.pix-qr-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 5;
}

/* PIX Instructions */
.pix-instructions {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.pix-instructions h4 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pix-instructions h4::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 2px;
}

.pix-instructions ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pix-instructions ol li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}

.pix-instructions ol li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.pix-instructions ol {
  counter-reset: step-counter;
}

.pix-instructions ol li:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  transform: translateX(4px);
}

.pix-instructions ol li span {
  font-weight: 500;
  color: var(--gray-700);
}

.pix-instructions ol li i {
  color: var(--primary);
}

/* PIX Code Section - Posicionada logo abaixo do QR Code */
.pix-code-section {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  margin-top: 0;
  position: relative;
  z-index: 5;
  transition: all 0.3s ease;
}

.pix-code-section:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-200);
}

.pix-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pix-code-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pix-code-label::before {
  content: '';
  width: 4px;
  height: 1.25rem;
  background: var(--primary);
  border-radius: 2px;
}

.btn-copy-pix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(232, 138, 48, 0.3);
}

.btn-copy-pix:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.4);
}

.btn-copy-pix:active {
  transform: translateY(0);
}

.btn-copy-pix.copied {
  background: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pix-code-container {
  position: relative;
}

.pix-code-input {
  width: 100%;
  padding: 1rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--gray-700);
  resize: none;
  outline: none;
  transition: all 0.3s ease;
  word-break: break-all;
  cursor: text;
}

.pix-code-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 138, 48, 0.1);
}

.pix-code-input:hover {
  border-color: var(--primary-300);
}

/* Generate New PIX Button */
.pix-generate-new {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: 1rem;
  border: 1px solid #fca5a5;
}

.btn-generate-new-pix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  color: white;
  border: none;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 10;
}

.btn-generate-new-pix:hover {
  background: linear-gradient(135deg, var(--primary-600), #b8651a);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 138, 48, 0.4);
}

.btn-generate-new-pix:active {
  transform: translateY(0);
}

/* Botão "Gerar novamente" sobreposto ao QR Code quando expira */
/* CONFIGURAÇÃO PRINCIPAL: Centralização perfeita sobre o QR Code */
.pix-qr-container.expired .btn-generate-new-pix {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centralização perfeita */
  z-index: 15; /* Acima de todos os elementos */
  background: linear-gradient(135deg, var(--primary), #dc7a1f);
  box-shadow: 0 8px 32px rgba(232, 138, 48, 0.6);
  border: 2px solid white;
  backdrop-filter: blur(10px);
  min-width: 200px;
  animation: pixOverlayPulse 2s ease-in-out infinite;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.875rem;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pix-qr-container.expired .btn-generate-new-pix:hover {
  background: linear-gradient(135deg, var(--primary-600), #b8651a);
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 138, 48, 0.7);
}

.pix-qr-container.expired .btn-generate-new-pix:active {
  transform: translate(-50%, -50%) translateY(0);
}

.pix-generate-help {
  margin: 0;
  font-size: 0.875rem;
  color: #dc2626;
  font-weight: 500;
}

/* PIX States */
.pix-qr-container.expired .pix-qr-header {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.pix-qr-container.expired .pix-status-text h4 {
  color: white;
}

.pix-qr-container.expired .pix-status-text p {
  color: rgba(255, 255, 255, 0.8);
}

.pix-qr-container.expired .pix-timer-countdown {
  color: #fecaca;
}

.pix-qr-container.loading .pix-qr-img {
  filter: blur(1px);
  opacity: 0.7;
}

.pix-qr-container.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  z-index: 20;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .pix-qr-header {
    padding: 1.5rem;
  }
  
  .pix-status-section {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .pix-timer {
    justify-content: center;
  }
  
  .pix-qr-content {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  /* Ajustes para centralização responsiva */
  .pix-qr-image-container {
    min-height: 250px; /* Reduz altura mínima para mobile */
  }
  
  .pix-qr-img {
    width: 180px;
    height: 180px;
  }
  
  .pix-instructions ol li {
    padding: 0.5rem 0.75rem;
  }
  
  .pix-code-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .btn-copy-pix {
    width: 100%;
    justify-content: center;
  }
  
  /* Botão "Gerar novamente" responsivo em mobile */
  .pix-qr-container.expired .btn-generate-new-pix {
    min-width: 180px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .pix-qr-header {
    padding: 1rem;
  }
  
  .pix-status-text h4 {
    font-size: 1.125rem;
  }
  
  .pix-timer-countdown {
    font-size: 1.125rem;
  }
  
  .pix-qr-content {
    padding: 1rem;
  }
  
  /* Ajustes para centralização em telas pequenas */
  .pix-qr-image-container {
    min-height: 220px; /* Reduz ainda mais para telas pequenas */
  }
  
  .pix-qr-image {
    padding: 1rem; /* Reduz padding interno */
  }
  
  .pix-qr-img {
    width: 160px;
    height: 160px;
  }
  
  .pix-instructions,
  .pix-code-section {
    padding: 1rem;
  }
  
  /* Botão "Gerar novamente" para telas muito pequenas */
  .pix-qr-container.expired .btn-generate-new-pix {
    min-width: 160px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    max-width: 90%;
  }
}

/* Tablet Responsive */
@media (min-width: 641px) and (max-width: 1024px) {
  .pix-qr-image-container {
    min-height: 260px; /* Altura específica para tablets */
  }
  
  .pix-qr-img {
    width: 190px;
    height: 190px;
  }
  
  .pix-qr-image {
    padding: 1.25rem; /* Padding intermediário */
  }
}

/* Desktop Large Screens */
@media (min-width: 1025px) {
  .pix-qr-image-container {
    min-height: 280px; /* Altura original para desktop */
  }
  
  .pix-qr-img {
    width: 200px;
    height: 200px;
  }
  
  .pix-qr-image {
    padding: 1.5rem; /* Padding completo para desktop */
  }
}

/* Animation Keyframes */
@keyframes pixPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pixOverlayPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 32px rgba(232, 138, 48, 0.6);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(232, 138, 48, 0.8);
  }
}

.pix-qr-badge {
  animation: pixPulse 2s ease-in-out infinite;
}

/* Accessibility Improvements */
.pix-qr-container:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.pix-qr-image:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

.pix-qr-img:focus {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn-copy-pix:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.pix-code-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Ensure proper focus order and keyboard navigation */
.pix-qr-image {
  tabindex: 0; /* Permite foco via teclado */
}

/* Screen reader improvements */
.pix-qr-img {
  /* Alt text deve ser fornecido no HTML */
  border: 1px solid transparent; /* Melhora contraste para leitores de tela */
}

.pix-qr-image-container {
  /* Garante que o container seja anunciado corretamente */
  role: img;
  aria-label: "QR Code para pagamento PIX";
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .pix-qr-container {
    border-width: 3px;
    border-color: var(--gray-900);
  }
  
  .pix-qr-image {
    border-width: 3px;
    border-color: var(--gray-900);
    background: white;
  }
  
  .pix-qr-img {
    border: 2px solid var(--gray-900);
  }
  
  .btn-copy-pix {
    border: 2px solid var(--primary);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .pix-display-area,
  .pix-qr-container,
  .pix-qr-image,
  .btn-copy-pix,
  .pix-instructions ol li {
    animation: none;
    transition: none;
  }
  
  .pix-qr-badge {
    animation: none;
  }
  
  .pix-qr-image:hover,
  .pix-qr-container:hover {
    transform: none;
  }
}

/* Focus visible for better keyboard navigation */
.pix-qr-image:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.pix-qr-img:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  position: relative;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border: 2px solid var(--checkbox-border);
  border-radius: 4px;
  background-color: var(--background);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 6px;
  height: 10px;
  border: 2px solid var(--checkbox-checkmark);
  border-top: none;
  border-left: none;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--checkbox-checked);
  border-color: var(--checkbox-checked);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.checkbox-label:hover .checkbox-custom {
  border-color: var(--primary);
}

.checkbox-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* CVV and Checkbox inline layout */
.cvv-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cvv-field {
  flex: 1;
}

.checkbox-field {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.checkbox-field .checkbox-label {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.checkbox-field .checkbox-text {
  font-size: 0.85rem;
  font-weight: 400;
}

/* Conditional fields styling */
.conditional-fields {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.conditional-fields .form-grid {
  gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cvv-checkbox-group {
    gap: 0.75rem;
  }
  
  .checkbox-field .checkbox-label {
    font-size: 0.8rem;
  }
  
  .checkbox-field .checkbox-text {
    font-size: 0.8rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .form-section,
  .form-input,
  .payment-method-option,
  .btn-checkout-primary {
    animation: none;
    transition: none;
  }
}

/* ============================================
   PIX QR CODE MOBILE RESPONSIVE FIXES
   ============================================ */

@media (max-width: 768px) {
  /* PIX Container Mobile Constraints */
  .pix-qr-container {
    max-width: calc(100vw - 2rem);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .pix-qr-content {
    padding: 1rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .pix-qr-image {
    max-width: 100%;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .pix-qr-img {
    max-width: calc(100vw - 6rem);
    width: auto;
    height: auto;
    max-height: 250px;
    min-width: 150px;
    min-height: 150px;
  }
  
  .pix-code-section {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .pix-code-container {
    max-width: 100%;
    overflow-x: auto;
  }
  
  .pix-code-container input {
    width: 100%;
    font-size: 0.8rem;
    box-sizing: border-box;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .pix-qr-img {
    max-width: calc(100vw - 4rem);
    max-height: 200px;
    min-width: 120px;
    min-height: 120px;
  }
  
  .pix-qr-image {
    padding: 0.75rem;
  }
  
  .pix-qr-content {
    padding: 0.75rem;
  }
}

/* ============================================
   FAQ INFO COMPONENTS - ADDITIONAL STYLING
   ============================================ */

.faq-item-info {
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item-info:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-question-info {
  width: 100%;
  text-align: left;
}

.faq-answer-info {
  transition: all 0.3s ease-in-out;
}

.faq-answer-info.hidden {
  max-height: 0;
  overflow: hidden;
}

.faq-answer-info:not(.hidden) {
  max-height: 24rem;
  overflow: auto;
}

.pl-15 {
  padding-left: 3.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pl-15 {
    padding-left: 1rem;
  }
  
  .faq-item-info {
    padding: 0.75rem;
  }
}

/* ============================================
                MOBILE MENU ENHANCEMENTS
   ============================================ */

/* Mobile Menu Backdrop */
#mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Container */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 100vh;
  overflow-y: auto;
  padding-top: 80px;
}

/* Active states */
#mobile-menu.translate-y-0 {
  transform: translateY(0);
}

#mobile-menu-backdrop.opacity-100 {
  opacity: 1;
}

#mobile-menu-backdrop.opacity-0 {
  opacity: 0;
}

/* Mobile Menu Content */
#mobile-menu .container {
  padding: 1.5rem;
}

/* Mobile Menu Navigation Links */
#mobile-menu nav a {
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-bottom: 4px;
}

#mobile-menu nav a:hover,
#mobile-menu nav a:focus {
  color: var(--primary);
  background-color: #fef3e7;
  transform: translateX(4px);
}

/* Mobile Menu Actions */
#mobile-menu .space-y-3 {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Mobile Menu Button Styles */
#mobile-menu button,
#mobile-menu .cart-button-mobile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

/* Login Button in Mobile Menu */
#mobile-menu a[onclick="openAuthModal()"] {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

#mobile-menu a[onclick="openAuthModal()"]:hover {
  background: #dc7a1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.4);
}

/* Cart Button in Mobile Menu */
#mobile-menu button[onclick="openCartModal()"] {
  background: #f3f4f6;
  color: #374151;
}

#mobile-menu button[onclick="openCartModal()"]:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Hamburger Icon Animation */
#hamburger-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Button Hover */
#mobile-menu-btn:hover {
  background-color: #f3f4f6;
  transform: scale(1.05);
}

/* New Mobile Menu Profile-style Sections */

/* Mobile Consultas Section (replacements for saldo section) */
.mobile-consultas-section {
  background: linear-gradient(135deg, var(--primary) 0%, #dc7a1f 100%);
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  color: white;
  text-align: center;
}

.consultas-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.consultas-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.consultas-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.consultas-description {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.mobile-consultar-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-consultar-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Mobile Cart Section */
.mobile-cart-section {
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.mobile-cart-btn {
  width: 100%;
  background: var(--gray-100);
  border: none;
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray-700);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-cart-btn:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

/* Mobile Sidebar Menu */
.mobile-sidebar-menu {
  padding: 0 1rem;
  margin-bottom: 0.75rem;
}

/* Mobile Auth Section */
.mobile-auth-section {
  padding: 0 1rem;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 0.75rem;
}

.mobile-login-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-login-btn:hover {
  background: #dc7a1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.mobile-logout-btn {
  background: transparent;
  color: var(--gray-700);
  border: none;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-logout-btn:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  transform: translateX(4px);
}

/* Mobile Policy Links */
.mobile-policy-links {
  padding: 0 1rem;
  margin-top: 0.5rem;
}

.policy-section-divider {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 1rem;
}

.policy-links-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mobile-policy-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mobile-policy-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-policy-link:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  text-decoration: none;
}

.mobile-policy-link i {
  width: 1rem;
  height: 1rem;
  margin-bottom: 0.25rem;
}

/* Z-index hierarchy fixes */
.sticky {
  z-index: 997;
}

/* Cart Modal Z-index */
#cart-modal {
  z-index: 10001;
}

/* Checkout page specific cart modal fixes */
.checkout-layout #cart-modal {
  z-index: 10001 !important;
  position: fixed !important;
  inset: 0 !important;
}

.checkout-layout #cart-modal .absolute.right-4 {
  z-index: 10002 !important;
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  bottom: 1rem !important;
}

.checkout-layout .cart-modal-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  background: white !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Ensure backdrop works correctly on checkout */
.checkout-layout #cart-modal .absolute.inset-0 {
  background-color: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(4px) !important;
  transition: all 0.3s ease !important;
}

/* Ensure cart modal header, body, footer work on checkout */
.checkout-layout .cart-modal-header {
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, var(--primary), #dc7a1f) !important;
  color: white !important;
  padding: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.checkout-layout .cart-modal-body {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  min-height: 0 !important;
}

.checkout-layout .cart-modal-footer {
  flex-shrink: 0 !important;
  background: white !important;
  border-top: 1px solid var(--gray-100) !important;
  padding: 1.5rem !important;
}

/* Ensure proper stacking context */
header.sticky {
  position: sticky;
  top: 0;
  z-index: 997;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

/* ============================================
   CONFIRMATION MODAL FOR BALANCE CONSUMPTION
   ============================================ */

.consultation-confirm-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999 !important; /* Z-index muito alto para superar stacking contexts */
    display: none;
    isolation: isolate; /* Cria stacking context independente */
    transform: none !important; /* Evita herança de transforms da página */
}

.consultation-confirm-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.consultation-confirm-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.consultation-confirm-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideInUp 0.3s ease-out;
}

.consultation-confirm-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.consultation-confirm-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary-100);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.consultation-confirm-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.consultation-confirm-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.consultation-confirm-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
}

.consultation-confirm-details {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.consultation-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.consultation-detail-row:last-child {
    margin-bottom: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
    font-weight: 600;
}

.consultation-detail-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.consultation-detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.consultation-detail-value.price {
    color: var(--primary);
    font-size: 1rem;
}

.consultation-detail-value.balance {
    color: var(--secondary);
}

.consultation-detail-value.remaining {
    color: var(--gray-700);
}

.consultation-confirm-buttons {
    display: flex;
    gap: 0.75rem;
}

.consultation-confirm-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.consultation-confirm-btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(232, 138, 48, 0.2);
}

.consultation-confirm-btn.primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
}

.consultation-confirm-btn.secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.consultation-confirm-btn.secondary:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
}

.consultation-confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.consultation-confirm-btn.primary:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    box-shadow: none;
}

/* Insufficient balance warning */
.consultation-insufficient-balance {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.consultation-insufficient-balance-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.consultation-insufficient-balance-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #fee2e2;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.consultation-insufficient-balance-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: #dc2626;
}

.consultation-insufficient-balance-text {
    flex: 1;
}

.consultation-insufficient-balance-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.consultation-insufficient-balance-message {
    font-size: 0.875rem;
    color: #7f1d1d;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .consultation-confirm-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .consultation-confirm-title {
        font-size: 1.25rem;
    }
    
    .consultation-confirm-buttons {
        flex-direction: column;
    }
    
    .consultation-confirm-btn {
        width: 100%;
    }
}

/* === CONSULTATION & ORDER HISTORY ITEMS === */
.consulta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.consulta-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(232, 138, 48, 0.1);
    transform: translateY(-2px);
}

.consulta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.consulta-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin: 0;
}

.consulta-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.consulta-date {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.consulta-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Colors */
.consulta-status.status-criado {
    background-color: #fef3c7;
    color: #92400e;
}

.consulta-status.status-aguardando-pagamento {
    background-color: #fef3c7;
    color: #92400e;
}

.consulta-status.status-concluido,
.consulta-status.status-concluído {
    background-color: #d1fae5;
    color: #065f46;
}

.consulta-status.status-pago {
    background-color: #d1fae5;
    color: #065f46;
}

.consulta-status.status-cancelado {
    background-color: #fee2e2;
    color: #991b1b;
}

.consulta-status.status-processando,
.consulta-status.status-em-processamento {
    background-color: #dbeafe;
    color: #1e40af;
}

.consulta-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    margin-left: 1rem;
}

/* Loading and Error States */
.loading-message, .error-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

.error-message {
    color: #dc2626;
}

/* No Results State - Enhanced */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.no-results-icon {
    width: 6rem;
    height: 6rem;
    background: #f3f4f6;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.no-results-icon i {
    width: 3rem;
    height: 3rem;
    color: #9ca3af;
}

.no-results-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-results-subtext {
    font-size: 1rem;
    color: #6b7280;
}

/* Responsive Design for History Items */
@media (max-width: 768px) {
    .consulta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .consulta-value {
        align-self: flex-end;
        margin-left: 0;
        font-size: 1.25rem;
    }
    
    .consulta-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .no-results {
        padding: 3rem 1rem;
    }
    
    .no-results-icon {
        width: 5rem;
        height: 5rem;
    }
    
    .no-results-icon i {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .consulta-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .consulta-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .consulta-date {
        font-size: 0.8rem;
    }
    
    .consulta-status {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .consulta-value {
        font-size: 1.1rem;
    }
}

/* === PAGINATION CONTROLS === */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pagination-info {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    gap: 0.75rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
    color: #9ca3af;
}

.pagination-btn i {
    width: 1rem;
    height: 1rem;
}

/* Responsive Pagination */
@media (max-width: 640px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pagination-info {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .pagination-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .pagination-btn {
        flex: 1;
        justify-content: center;
        padding: 0.875rem 0.75rem;
    }
}

/* === RESULTADO DA CONSULTA STYLES === */
.resultado-container {
    min-height: 100vh;
    background-color: #f9fafb;
    padding: 2rem 0;
}

.resultado-header {
    background: linear-gradient(135deg, var(--primary) 0%, #dc7a1f 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-voltar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-voltar:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
}

.btn-voltar i {
    width: 1rem;
    height: 1rem;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resultado-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resultado-title i {
    width: 2rem;
    height: 2rem;
}

.resultado-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.consulta-info-badge {
    display: flex;
    flex-direction: column;
    align-items: end;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.parameter-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.parameter-value {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.resultado-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Loading and Error States */
.loading-container, .error-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.loading-spinner i {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.error-container {
    color: #dc2626;
}

.error-icon i {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* Vehicle Info Card */
.veiculo-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.veiculo-info-card .card-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 1.5rem;
}

.veiculo-info-card .card-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.veiculo-info-card .card-header i {
    width: 1.5rem;
    height: 1.5rem;
}

.veiculo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.veiculo-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.veiculo-item .label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.veiculo-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

/* Results Cards */
.consultas-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.result-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.provider-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

.provider-badge.abs {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.provider-badge.csa {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.provider-badge.nfc {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.consulta-type h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.consulta-type p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.success {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.warning {
    background: #FDEAD3;
    color: #935014;
    border: 1px solid #F7BE7A;
    animation: pulse 2s infinite;
}

.status-badge.error {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge i {
    width: 1rem;
    height: 1rem;
}

.card-content {
    padding: 1.5rem;
}

/* Result Items */
.result-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-type {
    font-weight: 600;
    color: #111827;
}

.item-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gravidade, .resultado, .status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gravidade.leve {
    background: #d1fae5;
    color: #065f46;
}

.gravidade.moderada {
    background: #fef3c7;
    color: #92400e;
}

.gravidade.grave {
    background: #fee2e2;
    color: #991b1b;
}

.resultado.nada-consta {
    background: #d1fae5;
    color: #065f46;
}

.status.não-participou {
    background: #e5e7eb;
    color: #374151;
}

.observacoes {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* No Data State */
.no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

.no-data i {
    width: 1.5rem;
    height: 1.5rem;
    color: #10b981;
}

/* Footer */
.resultado-footer {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #dc7a1f 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 138, 48, 0.3);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    text-decoration: none;
    color: #374151;
}

.btn-primary i, .btn-secondary i {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resultado-container {
        padding: 1rem 0;
    }
    
    .resultado-container .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .consulta-info-badge {
        align-self: stretch;
        align-items: flex-start;
    }
    
    .resultado-title {
        font-size: 1.5rem;
    }
    
    .resultado-content {
        padding: 0 1rem;
    }
    
    .veiculo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 1rem;
    }
    
    .result-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .footer-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .resultado-header {
        padding: 1.5rem 0;
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .veiculo-grid {
        grid-template-columns: 1fr;
    }
    
    .result-card .card-content {
        padding: 1rem;
    }
}

/* Pagination Pages Numbers */
.pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-page:hover:not(:disabled) {
    background: #f9fafb;
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-page.active,
.pagination-page:disabled {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    cursor: default;
}

.pagination-page.active:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 640px) {
    .pagination-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-pages {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination-page {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}