/* Botón Acceso a Clientes en Menú Principal */
.es-nav-client-btn {
    display: inline-block;
    padding: 0.55rem 1.05rem !important;
    border: 1px solid #9C6644 !important;
    background: rgba(156, 102, 68, 0.14);
    color: #E4D6C3 !important;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    transition: all 0.25s ease;
    line-height: 1.2 !important;
}

.es-nav-client-btn:hover,
.es-nav-client-btn.is-logged {
    background: #9C6644 !important;
    color: #FFFFFF !important;
}

/* Botón Shortcode [es_boton_acceso] */
.es-editorial-access-btn {
    display: inline-block;
    padding: 0.9rem 1.7rem;
    background: #9C6644;
    border: 1px solid #9C6644;
    color: #E4D6C3;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease;
}

.es-editorial-access-btn:hover {
    background: #825234;
    color: #FFFFFF;
}

/* Píldora flotante en versión móvil (<= 960px) */
.es-mobile-fab-wrap {
    display: none;
}

@media (max-width: 960px) {
    .es-mobile-fab-wrap {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 18px;
        z-index: 9990;
    }

    .es-mobile-fab-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(33, 29, 25, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #E4D6C3;
        border: 1px solid #9C6644;
        border-radius: 999px;
        padding: 0.72rem 1.15rem;
        font-family: 'Public Sans', sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .es-mobile-fab-btn.is-logged {
        background: #9C6644;
        color: #FFFFFF;
    }
}

/* Modal Global de Login */
.es-auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 16, 0.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.es-auth-modal-card {
    background: #EDE3D5;
    color: #211D19;
    max-width: 430px;
    width: 100%;
    padding: 2.4rem 2rem;
    position: relative;
    border: 1px solid rgba(110, 101, 90, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.es-auth-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #211D19;
    cursor: pointer;
    line-height: 1;
}

.es-auth-eyebrow {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9C6644;
    display: block;
    margin-bottom: 0.55rem;
}

.es-auth-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 400;
    margin: 0 0 0.65rem;
    color: #211D19;
}

.es-auth-desc {
    font-size: 0.9rem;
    color: #6E655A;
    margin: 0 0 1.4rem;
    line-height: 1.5;
}

.es-auth-form label {
    display: block;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6E655A;
    margin-bottom: 0.35rem;
}

.es-auth-form input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
    background: #E4D6C3;
    border: 1px solid rgba(110, 101, 90, 0.35);
    color: #211D19;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.es-auth-error {
    background: rgba(179, 45, 46, 0.12);
    border-left: 3px solid #b32d2e;
    color: #8a1f20;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.es-auth-submit {
    width: 100%;
    background: #9C6644;
    color: #FFFFFF;
    border: none;
    padding: 0.95rem;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.es-auth-submit:hover {
    background: #825234;
}
