/*
 * Стоимость услуг (page-price.php) — standalone stylesheet.
 * Loaded only on the price page (see wp_head hook at top of page-price.php).
 * Deliberately kept separate from assets/css/main.css.
 */

.price-page__title {
	margin: 0 0 20px;
	font-size: 28px;
	font-weight: 700;
	color: #16233a;
}

/* --- Tabs (visual only — the theme has one data source, "Услуги") --- */

.price-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 0;
}

.price-tabs__tab {
	flex: 1 1 50%;
	background: #eef2f6;
	border: 1px solid #e1e6ec;
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	padding: 14px 18px;
	cursor: default;
}

.price-tabs__tab strong {
	display: block;
	font-size: 16px;
	color: #16233a;
	margin-bottom: 2px;
}

.price-tabs__tab span {
	display: block;
	font-size: 12px;
	color: #7c8797;
}

.price-tabs__tab.is-active {
	background: var(--medeo-blue, #0682f6);
	border-color: var(--medeo-blue, #0682f6);
}

.price-tabs__tab.is-active strong,
.price-tabs__tab.is-active span {
	color: #fff;
}

/* --- Search bar --- */

.price-search {
	display: flex;
	gap: 10px;
	align-items: center;
	background: var(--medeo-blue, #0682f6);
	border-radius: 0 0 6px 6px;
	padding: 16px;
	margin-bottom: 32px;
}

.price-search__input {
	flex: 1 1 auto;
	border: none !important;
	border-radius: 4px;
	padding: 12px 14px !important;
	font-size: 14px;
	outline: none;
	background: #fff !important;
	color: #111;
}

.price-search__btn {
	flex: 0 0 auto;
	background: var(--medeo-green, #48b85e);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.price-search__btn:hover {
	background: #3ba250;
}

.price-search__empty {
	display: none;
	padding: 20px;
	text-align: center;
	color: #7c8797;
	font-size: 14px;
}

.price-search__empty.is-visible {
	display: block;
}

/* --- Category overview cards --- */

.price-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 48px;
}

.price-card {
	background: #fff;
	border: 1px solid #e5e9ee;
	border-radius: 8px;
	padding: 24px 26px 22px;
	min-width: 0;
}

.price-card__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #16233a;
}

.price-card__row {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 1.3;
	min-width: 0;
}

.price-card__name {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	color: #3b4656;
	flex: 1 1 auto;
	min-width: 0;
}

.price-card__name::after {
	content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";
	color: #c3cad3;
}

.price-card__price {
	flex: 0 0 auto;
	white-space: nowrap;
	color: #16233a;
	font-weight: 600;
}

.price-card__more {
	margin: 2px 0 16px;
	font-size: 12px;
	color: #9aa3b0;
}

.price-card__btn {
	display: inline-block;
	background: var(--medeo-green, #48b85e);
	color: #fff !important;
	border-radius: 4px;
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
}

.price-card__btn:hover {
	background: #3ba250;
	color: #fff;
}

@media (max-width: 767px) {
	.price-cards-grid {
		grid-template-columns: 1fr;
	}
	.price-tabs {
		flex-direction: column;
	}
}

/* --- Full detailed price tables (below the card overview) --- */

.price-page__categories {
	border-top: 1px solid #e5e9ee;
	padding-top: 8px;
}

.price-category {
	scroll-margin-top: 20px;
	padding: 28px 0;
	border-bottom: 1px solid #eef1f4;
}

.price-category:last-child {
	border-bottom: none;
}

.price-category__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: #16233a;
}

.price-category__table-wrap {
	overflow-x: auto;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.price-table thead th {
	background: var(--medeo-blue, #0682f6);
	color: #fff;
	text-align: left;
	font-weight: 600;
	padding: 10px 14px;
}

.price-table tbody td {
	padding: 9px 14px;
	border-bottom: 1px solid #eef1f4;
	color: #2a3446;
}

.price-table tbody tr:nth-child(even) {
	background: #f7f9fb;
}

.price-table__price {
	white-space: nowrap;
	font-weight: 600;
	text-align: right;
	width: 140px;
}

