/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/

/* ========================================
   Barra di ricerca centrata Home page
======================================== */

/* Wrapper centrato */
.listeo-minimal-search-form-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    background: transparent;
    padding: 0 10px;
}

/* Barra principale inline */
.listeo-minimal-search-form-wrapper .main-search-input {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    align-items: center;
    justify-content: center;
    overflow-x: visible !important; /* rimuove scroll orizzontale */
}

/* Singoli campi */
.listeo-minimal-search-form-wrapper .main-search-input-item {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Input e select arrotondati */
.listeo-minimal-search-form-wrapper input,
.listeo-minimal-search-form-wrapper .btn.dropdown-toggle {
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: rgba(255,255,255,0.95) !important;
    color: #111 !important;
    padding: 0 14px !important;
    font-size: 15px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

/* Focus input/select */
.listeo-minimal-search-form-wrapper input:focus,
.listeo-minimal-search-form-wrapper .btn.dropdown-toggle:focus {
    border-color: #ff005a !important;
    box-shadow: 0 0 0 3px rgba(255,0,90,0.12);
    outline: none;
}

/* Placeholder */
.listeo-minimal-search-form-wrapper input::placeholder {
    color: #999;
}

/* Bottone Search */
.listeo-minimal-search-form-wrapper button.button {
    height: 46px;
    padding: 0 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff005a, #ff7a00);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255,0,90,0.35);
    transition: all 0.25s ease;
}

.listeo-minimal-search-form-wrapper button.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255,0,90,0.45);
}

/* Icona location */
.listeo-minimal-search-form-wrapper .fa-map-marker {
    color: #ff005a;
}

/* Dropdown trasparente */
.listeo-minimal-search-form-wrapper .dropdown-menu {
    background: rgba(0,0,0,0.6) !important; /* semi-trasparente */
    backdrop-filter: blur(5px);
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    position: absolute !important;
    z-index: 9999 !important;

    max-height: none !important;      /* tutte le voci visibili */
    overflow-y: visible !important;   /* niente scrollbar verticale */
}

/* Voci leggibili */
.listeo-minimal-search-form-wrapper .dropdown-menu li a {
    color: #fff !important;
    font-weight: 500;
}

/* Hover voci */
.listeo-minimal-search-form-wrapper .dropdown-menu li a:hover,
.listeo-minimal-search-form-wrapper .dropdown-menu li.selected a {
    background: rgba(255,0,90,0.25) !important;
    color: #fff !important;
}

/* Campo ricerca dentro la select (live search) */
.listeo-minimal-search-form-wrapper .bs-searchbox input {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    height: 36px !important;
}

/* Nasconde il campo ricerca interno nella select */
.listeo-minimal-search-form-wrapper .bootstrap-select .bs-searchbox {
    display: none !important;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .listeo-minimal-search-form-wrapper .main-search-input {
        flex-direction: column;
        gap: 10px;
    }

    .listeo-minimal-search-form-wrapper .main-search-input-item,
    .listeo-minimal-search-form-wrapper button.button {
        width: 100%;
    }

    .listeo-minimal-search-form-wrapper input,
    .listeo-minimal-search-form-wrapper .btn.dropdown-toggle {
        height: 48px;
        font-size: 15px;
    }

    .listeo-minimal-search-form-wrapper button.button {
        height: 44px;
        padding: 0 24px;
        font-size: 14px;
    }
}








