/* ============================================================
   CPR — Base de la landing (reemplazo del reset de Astra)
   ------------------------------------------------------------
   En la front page, assets-unloader.php desencola todo el CSS
   de Astra (main.min.css + su CSS dinámico del personalizador).
   Esto cubre lo poco que la landing heredaba de ahí: box-sizing,
   margen del body, tipografía/color base, imágenes fluidas y la
   utilidad .screen-reader-text (skip link de WordPress y live
   region de WooCommerce, que sin ella quedan visibles).
   Va primero en bundle.css; el preview local también lo carga.
   ============================================================ */

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--color-primary);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    top: 5px;
    left: 5px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    clip: auto !important;
    clip-path: none;
    background: var(--white);
    color: var(--green-800);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}
