/**
 * 2025 ALCALINK E-COMMERCE & SEO, S.L.L.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * @author ALCALINK E-COMMERCE & SEO, S.L.L. <info@alcalink.com>
 * @copyright  2025 ALCALINK E-COMMERCE & SEO, S.L.L.
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *
 * Registered Trademark & Property of ALCALINK E-COMMERCE & SEO, S.L.L.
 */
#alcapopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.alcapopupContent {
    background: #fff;
    border-radius: 8px;
    width: 80%;
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: alcapopupFadeIn 0.3s ease-in-out;
}

.alcapopupCloseBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

#alcapopup.alcapopupHidden {
    display: none;
}

@keyframes alcapopupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.alcapopupImgPos {
    display: flex;
    width: 100%;
    height: 100%;
}

.alcapopupImg {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.alcapopupImg img {
    width: auto;
    height: 100%;
    max-width: 100%;
}

.alcapopupImgPos_top,
.alcapopupImgPos_bottom {
    flex-direction: column;
}

.alcapopupImgPos_top .alcapopupImg {
    height: 50%;
    order: 0;
}

.alcapopupImgPos_top .alcapopupTxt {
    height: 50%;
    padding-top: 15px;
    order: 1;
}

.alcapopupImgPos_bottom .alcapopupImg {
    height: 50%;
    order: 1;
}

.alcapopupImgPos_bottom .alcapopupTxt {
    height: 50%;
    order: 0;
}

.alcapopupImgPos_left .alcapopupImg {
    order: 0;
    width: 50%;
}

.alcapopupImgPos_left .alcapopupTxt {
    order: 1;
    width: 50%;
}

.alcapopupImgPos_right .alcapopupImg {
    order: 1;
    width: 50%;
}

.alcapopupImgPos_right .alcapopupTxt {
    order: 0;
    width: 50%;
}

@media (max-width: 767px) {
    .alcapopupImgPos_left,
    .alcapopupImgPos_right {
        flex-direction: column;
    }

    .alcapopupImgPos_left .alcapopupImg,
    .alcapopupImgPos_left .alcapopupTxt,
    .alcapopupImgPos_right .alcapopupImg,
    .alcapopupImgPos_right .alcapopupTxt {
        width: 100%;
        height: 50%;
    }

    .alcapopupImgPos_left .alcapopupTxt {
        padding-top: 15px;
    }
}