.clm-locator {
    width: min(100%, 1200px);
    margin-inline: auto;
    color: #111;
    font-family: "Poppins", sans-serif;
}
.clm-locator * { box-sizing: border-box; }
.clm-locator__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 0;
}

/*----------Mapa especiales ------------*/
.clm-card__state {
    text-align: right;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ebebeb;
	  font-weight: bold;
		position: absolute;
    top: 7px;
    right: 7px;
}

.clm-card{
	padding-top: 40px !important;
	position:relative;
}

.clm-locator__status {
    min-height: 20px;
    margin: 10px 0;
    font-size: 14px;
    padding: 15px;
    background-color: #f3f3f3;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    color:#6d6d6d;
}

/*----------Mapa especiales ------------*/

.clm-locator__filter label{
	color:#ffffff!important;
}

.clm-locator__title {
    margin: 0;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
}
.clm-locator__geo-button {
    appearance: none;
    border: 0;
    border-radius: 300px !important;
    padding: 14px 28px 14px 28px;
    background: #ff1004 !important;
    color: #ffffff !important;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.clm-locator__geo-button:before{
	content:"";
	display:inline-block;
	width:20px;
	height:20px;
	background-position: center center;
	background-repeat:no-repeat;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Capa_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 16 16'%3E%3C!-- Generator: Adobe Illustrator 30.6.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 109) --%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Ccircle class='st0' cx='8' cy='8' r='2'/%3E%3Cpath class='st0' d='M15.5,7.5h-.5c-.2-3.5-3-6.2-6.5-6.5v-.5c0-.3-.2-.5-.5-.5s-.5.2-.5.5v.5c-3.5.2-6.2,3-6.5,6.5h-.5c-.3,0-.5.2-.5.5s.2.5.5.5h.5c.2,3.5,3,6.2,6.5,6.5v.5c0,.3.2.5.5.5s.5-.2.5-.5v-.5c3.5-.2,6.2-3,6.5-6.5h.5c.3,0,.5-.2.5-.5s-.2-.5-.5-.5ZM13.5,8.5h.5c-.2,2.9-2.6,5.2-5.5,5.5v-.5c0-.3-.2-.5-.5-.5s-.5.2-.5.5v.5c-2.9-.2-5.2-2.6-5.5-5.5h.5c.3,0,.5-.2.5-.5s-.2-.5-.5-.5h-.5c.2-2.9,2.6-5.2,5.5-5.5v.5c0,.3.2.5.5.5s.5-.2.5-.5v-.5c2.9.2,5.2,2.6,5.5,5.5h-.5c-.3,0-.5.2-.5.5s.2.5.5.5Z'/%3E%3C/svg%3E");
}

.clm-locator__geo-button :hover{
	background-color:#000000!important;
}
.clm-locator__geo-button:disabled { opacity: .6; cursor: wait; }
.clm-locator__status { min-height: 24px; margin-bottom: 8px; font-size: 14px; }
.clm-locator__layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 590px;
    overflow: hidden;
    border-radius: 12px;
    background: #f6f6f6;
}
.clm-locator__sidebar {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #f4f4f4;
}
.clm-locator__filter {
    padding: 24px 16px 20px;
    background: #ff1004;
}
.clm-locator__filter label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
}
.clm-locator__state-select {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 300px!important;
    padding: 4px 14px;
    background: #fff;
    font: inherit;
}
.clm-locator__list {
    min-height: 0;
    overflow-y: scroll;
    padding: 10px;
    scrollbar-width: thin;
    height: 600px;
}
.clm-card {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.clm-card + .clm-card { margin-top: 10px; }
.clm-card:hover,
.clm-card:focus,
.clm-card.is-active {
    outline: none;
    border-color: #111;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.clm-card__title { margin: 0 0 4px; font-size: 17px; }

.clm-card__address { 
    margin: 2px 0; 
    color: #555;
    font-size: 12px;
    line-height: 1.2; 
}


.clm-card__state{ 
    font-size: 10px!important;
}

.clm-card__distance { display: inline-block; margin-bottom: 4px; font-size: 12px; font-weight: 700; }
.clm-card__links { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 14px; 
    margin-top: 6px; 
    font-size: 12px;
}
.clm-card__links a { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.clm-card__links img { display: block; width: 16px; height: 16px; flex: 0 0 16px; }
.clm-card__links a:hover { text-decoration: underline; }
.clm-locator__empty { padding: 20px 10px; }
.clm-locator__map { width: 100%; min-height: 590px; background: #d9edf2; }

@media (max-width: 767px) {
    .clm-locator__header { align-items: stretch; flex-direction: column; gap: 14px; }
    .clm-locator__geo-button { align-self: flex-end; padding: 12px 20px; }
    .clm-locator__layout { grid-template-columns: 1fr; min-height: 0; }
    .clm-locator__sidebar { max-height: 300px; }
    .clm-locator__filter { padding: 20px 16px; }
    .clm-locator__list { max-height: 190px; }
    .clm-locator__map { min-height: 490px; }
}

/* Ventana personalizada del marcador */
.clm-map-popup {
    position: absolute;
    z-index: 10;
    width: 220px;
    font-family: "Poppins", sans-serif;
}
.clm-map-popup__inner {
    position: relative;
    display: flex;
    min-height: 200px;
    flex-direction: column;
    padding: 20px;
    border-radius: 15px;
    background: #fff;
    color: #555;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    font-size: 12px;
    line-height: 1.45;
}
.clm-map-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 22px;
    height: 22px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.clm-map-popup__close img {
    display: block;
    width: 22px;
    height: 22px;
}
.clm-map-popup__eyebrow {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 28px;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.clm-map-popup__eyebrow img {
    display: block;
    width: 9px;
    height: 14px;
    object-fit: contain;
}
.clm-map-popup__title {
    margin: 12px 0 4px;
    color: #555;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}
.clm-map-popup__state,
.clm-map-popup__address,
.clm-map-popup__schedule p {
    margin: 0 0 4px;
    font-size: 12px;
}
.clm-map-popup__schedule {
    margin-top: 10px;
}
.clm-map-popup__schedule strong {
    display: block;
    margin-bottom: 2px;
    color: #555;
    font-size: 12px;
}
.clm-map-popup__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
}
.clm-map-popup__links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 12px;
    text-decoration: none;
}
.clm-map-popup__links a:hover { text-decoration: underline; }
.clm-map-popup__links img {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

@media (max-width: 767px) {
    .clm-map-popup {
        z-index: 999;
        width: auto;
        max-width: none;
    }

    .clm-map-popup__inner {
        min-height: 0;
        max-height: 280px;
        overflow-y: auto;
    }
}
