/* Modo oscuro de la tienda. Se activa con la clase "dark" en <html> (ver layouts/app.blade.php).
   Sigue la preferencia del dispositivo y el usuario puede elegir Claro / Oscuro / Auto en el menú "¡Hola, Nombre!". */
html.dark{color-scheme:dark;background:#0b1220}
html.dark body.bg-slate-50{background-color:#0b1220}
html.dark body{color:#e2e8f0}

/* Componentes definidos con @apply */
html.dark .card{background-color:#111c33;border-color:#26354f}
html.dark .input,html.dark input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),html.dark select,html.dark textarea{background-color:#0f1a30;color:#e2e8f0;border-color:#334562}
html.dark input::placeholder,html.dark textarea::placeholder{color:#7c8aa0}
html.dark .btn-o{background-color:#111c33;color:#93c5fd;border-color:#3b82f6}
html.dark .btn-o:hover{background-color:#16294d}
html.dark .lbl{color:#b4c0d1}
html.dark .opcion-concepto{background-color:#111c33;color:#cbd5e1;border-color:#334562}
html.dark .opcion-concepto.activa{background-color:#1c3358;color:#fff;border-color:#60a5fa}
html.dark .dd-item{color:#e2e8f0}
html.dark .dd-item:hover{background-color:#16294d}

/* Superficies y bordes sin color explícito */
html.dark .bg-white{background-color:#111c33}
html.dark .divide-y > * + *,html.dark .border-t,html.dark .border-b,html.dark .border-l{border-color:#26354f}
html.dark table,html.dark th,html.dark td{border-color:#26354f}
html.dark hr{border-color:#26354f}
html.dark code{background-color:#1b2a47;color:#e2e8f0}
html.dark details>summary{color:inherit}

/* Cosas que quedan sobre fotos / fondos claros: se mantienen legibles */
html.dark #hero-prev,html.dark #hero-next{background-color:rgba(15,23,42,.75);color:#fff}
html.dark #hero-prev:hover,html.dark #hero-next:hover{background-color:rgba(15,23,42,.95)}
html.dark .text-slate-300{color:#475569}      /* estrellas vacías */
html.dark .shadow-xl,html.dark .shadow-2xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.6)}

/* Colores por variante (generados a partir de las clases que usan las vistas) */
html.dark .bg-amber-50{background-color:#3a2a0c}
html.dark .peer:checked ~ .peer-checked\:bg-amber-50{background-color:#3a2a0c}
html.dark .bg-blue-100{background-color:#1c3358}
html.dark .bg-blue-50{background-color:#14264a}
html.dark .\!bg-blue-50{background-color:#14264a !important}
html.dark .hover\:bg-blue-50:hover{background-color:#14264a}
html.dark .peer:checked ~ .peer-checked\:bg-blue-50{background-color:#14264a}
html.dark .bg-green-100{background-color:#14392b}
html.dark .bg-green-50{background-color:#0f2e22}
html.dark .hover\:bg-green-50:hover{background-color:#0f2e22}
html.dark .bg-indigo-100{background-color:#27235c}
html.dark .bg-indigo-50{background-color:#1e1b4b}
html.dark .bg-orange-100{background-color:#4a2812}
html.dark .bg-red-100{background-color:#4a1a1d}
html.dark .bg-red-50{background-color:#3a1518}
html.dark .\!bg-red-50{background-color:#3a1518 !important}
html.dark .bg-slate-100{background-color:#1b2a47}
html.dark .hover\:bg-slate-100:hover{background-color:#1b2a47}
html.dark .bg-slate-50{background-color:#16233d}
html.dark .bg-yellow-100{background-color:#4a3d0e}
html.dark .border-blue-200{border-color:#1e3a6e}
html.dark .\!border-blue-200{border-color:#1e3a6e !important}
html.dark .border-green-300{border-color:#166534}
html.dark .border-red-300{border-color:#7f1d1d}
html.dark .\!border-red-300{border-color:#7f1d1d !important}
html.dark .border-slate-200{border-color:#26354f}
html.dark .border-slate-300{border-color:#334562}
html.dark .text-amber-700{color:#fbbf24}
html.dark .text-amber-900{color:#fde68a}
html.dark .text-blue-600{color:#60a5fa}
html.dark .text-blue-700{color:#93c5fd}
html.dark .hover\:text-blue-700:hover{color:#93c5fd}
html.dark .text-blue-800{color:#bfdbfe}
html.dark .text-blue-900{color:#bfdbfe}
html.dark .text-green-700{color:#4ade80}
html.dark .text-green-800{color:#86efac}
html.dark .text-green-900{color:#bbf7d0}
html.dark .text-indigo-700{color:#a5b4fc}
html.dark .text-indigo-800{color:#a5b4fc}
html.dark .text-indigo-900{color:#c7d2fe}
html.dark .text-orange-800{color:#fdba74}
html.dark .text-red-600{color:#f87171}
html.dark .text-red-700{color:#f87171}
html.dark .text-red-800{color:#fca5a5}
html.dark .text-red-900{color:#fecaca}
html.dark .text-slate-300{color:#475569}
html.dark .text-slate-400{color:#7c8aa0}
html.dark .text-slate-500{color:#94a3b8}
html.dark .text-slate-600{color:#b4c0d1}
html.dark .text-slate-700{color:#cbd5e1}
html.dark .text-slate-800{color:#e2e8f0}
html.dark .text-yellow-800{color:#fde047}
html.dark .bg-slate-200{background-color:#26354f}
html.dark .oferta-btn:disabled{opacity:.4;cursor:not-allowed;background-color:#1b2a47;color:#64748b;border-color:#334562}
html.dark .bg-orange-50{background-color:#3a2010}
html.dark .border-orange-300{border-color:#9a3412}
html.dark .text-orange-900{color:#fed7aa}
html.dark .text-orange-700{color:#fdba74}
