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

body {
  font-family: "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #eff6ff 100%); /* soft blue/sky gradients */
  min-height: 100vh;
}

/* Estilos del encabezado */
.encabezado-principal {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1); /* blue-600 con baja opacidad*/
}

.encabezado-contenido {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Estilos del logo */
.encabezado-izquierda {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icono-destellos {
  color: #2563eb; /* blue-600 */
  width: 32px;
  height: 32px;
}

.texto-logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a; /* blue-900 */
  margin: 0;
  cursor: pointer;
  line-height: 1.2;
}

.texto-logo p {
  font-size: 0.90rem;
  color: #3b82f6; /* blue-500 */
  margin: 0;
}

/* Enlaces de navegación */
.enlaces-navegacion {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.enlaces-navegacion a {
  text-decoration: none;
  color: #374151; /* gray-700 */
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1.25rem;
}

.enlaces-navegacion a:hover {
  color: #2563eb; /* blue-600 */
}

/* Botón del carrito */
.boton-carrito {
  position: relative;
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boton-carrito:hover {
  background-color: #dbeafe; /* blue-100 */
}

.icono-carrito {
  color: #2563eb; /* blue-600 */
  width: 24px;
  height: 24px;
}

.header-acciones {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  color: #2563eb;
  transition: background-color 0.2s;
}

.menu-toggle:hover {
  background-color: #dbeafe;
}

.insignia {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #2563eb; /* blue-600 */
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Ocultar navegador en móvil y preparar menú lateral */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .enlaces-navegacion {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    display: flex; /* Asegurar display flex */
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 2005; /* Por encima de todo, incluido el header */
    gap: 2rem;
    align-items: flex-start;
    pointer-events: auto; /* Asegurar que recibe eventos */
  }

  .enlaces-navegacion.abierto {
    right: 0;
  }

  .enlaces-navegacion a {
    width: 100%;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
  }

  /* Capa de fondo para el menú móvil */
  .overlay-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999; /* Por debajo del header que es 1000 */
  }

  .overlay-menu.mostrar {
    display: block;
  }
}

/* BOTONES */
.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-primario {
  background: #2563eb; /* blue-600 */
  color: white;
}

.btn-primario:hover {
  background: #1d4ed8; /* blue-700 */
  transform: translateY(-2px);
}

.btn-secundario {
  background: #dbeafe; /* blue-100 */
  color: #1e40af; /* blue-800 */
}

.btn-secundario:hover {
  background: #bfdbfe; /* blue-200 */
}

.btn-peligro {
  background: #ef4444;
  color: white;
}

.btn-peligro:hover {
  background: #dc2626;
}

main {
  width: 100%;
}

.contenedor-contenido {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.vista {
  display: none;
}

.vista.activa {
  display: block;
}

/* Hero Section */
.seccion-hero.activa {
    position: relative;
    min-height: calc(100vh - 80px); /* Ajusta la altura del header*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.fondo-hero {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.fondo-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capa-hero {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.85), rgba(37, 99, 235, 0.85)); /* blue-900 to blue-600 */
    z-index: 2;
}

.contenido-hero {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem; /* Espacio consistente */
}

.contenido-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    color: #dbeafe; /* blue-100 */
}

.contenido-hero .texto-gradiente {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10rem;
    font-style: italic;
    background: linear-gradient(to right, #dbeafe, #60a5fa); /* blue-100 to blue-400 */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-weight: 700;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    letter-spacing: -0.02em;
}

.contenido-hero .texto-subtitulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.875rem;
    font-style: italic;
    color: #e0f2fe; /* sky-100 */
    margin: 0;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.02em;
}

.contenido-hero p {
    font-size: 1.25rem;
    color: #eff6ff; /* blue-50 */
    margin: 0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
}

.boton-hero {
    background: white;
    color: #1e40af; /* blue-800 */
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boton-hero:hover {
    background: #eff6ff;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Encabezado Sesiones */
.encabezado-sesiones {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.encabezado-sesiones h2 {
    color: #1e3a8a; /* blue-900 */
    font-size: 2.5rem; /* ~text-4xl/5xl */
    margin-bottom: 1rem;
    font-weight: 700;
}

.encabezado-sesiones p {
    font-size: 1.25rem; /* ~text-xl */
    color: #4b5563; /* gray-600 */
    line-height: 1.6;
}

/* Sesiones grid y cards */
.cuadricula-sesiones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.tarjeta-sesion {
    background: white;
    border-radius: 1rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    border: none;
}

.tarjeta-sesion:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    transform: translateY(-4px);
}

.contenedor-imagen-tarjeta {
    position: relative;
    height: 14rem; /* h-56 */
    overflow: hidden;
}

.imagen-tarjeta {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tarjeta-sesion:hover .imagen-tarjeta {
    transform: scale(1.05);
}

.insignia-precio-tarjeta {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2563eb; /* blue-600 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contenido-tarjeta {
    padding: 1.5rem; /* p-6 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tarjeta-sesion h3 {
    font-size: 1.5rem; /* text-2xl */
    color: #1e3a8a; /* blue-900 */
    margin-bottom: 0.75rem;
    font-weight: 700;
    margin-top: 0;
}

.descripcion-tarjeta {
    color: #4b5563; /* gray-600 */
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    /* line-clamp-3 equivalent */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.meta-tarjeta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* gray-500 */
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.boton-agregar-carrito {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #4f46e5); /* blue-600 to indigo-600 */
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem; /* rounded-lg */
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.boton-agregar-carrito:hover {
    background: linear-gradient(to right, #1d4ed8, #4338ca); /* darker gradient */
}

.boton-agregar-carrito svg {
    transition: transform 0.3s;
}

.boton-agregar-carrito:hover svg {
    transform: scale(1.1);
}

.carrito-vacio {
  text-align: center;
  padding: 4rem 2rem;
}

/* Footer Section */
.pie-principal {
    background: linear-gradient(to right, #1e3a8a, #172554); /* blue-900 to blue-950 */
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.contenedor-pie {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cuadricula-pie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.logo-pie {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.icono-destellos-pie {
    width: 32px;
    height: 32px;
    color: #93c5fd; /* blue-300 */
}

.logo-pie h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.marca-pie p, .seccion-pie p {
    color: #bfdbfe; /* blue-200 */
    line-height: 1.6;
}

.seccion-pie h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-contacto {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-contacto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfdbfe;
}

.icono-pequeno {
    width: 20px;
    height: 20px;
}

.derechos-pie {
    border-top: 1px solid rgba(59, 130, 246, 0.3); /* blue-500/30 */
    padding-top: 2rem;
    text-align: center;
    color: #bfdbfe;
}

.info-proyecto {
    font-size: 0.85rem; 
    margin-top: 0.5rem; 
    opacity: 0.8;
}

.cargando {
  text-align: center;
  padding: 4rem;
}

.cargador-circular {
  border: 4px solid #dbeafe;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

h2 {
  color: #2563eb;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}


/* Estilos del carrito modal */
.contenedor-modal-carrito {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none; 
}

.contenedor-modal-carrito.mostrar {
    display: block;
}

.fondo-modal-carrito {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    animation: fadeIn 0.3s ease;
}

.panel-carrito {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 450px; /* max-w-md approx */
    background: white;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2002;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.encabezado-carrito {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.titulo-carrito {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3a8a; /* blue-900 */
}

.titulo-carrito h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #1e3a8a;
    text-align: left;
}

.titulo-carrito svg {
    color: #2563eb; /* blue-600 */
}

.boton-icono {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 9999px;
    transition: background 0.2s;
    color: #4b5563;
}

.boton-icono:hover {
    background: #f3f4f6;
}

.contenedor-items-carrito {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Las tarjetas del carrito */
.tarjeta-item-carrito {
    background: #eff6ff; /* blue-50 */
    border-radius: 0.5rem;
    padding: 1rem;
}

.encabezado-item-carrito {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.encabezado-item-carrito h3 {
    color: #1e3a8a; /* blue-900 */
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.boton-eliminar {
    background: transparent;
    border: none;
    color: #ef4444; /* red-500 */
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.boton-eliminar:hover {
    color: #dc2626; /* red-700 */
}

.meta-item-carrito {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.controles-item-carrito {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controles-cantidad {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.boton-cantidad {
    background: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem;
    cursor: pointer;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.boton-cantidad:hover {
    background: #dbeafe; /* blue-100 */
}

.cantidad-display {
    width: 2rem;
    text-align: center;
    font-weight: 500;
}

.precio-item {
    font-weight: 700;
    color: #1e3a8a;
}

/* Cuando el carrito está vacio */
.estado-carrito-vacio { 
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.icono-vacio {
    color: #d1d5db; /* gray-300 */
    margin-bottom: 1rem;
}

/* El pie del carrito */
.pie-carrito {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
    background: #f9fafb; /* gray-50 */
}

.pie-carrito.oculto {
    display: none;
}

.fila-total-carrito {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #374151;
}

.monto-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.boton-pagar {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.boton-pagar:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.boton-vaciar {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #e54646);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s;
    margin-bottom: 1rem;
}

.boton-vaciar:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Preferences  */
.cuadricula-prefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.tarjeta-pref {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.tarjeta-pref:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contenedor-icono-pref {
  width: 50px;
  height: 50px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contenedor-icono-pref.peligro {
  background: #fef2f2;
  color: #ef4444;
}

.contenido-pref h3 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contenido-pref p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.btn-pref {
  background: white;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}

.btn-pref:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-peligro-outline {
  background: white;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-peligro-outline:hover {
  background: #fef2f2;
}

/* Estilo del interuptor notificacion sí/no */
.contenedor-interruptor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.interruptor {
    width: 48px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.interruptor::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.interruptor.activa {
    background: #2563eb;
}

.interruptor.activa::after {
    transform: translateX(24px);
}

/* ================= MODO OSCURO (Dark Mode) ================= */
body.modo-oscuro {
  background: #0f172a; /* slate-900 */
  color: #f8fafc;
}

/* Cabecera en el modo oscuro */
body.modo-oscuro .encabezado-principal {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.modo-oscuro .enlaces-navegacion a {
  color: #e2e8f0;
}

body.modo-oscuro .enlaces-navegacion a:hover {
  color: #60a5fa; /* blue-400 */
}

body.modo-oscuro .texto-logo h1 {
  color: #f8fafc;
}

body.modo-oscuro .texto-logo p {
  color: #94a3b8;
}

/*  Hero en modo oscuro*/
body.modo-oscuro .contenido-hero h1 {
  color: white;
}
body.modo-oscuro .contenido-hero p {
  color: #cbd5e1;
}

/* Secciones en modo oscuro */
body.modo-oscuro .encabezado-sesiones h2 {
    color: #f8fafc;
}
body.modo-oscuro .encabezado-sesiones p {
    color: #cbd5e1;
}

/* Las tarjetas en modo oscuro */
body.modo-oscuro .tarjeta-sesion,
body.modo-oscuro .tarjeta-pref {
  background: #1e293b; /* slate-800 */
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body.modo-oscuro .contenido-tarjeta h3,
body.modo-oscuro .contenido-pref h3 {
  color: #f8fafc;
}

body.modo-oscuro .descripcion-tarjeta,
body.modo-oscuro .contenido-pref p {
  color: #94a3b8;
}

body.modo-oscuro .btn-pref {
    background: #334155;
    border-color: #475569;
    color: #e2e8f0;
}

body.modo-oscuro .btn-pref:hover {
    background: #475569;
}

/* El pie en modo oscuro */
body.modo-oscuro .pie-principal {
    background: #020617; 
}

body.modo-oscuro .derechos-pie p {
  color: #64748b;
}

/* Carrito en modo oscuro */
body.modo-oscuro .panel-carrito {
    background: #1e293b;
}
body.modo-oscuro .titulo-carrito h2,
body.modo-oscuro .encabezado-item-carrito h3,
body.modo-oscuro .precio-item,
body.modo-oscuro .monto-total {
    color: #f8fafc;
}

body.modo-oscuro .tarjeta-item-carrito {
    background: #334155;
}
body.modo-oscuro .meta-item-carrito {
    color: #cbd5e1;
}
body.modo-oscuro .boton-cantidad {
    background: #1e293b;
    color: #60a5fa;
}
body.modo-oscuro .fila-total-carrito {
    color: #e2e8f0;
}
body.modo-oscuro .pie-carrito {
    background: #0f172a;
    border-top-color: #334155;
}
body.modo-oscuro .encabezado-carrito {
    border-bottom-color: #334155;
}
