.im-fav-btn.is-fav svg {
    stroke: red;
}

.uk-notification-message {
    text-align: center;
    font-size: 16px;
}

/* sidebar */
.im-region-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.im-region-row .im-checkbox-row {
    flex: 1;
}

.im-region-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 16px;
    line-height: 1;
}

.im-comunas-list {
    display: none;
    padding-left: 24px;
    margin-top: 8px;
}

.im-region-item.is-open .im-comunas-list {
    display: block;
}

.im-region-item.is-open .im-region-toggle span {
    display: inline-block;
    transform: rotate(180deg);
}

/* Sidebar 2 */
/* Botón filtros mobile */
.im-mobile-filter-btn {
    display: none;
    width: fit-content;
    padding: 6px 14px;
    background: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 10px;
    white-space: nowrap;
}

.im-close-filter-btn {
    display: none;
    width: 100%;
    padding: 10px;
    background: #f8f8f8;
    border: none;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .im-mobile-filter-btn {
        display: inline-block;
    }

    #im-sidebar-wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        padding: 20px;
        overflow-y: auto;
    }

    #im-sidebar-wrapper.is-open {
        display: block;
    }

    .im-close-filter-btn {
        display: block;
    }
}

@media (min-width: 769px) {
    #im-sidebar-wrapper {
        display: block;
        position: static;
        height: auto;
        overflow: visible;
        padding: 0;
    }

    .im-mobile-filter-btn,
    .im-close-filter-btn {
        display: none;
    }
}

/* estilo noticia interna boton guardar */
.im-sidebar-action.active {
    color: #16a34a;
}

.im-sidebar-action.just-saved {
    transform: scale(1.03);
}

/* Woocomerce messages */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    text-align: center;
    justify-content: center;
}

.woocommerce-message li,
.woocommerce-error li,
.woocommerce-info li {
    text-align: center;
}

/* Compartir contenido */
.im-share-dropdown {
    min-width: 180px;
}

.im-share-dropdown a {
    font-size: 14px;
}

/* Guardar propiedad fill */

.im-fav-icon {
    fill: none;
    transition: fill .2s ease;
}

.im-sidebar-action.active .im-fav-icon {
    fill: currentColor;
}

/* Ocultar badge reCAPTCHA v3 */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.im-gestion {
    background-color: #102b4a;
    background-image:
        linear-gradient(to right,
            #102b4a 0%,
            #102b4a 38%,
            rgba(16, 43, 74, 0.88) 50%,
            rgba(16, 43, 74, 0.35) 62%,
            rgba(16, 43, 74, 0) 78%),
        var(--gestion-bg);

    background-repeat: no-repeat;
    background-position: center center, right center;
    background-size: cover, auto 100%;

    color: #fff;
    overflow: hidden;
}

@media (max-width: 960px) {
    .im-gestion {
        background-image:
            linear-gradient(to bottom,
                #102b4a 0%,
                #102b4a 48%,
                rgba(16, 43, 74, 0.85) 62%,
                rgba(16, 43, 74, 0.15) 82%,
                rgba(16, 43, 74, 0) 100%),
            var(--gestion-bg);

        background-position: center top, center bottom;
        background-size: cover, 100% auto;
        padding-bottom: 260px;
    }
}