/* Modal de cookies */
.cookie-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100%;
    max-width: 340px;
    height: auto;
    max-height: max-content;
    background: #000;
    color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-size: 12px;
    line-height: 1.4;
    z-index: 9999;
    display: none;
    animation: slideIn 0.3s ease-out;
    box-sizing: border-box;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-modal.closing {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cookie-modal-content {
    position: relative;
    padding-right: 0;
    text-align: center;
}

.cookie-modal-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f60743 !important;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 4px 4px 6px;
    line-height: 1;
    font-family: auto;
    transition: opacity 0.2s;
}

.cookie-modal-close:hover {
    opacity: 0.7;
}

.cookie-modal-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    font-family: 'Gilroy', Montserrat, sans-serif;
    font-weight: 500;
}


/* Botón aceptar */
.cookie-accept-btn {
    background: #f60743;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 10px;
    transition: background 0.3s;
        width: 100%;
}

.cookie-accept-btn:not(:hover):not(:active):not(.has-background){
    background-color: #f60743 !important;
    font-weight: bold;
}

.cookie-accept-btn:hover,
.cookie-accept-btn:active,
.cookie-accept-btn:focus{
    outline: none;
    box-shadow: none;
}

.cookie-accept-btn:hover {
    transition: background 0.3s;
    background: #fff !important;
    color: black;
}

/* Cajita con icono */
.cookie-toggle-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;

}
.cookie-toggle-box:hover {
    background: #222;
}



@media (max-width: 480px) {
    .cookie-modal {
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        left: 10px;
        width: auto;
    }
}