
/* SOCIOS FOOD V100: hoja de correcciones aislada, cargada después del CSS principal. */
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is(h1,h2,h3,h4,h5,h6,p,span,label,a,small,strong,li,td,th,div):not(input):not(textarea):not(select):not(button) {color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is(input,textarea,select) {color:#fff!important;-webkit-text-fill-color:#fff!important;background-color:#242424!important}
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is(input,textarea)::placeholder {color:#c9c9c9!important;-webkit-text-fill-color:#c9c9c9!important}
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is(button,[role="button"]) {color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Preserve black text on light cards/buttons and selected options. */
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is([style*="background: white"],[style*="background-color: white"],[style*="background: rgb(255"],[style*="background-color: rgb(255"],.bg-white,.text-dark,.text-black) ,
html[data-theme="dark"] :is(.modalNav,.modal-cart,.modal-horarios,.modalHorariosContainer) :is([style*="background: white"],[style*="background-color: white"],.bg-white) * {color:#161616!important;-webkit-text-fill-color:#161616!important}
html[data-theme="dark"] .modalNav .enlaces a,html[data-theme="dark"] .modalNav .enlaces a :is(span,i,svg) {color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] .modalNav .enlaces svg {fill:currentColor}
@media(max-width:1024px){
 html[data-theme="dark"] :is(.favoritos-btn,.favorites-btn,.btnFavoritos,#btnFavoritos,.favorite-btn) {color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important}
 html[data-theme="dark"] :is(.favoritos-btn,.favorites-btn,.btnFavoritos,#btnFavoritos,.favorite-btn) :is(svg,i) {color:#fff!important;opacity:1!important;visibility:visible!important}
 html[data-theme="dark"] :is(.favoritos-btn,.favorites-btn,.btnFavoritos,#btnFavoritos,.favorite-btn) svg path {stroke:currentColor!important}
 .navbarDashboard .links {visibility:visible!important;opacity:1!important}
 .navbarDashboard .links :is(a,button) {visibility:visible!important;opacity:1!important}
}
.modalNav .modalNav-content .fondo img{object-fit:contain!important;object-position:center top!important}

/* V101: favorito blanco en tablet y móvil en modo oscuro. */
@media(max-width:1024px){
 html[data-theme="dark"] .favoritos-btn,html[data-theme="dark"] .favoritos-btn svg,html[data-theme="dark"] .favoritos-btn svg path,html[data-theme="dark"] .cartIcon,html[data-theme="dark"] .cartIcon svg{color:#fff!important;opacity:1!important;visibility:visible!important}
 html[data-theme="dark"] .favoritos-btn svg path{fill:currentColor!important;stroke:currentColor!important}
}
/* V101: checkbox de acceso al administrador, legible en tema claro y oscuro. */
.formAuth .sf-remember-login{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;cursor:pointer;margin:12px 0 3px;font-size:14px;line-height:1.4;color:#333!important;-webkit-text-fill-color:#333!important}
.formAuth .sf-remember-login input{width:17px!important;height:17px!important;min-width:17px;accent-color:#ed168b;cursor:pointer;margin:0}
.formAuth .sf-remember-help{font-size:11px;line-height:1.4;color:#666!important;-webkit-text-fill-color:#666!important;margin:3px 0 12px;text-align:left}
html[data-theme="dark"] .formAuth .sf-remember-login,html[data-theme="dark"] .formAuth .sf-remember-login span{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-theme="dark"] .formAuth .sf-remember-help{color:#ddd!important;-webkit-text-fill-color:#ddd!important}
