.basetis-cookie-wrapper {
    position: relative;
    max-width: 100%;
    height: 400px;
    aspect-ratio: 16 / 9; /* proporción estándar de vídeos */
    overflow: hidden;
}

.basetis-cookie-wrapper iframe {
 /*    width: 100%;
    height: 100%; */
    border: 0;
}

.basetis-cookiebot-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 500px;
    height: 400px;
    padding: 20px;
    background: #474747;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.basetis-cookiebot-overlay p {
    margin-bottom: 12px;
}

.basetis-allow-btn {
    padding: 10px 20px;
    background-color: #9839ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

 /* Per evitar que no se mostre el iframe en chrome */
 .cookieconsent-optin-preferences, .cookieconsent-optin-statistics, .cookieconsent-optin-marketing, .cookieconsent-optin
 {
     display: block !important;
 }

@media (max-width: 600px) {
    .basetis-cookiebot-overlay {
        width: 100%;
    }
    .basetis-cookie-wrapper iframe {
        height: inherit !important;    
    }
}