/* =============================================
   RECOMAPS — PUBLIC CSS
   ============================================= */

/* Contenedor del mapa */
.recomaps-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Elemento del mapa */
.recomaps-map {
    width: 100%;
    display: block;
}

/* ---- Buscador frontal ---- */
.rcm-front-search {
    margin-bottom: 8px;
}
.rcm-front-search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;
    background: #fff !important;
    color: #333 !important;
    font-style: normal !important;
}

/* ---- Panel de información ---- */
.rcm-info-panel {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 380px;
    z-index: 1000;
    display: none;
}
.rcm-info-inner {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    position: relative;
}
.rcm-info-close {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    background: none !important;
    border: none !important;
    font-size: 22px !important;
    cursor: pointer !important;
    color: #888 !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.rcm-info-close:hover { color: #333 !important; }

/* ---- Leaflet: forzar que los controles de zoom se vean ---- */
/* Sin esto el CSS del tema puede poner color blanco sobre fondo blanco */
.leaflet-bar a,
.leaflet-bar a:hover {
    background-color: #fff !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 26px !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    text-align: center !important;
    text-decoration: none !important;
    border-bottom: 1px solid #ccc !important;
    font-style: normal !important;
}
.leaflet-bar a:hover {
    background-color: #f4f4f4 !important;
}
.leaflet-bar a:last-child {
    border-bottom: none !important;
    border-radius: 0 0 4px 4px !important;
}
.leaflet-bar a:first-child {
    border-radius: 4px 4px 0 0 !important;
}
.leaflet-bar {
    box-shadow: 0 1px 5px rgba(0,0,0,0.4) !important;
    border-radius: 4px !important;
    border: none !important;
    background: none !important;
}
.leaflet-touch .leaflet-bar a {
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
}

/* ---- Estrellas en infobox ---- */
.rcm-ib-rating {
    display: block !important;
    margin: 4px 0 6px !important;
    line-height: 0 !important;
}
.rcm-ib-rating img {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 1px !important;
}

/* ---- Badges de categoría ---- */
.rcm-ib-cats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    list-style: none !important;
}
