/* Lavandería Mogán – Cookies: banner, "Cookies" button and blocked map */
.lm-ck {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 100000;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.lm-ck[hidden], .lm-ck-abrir[hidden] { display: none !important; }
.lm-ck__caja {
	pointer-events: auto;
	width: 100%;
	max-width: 760px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px 28px;
	padding: 22px 26px;
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: 0 24px 60px rgba(4, 42, 68, 0.22), 0 0 0 1px rgba(12, 58, 92, 0.06);
	font-family: 'Montserrat', sans-serif;
	animation: lm-ck-in 420ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes lm-ck-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lm-ck__titulo { grid-column: 1; margin: 0; font-family: 'Zilla Slab', serif; font-size: 22px; font-weight: 400; line-height: 1.2; color: #0C3A5C; }
.lm-ck__texto { grid-column: 1; margin: 0; font-size: 13px; line-height: 1.6; color: #40535F; }
.lm-ck__texto a { color: #0195E8; text-decoration: underline; text-underline-offset: 3px; }
.lm-ck__botones { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
/* Both choices with the same weight. */
.lm-ck__boton {
	min-height: 46px;
	min-width: 180px;
	padding: 0 22px;
	border: 1.5px solid #0C3A5C;
	border-radius: 999px;
	background: #0C3A5C;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	cursor: pointer;
	transition: background 200ms ease, border-color 200ms ease, transform 160ms ease;
}
.lm-ck__boton:hover, .lm-ck__boton:focus-visible { background: #0195E8; border-color: #0195E8; color: #FFFFFF; }
/* «Aceptar todas» stands out; «Solo necesarias» stays fully visible and readable. */
.lm-ck__boton--todas { background: #0195E8; border-color: #0195E8; box-shadow: 0 10px 24px rgba(1, 149, 232, 0.35); }
.lm-ck__boton--todas:hover, .lm-ck__boton--todas:focus-visible { background: #0C3A5C; border-color: #0C3A5C; }
.lm-ck__boton--necesarias { background: #FFFFFF; color: #0C3A5C; border-color: #0C3A5C; }
.lm-ck__boton--necesarias:hover, .lm-ck__boton--necesarias:focus-visible { background: #E8F4FC; border-color: #0C3A5C; color: #0C3A5C; }
.lm-ck__boton:active { transform: scale(0.97); }
.lm-ck__boton:focus-visible { outline: 3px solid rgba(1, 149, 232, 0.35); outline-offset: 2px; }

/* Always-available cookie button (bottom left; the back-to-top button lives on the right). */
.lm-ck-abrir {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #FFFFFF;
	color: #0195E8;
	box-shadow: 0 8px 22px rgba(4, 42, 68, 0.18), 0 0 0 1px rgba(12, 58, 92, 0.08);
	cursor: pointer;
	transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms ease, box-shadow 200ms ease;
}
.lm-ck-abrir:hover, .lm-ck-abrir:focus-visible { color: #0C3A5C; transform: translateY(-2px) rotate(-12deg); box-shadow: 0 12px 28px rgba(4, 42, 68, 0.22), 0 0 0 1px rgba(12, 58, 92, 0.08); }
.lm-ck-abrir:focus-visible { outline: 3px solid rgba(1, 149, 232, 0.35); outline-offset: 2px; }
.lm-ck-abrir svg { display: block; }

/* Map waiting for consent */
.lm-ck-bloqueado { position: relative; }
.lm-ck-bloqueado iframe[data-lm-ck-src] { visibility: hidden; }
.lm-ck-mapa {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 24px;
	text-align: center;
	background: #E8F4FC;
	border-radius: inherit;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #40535F;
}
.lm-ck-mapa p { margin: 0; max-width: 34ch; }
.lm-ck-bloqueado.is-libre .lm-ck-mapa { display: none; }

@media (max-width: 640px) {
	.lm-ck { left: 10px; right: 10px; bottom: 10px; }
	.lm-ck__caja { grid-template-columns: 1fr; padding: 20px; gap: 8px; border-radius: 18px; }
	.lm-ck__botones { grid-column: 1; grid-row: auto; flex-direction: column; margin-top: 10px; }
	.lm-ck__boton { width: 100%; min-width: 0; padding: 0 12px; }
	.lm-ck-abrir { left: 14px; bottom: 14px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lm-ck__caja { animation: none; } }
