/* GPS · Estilos base. El detalle de cada bloque va en la propia página, como en el diseño aprobado. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #000000; color: #000000; font-family: 'Barlow', system-ui, sans-serif; }
body.claro { background: #F6F6F4; }
a { color: inherit; }
a:hover { color: #F11111; }
a.boton-rojo:hover, a.boton-lleno:hover { color: #FFFFFF; opacity: 0.88; }
button:hover { opacity: 0.88; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid #F11111; outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .solo-sin-js { display: none; }
[hidden] { display: none !important; }

/* Tablas del portal y del panel */
table { border-collapse: collapse; width: 100%; font-size: 16px; }
tbody tr { border-bottom: 1px solid #D4D4D0; }
.tabla-num th, .tabla-num td { padding: 12px 14px; text-align: right; white-space: nowrap; }
.tabla-num th:first-child, .tabla-num td:first-child { text-align: left; }
.tabla-txt th, .tabla-txt td { padding: 14px; text-align: left; vertical-align: top; }

/* Carrusel de marcas */
#marcas-strip { scrollbar-width: thin; scrollbar-color: #000000 #D4D4D0; }

/* Ventana emergente de acceso */
dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
dialog { max-height: calc(100vh - 32px); overflow: auto; }

@media print {
  header nav, .no-imprimir { display: none !important; }
  body { background: #FFFFFF !important; }
}

/* Las zonas con desplazamiento horizontal contienen sus textos ocultos para lectores de pantalla */
[style*="overflow-x: auto"] { position: relative; }

/* Menú hamburguesa en celular (web, portal y panel) */
.menu-boton { display: none; }
.menu-equis { display: none; }
@media (max-width: 860px) {
  .menu-boton { display: flex; }
  header .menu { display: none !important; }
  header.abierto .menu { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; width: 100%; gap: 0 !important; }
  header.abierto .menu-rayas { display: none; }
  header.abierto .menu-equis { display: inline; }
  header.abierto nav.menu a { padding: 14px 0 !important; border-top: 1px solid #363535; border-bottom: 0 !important; }
  header.abierto nav.menu a.boton-rojo { align-self: flex-start; border-top: 0; padding: 12px 24px !important; margin: 14px 0 6px; }
  header.abierto nav.menu a[aria-current="page"] { color: #FFFFFF; }
  header.abierto .menu-cuenta { gap: 12px !important; align-items: flex-start !important; padding: 6px 0 14px; }
  header.abierto .menu-secciones { padding-bottom: 10px !important; }
}
