/**
 * DR-UNIFIED.CSS - Sistema de Estilos Unificados Design Reyes
 * v2.0 - 2025-12-20
 * 
 * Este archivo contiene todos los estilos base que se comparten
 * en TODAS las páginas del sitio para mantener consistencia visual.
 */

/* ==========================================================
   1. VARIABLES CSS GLOBALES
========================================================== */
:root {
  /* Fondo principal - Degradado morado premium */
  --bg-body: #06000d;
  --bg-main: 
    radial-gradient(ellipse 100% 70% at 10% 20%, rgba(168, 85, 247, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 90% 80% at 90% 30%, rgba(192, 132, 252, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 110% 90% at 50% 70%, rgba(168, 85, 247, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 30% 80%, rgba(192, 132, 252, 0.28) 0%, transparent 50%),
    linear-gradient(180deg, #2d0a5e 0%, #1a0640 40%, #0f0328 100%);
  
  /* Paneles y cards */
  --panel: rgba(15, 5, 30, 0.75);
  --panel-soft: rgba(20, 8, 40, 0.65);
  --panel-solid: rgba(15, 5, 30, 0.92);
  --border: rgba(139, 92, 246, 0.12);
  --border-accent: rgba(139, 92, 246, 0.25);
  
  /* Colores de acento */
  --accent: #7c3aed;
  --accent-soft: #a78bfa;
  --accent-alt: #ff6b00;
  --accent-glow: rgba(124, 58, 237, 0.4);
  
  /* Colores de estado */
  --success: #22c55e;
  --success-soft: #4ade80;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Texto */
  --text: #f5f3ff;
  --text-soft: #e0defa;
  --muted: #a5a3c7;
  
  /* Radios de bordes */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 999px;
  
  /* Sombras */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.14);
  --shadow-accent: 0 4px 20px rgba(124, 58, 237, 0.25), 0 2px 8px rgba(124, 58, 237, 0.15);
  --shadow-orange: 0 4px 20px rgba(255, 107, 0, 0.25), 0 2px 8px rgba(255, 107, 0, 0.15);
  --shadow-success: 0 4px 20px rgba(34, 197, 94, 0.25), 0 2px 8px rgba(34, 197, 94, 0.15);
  
  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   2. RESET Y BASE
========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 1200px) {
  html { font-size: 17px; }
}

@media (min-width: 1600px) {
  html { font-size: 18px; }
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-main);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-soft);
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
}

/* ==========================================================
   3. ANIMACIONES
========================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes glowLoop {
  0% { text-shadow: 0 0 6px rgba(124, 58, 237, 0.4); }
  50% { text-shadow: 0 0 12px rgba(167, 139, 250, 0.8); }
  100% { text-shadow: 0 0 6px rgba(124, 58, 237, 0.4); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
.animate-fade-down { animation: fadeDown 0.6s ease-out forwards; }
.animate-fade-left { animation: fadeLeft 0.6s ease-out forwards; }
.animate-fade-right { animation: fadeRight 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.loop-glow { animation: glowLoop 4s ease-in-out infinite; }

/* ==========================================================
   4. NAVBAR UNIFICADO
========================================================== */

/* Animación marquee para info-bar */
@keyframes scrollInfoBar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.info-bar {
  overflow: hidden;
  white-space: nowrap;
  background: rgba(7, 1, 20, 0.95);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.info-bar-content {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  animation: scrollInfoBar 20s linear infinite;
}

.info-bar-content:hover {
  animation-play-state: paused;
}

.info-bar-text {
  display: inline-block;
  padding: 0 2rem;
}

/* Fallback para cuando no hay animación (solo texto estático centrado) */
.info-bar.static {
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 0, 15, 0.95), rgba(5, 0, 15, 0.85));
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  transition: opacity var(--transition-fast);
}

.nav-brand:hover {
  opacity: 0.9;
  color: var(--text);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(124, 58, 237, 0.25);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.4rem 0.75rem;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--accent);
}

/* Navbar móvil */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 2, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  
  .nav-links .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* ==========================================================
   5. BOTONES UNIFICADOS
========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Botón primario - Morado */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

/* Botón Usuario Logueado - Verde (override) */
.btn.is-logged-in,
.btn-primary.is-logged-in,
button.is-logged-in,
#loginBtn.is-logged-in,
#loginButton.is-logged-in,
.nav-links .btn.is-logged-in,
[data-login-btn].is-logged-in {
  background: linear-gradient(135deg, #22c55e, #10b981) !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25), 0 2px 6px rgba(34, 197, 94, 0.15) !important;
  border-color: transparent !important;
}

.btn.is-logged-in:hover,
.btn-primary.is-logged-in:hover,
button.is-logged-in:hover,
#loginBtn.is-logged-in:hover,
#loginButton.is-logged-in:hover,
.nav-links .btn.is-logged-in:hover,
[data-login-btn].is-logged-in:hover {
  background: linear-gradient(135deg, #16a34a, #059669) !important;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35), 0 4px 10px rgba(34, 197, 94, 0.2) !important;
  transform: translateY(-2px);
}

.btn.is-logged-in i,
button.is-logged-in i {
  margin-right: 0.35rem;
}

/* Botón secundario - Naranja */
.btn-secondary,
.btn-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8f3d 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-secondary:hover:not(:disabled),
.btn-orange:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.4);
}

/* Botón success - Verde */
.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-soft) 100%);
  color: #fff;
  box-shadow: var(--shadow-success);
}

.btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
}

/* Botón outline */
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
}

.btn-outline:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
}

/* Botón ghost */
.btn-ghost {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-soft);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--accent);
}

/* Tamaños de botones */
.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================
   6. CARDS UNIFICADAS
========================================================== */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.card-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title i {
  color: var(--accent-soft);
}

/* ==========================================================
   7. TARJETAS DE DISEÑOS (Catálogo)
========================================================== */
.design-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.design-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(124, 58, 237, 0.3);
}

.design-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(10, 0, 20, 0.5);
}

.design-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.design-card:hover .design-card-image img {
  transform: scale(1.05);
}

.design-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
}

.design-card-content {
  padding: 1rem;
}

.design-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.design-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.design-card-category {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.design-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-alt);
}

.design-card-price.free {
  color: var(--success);
}

/* ==========================================================
   8. BADGES
========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-premium {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8f3d 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

.badge-free,
.badge-gratis {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-soft) 100%);
  color: #022c22;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.badge-new {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

/* ==========================================================
   9. FORMULARIOS
========================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--accent-alt);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(10, 3, 25, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(15, 5, 35, 0.92);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 5, 35, 0.95);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2), 0 0 25px rgba(124, 58, 237, 0.12);
}

.form-control::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(10, 3, 25, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a78bfa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color-scheme: dark;
}

select.form-control:hover {
  background-color: rgba(15, 5, 35, 0.95);
}

select.form-control:focus {
  background-color: rgba(15, 5, 35, 0.98);
}

select.form-control option {
  background-color: #0a0318;
  color: var(--text);
  padding: 14px 16px;
}

select.form-control option:hover,
select.form-control option:focus,
select.form-control option:checked {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(109, 40, 217, 0.9)) !important;
  background-color: rgba(124, 58, 237, 0.9) !important;
  color: #fff;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   10. FOOTER
========================================================== */
.footer {
  background: rgba(5, 0, 15, 0.9);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ==========================================================
   11. UTILIDADES
========================================================== */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-sm {
  max-width: 600px;
}

.container-md {
  max-width: 900px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--accent-soft); }
.text-orange { color: var(--accent-alt); }
.text-success { color: var(--success); }
.text-muted { color: var(--muted); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loader */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 0, 20, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.6);
}

/* Selection */
::selection {
  background: rgba(124, 58, 237, 0.4);
  color: var(--text);
}

/* ==========================================================
   12. RESPONSIVE GENERAL
========================================================== */
@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .btn { padding: 0.55rem 1rem; }
  .btn-lg { padding: 0.7rem 1.25rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
  html { font-size: 15px; }
}

/* ==========================================================
   13. PAGE LAYOUTS
========================================================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding: 2rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================
   14. CHECKOUT LAYOUT
========================================================== */
.checkout-wrapper {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.checkout-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.checkout-header .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-accent);
}

.checkout-header .icon-circle i {
  font-size: 1.8rem;
  color: #fff;
}

.checkout-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 50%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   15. PRINT STYLES
========================================================== */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  
  .nav, .footer, .btn {
    display: none;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
