/* Super Swish v1730 — AJUSTES VISUALES ACOTADOS. Únicamente portada del cliente.
 * No modifica catálogos, fotos, estados, ofertas, carrito, pedidos ni Firebase.
 * Esta hoja se carga al final: resuelve prioridades entre las capas 1703–1727.
 */
/* Identidad: arte exactamente aprobado — S deportiva | SUPER SWISH y subrayado. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo{
 background-image:url('/assets/ssw1730-logo-oficial.png')!important;
 background-color:#000!important;background-repeat:no-repeat!important;
 background-position:center center!important;background-size:contain!important;
 color:transparent!important;text-shadow:none!important;
 border:0!important;outline-offset:3px!important;box-shadow:none!important;
}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo > em,
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo > span{
 display:none!important;visibility:hidden!important;
}
/* Especialidades: conservar exactamente las fotos aprobadas de v1724 (incluida la porción de pizza).
 * Su archivo fuente es estrecho; reducir y centrar el encuadre evita que toque los bordes visibles. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo{
 box-sizing:border-box!important;
 background-color:#080808!important;
 background-repeat:no-repeat!important;
 background-position:center center!important;
 background-size:84% auto!important;
 border-radius:11px!important;
 overflow:hidden!important;
 transform:none!important;
 flex-shrink:0!important;
}
/* Los recursos son los originales, no se sustituyen por hamburguesas/pizzas enteras ni otras fotos. */
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-pollo{background-image:url('/assets/ssw1724-pollo.webp')!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-pizza{background-image:url('/assets/ssw1724-pizza.webp')!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-hamburguesa{background-image:url('/assets/ssw1724-hamburguesa.webp')!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-dominicana{background-image:url('/assets/ssw1724-dominicana.webp')!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-desayuno{background-image:url('/assets/ssw1724-desayuno.webp')!important}
html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo.chip-marisco{background-image:url('/assets/ssw1724-marisco.webp')!important}
@media(max-width:780px){
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo{
   min-width:0!important;max-width:min(100%,270px)!important;
   justify-self:center!important;height:45px!important;min-height:45px!important;max-height:45px!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1724-explore-rail > button .ssw1724-chip-photo{
  width:72px!important;max-width:calc(100% - 6px)!important;height:59px!important;
  background-size:84% auto!important;background-position:center 46%!important;
 }
 /* No alterar las tarjetas compactas ni ocultar botones +. */
}
@media(min-width:781px){
 /* Encabezado proporcionado: ni el logo ni las acciones se estiran. */
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"]{
   max-width:1320px!important;padding-left:clamp(14px,2.2vw,27px)!important;
   padding-right:clamp(14px,2.2vw,27px)!important;
   box-sizing:border-box!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav{
   display:flex!important;align-items:center!important;gap:14px!important;
   height:66px!important;min-height:66px!important;max-height:66px!important;
   padding:8px 18px!important;margin:8px 0 15px!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav button.ssw146-logo{
   width:230px!important;min-width:230px!important;max-width:230px!important;
   flex:0 0 230px!important;height:46px!important;min-height:46px!important;max-height:46px!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] header.ssw146-topnav .ssw146-toplinks{
   margin-left:auto!important;gap:10px!important;align-items:center!important;
 }
 /* Búsqueda: el filtro ya existe junto a Restaurantes, evitar un icono suelto en el borde del buscador. */
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card{
   display:flex!important;align-items:center!important;min-width:0!important;
   box-sizing:border-box!important;position:relative!important;
   padding-right:15px!important;overflow:visible!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card .ssw1722-search-filters{display:none!important}
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw146-search-card #clientSearchInput{
   min-width:0!important;max-width:100%!important;
 }
 /* Categorías alineadas con el ancho real del contenido; todos los iconos siguen únicos. */
 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{
   width:100%!important;max-width:100%!important;margin:7px 0 14px!important;
   grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;
 }
 /* Banners: misma altura, espacios regulares, sin desbordar ni deformarse. */
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1678-hero-row{
   width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:14px!important;margin:10px 0 18px!important;align-items:stretch!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1678-hero-row :is(.ssw146-banner,.ssw1678-hero-feature,.ssw1678-hero-empty){
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:150px!important;min-height:150px!important;max-height:150px!important;
   overflow:hidden!important;border-radius:17px!important;box-sizing:border-box!important;
 }
 /* Controles Ver todos y Filtros: tamaño accesible y alineación consistente. */
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head{
   display:flex!important;align-items:center!important;justify-content:flex-end!important;
   flex-wrap:nowrap!important;gap:10px!important;
   min-height:52px!important;padding:0 0 10px!important;margin:8px 0 7px!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head h2{
   color:#171717!important;text-shadow:none!important;opacity:1!important;
   margin:0 auto 0 0!important;min-width:0!important;
   font-size:clamp(19px,1.7vw,23px)!important;font-weight:900!important;line-height:1.2!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head button.ssw1723-see-all{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   width:auto!important;min-width:112px!important;max-width:none!important;
   height:39px!important;min-height:39px!important;
   padding:0 13px!important;margin:0!important;
   color:#1b1b1b!important;background:#fff!important;
   border:1px solid #d9d9d9!important;border-radius:20px!important;
   font-size:13px!important;font-weight:800!important;line-height:1!important;
   white-space:nowrap!important;box-shadow:0 1px 3px #0002!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head button.ss136-filters-trigger{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   width:auto!important;min-width:112px!important;max-width:none!important;
   height:39px!important;min-height:39px!important;
   padding:0 13px!important;margin:0!important;gap:8px!important;
   color:#fff!important;background:#1c1d1e!important;
   border:1px solid #3a3c3d!important;border-radius:20px!important;
   font-size:13px!important;font-weight:800!important;line-height:1!important;
   white-space:nowrap!important;box-shadow:0 2px 6px #0003!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head button.ss136-filters-trigger svg{
   width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important;
 }
 /* Restaurantes compactos; precios y productos siguen según los datos reales. */
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .restaurant-grid.ssw146-restaurants{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
 }
}
@media(min-width:781px) and (max-width:1020px){
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ssw1678-hero-row{
   gap:10px!important;
 }
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .restaurant-grid.ssw146-restaurants{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body#ssRacingPage #mainContainer.ss-client-modern[data-client-page="home"] .ss-client-list-head h2{font-size:18px!important}
}
