/**
 * EXIPLAST v4 Unified — Modo Oscuro Profesional Unificado (html.dark-mode / html.dark)
 * Jerarquía de superficies:
 *   - Fondo base:        #0b0f17
 *   - Banda secundaria:  #0f1522
 *   - Tarjetas/paneles:  #131a26 + borde rgba(255, 255, 255, 0.10)
 *   - Inputs/interiores: #1b2434 + texto #f1f5f9 / placeholder #94a3b8
 *   - Tipografía:        #f8fafc (principal) | #cbd5e1 (secundario) | #94a3b8 (tenue)
 */

html.dark-mode,
html.dark {
  color-scheme: dark;
  --dm-bg-base: #0b0f17;
  --dm-bg-band: #0f1522;
  --dm-bg-surface: #131a26;
  --dm-bg-elevated: #1b2434;
  --dm-bg-hover: #243044;
  --dm-border: rgba(255, 255, 255, 0.10);
  --dm-border-subtle: rgba(255, 255, 255, 0.07);
  --dm-border-strong: rgba(255, 255, 255, 0.16);
  --dm-text-primary: #f8fafc;
  --dm-text-secondary: #cbd5e1;
  --dm-text-muted: #94a3b8;
  --dm-input-text: #f1f5f9;
  --dm-accent: #ea580c;
  --dm-accent-bright: #fb923c;
  background-color: var(--dm-bg-base) !important;
  color: var(--dm-text-primary) !important;
}

/* ==========================================================================
   1. BASE DE PÁGINA Y BANDAS EXTERNAS (#0b0f17)
   ========================================================================== */
html.dark-mode body,
html.dark body,
html.dark-mode main,
html.dark main {
  background-color: #0b0f17 !important;
  color: #f8fafc !important;
}

html.dark-mode main > section.w-full,
html.dark-mode main > div.w-full,
html.dark main > section.w-full,
html.dark main > div.w-full {
  background-color: #0b0f17 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Bandas alternadas sutiles en landing e info-util para separar secciones sin perder contraste */
html.dark-mode #kit-pasteleria,
html.dark #kit-pasteleria,
html.dark-mode main > div.w-full.bg-slate-50.border-b,
html.dark main > div.w-full.bg-slate-50.border-b {
  background-color: #0f1522 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode #nuevos-ingresos,
html.dark-mode #kit-sushi,
html.dark #nuevos-ingresos,
html.dark #kit-sushi {
  background-color: #0b0f17 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   2. TOPBAR, HEADER STICKY Y FOOTER
   ========================================================================== */
html.dark-mode body > header,
html.dark body > header {
  background-color: #0f1522 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

html.dark-mode body > header *,
html.dark body > header * {
  color: #cbd5e1 !important;
}

html.dark-mode body > section.sticky,
html.dark body > section.sticky {
  background-color: rgba(19, 26, 38, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.5) !important;
}

/* Divisores verticales del header */
html.dark-mode section.sticky div[class*="border-l"],
html.dark section.sticky div[class*="border-l"] {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark-mode section.sticky div[class*="w-[1px]"],
html.dark section.sticky div[class*="w-[1px]"] {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

/* Footer institucional profundo */
html.dark-mode footer,
html.dark footer {
  background-color: #080b11 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

html.dark-mode footer .border-slate-800,
html.dark-mode footer .border-slate-800\/80,
html.dark footer .border-slate-800,
html.dark footer .border-slate-800\/80 {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   3. HERO SLIDER (index.html) — GRADIENTE OSCURO LEGIBLE
   ========================================================================== */
html.dark-mode #hero-slider-section,
html.dark #hero-slider-section {
  background-color: #0b0f17 !important;
}

html.dark-mode #hero-slider-section article.carousel-slide,
html.dark #hero-slider-section article.carousel-slide {
  background-color: transparent !important;
  border: none !important;
}

html.dark-mode #hero-slider-section img,
html.dark #hero-slider-section img {
  filter: brightness(0.84) contrast(1.04) !important;
}

html.dark-mode #hero-slider-section div[class*="from-[#faf6f0]"],
html.dark #hero-slider-section div[class*="from-[#faf6f0]"] {
  background-image: linear-gradient(
    to right,
    #0b0f17 0%,
    rgba(11, 15, 23, 0.94) 52%,
    rgba(11, 15, 23, 0.62) 78%,
    rgba(11, 15, 23, 0.08) 100%
  ) !important;
}

@media (max-width: 1023px) {
  html.dark-mode #hero-slider-section div[class*="from-[#faf6f0]"],
  html.dark #hero-slider-section div[class*="from-[#faf6f0]"] {
    background-image: linear-gradient(
      to right,
      rgba(11, 15, 23, 0.94) 0%,
      rgba(11, 15, 23, 0.84) 68%,
      rgba(11, 15, 23, 0.50) 100%
    ) !important;
  }
}

html.dark-mode #hero-slider-section h1,
html.dark-mode #hero-slider-section h2,
html.dark #hero-slider-section h1,
html.dark #hero-slider-section h2 {
  color: #f8fafc !important;
}

html.dark-mode #hero-slider-section h1,
html.dark-mode #hero-slider-section h1 span,
html.dark #hero-slider-section h1,
html.dark #hero-slider-section h1 span {
  color: #fb923c !important;
}

html.dark-mode #hero-slider-section p,
html.dark #hero-slider-section p {
  color: #cbd5e1 !important;
}

html.dark-mode #hero-slider-section span[class*="text-[#ea580c]"],
html.dark #hero-slider-section span[class*="text-[#ea580c]"] {
  color: #fb923c !important;
}

html.dark-mode #hero-slider-section span[class*="text-[#1d74b9]"],
html.dark #hero-slider-section span[class*="text-[#1d74b9]"] {
  color: #60a5fa !important;
}

/* ==========================================================================
   4. SUPERFICIES PRINCIPALES: TARJETAS, PANELES Y DROPDOWNS (#131a26)
   ========================================================================== */
html.dark-mode .bg-white,
html.dark .bg-white {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #products-grid > div,
html.dark-mode #new-arrivals-carousel > div,
html.dark-mode #kit-pasteleria-carousel > div,
html.dark-mode #kit-sushi-carousel > div,
html.dark-mode #primer-compra-grid > div,
html.dark-mode #ofertas-grid > div,
html.dark-mode #subcategory-products-grid > div,
html.dark #products-grid > div,
html.dark #new-arrivals-carousel > div,
html.dark #kit-pasteleria-carousel > div,
html.dark #kit-sushi-carousel > div,
html.dark #primer-compra-grid > div,
html.dark #ofertas-grid > div,
html.dark #subcategory-products-grid > div {
  background-color: #131a26 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.65) !important;
}

html.dark-mode #products-grid > div:hover,
html.dark-mode #new-arrivals-carousel > div:hover,
html.dark-mode #kit-pasteleria-carousel > div:hover,
html.dark-mode #kit-sushi-carousel > div:hover,
html.dark-mode #primer-compra-grid > div:hover,
html.dark-mode #ofertas-grid > div:hover,
html.dark-mode #subcategory-products-grid > div:hover,
html.dark #products-grid > div:hover,
html.dark #new-arrivals-carousel > div:hover,
html.dark #kit-pasteleria-carousel > div:hover,
html.dark #kit-sushi-carousel > div:hover,
html.dark #primer-compra-grid > div:hover,
html.dark #ofertas-grid > div:hover,
html.dark #subcategory-products-grid > div:hover {
  border-color: rgba(234, 88, 12, 0.45) !important;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.78) !important;
}

/* ==========================================================================
   5. SUPERFICIES INTERNAS Y ELEVADAS (#1b2434) — SELECTORES EXACTOS
   ========================================================================== */
html.dark-mode .bg-slate-50,
html.dark-mode .bg-slate-50\/50,
html.dark-mode .bg-slate-50\/60,
html.dark-mode .bg-slate-50\/70,
html.dark-mode .bg-slate-50\/80,
html.dark-mode .bg-slate-100,
html.dark-mode .bg-slate-200,
html.dark-mode .bg-slate-200\/60,
html.dark-mode .bg-slate-200\/80,
html.dark .bg-slate-50,
html.dark .bg-slate-50\/50,
html.dark .bg-slate-50\/60,
html.dark .bg-slate-50\/70,
html.dark .bg-slate-50\/80,
html.dark .bg-slate-100,
html.dark .bg-slate-200,
html.dark .bg-slate-200\/60,
html.dark .bg-slate-200\/80 {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
}

/* Re-asegurar fondo base #0b0f17 en contenedores de página entera que usen bg-slate-50 */
html.dark-mode main > section.w-full.bg-slate-50,
html.dark-mode main > div.w-full.bg-slate-50,
html.dark main > section.w-full.bg-slate-50,
html.dark main > div.w-full.bg-slate-50 {
  background-color: #0b0f17 !important;
}

html.dark-mode #kit-pasteleria.bg-slate-50\/70,
html.dark #kit-pasteleria.bg-slate-50\/70,
html.dark-mode main > div.w-full.bg-slate-50.border-b,
html.dark main > div.w-full.bg-slate-50.border-b {
  background-color: #0f1522 !important;
}

/* Sub-bandas dentro de tarjetas (header de checkout, footer de carrito, switcher de auth) */
html.dark-mode #authSwitcherWrap,
html.dark #authSwitcherWrap,
html.dark-mode #cartItemsContainer + div,
html.dark #cartItemsContainer + div,
html.dark-mode .bg-white > .bg-slate-50\/60,
html.dark .bg-white > .bg-slate-50\/60 {
  background-color: #0f1522 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   6. BORDES Y DIVISORES VISIBLES
   ========================================================================== */
html.dark-mode .border-slate-100,
html.dark-mode .border-slate-200,
html.dark-mode .border-slate-200\/60,
html.dark-mode .border-slate-200\/80,
html.dark-mode .border-slate-200\/90,
html.dark-mode .border-slate-300,
html.dark-mode .divide-slate-100 > * + *,
html.dark-mode .divide-slate-50 > * + *,
html.dark .border-slate-100,
html.dark .border-slate-200,
html.dark .border-slate-200\/60,
html.dark .border-slate-200\/80,
html.dark .border-slate-200\/90,
html.dark .border-slate-300,
html.dark .divide-slate-100 > * + *,
html.dark .divide-slate-50 > * + * {
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* ==========================================================================
   7. JERARQUÍA TIPOGRÁFICA (#f8fafc | #cbd5e1 | #94a3b8)
   ========================================================================== */
html.dark-mode .text-slate-900,
html.dark-mode .text-slate-800,
html.dark .text-slate-900,
html.dark .text-slate-800 {
  color: #f8fafc !important;
}

html.dark-mode .text-slate-700,
html.dark .text-slate-700 {
  color: #e2e8f0 !important;
}

html.dark-mode .text-slate-600,
html.dark-mode .text-slate-500,
html.dark-mode .text-zinc-400,
html.dark .text-slate-600,
html.dark .text-slate-500,
html.dark .text-zinc-400 {
  color: #cbd5e1 !important;
}

html.dark-mode .text-slate-400,
html.dark .text-slate-400 {
  color: #94a3b8 !important;
}

html.dark-mode .text-slate-300,
html.dark .text-slate-300 {
  color: #64748b !important;
}

html.dark-mode .sku-badge-text,
html.dark .sku-badge-text {
  background-color: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
}

/* Acentos de color accesibles sobre superficies oscuras */
html.dark-mode .text-orange-600,
html.dark-mode .text-orange-700,
html.dark-mode .text-orange-500,
html.dark .text-orange-600,
html.dark .text-orange-700,
html.dark .text-orange-500 {
  color: #fb923c !important;
}

html.dark-mode .text-emerald-600,
html.dark-mode .text-emerald-700,
html.dark-mode .text-emerald-800,
html.dark .text-emerald-600,
html.dark .text-emerald-700,
html.dark .text-emerald-800 {
  color: #34d399 !important;
}

html.dark-mode .text-rose-600,
html.dark-mode .text-rose-700,
html.dark .text-rose-600,
html.dark .text-rose-700 {
  color: #fb7185 !important;
}

html.dark-mode .text-amber-700,
html.dark .text-amber-700 {
  color: #fbbf24 !important;
}

html.dark-mode .text-blue-700,
html.dark-mode .text-sky-700,
html.dark .text-blue-700,
html.dark .text-sky-700 {
  color: #7dd3fc !important;
}

html.dark-mode .text-purple-700,
html.dark .text-purple-700 {
  color: #d8b4fe !important;
}

/* Proteger botones y badges sólidos (texto e íconos siempre blancos) */
html.dark-mode .bg-orange-600,
html.dark-mode .bg-orange-600 *,
html.dark-mode .bg-orange-500,
html.dark-mode .bg-orange-500 *,
html.dark-mode .bg-emerald-600,
html.dark-mode .bg-emerald-600 *,
html.dark-mode .bg-rose-600,
html.dark-mode .bg-rose-600 *,
html.dark-mode .bg-\[\#007b55\],
html.dark-mode .bg-\[\#007b55\] *,
html.dark-mode .bg-\[\#25D366\],
html.dark-mode .bg-\[\#25D366\] *,
html.dark-mode .bg-\[\#1d74b9\],
html.dark-mode .bg-\[\#1d74b9\] *,
html.dark-mode .btn-3d-productos,
html.dark-mode .btn-3d-productos *,
html.dark-mode .exiplast-wa-float,
html.dark-mode .exiplast-wa-float *,
html.dark .bg-orange-600,
html.dark .bg-orange-600 *,
html.dark .bg-orange-500,
html.dark .bg-orange-500 *,
html.dark .bg-emerald-600,
html.dark .bg-emerald-600 *,
html.dark .bg-rose-600,
html.dark .bg-rose-600 *,
html.dark .bg-\[\#007b55\],
html.dark .bg-\[\#007b55\] *,
html.dark .bg-\[\#25D366\],
html.dark .bg-\[\#25D366\] *,
html.dark .bg-\[\#1d74b9\],
html.dark .bg-\[\#1d74b9\] *,
html.dark .btn-3d-productos,
html.dark .btn-3d-productos *,
html.dark .exiplast-wa-float,
html.dark .exiplast-wa-float * {
  color: #ffffff !important;
}

/* Contador blanco dentro del botón naranja "Mi Carrito" */
html.dark-mode .btn-3d-productos .bg-white,
html.dark-mode .mobile-cart-link .cart-count-badge,
html.dark .btn-3d-productos .bg-white,
html.dark .mobile-cart-link .cart-count-badge {
  background-color: #ffffff !important;
  color: #ea580c !important;
  border-color: transparent !important;
}

/* Badge fiscal "Consumidor Final" con borde visible sobre tarjetas oscuras */
html.dark-mode #fiscalBadgeContainer .bg-slate-800,
html.dark-mode #checkoutFiscalBadgeContainer .bg-slate-800,
html.dark-mode #accountFiscalBadgeContainer .bg-slate-800,
html.dark #fiscalBadgeContainer .bg-slate-800,
html.dark #checkoutFiscalBadgeContainer .bg-slate-800,
html.dark #accountFiscalBadgeContainer .bg-slate-800 {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
}

/* ==========================================================================
   8. AVISOS, BANNERS TINTADOS Y TARJETAS DE ALERTA (auth.html / checkout / info-util)
   ========================================================================== */
html.dark-mode .bg-orange-50,
html.dark-mode .bg-orange-50\/20,
html.dark-mode .bg-orange-50\/30,
html.dark-mode .bg-orange-50\/50,
html.dark-mode .bg-orange-50\/60,
html.dark-mode .bg-orange-50\/70,
html.dark-mode .bg-orange-50\/80,
html.dark-mode .bg-orange-100,
html.dark .bg-orange-50,
html.dark .bg-orange-50\/20,
html.dark .bg-orange-50\/30,
html.dark .bg-orange-50\/50,
html.dark .bg-orange-50\/60,
html.dark .bg-orange-50\/70,
html.dark .bg-orange-50\/80,
html.dark .bg-orange-100 {
  background-color: rgba(234, 88, 12, 0.12) !important;
  border-color: rgba(234, 88, 12, 0.35) !important;
}

/* Cajas de íconos dentro de avisos y tarjetas */
html.dark-mode .bg-orange-50\/60 .bg-orange-100,
html.dark-mode .w-8.h-8.bg-orange-100,
html.dark-mode .w-9.h-9.bg-orange-100,
html.dark-mode .w-10.h-10.bg-orange-50,
html.dark-mode .w-12.h-12.bg-orange-50,
html.dark-mode .w-14.h-14.bg-orange-50,
html.dark .bg-orange-50\/60 .bg-orange-100,
html.dark .w-8.h-8.bg-orange-100,
html.dark .w-9.h-9.bg-orange-100,
html.dark .w-10.h-10.bg-orange-50,
html.dark .w-12.h-12.bg-orange-50,
html.dark .w-14.h-14.bg-orange-50 {
  background-color: rgba(234, 88, 12, 0.20) !important;
  border-color: rgba(234, 88, 12, 0.38) !important;
  color: #fb923c !important;
}

/* Título naranja brillante y cuerpo legible #e2e8f0 en avisos críticos */
html.dark-mode #registerNoticeTitle,
html.dark-mode .text-orange-950,
html.dark-mode .bg-orange-50\/60 > h4,
html.dark-mode .bg-orange-50\/60 h4.text-orange-700,
html.dark #registerNoticeTitle,
html.dark .text-orange-950,
html.dark .bg-orange-50\/60 > h4,
html.dark .bg-orange-50\/60 h4.text-orange-700 {
  color: #fb923c !important;
}

html.dark-mode #registerNoticeText,
html.dark-mode .text-orange-900\/80,
html.dark-mode .bg-orange-50\/60 p,
html.dark-mode .bg-orange-50\/70 p,
html.dark-mode .bg-orange-50\/80 p,
html.dark #registerNoticeText,
html.dark .text-orange-900\/80,
html.dark .bg-orange-50\/60 p,
html.dark .bg-orange-50\/70 p,
html.dark .bg-orange-50\/80 p {
  color: #e2e8f0 !important;
}

html.dark-mode #registerNoticeText strong,
html.dark-mode .bg-orange-50\/60 p strong,
html.dark-mode .bg-orange-50\/70 p strong,
html.dark-mode .text-orange-950 strong,
html.dark #registerNoticeText strong,
html.dark .bg-orange-50\/60 p strong,
html.dark .bg-orange-50\/70 p strong,
html.dark .text-orange-950 strong {
  color: #f8fafc !important;
}

/* Badges y paneles semánticos (emerald, amber, blue, sky, purple, rose) */
html.dark-mode .bg-emerald-50,
html.dark-mode .bg-emerald-100,
html.dark-mode .bg-emerald-100\/80,
html.dark .bg-emerald-50,
html.dark .bg-emerald-100,
html.dark .bg-emerald-100\/80 {
  background-color: rgba(16, 185, 129, 0.13) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

html.dark-mode #orderConfirmationPanel,
html.dark #orderConfirmationPanel {
  background-color: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

html.dark-mode #orderConfirmationPanel p,
html.dark #orderConfirmationPanel p {
  color: #e2e8f0 !important;
}

html.dark-mode #confirmedOrderTotal,
html.dark #confirmedOrderTotal {
  background-color: #1b2434 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #fb923c !important;
}

html.dark-mode #confirmedBotSentNote,
html.dark #confirmedBotSentNote,
html.dark-mode #recoveryInfoBox,
html.dark #recoveryInfoBox {
  background-color: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(16, 185, 129, 0.38) !important;
  color: #6ee7b7 !important;
}

html.dark-mode .bg-amber-50,
html.dark .bg-amber-50 {
  background-color: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fcd34d !important;
}

html.dark-mode .bg-blue-50,
html.dark-mode .bg-sky-50,
html.dark .bg-blue-50,
html.dark .bg-sky-50 {
  background-color: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #7dd3fc !important;
}

html.dark-mode .bg-purple-50,
html.dark .bg-purple-50 {
  background-color: rgba(168, 85, 247, 0.14) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  color: #d8b4fe !important;
}

html.dark-mode .bg-rose-50,
html.dark-mode .bg-rose-100,
html.dark .bg-rose-50,
html.dark .bg-rose-100 {
  background-color: rgba(244, 63, 94, 0.14) !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
  color: #fda4af !important;
}

/* ==========================================================================
   9. CONTROLES DEL HEADER, QUICK LINKS Y BUSCADOR
   ========================================================================== */
html.dark-mode #btnUserMenuTrigger,
html.dark-mode #btnThemeToggle,
html.dark-mode section.sticky a[title="Mis Favoritos"],
html.dark-mode .btn-theme-toggle-mobile,
html.dark-mode .mobile-fav-link,
html.dark-mode .mobile-account-link,
html.dark #btnUserMenuTrigger,
html.dark #btnThemeToggle,
html.dark section.sticky a[title="Mis Favoritos"],
html.dark .btn-theme-toggle-mobile,
html.dark .mobile-fav-link,
html.dark .mobile-account-link {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #e2e8f0 !important;
}

html.dark-mode #btnUserMenuTrigger:hover,
html.dark-mode #btnThemeToggle:hover,
html.dark-mode section.sticky a[title="Mis Favoritos"]:hover,
html.dark-mode .btn-theme-toggle-mobile:hover,
html.dark-mode .mobile-fav-link:hover,
html.dark-mode .mobile-account-link:hover,
html.dark #btnUserMenuTrigger:hover,
html.dark #btnThemeToggle:hover,
html.dark section.sticky a[title="Mis Favoritos"]:hover,
html.dark .btn-theme-toggle-mobile:hover,
html.dark .mobile-fav-link:hover,
html.dark .mobile-account-link:hover {
  background-color: #243044 !important;
  border-color: rgba(234, 88, 12, 0.45) !important;
  color: #fb923c !important;
}

html.dark-mode .user-avatar-container,
html.dark .user-avatar-container {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

html.dark-mode .user-name-label,
html.dark .user-name-label {
  color: #f8fafc !important;
}

html.dark-mode .fav-count-badge,
html.dark-mode section.sticky a[title="Mis Favoritos"] span,
html.dark .fav-count-badge,
html.dark section.sticky a[title="Mis Favoritos"] span {
  background-color: #ea580c !important;
  color: #ffffff !important;
  --tw-ring-color: #131a26 !important;
}

/* Quick links (Ofertas / ¡Hacete revendedor! / Primer Compra) */
html.dark-mode .quick-links-group a.bg-orange-50\/80,
html.dark .quick-links-group a.bg-orange-50\/80 {
  background-color: rgba(234, 88, 12, 0.14) !important;
  border-color: rgba(234, 88, 12, 0.35) !important;
  color: #fb923c !important;
}

html.dark-mode .quick-links-group a.bg-orange-50\/80:hover,
html.dark .quick-links-group a.bg-orange-50\/80:hover {
  background-color: rgba(234, 88, 12, 0.24) !important;
  border-color: rgba(234, 88, 12, 0.55) !important;
  color: #fdba74 !important;
}

html.dark-mode .quick-links-group a[data-reseller-cta="true"],
html.dark .quick-links-group a[data-reseller-cta="true"] {
  background-color: transparent !important;
  border: none !important;
  color: #f8fafc !important;
}

html.dark-mode .quick-links-group a[data-reseller-cta="true"]:hover span:first-child,
html.dark .quick-links-group a[data-reseller-cta="true"]:hover span:first-child {
  color: #fb923c !important;
}

/* SearchBox pill (mantiene azul de marca y contraste nítido) */
html.dark-mode .searchBox,
html.dark .searchBox {
  background: #1B7EE2 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 18px rgba(27, 126, 226, 0.42) !important;
}

html.dark-mode .searchBox .searchInput,
html.dark .searchBox .searchInput {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html.dark-mode .searchBox .searchInput::placeholder,
html.dark .searchBox .searchInput::placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
}

html.dark-mode .searchBox .searchButton,
html.dark .searchBox .searchButton {
  background-color: #ffffff !important;
  color: #1B7EE2 !important;
}

/* ==========================================================================
   10. DROPDOWNS, MEGAMENÚ, BUSCADOR PREDICTIVO Y MODALES (#131a26)
   ========================================================================== */
html.dark-mode #megaMenuDropdown,
html.dark-mode #userMenuDropdown,
html.dark-mode .exiplast-search-dropdown,
html.dark-mode .custom-city-dropdown,
html.dark-mode #modalPasswordRecovery > div,
html.dark-mode #modalRegisterVerification > div,
html.dark-mode #exiplast-confirm-modal > div,
html.dark-mode #pendingOrderQrModal > div,
html.dark #megaMenuDropdown,
html.dark #userMenuDropdown,
html.dark .exiplast-search-dropdown,
html.dark .custom-city-dropdown,
html.dark #modalPasswordRecovery > div,
html.dark #modalRegisterVerification > div,
html.dark #exiplast-confirm-modal > div,
html.dark #pendingOrderQrModal > div {
  background-color: #131a26 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 52px -12px rgba(0, 0, 0, 0.82) !important;
  color: #f8fafc !important;
}

/* Cabecera y pie del Megamenú (anula bg-gradient-to-r from-slate-50) */
html.dark-mode #megaMenuDropdown > div:first-child,
html.dark-mode #megaMenuDropdown > div:last-child,
html.dark-mode #dropdownCatList,
html.dark #megaMenuDropdown > div:first-child,
html.dark #megaMenuDropdown > div:last-child,
html.dark #dropdownCatList {
  background-image: none !important;
  background-color: #0f1522 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode #dropdownCatList button:not(.bg-orange-600),
html.dark #dropdownCatList button:not(.bg-orange-600) {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

html.dark-mode #dropdownCatList button:not(.bg-orange-600):hover,
html.dark #dropdownCatList button:not(.bg-orange-600):hover {
  background-color: #1b2434 !important;
  color: #f8fafc !important;
}

html.dark-mode #dropSubcatGrid a,
html.dark-mode .subcat-link,
html.dark #dropSubcatGrid a,
html.dark .subcat-link {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

html.dark-mode #dropSubcatGrid a:hover,
html.dark-mode .subcat-link:hover,
html.dark #dropSubcatGrid a:hover,
html.dark .subcat-link:hover {
  background-color: rgba(234, 88, 12, 0.14) !important;
  border-color: rgba(234, 88, 12, 0.42) !important;
  color: #fb923c !important;
}

html.dark-mode #dropSubcatGrid a:hover span,
html.dark-mode #dropSubcatGrid a:hover i,
html.dark #dropSubcatGrid a:hover span,
html.dark #dropSubcatGrid a:hover i {
  color: #fb923c !important;
}

/* Buscador predictivo */
html.dark-mode .exiplast-search-dropdown > div:first-child,
html.dark .exiplast-search-dropdown > div:first-child {
  background-color: #0f1522 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

html.dark-mode .exiplast-search-dropdown [data-search-pick],
html.dark .exiplast-search-dropdown [data-search-pick] {
  border-color: rgba(255, 255, 255, 0.07) !important;
}

html.dark-mode .exiplast-search-dropdown [data-search-pick]:hover,
html.dark .exiplast-search-dropdown [data-search-pick]:hover {
  background-color: #1b2434 !important;
}

html.dark-mode .exiplast-search-dropdown [data-search-pick]:hover > div > div:first-child,
html.dark .exiplast-search-dropdown [data-search-pick]:hover > div > div:first-child {
  color: #fb923c !important;
}

html.dark-mode .exiplast-search-dropdown [data-search-all],
html.dark .exiplast-search-dropdown [data-search-all] {
  background-color: #1b2434 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}

html.dark-mode .exiplast-search-dropdown [data-search-all]:hover,
html.dark .exiplast-search-dropdown [data-search-all]:hover {
  background-color: #ea580c !important;
  color: #ffffff !important;
}

/* Menú de usuario y dropdown de localidades */
html.dark-mode #userMenuDropdown a,
html.dark #userMenuDropdown a {
  background-color: transparent !important;
}

html.dark-mode #userMenuDropdown a:hover,
html.dark #userMenuDropdown a:hover,
html.dark-mode .custom-city-dropdown button:hover,
html.dark .custom-city-dropdown button:hover {
  background-color: #1b2434 !important;
  color: #fb923c !important;
}

html.dark-mode #userMenuDropdown #btnLogoutLink:hover,
html.dark #userMenuDropdown #btnLogoutLink:hover {
  background-color: rgba(244, 63, 94, 0.14) !important;
  color: #fda4af !important;
}

html.dark-mode .custom-city-dropdown button,
html.dark .custom-city-dropdown button {
  color: #cbd5e1 !important;
}

/* ==========================================================================
   11. FOTOS DE PRODUCTO, FAVORITOS Y CONTROLES DE TARJETA (- 1 + / CANDADO)
   ========================================================================== */
html.dark-mode .product-photo-box,
html.dark .product-photo-box {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

html.dark-mode .product-photo-box img,
html.dark .product-photo-box img {
  filter: brightness(0.95) contrast(1.03);
}

html.dark-mode .exiplast-search-dropdown img,
html.dark .exiplast-search-dropdown img {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  filter: brightness(0.95) contrast(1.03);
}

/* Botón corazón sobre la foto: vidrio oscuro nítido con gran contraste */
html.dark-mode .product-fav-btn,
html.dark .product-fav-btn {
  background-color: rgba(11, 15, 23, 0.80) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode .product-fav-btn i,
html.dark .product-fav-btn i {
  color: #e2e8f0 !important;
}

html.dark-mode .product-fav-btn:hover,
html.dark .product-fav-btn:hover {
  background-color: rgba(19, 26, 38, 0.94) !important;
  border-color: #f43f5e !important;
}

html.dark-mode .product-fav-btn:hover i,
html.dark-mode .product-fav-btn i.ph-fill.text-rose-500,
html.dark-mode .product-fav-btn.is-favorite i,
html.dark .product-fav-btn:hover i,
html.dark .product-fav-btn i.ph-fill.text-rose-500,
html.dark .product-fav-btn.is-favorite i {
  color: #f43f5e !important;
}

/* Botón "Iniciá sesión para ver precios" dentro de tarjetas */
html.dark-mode a[href="auth.html"].bg-slate-100,
html.dark a[href="auth.html"].bg-slate-100 {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

html.dark-mode a[href="auth.html"].bg-slate-100:hover,
html.dark a[href="auth.html"].bg-slate-100:hover {
  background-color: #243044 !important;
  border-color: rgba(234, 88, 12, 0.45) !important;
  color: #ffffff !important;
}

/* Controles de cantidad (- 1 +) en tarjetas y carrito */
html.dark-mode .qty-decrease,
html.dark-mode .qty-increase,
html.dark .qty-decrease,
html.dark .qty-increase {
  color: #cbd5e1 !important;
}

html.dark-mode .qty-decrease:hover,
html.dark-mode .qty-increase:hover,
html.dark .qty-decrease:hover,
html.dark .qty-increase:hover {
  background-color: #263348 !important;
  color: #ffffff !important;
}

html.dark-mode .qty-value,
html.dark .qty-value {
  color: #f8fafc !important;
}

/* Botón "Sin stock" deshabilitado */
html.dark-mode button[disabled].bg-slate-200,
html.dark button[disabled].bg-slate-200 {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

/* Flechas de carruseles secundarios (Kit Pastelería / Kit Sushi) */
html.dark-mode #kit-pasteleria-prev,
html.dark-mode #kit-pasteleria-next,
html.dark-mode #kit-sushi-prev,
html.dark-mode #kit-sushi-next,
html.dark #kit-pasteleria-prev,
html.dark #kit-pasteleria-next,
html.dark #kit-sushi-prev,
html.dark #kit-sushi-next {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

html.dark-mode #kit-pasteleria-prev:hover,
html.dark-mode #kit-pasteleria-next:hover,
html.dark-mode #kit-sushi-prev:hover,
html.dark-mode #kit-sushi-next:hover,
html.dark #kit-pasteleria-prev:hover,
html.dark #kit-pasteleria-next:hover,
html.dark #kit-sushi-prev:hover,
html.dark #kit-sushi-next:hover {
  background-color: #1b2434 !important;
  border-color: #ea580c !important;
  color: #fb923c !important;
}

/* ==========================================================================
   12. CATÁLOGO (SIDEBAR DE CATEGORÍAS Y ACORDEONES)
   ========================================================================== */
html.dark-mode #btn-show-all-sql,
html.dark #btn-show-all-sql {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

html.dark-mode #btn-show-all-sql:hover,
html.dark #btn-show-all-sql:hover {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

html.dark-mode #catalog-category-sidebar .accordion-item,
html.dark #catalog-category-sidebar .accordion-item {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #catalog-category-sidebar .cat-accordion-trigger:not(.bg-orange-600),
html.dark #catalog-category-sidebar .cat-accordion-trigger:not(.bg-orange-600) {
  background-color: #1b2434 !important;
  color: #f1f5f9 !important;
}

html.dark-mode #catalog-category-sidebar .accordion-grid-inner,
html.dark #catalog-category-sidebar .accordion-grid-inner {
  background-color: #0f1522 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-mode #catalog-category-sidebar .subcat-item-btn:not(.bg-orange-100),
html.dark #catalog-category-sidebar .subcat-item-btn:not(.bg-orange-100) {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

html.dark-mode #catalog-category-sidebar .subcat-item-btn:not(.bg-orange-100):hover,
html.dark #catalog-category-sidebar .subcat-item-btn:not(.bg-orange-100):hover {
  background-color: #1b2434 !important;
  color: #fb923c !important;
}

html.dark-mode #catalog-category-sidebar .subcat-item-btn.bg-orange-100,
html.dark #catalog-category-sidebar .subcat-item-btn.bg-orange-100 {
  background-color: rgba(234, 88, 12, 0.16) !important;
  color: #fb923c !important;
  border-left-color: #ea580c !important;
}

/* Tarjeta lateral "Ventas Mayoristas por Pallet" */
html.dark-mode aside div[class*="from-slate-900"],
html.dark aside div[class*="from-slate-900"] {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* ==========================================================================
   13. AUTH.HTML (TABS, TARJETAS DE CONDICIÓN FISCAL E INPUTS)
   ========================================================================== */
html.dark-mode #authSwitcherWrap > div,
html.dark #authSwitcherWrap > div {
  background-color: #1b2434 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #tabBtnLogin:not(.bg-orange-600),
html.dark-mode #tabBtnRegister:not(.bg-orange-600),
html.dark #tabBtnLogin:not(.bg-orange-600),
html.dark #tabBtnRegister:not(.bg-orange-600) {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

html.dark-mode #tabBtnLogin:not(.bg-orange-600):hover,
html.dark-mode #tabBtnRegister:not(.bg-orange-600):hover,
html.dark #tabBtnLogin:not(.bg-orange-600):hover,
html.dark #tabBtnRegister:not(.bg-orange-600):hover {
  color: #f8fafc !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Tarjetas seleccionables de Condición Fiscal */
html.dark-mode #cardConsumidor,
html.dark-mode #cardMonotributo,
html.dark-mode #cardInscripto,
html.dark #cardConsumidor,
html.dark #cardMonotributo,
html.dark #cardInscripto {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #cardConsumidor:hover,
html.dark-mode #cardMonotributo:hover,
html.dark-mode #cardInscripto:hover,
html.dark #cardConsumidor:hover,
html.dark #cardMonotributo:hover,
html.dark #cardInscripto:hover {
  border-color: rgba(234, 88, 12, 0.50) !important;
}

html.dark-mode #cardConsumidor.border-orange-600,
html.dark-mode #cardMonotributo.border-orange-600,
html.dark-mode #cardInscripto.border-orange-600,
html.dark #cardConsumidor.border-orange-600,
html.dark #cardMonotributo.border-orange-600,
html.dark #cardInscripto.border-orange-600 {
  background-color: rgba(234, 88, 12, 0.12) !important;
  border-color: #ea580c !important;
}

html.dark-mode #badgeConsumidor:not(.bg-orange-600),
html.dark-mode #badgeMonotributo:not(.bg-orange-600),
html.dark-mode #badgeInscripto:not(.bg-orange-600),
html.dark #badgeConsumidor:not(.bg-orange-600),
html.dark #badgeMonotributo:not(.bg-orange-600),
html.dark #badgeInscripto:not(.bg-orange-600) {
  background-color: #0f1522 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #cbd5e1 !important;
}

html.dark-mode #radioConsumidor:not(.border-orange-600),
html.dark-mode #radioMonotributo:not(.border-orange-600),
html.dark-mode #radioInscripto:not(.border-orange-600),
html.dark #radioConsumidor:not(.border-orange-600),
html.dark #radioMonotributo:not(.border-orange-600),
html.dark #radioInscripto:not(.border-orange-600) {
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* ==========================================================================
   14. CHECKOUT, INFO-UTIL, OFERTAS Y MI-CUENTA
   ========================================================================== */
/* Opciones de envío en checkout.html */
html.dark-mode #labelShip1,
html.dark-mode #labelShip2,
html.dark-mode #labelShip3,
html.dark #labelShip1,
html.dark #labelShip2,
html.dark #labelShip3 {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #labelShip1.border-orange-600,
html.dark-mode #labelShip2.border-orange-600,
html.dark-mode #labelShip3.border-orange-600,
html.dark #labelShip1.border-orange-600,
html.dark #labelShip2.border-orange-600,
html.dark #labelShip3.border-orange-600 {
  background-color: rgba(234, 88, 12, 0.12) !important;
  border-color: #ea580c !important;
}

html.dark-mode #cartItemsContainer > div:hover,
html.dark #cartItemsContainer > div:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

html.dark-mode #cartItemsContainer .bg-white,
html.dark #cartItemsContainer .bg-white {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark-mode #cartItemsContainer button[onclick*="updateItemQty"]:hover,
html.dark #cartItemsContainer button[onclick*="updateItemQty"]:hover {
  background-color: #263348 !important;
  color: #fb923c !important;
}

html.dark-mode #cartItemsContainer button[onclick*="deleteItem"]:hover,
html.dark #cartItemsContainer button[onclick*="deleteItem"]:hover {
  background-color: rgba(244, 63, 94, 0.16) !important;
  color: #fb7185 !important;
}

/* Cabecera del resumen de pedido en checkout */
html.dark-mode .bg-\[\#18181b\],
html.dark .bg-\[\#18181b\] {
  background-color: #0f1522 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* QR siempre sobre fondo blanco puro para escaneo 100% confiable */
html.dark-mode #orderConfirmationQrBox,
html.dark-mode #modalQrSvgBox,
html.dark #orderConfirmationQrBox,
html.dark #modalQrSvgBox {
  background-color: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

/* Info-util navegación lateral */
html.dark-mode .info-nav-btn:not(.bg-orange-600),
html.dark .info-nav-btn:not(.bg-orange-600) {
  background-color: #1b2434 !important;
  color: #cbd5e1 !important;
}

html.dark-mode .info-nav-btn:not(.bg-orange-600):hover,
html.dark .info-nav-btn:not(.bg-orange-600):hover {
  background-color: rgba(234, 88, 12, 0.14) !important;
  color: #fb923c !important;
}

/* Mi Cuenta: navegación lateral, tarjetas de pedidos y favoritos */
html.dark-mode nav button[id^="navBtn-"]:not(.bg-orange-600),
html.dark nav button[id^="navBtn-"]:not(.bg-orange-600) {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

html.dark-mode nav button[id^="navBtn-"]:not(.bg-orange-600):hover,
html.dark nav button[id^="navBtn-"]:not(.bg-orange-600):hover {
  background-color: #1b2434 !important;
  color: #fb923c !important;
}

html.dark-mode #accountOrdersList > article,
html.dark-mode #accountFavoritesGrid > div,
html.dark #accountOrdersList > article,
html.dark #accountFavoritesGrid > div {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html.dark-mode #accountOrdersList > article > div.bg-slate-50\/80,
html.dark #accountOrdersList > article > div.bg-slate-50\/80 {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Ofertas: botón secundario claro */
html.dark-mode a[href="#ofertas"].bg-white,
html.dark a[href="#ofertas"].bg-white {
  background-color: #131a26 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

html.dark-mode a[href="#ofertas"].bg-white:hover,
html.dark a[href="#ofertas"].bg-white:hover {
  background-color: #1b2434 !important;
  border-color: #ea580c !important;
  color: #fb923c !important;
}

/* ==========================================================================
   15. INPUTS, SELECTS, TEXTAREAS Y CHECKBOXES (#1b2434)
   ========================================================================== */
html.dark-mode input:not(.searchInput):not([type="checkbox"]):not([type="radio"]),
html.dark-mode select,
html.dark-mode textarea,
html.dark input:not(.searchInput):not([type="checkbox"]):not([type="radio"]),
html.dark select,
html.dark textarea {
  background-color: #1b2434 !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html.dark-mode input:not(.searchInput):not([type="checkbox"]):not([type="radio"]):focus,
html.dark-mode select:focus,
html.dark-mode textarea:focus,
html.dark input:not(.searchInput):not([type="checkbox"]):not([type="radio"]):focus,
html.dark select:focus,
html.dark textarea:focus {
  background-color: #202b3e !important;
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22) !important;
  outline: none;
}

html.dark-mode input:not(.searchInput)::placeholder,
html.dark-mode textarea::placeholder,
html.dark input:not(.searchInput)::placeholder,
html.dark textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html.dark-mode input:-webkit-autofill,
html.dark-mode input:-webkit-autofill:hover,
html.dark-mode input:-webkit-autofill:focus,
html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1b2434 inset !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  caret-color: #f1f5f9 !important;
  transition: background-color 9999s ease-in-out 0s;
}

html.dark-mode select option,
html.dark select option {
  background-color: #131a26 !important;
  color: #f1f5f9 !important;
}

html.dark-mode input[type="checkbox"],
html.dark-mode input[type="radio"],
html.dark input[type="checkbox"],
html.dark input[type="radio"] {
  background-color: #1b2434 !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  accent-color: #ea580c;
}

/* ==========================================================================
   16. HOVERS DE SEGURIDAD (EVITA DESTELLOS BLANCOS AL PASAR EL CURSOR)
   ========================================================================== */
html.dark-mode [class*="hover:bg-white"]:hover,
html.dark-mode [class*="hover:bg-slate-50"]:hover,
html.dark-mode [class*="hover:bg-slate-100"]:hover,
html.dark-mode [class*="hover:bg-slate-200"]:hover,
html.dark [class*="hover:bg-white"]:hover,
html.dark [class*="hover:bg-slate-50"]:hover,
html.dark [class*="hover:bg-slate-100"]:hover,
html.dark [class*="hover:bg-slate-200"]:hover {
  background-color: #243044 !important;
}

html.dark-mode [class*="hover:bg-orange-50"]:hover,
html.dark-mode [class*="hover:bg-orange-100"]:hover,
html.dark [class*="hover:bg-orange-50"]:hover,
html.dark [class*="hover:bg-orange-100"]:hover {
  background-color: rgba(234, 88, 12, 0.16) !important;
}

html.dark-mode [class*="hover:bg-rose-50"]:hover,
html.dark [class*="hover:bg-rose-50"]:hover {
  background-color: rgba(244, 63, 94, 0.15) !important;
}

/* ==========================================================================
   17. TABLAS Y SCROLLBARS
   ========================================================================== */
html.dark-mode table,
html.dark-mode tr,
html.dark-mode th,
html.dark-mode td,
html.dark table,
html.dark tr,
html.dark th,
html.dark td {
  border-color: rgba(255, 255, 255, 0.09) !important;
  color: #f1f5f9 !important;
}

html.dark-mode tbody tr:hover,
html.dark tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

html.dark-mode ::-webkit-scrollbar-track,
html.dark ::-webkit-scrollbar-track {
  background: #0b0f17 !important;
}

html.dark-mode ::-webkit-scrollbar-thumb,
html.dark ::-webkit-scrollbar-thumb {
  background: #2b384e !important;
  border-radius: 8px !important;
}

html.dark-mode ::-webkit-scrollbar-thumb:hover,
html.dark ::-webkit-scrollbar-thumb:hover {
  background: #475569 !important;
}

/* ==========================================================================
   EXTRA MAIN: MODALES DE ARREPENTIMIENTO, DETALLE DE PRODUCTO Y SWITCHER BULTO
   ========================================================================== */
html.dark-mode #modalArrepentimiento > div,
html.dark #modalArrepentimiento > div,
html.dark-mode #modalProductDetail > div,
html.dark #modalProductDetail > div,
html.dark-mode #modalDataFiscal > div,
html.dark #modalDataFiscal > div {
  background-color: #131a26 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}
html.dark-mode .data-fiscal-qr-img,
html.dark .data-fiscal-qr-img {
  background-color: #ffffff !important;
}
html.dark-mode .price-mode-btn:not(.bg-orange-600),
html.dark .price-mode-btn:not(.bg-orange-600) {
  color: #cbd5e1 !important;
}
html.dark-mode .price-mode-btn.bg-white,
html.dark .price-mode-btn.bg-white {
  background-color: #1b2434 !important;
  color: #f8fafc !important;
}
html.dark-mode .live-sin-imp,
html.dark .live-sin-imp,
html.dark-mode .fiscal-tax-notice,
html.dark .fiscal-tax-notice {
  color: #94a3b8 !important;
}
