/*
Theme Name: Olevor Child
Theme URI: https://olevor.io
Template: blocksy
Author: Olevor Research
Description: Premium WooCommerce storefront for Olevor.
Version: 3.1.0
License: Proprietary
Text Domain: olevor-child
*/

/* ------------------------------------------------------------------ tokens (§5) */
:root {
    --olv-bg: #f3f3f0;
    --olv-white: #ffffff;
    --olv-ink: #101010;
    --olv-muted: #6c6c68;
    --olv-muted-strong: #5c5c58; /* WCAG 1.4.3: ≥ 5.4:1 on every page field incl. --olv-soft and --olv-field-cool; for 10–11 px eyebrows and form labels */
    --olv-line: #d8d8d2;
    --olv-soft: #e8e8e3;
    --olv-field-50: #f8f8f6;
    --olv-field-cool: #e4eeee;
    --olv-field-warm: #ede8e3;
    --olv-accent: #d8ff43;
    --olv-danger: #c94848;
    --olv-card-shadow: 0 16px 40px -4px rgba(16, 16, 16, 0.12);
    --olv-accent-bpc157: #628ca0;
    --olv-accent-semaglutide: #719979;
    --olv-accent-tirzepatide: #b77a72;
    --olv-ui: "Inter", Arial, sans-serif;
    --olv-mono: "DM Mono", monospace;
    --olv-wrap: 1280px;
    --olv-edge: 20px;
    --olv-header: 60px;
    --olv-radius-card: 16px;
    --olv-radius-control: 999px;
    --olv-radius-input: 12px;
    /* §5.2 type scale (mobile values; tablet and desktop below) */
    --olv-type-display: 52px;
    --olv-type-display-ls: -0.06em;
    --olv-type-section: 28px;
    --olv-type-lead: 16px;
    --olv-type-body: 14px;
    --olv-type-small: 13px;
    --olv-type-micro: 11px;
    --olv-type-eyebrow: 10px;
    --olv-type-card-title: 22px;
    --olv-type-pdp-title: 36px;
    --olv-section-pad: 56px;
    --olv-hero-pad-top: 64px;
    --olv-hero-pad-bottom: 56px;
    /* §6.1 motion */
    --olv-motion-instant: 80ms;
    --olv-motion-fast: 180ms;
    --olv-motion-state: 320ms;
    --olv-motion-section: 460ms;
    --olv-motion-hero: 500ms;
    --olv-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
    --olv-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
    --olv-ease-exit: cubic-bezier(0.4, 0, 1, 1);
    --olv-ease-press: cubic-bezier(0.2, 0, 0, 1);
    --olv-float-a-duration: 4000ms;
    --olv-float-a-distance: -10px;
    --olv-float-a-delay: 0ms;
    --olv-float-b-duration: 4500ms;
    --olv-float-b-distance: -12px;
    --olv-float-b-delay: 1000ms;
    --olv-float-c-duration: 5000ms;
    --olv-float-c-distance: -8px;
    --olv-float-c-delay: 500ms;
    --olv-gate-direction: -1;
}

@media (min-width: 761px) {
    :root {
        --olv-edge: 32px;
        --olv-header: 84px;
        --olv-type-display: 60px;
        --olv-type-display-ls: -0.07em;
        --olv-type-section: 32px;
        --olv-type-lead: 18px;
        --olv-type-pdp-title: 42px;
        --olv-section-pad: 80px;
        --olv-hero-pad-top: 96px;
        --olv-hero-pad-bottom: 72px;
    }
}

@media (min-width: 1000px) {
    :root {
        --olv-edge: 48px;
        --olv-header: 105px;
        --olv-type-display: 72px;
        --olv-type-display-ls: -0.08em;
        --olv-type-section: 40px;
        --olv-hero-pad-top: 112px;
        --olv-hero-pad-bottom: 96px;
    }
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: #8b8b86 #e6e6e1;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #e6e6e1;
}

*::-webkit-scrollbar-thumb {
    background: #8b8b86;
    border: 2px solid #e6e6e1;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #5f5f5b;
}

@media (forced-colors: active) {
    html {
        scrollbar-color: auto;
    }
}

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

    /* Retained !important (R6.6): a user motion preference must beat every author
       transition, including the shorthands set later in this file (R7.3). */
    .olv-site-header,
    .olv-mobile-nav,
    .olv-desktop-nav a,
    .olv-offer-trigger,
    .olv-concierge-panel,
    .olv-concierge-button {
        transition: none !important;
    }
}

html:has(body.olv-reduced-motion-preview) {
    scroll-behavior: auto;
}

/* Retained !important (R6.6): same reduced-motion enforcement as above, driven by the
   preview body class instead of the media query. */
body.olv-reduced-motion-preview .olv-site-header,
body.olv-reduced-motion-preview .olv-mobile-nav,
body.olv-reduced-motion-preview .olv-desktop-nav a,
body.olv-reduced-motion-preview .olv-offer-trigger,
body.olv-reduced-motion-preview .olv-concierge-panel,
body.olv-reduced-motion-preview .olv-concierge-button {
    transition: none !important;
}

/* Retained !important (R6.6): Blocksy sets the body background from its own Customizer
   output, which loads after the child theme; the token surface must win. */
body {
    background: var(--olv-bg) !important;
    color: var(--olv-ink);
    font-family: var(--olv-ui);
    font-size: var(--olv-type-body);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.olv-nav-open,
body.olv-core-locked {
    overflow: hidden;
}

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

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

svg {
    display: block;
    flex: 0 0 auto;
    height: 1em;
    stroke-width: 1.7;
    width: 1em;
}

:focus-visible {
    outline: 2px solid var(--olv-ink);
    outline-offset: 2px;
}

/* Focus on black surfaces: white ring (ink is invisible there). Acid stays offer-only (D14). */
.olv4-pill--dark:focus-visible,
.olv-header-cart:focus-visible,
.olv-mobile-buybar :focus-visible,
.olv-concierge-button:focus-visible,
.olv4-pill:focus-visible {
    outline: 2px solid var(--olv-white);
    outline-offset: 2px;
}

.olv4-offer :focus-visible {
    outline: 2px solid var(--olv-accent);
    outline-offset: 2px;
}

#catalogo,
#estandar,
#oferta,
#alcance,
#boletin {
    scroll-margin-top: calc(var(--olv-header) + 24px);
}

.olv-wrap {
    margin: 0 auto;
    max-width: var(--olv-wrap);
    padding-inline: var(--olv-edge);
    width: 100%;
}

/* --------------------------------------------------- announcement rail (R4.1, D14) */
.olv-announcement {
    align-items: center;
    background: var(--olv-ink);
    color: var(--olv-white);
    display: flex;
    font-size: 12px;
    justify-content: center;
    line-height: 1.4;
    min-height: 34px;
    padding: 6px var(--olv-edge);
    text-align: center;
}

.olv-announcement p {
    margin: 0;
}

/* ---------------------------------------------------------------- header (R4.1) */
.olv-site-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    height: var(--olv-header);
    position: sticky;
    top: 0;
    transition:
        background var(--olv-motion-fast) var(--olv-ease-standard),
        border-color var(--olv-motion-fast) var(--olv-ease-standard);
    z-index: 9000;
}

.olv-promo-active .olv-site-header {
    top: 34px;
}

.olv-site-header.is-scrolled {
    background: var(--olv-white);
    border-bottom-color: var(--olv-line);
}

/* Dark hero (D38 rev 3): while the header still floats over the graphite hero band it
   shares the band's colour and turns its text light; the scrolled state is unchanged. */
body.olv-hero-dark .olv-site-header:not(.is-scrolled) {
    background: #15171a;
    color: var(--olv-bg);
}

body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-brand,
body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-desktop-nav a,
body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-offer-trigger,
body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-menu-button {
    color: var(--olv-bg);
}

body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-brand small {
    color: #b9bab4;
}

body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-desktop-nav a:hover {
    color: #b9bab4;
}

body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-header-cart {
    background: var(--olv-bg);
    color: var(--olv-ink);
}

body.olv-hero-dark .olv-site-header:not(.is-scrolled) .olv-header-cart b {
    background: var(--olv-ink);
    color: var(--olv-bg);
}

.olv-header-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    height: 100%;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--olv-wrap);
    padding: 0 var(--olv-edge);
}

.olv-brand {
    align-content: center;
    display: inline-grid;
    gap: 3px;
    line-height: 0.9;
    min-height: 44px; /* R7.3: preserve the wordmark while enlarging its touch target. */
}

.olv-brand span {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.olv-brand small {
    color: var(--olv-muted);
    font-family: var(--olv-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.olv-header-right {
    align-items: center;
    display: flex;
    gap: 8px;
}

/* Primary mobile nav control: 44x44 on both axes; the 22 px glyph is unchanged (R7.3). */
.olv-menu-button,
.olv-mobile-close {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.olv-menu-button svg,
.olv-mobile-close svg {
    height: 22px;
    width: 22px;
}

.olv-desktop-nav {
    display: none;
}

.olv-header-actions {
    align-items: center;
    display: flex;
    gap: 6px;
}

/* Transparent trigger: min-height grows only the hit area, the label stays centred (R7.3). */
.olv-offer-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--olv-ink);
    cursor: pointer;
    display: none;
    font-size: 12px;
    font-weight: 500;
    min-height: 44px;
    padding: 10px 12px;
    transition: opacity var(--olv-motion-fast) var(--olv-ease-standard);
}

body.olv-offer-band-visible .olv-offer-trigger {
    opacity: 0;
    pointer-events: none;
}

/* Pill is 44 px tall so the 24 px badge sits on a 10 px inset all round (R7.3). */
.olv-header-cart {
    align-items: center;
    background: var(--olv-ink);
    border-radius: var(--olv-radius-control);
    color: var(--olv-white);
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    gap: 8px;
    min-height: 44px;
    padding: 6px 10px 6px 14px;
}

.olv-header-cart b {
    align-items: center;
    background: var(--olv-white);
    border-radius: 50%;
    color: var(--olv-ink);
    display: inline-flex;
    font-family: var(--olv-mono);
    font-size: 10px;
    height: 24px;
    justify-content: center;
    min-width: 24px;
}

.olv-header-interest {
    border: 0;
    cursor: pointer;
    font-family: var(--olv-ui);
    padding: 12px 24px;
}

.olv-header-interest:hover,
.olv-header-interest:active {
    box-shadow: inset 0 0 0 2px currentColor;
}

/* Interest mode reuses the PDP's native disclosure as its primary 52 px control (§5.3). */
.olv-interest-only .olv-interest-alert .olv-stock-alert > summary {
    background: var(--olv-ink);
    border-radius: var(--olv-radius-control);
    color: var(--olv-white);
    font-size: 15px;
    min-height: 52px;
    padding: 12px 24px;
}

.olv-interest-only .olv-interest-alert .olv-stock-alert > summary:hover,
.olv-interest-only .olv-interest-alert .olv-stock-alert > summary:active {
    box-shadow: inset 0 0 0 2px currentColor;
}

.olv-interest-alert summary:focus-visible {
    outline: 2px solid var(--olv-ink);
    outline-offset: 2px;
}

.olv-interest-alert input[type="email"] {
    scroll-margin-top: calc(var(--olv-header) + 16px);
}

.olv-mobile-nav {
    background: var(--olv-white);
    display: flex;
    flex-direction: column;
    inset: 0;
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: env(safe-area-inset-top) max(var(--olv-edge), env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(var(--olv-edge), env(safe-area-inset-left));
    pointer-events: none;
    position: fixed;
    transform: translateY(-12px);
    transition:
        opacity var(--olv-motion-state) var(--olv-ease-enter),
        transform var(--olv-motion-state) var(--olv-ease-enter),
        visibility var(--olv-motion-state) step-end;
    visibility: hidden;
    z-index: 9500;
}

.olv-mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-timing-function:
        var(--olv-ease-enter),
        var(--olv-ease-enter),
        step-start;
    visibility: visible;
}

body.admin-bar .olv-mobile-nav {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .olv-mobile-nav {
        top: 46px;
    }
}

.olv-mobile-nav-top {
    align-items: center;
    background: var(--olv-white);
    display: flex;
    flex-shrink: 0;
    height: var(--olv-header);
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
}

.olv-mobile-nav > a,
.olv-mobile-nav > button {
    align-items: center;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--olv-line);
    color: var(--olv-ink);
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 500;
    justify-content: space-between;
    letter-spacing: -0.03em;
    line-height: 1.05;
    min-height: 72px;
    padding: 14px 0;
    text-align: left;
    width: 100%;
}

.olv-mobile-nav > button {
    color: var(--olv-muted);
}

.olv-mobile-nav > a:last-of-type {
    border-bottom: 1px solid var(--olv-line);
}

.olv-mobile-nav > a span {
    align-items: center;
    background: var(--olv-ink);
    border-radius: 50%;
    color: var(--olv-white);
    display: inline-flex;
    font-family: var(--olv-mono);
    font-size: 11px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

@media (min-width: 780px) {
    .olv-menu-button {
        display: none;
    }

    .olv-desktop-nav {
        align-items: center;
        display: flex;
        gap: 28px;
        margin-left: auto;
    }

    /* 44 px hit area via symmetric padding-block, so the 12 px label keeps its
       measured size and stays optically centred in the header (R7.3, D6). */
    .olv-desktop-nav a {
        color: var(--olv-ink);
        font-size: 12px;
        font-weight: 500;
        min-height: 44px;
        padding-block: 12px;
        transition: color var(--olv-motion-fast) var(--olv-ease-standard);
    }

    .olv-desktop-nav a:hover {
        color: var(--olv-muted);
    }

    .olv-offer-trigger {
        display: inline-flex;
    }
}

/* ----------------------------------------------------------------- footer (R4.10) */
.olv-site-footer {
    background: var(--olv-white);
    border-top: 1px solid var(--olv-line);
    padding: var(--olv-section-pad) var(--olv-edge) 24px;
}

.olv-footer-inner,
.olv-footer-legal {
    margin: 0 auto;
    max-width: var(--olv-wrap);
}

.olv-footer-inner {
    display: grid;
    gap: 44px;
}

.olv-footer-lead p {
    color: var(--olv-muted);
    font-size: var(--olv-type-body);
    line-height: 1.6;
    margin: 20px 0 0;
    max-width: 340px;
}

.olv-footer-nav {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.olv-footer-nav > div {
    align-content: start;
    display: grid;
    gap: 12px;
}

.olv-footer-nav strong {
    color: var(--olv-muted);
    font-family: var(--olv-mono);
    font-size: var(--olv-type-eyebrow);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.olv-footer-nav a,
.olv-footer-nav button {
    background: transparent;
    border: 0;
    color: var(--olv-ink);
    cursor: pointer;
    font-size: var(--olv-type-small);
    line-height: 1.5;
    padding: 0;
    text-align: left;
    transition: color var(--olv-motion-fast) var(--olv-ease-standard);
}

.olv-footer-nav a:hover,
.olv-footer-nav button:hover {
    color: var(--olv-muted);
}

.olv-footer-nav p {
    color: var(--olv-muted);
    font-size: var(--olv-type-small);
    line-height: 1.6;
    margin: 0 0 4px;
}

.olv-footer-legal {
    border-top: 1px solid var(--olv-line);
    color: var(--olv-muted);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
}

.olv-footer-legal p {
    color: var(--olv-ink);
    font-size: var(--olv-type-micro);
    line-height: 1.8;
    margin: 0;
    max-width: 880px;
}

.olv-footer-legal p strong {
    font-weight: 600;
}

/* Mixed-case mono meta strip, not an uppercase eyebrow: 11 px floor (R6.2, BHL legal 11 px). */
.olv-footer-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--olv-mono);
    font-size: var(--olv-type-micro);
    gap: 16px;
    justify-content: space-between;
    letter-spacing: 0.04em;
}

.olv-footer-meta nav {
    display: flex;
    gap: 16px;
}

/* R7.3: mobile footer links use the same 44 px target floor as navigation. */
@media (max-width: 760px) {
    .olv-footer-nav > div {
        row-gap: 0;
    }

    .olv-footer-nav strong {
        margin-bottom: 16px;
    }

    .olv-footer-nav a,
    .olv-footer-nav button,
    .olv-footer-meta nav a {
        align-items: center;
        display: flex;
        min-height: 44px;
        min-width: 44px;
    }
}

@media (min-width: 761px) {
    .olv-footer-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    }

    .olv-footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ------------------------------------------------------------- concierge (D11) */
.olv-concierge {
    bottom: 20px;
    position: fixed;
    right: 20px;
    z-index: 8900;
}

.olv-concierge-button {
    align-items: center;
    background: var(--olv-ink);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(16, 16, 16, 0.18);
    color: var(--olv-white);
    cursor: pointer;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    padding: 0;
    transition: transform 200ms var(--olv-ease-standard);
    width: 52px;
}

.olv-concierge-button:hover {
    transform: scale(1.02);
}

.olv-concierge-button svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.olv-concierge-panel {
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(16, 16, 16, 0.08);
    border-radius: 22px;
    bottom: 68px;
    box-shadow: 0 24px 60px rgba(16, 16, 16, 0.14);
    max-height: 449px;
    opacity: 0;
    padding: 20px;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(8px);
    transition:
        opacity var(--olv-motion-state) var(--olv-ease-enter),
        transform var(--olv-motion-state) var(--olv-ease-enter),
        visibility var(--olv-motion-state) step-end;
    visibility: hidden;
    width: min(314px, calc(100vw - 40px));
}

.olv-concierge.is-open .olv-concierge-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-timing-function: var(--olv-ease-enter), var(--olv-ease-enter), step-start;
    visibility: visible;
}

.olv-concierge-panel h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.olv-concierge-panel > p {
    color: var(--olv-muted);
    font-size: var(--olv-type-small);
    line-height: 1.5;
    margin: 0 0 14px;
}

.olv-concierge-panel a {
    align-items: center;
    background: var(--olv-white);
    border-radius: 14px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
    min-height: 57px;
    padding: 10px 16px;
    transition: background var(--olv-motion-fast) var(--olv-ease-standard);
}

.olv-concierge-panel a:hover {
    background: var(--olv-field-50);
}

.olv-concierge-panel a strong {
    display: block;
    font-size: var(--olv-type-body);
    font-weight: 500;
}

.olv-concierge-panel a small {
    color: var(--olv-muted);
    display: block;
    font-size: var(--olv-type-micro);
}

.olv-concierge-panel a span:last-child {
    color: var(--olv-muted);
    font-size: 16px;
}

@media (min-width: 761px) {
    .olv-concierge-button {
        height: 56px;
        width: 56px;
    }

    .olv-concierge-panel {
        bottom: 72px;
    }
}

/* Gate and discount-flow presentation lives in olevor-core/assets/css/core.css (W3, R3.16–R3.17). */

/* ---------------------------------------------- WooCommerce controls (WCAG audit 2026-09-07) */
/* Blocksy styles every leftover vendor button (.button, .woocommerce-button, .added_to_cart.wc-forward,
   [type=submit], .wp-element-button) from its own tokens, blue #2872fa by default (4.3:1 with white).
   Feeding those tokens turns them into the site's ink pill everywhere at once. :root body out-specifies
   Blocksy's :root declaration. */
:root body {
    --theme-button-background-initial-color: var(--olv-ink);
    --theme-button-background-hover-color: #2a2a28;
    --theme-button-text-initial-color: var(--olv-white);
    --theme-button-text-hover-color: var(--olv-white);
}

/* 1.4.3: WooCommerce's default blue (#2872fa, 4.3:1 with white) on "Ver carrito" notices and the
   account forms becomes the site's ink pill. Scoped to WooCommerce's own classes, no vendor edits. */
.woocommerce-notices-wrapper .button.wc-forward,
.wc-block-components-notice-banner .wc-forward,
.woocommerce .button.wc-forward,
.woocommerce-button,
button.woocommerce-button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-Button {
    background: var(--olv-ink);
    border: 0;
    border-radius: var(--olv-radius-control);
    color: var(--olv-white);
    font-weight: 500;
    min-height: 44px;
    padding: 12px 22px;
    text-decoration: none;
}

.woocommerce-notices-wrapper .button.wc-forward:hover,
.wc-block-components-notice-banner .wc-forward:hover,
.woocommerce .button.wc-forward:hover,
.woocommerce-button:hover,
button.woocommerce-button:hover,
.woocommerce-Button:hover {
    background: #2a2a28;
    color: var(--olv-white);
}

.woocommerce-button:focus-visible,
button.woocommerce-button:focus-visible,
.wc-forward:focus-visible {
    outline: 2px solid var(--olv-ink);
    outline-offset: 3px;
}

/* 2.5.8: the show-password toggle WooCommerce injects is 14x14; give it a 44x44 target centred on
   the field's right edge and leave room for it inside the input. */
.woocommerce .password-input {
    display: block;
    position: relative;
}

.woocommerce form.woocommerce-form .password-input input,
.woocommerce .password-input input {
    padding-right: 56px; /* room for the 44 px toggle (Blocksy sets 38 px from a more specific rule) */
}

.woocommerce form.woocommerce-form .password-input .show-password-input,
.woocommerce .password-input .show-password-input {
    /* Blocksy draws the eye as a masked background-color; keep the mask, centre it at 18 px inside the 44 px target */
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 18px 18px;
    align-items: center;
    background-color: var(--olv-ink);
    border: 0;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 18px 18px;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}

.woocommerce form.woocommerce-form .password-input .show-password-input::after,
.woocommerce .password-input .show-password-input::after {
    position: static;
}

.woocommerce .password-input .show-password-input:focus-visible {
    border-radius: 8px;
    outline: 2px solid var(--olv-ink);
    outline-offset: -2px;
}
