.elementor-5263 .elementor-element.elementor-element-ed16930{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5263 .elementor-element.elementor-element-622fd5b{--display:flex;}@media(max-width:767px){.elementor-5263 .elementor-element.elementor-element-622fd5b{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-e91c0c4 *//* Wrapper general */
.visual-search-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f8f8f8;
    font-family: 'Segoe UI', sans-serif;
}

/* Formulario */
.visual-search-form {
    margin: 0 !important;
    padding: 0 !important;
}

.visual-search-form .input-group {
    margin: 0;
    padding: 0;
}

.visual-search-form input[type="text"] {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin: 0 !important;
    display: block;
}

.visual-search-form input[type="text"]:focus {
    border-color: #2d89ef;
    outline: none;
    box-shadow: 0 0 0 2px rgba(45,137,239,0.2);
}

/* Galería con columnas variables y radios controlables */
.user-gallery-pinterest {
    column-count: var(--columns, 3);
    column-gap: 5px;
    margin: 0 !important;
    padding: 0 !important;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 5px;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: var(--image-radius, 10px);
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Botón de eliminación */
.delete-form {
    margin-top: 0rem;
    text-align: right;
}

.delete-button {
    background: #ff4d4d;
    border: none;
    color: white;
    padding: 0.2rem 0.3rem;
    border-radius: 100%;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.2s;
}

.delete-button:hover {
    background: #e60000;
}

/* Mensaje si no hay resultados */
.no-results {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .user-gallery-pinterest {
        column-count: 2 !important;
    }
}

@media (max-width: 480px) {
    .user-gallery-pinterest {
        column-count: 2 !important;
    }

    .visual-search-form input[type="text"] {
        font-size: 1rem;
        padding: 12px 16px;
    }
}/* End custom CSS */