

/* Start:/local/components/latitudo/video.rail/templates/.default/style.css?179430489411344*/
/* Лента «Видео о продукции» (latitudo:video.rail, макет 1a, 28.10.2026).
   Размеры — из макета, цвета и шрифт — нового дизайна: текст #101014,
   серый #525264, красный #c60000, плашки rgba(82,82,100,.1), углы 4px. */

.nd-vr {
	margin: 56px 0 8px;
	color: #101014;
	/* переход по ссылке «Видео товаров …» из описания марки — не под шапку */
	scroll-margin-top: calc(var(--nd-header-h, 156px) + 16px);
}

.nd-vr__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.nd-vr__title {
	margin: 0;
	font-size: 32px;
	line-height: 40px;
	font-weight: 700;
	color: #101014;
}

.nd-vr__sub {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 22px;
	color: #525264;
}

.nd-vr__arrows {
	display: flex;
	gap: 8px;
	flex: none;
}

/* стрелки — как у «Полезно знать» и брендов (.nd-articles__arrow), Ирина 28.10.2026 */
.nd-vr__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(82, 82, 100, .1);
	color: #101014;
	cursor: pointer;
}

.nd-vr__arrow:hover:not(:disabled) {
	background: rgba(82, 82, 100, .2);
}

.nd-vr__arrow:disabled {
	opacity: .4;
	cursor: default;
}

/* фильтр */
.nd-vr__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.nd-vr__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 0;
	/* вид — как плашки разделов портфолио (.nd-sections__item): серый фон, 6px,
	   выбранная красная (Ирина, 10.11.2026; до этого — чёрная, углы 4px) */
	border-radius: 6px;
	background: rgba(82, 82, 100, .08);
	color: #101014;
	font: inherit;
	font-size: 15px;
	line-height: 22px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.nd-vr__chip[hidden],
.nd-vr__chips[hidden] {
	display: none;
}

.nd-vr__chip:hover {
	background: rgba(82, 82, 100, .16);
}

.nd-vr__chip-n {
	color: #8e8e9c;
}

.nd-vr__chip.is-active {
	background: #c60000;
	color: #fff;
}

.nd-vr__chip.is-active .nd-vr__chip-n {
	color: rgba(255, 255, 255, .75);
}

/* лента */
.nd-vr__rail {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.nd-vr__rail::-webkit-scrollbar {
	display: none;
}

.nd-vr__card {
	flex: 0 0 360px;
	min-width: 0;
	scroll-snap-align: start;
	cursor: pointer;
}

.nd-vr__card[hidden] {
	display: none;
}

.nd-vr__thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	border-radius: 4px;
	overflow: hidden;
	background: rgba(82, 82, 100, .1);
	cursor: pointer;
}

.nd-vr__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* у части превью с Rutube по краю кадра тонкая серая рамка (П-профиль
	   35x25) — чуть увеличиваем, чтобы края ушли за обрез */
	transform: scale(1.03);
	transition: transform .3s ease;
}

.nd-vr__card:hover .nd-vr__img {
	transform: scale(1.06);
}

/* значок видео — как на карточках товаров (.colproduct_video в
   css/newdesign-catalog.css): чёрный круг 32px с белым треугольником, по
   центру превью; голубая кнопка Rutube 48–64px была крупной (Ирина, 28.10.2026) */
.nd-vr__play {
	position: absolute;
	/* по центру превью (Ирина, 28.10.2026: сначала стоял в правом верхнем углу) */
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	background: #101014;
	color: #fff;
	transition: opacity .15s ease;
}

.nd-vr__play svg {
	margin-left: 2px;
}

.nd-vr__card:hover .nd-vr__play {
	opacity: .85;
}

.nd-vr__series,
.nd-vr__dur {
	position: absolute;
	bottom: 10px;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
}

.nd-vr__series {
	left: 10px;
	background: #fff;
	color: #101014;
}

.nd-vr__dur {
	right: 10px;
	background: rgba(16, 16, 20, .75);
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.nd-vr__body {
	padding-top: 14px;
}

.nd-vr__name {
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	color: #101014;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nd-vr__link,
.nd-vr__link:hover,
.nd-vr__link:focus {
	color: inherit;
	text-decoration: none;
}

/* тема задаёт «h3 a» 20px/700 — подпись как у плиток разделов: 16/22, 600 (Ирина, 28.10.2026) */
.nd-vr__name .nd-vr__link {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

/* страница «Видео» (/info/video/): сетка вместо ленты, марка над названием */
.nd-vr--grid {
	margin-top: 0;
}

.nd-vr__sub--page {
	margin: 0 0 24px;
}

.nd-vr__chips--brands {
	margin-top: -12px;
}

.nd-vr--grid .nd-vr__rail {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 20px;
	overflow: visible;
	scroll-snap-type: none;
}

.nd-vr__brand {
	margin-bottom: 4px;
	font-size: 13px;
	line-height: 18px;
	color: #525264;
}

@media (max-width: 991px) {
	.nd-vr--grid .nd-vr__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* окно */
.nd-vr-lock,
.nd-vr-lock body {
	overflow: hidden;
}

.nd-vr-modal {
	position: fixed;
	inset: 0;
	z-index: 3100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(16, 16, 20, .7);
}

.nd-vr-modal[hidden] {
	display: none;
}

.nd-vr-modal__box {
	display: flex;
	width: 100%;
	max-width: 1180px;
	max-height: calc(100vh - 48px);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	color: #101014;
}

.nd-vr-modal__player {
	flex: 1 1 auto;
	align-self: center;
	aspect-ratio: 16 / 9;
	background: #000;
}

.nd-vr-modal__player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.nd-vr-modal__side {
	flex: 0 0 300px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	overflow-y: auto;
}

.nd-vr-modal__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.nd-vr-modal__kicker {
	padding-top: 6px;
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #525264;
}

.nd-vr-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(82, 82, 100, .1);
	color: #101014;
	cursor: pointer;
}

.nd-vr-modal__close:hover {
	background: rgba(82, 82, 100, .2);
}

.nd-vr-modal__title {
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
}

.nd-vr-modal__variants {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nd-vr-modal__variant {
	padding: 6px 10px;
	border: 1px solid rgba(82, 82, 100, .2);
	border-radius: 4px;
	background: #fff;
	color: #101014;
	font: inherit;
	font-size: 13px;
	line-height: 16px;
	cursor: pointer;
}

.nd-vr-modal__variant:hover {
	border-color: #101014;
}

.nd-vr-modal__variant.is-active {
	border-color: #c60000;
	box-shadow: inset 0 0 0 1px #c60000;
}

.nd-vr-modal__product {
	padding-top: 12px;
	border-top: 1px solid rgba(82, 82, 100, .15);
	font-size: 14px;
	line-height: 20px;
	color: #525264;
}

.nd-vr-modal__price {
	font-size: 22px;
	line-height: 28px;
	font-weight: 700;
}

.nd-vr-modal__buy {
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-radius: 4px;
	background: #c60000;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease;
}

.nd-vr-modal__buy:hover:not(:disabled) {
	background: #a30000;
}

.nd-vr-modal__buy:disabled {
	opacity: .6;
	cursor: default;
}

.nd-vr-modal__msg {
	font-size: 13px;
	line-height: 18px;
	color: #525264;
}

.nd-vr-modal__msg:empty {
	display: none;
}

.nd-vr-modal__msg a,
.nd-vr-modal__link {
	color: #c60000;
}

.nd-vr-modal__link {
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.nd-vr-modal__link:hover {
	text-decoration: underline;
}

.nd-vr-modal [hidden] {
	display: none !important;
}

/* Высоту окна задаёт видео: правая колонка с длинным названием и списком
   вариантов (перголы) была выше плеера, и над/под видео оставались белые
   полосы (Ирина, 28.10.2026). contain: size — колонка не растягивает окно,
   а прокручивается внутри. Только на компьютере: на телефоне колонка под видео. */
@media (min-width: 992px) {
	.nd-vr-modal__player {
		align-self: stretch;
	}

	.nd-vr-modal__side {
		contain: size;
		overflow: hidden;
	}

	/* прокручивается только список вариантов — цена и «В корзину» всегда видны
	   (у ограждений Вуд-Икс вариантов 25) */
	.nd-vr-modal__variants {
		flex: 0 1 auto;
		min-height: 0;
		overflow-y: auto;
	}

	.nd-vr-modal__title,
	.nd-vr-modal__product,
	.nd-vr-modal__price,
	.nd-vr-modal__buy,
	.nd-vr-modal__link,
	.nd-vr-modal__top {
		flex: none;
	}
}

@media (max-width: 991px) {
	.nd-vr-modal {
		padding: 0;
		align-items: stretch;
	}

	.nd-vr-modal__box {
		position: relative;
		flex-direction: column;
		max-height: none;
		border-radius: 0;
	}

	.nd-vr-modal__player {
		flex: none;
		align-self: stretch;
		width: 100%;
	}

	.nd-vr-modal__side {
		flex: 1 1 auto;
	}

	/* крестик — поверх плеера, иначе на телефоне он под видео */
	.nd-vr-modal__close {
		position: absolute;
		top: 12px;
		right: 12px;
		z-index: 2;
		background: rgba(255, 255, 255, .9);
	}
}

@media (max-width: 767px) {
	.nd-vr {
		margin-top: 40px;
	}

	.nd-vr__head {
		align-items: flex-start;
		margin-bottom: 16px;
	}

	.nd-vr__title {
		font-size: 24px;
		line-height: 30px;
	}

	.nd-vr__sub {
		font-size: 14px;
		line-height: 20px;
	}

	/* на телефоне листают пальцем — стрелки не нужны */
	.nd-vr__arrows {
		display: none;
	}

	/* фильтр — одной строкой с прокруткой, как лента */
	.nd-vr__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-bottom: 16px;
	}

	.nd-vr__chips::-webkit-scrollbar {
		display: none;
	}

	.nd-vr__chip {
		padding: 6px 12px;
		font-size: 14px;
		line-height: 20px;
	}

	.nd-vr__rail {
		gap: 12px;
	}

	.nd-vr__card {
		flex-basis: 80%;
	}

	.nd-vr--grid .nd-vr__rail {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.nd-vr__chips--brands {
		margin-top: -8px;
	}
}

/* End */
/* /local/components/latitudo/video.rail/templates/.default/style.css?179430489411344 */
