

/* Start:/local/templates/eshop_bootstrap_v4/pdf-catalog.css?17930293048915*/
/* ==========================================================================
   Каталог PDF — карточки, детальная страница, просмотрщик
   ========================================================================== */

.pdf-catalog {
	--pdf-accent: var(--theme-color-primary, #63aa28);
	--pdf-accent-soft: rgba(99, 170, 40, .12);
	--pdf-ink: #1f2933;
	--pdf-muted: #6b7280;
	--pdf-line: #e6e9ee;
}

/* пустой <h1> из header.php (шаблон выводит его до компонента) */
#pagetitle,
#navigation {
	display: none !important;
}

.pdf-catalog__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}

.pdf-catalog__title {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--pdf-ink);
}

.pdf-catalog__lead {
	margin: 0;
	max-width: 720px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--pdf-muted);
}

.pdf-catalog__count {
	font-size: 13px;
	color: var(--pdf-muted);
	white-space: nowrap;
}

/* --- сетка --- */
.pdf-grid {
	margin-left: -10px;
	margin-right: -10px;
}

.pdf-grid > [class*="col-"] {
	padding-left: 10px;
	padding-right: 10px;
}

/* --- карточка --- */
.pdf-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--pdf-line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pdf-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
	border-color: #d8dee6;
}

.pdf-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: #f3f5f8;
	overflow: hidden;
}

.pdf-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.pdf-card:hover .pdf-card__cover img {
	transform: scale(1.04);
}

.pdf-card__stub {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eef1f5 0%, #e1e7ee 100%);
	color: #a4aebd;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: .16em;
}

.pdf-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 8px;
	border-radius: 4px;
	background: #e5484d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
}

.pdf-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 14px 14px 16px;
}

.pdf-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600;
}

.pdf-card__name a {
	color: var(--pdf-ink);
	text-decoration: none;
}

.pdf-card__name a:hover {
	color: var(--pdf-accent);
	text-decoration: none;
}

.pdf-card__desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--pdf-muted);
}

.pdf-card__meta {
	margin-top: auto;
	font-size: 12px;
	line-height: 1.4;
	color: #9aa4b2;
}

.pdf-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.pdf-card__actions .btn {
	flex: 1 1 auto;
	padding: .3rem .55rem;
	font-size: 13px;
	white-space: nowrap;
}

/* --- пустое состояние --- */
.pdf-catalog__empty {
	padding: 48px 24px;
	border: 1px dashed #d8dee6;
	border-radius: 12px;
	background: #fafbfc;
	text-align: center;
	color: var(--pdf-muted);
}

.pdf-catalog__empty strong {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
	color: var(--pdf-ink);
}

/* --- чипсы разделов --- */
.pdf-sections {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.pdf-sections a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--pdf-line);
	border-radius: 100px;
	background: #fff;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.pdf-sections a:hover {
	border-color: var(--pdf-accent);
	color: var(--pdf-accent);
	text-decoration: none;
}

.pdf-sections a.is-active {
	border-color: var(--pdf-accent);
	background: var(--pdf-accent);
	color: #fff;
}

/* --- детальная страница --- */
.pdf-detail__breadcrumb {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #9aa4b2;
}

.pdf-detail__breadcrumb a {
	color: var(--pdf-muted);
	text-decoration: none;
}

.pdf-detail__breadcrumb a:hover {
	color: var(--pdf-accent);
}

.pdf-detail__breadcrumb .sep {
	margin: 0 6px;
}

.pdf-detail__title {
	margin: 0 0 20px;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--pdf-ink);
}

.pdf-detail__cover {
	margin-bottom: 16px;
	border: 1px solid var(--pdf-line);
	border-radius: 12px;
	overflow: hidden;
	background: #f3f5f8;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.pdf-detail__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.pdf-detail__cover .pdf-card__stub {
	position: relative;
	aspect-ratio: 3 / 4;
}

.pdf-detail__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pdf-detail__meta {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--pdf-muted);
}

.pdf-detail__meta li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #f1f3f6;
}

.pdf-detail__meta li span:first-child {
	color: #9aa4b2;
}

.pdf-detail__text {
	font-size: 15px;
	line-height: 1.65;
	color: #374151;
}

.pdf-detail__text p {
	margin: 0 0 12px;
}

.pdf-detail__viewer {
	margin-top: 28px;
	border: 1px solid var(--pdf-line);
	border-radius: 12px;
	overflow: hidden;
	background: #4a4f55;
}

.pdf-detail__viewer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	background: #34383d;
	color: #d5d9de;
	font-size: 13px;
}

.pdf-detail__viewer iframe {
	display: block;
	width: 100%;
	height: 80vh;
	min-height: 460px;
	border: 0;
	background: #525659;
}

.pdf-detail__back {
	display: inline-block;
	margin-top: 20px;
	font-size: 14px;
	color: var(--pdf-muted);
	text-decoration: none;
}

.pdf-detail__back:hover {
	color: var(--pdf-accent);
	text-decoration: none;
}

/* ==========================================================================
   Плитки документов (главная и /pdf/)
   ========================================================================== */

.pdf-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px 20px;
	margin: 0;
	padding: 0;
}

.pdf-tile {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pdf-tile__cover {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	padding: 10px;
	background: #eceff4;
	border: 1px solid var(--pdf-line);
	border-radius: 8px;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pdf-tile__cover:hover,
.pdf-tile__cover:focus {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
	border-color: var(--pdf-accent);
	outline: none;
}

.pdf-tile__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pdf-tile__stub {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eef1f5 0%, #e1e7ee 100%);
	color: #a4aebd;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .14em;
}

.pdf-tile__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 7px;
	border-radius: 4px;
	background: #e5484d;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
}

.pdf-tile__body {
	padding: 10px 2px 0;
}

.pdf-tile__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--pdf-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.pdf-tile__name:hover,
.pdf-tile__name:focus {
	color: var(--pdf-accent);
	text-decoration: none;
}

.pdf-tile__meta {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.4;
	color: #9aa4b2;
}

@media (max-width: 575.98px) {
	.pdf-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.pdf-tile__name {
		font-size: 13px;
	}

	.pdf-tile__meta {
		font-size: 11px;
	}
}

@media (max-width: 991.98px) {
	.pdf-catalog__title,
	.pdf-detail__title {
		font-size: 24px;
	}

	.pdf-detail__cover {
		max-width: 320px;
	}

	.pdf-detail__viewer iframe {
		height: 65vh;
		min-height: 380px;
	}
}

@media (max-width: 575.98px) {
	.pdf-catalog__title,
	.pdf-detail__title {
		font-size: 21px;
	}

	.pdf-card__actions .btn {
		font-size: 12px;
	}
}

/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1763105437272*/
.page-link,.page-link:hover{color:var(--theme-color-primary)}.page-item.active .page-link{color:var(--theme-b-tx-primary);background-color:var(--theme-color-primary);border-color:var(--theme-color-primary)}.page-link:focus{box-shadow:0 0 0 .2rem var(--theme-b-sd-primary)}
/* End */
/* /local/templates/eshop_bootstrap_v4/pdf-catalog.css?17930293048915 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1763105437272 */
