/* =========================================
   ESTILOS Y ANIMACIONES: SECCIÓN EL PODER
   ========================================= */

.elpoder-section {
    position: relative;
    width: 100%;
}

.elpoder-section.is-completed {
    height: auto !important;
}

.elpoder-pinned-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
    will-change: transform;
}

.elpoder-section.is-completed .elpoder-pinned-container {
    position: relative !important;
    top: auto !important;
}

/* 1. Fondo Oscuro */
.elpoder-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cubre todo el alto del container */
    background-color: #000;
    opacity: 0;
    z-index: 1;
    will-change: opacity;
}

/* 2. Manos */
.elpoder-hands-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.elpoder-mano-arriba {
    position: absolute;
    top: 0;
    right: 0;
    width: 35vw;
    max-width: 380px;
    will-change: transform;
    opacity: 1;
}

.elpoder-mano-abajo {
    position: absolute;
    width: 45vw;
    max-width: 500px;
    will-change: transform, opacity;
    opacity: 1;
    z-index: 5;
    transition: opacity 1s ease;
}

/* 3. Contenido (Header y Textos) */
.elpoder-content-overlay {
    position: relative;
    /* Flujo natural */
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    padding-bottom: 20vh;
    /* Espacio para la mano final */
}

/* Header */
.elpoder-header {
    position: absolute;
    top: 40vh;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    will-change: transform, opacity;
    width: 100%;
    max-width: 500px;
}

.elpoder-ornamento-top {
    width: 88px;
    height: auto;
    margin-bottom: 20px;
}

.elpoder-title {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4vw;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0;
}

.elpoder-ornamento-bottom {
    width: 130px;
    height: auto;
    margin-top: 20px;
}

/* Textos: Ubicados debajo del primer viewport (100vh) */
.elpoder-text-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 77vh;
    /* Mucho más cerca, aunque solape la primera vista vacía */
    margin-bottom: 80px;
}

.elpoder-text-content p {
    color: #f0f0f0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Buy Block Placeholder */
.elpoder-buy-block {
    position: relative;
    margin: 80px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centrado vertical */
    gap: 40px;
    /* Separación entre portada y botones */
    max-width: 600px;
}

/* Animaciones Nativas para texto y buy block */
.js-reveal-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.js-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries para Responsive */
@media (max-width: 900px) {
    .elpoder-text-content {
        padding: 0 40px;

    }

    .elpoder-title {
        font-size: 6vw;
    }
}

@media (max-width: 480px) {
    .elpoder-text-content {
        padding: 0 30px;
        margin-top: 75vh;
        margin-bottom: 0;
    }

    .elpoder-title {
        font-size: 8vw;
    }

    .elpoder-mano-arriba {
        width: 50vw;
        max-width: 250px;
    }

    .elpoder-mano-abajo {
        width: 60vw;
        max-width: 300px;
    }

    .elpoder-header {
        top: 50vh;
        max-width: 150px;
    }

    .elpoder-buy-block {
        flex-direction: column;
        gap: 20px;
    }
}

/* PRODUCT BOX */

.elpoder-buy-block .litestore-product {
    background: none;
    border: none;
    box-shadow: none;
}

.elpoder-buy-block .elpoder-cover-only,
.elpoder-buy-block .elpoder-buy-only {
    flex-basis: 50%;
    width: 100%;
    /* Para mobile */
}

/* Alineación interna de botones */
.elpoder-buy-block .elpoder-buy-only .litestore-product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elpoder-buy-block .elpoder-buy-only .litestore-product-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.elpoder-buy-block .elpoder-buy-only .litestore-product {
    transition: none;
}

.elpoder-buy-block .elpoder-buy-only .litestore-product:hover {
    transform: none;
}

.elpoder-buy-block .elpoder-cover-only .litestore-product-content {
    display: none;
}

.elpoder-buy-block .elpoder-buy-only .litestore-product-image {
    display: none;
}

.elpoder-cover-only .litestore-product-image {
    box-shadow: 0 0px 100px rgb(255 255 255 / 20%);
    background: transparent;
}

.elpoder-section .elpoder-buy-block .elpoder-buy-only .litestore-product .litestore-product-buttons .litestore-buy-button {
    background: #fff;
    color: #222;
}

.elpoder-section .elpoder-buy-block .elpoder-buy-only .litestore-product .litestore-product-buttons .litestore-cart-button {
    background: transparent;
    border: #ffffff 1px solid;
    color: #ffffff;
}

@media (max-width: 480px) {
    .elpoder-buy-block {
        width: 80%;
    }

    .elpoder-buy-block .elpoder-cover-only {
        justify-items: center;
    }

    .elpoder-buy-block .elpoder-cover-only .litestore-product {
        width: 70%;
    }
}