/* ==========================================================================
   Stairlift cards (me-sl) — shortcode [me_stairlift_cards]
   ========================================================================== */
.me-sl {
	--me-sl-accent: #14a79d;
	--me-sl-accent-dark: #0e8a82;
	--me-sl-ink: #1b2a3a;
	--me-sl-text: #52606d;
	--me-sl-muted: #94a3b8;
	--me-sl-line: #e2e8f0;
	--me-sl-soft: #f4f7f9;
	--me-sl-wa-bg: #ecfdf5;
	--me-sl-wa-bg-hover: #d6f6e6;
	--me-sl-wa-ink: #065f46;
	--me-sl-wa-line: #a7e6c8;
	--me-sl-cols: 3;
	--me-sl-gap: 30px;

	font-family: var(--wvh-font, "Poppins", Helvetica, Arial, sans-serif);
	color: var(--me-sl-text);
}
.me-sl,
.me-sl *,
.me-sl *::before,
.me-sl *::after { box-sizing: border-box; }

/* ---- grid ------------------------------------------------------------------ */
.me-sl .me-sl__grid {
	display: grid;
	grid-template-columns: repeat(var(--me-sl-cols), minmax(0, 1fr));
	gap: var(--me-sl-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.me-sl .me-sl__item {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.me-sl .me-sl__item::marker { content: ""; }

/* ---- card ------------------------------------------------------------------ */
.me-sl__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--me-sl-line);
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(16, 42, 67, 0.07);
	transition: box-shadow .25s ease, transform .25s ease;
}
@media (hover: hover) {
	.me-sl__card:hover,
	.me-sl__card:focus-within {
		transform: translateY(-6px);
		box-shadow: 0 18px 36px -8px rgba(16, 42, 67, 0.22);
	}
}
@media (prefers-reduced-motion: reduce) {
	.me-sl__card { transition: none; }
	.me-sl__card:hover,
	.me-sl__card:focus-within { transform: none; }
}

/* ---- media ----------------------------------------------------------------- */
.me-sl__media {
	position: relative;
	aspect-ratio: 16 / 10!important;
	width: 100%;
	overflow: hidden;
	background: #e9eef2;
}
.me-sl .me-sl__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.me-sl__badge,
.me-sl__price {
	position: absolute;
	z-index: 2;
	max-width: calc(100% - 24px);
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.me-sl__badge {
	inset-block-start: 12px;
	inset-inline-start: 12px;
	padding: 5px 10px;
	font-size: 11px;
	color: #fff;
	background: rgba(16, 26, 38, .82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-radius: 5px;
}
.me-sl__price {
	inset-block-end: 12px;
	inset-inline-end: 12px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff;
	background: var(--me-sl-accent);
	border-radius: 5px;
	box-shadow: 0 3px 10px rgba(16, 42, 67, .25);
}

/* ---- body ------------------------------------------------------------------ */
.me-sl__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
}

.me-sl__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin-bottom: 8px;
}
.me-sl .me-sl__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--me-sl-ink);
}
.me-sl__model {
	font-size: 12px;
	font-weight: 500;
	color: var(--me-sl-muted);
}

.me-sl .me-sl__desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--me-sl-text);
}

/* ---- specs ----------------------------------------------------------------- */
.me-sl .me-sl__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
	margin: 0 0 16px;
	padding: 14px;
	background: var(--me-sl-soft);
	border: 1px solid #eaf0f4;
	border-radius: 12px;
}
.me-sl .me-sl__spec { min-width: 0; }
.me-sl .me-sl__spec-label {
	display: block;
	margin: 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--me-sl-muted);
	font-weight: 600;
}
.me-sl .me-sl__spec-value {
	display: block;
	margin: 1px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--me-sl-ink);
}
.me-sl .me-sl__spec-value.is-hot { color: var(--me-sl-accent); }

/* ---- pills ----------------------------------------------------------------- */
.me-sl .me-sl__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.me-sl .me-sl__pill {
	margin: 0;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
	color: #475569;
	background: #eef2f6;
	border-radius: 999px;
	list-style: none;
}
.me-sl .me-sl__pill::marker { content: ""; }

/* ---- buttons --------------------------------------------------------------- */
.me-sl__cta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;          /* pins the buttons to the bottom of every card */
	padding-top: 16px;
	border-top: 1px solid #eef2f6;
}
.me-sl__cta:only-child { margin-top: 0; }

.me-sl .me-sl__btn,
.me-sl .me-sl__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 12px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border-radius: 9px;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.me-sl .me-sl__btn svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}

.me-sl .me-sl__btn--book,
.me-sl .me-sl__btn--book:visited {
	color: #fff;
	background: var(--me-sl-accent);
	border: 1px solid var(--me-sl-accent);
}
.me-sl .me-sl__btn--book:hover,
.me-sl .me-sl__btn--book:focus-visible {
	color: #fff;
	background: var(--me-sl-accent-dark);
	border-color: var(--me-sl-accent-dark);
}

.me-sl .me-sl__btn--wa,
.me-sl .me-sl__btn--wa:visited {
	color: var(--me-sl-wa-ink);
	background: var(--me-sl-wa-bg);
	border: 1px solid var(--me-sl-wa-line);
}
.me-sl .me-sl__btn--wa:hover,
.me-sl .me-sl__btn--wa:focus-visible {
	color: var(--me-sl-wa-ink);
	background: var(--me-sl-wa-bg-hover);
	border-color: #7fd9b4;
}
.me-sl .me-sl__btn:focus-visible {
	outline: 2px solid var(--me-sl-ink);
	outline-offset: 2px;
}

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.me-sl { --me-sl-gap: 24px; }
	.me-sl .me-sl__grid { grid-template-columns: repeat(min(2, var(--me-sl-cols)), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.me-sl { --me-sl-gap: 20px; }
	.me-sl .me-sl__grid { grid-template-columns: minmax(0, 1fr); }
	.me-sl__body { padding: 20px; }
	.me-sl .me-sl__title { font-size: 19px; }
}
@media (max-width: 400px) {
	.me-sl__cta { grid-template-columns: minmax(0, 1fr); }
}


.me-sl .me-sl__specs {
        display: block; gap: 0; margin: 15px 0 16px; padding: 0;
        background: none; border: 0; border-radius: 0;
}
.me-sl .me-sl__spec {
        display: flex; align-items: center; justify-content: space-between;
        gap: 10px; padding: 4px 0; font-size: 14px; border-bottom: 1px solid #f0f0f0;
}
.me-sl .me-sl__spec:last-child { border-bottom: 0; }
.me-sl .me-sl__spec-label {
        flex: 0.5; margin: 0; font-size: 14px; font-weight: 700;
        line-height: 1.4; color: #333; text-align: left;
}
.me-sl .me-sl__spec-value {
        flex: 0.5; margin: 0; font-size: 14px; font-weight: 400;
        line-height: 1.4; color: #666; text-align: left;
}