.product-documents-section {
	margin-top: 50px;
	margin-bottom: 50px;
}

.product-documents-section .header-section {
	margin-bottom: 24px;
}

.documentation-intro {
	font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: var(--brand100);
	margin-bottom: 30px;
}

.product-documents-section .header-section {
	font-size: 36px;
	font-weight: 400;
}

/* Слайдер */
.product-documents-section .slider-container {
	position: relative;
}

.product-documents-section .product-documents-swiper {
	overflow: hidden;
}

.product-documents-section .swiper-slide {
	height: auto;
}

/* Карточка документа */
.product-documents-section .document-card {
	border-radius: 12px;
	border: 1px solid var(--brand300);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 305px;
}

.product-documents-section .document-card h3 {
	font-weight: 700;
	font-size: 18px;
	line-height: 150%;
	color: var(--brand100);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

/* PDF превью */
.product-documents-section .pdf-preview-container {
	position: relative;
	overflow: hidden;
	min-height: 200px;
	max-height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-documents-section .pdf-canvas {
	max-width: 100%;
	max-height: 100%;
	display: block;
	background: white;
}

.product-documents-section .pdf-loading {
	padding: 20px;
	color: var(--brand100);
	font-size: 14px;
}

/* Иконки для не-PDF файлов */
.product-documents-section .file-icon-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 180px;
	gap: 12px;
	background: #f8f8f8;
	border-radius: 8px;
	margin: 8px 0;
}

.product-documents-section .file-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-documents-section .file-icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.product-documents-section .file-extension {
	font-size: 24px;
	font-weight: 700;
	color: var(--brand200);
}

.product-documents-section .file-size {
	font-size: 12px;
	color: var(--brand400);
	background: white;
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid var(--brand300);
}

/* Кнопки */
.product-documents-section .document-actions {
	display: flex;
	justify-content: center;
}

.product-documents-section .view-btn {
	width: 100%;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-decoration: underline;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	position: relative;
	cursor: pointer;
	align-items: center;
	color: var(--brand100);
}


.product-documents-section .view-btn::after{
	content: "";
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	background-color: var(--brand100);
	display: block;
	width: 9px;
	height: 17px;
	background-repeat: no-repeat;
}

.product-documents-section .document-card:hover .view-btn {
	color: var(--brand100);
}

/* Навигация слайдера */
.product-documents-section .swiper-button-next,
.product-documents-section .swiper-button-prev {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--brand300);
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.product-documents-section .swiper-button-prev {
	left: -20px;
}

.product-documents-section .swiper-button-next {
	right: -20px;
}

.product-documents-section .swiper-button-prev::after,
.product-documents-section .swiper-button-next::after {
	content: "";
	width: 9px;
	height: 17px;
	display: block;
	background-color: var(--brand100);
	-webkit-mask-size: contain;
	mask-size: contain;
}

.product-documents-section .swiper-button-next::after {
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.75 0.75L8.25 8.25L0.75 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

.product-documents-section .swiper-button-prev::after {
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.25 0.75L0.75 8.25L8.25 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='9' height='17' viewBox='0 0 9 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.25 0.75L0.75 8.25L8.25 15.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

.product-documents-section .swiper-button-next.swiper-button-disabled,
.product-documents-section .swiper-button-prev.swiper-button-disabled {
	opacity: 1;
	cursor: not-allowed;
}

.product-documents-section .swiper-button-next.swiper-button-disabled::after,
.product-documents-section .swiper-button-prev.swiper-button-disabled::after {
	background-color: #eaedef;
}


/* Прелоадер */
.product-documents-section .document-preloader {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
}

.product-documents-section .preloader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}

.product-documents-section .preloader-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid var(--brand200);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 10px;
}

.product-documents-section .preloader-text {
	color: var(--brand200);
	font-size: 14px;
	font-weight: 500;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
	.product-documents-section {
		margin: 40px 0;
	}

	.product-documents-section .document-card {
		padding: 16px;
		min-height: 280px;
	}

	.product-documents-section .document-card h3 {
		font-size: 14px;
		min-height: 40px;
	}

	.documentation-intro {
		margin-bottom: 16px;
	}

	.product-documents-section .swiper-button-prev {
		left: -10px;
	}

	.product-documents-section .swiper-button-next {
		right: -10px;
	}

}

@media (max-width: 500px) {

	.product-documents-section .document-card {
		min-height: 350px;
	}
	
	.product-documents-section .document-card {
		max-width: 100%;
	}

}