.page_content_wrap { padding-top: 20px !important; }

#cm-montadores-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
}

#cm-montadores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

#cm-montadores-header h1 {
    color: #53a654;
    font-size: 2rem;
    margin: 0;
}

.cm-btn-alta {
    background: #c19d60;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: background 0.2s;
    cursor: pointer;
}
.cm-btn-alta:hover { background: #a07d40; }

#cm-montadores-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

#cm-montadores-filtros {
    width: 220px;
    flex-shrink: 0;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
}

.cm-filter-block { margin-bottom: 12px; }

.cm-filter-label {
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
}

.cm-filter-items {
    display: none;
    padding-top: 6px;
}
.cm-filter-items.open { display: block; }
.cm-filter-items label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    padding: 3px 0;
    cursor: pointer;
}

#cm-btn-reset {
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    background: #e5e5e5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}
#cm-btn-reset:hover { background: #d0d0d0; }

#cm-montadores-content {
    flex: 1;
    min-width: 0;
}

#cm-montadores-map {
    height: 420px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}

#cm-montadores-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cm-montador-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cm-montador-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

.cm-card-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cm-card-logo img { width: 52px; height: 52px; object-fit: contain; }
.cm-card-logo--empty {
    background: #f0f0f0;
    border-radius: 6px;
}

.cm-card-info h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: #222;
}
.cm-card-info p {
    margin: 2px 0;
    font-size: 0.82rem;
    color: #555;
}
.cm-card-info a { color: #147791; }

.cm-montador-tipo {
    display: inline-block;
    background: #e8f4ec;
    color: #3a7a3b;
    border-radius: 4px;
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-bottom: 6px;
    font-weight: 600;
}

.cm-no-results {
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

.cm-marker { width: 16px !important; height: 16px !important; background: #c19d60 !important; border: 2px solid #fff !important; border-radius: 50% !important; box-shadow: 0 1px 4px rgba(0,0,0,0.4) !important; }

.cm-popup { min-width: 160px; font-size: 0.9rem; }
.cm-popup strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.cm-popup img { max-width: 100%; max-height: 60px; object-fit: contain; margin-bottom: 6px; display: block; }
.cm-popup span, .cm-popup a { display: block; margin-top: 4px; color: #555; font-size: 0.82rem; }
.cm-popup a { color: #147791; }
.cm-popup-type { color: #c19d60 !important; font-weight: 600; }

@media (max-width: 768px) {
    #cm-montadores-layout { flex-direction: column; }
    #cm-montadores-filtros { width: 100%; }
}
