.wpl-wrapper {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	margin-top: 20px;
}

.wpl-sidebar {
	flex: 0 0 290px;
	max-width: 290px;
	border: 0;
	border-radius: 8px;
	padding: 15px;
	background: #e8f3f3;
	position: sticky;
	top: 20px;
	max-height: 100vh;
	overflow-y: auto;
}

.wpl-sidebar-title {
	margin: 0 0 12px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
}

.wpl-subgroup-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpl-subgroup-list li {
	margin: 0;
}

.wpl-subgroup-list button {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 10px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	color: #333;
	transition: background 0.15s ease;
}

.wpl-subgroup-list button:hover {
	background: #c8dfdf;
}

.wpl-subgroup-list li.active button {
	background: #00a6a7;
	color: #fff;
	font-weight: 600;
}

/* Выпадающий список подгрупп — только для мобильной вёрстки, см. media query ниже. */
.wpl-subgroup-select {
	display: none;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 15px;
	background: #fff;
}

.wpl-content {
	flex: 1 1 auto;
	min-width: 0;
}

.wpl-search-row {
	margin-bottom: 20px;
}

.wpl-search-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.wpl-search-input:focus {
	outline: none;
	border-color: #2271b1;
}

.wpl-current-title {
	margin: 0 0 15px;
	font-size: 20px;
}

.wpl-group-heading {
	margin: 25px 0 8px;
	font-size: 17px;
	color: #00a6a7;
	border-bottom: 1px solid #eee;
	padding-bottom: 6px;
}

.wpl-group-heading:first-child {
	margin-top: 0;
}

.wpl-service-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 0;
	border-bottom: 1px dashed #e0e0e0;
}

.wpl-service-name {
	flex: 1 1 auto;
}

.wpl-service-duration {
	flex: 0 0 auto;
	color: #777;
	font-size: 14px;
	white-space: nowrap;
}

.wpl-service-price {
	flex: 0 0 auto;
	font-weight: 600;
	white-space: nowrap;
}

.wpl-empty-message {
	color: #777;
	padding: 20px 0;
}

@media (max-width: 780px) {
	.wpl-wrapper {
		flex-direction: column;
	}

	/* На мобильных прячем боковое меню и показываем выпадающий список вместо него. */
	.wpl-sidebar {
		display: none;
	}

	.wpl-subgroup-select {
		display: block;
	}
}
