/* SUPERSWISH v1733 · tema blanco premium para la portada del CLIENTE.
   Exclusivamente CSS: no modifica estados, listeners, comercios, productos,
   ubicación, promociones, carrito, Rider, Comercio, Admin ni Firebase.
   La portada negra premium v1732 queda recuperable retirando esta hoja.
*/
/* Abarcar solo la portada; no modificar pantallas internas ni paneles. */
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]){
  background:#fff!important;background-color:#fff!important;color:#111318!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"]{
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#111318!important;
}
/* Identidad original Super Swish adaptada al papel blanco. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav{
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#101114!important;border-color:transparent!important;box-shadow:none!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo{
  background:#fff url('/assets/ssw1733-logo-claro.webp') center/contain no-repeat!important;
  background-color:#fff!important;filter:none!important;border:0!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav :is(.ssw147-menu-toggle,.ssw146-alerts,.ssw1703-account-link){
  background:transparent!important;color:#111318!important;border-color:transparent!important;
  box-shadow:none!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav :is(.ssw147-menu-toggle,.ssw146-alerts,.ssw1703-account-link) svg{
  color:#111318!important;stroke:#111318!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav .ssw146-toplinks :is(button,a){color:#141414!important}
/* Ubicación limpia tipo tarjeta, manteniendo el botón existente. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location{
  color:#121519!important;background:linear-gradient(155deg,#fff,#f9fafb)!important;
  border:1px solid #dee1e5!important;
  box-shadow:0 3px 11px rgba(20,26,33,.09)!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location strong{color:#101114!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location small{color:#4d5864!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location svg{
  color:#edb900!important;stroke:#edb900!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location b{color:#e4b300!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card{
  background:#fff!important;color:#16191d!important;
  border:1px solid #dfe2e7!important;box-shadow:0 3px 12px #15202f18!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card #clientSearchInput{
  color:#151b22!important;background:transparent!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card #clientSearchInput::placeholder{color:#67717c!important;opacity:1!important}
/* Categorías superiores: UNA sola fila principal con Más funcional. */
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw146-category[data-value]:not(.active):not([aria-pressed="true"]),
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw1678-more-categories{
  background:linear-gradient(145deg,#fff,#f7f8fa)!important;background-color:#fff!important;
  color:#14171b!important;border:1px solid #d9dee4!important;
  box-shadow:0 2px 8px #0b1b3117!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw146-category.active,
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw146-category[aria-pressed="true"]{
  background:linear-gradient(150deg,#ffe94a,#ffcc00)!important;color:#0c0c0c!important;
  border:1px solid #f6cb00!important;box-shadow:0 3px 9px #d4a90033!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw1678-more-categories::before,
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern[data-client-page="home"] > nav.ssw112-types.ssw113-types.ssw146-types > button.ssw1678-more-categories::after{
  color:#101114!important;
}
/* Fila de especialidades: NO sustituir las seis imágenes aprobadas en v1732. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-head h2,
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head h2{
  color:#111318!important;text-shadow:none!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-head>button,
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head .ssw1723-see-all{
  color:#1b1d20!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail>button{
  background:linear-gradient(150deg,#fff,#f7f8fa)!important;color:#121519!important;
  border:1px solid #dfe2e7!important;box-shadow:0 3px 10px #10223817!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail>button.is-active{
  background:#fffdf3!important;color:#121519!important;border:2px solid #ffc900!important;
  box-shadow:0 3px 10px #caa10029!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-filter-empty{
  background:#fffdf3!important;border-color:#eabd00!important;color:#191a1b!important;
}
/* El banner de envío GRATIS conserva intencionalmente su identidad NEGRO + AMARILLO. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"]>.ss-client-list{
  background:transparent!important;color:#121519!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .restaurant-grid.ssw146-restaurants>.restaurant-card{
  background:#fff!important;color:#151515!important;border:1px solid #e6e7eb!important;
  box-shadow:0 3px 14px rgba(19,25,33,.10)!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .restaurant-grid.ssw146-restaurants .restaurant-name{
  color:#0d0e10!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1677-products{
  background:#fff!important;color:#151515!important;border-color:#ececec!important;
  box-shadow:0 3px 12px #17202d14!important;
}
/* Barra inferior clara, iconos legibles y página activa amarilla. */
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern .ss-client-bottom{
  background:#fff!important;background-image:none!important;color:#151719!important;
  border:1px solid #ffd000!important;border-radius:22px!important;
  box-shadow:0 3px 18px rgba(19,25,33,.14)!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern .ss-client-bottom>button{
  color:#18191b!important;background:transparent!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern .ss-client-bottom>button svg{
  color:#18191b!important;stroke:#18191b!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern .ss-client-bottom>button[aria-current="page"]{
  color:#111!important;
}
html body#ssRacingPage:has(#mainContainer.ss-client-modern[data-client-page="home"]) #mainContainer.ss-client-modern .ss-client-bottom>button[aria-current="page"] span{
  display:inline-block!important;background:#ffdc00!important;color:#111!important;
  border-radius:12px!important;padding:2px 8px!important;
}
/* Pequeño ajuste de densidad: ver más comercios sin perder legibilidad. */
@media(max-width:780px){
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav{
    height:54px!important;min-height:54px!important;max-height:54px!important;
    padding:3px 0!important;margin-bottom:7px!important;
  }
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo{
    height:43px!important;min-height:43px!important;max-height:43px!important;
  }
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-home-top button.ss-client-location{
    min-height:52px!important;height:52px!important;
  }
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail>button{
    color:#141414!important;
  }
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-head h2,
  html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head h2{
    font-size:clamp(16px,4.6vw,21px)!important;
  }
}
