/* ==========================================================================
   MLF COMPARADOR
   Editorial Premium / Minimalista
   ========================================================================== */

/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
    --mlf-black: #11110f;
    --mlf-black-soft: #191917;

    --mlf-cream: #f7f5ef;
    --mlf-cream-dark: #eeeae1;

    --mlf-white: #ffffff;

    --mlf-text: #191917;
    --mlf-muted: #77746d;

    --mlf-border: rgba(17, 17, 15, 0.1);

    --mlf-green: #77f2a1;
    --mlf-green-soft: rgba(119, 242, 161, 0.16);
    --mlf-green-glow: rgba(119, 242, 161, 0.35);

    --mlf-radius: 22px;
    --mlf-radius-sm: 14px;

    --mlf-shadow: 0 24px 70px rgba(20, 19, 16, 0.08);

    --mlf-transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   GLOBAL
   ========================================================================== */

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--mlf-cream);

    color: var(--mlf-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

a {
    transition:
        color var(--mlf-transition),
        background-color var(--mlf-transition),
        border-color var(--mlf-transition),
        transform var(--mlf-transition),
        opacity var(--mlf-transition);
}

/* ==========================================================================
HEADER
========================================================================== */
.site-header {
    position: sticky;
    top: 0;

    z-index: 1050;

    background: rgba(247, 245, 239, 0.9);

    border-bottom: 1px solid var(--mlf-border);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);
}

/* ==========================================================================
SOCIAL BAR
========================================================================== */
.mlf-social-bar {
    min-height: 34px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(17, 17, 15, 0.06);

    background: rgba(255, 255, 255, 0.35);
}

.mlf-social-bar-inner {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.mlf-social-links {
    display: flex;
    align-items: center;

    gap: 15px;
}

.mlf-social-link {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #767169;

    text-decoration: none;

    transition:
        color var(--mlf-transition),
        transform var(--mlf-transition),
        filter var(--mlf-transition);
}

.mlf-social-link svg {
    width: 15px;
    height: 15px;
}

.mlf-social-link:hover {
    color: #27884a;

    transform: translateY(-2px);

    filter: drop-shadow(0 0 6px rgba(119, 242, 161, 0.5));
}

.mlf-social-message {
    color: #8b867e;

    font-size: 0.68rem;

    letter-spacing: 0.03em;
}

/* ==========================================================================
   NAVBAR PRINCIPAL
   ========================================================================== */
.mlf-navbar {
    min-height: 78px;
}

/* ==========================================================================
LOGO
========================================================================== */
.mlf-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    color: var(--mlf-black);
    text-decoration: none;
}

.mlf-brand:hover {
    color: var(--mlf-black);
}

.mlf-logo-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #27884a;
    transition:
        transform var(--mlf-transition),
        filter var(--mlf-transition);
}

.mlf-logo-icon svg {
    width: 31px;
    height: 31px;
}

.mlf-brand:hover .mlf-logo-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(119, 242, 161, 0.4));
}

.mlf-logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.mlf-logo-title {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.28rem;

    font-weight: 600;

    letter-spacing: -0.025em;
}

.mlf-logo-subtitle {
    margin-top: 5px;

    color: #918c83;

    font-size: 0.59rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

/* ==========================================================================
LINKS
========================================================================== */

.mlf-nav-link {
    position: relative;

    margin: 0 5px;

    color: #57534c !important;

    font-size: 0.88rem;

    font-weight: 550;
}

.mlf-nav-link::after {
    content: "";

    position: absolute;

    left: 50%;

    right: 50%;

    bottom: 5px;

    height: 1px;

    background: #27884a;

    transition:
        left var(--mlf-transition),
        right var(--mlf-transition);
}

.mlf-nav-link:hover,
.mlf-nav-link.active {
    color: var(--mlf-black) !important;
}

.mlf-nav-link:hover::after,
.mlf-nav-link.active::after {
    left: 12px;

    right: 12px;
}

/* ==========================================================================
   BOTÓN
   ========================================================================== */

.mlf-nav-button {
    padding: 10px 20px;

    border: 1px solid var(--mlf-black);

    border-radius: 100px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-size: 0.85rem;

    font-weight: 650;
}

.mlf-nav-button:hover {
    border-color: var(--mlf-green);

    background: var(--mlf-green);

    color: var(--mlf-black);

    box-shadow: 0 0 20px rgba(119, 242, 161, 0.22);

    transform: translateY(-2px);
}

.mlf-nav-user {
    color: #979187 !important;

    font-size: 0.82rem;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

.mlf-navbar-toggler {
    padding: 7px;

    border: 0;

    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .mlf-social-message {
        display: none;
    }

    .mlf-social-bar-inner {
        justify-content: center;
    }

    .mlf-navbar {
        min-height: 68px;
    }

    .navbar-collapse {
        padding: 22px 0 12px;
    }

    .mlf-nav-link {
        margin: 0;

        padding: 11px 0 !important;
    }

    .mlf-nav-link::after {
        display: none;
    }

    .mlf-nav-button {
        display: inline-flex;
        margin-top: 8px;
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.home-hero {
    position: relative;

    overflow: hidden;

    padding: clamp(90px, 11vw, 150px) 0 clamp(100px, 12vw, 160px);

    border-bottom: 1px solid var(--mlf-border);

    background:
        radial-gradient(circle at 50% 10%,
            rgba(255, 255, 255, 0.95),
            transparent 45%),
        var(--mlf-cream);
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.22;
}

.hero-glow-one {
    top: -220px;
    left: -150px;
    background: #d7e6ca;
}

.hero-glow-two {
    right: -170px;
    bottom: -220px;

    background: var(--mlf-green);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: #747067;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mlf-green);
    box-shadow: 0 0 14px var(--mlf-green);
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 5.9rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.hero-title span {
    display: block;
    color: #7c786f;
    font-style: italic;
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 48px;
    color: var(--mlf-muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.hero-description strong {
    color: var(--mlf-text);
    font-weight: 600;
}

/* ==========================================================================
   HERO SEARCH
   ========================================================================== */

.hero-search-wrapper {
    position: relative;
    max-width: 790px;
    margin: 0 auto;
}

.hero-search-wrapper::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: 27px;
    background: linear-gradient(90deg,
            transparent,
            rgba(119, 242, 161, 0.65),
            transparent);

    opacity: 0;

    filter: blur(8px);

    transition: opacity var(--mlf-transition);
}

.hero-search-wrapper:focus-within::before {
    opacity: 1;
}

.hero-search {
    position: relative;

    display: flex;
    align-items: center;

    padding: 9px;

    border: 1px solid rgba(17, 17, 15, 0.13);

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: 0 25px 70px rgba(20, 19, 16, 0.11);

    transition:
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition),
        transform var(--mlf-transition);
}

.hero-search:focus-within {
    border-color: rgba(119, 242, 161, 0.75);

    box-shadow:
        0 28px 90px rgba(20, 19, 16, 0.14),
        0 0 0 4px rgba(119, 242, 161, 0.09);

    transform: translateY(-2px);
}

.hero-search-icon {
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #98948b;
}

.hero-search-icon svg {
    width: 23px;
    height: 23px;
}

.hero-search-input {
    flex: 1;

    min-width: 0;

    padding: 18px 5px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--mlf-text);

    font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-search-input::placeholder {
    color: #aaa69d;
}

.hero-search-button {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 16px 25px;

    border: 0;

    border-radius: 18px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-weight: 650;

    transition:
        transform var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.hero-search-button:hover {
    background: #242420;

    transform: translateY(-1px);

    box-shadow: 0 12px 28px rgba(17, 17, 15, 0.18);
}

.hero-search-button:disabled {
    opacity: 0.78;

    cursor: wait;
}

.hero-search-arrow {
    font-size: 1.15rem;

    transition: transform var(--mlf-transition);
}

.hero-search-button:hover .hero-search-arrow {
    transform: translateX(4px);
}

.hero-search-hints {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 17px;
}

.hero-search-hints span {
    padding: 6px 11px;

    border: 1px solid var(--mlf-border);

    border-radius: 100px;

    color: var(--mlf-muted);

    font-size: 0.72rem;

    background: rgba(255, 255, 255, 0.48);
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 28px;

    margin-top: 37px;

    color: #77736b;

    font-size: 0.78rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;
}

.hero-trust-icon {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--mlf-green-soft);

    color: #278a4a;

    font-size: 0.65rem;

    box-shadow: 0 0 12px rgba(119, 242, 161, 0.16);
}

/* ==========================================================================
SECCIONES
========================================================================== */
.recent-books-section {
    padding: clamp(80px, 9vw, 130px) 0;
    background: #fbfaf7;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #8c877d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.section-description {
    max-width: 570px;
    margin: 0;
    color: var(--mlf-muted);
    line-height: 1.7;
}

/* ==========================================================================
   HOME - CÓMO FUNCIONA
   ========================================================================== */

.home-how-section {

    position: relative;

    overflow: hidden;

    padding:
        clamp(80px, 9vw, 125px) 0;

    background:
        var(--mlf-cream);
}


/* ==========================================================================
   GLOW AMBIENTAL
   ========================================================================== */

.home-how-glow {

    position: absolute;

    width: 420px;
    height: 420px;

    left: -220px;
    bottom: -250px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.07;

    filter:
        blur(100px);

    pointer-events: none;
}



/* ==========================================================================
   CABECERA
   ========================================================================== */

.home-how-heading {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}


.home-how-title-muted {

    color: #7c786f;

    font-style: italic;
}


.home-how-heading-decoration {

    display: flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 13px;

    color: #aaa59c;

    font-size: 0.59rem;

    font-weight: 750;

    letter-spacing: 0.16em;
}


.home-how-heading-decoration span {

    width: 32px;

    height: 1px;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 8px rgba(119, 242, 161, 0.45);
}



/* ==========================================================================
   GRID
   ========================================================================== */

.home-how-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    gap: 16px;
}



/* ==========================================================================
   CARD
   ========================================================================== */

.home-how-card {

    position: relative;

    overflow: hidden;

    min-height: 335px;

    display: flex;

    flex-direction: column;

    padding: 32px;

    border:
        1px solid rgba(17, 17, 15, 0.08);

    border-radius:
        22px;

    background:
        rgba(255, 255, 255, 0.62);

    transition:
        transform var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition),
        background var(--mlf-transition);
}


.home-how-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(119, 242, 161, 0.30);

    background:
        var(--mlf-white);

    box-shadow:
        0 25px 60px rgba(20, 19, 16, 0.08);
}



/* ==========================================================================
   NÚMERO FONDO
   ========================================================================== */

.home-how-card-number {

    position: absolute;

    right: 18px;

    top: 8px;

    color:
        rgba(17, 17, 15, 0.035);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 6.3rem;

    font-weight: 700;

    line-height: 1;

    pointer-events: none;

    transition:
        color var(--mlf-transition),
        transform var(--mlf-transition);
}


.home-how-card:hover .home-how-card-number {

    color:
        rgba(119, 242, 161, 0.12);

    transform:
        translateY(-3px);
}



/* ==========================================================================
   ICONO
   ========================================================================== */

.home-how-icon {

    position: relative;

    z-index: 2;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 36px;

    border:
        1px solid rgba(17, 17, 15, 0.08);

    border-radius: 50%;

    background:
        var(--mlf-white);

    color:
        #27884a;

    box-shadow:
        0 8px 25px rgba(20, 19, 16, 0.05);

    transition:
        transform var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-how-icon svg {

    width: 21px;
    height: 21px;
}


.home-how-card:hover .home-how-icon {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        rotate(-5deg) scale(1.06);

    box-shadow:
        0 0 24px rgba(119, 242, 161, 0.22);
}



/* ==========================================================================
   TEXTO
   ========================================================================== */

.home-how-card-eyebrow {

    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 10px;

    color: #27884a;

    font-size: 0.61rem;

    font-weight: 800;

    letter-spacing: 0.14em;
}


.home-how-card h3 {

    position: relative;

    z-index: 2;

    margin:
        0 0 14px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.45rem,
            2vw,
            1.85rem);

    font-weight: 500;

    letter-spacing:
        -0.025em;
}


.home-how-card p {

    position: relative;

    z-index: 2;

    max-width: 300px;

    margin: 0;

    color:
        var(--mlf-muted);

    font-size: 0.80rem;

    line-height: 1.75;
}



/* ==========================================================================
   LÍNEA INFERIOR CARD
   ========================================================================== */

.home-how-line {

    width: 35px;

    height: 2px;

    margin-top: auto;

    padding-top: 30px;

    border-bottom:
        2px solid rgba(17, 17, 15, 0.08);

    transition:
        width var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-how-card:hover .home-how-line {

    width: 75px;

    border-color:
        var(--mlf-green);

    box-shadow:
        0 2px 8px rgba(119, 242, 161, 0.25);
}



/* ==========================================================================
   MENSAJE INFERIOR
   ========================================================================== */

.home-how-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 45px;
}


.home-how-bottom-line {

    flex: 1;

    height: 1px;

    background:
        var(--mlf-border);
}


.home-how-bottom>span {

    color: #98938a;

    font-size: 0.68rem;

    white-space: nowrap;
}


.home-how-bottom strong {

    color:
        #5a564f;

    font-weight: 650;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .home-how-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .home-how-card:last-child {
        grid-column:
            1 / -1;
    }

    .home-how-card:last-child p {
        max-width:
            520px;
    }

}
@media (max-width: 767.98px) {
    .home-how-section {
        padding:
            70px 0;
    }

    .home-how-heading {
        align-items:
            flex-start;

        flex-direction:
            column;
        margin-bottom:
            35px;
    }

    .home-how-heading-decoration {
        display:
            none;
    }

    .home-how-grid {
        grid-template-columns:
            1fr;
        gap:
            12px;
    }

    .home-how-card,
    .home-how-card:last-child {
        min-height:
            285px;
        grid-column:
            auto;
        padding:
            27px;
    }

    .home-how-icon {
        margin-bottom:
            28px;
    }

    .home-how-bottom {
        margin-top:
            35px;
    }


    .home-how-bottom-line {
        display:
            none;
    }

    .home-how-bottom {
        justify-content:
            center;

        text-align:
            center;
    }


    .home-how-bottom>span {
        white-space:
            normal;
    }
}

/* ==========================================================================
   HOME - LIBRERÍAS QUE COMPARAMOS
   ========================================================================== */

.home-providers-section {

    position: relative;

    overflow: hidden;

    padding:
        clamp(85px, 9vw, 130px) 0;

    border-top:
        1px solid var(--mlf-border);

    border-bottom:
        1px solid var(--mlf-border);

    background:
        #f3f0e9;
}


/* ==========================================================================
   GLOW
   ========================================================================== */

.home-providers-glow {

    position: absolute;

    width: 480px;
    height: 480px;

    right: -250px;
    top: -260px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.08;

    filter:
        blur(110px);

    pointer-events: none;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.home-providers-layout {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr) minmax(0, 1.15fr);

    align-items: center;

    gap:
        clamp(50px, 7vw, 100px);
}


/* ==========================================================================
   COLUMNA IZQUIERDA
   ========================================================================== */

.home-providers-content {

    max-width: 480px;
}


.home-providers-title {

    margin:
        0 0 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.8rem,
            5vw,
            4.7rem);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing:
        -0.05em;
}


.home-providers-title span {

    display: block;

    color:
        #77736b;

    font-style:
        italic;
}


.home-providers-description {

    max-width: 460px;

    margin:
        0 0 35px;

    color:
        var(--mlf-muted);

    font-size:
        0.88rem;

    line-height:
        1.85;
}


/* ==========================================================================
   INDICADOR
   ========================================================================== */

.home-providers-indicator {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        12px 16px;

    border:
        1px solid rgba(119, 242, 161, 0.20);

    border-radius:
        14px;

    background:
        rgba(255, 255, 255, 0.42);
}


.home-providers-indicator-dot {

    width: 9px;
    height: 9px;

    flex:
        0 0 9px;

    border-radius:
        50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 13px var(--mlf-green);

    animation:
        mlfProviderPulse 2s ease-in-out infinite;
}


.home-providers-indicator div {

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.home-providers-indicator strong {

    color:
        #565149;

    font-size:
        0.72rem;

    font-weight:
        700;
}


.home-providers-indicator small {

    color:
        #98938a;

    font-size:
        0.62rem;
}


/* ==========================================================================
   GRID PROVEEDORES
   ========================================================================== */

.home-providers-grid {

    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0, 1fr));

    gap: 12px;
}


/* ==========================================================================
   PROVIDER CARD
   ========================================================================== */

.home-provider-card {

    position: relative;

    overflow: hidden;

    min-height: 225px;

    display: flex;

    flex-direction: column;

    padding: 24px;

    border:
        1px solid rgba(17, 17, 15, 0.08);

    border-radius:
        19px;

    background:
        rgba(255, 255, 255, 0.70);

    transition:
        transform var(--mlf-transition),
        border-color var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-provider-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(119, 242, 161, 0.33);

    background:
        var(--mlf-white);

    box-shadow:
        0 22px 50px rgba(20, 19, 16, 0.08);
}


/* ==========================================================================
   CABECERA CARD
   ========================================================================== */

.home-provider-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 30px;
}


/* ==========================================================================
   MONOGRAMA
   ========================================================================== */

.home-provider-monogram {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(17, 17, 15, 0.09);

    border-radius:
        13px;

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.1rem;

    font-weight:
        600;

    transition:
        background var(--mlf-transition),
        color var(--mlf-transition),
        box-shadow var(--mlf-transition),
        transform var(--mlf-transition);
}


.home-provider-monogram-wide {

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size:
        0.70rem;

    font-weight:
        800;

    letter-spacing:
        0.06em;
}


.home-provider-card:hover .home-provider-monogram {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        rotate(-4deg);

    box-shadow:
        0 0 22px rgba(119, 242, 161, 0.24);
}


/* ==========================================================================
   ESTADO
   ========================================================================== */

.home-provider-status {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color:
        #8e897f;

    font-size:
        0.54rem;

    font-weight:
        750;

    letter-spacing:
        0.10em;
}


.home-provider-status>span {

    width: 5px;
    height: 5px;

    border-radius:
        50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 8px var(--mlf-green);
}


/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.home-provider-card-content {

    position: relative;

    z-index: 2;
}


.home-provider-card-content>span {

    display: block;

    margin-bottom: 7px;

    color:
        #aaa59c;

    font-size:
        0.55rem;

    font-weight:
        750;

    letter-spacing:
        0.13em;
}


.home-provider-card h3 {

    margin:
        0 0 10px;

    color:
        var(--mlf-text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.25rem;

    font-weight:
        500;

    line-height:
        1.2;
}


.home-provider-card p {

    max-width:
        230px;

    margin: 0;

    color:
        #8f8a82;

    font-size:
        0.70rem;

    line-height:
        1.65;
}


/* ==========================================================================
   LÍNEA INFERIOR
   ========================================================================== */

.home-provider-line {

    width: 30px;

    height: 2px;

    margin-top: auto;

    padding-top: 22px;

    border-bottom:
        2px solid rgba(17, 17, 15, 0.07);

    transition:
        width var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-provider-card:hover .home-provider-line {

    width: 75px;

    border-color:
        var(--mlf-green);

    box-shadow:
        0 2px 8px rgba(119, 242, 161, 0.25);
}


/* ==========================================================================
   BLOQUE INFERIOR
   ========================================================================== */

.home-providers-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 45px;

    padding-top: 30px;

    border-top:
        1px solid var(--mlf-border);
}


.home-providers-bottom-icon {

    width: 38px;
    height: 38px;

    flex:
        0 0 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius:
        50%;

    background:
        var(--mlf-green-soft);

    color:
        #27884a;

    font-size:
        1.1rem;

    font-weight:
        500;

    box-shadow:
        0 0 18px rgba(119, 242, 161, 0.08);
}


.home-providers-bottom strong {

    display: block;

    margin-bottom: 3px;

    color:
        #5d5850;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        0.95rem;

    font-weight:
        600;
}


.home-providers-bottom p {
    margin: 0;
    color:
        #969188;
    font-size:
        0.70rem;
}

/* ==========================================================================
ANIMACIÓN
========================================================================== */
@keyframes mlfProviderPulse {
    0%,
    100% {
        transform:
            scale(0.85);

        opacity:
            0.65;
    }

    50% {
        transform:
            scale(1.12);
        opacity:
            1;
    }

}

/* ==========================================================================
RESPONSIVE
========================================================================== */
@media (max-width: 991.98px) {
    .home-providers-layout {

        grid-template-columns:
            1fr;

        gap:
            50px;
    }
    .home-providers-content {

        max-width:
            650px;
    }

}

@media (max-width: 575.98px) {

    .home-providers-section {

        padding:
            70px 0;
    }

    .home-providers-grid {
        grid-template-columns:
            1fr;
    }

    .home-provider-card {
        min-height:
            205px;
        padding:
            22px;
    }

    .home-providers-bottom {
        align-items:
            flex-start;
    }

}

/* ==========================================================================
   HOME - AYUDA PARA ENCONTRAR UN LIBRO
   ========================================================================== */

.home-help-section {

    padding:
        clamp(75px, 8vw, 110px) 0;

    background:
        #fbfaf7;
}


/* ==========================================================================
   CARD PRINCIPAL
   ========================================================================== */

.home-help-card {

    position: relative;

    overflow: hidden;

    min-height: 360px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) auto;

    align-items: center;

    gap:
        clamp(40px, 6vw, 90px);

    padding:
        clamp(40px, 6vw, 70px);

    border-radius:
        30px;

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);

    box-shadow:
        0 35px 80px rgba(20, 19, 16, 0.12);
}


/* ==========================================================================
   GLOW
   ========================================================================== */

.home-help-glow {

    position: absolute;

    width: 430px;
    height: 430px;

    right: -170px;
    bottom: -300px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.18;

    filter:
        blur(95px);

    pointer-events: none;
}


/* ==========================================================================
   SIGNO DECORATIVO
   ========================================================================== */

.home-help-number {

    position: absolute;

    right: 28%;

    top: -70px;

    color:
        rgba(255, 255, 255, 0.025);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        20rem;

    font-weight:
        700;

    line-height: 1;

    pointer-events: none;
}


/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.home-help-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;

    gap: 25px;
}


/* ==========================================================================
   ICONO
   ========================================================================== */

.home-help-icon {

    width: 58px;
    height: 58px;

    flex:
        0 0 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(119, 242, 161, 0.25);

    border-radius: 50%;

    background:
        rgba(119, 242, 161, 0.08);

    color:
        var(--mlf-green);

    box-shadow:
        0 0 30px rgba(119, 242, 161, 0.08);

    animation:
        mlfHomeHelpPulse 3s ease-in-out infinite;
}


.home-help-icon svg {

    width: 27px;
    height: 27px;
}


/* ==========================================================================
   TEXTO
   ========================================================================== */

.home-help-text {

    max-width: 680px;
}


.home-help-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 16px;

    color:
        var(--mlf-green);

    font-size:
        0.62rem;

    font-weight:
        800;

    letter-spacing:
        0.16em;
}


.home-help-eyebrow>span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 10px var(--mlf-green);
}


.home-help-text h2 {

    max-width: 670px;

    margin:
        0 0 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.4rem,
            5vw,
            4.4rem);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing:
        -0.05em;
}


.home-help-text h2 span {

    display: block;

    color:
        #8e8a82;

    font-style:
        italic;
}


.home-help-text>p {

    max-width: 590px;

    margin:
        0 0 25px;

    color:
        #9d9991;

    font-size:
        0.82rem;

    line-height: 1.8;
}


/* ==========================================================================
   OPCIONES
   ========================================================================== */

.home-help-options {

    display: flex;

    flex-wrap: wrap;

    gap:
        8px 18px;
}


.home-help-options>span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        #89857d;

    font-size:
        0.67rem;
}


.home-help-options strong {

    color:
        var(--mlf-green);

    font-size:
        0.62rem;
}


/* ==========================================================================
   ACCIÓN
   ========================================================================== */

.home-help-action-wrapper {

    position: relative;

    z-index: 2;

    width: 280px;

    flex:
        0 0 280px;
}


.home-help-action-label {

    display: block;

    margin:
        0 0 11px 4px;

    color:
        #68655f;

    font-size:
        0.55rem;

    font-weight:
        750;

    letter-spacing:
        0.14em;
}

/* ==========================================================================
BOTÓN WHATSAPP
========================================================================== */
.home-help-button {

    width: 100%;

    min-height: 68px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        13px 16px;

    border-radius:
        17px;

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    text-decoration:
        none;

    box-shadow:
        0 0 28px rgba(119, 242, 161, 0.14);

    transition:
        transform var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-help-button-icon {

    width: 31px;
    height: 31px;

    flex:
        0 0 31px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.home-help-button-icon svg {

    width: 25px;
    height: 25px;
}

.home-help-button-text {

    min-width: 0;

    display: flex;

    flex-direction: column;
}

.home-help-button-text strong {

    font-size:
        0.75rem;

    font-weight:
        750;

    white-space:
        nowrap;
}

.home-help-button-text small {

    margin-top: 3px;

    color:
        rgba(17, 17, 15, 0.62);

    font-size:
        0.60rem;
}

.home-help-button-arrow {

    margin-left: auto;

    font-size:
        1.15rem;

    transition:
        transform var(--mlf-transition);
}

.home-help-button:hover {

    background:
        #8bf6ad;

    color:
        var(--mlf-black);

    transform:
        translateY(-4px);

    box-shadow:
        0 0 40px rgba(119, 242, 161, 0.28);
}

.home-help-button:hover .home-help-button-arrow {

    transform:
        translateX(5px);
}

/* ==========================================================================
ANIMACIÓN
========================================================================== */
@keyframes mlfHomeHelpPulse {

    0%,
    100% {

        transform:
            translateY(0);

        box-shadow:
            0 0 20px rgba(119, 242, 161, 0.06);
    }


    50% {

        transform:
            translateY(-4px);

        box-shadow:
            0 0 32px rgba(119, 242, 161, 0.17);
    }

}

/* ==========================================================================
RESPONSIVE
========================================================================== */
@media (max-width: 991.98px) {

    .home-help-card {

        grid-template-columns:
            1fr;

        gap: 40px;
    }


    .home-help-action-wrapper {

        width:
            min(100%,
                340px);

        flex-basis: auto;
    }

}

@media (max-width: 767.98px) {

    .home-help-section {

        padding:
            65px 0;
    }


    .home-help-card {

        min-height: auto;

        padding:
            35px 27px;

        border-radius:
            24px;
    }


    .home-help-content {

        flex-direction:
            column;
    }


    .home-help-icon {

        width: 50px;
        height: 50px;

        flex-basis:
            50px;
    }


    .home-help-text h2 {

        font-size:
            2.75rem;
    }


    .home-help-options {

        flex-direction:
            column;
    }


    .home-help-action-wrapper {

        width: 100%;
    }


    .home-help-button {

        width: 100%;
    }


    .home-help-number {

        right: -20px;

        font-size:
            15rem;
    }

}

/* ==========================================================================
   HOME - ALIANZAS COMERCIALES
   ========================================================================== */

.home-partners-section {

    position: relative;

    overflow: hidden;

    padding:
        clamp(85px, 9vw, 130px) 0;

    background:
        var(--mlf-cream);
}


/* ==========================================================================
   GLOW
   ========================================================================== */

.home-partners-glow {

    position: absolute;

    width: 450px;
    height: 450px;

    left: -250px;
    top: -270px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.07;

    filter:
        blur(110px);

    pointer-events: none;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.home-partners-layout {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr) minmax(0, 1.1fr);

    gap:
        clamp(60px, 8vw, 110px);

    align-items: center;
}


/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.home-partners-content {

    max-width: 540px;
}


.home-partners-title {

    margin:
        0 0 27px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.8rem,
            5vw,
            4.8rem);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing:
        -0.05em;
}


.home-partners-title span {

    display: block;

    color:
        #77736b;

    font-style:
        italic;
}


.home-partners-description {

    max-width: 500px;

    margin:
        0 0 30px;

    color:
        var(--mlf-muted);

    font-size:
        0.88rem;

    line-height:
        1.85;
}


/* ==========================================================================
   BOTÓN
   ========================================================================== */

.home-partners-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    min-height: 54px;

    padding:
        12px 18px;

    border-radius:
        14px;

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);

    font-size:
        0.75rem;

    font-weight:
        700;

    text-decoration:
        none;

    transition:
        background var(--mlf-transition),
        color var(--mlf-transition),
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-partners-button-icon {

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.home-partners-button-icon svg {

    width: 20px;
    height: 20px;
}


.home-partners-button-arrow {

    margin-left: 8px;

    font-size: 1rem;

    transition:
        transform var(--mlf-transition);
}


.home-partners-button:hover {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        translateY(-3px);

    box-shadow:
        0 0 28px rgba(119, 242, 161, 0.23);
}


.home-partners-button:hover .home-partners-button-arrow {

    transform:
        translateX(5px);
}


/* ==========================================================================
   NOTA
   ========================================================================== */

.home-partners-note {

    margin:
        16px 0 0;

    color:
        #a29d94;

    font-size:
        0.62rem;

    line-height: 1.6;
}


/* ==========================================================================
   BENEFICIOS
   ========================================================================== */

.home-partners-benefits {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* ==========================================================================
   CARD BENEFICIO
   ========================================================================== */

.home-partner-benefit {

    position: relative;

    overflow: hidden;

    min-height: 145px;

    padding:
        24px 27px;

    border:
        1px solid var(--mlf-border);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, 0.58);

    transition:
        transform var(--mlf-transition),
        border-color var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.home-partner-benefit:hover {

    transform:
        translateX(7px);

    border-color:
        rgba(119, 242, 161, 0.30);

    background:
        var(--mlf-white);

    box-shadow:
        0 18px 45px rgba(20, 19, 16, 0.07);
}


/* ==========================================================================
CABECERA BENEFICIO
========================================================================== */
.home-partner-benefit-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 13px;
}

.home-partner-benefit-number {

    color:
        #aaa59d;

    font-size:
        0.58rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;
}

/* ==========================================================================
ICONO
========================================================================== */
.home-partner-benefit-icon {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(17, 17, 15, 0.08);

    border-radius: 50%;

    background:
        var(--mlf-white);

    color:
        #27884a;

    transition:
        background var(--mlf-transition),
        color var(--mlf-transition),
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.home-partner-benefit-icon svg {
    width: 17px;
    height: 17px;
}

.home-partner-benefit:hover .home-partner-benefit-icon {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        rotate(-5deg);

    box-shadow:
        0 0 20px rgba(119, 242, 161, 0.20);
}

/* ==========================================================================
TEXTO BENEFICIO
========================================================================== */
.home-partner-benefit h3 {

    margin:
        0 0 8px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.25rem;

    font-weight: 550;

    letter-spacing:
        -0.02em;
}

.home-partner-benefit p {

    max-width: 450px;

    margin: 0;

    color:
        #8e8980;

    font-size:
        0.73rem;

    line-height:
        1.7;
}

/* ==========================================================================
LÍNEA
========================================================================== */
.home-partner-benefit-line {

    width: 28px;

    height: 2px;

    margin-top: 18px;

    border-bottom:
        2px solid rgba(17, 17, 15, 0.07);

    transition:
        width var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.home-partner-benefit:hover .home-partner-benefit-line {

    width: 70px;

    border-color:
        var(--mlf-green);

    box-shadow:
        0 2px 8px rgba(119, 242, 161, 0.25);
}

/* ==========================================================================
CIERRE
========================================================================== */
.home-partners-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 55px;

    padding-top: 28px;

    border-top:
        1px solid var(--mlf-border);

    color:
        #9b968d;

    font-size:
        0.65rem;

    letter-spacing:
        0.04em;
}

.home-partners-bottom-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 9px var(--mlf-green);
}

/* ==========================================================================
RESPONSIVE
========================================================================== */
@media (max-width: 991.98px) {

    .home-partners-layout {

        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .home-partners-content {

        max-width: 650px;
    }

}


@media (max-width: 767.98px) {

    .home-partners-section {

        padding:
            70px 0;
    }


    .home-partners-title {

        font-size:
            2.8rem;
    }


    .home-partners-button {

        width: 100%;

        justify-content:
            space-between;
    }


    .home-partner-benefit {

        padding:
            22px;
    }


    .home-partner-benefit:hover {

        transform:
            translateY(-4px);
    }


    .home-partners-bottom {

        align-items:
            flex-start;

        text-align:
            center;
    }

}

/* ==========================================================================
PREMIUM BOOK CARD
========================================================================== */
.premium-book-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid rgba(17, 17, 15, 0.08);

    border-radius: var(--mlf-radius);

    background: var(--mlf-white);

    box-shadow: 0 8px 30px rgba(20, 19, 16, 0.035);

    transition:
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition),
        border-color var(--mlf-transition);
}

.premium-book-card:hover {
    transform: translateY(-8px);

    border-color: rgba(119, 242, 161, 0.28);

    box-shadow:
        0 30px 65px rgba(20, 19, 16, 0.12),
        0 0 34px rgba(119, 242, 161, 0.07);
}

/* ==========================================================================
PORTADA HOME
========================================================================== */
.premium-book-cover {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 4 / 5;

    padding: 22px;

    background:
        radial-gradient(circle at 50% 35%,
            rgba(255, 255, 255, 0.98),
            rgba(243, 240, 233, 0.94) 58%,
            #ebe6dc 100%);

    border-bottom: 1px solid var(--mlf-border);

    isolation: isolate;
}


/*
|--------------------------------------------------------------------------
| Imagen más pequeña
|--------------------------------------------------------------------------
|
| Evitamos ampliar demasiado imágenes de baja resolución.
| Ya no ocupan todo el contenedor.
|
*/

.premium-book-cover img {
    position: relative;
    z-index: 2;

    display: block;

    width: auto;
    height: auto;

    max-width: 60%;
    max-height: 74%;

    object-fit: contain;
    object-position: center;

    filter:
        drop-shadow(0 12px 18px rgba(20, 19, 16, 0.10));

    transition:
        transform 0.7s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter var(--mlf-transition);
}


.premium-book-card:hover .premium-book-cover img {
    transform:
        translateY(-4px) scale(1.025);

    filter:
        drop-shadow(0 18px 24px rgba(20, 19, 16, 0.16));
}


/* ==========================================================================
   REFLEJO PREMIUM
   ========================================================================== */

/*
|--------------------------------------------------------------------------
| Reflejo principal
|--------------------------------------------------------------------------
|
| Lo generamos directamente desde el contenedor para que no dependa
| de que el elemento .premium-book-shine esté visible.
|
*/

.premium-book-cover::before {
    content: "";

    position: absolute;

    top: -20%;
    bottom: -20%;

    left: -48%;

    z-index: 5;

    width: 34%;

    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(110deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.70) 48%,
            rgba(219, 255, 231, 0.48) 55%,
            rgba(255, 255, 255, 0.12) 72%,
            transparent 100%);

    filter:
        blur(1px);

    transform:
        skewX(-14deg) translateX(0);

    transition:
        left 0.95s cubic-bezier(0.22,
            1,
            0.36,
            1),
        opacity 0.18s ease;
}


.premium-book-card:hover .premium-book-cover::before {
    left: 118%;

    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| Shine del HTML
|--------------------------------------------------------------------------
|
| Lo mantenemos como segunda capa sutil.
|
*/

.premium-book-shine {
    position: absolute;

    inset: 0;

    z-index: 4;

    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(115deg,
            transparent 22%,
            rgba(255, 255, 255, 0.08) 33%,
            rgba(255, 255, 255, 0.44) 47%,
            rgba(119, 242, 161, 0.14) 54%,
            rgba(255, 255, 255, 0.10) 63%,
            transparent 74%);

    transform:
        translateX(-130%);

    transition:
        transform 1s cubic-bezier(0.22,
            1,
            0.36,
            1),
        opacity 0.2s ease;
}


.premium-book-card:hover .premium-book-shine {
    opacity: 0.85;

    transform:
        translateX(130%);
}


/* ==========================================================================
   GLOW VERDE AMBIENTAL
   ========================================================================== */

.premium-book-cover::after {
    content: "";

    position: absolute;

    z-index: 1;

    width: 190px;
    height: 190px;

    right: -105px;
    bottom: -120px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0;

    filter:
        blur(62px);

    pointer-events: none;

    transition:
        opacity var(--mlf-transition);
}


.premium-book-card:hover .premium-book-cover::after {
    opacity: 0.17;
}


/* ==========================================================================
   PLACEHOLDER
   ========================================================================== */

.premium-book-placeholder {
    position: relative;
    z-index: 2;

    width: 60%;
    height: 74%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(145deg,
            #e8e4db,
            #f4f1ea);

    color: #a09a90;
}


.premium-book-placeholder span {
    font-family: Georgia, serif;

    font-size: 2rem;

    letter-spacing: 0.12em;
}


/* ==========================================================================
   CONTENIDO CARD
   ========================================================================== */

.premium-book-content {
    padding: 22px 22px 20px;
}


.premium-book-author {
    min-height: 18px;

    margin-bottom: 8px;

    color: #979187;

    font-size: 0.72rem;
    font-weight: 650;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.premium-book-title {
    min-height: 52px;

    margin-bottom: 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.08rem;

    line-height: 1.45;
}


.premium-book-title a {
    color: var(--mlf-text);

    text-decoration: none;
}


.premium-book-title a:hover {
    color: #666159;
}


.premium-book-footer {
    min-height: 57px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    padding-top: 17px;

    border-top:
        1px solid var(--mlf-border);
}


.premium-price-label {
    display: block;

    margin-bottom: 2px;

    color: #9a958d;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* ==========================================================================
   PRECIO NEÓN
   ========================================================================== */

.premium-price {
    color: #27884a;

    font-size: 1.42rem;
    font-weight: 800;

    letter-spacing: -0.04em;

    text-shadow:
        0 0 10px rgba(119, 242, 161, 0.42),
        0 0 22px rgba(119, 242, 161, 0.10);
}


.premium-price small {
    margin-right: 2px;

    font-size: 0.78rem;
    font-weight: 700;
}


/* ==========================================================================
   BOTÓN CIRCULAR
   ========================================================================== */

.premium-book-action {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--mlf-black);

    color: var(--mlf-white);

    text-decoration: none;

    font-size: 1.1rem;

    transition:
        transform var(--mlf-transition),
        background var(--mlf-transition),
        color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.premium-book-action:hover {
    background: var(--mlf-green);

    color: var(--mlf-black);

    transform:
        rotate(-10deg) scale(1.05);

    box-shadow:
        0 0 24px var(--mlf-green-glow),
        0 8px 20px rgba(20, 19, 16, 0.10);
}


.premium-no-offers {
    padding: 7px 10px;

    border-radius: 100px;

    background: #efede7;

    color: #827d74;

    font-size: 0.72rem;
}


/* ==========================================================================
   HOME CARD RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

    .premium-book-cover {
        padding: 18px;
    }

    .premium-book-cover img {
        max-width: 64%;
        max-height: 76%;
    }

    .premium-book-placeholder {
        width: 64%;
        height: 76%;
    }

}


@media (max-width: 767.98px) {

    .premium-book-cover {
        padding: 14px;
    }

    .premium-book-cover img {
        max-width: 72%;
        max-height: 80%;
    }

    .premium-book-placeholder {
        width: 72%;
        height: 80%;
    }

}



/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.home-final-cta {
    padding: 30px 0 110px;

    background: #fbfaf7;
}

.home-final-card {
    position: relative;

    overflow: hidden;

    padding: clamp(50px, 8vw, 90px);

    border-radius: 32px;

    background: var(--mlf-black);

    color: var(--mlf-white);
}

.home-final-card::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -150px;
    bottom: -210px;
    border-radius: 50%;
    background: var(--mlf-green);
    filter: blur(90px);
    opacity: 0.18;
}

.home-final-card .section-eyebrow {
    position: relative;
    z-index: 2;
    color: var(--mlf-green);
}

.home-final-card h2 {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 0 24px;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1;
}

.home-final-card h2 span {
    color: #a7a49c;
    font-style: italic;
}

.home-final-card p {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-bottom: 32px;
    color: #aaa79f;
    line-height: 1.8;
}

.home-final-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 13px 22px;
    border-radius: 100px;
    background: var(--mlf-white);
    color: var(--mlf-black);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.home-final-button:hover {
    background: var(--mlf-green);
    color: var(--mlf-black);
    box-shadow: 0 0 25px rgba(119, 242, 161, 0.25);
    transform: translateY(-2px);
}

.home-final-media {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 28px;
    border:
        1px solid rgba(255, 255, 255, 0.08);
    background:
        rgba(255, 255, 255, 0.03);
}

.home-final-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

@media (max-width: 991.98px) {
    .home-final-media {
        max-width: 320px;
        margin-top: 15px;
    }

}

/* ==========================================================================
SEARCH LOADING
========================================================================== */
.search-loading {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(17, 17, 15, 0.88);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.search-loading.is-visible {
    opacity: 1;
    visibility: visible;
}

.search-loading-panel {
    width: min(100%, 470px);

    padding: 45px 38px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 28px;

    background: rgba(31, 31, 28, 0.88);

    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);

    transform: translateY(15px) scale(0.98);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-loading.is-visible .search-loading-panel {
    transform: translateY(0) scale(1);
}

.search-loader {
    position: relative;

    width: 85px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 30px;
}

.search-loader-ring {
    position: absolute;

    inset: 0;

    border: 1px solid rgba(119, 242, 161, 0.22);

    border-top-color: var(--mlf-green);

    border-radius: 50%;

    box-shadow: 0 0 25px rgba(119, 242, 161, 0.15);

    animation: mlfLoaderSpin 1.2s linear infinite;
}

.search-loader-icon {
    color: var(--mlf-green);

    font-size: 1.45rem;

    text-shadow: 0 0 20px var(--mlf-green);

    animation: mlfPulse 1.5s ease-in-out infinite;
}

.search-loading-eyebrow {
    display: block;

    margin-bottom: 11px;

    color: var(--mlf-green);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.search-loading-title {
    margin-bottom: 12px;

    color: var(--mlf-white);

    font-family: Georgia, serif;

    font-size: 2rem;
    font-weight: 400;
}

.search-loading-description {
    margin-bottom: 28px;

    color: #aaa79f;

    font-size: 0.9rem;

    line-height: 1.7;
}

.search-loading-progress {
    height: 3px;

    overflow: hidden;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.08);
}

.search-loading-progress-bar {
    width: 36%;
    height: 100%;

    border-radius: inherit;

    background: var(--mlf-green);

    box-shadow: 0 0 14px var(--mlf-green);

    animation: mlfSearchProgress 1.5s ease-in-out infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mlf-footer {
    position: relative;

    overflow: hidden;

    padding: 80px 0 28px;

    background: var(--mlf-black);

    color: var(--mlf-white);
}

/*
|--------------------------------------------------------------------------
| Luz ambiental
|--------------------------------------------------------------------------
*/

.mlf-footer::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    left: -230px;
    bottom: -320px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0.06;

    filter: blur(100px);

    pointer-events: none;
}

.mlf-footer .container {
    position: relative;

    z-index: 2;
}

/* ==========================================================================
   LOGO FOOTER
   ========================================================================== */

.mlf-footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 35px;

    color: var(--mlf-white);

    text-decoration: none;
}

.mlf-footer-logo:hover {
    color: var(--mlf-white);
}

.mlf-footer-logo-icon {
    width: 41px;
    height: 41px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--mlf-green);

    transition:
        transform var(--mlf-transition),
        filter var(--mlf-transition);
}

.mlf-footer-logo-icon svg {
    width: 35px;
    height: 35px;
}

.mlf-footer-logo:hover .mlf-footer-logo-icon {
    transform: translateY(-3px);

    filter: drop-shadow(0 0 10px rgba(119, 242, 161, 0.55));
}

.mlf-footer-logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.mlf-footer-logo-text strong {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.28rem;

    font-weight: 500;
}

.mlf-footer-logo-text small {
    margin-top: 5px;

    color: #77746d;

    font-size: 0.58rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

/* ==========================================================================
   SLOGAN
   ========================================================================== */

.mlf-footer-slogan {
    max-width: 500px;

    margin: 0 0 22px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2rem, 4vw, 3.25rem);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.04em;
}

.mlf-footer-slogan span {
    display: block;

    color: #858178;

    font-style: italic;
}

.mlf-footer-text {
    max-width: 480px;

    margin: 0;

    color: #8e8a82;

    font-size: 0.88rem;

    line-height: 1.8;
}

/* ==========================================================================
   TÍTULOS
   ========================================================================== */

.mlf-footer-heading {
    display: block;

    margin-bottom: 23px;

    color: #77736b;

    font-size: 0.67rem;

    font-weight: 750;

    letter-spacing: 0.19em;

    text-transform: uppercase;
}

/* ==========================================================================
   PROYECTOS ALIADOS
   ========================================================================== */

.mlf-allied-projects {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.mlf-allied-project {
    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 10px 13px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.025);

    color: #bbb7ae;

    font-size: 0.83rem;

    text-decoration: none;

    transition:
        background var(--mlf-transition),
        border-color var(--mlf-transition),
        color var(--mlf-transition),
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.mlf-allied-project:hover {
    border-color: rgba(119, 242, 161, 0.23);

    background: rgba(119, 242, 161, 0.055);

    color: var(--mlf-white);

    transform: translateX(4px);

    box-shadow: 0 0 20px rgba(119, 242, 161, 0.04);
}

.mlf-allied-icon {
    width: 25px;

    height: 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: var(--mlf-green);

    font-size: 0.75rem;
}

.mlf-allied-arrow {
    margin-left: auto;

    color: #69665f;

    font-size: 0.82rem;

    transition:
        color var(--mlf-transition),
        transform var(--mlf-transition);
}

.mlf-allied-project:hover .mlf-allied-arrow {
    color: var(--mlf-green);

    transform: translate(2px, -2px);
}

/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */

.mlf-footer-social-text {
    max-width: 230px;

    margin-bottom: 23px;

    color: #817e77;

    font-size: 0.82rem;

    line-height: 1.7;
}

.mlf-footer-socials {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.mlf-footer-social-link {
    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.03);

    color: #98948b;

    text-decoration: none;
}

.mlf-footer-social-link svg {
    width: 17px;

    height: 17px;
}

.mlf-footer-social-link:hover {
    border-color: var(--mlf-green);

    background: var(--mlf-green);

    color: var(--mlf-black);

    transform: translateY(-4px);

    box-shadow: 0 0 24px rgba(119, 242, 161, 0.2);
}

/* ==========================================================================
   FOOTER INFERIOR
   ========================================================================== */

.mlf-footer-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-top: 70px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #67645e;

    font-size: 0.72rem;
}

.mlf-footer-bottom-message {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.mlf-footer-dot {
    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 9px var(--mlf-green);
}

/* ==========================================================================
   FOOTER RESPONSIVE
   ========================================================================== */

@media (max-width: 767.98px) {
    .mlf-footer {
        padding: 65px 0 25px;
    }

    .mlf-footer-logo {
        margin-bottom: 27px;
    }

    .mlf-footer-slogan {
        font-size: 2.2rem;
    }

    .mlf-footer-bottom {
        margin-top: 50px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   COMPATIBILIDAD CON VISTAS EXISTENTES
   ========================================================================== */

.book-card {

    overflow: hidden;

    border:
        1px solid var(--mlf-border);

    border-radius:
        24px;

    background:
        var(--mlf-white);

    box-shadow:
        0 10px 28px rgba(20, 19, 16, 0.04);

    transition:
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition),
        border-color var(--mlf-transition);
}


.book-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(119, 242, 161, 0.22);

    box-shadow:
        0 20px 45px rgba(20, 19, 16, 0.08);
}


.book-card-cover-link {

    display: block;
}


.book-card-media {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    aspect-ratio: 2 / 3;

    padding: 18px;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            #f3f0e9,
            #ebe6dc);

    border-bottom:
        1px solid var(--mlf-border);
}


/*
|--------------------------------------------------------------------------
| Imagen
|--------------------------------------------------------------------------
*/

.book-card-image {

    position: relative;

    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition:
        transform 0.7s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter var(--mlf-transition);
}


.book-card:hover .book-card-image {

    transform: scale(1.04);

    filter:
        drop-shadow(0 13px 14px rgba(20, 19, 16, 0.14));
}


/*
|--------------------------------------------------------------------------
| Reflejo / Shine
|--------------------------------------------------------------------------
*/

.book-card-shine {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(115deg,
            transparent 25%,
            rgba(255, 255, 255, 0.28) 43%,
            transparent 61%);

    transform:
        translateX(-120%);

    transition:
        transform 0.9s ease;
}


.book-card:hover .book-card-shine {

    transform:
        translateX(120%);
}


/*
|--------------------------------------------------------------------------
| Glow verde sutil
|--------------------------------------------------------------------------
*/

.book-card-media::after {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0;

    filter:
        blur(55px);

    transition:
        opacity var(--mlf-transition);

    pointer-events: none;
}


.book-card:hover .book-card-media::after {

    opacity: 0.12;
}


.book-placeholder {

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color:
        #9a958c;

    background:
        linear-gradient(145deg,
            #e8e4dc,
            #f3f0e9);
}


.book-placeholder span {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.3rem;

    letter-spacing:
        0.12em;
}


.book-card .card-body {

    display: flex;
    flex-direction: column;

    padding: 20px;
}


.book-card .h6 {

    margin-bottom: 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.02rem;

    line-height:
        1.45;
}


.book-card .h6 a {

    color:
        var(--mlf-text);
}


.book-card .h6 a:hover {

    color:
        #57534c;
}


.book-card .small.text-muted {

    font-size:
        0.70rem;

    font-weight:
        700;

    letter-spacing:
        0.07em;

    text-transform:
        uppercase;

    color:
        #9b968d !important;
}


.book-card .mt-3 {

    margin-top: auto !important;

    padding-top: 14px;

    border-top:
        1px solid rgba(17, 17, 15, 0.08);
}


.book-card .fw-bold.fs-5 {

    color:
        #27884a;

    text-shadow:
        0 0 10px rgba(119, 242, 161, 0.28);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

    .book-card-media {

        padding: 16px;
    }

}


@media (max-width: 767.98px) {

    .book-card-media {

        padding: 14px;
    }


    .book-card .card-body {

        padding: 16px;
    }

}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */

@keyframes mlfLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes mlfPulse {

    0%,
    100% {
        transform: scale(0.88);

        opacity: 0.65;
    }

    50% {
        transform: scale(1.12);

        opacity: 1;
    }
}

@keyframes mlfSearchProgress {
    0% {
        transform: translateX(-150%);
    }

    50% {
        transform: translateX(160%);
    }

    100% {
        transform: translateX(360%);
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .mlf-navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        padding: 20px 0 10px;
    }

    .mlf-nav-link {
        padding: 11px 0 !important;
    }

    .mlf-nav-button {
        margin-top: 7px;

        display: inline-flex;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 75px 0 90px;
    }

    .hero-search {
        padding: 7px;

        border-radius: 20px;
    }

    .hero-search-icon {
        flex-basis: 46px;
    }

    .hero-search-input {
        padding: 15px 2px;
    }

    .hero-search-button {
        padding: 14px 18px;

        border-radius: 14px;
    }

    .hero-search-arrow {
        display: none;
    }

    .hero-trust {
        gap: 12px;

        flex-direction: column;

        align-items: center;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .premium-book-content {
        padding: 17px;
    }

    .premium-book-title {
        font-size: 0.98rem;

        min-height: auto;
    }

    .premium-price {
        font-size: 1.2rem;
    }

    .home-final-card {
        border-radius: 24px;
    }

    .mlf-footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }
}

/* ==========================================================================
   REDUCIR ANIMACIONES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   SEARCH PAGE
   ========================================================================== */

/* ==========================================================================
   CABECERA
   ========================================================================== */

.search-results-hero {
    position: relative;

    overflow: hidden;

    padding: 75px 0 70px;

    border-bottom: 1px solid var(--mlf-border);

    background: var(--mlf-cream);
}

.search-results-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    right: -160px;
    top: -260px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0.1;

    filter: blur(100px);

    pointer-events: none;
}

.search-results-header {
    position: relative;

    z-index: 2;

    margin-bottom: 38px;
}

.search-results-eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: #8c877d;

    font-size: 0.68rem;

    font-weight: 750;

    letter-spacing: 0.19em;

    text-transform: uppercase;
}

.search-results-title {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2.7rem, 6vw, 5rem);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.05em;
}

.search-results-title span {
    color: #77736b;

    font-style: italic;
}

.search-results-count {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    color: var(--mlf-muted);

    font-size: 0.85rem;
}

.search-results-count-dot {
    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 10px var(--mlf-green);
}

.search-isbn-badge {
    margin-left: 7px;

    padding: 5px 9px;

    border: 1px solid rgba(17, 17, 15, 0.1);

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.55);

    color: #77736b;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}

/* ==========================================================================
   BUSCADOR DE RESULTADOS
   ========================================================================== */

.search-page-form-wrapper {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.search-page-form-wrapper::before {
    content: "";

    position: absolute;

    inset: -3px;

    z-index: -1;

    border-radius: 24px;

    background: linear-gradient(90deg,
            transparent,
            rgba(119, 242, 161, 0.55),
            transparent);

    filter: blur(8px);

    opacity: 0;

    transition: opacity var(--mlf-transition);
}

.search-page-form-wrapper:focus-within::before {
    opacity: 1;
}

.search-page-form {
    display: flex;

    align-items: center;

    padding: 8px;

    border: 1px solid rgba(17, 17, 15, 0.12);

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: 0 18px 50px rgba(20, 19, 16, 0.08);

    transition:
        transform var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.search-page-form:focus-within {
    transform: translateY(-2px);

    border-color: rgba(119, 242, 161, 0.7);

    box-shadow:
        0 22px 65px rgba(20, 19, 16, 0.12),
        0 0 0 4px rgba(119, 242, 161, 0.07);
}

.search-page-icon {
    flex: 0 0 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #969188;
}

.search-page-icon svg {
    width: 21px;

    height: 21px;
}

.search-page-input {
    flex: 1;

    min-width: 0;

    padding: 16px 4px;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--mlf-text);

    font-size: 1rem;
}

.search-page-button {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 22px;

    border: 0;

    border-radius: 15px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-weight: 650;

    transition:
        transform var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.search-page-button:hover {
    background: #292925;

    transform: translateY(-1px);

    box-shadow: 0 10px 25px rgba(17, 17, 15, 0.18);
}

.search-page-button:disabled {
    opacity: 0.75;

    cursor: wait;
}

.search-page-button-arrow {
    transition: transform var(--mlf-transition);
}

.search-page-button:hover .search-page-button-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   ESTADO COMPARACIÓN
   ========================================================================== */

.search-status-section {
    padding: 35px 0 0;

    background: #fbfaf7;
}

.comparison-status-card {
    padding: 25px;

    border: 1px solid rgba(119, 242, 161, 0.2);

    border-radius: 20px;

    background: linear-gradient(120deg,
            rgba(119, 242, 161, 0.055),
            rgba(255, 255, 255, 0.78));
}

.comparison-status-header {
    display: flex;

    align-items: flex-start;

    gap: 17px;
}

.comparison-status-icon {
    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--mlf-green-soft);

    color: #27884a;

    font-weight: 800;

    box-shadow: 0 0 22px rgba(119, 242, 161, 0.12);
}

.comparison-status-icon-muted {
    background: rgba(17, 17, 15, 0.06);

    color: #77736b;

    box-shadow: none;
}

.comparison-status-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #27884a;

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.comparison-status-header h2 {
    margin: 0 0 6px;

    font-family: Georgia, serif;

    font-size: 1.35rem;

    font-weight: 500;
}

.comparison-status-header p {
    margin: 0;

    color: var(--mlf-muted);

    font-size: 0.83rem;

    line-height: 1.6;
}

/* ==========================================================================
   PROVEEDORES
   ========================================================================== */

.provider-status-list {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}

.provider-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border: 1px solid rgba(17, 17, 15, 0.08);

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.65);

    font-size: 0.72rem;
}

.provider-status-dot {
    width: 6px;

    height: 6px;

    border-radius: 50%;
}

.provider-status-success .provider-status-dot {
    background: var(--mlf-green);

    box-shadow: 0 0 8px var(--mlf-green);
}

.provider-status-error .provider-status-dot {
    background: #c86d67;
}

.provider-status-name {
    color: #4e4a44;

    font-weight: 650;
}

.provider-status-count {
    color: #918c83;
}

/* ==========================================================================
   LISTADO RESULTADOS
   ========================================================================== */

.search-books-section {
    padding: 70px 0 100px;

    background: #fbfaf7;
}

.search-books-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 35px;
}

.search-books-heading h2 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 400;

    letter-spacing: -0.035em;
}

.search-books-heading p {
    max-width: 380px;

    margin: 0;

    color: var(--mlf-muted);

    font-size: 0.85rem;

    line-height: 1.7;
}

.search-books-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* ==========================================================================
   RESULT CARD
   ========================================================================== */

.search-result-card {
    position: relative;

    display: grid;

    grid-template-columns:
        140px minmax(0, 1fr) 260px;

    gap: 30px;

    align-items: center;

    padding: 22px;

    overflow: hidden;

    border: 1px solid rgba(17, 17, 15, 0.08);

    border-radius: 24px;

    background: var(--mlf-white);

    box-shadow: 0 8px 30px rgba(20, 19, 16, 0.035);

    transition:
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition),
        border-color var(--mlf-transition);
}

.search-result-card::after {
    content: "";

    position: absolute;

    width: 200px;

    height: 200px;

    right: -120px;

    bottom: -150px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0;

    filter: blur(70px);

    transition: opacity var(--mlf-transition);
}

.search-result-card:hover {
    transform: translateY(-5px);

    border-color: rgba(119, 242, 161, 0.25);

    box-shadow: 0 25px 65px rgba(20, 19, 16, 0.1);
}

.search-result-card:hover::after {
    opacity: 0.08;
}

/* ==========================================================================
   PORTADA
   ========================================================================== */
.search-result-cover {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    width: 120px;

    aspect-ratio: 2 / 3;

    border-radius: 17px;

    background: #eeeae2;

    margin: 0 auto;
}

.search-result-cover img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

    transition:
        transform 0.65s cubic-bezier(0.22,
            1,
            0.36,
            1);
}

.search-result-card:hover .search-result-cover img {
    transform: scale(1.045);
}

.search-result-cover-shine {
    position: absolute;

    inset: 0;

    background: linear-gradient(115deg,
            transparent 25%,
            rgba(255, 255, 255, 0.22) 45%,
            transparent 63%);

    transform: translateX(-120%);

    transition: transform 0.85s ease;
}

.search-result-card:hover .search-result-cover-shine {
    transform: translateX(120%);
}

.search-result-placeholder {

    width:
        100%;

    height:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #9a958c;

    background:
        linear-gradient(145deg,
            #e8e4dc,
            #f3f0e9);
}

.search-result-placeholder span {
    font-family: Georgia, serif;

    font-size: 1.4rem;

    letter-spacing: 0.12em;
}

/* ==========================================================================
   INFORMACIÓN LIBRO
   ========================================================================== */

.search-result-info {
    min-width: 0;
}

.search-result-author {
    display: block;

    margin-bottom: 9px;

    color: #969188;

    font-size: 0.65rem;

    font-weight: 750;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.search-result-title {
    margin: 0 0 10px;

    font-family: Georgia, serif;

    font-size: clamp(1.35rem, 2vw, 1.75rem);

    font-weight: 500;

    line-height: 1.25;
}

.search-result-title a {
    color: var(--mlf-text);

    text-decoration: none;
}

.search-result-title a:hover {
    color: #57534c;
}

.search-result-subtitle {
    max-width: 600px;

    margin-bottom: 20px;

    color: var(--mlf-muted);

    font-size: 0.84rem;

    line-height: 1.6;
}

.search-result-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.search-result-meta>span {
    display: inline-flex;

    flex-direction: column;

    padding: 8px 11px;

    border: 1px solid var(--mlf-border);

    border-radius: 10px;

    color: #625e57;

    font-size: 0.73rem;
}

.search-result-meta small {
    margin-bottom: 2px;

    color: #a09b92;

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

/* ==========================================================================
   PRECIO
   ========================================================================== */

.search-result-price-column {
    position: relative;

    z-index: 2;

    padding-left: 28px;

    border-left: 1px solid var(--mlf-border);
}

.search-best-price-label {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color: #858077;

    font-size: 0.64rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.search-best-price-label>span {
    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 10px var(--mlf-green);
}

/*
|--------------------------------------------------------------------------
| PRECIO NEÓN
|--------------------------------------------------------------------------
*/

.search-best-price {
    color: #27884a;

    font-size: clamp(2.1rem, 4vw, 3rem);

    font-weight: 850;

    letter-spacing: -0.055em;

    line-height: 1;

    text-shadow: 0 0 13px rgba(119, 242, 161, 0.38);
}

.search-best-price small {
    font-size: 0.9rem;

    font-weight: 750;
}

.search-best-provider {
    margin-top: 8px;

    color: #928d84;

    font-size: 0.76rem;
}

.search-best-provider strong {
    color: #59554e;

    font-weight: 650;
}

.search-offer-count {
    margin: 13px 0 18px;

    color: #918c83;

    font-size: 0.72rem;
}

.search-compare-button {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    width: 100%;

    padding: 12px 16px;

    border-radius: 13px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-size: 0.78rem;

    font-weight: 700;

    text-decoration: none;
}

.search-compare-button span {
    transition: transform var(--mlf-transition);
}

.search-compare-button:hover {
    background: var(--mlf-green);

    color: var(--mlf-black);

    box-shadow: 0 0 25px rgba(119, 242, 161, 0.2);
}

.search-compare-button:hover span {
    transform: translateX(4px);
}

.search-no-offer-label {
    display: block;

    margin-bottom: 18px;

    color: #8c877e;

    font-size: 0.8rem;
}

.search-view-button {
    display: inline-flex;

    padding: 10px 15px;

    border: 1px solid var(--mlf-border);

    border-radius: 12px;

    color: var(--mlf-text);

    font-size: 0.78rem;

    font-weight: 650;

    text-decoration: none;
}

.search-view-button:hover {
    border-color: var(--mlf-black);

    background: var(--mlf-black);

    color: var(--mlf-white);
}

/* ==========================================================================
   SIN RESULTADOS
   ========================================================================== */

.search-empty-state {
    max-width: 680px;

    margin: 25px auto;

    padding: clamp(50px, 8vw, 80px);

    border: 1px solid var(--mlf-border);

    border-radius: 28px;

    background: var(--mlf-white);

    text-align: center;
}

.search-empty-icon {
    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    color: #27884a;

    background: var(--mlf-green-soft);

    border-radius: 50%;

    box-shadow: 0 0 26px rgba(119, 242, 161, 0.1);
}

.search-empty-icon svg {
    width: 31px;

    height: 31px;
}

.search-empty-state h2 {
    margin: 0 0 15px;

    font-family: Georgia, serif;

    font-size: clamp(2rem, 5vw, 3rem);

    font-weight: 400;
}

.search-empty-state p {
    max-width: 450px;

    margin: 0 auto 25px;

    color: var(--mlf-muted);

    line-height: 1.7;
}

.search-empty-button {
    padding: 11px 18px;

    border: 0;

    border-radius: 100px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-size: 0.78rem;

    font-weight: 700;
}

/* ==========================================================================
   PAGINACIÓN
   ========================================================================== */

.search-pagination {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}

.search-pagination .pagination {
    gap: 6px;
}

.search-pagination .page-link {
    min-width: 39px;

    min-height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--mlf-border);

    border-radius: 10px !important;

    background: var(--mlf-white);

    color: #5d5952;

    box-shadow: none !important;

    font-size: 0.78rem;
}

.search-pagination .page-link:hover {
    border-color: rgba(119, 242, 161, 0.55);

    background: var(--mlf-green-soft);

    color: #27884a;
}

.search-pagination .page-item.active .page-link {
    border-color: var(--mlf-black);

    background: var(--mlf-black);

    color: var(--mlf-white);
}

.search-pagination .page-item.disabled .page-link {
    opacity: 0.45;
}

/* ==========================================================================
   SEARCH RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .search-result-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .search-result-price-column {
        grid-column: 1 / -1;

        padding: 22px 0 0;

        border-left: 0;

        border-top: 1px solid var(--mlf-border);
    }

    .search-compare-button {
        width: auto;

        display: inline-flex;
    }
}

@media (max-width: 767.98px) {
    .search-results-hero {
        padding: 55px 0 55px;
    }

    .search-results-title {
        font-size: 2.7rem;
    }

    .search-page-form {
        border-radius: 18px;
    }

    .search-page-icon {
        flex-basis: 42px;
    }

    .search-page-button {
        padding: 13px 16px;

        border-radius: 13px;
    }

    .search-page-button-arrow {
        display: none;
    }

    .search-books-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .search-result-card {
        grid-template-columns: 95px minmax(0, 1fr);

        gap: 18px;

        padding: 16px;

        border-radius: 20px;
    }

    .search-result-meta {
        display: none;
    }

    .search-result-title {
        font-size: 1.15rem;
    }

    .search-result-subtitle {
        display: none;
    }

    .search-best-price {
        font-size: 2.1rem;
    }

    .comparison-status-card {
        padding: 20px;
    }

    .provider-status-list {
        flex-direction: column;

        align-items: stretch;
    }

    .provider-status {
        justify-content: flex-start;

        border-radius: 11px;
    }
}

@media (max-width: 480px) {
    .search-result-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .search-page-button .search-button-label {
        font-size: 0;
    }

    .search-page-button .search-button-label::after {
        content: "Ir";
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   BOOK DETAIL PAGE
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.book-detail-hero {
    position: relative;

    overflow: hidden;

    padding: clamp(70px, 8vw, 110px) 0;

    border-bottom: 1px solid var(--mlf-border);

    background: var(--mlf-cream);
}

.book-detail-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -260px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0.08;

    filter: blur(110px);

    pointer-events: none;
}

/* ==========================================================================
   PORTADA
   ========================================================================== */
.book-detail-cover-wrapper {
    width: 100%;
    max-width: 300px;

    margin: 0 auto;

    perspective: 1000px;
}

.book-detail-cover {
    position: relative;

    overflow: hidden;

    width: 100%;

    border-radius: 27px;

    background: #e9e5dc;

    box-shadow: 0 35px 90px rgba(20, 19, 16, 0.16);

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--mlf-transition);
}

.book-detail-cover:hover {
    transform: translateY(-7px) rotateY(-2deg);

    box-shadow: 0 45px 100px rgba(20, 19, 16, 0.2);
}

.book-detail-cover img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}

.book-detail-cover-placeholder {
    width: 100%;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(145deg, #e8e4dc, #f5f2eb);

    color: #9a958c;
}

.book-detail-cover-placeholder span {
    font-family: Georgia, serif;

    font-size: 2.5rem;

    letter-spacing: 0.14em;
}

.book-detail-cover-shine {
    position: absolute;

    inset: 0;

    background: linear-gradient(115deg,
            transparent 28%,
            rgba(255, 255, 255, 0.25) 45%,
            transparent 62%);

    transform: translateX(-130%);

    transition: transform 0.9s ease;
}

.book-detail-cover:hover .book-detail-cover-shine {
    transform: translateX(130%);
}

/* ==========================================================================
   INFORMACIÓN PRINCIPAL
   ========================================================================== */

.book-detail-content {
    max-width: 760px;
}

.book-detail-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 20px;

    color: #8b867e;

    font-size: 0.66rem;

    font-weight: 750;

    letter-spacing: 0.17em;
}

.book-detail-eyebrow>span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 10px var(--mlf-green);
}

.book-detail-title {
    margin: 0 0 17px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 3.6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.book-detail-subtitle {
    max-width: 650px;

    margin-bottom: 19px;

    color: var(--mlf-muted);

    font-size: 1.05rem;

    line-height: 1.65;
}

.book-detail-author {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 30px;

    color: #918c83;

    font-size: 0.88rem;
}

.book-detail-author strong {
    color: var(--mlf-text);

    font-family: Georgia, serif;

    font-size: 1.05rem;

    font-weight: 600;
}

/* ==========================================================================
   METADATOS
   ========================================================================== */

.book-detail-meta {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-bottom: 30px;
}

.book-meta-item {
    min-width: 0;

    padding: 12px 14px;

    border: 1px solid var(--mlf-border);

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.42);
}

.book-meta-item span {
    display: block;

    margin-bottom: 4px;

    color: #9b968e;

    font-size: 0.57rem;

    font-weight: 750;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

.book-meta-item strong {
    display: block;

    overflow: hidden;

    color: #57534c;

    font-size: 0.78rem;

    font-weight: 650;

    text-overflow: ellipsis;

    white-space: nowrap;
}

/* ==========================================================================
   MEJOR OFERTA DEL HERO
   ========================================================================== */

.book-best-offer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 25px;

    border: 1px solid rgba(119, 242, 161, 0.23);

    border-radius: 21px;

    background: linear-gradient(115deg,
            rgba(119, 242, 161, 0.08),
            rgba(255, 255, 255, 0.52));
}

.book-best-offer-label {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 5px;

    color: #777269;

    font-size: 0.61rem;

    font-weight: 750;

    letter-spacing: 0.1em;
}

.book-best-offer-label>span {
    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 10px var(--mlf-green);
}

.book-best-offer-price {
    color: #27884a;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1;
    text-shadow: 0 0 14px rgba(119, 242, 161, 0.38);
}

.book-best-offer-price small {
    font-size: 0.95rem;
}

.book-best-offer p {
    margin: 8px 0 0;

    color: #8d887f;

    font-size: 0.75rem;
}

.book-best-offer p strong {
    color: #555149;
}

.book-best-offer-action {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 11px 16px;

    border-radius: 100px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-size: 0.74rem;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

.book-best-offer-action:hover {
    background: var(--mlf-green);

    color: var(--mlf-black);

    box-shadow: 0 0 24px rgba(119, 242, 161, 0.2);
}

/* ==========================================================================
   OFERTAS
   ========================================================================== */

.book-offers-section {
    padding: clamp(75px, 8vw, 110px) 0;

    background: #fbfaf7;
}

.book-section-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 40px;
}

.book-section-heading h2 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(2.4rem, 5vw, 3.7rem);

    font-weight: 400;

    letter-spacing: -0.045em;
}

.book-section-heading>p {
    max-width: 410px;

    margin: 0;

    color: var(--mlf-muted);

    font-size: 0.83rem;

    line-height: 1.7;
}

/* ==========================================================================
   TABLA
   ========================================================================== */

.book-offers-table-wrapper {
    overflow: hidden;

    border: 1px solid var(--mlf-border);

    border-radius: 22px;

    background: var(--mlf-white);

    box-shadow: 0 15px 45px rgba(20, 19, 16, 0.045);
}

.book-offers-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;
}

.book-offers-table thead {
    background: #f5f2eb;
}

.book-offers-table th {
    padding: 17px 18px;

    border-bottom: 1px solid var(--mlf-border);

    color: #918c83;

    font-size: 0.61rem;

    font-weight: 750;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    white-space: nowrap;
}

.book-offers-table td {
    padding: 19px 18px;

    border-bottom: 1px solid rgba(17, 17, 15, 0.06);

    vertical-align: middle;

    color: #5a564f;

    font-size: 0.8rem;
}

.book-offers-table tbody tr {
    transition: background var(--mlf-transition);
}

.book-offers-table tbody tr:hover {
    background: rgba(119, 242, 161, 0.025);
}

.book-offers-table tbody tr:last-child td {
    border-bottom: 0;
}

/* ==========================================================================
   MEJOR FILA
   ========================================================================== */

.book-offer-best-row {
    background: linear-gradient(90deg, rgba(119, 242, 161, 0.07), transparent);
}

.book-offer-provider {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 7px;
}

.book-offer-provider strong {
    color: var(--mlf-text);

    font-family: Georgia, serif;

    font-size: 0.95rem;

    font-weight: 600;
}

.book-best-badge {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 4px 7px;

    border-radius: 100px;

    background: var(--mlf-green-soft);

    color: #27884a;

    font-size: 0.55rem;

    font-weight: 750;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}

.book-best-badge>span {
    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: var(--mlf-green);

    box-shadow: 0 0 8px var(--mlf-green);
}

/* ==========================================================================
   PRECIO
   ========================================================================== */

.book-offer-price {
    color: var(--mlf-text);

    font-size: 1.15rem;

    font-weight: 800;

    letter-spacing: -0.03em;

    white-space: nowrap;
}

.book-offer-price small {
    font-size: 0.65rem;
}

.book-offer-price-best {
    color: #27884a;

    font-size: 1.32rem;

    text-shadow: 0 0 11px rgba(119, 242, 161, 0.32);
}

.book-old-price {
    color: #a19c94;

    font-size: 0.75rem;
}

/* ==========================================================================
   DISPONIBILIDAD
   ========================================================================== */

.book-availability {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border-radius: 100px;

    font-size: 0.63rem;

    font-weight: 650;

    white-space: nowrap;
}

.book-availability>span {
    width: 5px;

    height: 5px;

    border-radius: 50%;
}

.book-availability.available {
    background: var(--mlf-green-soft);

    color: #27884a;
}

.book-availability.available>span {
    background: var(--mlf-green);

    box-shadow: 0 0 7px var(--mlf-green);
}

.book-availability.unavailable {
    background: rgba(197, 93, 87, 0.1);

    color: #a9514c;
}

.book-availability.unavailable>span {
    background: #c45e58;
}

.book-availability.preorder {
    background: rgba(215, 164, 72, 0.12);

    color: #936d27;
}

.book-availability.preorder>span {
    background: #d7a448;
}

.book-availability.unknown {
    background: rgba(17, 17, 15, 0.06);

    color: #77736b;
}

.book-availability.unknown>span {
    background: #979188;
}

.book-shipping,
.book-updated-at {
    color: #8d887f;

    font-size: 0.7rem;

    white-space: nowrap;
}

.book-table-muted {
    color: #aaa59c;
}

/* ==========================================================================
   BOTÓN OFERTA
   ========================================================================== */

.book-offer-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    border-radius: 10px;

    background: var(--mlf-black);

    color: var(--mlf-white);

    font-size: 0.69rem;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

.book-offer-button:hover {
    background: var(--mlf-green);

    color: var(--mlf-black);

    transform: translateY(-2px);

    box-shadow: 0 0 20px rgba(119, 242, 161, 0.2);
}

.book-offer-disabled {
    display: inline-block;

    padding: 8px 11px;

    border-radius: 9px;

    background: #efede8;

    color: #9a958c;

    font-size: 0.68rem;
}

/* ==========================================================================
   SIN OFERTAS
   ========================================================================== */

.book-no-offers {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 24px;

    border: 1px solid var(--mlf-border);

    border-radius: 18px;

    background: var(--mlf-white);
}

.book-no-offers-icon {
    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(17, 17, 15, 0.06);

    color: #77736b;
}

.book-no-offers p {
    margin: 4px 0 0;

    color: var(--mlf-muted);

    font-size: 0.78rem;
}

/* ==========================================================================
   WHATSAPP / AYUDA
   ========================================================================== */

.book-help-card {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    margin-top: 35px;

    padding: clamp(30px, 5vw, 48px);

    border-radius: 25px;

    background: var(--mlf-black);

    color: var(--mlf-white);
}

.book-help-glow {
    position: absolute;

    width: 320px;

    height: 320px;

    right: -120px;

    bottom: -230px;

    border-radius: 50%;

    background: var(--mlf-green);

    opacity: 0.13;

    filter: blur(80px);

    pointer-events: none;
}

.book-help-content {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;

    gap: 23px;

    max-width: 720px;
}

.book-help-icon {
    width: 54px;

    height: 54px;

    flex: 0 0 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(119, 242, 161, 0.2);

    border-radius: 50%;

    background: rgba(119, 242, 161, 0.08);

    color: var(--mlf-green);

    box-shadow: 0 0 25px rgba(119, 242, 161, 0.08);
}

.book-help-icon svg {
    width: 25px;

    height: 25px;
}

.book-help-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: var(--mlf-green);

    font-size: 0.62rem;

    font-weight: 750;

    letter-spacing: 0.16em;
}

.book-help-content h2 {
    max-width: 620px;

    margin: 0 0 14px;

    font-family: Georgia, serif;

    font-size: clamp(1.8rem, 4vw, 2.7rem);

    font-weight: 400;

    line-height: 1.08;
}

.book-help-content h2 span {
    color: #918d85;

    font-style: italic;
}

.book-help-content p {
    max-width: 600px;

    margin: 0;

    color: #99958d;

    font-size: 0.83rem;

    line-height: 1.75;
}

.book-help-book {
    margin-top: 13px;

    color: #77746d;

    font-size: 0.7rem;
}

.book-help-book strong {
    color: #aaa69e;

    font-weight: 600;
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */

.book-whatsapp-button {
    position: relative;

    z-index: 2;

    min-width: 235px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    border-radius: 15px;

    background: var(--mlf-green);

    color: var(--mlf-black);

    text-decoration: none;

    box-shadow: 0 0 25px rgba(119, 242, 161, 0.12);
}

.book-whatsapp-button>svg {
    width: 25px;

    height: 25px;

    flex: 0 0 25px;
}

.book-whatsapp-button>span {
    display: flex;

    flex-direction: column;
}

.book-whatsapp-button strong {
    font-size: 0.75rem;

    font-weight: 750;
}

.book-whatsapp-button small {
    margin-top: 2px;

    color: rgba(17, 17, 15, 0.62);

    font-size: 0.63rem;
}

.book-whatsapp-arrow {
    margin-left: auto;

    display: block !important;

    font-size: 1.1rem;

    transition: transform var(--mlf-transition);
}

.book-whatsapp-button:hover {
    background: #8bf6ad;

    color: var(--mlf-black);

    transform: translateY(-3px);

    box-shadow: 0 0 34px rgba(119, 242, 161, 0.25);
}

.book-whatsapp-button:hover .book-whatsapp-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   DESCRIPCIÓN
   ========================================================================== */

.book-description-section {
    padding: clamp(80px, 9vw, 130px) 0;

    background: var(--mlf-cream);
}

.book-content-title {
    margin: 0 0 35px;

    font-family: Georgia, serif;

    font-size: clamp(2.4rem, 5vw, 4.2rem);

    font-weight: 400;

    letter-spacing: -0.045em;
}

.book-content-title span {
    color: #77736b;

    font-style: italic;
}

.book-description-content {
    color: #625e57;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.05rem, 2vw, 1.22rem);

    line-height: 1.9;
}

/* ==========================================================================
   IMAGEN 16:9
   ========================================================================== */

.book-wide-image-section {
    padding: 0 0 100px;

    background: var(--mlf-cream);
}

.book-wide-image {
    overflow: hidden;

    border-radius: 27px;

    box-shadow: 0 30px 80px rgba(20, 19, 16, 0.1);
}

.book-wide-image img {
    display: block;

    width: 100%;
}

/* ==========================================================================
   CONTENIDO MLF
   ========================================================================== */

.book-mlf-content-section {
    padding: 0 0 100px;

    background: var(--mlf-cream);
}

.book-mlf-content-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    padding: clamp(38px, 6vw, 65px);

    border: 1px solid var(--mlf-border);

    border-radius: 27px;

    background: var(--mlf-white);
}

.book-mlf-content-card h2 {
    margin: 0 0 14px;

    font-family: Georgia, serif;

    font-size: clamp(2rem, 4vw, 3.2rem);

    font-weight: 400;

    line-height: 1.05;
}

.book-mlf-content-card h2 span {
    color: #77736b;

    font-style: italic;
}

.book-mlf-content-card p {
    max-width: 520px;

    margin: 0;

    color: var(--mlf-muted);

    font-size: 0.82rem;

    line-height: 1.7;
}

.book-mlf-links {
    min-width: 220px;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.book-mlf-primary-link,
.book-mlf-secondary-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 11px 14px;

    border-radius: 11px;

    font-size: 0.75rem;

    font-weight: 650;

    text-decoration: none;
}

.book-mlf-primary-link {
    background: var(--mlf-black);

    color: var(--mlf-white);
}

.book-mlf-primary-link:hover {
    background: var(--mlf-green);

    color: var(--mlf-black);
}

.book-mlf-secondary-link {
    border: 1px solid var(--mlf-border);

    color: #58544d;
}

.book-mlf-secondary-link:hover {
    border-color: var(--mlf-black);

    background: var(--mlf-black);

    color: var(--mlf-white);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .book-detail-cover-wrapper {
        max-width: 280px;
    }

    .book-detail-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .book-help-card {
        flex-direction: column;

        align-items: stretch;
    }

    .book-whatsapp-button {
        align-self: flex-start;
    }

    .book-mlf-content-card {
        flex-direction: column;

        align-items: stretch;
    }

    .book-mlf-links {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .book-detail-hero {
        padding: 55px 0 70px;
    }

    .book-detail-title {
        font-size: 3rem;
    }

    .book-detail-meta {
        grid-template-columns: 1fr 1fr;
    }

    .book-best-offer {
        flex-direction: column;

        align-items: flex-start;
    }

    .book-section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .book-help-content {
        flex-direction: column;
    }

    .book-whatsapp-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .book-detail-meta {
        grid-template-columns: 1fr;
    }

    .book-meta-item strong {
        white-space: normal;
    }
}

/* ==========================================================================
   AUTH - LOGIN / REGISTER
   ========================================================================== */

.auth-section {

    position: relative;

    overflow: hidden;

    min-height: calc(100vh - 112px);

    display: flex;

    align-items: center;

    padding:
        clamp(65px, 8vw, 110px) 0;

    background:
        var(--mlf-cream);
}


/* ==========================================================================
   GLOWS
   ========================================================================== */

.auth-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(110px);
}


.auth-glow-one {

    width: 450px;
    height: 450px;

    left: -250px;
    top: -200px;

    background:
        var(--mlf-green);

    opacity: 0.08;
}


.auth-glow-two {

    width: 380px;
    height: 380px;

    right: -180px;
    bottom: -230px;

    background:
        #d8e3ce;

    opacity: 0.25;
}



/* ==========================================================================
   CONTENEDOR
   ========================================================================== */

.auth-wrapper {

    position: relative;

    z-index: 2;

    max-width: 1080px;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        0.92fr 1.08fr;

    margin:
        0 auto;

    overflow: hidden;

    border:
        1px solid var(--mlf-border);

    border-radius:
        30px;

    background:
        var(--mlf-white);

    box-shadow:
        0 35px 100px rgba(20, 19, 16, 0.10);
}



/* ==========================================================================
   PANEL EDITORIAL
   ========================================================================== */

.auth-editorial {

    position: relative;

    overflow: hidden;

    padding:
        clamp(40px,
            5vw,
            62px);

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);
}


.auth-editorial::after {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -180px;
    bottom: -200px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.16;

    filter:
        blur(85px);

    pointer-events:
        none;
}


.auth-editorial-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;
}



/* ==========================================================================
   MARCA
   ========================================================================== */

.auth-brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    align-self: flex-start;

    color:
        var(--mlf-white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.05rem;

    text-decoration:
        none;
}


.auth-brand:hover {

    color:
        var(--mlf-white);
}


.auth-brand-icon {

    width: 31px;
    height: 31px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color:
        var(--mlf-green);
}


.auth-brand-icon svg {

    width: 28px;
    height: 28px;
}



/* ==========================================================================
   CONTENIDO EDITORIAL
   ========================================================================== */

.auth-editorial-main {

    margin:
        auto 0;

    padding:
        60px 0;
}


.auth-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom:
        20px;

    color:
        #8e8a82;

    font-size:
        0.62rem;

    font-weight:
        750;

    letter-spacing:
        0.17em;
}


.auth-eyebrow>span {

    width: 6px;
    height: 6px;

    border-radius:
        50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 10px var(--mlf-green);
}


.auth-editorial h2 {

    max-width:
        430px;

    margin:
        0 0 24px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.8rem,
            5vw,
            4.4rem);

    font-weight:
        400;

    line-height:
        0.98;

    letter-spacing:
        -0.05em;
}


.auth-editorial h2 span {

    display:
        block;

    color:
        #8e8a82;

    font-style:
        italic;
}


.auth-editorial-main>p {

    max-width:
        430px;

    margin-bottom:
        32px;

    color:
        #97938b;

    font-size:
        0.84rem;

    line-height:
        1.8;
}



/* ==========================================================================
   BENEFICIOS
   ========================================================================== */

.auth-features {

    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;
}


.auth-features>div {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    color:
        #aaa69e;

    font-size:
        0.75rem;
}


.auth-features>div>span {

    width: 20px;
    height: 20px;

    flex:
        0 0 20px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(119, 242, 161, 0.10);

    color:
        var(--mlf-green);

    font-size:
        0.60rem;

    box-shadow:
        0 0 14px rgba(119, 242, 161, 0.07);
}



/* ==========================================================================
   PIE PANEL IZQUIERDO
   ========================================================================== */

.auth-editorial-bottom {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    color:
        #67645e;

    font-size:
        0.61rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}


.auth-editorial-bottom>span {

    width:
        5px;

    height:
        5px;

    border-radius:
        50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 8px var(--mlf-green);
}



/* ==========================================================================
   PANEL FORMULARIO
   ========================================================================== */

.auth-form-panel {

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        clamp(40px,
            6vw,
            75px);
}


.auth-form-content {

    width: 100%;

    max-width:
        430px;
}


.auth-title {

    margin:
        0 0 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.5rem,
            5vw,
            3.7rem);

    font-weight:
        400;

    letter-spacing:
        -0.045em;
}


.auth-description {

    margin-bottom:
        36px;

    color:
        var(--mlf-muted);

    font-size:
        0.83rem;

    line-height:
        1.7;
}



/* ==========================================================================
   FORMULARIO
   ========================================================================== */

.auth-form {

    display: flex;

    flex-direction: column;

    gap:
        21px;
}


.auth-field {

    position: relative;
}


.auth-label {

    display: block;

    margin-bottom:
        8px;

    color:
        #555149;

    font-size:
        0.68rem;

    font-weight:
        700;

    letter-spacing:
        0.06em;
}



/* ==========================================================================
   INPUTS
   ========================================================================== */

.auth-input-wrapper {

    display: flex;

    align-items: center;

    min-height:
        55px;

    border:
        1px solid rgba(17, 17, 15, 0.12);

    border-radius:
        14px;

    background:
        #fbfaf7;

    transition:
        border-color var(--mlf-transition),
        background var(--mlf-transition),
        box-shadow var(--mlf-transition),
        transform var(--mlf-transition);
}


.auth-input-wrapper:focus-within {

    border-color:
        rgba(119, 242, 161, 0.80);

    background:
        var(--mlf-white);

    box-shadow:
        0 0 0 4px rgba(119, 242, 161, 0.08),
        0 8px 28px rgba(20, 19, 16, 0.05);

    transform:
        translateY(-1px);
}


.auth-input-error {

    border-color:
        rgba(190, 78, 71, 0.55);
}


.auth-input-icon {

    width:
        50px;

    flex:
        0 0 50px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #aaa59c;
}


.auth-input-icon svg {

    width:
        18px;

    height:
        18px;
}


.auth-input {

    flex: 1;

    min-width: 0;

    padding:
        16px 15px 16px 0;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        var(--mlf-text);

    font-size:
        0.88rem;
}


.auth-input::placeholder {

    color:
        #aaa69e;
}



/* ==========================================================================
   ERROR
   ========================================================================== */

.auth-error-message {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    margin-top:
        7px;

    color:
        #a44e49;

    font-size:
        0.67rem;
}


.auth-error-message>span {

    width:
        16px;

    height:
        16px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(190, 78, 71, 0.10);

    font-size:
        0.55rem;

    font-weight:
        800;
}



/* ==========================================================================
   CHECKBOX
   ========================================================================== */

.auth-options {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    margin-top:
        -3px;
}


.auth-check {

    position:
        relative;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        9px;

    cursor:
        pointer;

    color:
        #77736b;

    font-size:
        0.73rem;
}


.auth-check input {

    position:
        absolute;

    opacity:
        0;

    pointer-events:
        none;
}


.auth-check-box {

    width:
        18px;

    height:
        18px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(17, 17, 15, 0.18);

    border-radius:
        5px;

    background:
        var(--mlf-white);

    transition:
        background var(--mlf-transition),
        border-color var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.auth-check input:checked+.auth-check-box {

    border-color:
        var(--mlf-green);

    background:
        var(--mlf-green);

    box-shadow:
        0 0 13px rgba(119, 242, 161, 0.20);
}


.auth-check input:checked+.auth-check-box::after {

    content:
        "✓";

    color:
        var(--mlf-black);

    font-size:
        0.65rem;

    font-weight:
        800;
}



/* ==========================================================================
   BOTÓN LOGIN
   ========================================================================== */

.auth-submit {

    width: 100%;

    min-height:
        55px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        13px 18px;

    border:
        0;

    border-radius:
        14px;

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);

    font-size:
        0.79rem;

    font-weight:
        700;

    transition:
        background var(--mlf-transition),
        color var(--mlf-transition),
        transform var(--mlf-transition),
        box-shadow var(--mlf-transition);
}


.auth-submit:hover {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        translateY(-2px);

    box-shadow:
        0 0 28px rgba(119, 242, 161, 0.22);
}


.auth-submit-arrow {

    font-size:
        1.1rem;

    transition:
        transform var(--mlf-transition);
}


.auth-submit:hover .auth-submit-arrow {

    transform:
        translateX(4px);
}



/* ==========================================================================
   CREAR CUENTA
   ========================================================================== */

.auth-switch {

    margin-top:
        30px;

    padding-top:
        25px;

    border-top:
        1px solid var(--mlf-border);

    text-align:
        center;
}


.auth-switch>span {

    color:
        #928d84;

    font-size:
        0.72rem;
}


.auth-switch a {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        5px;

    margin-left:
        5px;

    color:
        #27884a;

    font-size:
        0.72rem;

    font-weight:
        700;

    text-decoration:
        none;
}


.auth-switch a:hover {

    color:
        var(--mlf-black);
}



/* ==========================================================================
   SEGURIDAD
   ========================================================================== */

.auth-security {

    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        6px;

    margin-top:
        23px;

    color:
        #a09b93;

    font-size:
        0.61rem;
}


.auth-security>span {

    color:
        #27884a;
}



/* ==========================================================================
   AUTH RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {

    .auth-wrapper {

        max-width:
            680px;

        grid-template-columns:
            1fr;
    }


    .auth-editorial {

        min-height:
            340px;
    }


    .auth-editorial-main {

        padding:
            45px 0;
    }


    .auth-editorial h2 {

        max-width:
            500px;

        font-size:
            3rem;
    }


    .auth-features {

        display:
            none;
    }

}



@media (max-width: 767.98px) {

    .auth-section {

        padding:
            35px 0 60px;
    }


    .auth-wrapper {

        border-radius:
            22px;
    }


    .auth-editorial {

        min-height:
            auto;

        padding:
            35px 28px;
    }


    .auth-editorial-main {

        padding:
            45px 0 25px;
    }


    .auth-editorial h2 {

        font-size:
            2.6rem;
    }


    .auth-editorial-main>p {

        margin-bottom:
            0;
    }


    .auth-editorial-bottom {

        display:
            none;
    }


    .auth-form-panel {

        padding:
            45px 28px;
    }


    .auth-title {

        font-size:
            2.6rem;
    }

}

/* ==========================================================================
   ERROR PAGES
   ========================================================================== */

.error-page {

    position: relative;

    overflow: hidden;

    min-height: 680px;

    display: flex;
    align-items: center;

    padding:
        clamp(80px, 10vw, 140px) 0;

    background:
        var(--mlf-cream);
}



/* ==========================================================================
   GLOWS
   ========================================================================== */

.error-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(110px);
}


.error-glow-one {

    width: 450px;
    height: 450px;

    left: -250px;
    top: -220px;

    background:
        var(--mlf-green);

    opacity: 0.10;
}


.error-glow-two {

    width: 420px;
    height: 420px;

    right: -230px;
    bottom: -250px;

    background:
        #d5e1cb;

    opacity: 0.28;
}



/* ==========================================================================
   CONTENIDO
   ========================================================================== */

.error-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin:
        0 auto;

    text-align: center;
}



/* ==========================================================================
   NÚMERO GIGANTE
   ========================================================================== */

.error-number {

    position: absolute;

    top: 45%;
    left: 50%;

    z-index: -1;

    transform:
        translate(-50%, -50%);

    color:
        rgba(17, 17, 15, 0.035);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(11rem,
            28vw,
            23rem);

    font-weight: 700;

    line-height: 1;

    letter-spacing:
        -0.08em;

    user-select: none;
}



/* ==========================================================================
   LIBRO
   ========================================================================== */

.error-book {

    position: relative;

    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 30px;

    color:
        #27884a;

    animation:
        mlfErrorFloat 4s ease-in-out infinite;
}


.error-book svg {

    position: relative;

    z-index: 2;

    width: 64px;
    height: 64px;

    filter:
        drop-shadow(0 10px 12px rgba(20, 19, 16, 0.10));
}


.error-book-glow {

    position: absolute;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.18;

    filter:
        blur(25px);

    animation:
        mlfErrorGlow 2.8s ease-in-out infinite;
}



/* ==========================================================================
   TEXTO
   ========================================================================== */

.error-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color:
        #88837a;

    font-size:
        0.64rem;

    font-weight:
        750;

    letter-spacing:
        0.18em;
}


.error-eyebrow>span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 11px var(--mlf-green);
}


.error-title {

    max-width: 730px;

    margin:
        0 auto 24px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.8rem,
            6vw,
            5.3rem);

    font-weight:
        400;

    line-height:
        1;

    letter-spacing:
        -0.055em;

    animation:
        mlfErrorAppear 0.7s cubic-bezier(0.22,
            1,
            0.36,
            1) both;
}


.error-title span {

    display: block;

    color:
        #77736b;

    font-style:
        italic;
}


.error-description {

    max-width: 570px;

    margin:
        0 auto 35px;

    color:
        var(--mlf-muted);

    font-size:
        0.9rem;

    line-height:
        1.8;
}



/* ==========================================================================
   BOTONES
   ========================================================================== */

.error-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}


.error-primary-button,
.error-secondary-button {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding:
        12px 19px;

    border-radius:
        100px;

    font-size:
        0.76rem;

    font-weight:
        700;

    text-decoration:
        none;
}


.error-primary-button {

    background:
        var(--mlf-black);

    color:
        var(--mlf-white);
}


.error-primary-button span {

    transition:
        transform var(--mlf-transition);
}


.error-primary-button:hover {

    background:
        var(--mlf-green);

    color:
        var(--mlf-black);

    transform:
        translateY(-2px);

    box-shadow:
        0 0 26px rgba(119, 242, 161, 0.22);
}


.error-primary-button:hover span {

    transform:
        translateX(4px);
}


.error-secondary-button {

    border:
        1px solid var(--mlf-border);

    background:
        rgba(255, 255, 255, 0.48);

    color:
        #5c5851;
}


.error-secondary-button:hover {

    border-color:
        rgba(17, 17, 15, 0.22);

    background:
        var(--mlf-white);

    color:
        var(--mlf-black);

    transform:
        translateY(-2px);
}



/* ==========================================================================
   MENSAJE INFERIOR
   ========================================================================== */

.error-footer-message {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top:
        45px;

    color:
        #aaa59c;

    font-size:
        0.61rem;

    font-weight:
        700;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;
}


.error-footer-message>span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 8px var(--mlf-green);
}



/* ==========================================================================
   ANIMACIONES ERRORES
   ========================================================================== */

@keyframes mlfErrorFloat {

    0%,
    100% {

        transform:
            translateY(0) rotate(-2deg);
    }


    50% {

        transform:
            translateY(-12px) rotate(2deg);
    }

}


@keyframes mlfErrorGlow {

    0%,
    100% {

        opacity: 0.10;

        transform:
            scale(0.85);
    }


    50% {

        opacity: 0.24;

        transform:
            scale(1.12);
    }

}


@keyframes mlfErrorAppear {

    from {

        opacity: 0;

        transform:
            translateY(20px) scale(0.98);
    }


    to {

        opacity: 1;

        transform:
            translateY(0) scale(1);
    }

}



/* ==========================================================================
   ERROR RESPONSIVE
   ========================================================================== */

@media (max-width: 767.98px) {

    .error-page {

        min-height:
            600px;

        padding:
            70px 0;
    }


    .error-number {

        font-size:
            12rem;
    }


    .error-book {

        margin-bottom:
            22px;
    }


    .error-title {

        font-size:
            3rem;
    }


    .error-description {

        padding:
            0 12px;
    }


    .error-actions {

        flex-direction:
            column;
    }


    .error-primary-button,
    .error-secondary-button {

        width:
            min(100%,
                280px);
    }

}


/* ==========================================================================
   FOOTER - ENLACES INSTITUCIONALES
   ========================================================================== */

.mlf-footer-links {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}


.mlf-footer-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #918d85;
    font-size: 0.78rem;
    text-decoration: none;

    transition:
        color var(--mlf-transition),
        transform var(--mlf-transition);
}


.mlf-footer-link::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #54514b;
    transition:
        background var(--mlf-transition),
        box-shadow var(--mlf-transition);
}

.mlf-footer-link:hover {
    color: var(--mlf-white);
    transform: translateX(3px);
}

.mlf-footer-link:hover::before {
    background: var(--mlf-green);
    box-shadow:
        0 0 8px var(--mlf-green);
}

/* ==========================================================================
   PÁGINAS INSTITUCIONALES / LEGALES
   ========================================================================== */

.legal-hero {

    position: relative;

    overflow: hidden;

    padding:
        clamp(85px, 10vw, 135px) 0 clamp(70px, 8vw, 105px);

    border-bottom:
        1px solid var(--mlf-border);

    background:
        var(--mlf-cream);
}


.legal-hero-glow {

    position: absolute;

    width: 480px;
    height: 480px;

    right: -210px;
    top: -290px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    opacity: 0.09;

    filter:
        blur(105px);

    pointer-events:
        none;
}


.legal-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;
}


.legal-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: #8a857c;

    font-size: 0.65rem;

    font-weight: 750;

    letter-spacing: 0.18em;
}


.legal-eyebrow>span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 10px var(--mlf-green);
}


.legal-hero h1 {

    max-width: 850px;

    margin: 0 0 26px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(3.2rem, 7vw, 6.4rem);

    font-weight: 400;

    line-height: 0.97;

    letter-spacing: -0.055em;
}


.legal-hero h1 span {

    display: block;

    color: #79756d;

    font-style: italic;
}


.legal-hero p {

    max-width: 650px;

    margin: 0;

    color:
        var(--mlf-muted);

    font-size: 1rem;

    line-height: 1.8;
}


/* CONTENIDO */

.legal-content-section {

    padding:
        clamp(75px, 9vw, 125px) 0;

    background:
        #fbfaf7;
}


.legal-layout {

    display: grid;

    grid-template-columns:
        220px minmax(0, 760px);

    justify-content:
        space-between;

    gap: 80px;
}


/* SIDEBAR */

.legal-sidebar {

    position: sticky;

    top: 155px;

    align-self: start;
}


.legal-sidebar>span {

    display: block;

    margin-bottom: 18px;

    color: #aaa59d;

    font-size: 0.58rem;

    font-weight: 750;

    letter-spacing: 0.16em;
}


.legal-sidebar nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding-left: 15px;

    border-left:
        1px solid var(--mlf-border);
}


.legal-sidebar a {

    padding: 7px 0;

    color: #817c74;

    font-size: 0.74rem;

    text-decoration: none;
}


.legal-sidebar a:hover {

    color: #27884a;

    transform: translateX(3px);
}


/* ARTÍCULO */

.legal-article>section {

    padding-bottom: 60px;

    margin-bottom: 60px;

    border-bottom:
        1px solid var(--mlf-border);

    scroll-margin-top: 150px;
}


.legal-section-number {

    display: block;

    margin-bottom: 10px;

    color: #27884a;

    font-size: 0.61rem;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.legal-article h2 {

    margin: 0 0 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2rem, 4vw, 3rem);

    font-weight: 400;

    letter-spacing: -0.04em;
}


.legal-article p {

    color: #625e57;

    font-size: 0.92rem;

    line-height: 1.9;
}


.legal-article p+p {

    margin-top: 18px;
}


/* CARACTERÍSTICAS */

.legal-feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin: 30px 0;
}


.legal-feature {

    padding: 23px;

    border:
        1px solid var(--mlf-border);

    border-radius: 17px;

    background:
        var(--mlf-white);
}


.legal-feature>strong {

    color: #27884a;

    font-size: 0.61rem;

    letter-spacing: 0.08em;
}


.legal-feature h3 {

    margin: 16px 0 9px;

    font-family: Georgia, serif;

    font-size: 1.25rem;

    font-weight: 500;
}


.legal-feature p {

    margin: 0;

    color: #8b867e;

    font-size: 0.75rem;

    line-height: 1.7;
}


/* PROYECTOS */

.legal-projects {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 28px;
}


.legal-project-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 20px;

    border:
        1px solid var(--mlf-border);

    border-radius: 16px;

    background:
        var(--mlf-white);

    color:
        var(--mlf-text);

    text-decoration: none;
}


.legal-project-card:hover {

    border-color:
        rgba(119, 242, 161, 0.35);

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 35px rgba(20, 19, 16, 0.06);
}


.legal-project-card div>span {

    display: block;

    margin-bottom: 6px;

    color: #27884a;

    font-size: 0.55rem;

    font-weight: 750;

    letter-spacing: 0.12em;
}


.legal-project-card strong {

    font-family: Georgia, serif;

    font-size: 1.1rem;

    font-weight: 600;
}


.legal-project-card p {

    margin: 5px 0 0;

    color: #928d85;

    font-size: 0.72rem;

    line-height: 1.6;
}


.legal-project-card>span {

    color: #8b867e;

    font-size: 1.1rem;
}


/* DESTACADO */

.legal-highlight {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 30px;

    padding: 23px;

    border:
        1px solid rgba(119, 242, 161, 0.22);

    border-radius: 17px;

    background:
        var(--mlf-green-soft);
}


.legal-highlight>span {

    color: #27884a;
}


.legal-highlight p {

    margin: 0;

    color: #5b574f;
}


/* CIERRE */

.legal-closing {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #99948b;

    font-size: 0.69rem;
}


.legal-closing>span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--mlf-green);

    box-shadow:
        0 0 8px var(--mlf-green);
}


/* RESPONSIVE */

@media (max-width: 991.98px) {

    .legal-layout {
        grid-template-columns:
            1fr;
        gap: 45px;
    }


    .legal-sidebar {
        position: static;
    }


    .legal-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 7px;
        padding: 0;
        border: 0;
    }


    .legal-sidebar a {
        padding:
            7px 11px;
        border:
            1px solid var(--mlf-border);
        border-radius:
            100px;
        background:
            var(--mlf-white);
    }

}


@media (max-width: 767.98px) {
    .legal-hero {
        padding:
            65px 0;
    }


    .legal-hero h1 {
        font-size:
            3.1rem;
    }


    .legal-feature-grid {
        grid-template-columns:
            1fr;
    }

    .legal-article>section {
        margin-bottom:
            45px;
        padding-bottom:
            45px;
    }

}
