/* ============================================================
   ELEMENTARNO Price List — frontend.css
   ============================================================ */

.enl-price-list {
	font-family: inherit;
	margin-bottom: 32px;
}

.enl-price-list .enl-direction-title {
	background: #7eaa92;
	color: #fff;
	padding: 14px 22px;
	margin: 32px 0 0 0;
	border-radius: 6px 6px 0 0;
	font-size: 1.05em;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.enl-price-list > .enl-direction-title:first-child {
	margin-top: 0;
}

.enl-services-table {
	border: 1px solid #d9e8df;
	border-top: none;
	border-radius: 0 0 6px 6px;
	background: #fff;
	margin-bottom: 0;
}

/* Стрілка напрямку */
.enl-dir-arrow {
	display: inline-block;
	margin-left: 10px;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid rgba(255,255,255,0.8);
	transition: transform 0.25s ease;
	position: relative;
	top: -1px;
}

.enl-direction-title.is-collapsed .enl-dir-arrow {
	transform: rotate(-90deg);
}

.enl-direction-title.is-collapsed {
	border-radius: 6px;
}

.enl-price-list .enl-direction-title + .enl-services-table {
	margin-bottom: 24px;
}

.enl-table-header {
	display: flex;
	align-items: center;
	padding: 9px 22px;
	background: #f4faf7;
	border-bottom: 1px solid #d9e8df;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7eaa92;
}

.enl-service-row {
	border-bottom: 1px solid #ecf4ef;
}

.enl-service-row:last-child {
	border-bottom: none;
}

.enl-row-main {
	display: flex;
	align-items: flex-start;
	padding: 14px 22px;
	gap: 12px;
	transition: background 0.15s;
}

.enl-has-desc > .enl-row-main {
	cursor: pointer;
}

.enl-has-desc > .enl-row-main:hover {
	background: #f7fcf9;
}

.enl-has-desc.is-open > .enl-row-main {
	background: #f0f9f4;
}

.enl-col-name {
	flex: 1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.enl-col-price {
	flex-shrink: 0;
	min-width: 130px;
	text-align: right;
	padding-left: 16px;
}

.enl-expand-icon,
.enl-no-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	margin-top: 1px;
	border-radius: 50%;
}

.enl-expand-icon {
	background: #7eaa92;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 0;
	transition: transform 0.28s ease, background 0.2s;
	user-select: none;
}

.enl-has-desc.is-open .enl-expand-icon {
	transform: rotate(45deg);
	background: #5a9279;
}

.enl-service-name {
	line-height: 1.45;
	color: #1a1a1a;
}

.enl-price-value {
	font-weight: 700;
	color: #1a1a1a;
	font-size: 1em;
	white-space: nowrap;
}

.enl-price-tbd {
	font-weight: 400;
	color: #aaa;
	font-size: 0.88em;
}

.enl-price-label {
	display: block;
	font-size: 11px;
	color: #888;
	font-weight: 400;
	margin-top: 2px;
	line-height: 1.3;
}

.enl-row-desc {
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.3s ease;
}

.enl-row-desc[hidden] {
	display: block !important;  /* тільки це з !important */
	max-height: 0;
	opacity: 0;
}

.enl-row-desc-inner {
	padding: 2px 22px 18px 54px;
	background: #fafcfa;
	border-top: 1px solid #e8f2ec;
	color: #444;
	font-size: 0.93em;
	line-height: 1.65;
}

.enl-row-desc-inner p {
	margin: 0.5em 0;
}

.enl-row-desc-inner p:first-child { margin-top: 0.8em; }
.enl-row-desc-inner p:last-child  { margin-bottom: 0; }

.enl-empty {
	color: #888;
	padding: 20px 0;
}

@media (max-width: 600px) {
	.enl-direction-title { padding: 12px 16px; font-size: 0.97em; }
	.enl-table-header    { display: none; }
	.enl-row-main        { padding: 12px 16px; flex-wrap: wrap; }
	.enl-col-name        { width: 100%; }
	.enl-col-price       { min-width: auto; width: 100%; text-align: left; padding-left: 32px; padding-top: 4px; }
	.enl-row-desc-inner  { padding: 2px 16px 16px 16px; }
}
