* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* #pop-up-typ {
    position: fixed;
    width: 50%;
    top: 40vh;
    left: 25%;
    z-index: 8;
    height: auto;
    background-color: #fff;
    font-size: 16px;
    border-radius: 6px;
    display: none;
}

#pop-up-typ.typ-popup---active {
    display: flex;
    flex-direction: column;
}

#pop-up-typ header {
    display: flex;
    padding: 1rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
} */


/* ------------ Vodafone common styles  ------------ */

.vf-light {
    font-family: 'VodafoneLight', Arial, sans-serif;
}

.vf-regular {
    font-family: 'VodafoneRegular', Arial, sans-serif;
}

.vf-bold {
    font-family: 'VodafoneBold', Arial, sans-serif;
    font-weight: 100;
}

.vf-exbd {
    font-family: 'VodafoneExbd', Arial, sans-serif;
    font-weight: 100;
}


/* ------------- LAYER ------------- */

.wrapper-thank-u-page {
    display: block;
    overflow: auto;
    padding: 16px;
    /* height: 100dvh; */
}

.layer-prepaid-block {
    width: 100%;
    background: #ffffff;
}


/* close */

.layer-prepaid-close {
    position: absolute !important;
    z-index: 9999 !important;
    top: 13.33px;
    right: 17.33px;
    width: 17.33px;
    height: 17.33px;
    background-image: url(../img/layer-icon-close-black.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.layer-prepaid-close:hover,
.layer-prepaid-close:active,
.layer-prepaid-close:visited {
    color: #FFF;
    background-image: url(../img/layer-icon-close-black.png);
    z-index: 9999;
    position: absolute;
}


/* layer-header */

header:has(.layer-header) {
    background: #F2F2F2;
}

header:has(.layer-header) .product-info__close {
    background: #F2F2F2;
}

.layer-header {
    background: #F2F2F2;
    background-size: cover;
    text-align: center;
    font-family: 'Vodafonelight', Arial, sans-serif;
    border-radius: 15px 15px 0 0;
    flex: 1;
}

.layer-header__title {
    font-family: 'VodafoneRegular', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0D0D0D;
    text-align: center;
}

.layer-timetable {
    padding: 10px;
    text-align: center;
}

.layer-timetable__title {
    font-family: 'VodafoneRegular', arial, sans-serif;
    font-weight: 100;
    color: #333;
    font-weight: 700;
    text-wrap: balance;
    font-size: 18px;
}

.layer-timetable__title span {
    line-height: 34px;
}

.layer-content__text {
    font-family: 'VodafoneRegular', Arial, sans-serif;
    font-size: 18px;
    color: #333;
    width: 100%;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}

.item-block {
    display: block;
    font-family: 'VodafoneRegular', Arial, sans-serif;
    font-weight: 400;
}

.item-block.vf-bold {
    font-family: 'VodafoneBold', Arial, sans-serif
}

.item-inline {
    display: inline-block;
    vertical-align: top;
}

.box-wmtext {
    background-image: linear-gradient(45deg, #820000 0%, #E60000 100%);
    width: 100%;
    border-radius: 6px;
}

.box-wmtext-black {
    background-color: black;
    width: 100%;
    border-radius: 6px;
}

.box-wmtext_text {
    font-weight: 400;
    font-size: 18px;
    /* Tamaño base para móviles */
    color: #FFFFFF;
    font-family: 'VodafoneRegular';
    line-height: 28px;
    padding-bottom: 16px;
}

.box-wmtext_title {
    font-family: 'VodafoneRegular';
    color: #FFFFFF;
    font-size: 20px;
    /* Tamaño base para móviles */
    line-height: 25px;
}

.box-wmtext_bottom {
    padding-bottom: 16px;
}

.spacewm_line {
    display: block;
    margin: auto;
    width: 80%;
    border-bottom: solid 1px black;
}

.box-container-left {
    text-align: left;
    padding: 20px;
    display: grid;
    align-items: center;
    justify-items: start;
}

.box-container-lef p {
    line-height: 12px;
}

.box-container-right {
    display: none;
}

.black__text {
    color: black;
}

.container-plan {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.box-wmbtn {
    display: inline-block;
    cursor: pointer;
    background-color: whitesmoke;
    text-decoration: none;
    width: 100%;
    height: 44px;
    border: solid 2px white;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: white;
    font-family: VodafoneRegular, Arial, sans-serif;
}

.box-wmbtn-black {
    display: inline-block;
    cursor: pointer;
    background-color: whitesmoke;
    text-decoration: none;
    width: 100%;
    height: 44px;
    border: solid 2px white;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: white;
    font-family: VodafoneRegular, Arial, sans-serif;
}

.product-info#popup-info-overlay:has(.wrapper-thank-u-page) {
    height: auto;
    top: 10vh;
}


/* MEDIA QUERY DISPOSTIVOS MAYORES DE 576px */

@media (min-width: 576px) {
    .layer-header__title {
        display: grid;
        place-items: center;
        height: auto;
        font-size: 40px;
    }
    .layer-content__text {
        font-size: 20px;
    }
    .layer-timetable__title {
        font-size: 20px;
    }
    .box-wmtext {
        display: flex;
        flex-direction: row;
    }
    .box-wmtext-black {
        display: flex;
        flex-direction: row;
    }
    .box-container-right {
        padding: 20px;
        display: block;
        display: grid;
        place-items: center;
    }
    .box-container-right img {
        width: 100%;
        max-width: 200px;
    }
    .box-wmbtn {
        background-color: whitesmoke;
        color: black;
        width: 120px;
        height: 48px;
    }
    .box-wmbtn-black {
        background-color: whitesmoke;
        color: black;
        width: 152px;
        height: 48px;
    }
    .container-plan {
        flex-direction: row;
        gap: 10px;
    }
}

@media screen and (min-width:768px) {
    .layer-header__title {
        height: auto;
    }
    .container_text {
        padding: 20px;
    }
    .spacewm_line {
        padding-top: 20px;
    }
    #popup-info-overlay:has(.product-info__container.error-lead) {
        top: 10vh;
        width: 90%;
        left: 5%;
    }
    #popup-info-overlay:has(.wrapper-thank-u-page) {
        top: 20vh;
    }
}