/* /supplier/ — NOK-блоки и контакты региона (в духе sidelki-landing) */
.supplier-nok {
	--sn-ink: var(--blue-dark, #27314a);
	--sn-muted: #888b91;
	--sn-line: #f3eeee;
	--sn-pill: #f7f7f8;
	--sn-accent: #d1416b;
	--sn-radius: 1.5rem;
	--sn-radius-sm: 1rem;
	color: var(--sn-ink);
}

.supplier-nok + .supplier-nok {
	margin-top: clamp(2rem, 1.2rem + 2vw, 3.5rem);
}

.region-info.supplier-nok {
	margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
}

.region-info.supplier-nok .region-info__text {
	margin-top: 0;
	max-width: 52rem;
	color: var(--sn-muted);
	font-size: clamp(0.9375rem, 0.88rem + 0.28vw, 1.1875rem);
	line-height: 1.45;
	font-weight: 500;
}

.title-supplier,
.supplier-nok .title-supplier {
	margin: 0 0 1rem;
	font-weight: 300;
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
	line-height: 1.25;
	color: var(--sn-ink);
	max-width: 46rem;
}

.supplier-nok__lead {
	margin: 0 0 1.5rem;
	max-width: 42rem;
	color: var(--sn-muted);
	font-size: clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
	line-height: 1.45;
	font-weight: 500;
}

/* —— Участники НОК: сетка карточек —— */
.quality-page__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
}

@media (min-width: 640px) {
	.quality-page__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 1100px) {
	.quality-page__items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.125rem;
	}
}

.quality-page__item.item-quality {
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: var(--sn-pill);
	border: 1px solid var(--sn-line);
	border-radius: var(--sn-radius);
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.item-quality__title {
	margin: 0;
	font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--sn-ink);
}

.item-quality__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.item-quality__item {
	position: relative;
	padding-left: 0.95rem;
	color: var(--sn-muted);
	font-size: clamp(0.8125rem, 0.79rem + 0.12vw, 0.9375rem);
	line-height: 1.4;
	font-weight: 500;
}

.item-quality__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: var(--sn-accent);
}

/* —— Критерии: одна сетка —— */
.criteria-page__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
	gap: 0.75rem;
}

.criteria-page__item.item-criteria {
	margin: 0;
	padding: 1.1rem 1.25rem;
	background: #fff;
	border: 1px solid var(--sn-line);
	border-radius: var(--sn-radius-sm);
	min-width: 0;
}

.item-criteria__text {
	margin: 0;
	font-size: clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
	font-weight: 600;
	line-height: 1.35;
	color: var(--sn-ink);
}

/* —— Порядок расчёта —— */
.order-page.supplier-nok .order-page__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: stretch;
	justify-items: stretch;
}

@media (min-width: 900px) {
	.order-page.supplier-nok .order-page__container {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 1.25rem;
		justify-items: stretch;
	}
}

/* Телефон/планшет: оба блока на всю ширину и по центру (перебиваем width из custom.css) */
@media (max-width: 899.98px) {
	.order-page.supplier-nok .order-page__container {
		justify-items: center;
	}

	.order-page.supplier-nok .order-page__body,
	.order-page.supplier-nok .content-order {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

.order-page.supplier-nok .order-page__body {
	margin: 0;
	padding: 1.5rem 1.5rem 1.65rem;
	background: var(--sn-pill);
	border: 1px solid var(--sn-line);
	border-radius: var(--sn-radius);
	min-width: 0;
}

.order-page.supplier-nok .order-page__subtitle {
	margin: 0 0 1rem;
	color: var(--sn-accent);
	font-size: clamp(0.8125rem, 0.79rem + 0.12vw, 0.9375rem);
	font-weight: 600;
	line-height: 1.4;
}

.order-page.supplier-nok .order-page__text {
	margin: 0 0 0.75rem;
	color: var(--sn-muted);
	font-size: clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
	line-height: 1.45;
	font-weight: 500;
}

.order-page.supplier-nok .order-page__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.order-page.supplier-nok .order-page__item {
	position: relative;
	padding-left: 0.95rem;
	color: var(--sn-ink);
	font-size: clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
	line-height: 1.4;
	font-weight: 500;
}

.order-page.supplier-nok .order-page__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: var(--sn-accent);
}

.order-page.supplier-nok .content-order {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 1.5rem 1.5rem 1.65rem;
	border-radius: var(--sn-radius);
	background: linear-gradient(135deg, #d1416b 0%, #f9769c 55%, #ffccb2 100%);
	color: #fff;
	overflow: hidden;
	min-width: 0;
}

.order-page.supplier-nok .content-order::before {
	display: none;
}

.order-page.supplier-nok .content-order__title {
	margin: 0 0 1rem;
	font-size: clamp(0.875rem, 0.84rem + 0.2vw, 1.0625rem);
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0.01em;
	color: #fff;
}

.order-page.supplier-nok .content-order__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.order-page.supplier-nok .content-order__item {
	margin: 0;
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 0.75rem;
	font-size: clamp(0.8125rem, 0.79rem + 0.12vw, 0.9375rem);
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

/* —— Переключатель регионов (над блоками НОК и контентом региона) —— */
.supplier-regions {
	margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
}

.supplier-region > .supplier-nok:first-of-type {
	margin-top: 0;
}

/* Класс *__container попадает под сайтский [class*="__container"] (max-width 85.3125rem) */
.supplier-region-switcher__container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 0.4rem + 1.2vw, 1.5rem);
	margin-bottom: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem);
	align-items: stretch;
	box-sizing: border-box;
}

@media (max-width: 899.98px) {
	.supplier-region-switcher__container {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

.supplier-region-tab {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0.625rem;
	width: 100%;
	margin: 0;
	padding: clamp(1rem, 0.7rem + 1vw, 2.5rem);
	border: 3px solid #f1ecec;
	border-radius: 2.125rem;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #27314a;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	overflow: hidden;
	transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

@media (max-width: 1720px) {
	.supplier-region-tab {
		border-radius: calc(16px + 18 * ((100vw - 320px) / 1400));
	}
}

.supplier-region-tab__title {
	display: block;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	font-size: clamp(0.875rem, 0.75rem + 0.55vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	color: inherit;
}

.supplier-region-tab__text {
	display: block;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	max-width: 100%;
	font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
	font-weight: 500;
	line-height: 1.25;
	color: inherit;
}

.supplier-region-tab.is-active {
	border-color: #eec3cf;
	background: #eec3cf;
	color: #000;
}

@media (any-hover: hover) {
	.supplier-region-tab:hover:not(.is-active) {
		background: #eec3cf;
		color: #000;
	}
}

.supplier-region-tab:focus-visible {
	outline: 2px solid #d1416b;
	outline-offset: 3px;
}

.supplier-region[hidden] {
	display: none !important;
}

.supplier-region.is-active {
	display: block;
}

.supplier-regions .region-location {
	margin-top: 0;
}

.supplier-regions .region-location__title {
	margin-top: 0;
}

.region-location .supplier-office-tabs {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #f0ebea;
}

.region-location .spoller-links__body .tabs-fill__navigation {
	margin-bottom: 1rem;
}


.region-location .tabs-fill__title {
	min-height: 2.25rem;
	padding: 0.5rem 1.15rem;
	border: 0;
	cursor: pointer;
	font-size: 0.9375rem;
}

.region-location .contacts__block.supplier-office,
.region-location .contacts__block {
	display: grid;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 1px solid #f0ebea;
	border-radius: 1.75rem;
	overflow: hidden;
	box-shadow: none;
}

@media (min-width: 900px) {
	.region-location .contacts__block.supplier-office,
	.region-location .contacts__block {
		grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
	}
}

@media (max-width: 899.98px) {
	.region-location .contacts__block.supplier-office,
	.region-location .contacts__block {
		grid-template-columns: 1fr;
	}
}

.region-location .contacts__info {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	min-width: 0;
	padding: 1.5rem 1.35rem 1.5rem 1.5rem;
}

.region-location .contacts__head {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.region-location .contacts__address {
	margin: 0;
	max-width: none;
	font-weight: 600;
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
	line-height: 1.3;
	color: var(--blue-dark, #27314a);
}

.region-location .contacts__reg {
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	color: #8b9099;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
}

.region-location .contacts__reg-label {
	color: #a0a5ae;
}

.region-location .contacts__reg-label::after {
	content: ":";
}

.region-location .contacts__channels {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.region-location .contacts__channel {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: #f5f6f8;
	color: var(--blue-dark, #27314a);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.region-location .contacts__channel:hover {
	background: #eceef2;
	color: #d1416b;
}

.region-location .contacts__channel--mail {
	font-weight: 500;
}

/* legacy staff-row (если где-то останется) */
.region-location .contacts__staff {
	margin: 0;
	width: 100%;
}

.region-location .contacts__staff-row {
	display: contents;
}

.region-location .schedule {
	overflow: visible;
	padding-bottom: 0;
	width: 100%;
	margin-top: 0.15rem;
}

.region-location .schedule__list {
	display: grid !important;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.4rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.region-location .schedule__item {
	display: flex !important;
	flex: none !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.15rem;
	min-width: 0 !important;
	max-width: none !important;
	max-height: none !important;
	width: auto !important;
	min-height: 4.75rem;
	margin: 0;
	padding: 0.45rem 0.2rem 0.5rem;
	border-radius: 0.75rem;
	background: #f5f6f8;
	box-sizing: border-box;
	font-size: 0.75rem;
	text-align: center;
}

.region-location .schedule__week {
	display: block;
	margin: 0;
	padding: 0.1rem 0 0.2rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--blue-dark, #27314a);
}

.region-location .schedule__time-from,
.region-location .schedule__time-to {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0.28rem 0;
	font-weight: 500;
	font-size: 0.6875rem;
	line-height: 1.2;
	border: 0;
	color: #5c6473;
}

.region-location .schedule__time-from {
	border-bottom: 1px solid #e2e5ea;
}

.region-location .schedule__item--off {
	background: #faf7f8;
	justify-content: center;
	gap: 0.35rem;
}

.region-location .schedule__item--off .schedule__week {
	color: #9aa0aa;
}

.region-location .schedule__off {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: 100%;
	padding: 0.35rem 0.15rem;
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1.2;
	color: #a3a8b3;
	text-transform: lowercase;
}

.region-location .contacts__map {
	padding: 0.75rem;
	min-width: 0;
	background: #fafafa;
}

.region-location .contacts__map .map {
	width: 100%;
	height: 20rem;
	min-height: 20rem;
	border-radius: 1.25rem;
	overflow: hidden;
	background: #eef0f3;
}

@media (min-width: 900px) {
	.region-location .contacts__map {
		display: flex;
		flex-direction: column;
		min-height: 20rem;
	}

	.region-location .contacts__map .map {
		flex: 1 1 auto;
		height: 100%;
		min-height: 20rem;
	}
}

@media (max-width: 899.98px) {
	.region-location .contacts__map .map {
		height: 16rem;
		min-height: 16rem;
	}
}

@media (max-width: 719.98px) {
	.region-location .schedule__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 479.98px) {
	.region-location .contacts__info {
		padding: 1.15rem;
		gap: 1rem;
	}

	.region-location .contacts__channel {
		width: 100%;
		justify-content: center;
	}

	.region-location .schedule__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.region-location .schedule__item {
		min-height: 4.25rem;
	}
}
