/* Новость: алюминиевые перегородки Юркас (только страница новости с .dv-aluminium-news) */
.dv-aluminium-news {
	max-width: 100%;
}

.dv-aluminium-doors-news {
	max-width: 100%;
	overflow-x: clip;
}

.dv-aluminium-doors-news .accordion-body {
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
	box-sizing: border-box;
}

.dv-alu-lead {
	font-size: 16px;
	line-height: 1.55;
	margin-bottom: 12px;
}

.dv-alu-note {
	font-size: 14px;
	color: #21212199;
	margin-bottom: 24px;
}

.dv-alu-systems {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	margin-bottom: 32px;
}

.dv-alu-system-card {
	border: 1px solid #21212114;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.dv-alu-system-card__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.dv-alu-system-card__body {
	padding: 14px 16px 18px;
}

.dv-alu-system-card__title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 6px;
}

.dv-alu-system-card__type {
	font-size: 13px;
	color: #21212199;
	margin: 0 0 10px;
}

.dv-alu-system-card__price {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
}

.dv-alu-price-old {
	text-decoration: line-through;
	color: #21212166;
	margin-right: 8px;
}

.dv-alu-price-badge {
	display: inline-block;
	background: #e41e27;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
}

.dv-alu-price-new {
	color: #212121;
	font-size: 18px;
}

.dv-aluminium-features {
	margin-top: 8px;
	margin-bottom: 0;
}

.dv-alu-nested {
	margin-top: 12px;
}

.dv-alu-nested .accordion-button {
	font-size: 16px;
	padding: 14px 8px;
}

/* Карусель видео: один слайд, без UI плеера, как на каталоге поставщика */
.dv-feature-carousel--video .dv-slide-frame--video {
	height: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: 16 / 9;
	padding: 0;
	background: #1a1a1a;
	cursor: default;
	border-radius: 8px;
	overflow: hidden;
}

.dv-feature-carousel--video .dv-alu-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.dv-feature-carousel--video .dv-carousel-viewport {
	touch-action: pan-y;
}

/* Образцы стекла/профиля: широкий кадр, без пустых полей по высоте */
.dv-aluminium-news .dv-feature-carousel:not(.dv-feature-carousel--video) .dv-slide-frame--swatch {
	height: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
}

.dv-aluminium-news .dv-feature-carousel:not(.dv-feature-carousel--video) .dv-slide-frame--swatch img {
	max-width: 100%;
	max-height: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
}

.dv-aluminium-news .dv-feature-carousel:not(.dv-feature-carousel--video) .dv-slide-frame--swatch img.dv-loaded {
	opacity: 1;
}

/* Галерея и «технологии» — фото интерьера, выше кадр */
.dv-aluminium-news #dvCarouselAluGallery .dv-slide-frame--swatch,
.dv-aluminium-news #dvCarouselAluTech .dv-slide-frame--swatch,
.dv-aluminium-doors-news .dv-slide-frame--gallery {
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 0;
	max-height: none;
	cursor: zoom-in;
}

.dv-aluminium-news #dvCarouselAluGallery .dv-slide-frame--swatch img,
.dv-aluminium-news #dvCarouselAluTech .dv-slide-frame--swatch img,
.dv-aluminium-doors-news .dv-slide-frame--gallery img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-height: none;
	opacity: 0;
}

.dv-aluminium-news #dvCarouselAluGallery .dv-slide-frame--swatch img.dv-loaded,
.dv-aluminium-news #dvCarouselAluTech .dv-slide-frame--swatch img.dv-loaded,
.dv-aluminium-doors-news .dv-slide-frame--gallery img.dv-loaded {
	opacity: 1;
}

/* Алюминиевые двери: карточки линеек и блок профиля в аккордеоне */
.dv-alu-doors-grid {
	margin-bottom: 28px;
}

/* Карточки линеек — переход к якорю модели */
a.dv-alu-jump-card {
	display: block;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.dv-alu-jump-card:hover,
a.dv-alu-jump-card:focus {
	color: inherit;
	text-decoration: none;
	border-color: #21212133;
	box-shadow: 0 4px 16px rgba(33, 33, 33, 0.08);
}

a.dv-alu-jump-card:focus-visible {
	outline: 2px solid #e41e27;
	outline-offset: 2px;
}

.dv-alu-jump-card__hint {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #e41e27;
	font-weight: 500;
}

/* Секции вне аккордеона */
.dv-alu-section-title {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 16px;
	line-height: 1.3;
}

.dv-alu-static-section,
.dv-alu-model-block {
	margin-top: 36px;
	padding-top: 8px;
	scroll-margin-top: 96px;
}

.dv-alu-static-section:first-of-type {
	margin-top: 28px;
}

.dv-alu-section-body {
	max-width: 100%;
	min-width: 0;
}

.dv-alu-models-wrap {
	margin-top: 36px;
}

.dv-alu-model-block__title {
	margin-bottom: 14px;
}

.dv-alu-model-block .dv-alu-model-hero {
	margin-bottom: 16px;
}

/* Верхние карточки линеек — вертикальные фото двери целиком */
.dv-aluminium-doors-news .dv-alu-system-card__img {
	aspect-ratio: auto;
	max-height: 300px;
	object-fit: contain;
	object-position: center bottom;
	background: #f5f5f5;
}

/* Формы полотна в карусели — без обрезки */
.dv-aluminium-doors-news .dv-slide-frame--door {
	aspect-ratio: auto;
	height: auto;
	min-height: 0;
	max-height: none;
	padding: 12px 8px;
	background: #f5f5f5;
	cursor: zoom-in;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dv-aluminium-doors-news .dv-slide-frame--door img {
	position: static;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(58vh, 480px);
	object-fit: contain;
	opacity: 0;
}

.dv-aluminium-doors-news .dv-slide-frame--door img.dv-loaded {
	opacity: 1;
}

.dv-alu-model-hero {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 14px;
	margin-bottom: 20px;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Фото модели: на всю ширину аккордеона, высота по пропорциям, без рамки/слайда */
.dv-aluminium-doors-news .dv-alu-model-hero__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
	object-position: center top;
	vertical-align: top;
}

.dv-alu-model-hero__text {
	flex: none;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.dv-alu-model-hero__title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 10px;
}

.dv-alu-model-hero__price {
	margin: 12px 0 0;
	font-size: 15px;
}

.dv-alu-intro-block h4 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
}

@media (max-width: 767px) {
	.dv-aluminium-doors-news .dv-alu-system-card__img {
		max-height: 260px;
	}

	.dv-aluminium-doors-news .dv-slide-frame--door img {
		max-height: min(50vh, 400px);
	}
}

/* Кнопка заказа — после аккордеонов, не на линии последнего пункта */
.dv-alu-order-cta {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	clear: both;
	margin-top: 28px;
	margin-bottom: 8px;
	padding: 0 8px;
}

.dv-alu-order-cta .dv-alu-order-btn.itemPriceOrderButton_new {
	width: auto;
	min-width: 148px;
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	padding: 6px 28px;
	display: inline-block;
}

.dv-alu-tech-texts {
	margin-top: 20px;
}

.dv-alu-tech-block {
	margin-bottom: 20px;
}

.dv-alu-tech-block h4 {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 8px;
}

.dv-alu-tech-block ul {
	margin: 0;
	padding-left: 1.2em;
	font-size: 15px;
	line-height: 1.5;
	color: #212121cc;
}

@media (max-width: 767px) {
	.dv-alu-systems {
		grid-template-columns: 1fr;
	}

	.dv-feature-carousel {
		padding: 0 28px;
	}

	.dv-slide-frame--video {
		height: 220px;
	}

	.dv-alu-order-cta {
		justify-content: stretch;
		margin-top: 24px;
		margin-bottom: 16px;
		padding: 0 4px;
	}

	.dv-alu-order-cta .dv-alu-order-btn.itemPriceOrderButton_new {
		width: 100%;
		min-width: 0;
	}
}
