/* Guasa Envíos — Ubicación por mapa (checkout) */
#guasa-mapa-bloque {
	margin: 24px 0;
}
#guasa-mapa-bloque h3 {
	margin: 0 0 4px;
}
#guasa-mapa-bloque .guasa-sub {
	margin: 0 0 12px;
	color: #5b6b62;
	font-size: 0.9em;
	line-height: 1.45;
}
#guasa-mapa-bloque .guasa-gps {
	width: 100%;
	border: 0;
	cursor: pointer;
	background: #ff5100;
	color: #fff;
	font-weight: 600;
	font-size: 1em;
	padding: 13px;
	border-radius: 10px;
	margin-bottom: 10px;
	transition: background 0.15s ease;
}
#guasa-mapa-bloque .guasa-gps:hover {
	background: #d94400;
}
#guasa-mapa-bloque .guasa-gps:disabled {
	opacity: 0.6;
	cursor: default;
}
#guasa-mapa-bloque .guasa-map {
	height: 280px;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #dde5e0;
	background: #e9efeb;
}
#guasa-mapa-bloque .guasa-zona {
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.88em;
	padding: 9px 12px;
	border-radius: 8px;
}
#guasa-mapa-bloque .guasa-zona.ok {
	background: #e7f4ec;
	color: #0a6e3c;
}
#guasa-mapa-bloque .guasa-zona.fuera {
	background: #fbeceb;
	color: #b4453a;
}
#guasa-mapa-bloque .guasa-zona.info {
	background: #e9f1fb;
	color: #1d4f8a;
}
#guasa-mapa-bloque .guasa-aviso {
	margin-top: 8px;
	font-size: 0.88em;
	padding: 9px 12px;
	border-radius: 8px;
	background: #fdf3e7;
	color: #8a5a19;
}
#guasa-mapa-bloque .guasa-dir {
	margin: 8px 0 2px;
	font-size: 0.9em;
	color: #15201a;
}
#guasa-mapa-bloque .guasa-coord {
	margin: 0;
	font-size: 0.78em;
	color: #5b6b62;
	font-variant-numeric: tabular-nums;
}

/* ---- Chips "Mis ubicaciones" (checkout y selector) ---- */
.guasa-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin: 0 0 10px;
}
.guasa-chips-titulo {
	font-size: 0.82em;
	color: #5b6b62;
	margin-right: 2px;
}
.guasa-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #dde5e0;
	background: #f6f9f7;
	color: #15201a;
	font-size: 0.85em;
	padding: 6px 10px;
	border-radius: 999px;
	cursor: pointer;
}
.guasa-chip:hover {
	border-color: #0f8a4c;
	background: #e7f4ec;
}
.guasa-chip-x {
	color: #9aa7a0;
	font-weight: 700;
	margin-left: 2px;
}
.guasa-chip-x:hover {
	color: #b4453a;
}

/* ---- Botón "Enviar a" (shortcode [guasa_ubicacion]) ---- */
.guasa-sel-boton {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 10px;
	text-align: left;
	line-height: 1.2;
}
.guasa-sel-boton:hover {
	background: #f2f5f3;
}
.guasa-sel-pin {
	font-size: 1.2em;
}
.guasa-sel-textos {
	display: flex;
	flex-direction: column;
}
.guasa-sel-etq {
	font-size: 0.75em;
	color: #5b6b62;
}
.guasa-sel-txt {
	font-size: 0.92em;
	color: #15201a;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.guasa-sel-flecha {
	color: #5b6b62;
	font-size: 0.8em;
}

/* ---- Ventana emergente del selector ---- */
.guasa-sel-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
/* El display:flex de arriba le ganaba al atributo hidden: forzar el cierre. */
.guasa-sel-modal[hidden] {
	display: none !important;
}
.guasa-sel-fondo {
	position: absolute;
	inset: 0;
	background: rgba(21, 32, 26, 0.55);
}
.guasa-sel-caja {
	position: relative;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	overflow-y: auto;
	padding: 20px;
}
.guasa-sel-caja .guasa-map {
	height: 260px;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #dde5e0;
	background: #e9efeb;
}
.guasa-sel-caja .guasa-gps {
	width: 100%;
	border: 0;
	cursor: pointer;
	background: #ff5100;
	color: #fff;
	font-weight: 600;
	font-size: 1em;
	padding: 12px;
	border-radius: 10px;
	margin-bottom: 10px;
}
.guasa-sel-caja .guasa-gps:hover {
	background: #d94400;
}
.guasa-sel-caja .guasa-zona {
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.88em;
	padding: 9px 12px;
	border-radius: 8px;
}
.guasa-sel-caja .guasa-zona.ok { background: #e7f4ec; color: #0a6e3c; }
.guasa-sel-caja .guasa-zona.info { background: #e9f1fb; color: #1d4f8a; }
.guasa-sel-caja .guasa-zona.fuera { background: #fbeceb; color: #b4453a; }
.guasa-sel-caja .guasa-dir {
	margin: 8px 0 2px;
	font-size: 0.88em;
	color: #15201a;
	min-height: 1.2em;
}
.guasa-sel-cerrar {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 1.6em;
	line-height: 1;
	color: #5b6b62;
	cursor: pointer;
}
.guasa-sel-titulo {
	margin: 0 24px 4px 0;
	font-size: 1.15em;
}
.guasa-sel-sub {
	margin: 0 0 12px;
	color: #5b6b62;
	font-size: 0.88em;
}
.guasa-sel-guardar {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.guasa-sel-guardar input {
	flex: 1;
	border: 1px solid #dde5e0;
	border-radius: 8px;
	padding: 9px 10px;
	font-size: 0.9em;
}
.guasa-sel-secundario {
	border: 1px solid #0f8a4c;
	background: #fff;
	color: #0f8a4c;
	font-weight: 600;
	font-size: 0.85em;
	padding: 9px 12px;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
}
.guasa-sel-secundario:hover {
	background: #e7f4ec;
}
.guasa-sel-nota {
	margin: 10px 0 0;
	font-size: 0.8em;
	color: #5b6b62;
}
.guasa-sel-confirmar {
	width: 100%;
	margin-top: 14px;
	border: 0;
	cursor: pointer;
	background: #0f8a4c;
	color: #fff;
	font-weight: 700;
	font-size: 1em;
	padding: 13px;
	border-radius: 10px;
}
.guasa-sel-confirmar:hover {
	background: #0a6e3c;
}
body.guasa-sel-abierto {
	overflow: hidden;
}
