:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.45);
    --accent-color: #38bdf8;
    --bg-sidebar: #0f172a;
    --bg-sidebar-soft: #1e293b;
    --bg-topbar: rgba(15, 23, 42, 0.96);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --radius: 12px;
    --topbar-h: 58px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
}

body.mapa-page {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: #0f172a;
}

/* ===== TOP BAR ===== */
.mapa-topbar {
    flex-shrink: 0;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    background: var(--bg-topbar);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    z-index: 120;
    backdrop-filter: blur(10px);
}

.topbar-brand {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-title {
    display: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

.topbar-icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    background: var(--bg-sidebar-soft);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.topbar-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--accent-color);
}
.topbar-list-btn {
    width: auto;
    min-width: 44px;
    height: 42px;
    padding: 0 12px;
    gap: 7px;
    font-weight: 700;
    font-size: 0.88rem;
}
.topbar-list-label { display: none; }

.topbar-tools {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-search-wrap {
    flex: 1;
    min-width: 120px;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
}
.topbar-search-wrap > i {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 0.85rem;
    pointer-events: none;
}
.topbar-search {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: var(--bg-sidebar-soft);
    color: var(--text-white);
    font-size: 0.88rem;
    outline: none;
}
.topbar-search::placeholder { color: #64748b; }
.topbar-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.topbar-filters-btn {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: var(--bg-sidebar-soft);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.topbar-filters-btn:hover,
.topbar-filters-btn[aria-expanded="true"],
.topbar-filters-btn.has-active-filter {
    border-color: var(--primary-color);
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
}

.filters-active-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 2px #0f172a;
}
.filters-active-dot[hidden] { display: none !important; }

/* ===== FILTERS POPUP ===== */
.mapa-filters-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
    animation: filtersFadeIn 0.2s ease;
}
.mapa-filters-overlay[hidden] {
    display: none !important;
}
@keyframes filtersFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mapa-filters-modal {
    width: min(560px, 100%);
    max-height: min(88vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #0b1220;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    animation: filtersModalIn 0.22s ease;
}
@keyframes filtersModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.filters-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    flex-shrink: 0;
}
.filters-modal-header h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filters-modal-header h2 i { color: var(--accent-color); }
.filters-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.filters-modal-close:hover { background: rgba(148, 163, 184, 0.28); color: #fff; }

.filters-modal-body {
    padding: 14px 16px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filters-modal-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: end;
}

.filter-field { min-width: 0; }
.filter-field-grow { min-width: 0; }

.filter-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: var(--bg-sidebar-soft);
    color: var(--text-white);
    font-size: 0.88rem;
    outline: none;
}
.filter-input::placeholder { color: #64748b; }
.filter-select:focus,
.filter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.filter-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.filter-row .filter-input { flex: 1; min-width: 0; }

.btn-filter-icon {
    width: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: var(--bg-sidebar-soft);
    color: var(--accent-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-filter-icon:hover {
    border-color: var(--primary-color);
    color: #fff;
}

/* Rubros como botones con ícono */
.rubros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 8px;
}
.rubro-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 78px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: var(--bg-sidebar-soft);
    color: #cbd5e1;
    cursor: pointer;
    text-align: center;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
    font-family: inherit;
}
.rubro-chip i {
    font-size: 1.25rem;
    color: var(--accent-color);
}
.rubro-chip span {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rubro-chip:hover {
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}
.rubro-chip.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px var(--primary-glow);
}
.rubro-chip.active i { color: #fff; }

/* FAB filtros: solo móvil */
.mapa-filter-fab {
    display: none;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.topbar-user-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    max-width: 140px;
    text-decoration: none;
    border-radius: 999px;
    padding: 5px 8px;
    border: 1px solid transparent;
    transition: border-color .15s, background .15s, color .15s;
}
.topbar-user-name:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: #fff;
}
.topbar-user-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar-user-label-mob { display: none; }
.topbar-user-name i { color: var(--accent-color); }

.topbar-logout-form { margin: 0; }
.topbar-text-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: transparent;
    color: #94a3b8;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.topbar-text-btn:hover { color: #fff; border-color: #fff; }

.topbar-cta-user,
.topbar-cta-empresa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.topbar-cta-user {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.topbar-cta-user:hover { background: rgba(59, 130, 246, 0.3); color: #fff; }
.topbar-cta-empresa {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.topbar-cta-empresa:hover { filter: brightness(1.08); }

.geo-row { margin: 0; }
.btn-geo {
    flex: 1;
    border: 1px solid rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-geo:hover { background: rgba(45, 212, 191, 0.22); color: #fff; }
.btn-geo.is-loading { opacity: 0.7; pointer-events: none; }

.btn-geo-clear {
    width: 40px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    border-radius: 10px;
    cursor: pointer;
}
.btn-geo-clear:hover { background: rgba(248, 113, 113, 0.25); color: #fff; }

.mapa-stats {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}
.ubicacion-activa {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.35;
}

/* ===== BODY: lista + mapa ===== */
.mapa-body {
    flex: 1;
    min-height: 0;
    display: flex;
    position: relative;
}

.mapa-sidebar {
    width: 320px;
    min-width: 280px;
    background: var(--bg-sidebar);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    z-index: 50;
    box-shadow: 8px 0 32px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.mapa-brand {
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    flex-shrink: 0;
    background: #0f172a;
}

.sidebar-head-mobile {
    display: none;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.mapa-brand-logo-wrap {
    display: block;
    text-decoration: none;
    background-color: #f1f5f9;
    background-image: var(--mapa-login-bg, none);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 14px;
    padding: 14px 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 12px;
}

.mapa-brand-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(241, 245, 249, 0.92);
    z-index: 0;
}

.mapa-brand-logo-wrap > * {
    position: relative;
    z-index: 1;
}

.mapa-logo {
    max-width: 170px;
    width: 100%;
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

.mapa-tagline {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
}

.tipo-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sidebar-search-wrap {
    display: none;
    position: relative;
    margin-top: 12px;
}
.sidebar-search-wrap > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}
.sidebar-search {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    background: #1e293b;
    color: #f8fafc;
    padding: 11px 12px 11px 36px;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
}
.sidebar-search::placeholder { color: #64748b; }
.sidebar-search:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.tipo-btn {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: var(--bg-sidebar-soft);
    color: var(--text-muted);
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tipo-btn:hover { color: #fff; border-color: var(--primary-color); }
.tipo-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px var(--primary-glow);
}

.sidebar-close {
    display: none;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    cursor: pointer;
}
.sidebar-close:hover { background: rgba(148, 163, 184, 0.28); }

.mapa-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 12px 16px;
    -webkit-overflow-scrolling: touch;
}

.mapa-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s;
    margin-bottom: 6px;
    background: rgba(30, 41, 59, 0.55);
}
.mapa-list-item:hover,
.mapa-list-item.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}
.mapa-list-item .item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.mapa-list-item .item-body { min-width: 0; flex: 1; }
.mapa-list-item .item-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mapa-list-item .item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.item-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 0.78rem;
}
.item-stars {
    color: #fbbf24;
    letter-spacing: 0.5px;
    font-size: 0.72rem;
}
.item-rating-num {
    color: #fde68a;
    font-weight: 800;
}
.item-rating-count {
    color: #94a3b8;
    font-size: 0.72rem;
}
.item-desc {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.item-zona {
    margin-top: 4px;
    font-size: 0.68rem;
    color: #64748b;
    opacity: 0.9;
}
.item-badge-online {
    color: #2dd4bf;
    font-weight: 700;
}
.item-dist {
    font-size: 0.7rem;
    color: #5eead4;
    font-weight: 700;
    margin-top: 3px;
}
.preview-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.85rem;
}
.preview-rating .item-stars { font-size: 0.85rem; color: #f59e0b; }
.preview-rating .item-rating-num { color: #0f172a; }
.preview-rating .item-rating-count { color: #64748b; }
.preview-desc {
    margin: 0 0 8px;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.45;
}
.mapa-list-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 12px;
    font-size: 0.9rem;
}

.mapa-sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
    flex-shrink: 0;
}
.mapa-sidebar-footer small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.mapa-main {
    flex: 1;
    position: relative;
    min-width: 0;
    z-index: 1;
}

.mapa-canvas {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mapa-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 90;
    border: none;
}
.mapa-backdrop[hidden] { display: none !important; }

/* Markers */
.mudi-marker { background: transparent; border: none; }
.mudi-marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mudi-marker-pin.servicio {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}
.mudi-cobertura-circle { cursor: pointer; }
.leaflet-interactive.mudi-cobertura-circle:hover { filter: brightness(1.05); }
.mudi-marker-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 0.85rem;
}
.mudi-marker-pin.active {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.75);
    border-color: #fbbf24;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}
.leaflet-popup-content {
    margin: 12px 14px;
    min-width: 260px;
    width: 300px;
}
.popup-title { font-weight: 800; color: #1e293b; font-size: 0.95rem; }
.popup-rubro { font-size: 0.75rem; color: #64748b; margin: 4px 0 8px; }
.popup-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.popup-actions a {
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
}
.popup-actions a.maps { background: #f1f5f9; color: #475569; }

/* Preview panel */
.preview-panel {
    position: fixed;
    right: 18px;
    top: calc(var(--topbar-h) + 14px);
    width: min(400px, calc(100vw - 36px));
    max-height: calc(100vh - var(--topbar-h) - 28px);
    max-height: calc(100dvh - var(--topbar-h) - 28px);
    overflow: auto;
    background: rgba(255,255,255,0.98);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
    z-index: 10000;
    padding: 16px;
    border: 1px solid #e2e8f0;
    animation: previewIn 0.25s ease;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}
.preview-panel[hidden] { display: none !important; }

@keyframes previewIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.preview-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: none;
    background: #f1f5f9;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    z-index: 2;
}
.preview-close:hover { background: #e2e8f0; color: #0f172a; }
.preview-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 36px;
    margin-bottom: 10px;
}
.preview-logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.preview-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}
.preview-logo[hidden] { display: none !important; }
.preview-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.25rem;
    background: #eff6ff;
}
.preview-logo-fallback[hidden] { display: none !important; }
.preview-header h3 {
    font-size: 1.05rem;
    color: #0f172a;
    word-break: break-word;
}
.preview-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 999px;
}
.preview-dir {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.4;
    opacity: 0.9;
}
.preview-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.preview-actions a {
    flex: 1;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}
.preview-actions .btn-tienda {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}
.preview-actions .btn-maps {
    background: #f1f5f9;
    color: #334155;
}
.preview-actions button.btn-comentar-cta {
    flex: 1 1 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    border: none;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%);
    box-shadow: 0 8px 18px rgba(20, 184, 166, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
.preview-actions button.btn-comentar-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(20, 184, 166, 0.35);
}
.preview-actions button.btn-comentar-cta:active {
    transform: translateY(0);
}
.preview-actions .btn-comentar-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.preview-actions .btn-comentar-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}
.preview-actions .btn-comentar-txt strong {
    font-size: 0.95rem;
    letter-spacing: .2px;
}
.preview-actions .btn-comentar-txt small {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: .9;
}
.preview-actions .btn-social {
    flex: 0 0 auto;
    min-width: 44px;
    width: 44px;
    padding: 10px 0;
    font-size: 1.15rem;
}
.preview-actions .btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}
.preview-actions .btn-facebook {
    background: #1877f2;
    color: #fff;
}
.preview-iframe-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 280px;
    background: #f1f5f9;
    position: relative;
}
.preview-iframe-wrap .preview-desktop-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.preview-iframe-wrap iframe {
    border: 0;
    width: 1280px;
    height: 900px;
    transform: scale(0.292);
    transform-origin: top left;
    pointer-events: none;
    background: #fff;
}
.preview-iframe-wrap.is-external .preview-desktop-frame {
    overflow: hidden;
}
.preview-external {
    position: absolute;
    inset: 0;
    background: #0f172a;
}
.preview-external-img {
    display: block;
    width: 100%;
    height: calc(100% - 36px);
    object-fit: cover;
    object-position: top center;
    background: #e2e8f0;
}
.preview-external-loading {
    position: absolute;
    inset: 0 0 36px 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
    background: rgba(241, 245, 249, 0.72);
}
.preview-external.is-loading .preview-external-loading,
.preview-external.is-error .preview-external-loading {
    display: flex;
}
.preview-external.is-error .preview-external-loading .fa-spinner { display: none; }
.preview-external.is-error .preview-external-loading span { color: #64748b; }
.preview-external-img.is-loading {
    opacity: .25;
}
.preview-external-img.is-error {
    opacity: 0;
}
.preview-external-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
}
.preview-external-host {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.preview-external-open {
    color: #38bdf8;
    text-decoration: none;
    white-space: nowrap;
}
.preview-external-open:hover { text-decoration: underline; }

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .topbar-brand { display: flex; }
    .topbar-icon-btn { display: flex; }
    .topbar-list-label { display: inline; }
    .topbar-title { display: inline; }

    /* En tablet/móvil la búsqueda por nombre va en la sidebar */
    .topbar-search-wrap { display: none !important; }
    .sidebar-search-wrap { display: block; }

    .mapa-sidebar {
        width: min(360px, 86vw);
        min-width: 0;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-105%);
        z-index: 100;
        transition: transform 0.28s ease;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .mapa-sidebar.open { transform: translateX(0); }
    .sidebar-head-mobile { display: flex; }
    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }

    .filters-modal-row {
        grid-template-columns: 1fr 1fr;
    }

    .preview-panel {
        right: max(12px, env(safe-area-inset-right, 0px));
        top: calc(var(--topbar-h) + 10px);
        width: min(400px, calc(100vw - 24px));
        max-height: calc(100dvh - var(--topbar-h) - 20px - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .preview-iframe-wrap { height: 220px; }
    .preview-iframe-wrap iframe { transform: scale(0.25); }
    .preview-actions a,
    .preview-actions button.btn-comentar-cta {
        min-height: 44px;
    }

    .topbar-user-name {
        max-width: none;
        padding: 7px 12px;
        font-weight: 700;
        background: rgba(59, 130, 246, 0.18);
        border-color: rgba(59, 130, 246, 0.4);
        color: #fff;
    }
    .topbar-user-label-desk { display: none !important; }
    .topbar-user-label-mob { display: inline !important; }
    .hide-sm { display: none; }

    .mapa-comentario-card {
        max-width: min(920px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 24px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mapa-comentarios-panel {
        max-height: min(48vh, 360px);
        min-height: 200px;
    }
}

/* Tablets en landscape / iPad */
@media (max-width: 1180px) and (min-width: 721px) {
    .preview-panel {
        width: min(380px, calc(100vw - 28px));
    }
    .mapa-list-item {
        padding: 12px 12px;
    }
    .tipo-btn {
        min-height: 42px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 720px) {
    :root { --topbar-h: auto; }

    .mapa-topbar {
        height: auto;
        min-height: 52px;
        flex-wrap: wrap;
        padding: 8px 10px;
        padding-top: max(8px, env(safe-area-inset-top, 0px));
        gap: 8px;
        row-gap: 8px;
    }

    .topbar-brand { order: 1; }
    .topbar-user { order: 2; margin-left: auto; }
    .topbar-tools {
        order: 3;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 8px;
        margin-left: 0;
    }

    .topbar-icon-btn,
    .topbar-list-btn,
    .topbar-cta-user,
    .topbar-cta-empresa {
        min-height: 44px;
        min-width: 44px;
    }

    /* Filtros: botón en topbar oculto → FAB flotante */
    .topbar-filters-btn {
        display: none !important;
    }
    .mapa-filter-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: max(16px, env(safe-area-inset-right, 0px));
        bottom: max(18px, env(safe-area-inset-bottom, 0px));
        z-index: 9980;
        width: 56px;
        height: 56px;
        border: none;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: #fff;
        font-size: 1.25rem;
        cursor: pointer;
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
        transition: transform .15s ease, box-shadow .15s ease;
    }
    .mapa-filter-fab:hover,
    .mapa-filter-fab[aria-expanded="true"],
    .mapa-filter-fab.has-active-filter {
        transform: scale(1.06);
        box-shadow: 0 14px 34px rgba(37, 99, 235, 0.55);
    }
    .mapa-filter-fab .filters-active-dot {
        top: 10px;
        right: 10px;
        box-shadow: 0 0 0 2px var(--primary-dark);
    }
    body.mapa-page .mudi-visual-update {
        bottom: 86px;
        right: max(16px, env(safe-area-inset-right, 0px));
    }
    body.filters-open .mapa-filter-fab {
        opacity: 0;
        pointer-events: none;
    }

    .topbar-cta-user span,
    .topbar-user-name span { display: none; }
    .topbar-cta-user,
    .topbar-cta-empresa {
        padding: 8px 10px;
    }

    .mapa-filters-modal {
        width: 100%;
        max-height: min(92vh, 780px);
        border-radius: 18px 18px 14px 14px;
        align-self: flex-end;
        margin-bottom: 0;
        animation: filtersSheetIn 0.25s ease;
    }
    @keyframes filtersSheetIn {
        from { opacity: 0; transform: translateY(24%); }
        to { opacity: 1; transform: translateY(0); }
    }
    .mapa-filters-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .filters-modal-row {
        grid-template-columns: 1fr;
    }
    .filter-actions .filter-label { display: none; }
    .filter-select,
    .filter-input,
    .btn-filter-icon {
        min-height: 44px;
    }
    .rubros-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .rubro-chip {
        min-height: 74px;
        padding: 8px 6px;
    }

    .mapa-sidebar {
        width: 100%;
        max-width: 100%;
        transform: translateY(105%);
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: min(78vh, 640px);
        max-height: calc(100dvh - 56px - env(safe-area-inset-bottom, 0px));
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .mapa-sidebar.open {
        transform: translateY(0);
    }

    .mapa-brand {
        padding: 10px 12px 10px;
    }
    .mapa-brand-logo-wrap {
        padding: 10px 10px 8px;
        margin-bottom: 10px;
    }
    .mapa-logo { max-width: 130px; margin-bottom: 4px; }
    .mapa-tagline { font-size: 0.7rem; }
    .tipo-btn {
        padding: 10px 6px;
        font-size: 0.78rem;
        min-height: 44px;
    }
    .mapa-list-item {
        padding: 12px 14px;
        gap: 12px;
    }
    .mapa-list-item .item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .preview-panel {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-height: min(68vh, 560px);
        border-radius: 18px 18px 0 0;
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.28);
        animation: previewSheetIn 0.28s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    @keyframes previewSheetIn {
        from { opacity: 0; transform: translateY(40%); }
        to { opacity: 1; transform: translateY(0); }
    }

    .preview-header h3 { font-size: 0.98rem; }
    .preview-actions {
        gap: 8px;
    }
    .preview-actions a,
    .preview-actions button.btn-comentar-cta {
        min-width: calc(50% - 4px);
        flex: 1 1 calc(50% - 4px);
        padding: 12px 10px;
        font-size: 0.82rem;
        min-height: 48px;
        justify-content: center;
    }
    .preview-actions button.btn-comentar-cta {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .preview-iframe-wrap { height: 150px; }
    .preview-iframe-wrap iframe {
        width: 1280px;
        height: 900px;
        transform: scale(0.2);
    }

    body.preview-open .leaflet-bottom {
        bottom: min(68vh, 560px);
        transition: bottom 0.25s ease;
    }

    body.list-open .leaflet-bottom {
        bottom: min(78vh, 640px);
        transition: bottom 0.25s ease;
    }

    /* Modal opiniones: hoja inferior en móvil */
    .mapa-welcome-overlay {
        align-items: flex-end;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .mapa-comentario-card {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 18px 18px 0 0 !important;
        max-height: min(92dvh, 920px);
        margin: 0;
        padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .mapa-comentario-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mapa-comentarios-panel {
        max-height: min(36vh, 280px);
        min-height: 160px;
        order: 2;
    }
    .mapa-comentario-form-panel {
        order: 1;
    }
    .mapa-star-btn {
        font-size: 1.85rem;
        min-width: 40px;
        min-height: 40px;
    }
    .mapa-welcome-btn {
        min-height: 48px;
        font-size: 0.95rem;
    }
}

/* Móviles chicos */
@media (max-width: 380px) {
    .tipo-btn { font-size: 0.72rem; gap: 4px; padding: 8px 4px; }
    .mapa-logo { max-width: 110px; }
    .topbar-title { font-size: 0.8rem; }
    .preview-actions a {
        font-size: 0.78rem;
        padding: 10px 8px;
    }
}

/* Landscape móvil: priorizar mapa usable */
@media (max-height: 480px) and (orientation: landscape) {
    .mapa-sidebar {
        height: min(92vh, 100dvh);
        max-height: 100dvh;
        border-radius: 0;
    }
    .preview-panel {
        max-height: min(88vh, 100dvh);
        border-radius: 12px 0 0 12px;
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        width: min(420px, 55vw);
    }
    .preview-iframe-wrap { display: none; }
    .mapa-comentario-card {
        max-height: 96dvh !important;
        border-radius: 12px !important;
    }
    .mapa-comentarios-panel {
        max-height: 40vh;
        min-height: 120px;
    }
    body.preview-open .leaflet-bottom,
    body.list-open .leaflet-bottom {
        bottom: 10px;
    }
}

/* Touch: feedback más claro */
@media (hover: none) and (pointer: coarse) {
    .mapa-list-item:active {
        background: rgba(56, 189, 248, 0.12);
    }
    .topbar-icon-btn:active,
    .topbar-filters-btn:active,
    .mapa-filter-fab:active {
        transform: scale(0.97);
    }
    .btn-comentar-cta:active {
        transform: scale(0.985);
    }
}

/* Popup bienvenida usuario (desde PaginaWeb) */
.mapa-welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mapa-welcome-overlay[hidden] { display: none !important; }
.mapa-star-picker {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}
.mapa-star-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.65rem;
    color: #cbd5e1;
    padding: 2px;
    line-height: 1;
    transition: transform .12s ease, color .12s ease;
}
.mapa-star-btn:hover { transform: scale(1.12); }
.mapa-star-btn.on { color: #f59e0b; }

.mapa-comentario-card {
    max-width: 820px !important;
    text-align: left !important;
    padding: 22px 22px 18px !important;
}
.mapa-comentario-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: stretch;
}
.mapa-comentarios-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    max-height: min(62vh, 480px);
}
.mapa-comentarios-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 0.92rem;
}
.mapa-comentarios-count {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}
.mapa-comentarios-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding-right: 2px;
}
.mapa-comentario-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 13px;
}
.mapa-comentario-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.mapa-comentario-item-top strong {
    color: #0f172a;
    font-size: 0.9rem;
}
.mapa-comentario-item-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    white-space: nowrap;
}
.mapa-comentario-item p {
    margin: 0 0 6px;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-wrap;
}
.mapa-comentario-item time {
    font-size: 0.72rem;
    color: #94a3b8;
}
.mapa-comentario-respuesta {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.82rem;
    line-height: 1.4;
}
.mapa-comentarios-empty {
    color: #64748b;
    font-size: 0.9rem;
    padding: 18px 8px;
    text-align: center;
}
.mapa-comentario-form-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
}
.mapa-comentario-guest {
    text-align: left;
}
.mapa-comentario-guest[hidden],
#mapaComentarioAuthed[hidden] {
    display: none !important;
}

.mapa-welcome-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 22px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    animation: previewIn 0.25s ease;
}
.mapa-welcome-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.mapa-welcome-card h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #0f172a;
}
.mapa-welcome-card > p {
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.45;
}
.mapa-welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mapa-welcome-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.mapa-welcome-btn.primary {
    background: #3b82f6;
    color: #fff;
}
.mapa-welcome-btn.primary:hover { background: #2563eb; }
.mapa-welcome-btn.ghost {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.mapa-welcome-btn.ghost:hover { background: #f1f5f9; }
.mapa-welcome-note {
    margin: 14px 0 0 !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
}

/* Elección Negocio / Servicio al abrir el mapa */
.mapa-tipo-card { max-width: 440px; }
.mapa-tipo-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mapa-tipo-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.mapa-tipo-choice-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}
.mapa-tipo-choice-btn i {
    font-size: 1.25rem;
    color: #3b82f6;
    margin-bottom: 2px;
}
.mapa-tipo-choice-btn strong {
    font-size: 1rem;
    color: #0f172a;
}
.mapa-tipo-choice-btn span {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}
.tipo-toggle-filters {
    width: 100%;
}
.tipo-toggle-filters .tipo-btn {
    flex: 1;
}

/* Iconos FA Pro (u otros) que no vienen en el CDN free — fallback MuDi */
.fas.fa-popcorn::before,
.fa-solid.fa-popcorn::before,
i.fas.fa-popcorn::before,
.fa.fa-popcorn::before {
  content: "" !important;
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  vertical-align: -0.125em;
  background-color: currentColor !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2064%2064'%3E%3Ccircle%20cx%3D'22'%20cy%3D'18'%20r%3D'8'%2F%3E%3Ccircle%20cx%3D'34'%20cy%3D'12'%20r%3D'9'%2F%3E%3Ccircle%20cx%3D'46'%20cy%3D'18'%20r%3D'8'%2F%3E%3Ccircle%20cx%3D'28'%20cy%3D'24'%20r%3D'7'%2F%3E%3Ccircle%20cx%3D'40'%20cy%3D'25'%20r%3D'7'%2F%3E%3Cpath%20d%3D'M14%2028h36l-5%2032H19z'%2F%3E%3C%2Fsvg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2064%2064'%3E%3Ccircle%20cx%3D'22'%20cy%3D'18'%20r%3D'8'%2F%3E%3Ccircle%20cx%3D'34'%20cy%3D'12'%20r%3D'9'%2F%3E%3Ccircle%20cx%3D'46'%20cy%3D'18'%20r%3D'8'%2F%3E%3Ccircle%20cx%3D'28'%20cy%3D'24'%20r%3D'7'%2F%3E%3Ccircle%20cx%3D'40'%20cy%3D'25'%20r%3D'7'%2F%3E%3Cpath%20d%3D'M14%2028h36l-5%2032H19z'%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  font-size: inherit !important;
}
