/* ==========================================================
   WP EU Cookies
   Banner v1.0
========================================================== */

#wpeuc-banner{

    display:none;

    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;
    z-index:999999;

    justify-content:center;

    font-family:inherit;
    animation:wpeucFade .35s ease;

}

.wpeuc-container{
 
    width:100%;
    max-width:720px;

    background:var(--wpeuc-bg,#ffffff);

    border-radius:18px;

   

    padding:28px;

    border:1px solid #ececec;

}

.wpeuc-container h3{

    margin:0 0 12px;

    font-size:22px;

    color:var(--wpeuc-text,#1f2937);

}

.wpeuc-container p{

    margin:0;

    color:var(--wpeuc-text,#5b6470);

    line-height:1.7;

    font-size:15px;

}

.wpeuc-buttons{

    display:flex;

    gap:12px;

    justify-content:flex-end;

    flex-wrap:wrap;

    margin-top:24px;

}

.wpeuc-btn{

    border:none;

    cursor:pointer;

    border-radius:10px;

    padding:12px 22px;

    font-size:14px;

    font-weight:600;

    transition:.25s;

}

.wpeuc-btn:hover{

    transform:translateY(-2px);

}

.wpeuc-btn.primary{

    background:var(--wpeuc-primary,#2e7d32);

    color:#fff;

}

.wpeuc-btn.primary:hover{

    background:#25682a;

}

.wpeuc-btn.secondary{

    background:var(--wpeuc-secondary,#FFF);

    color:var(--wpeuc-text,#374151);

}

.wpeuc-btn.secondary:hover{

    background:#e5e7eb;

}

@keyframes wpeucFade{

    from{

        opacity:0;
        transform:translateY(30px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}
@media (min-width: 768px) {
  .wpeuc-container {
    margin-left: 30%;
    margin-right: 0; /* Quita el centrado automático en PC */
    width: auto;     /* Reestablece el ancho si es necesario */
  }
}
@media(max-width:768px){

    #wpeuc-banner{

        left:12px;
        right:12px;
        bottom:12px;

    }

    .wpeuc-container{

        padding:22px;

    }

    .wpeuc-buttons{

        flex-direction:column;

    }

    .wpeuc-btn{

        width:100%;

    }

}


.wpeuc-policy-link{

    margin-top:16px;
    margin-bottom:0;

    font-size:14px;

}

.wpeuc-policy-link a{

    color:var(--wpeuc-primary,#2e7d32);

    text-decoration:none;

    font-weight:600;

}

.wpeuc-policy-link a:hover{

    text-decoration:underline;

}