/* Map component only. All selectors are scoped; width follows its Elementor container. */
.rdm-market-widget {
    --rdm-pink: #ff007f;
    --rdm-ink: #191919;
    --rdm-muted: #686868;
    --rdm-line: #e3e0dd;
    --rdm-sea: #f3f8f9;
    --rdm-land: #d8d0c0;
    --rdm-low: #789fa2;
    --rdm-mid: #db9f42;
    --rdm-high: #ad1f58;
    container-type: inline-size;
    container-name: rdm-market;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--rdm-ink);
    font: inherit;
    line-height: 1.5;
    text-align: left;
}
.rdm-market-widget *, .rdm-market-widget *::before, .rdm-market-widget *::after { box-sizing: border-box; }
.rdm-market-widget [hidden] { display: none !important; }
.rdm-market-widget p, .rdm-market-widget dl, .rdm-market-widget dd { margin: 0; padding: 0; }
.rdm-market-widget .rdm-market-status { margin: 0 0 18px; color: var(--rdm-muted); font-size: 13px; line-height: 1.5; }
.rdm-market-widget .rdm-market-retry { margin: 0 0 18px; padding: 8px 12px; border: 1px solid var(--rdm-line); background: #fff; color: var(--rdm-ink); cursor: pointer; font: inherit; font-size: 13px; }
.rdm-market-widget .rdm-market-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.rdm-market-widget .rdm-market-map-column { min-width: 0; }
.rdm-market-widget .rdm-market-map { position: relative; padding: 16px 12px 40px; border: 1px solid #dce6e9; background: var(--rdm-sea); }
.rdm-market-widget .rdm-map__svg { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 0 8px; overflow: visible; }
.rdm-market-widget .rdm-map__municipality { fill: var(--rdm-land); stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; cursor: pointer; transition: fill .15s ease; }
.rdm-market-widget .rdm-map__municipality[data-band="low"] { fill: var(--rdm-low); }
.rdm-market-widget .rdm-map__municipality[data-band="mid"] { fill: var(--rdm-mid); }
.rdm-market-widget .rdm-map__municipality[data-band="high"] { fill: var(--rdm-high); }
.rdm-market-widget .rdm-map__municipality:hover { stroke: #303030; stroke-width: 2; }
.rdm-market-widget .rdm-map__municipality[aria-pressed="true"] { stroke: var(--rdm-pink); stroke-width: 3; paint-order: fill stroke; }
.rdm-market-widget .rdm-map__municipality:focus-visible { outline: none; stroke: #111; stroke-width: 3.5; }
.rdm-market-widget .rdm-market-legend { display: flex; gap: 8px 12px; flex-wrap: wrap; font-size: 10px; color: #53656a; }
.rdm-market-widget .rdm-market-legend span { display: inline-flex; align-items: center; gap: 4px; }
.rdm-market-widget .rdm-market-legend i { display: inline-block; width: 17px; height: 6px; background: var(--rdm-land); }
.rdm-market-widget .rdm-market-legend i[data-band="low"] { background: var(--rdm-low); }
.rdm-market-widget .rdm-market-legend i[data-band="mid"] { background: var(--rdm-mid); }
.rdm-market-widget .rdm-market-legend i[data-band="high"] { background: var(--rdm-high); }
.rdm-market-widget .rdm-market-select-label { display: block; margin: 14px 0 5px; font-size: 12px; font-weight: 600; }
.rdm-market-widget .rdm-market-select { appearance: auto; display: block; width: 100%; height: auto; min-height: 42px; padding: 8px 12px; border: 1px solid var(--rdm-line); border-radius: 0; background: #fff; color: var(--rdm-ink); font: inherit; font-size: 14px; }
/* Attribution remains available on demand, without an editorial heading or footer. */
.rdm-market-widget .rdm-market-map-info { position: absolute; right: 10px; bottom: 8px; left: 10px; z-index: 1; margin: 0; padding: 0; border: 0; background: transparent; }
.rdm-market-widget .rdm-market-map-info > summary { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 0 0 auto; padding: 0; border: 1px solid #b2bfc3; border-radius: 50%; background: #fff; color: #56696d; font: italic 16px/1 Georgia, serif; cursor: pointer; list-style: none; }
.rdm-market-widget .rdm-market-map-info > summary::-webkit-details-marker { display: none; }
.rdm-market-widget .rdm-market-map-info > summary::marker { content: ''; }
.rdm-market-widget .rdm-market-map-info > summary::before, .rdm-market-widget .rdm-market-map-info > summary::after { content: none; }
.rdm-market-widget .rdm-market-map-info-panel { position: absolute; right: 0; bottom: calc(100% + 8px); width: min(100%, 300px); padding: 12px; border: 1px solid var(--rdm-line); background: #fff; color: var(--rdm-muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.rdm-market-widget .rdm-market-map-info:not([open]) > .rdm-market-map-info-panel { display: none; }
.rdm-market-widget .rdm-market-map-info-panel > p + p { margin-top: 6px; }
.rdm-market-widget a { color: inherit; text-decoration: underline; }
.rdm-market-widget .rdm-market-card { min-width: 0; padding: 20px; border: 1px solid var(--rdm-line); background: #fff; }
.rdm-market-widget .rdm-market-eyebrow { font-size: 9px; font-weight: 500; letter-spacing: .15em; color: var(--rdm-muted); }
.rdm-market-widget .rdm-market-municipality { margin-top: 9px; font-weight: 400; line-height: 1.18; font-size: 28px; text-transform: none; overflow-wrap: anywhere; }
.rdm-market-widget .rdm-market-price-block { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--rdm-line); border-bottom: 1px solid var(--rdm-line); }
.rdm-market-widget .rdm-market-price { font-size: 38px; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.rdm-market-widget .rdm-market-unit { margin-top: 5px; font-size: 11px; color: var(--rdm-muted); }
.rdm-market-widget .rdm-market-data-state { margin-top: 9px; font-size: 12px; color: var(--rdm-muted); }
.rdm-market-widget .rdm-market-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rdm-line); font-size: 11px; }
.rdm-market-widget .rdm-market-metrics dt { color: var(--rdm-muted); font-weight: 400; }
.rdm-market-widget .rdm-market-metrics dd { text-align: right; max-width: 68%; overflow-wrap: anywhere; font-weight: 500; }
.rdm-market-widget .rdm-market-source { margin-top: 14px; font-size: 10px; line-height: 1.6; color: var(--rdm-muted); overflow-wrap: anywhere; }
.rdm-market-widget .rdm-market-source > p:first-child { margin-bottom: 6px; }
.rdm-market-widget .rdm-market-note { margin-top: 20px; font-size: 11px; color: var(--rdm-muted); }
.rdm-market-widget summary:focus-visible, .rdm-market-widget button:focus-visible, .rdm-market-widget select:focus-visible, .rdm-market-widget a:focus-visible { outline: 2px solid #151515; outline-offset: 4px; }
@container rdm-market (min-width: 600px) {
    .rdm-market-widget .rdm-market-layout { grid-template-columns: minmax(0, 1.85fr) minmax(205px, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .rdm-market-widget .rdm-map__municipality { transition: none; }
}

.rdm-market-widget .rdm-map__cabrera { fill: var(--rdm-land); stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }

.rdm-market-widget .rdm-market-source-stamp {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.4;
    color: var(--rdm-muted);
}
.rdm-market-widget .rdm-market-comparisons {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--rdm-line);
}
.rdm-market-widget .rdm-market-comparisons-title {
    margin-bottom: 8px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--rdm-muted);
}
.rdm-market-widget [data-rdm-comparison-list] {
    display: grid;
    gap: 8px;
}
.rdm-market-widget .rdm-market-comparison-card {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--rdm-line);
    border-radius: 8px;
}
.rdm-market-widget .rdm-market-comparison-heading {
    margin: 0 0 6px;
    color: var(--rdm-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .1em;
}
.rdm-market-widget .rdm-market-comparison-entry + .rdm-market-comparison-entry {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--rdm-line);
}
.rdm-market-widget .rdm-market-comparison-price {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}
.rdm-market-widget .rdm-market-comparison-source {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.rdm-market-widget a.rdm-market-comparison-source {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.rdm-market-widget .rdm-market-comparison-meta,
.rdm-market-widget .rdm-market-comparison-empty {
    display: block;
    margin: 3px 0 0;
    color: var(--rdm-muted);
    font-size: 9px;
    line-height: 1.35;
}
.rdm-market-widget .rdm-market-comparison-empty {
    margin-top: 0;
}

/* 2.6.0 exact market segment filters */
.rdm-market-widget .rdm-market-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.rdm-market-widget .rdm-market-filter { display: block; min-width: 0; }
.rdm-market-widget .rdm-market-filter .rdm-market-select-label { margin: 0 0 5px; }
.rdm-market-widget .rdm-market-segment {
    margin-top: 5px;
    color: var(--rdm-muted);
    font-size: 11px;
    line-height: 1.4;
}
@container rdm-market (max-width: 700px) {
    .rdm-market-widget .rdm-market-filters { grid-template-columns: 1fr; }
}
