/* WM Units: front end. Kept minimal so the site's own styles lead. */

/* Specification table. */

.wmu-spec__title {
	margin: 0 0 0.6em;
}

.wmu-spec__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.wmu-spec__table th,
.wmu-spec__table td {
	padding: 0.7em 0.9em;
	text-align: left;
	vertical-align: top;
	border: 0;
}

.wmu-spec__table tr {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wmu-spec__label {
	width: 35%;
	font-weight: 600;
}

.wmu-spec + .wmu-spec {
	margin-top: 2em;
}

@media (max-width: 767px) {
	.wmu-spec-stack-yes .wmu-spec__table tr,
	.wmu-spec-stack-yes .wmu-spec__table th,
	.wmu-spec-stack-yes .wmu-spec__table td {
		display: block;
		width: 100%;
	}

	.wmu-spec-stack-yes .wmu-spec__table th {
		padding-bottom: 0.1em;
	}

	.wmu-spec-stack-yes .wmu-spec__table td {
		padding-top: 0.1em;
	}
}

/* Feature list. */

.wmu-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 0.6em;
	column-gap: 2em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wmu-list__item {
	display: flex;
	align-items: baseline;
	column-gap: 0.6em;
	margin: 0;
}

.wmu-list__icon {
	flex: 0 0 auto;
	line-height: 1;
}

.wmu-list__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.wmu-list-divider-yes .wmu-list__item {
	padding-bottom: 0.6em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wmu-empty {
	margin: 0;
	opacity: 0.7;
}

/* Basic unit page, used only without an Elementor single template. */

.wmu-details {
	margin-top: 2em;
}

.wmu-details__price strong {
	font-size: 1.6em;
}

.wmu-details__note {
	display: block;
	opacity: 0.8;
}

.wmu-details__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1em;
	margin: 1.5em 0;
}

.wmu-details__facts dt {
	font-size: 0.85em;
	opacity: 0.75;
}

.wmu-details__facts dd {
	margin: 0;
	font-weight: 600;
}

.wmu-details__heading {
	margin: 1.6em 0 0.6em;
}

.wmu-details__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.6em;
	margin: 2em 0;
}

.wmu-details__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wmu-details__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	margin: 2em 0;
}

.wmu-details__button {
	display: inline-block;
	padding: 0.8em 1.6em;
	border-radius: 6px;
	background: #1d2327;
	color: #fff;
	text-decoration: none;
}

.wmu-details__disclaimer {
	font-size: 0.85em;
	opacity: 0.75;
}
