:root {
	--primary-color: #1e3a8a;
	--secondary-color: #f59e0b;
	--dark-color: #0f172a;
	--light-color: #f8fafc;
	--accent-color: #3b82f6;
}

/* ===== STICKY FOOTER ===== */
html, body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.content {
    flex: 1 0 auto !important;
    padding: 0 !important;
}

.footer {
    flex-shrink: 0 !important; 
    margin-top: auto !important;
}

/* ===== CONTENT ===== */
.content {
    max-width: 100%;
    min-height: 50vh;
}

.content h1 {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: var(--dark-color);
}

.content h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 30px 0 15px;
	color: var(--dark-color);
}
/* ===== CONTENT ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: 'Montserrat', sans-serif;
	color: #334155;
	line-height: 1.6;
	background: #f8fafc;
}


/* ===== HEADER ===== */
.header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 0;
}

.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 80px;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.logo:hover {
	color: var(--secondary-color);
	transform: scale(1.02);
}

.logo-icon {
	width: 45px;
	height: 45px;
	background: var(--secondary-color);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark-color);
	font-size: 1.5rem;
	font-weight: 800;
	box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.logo-text small {
	font-size: 0.7rem;
	font-weight: 500;
	opacity: 0.8;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Navigation */
.nav {
	display: flex;
	list-style: none;
	gap: 5px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav > li {
	position: relative;
}

.nav > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 8px;
	transition: all 0.3s ease;
	position: relative;
}

.nav > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: var(--secondary-color);
	border-radius: 3px 3px 0 0;
	transition: width 0.3s ease;
}

.nav > li > a:hover {
	color: white;
	background: rgba(255, 255, 255, 0.1);
}

.nav > li > a:hover::after {
	width: 60%;
}

/* Submenu */
.submenu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	min-width: 240px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	padding: 10px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all 0.3s ease;
	margin-top: 10px;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.submenu::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 30px;
	width: 16px;
	height: 16px;
	background: white;
	transform: rotate(45deg);
	border-left: 1px solid rgba(0, 0, 0, 0.05);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav > li:hover .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	color: #374151;
	text-decoration: none;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease;
}

.submenu li a::before {
	content: '›';
	color: var(--secondary-color);
	font-size: 1.3rem;
	font-weight: bold;
	transition: transform 0.2s ease;
}

.submenu li a:hover {
	background: var(--light-color);
	color: var(--primary-color);
	padding-left: 22px;
}

.submenu li a:hover::before {
	transform: translateX(3px);
}

/* Mobile burger button */
.burger {
	display: none;
	background: transparent;
	border: none;
	color: white;
	font-size: 1.8rem;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.burger:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--secondary-color);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
	background: white;
	border-bottom: 1px solid #e2e8f0;
	padding: 12px 0;
	font-size: 0.9rem;
}

.breadcrumbs-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.breadcrumbs a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.breadcrumbs a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}

.breadcrumbs span {
	color: #64748b;
}

.breadcrumbs .separator {
	margin: 0 8px;
	color: #cbd5e1;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.burger {
		display: block;
	}
	
	.nav {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 280px;
		height: calc(100vh - 80px);
		background: var(--dark-color);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 20px;
		transition: left 0.3s ease;
		overflow-y: auto;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
	}
	
	.nav.active {
		left: 0;
	}
	
	.nav > li > a {
		padding: 14px 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 0;
	}
	
	.nav > li > a::after {
		display: none;
	}
	
	.submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: rgba(255, 255, 255, 0.05);
		margin: 0;
		padding: 5px 0 5px 15px;
		border-radius: 0;
		border: none;
		display: none;
	}
	
	.submenu::before {
		display: none;
	}
	
	.nav > li.submenu-open .submenu {
		display: block;
	}
	
	.submenu li a {
		color: rgba(255, 255, 255, 0.8);
		padding: 10px 16px;
	}
	
	.submenu li a:hover {
		background: rgba(255, 255, 255, 0.1);
		color: var(--secondary-color);
	}
	
	.submenu li a::before {
		color: var(--secondary-color);
	}
}

@media (max-width: 576px) {
	.header-inner {
		min-height: 70px;
	}
	
	.logo {
		font-size: 1.2rem;
	}
	
	.logo-icon {
		width: 38px;
		height: 38px;
		font-size: 1.2rem;
	}
	
	.content h1 {
		font-size: 1.8rem;
	}
	
	.content h2 {
		font-size: 1.4rem;
	}
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgb(30 58 138 / 65%) 0%, rgb(30 58 138 / 65%) 100%), url(/uploads/gallery/gallery_6a3a5414f18e6.png?v=1782207509) center / cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	opacity: 0.95;
}

.hero-badge {
	display: inline-block;
	background: var(--secondary-color);
	color: var(--dark-color);
	padding: 0.5rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}

/* Buttons */
.btn-primary-custom {
	background: var(--secondary-color);
	border: none;
	color: var(--dark-color);
	padding: 0.875rem 2rem;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
	background: #d97706;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline-custom {
	background: transparent;
	border: 2px solid white;
	color: white;
	padding: 0.875rem 2rem;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.btn-outline-custom:hover {
	background: white;
	color: var(--primary-color);
}

/* Features Section */
.features-section {
	padding: 5rem 0;
	background: var(--light-color);
}

.feature-card {
	background: white;
	padding: 2.5rem 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid #e2e8f0;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	color: white;
	font-size: 2.5rem;
}

.feature-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

/* Categories Section */
.categories-section {
	padding: 5rem 0;
	background: white;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1rem;
	color: var(--dark-color);
	text-align: center;
}

.section-subtitle {
	font-size: 1.125rem;
	color: #64748b;
	text-align: center;
	margin-bottom: 3rem;
}

.category-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 280px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.category-card:hover {
	transform: scale(1.03);
}

.category-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.3) 100%);
	z-index: 1;
}

.category-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.category-card:hover img {
	transform: scale(1.1);
}

.category-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	color: white;
	z-index: 2;
}

.category-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

.category-link {
	color: var(--secondary-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

/* About Section */
.about-section {
	padding: 5rem 0;
	background: var(--light-color);
}

.about-image {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	color: var(--dark-color);
}

.about-text {
	font-size: 1.125rem;
	color: #475569;
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.about-list {
	list-style: none;
	padding: 0;
}

.about-list li {
	padding: 0.75rem 0;
	padding-left: 2rem;
	position: relative;
	font-size: 1.1rem;
}

.about-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--secondary-color);
	font-weight: bold;
	font-size: 1.5rem;
}

/* Products Section */
.products-section {
	padding: 5rem 0;
	background: white;
}

.product-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	border: 1px solid #e2e8f0;
	height: 100%;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
	height: 250px;
	overflow: hidden;
	background: #f1f5f9;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.1);
}

.product-content {
	padding: 1.5rem;
}

.product-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--dark-color);
}

.product-specs {
	list-style: none;
	padding: 0;
	margin-bottom: 1rem;
}

.product-specs li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.9rem;
	display: flex;
	justify-content: space-between;
}

.product-specs li:last-child {
	border-bottom: none;
}

.spec-label {
	color: #64748b;
}

.spec-value {
	font-weight: 600;
	color: var(--dark-color);
}

/* CTA Section */
.cta-section {
	padding: 5rem 0;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: white;
	text-align: center;
}

.cta-title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.cta-text {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

/* Stats Section */
.stats-section {
	padding: 4rem 0;
	background: var(--dark-color);
	color: white;
}

.stat-item {
	text-align: center;
	padding: 2rem 1rem;
}

.stat-number {
	font-size: 3.5rem;
	font-weight: 800;
	color: var(--secondary-color);
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 1.125rem;
	opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-subtitle {
		font-size: 1.25rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.about-title {
		font-size: 2rem;
	}
	
	.cta-title {
		font-size: 2rem;
	}
	
	.stat-number {
		font-size: 2.5rem;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fadeInUp {
	animation: fadeInUp 0.8s ease-out;
}

section.cta-section .cta-title {
    color: white;
}

.hero-content .hero-title {
    color: white;
}


/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.card img { width: 100%; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.1em; margin-bottom: 8px; }
.card-body h3 a { color: #1f2937; text-decoration: none; }
.card-body h3 a:hover { color: #2563eb; }
.card-body p { color: #6b7280; font-size: 0.9em; }

/* Product */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-gallery { position: relative; }
.product-gallery img { width: 100%; border-radius: 12px; cursor: pointer; }
.product-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.product-thumbs img:hover, .product-thumbs img.active { border-color: #2563eb; }
.product-info h1 { margin-bottom: 15px; }
.product-price { font-size: 2em; font-weight: 700; color: #059669; margin: 20px 0; }
.product-price .old-price { font-size: 0.5em; color: #9ca3af; text-decoration: line-through; margin-left: 10px; }
.btn { display: inline-block; padding: 12px 24px; background: #2563eb; color: #fff; text-decoration: none; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn:hover { background: #1d4ed8; }
.btn-lg { padding: 16px 32px; font-size: 1.1em; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-size: 2em; }

/* Footer */
.footer { background: #1f2937; color: #d1d5db; padding: 40px 20px; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

/* News */
.news-item { display: flex; gap: 20px; background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.news-item img { width: 200px; height: 150px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.news-meta { color: #6b7280; font-size: 0.85em; margin-bottom: 8px; }

/* Categories */
.category-card { text-align: center; padding: 30px; }
.category-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 15px; }
.category-card .count { color: #6b7280; font-size: 0.9em; }

@media (max-width: 768px) {
	.header-inner { flex-direction: column; height: auto; padding: 15px; }
	.nav { flex-wrap: wrap; justify-content: center; }
	.product-page { grid-template-columns: 1fr; }
	.news-item { flex-direction: column; }
	.news-item img { width: 100%; }
}

/* Hover эффекты для карточек */
.card {
    transition: all 0.3s ease !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-top {
    transition: transform 0.3s ease;
}

/* ===== СТИЛИ СТРАНИЦЫ ===== */
.page-article {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.page-header-custom {
    text-align: left;
    margin-bottom: 40px;
}

.page-header-custom h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
    margin-top: 10px;
}

/* ===== СТИЛИ ДЛЯ КОНТЕНТА ИЗ TINYMCE ===== */
.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-content h1 { font-size: 2.2rem; }
.page-content h2 { font-size: 1.8rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content h4 { font-size: 1.3rem; }
.page-content h5 { font-size: 1.1rem; }
.page-content h6 { font-size: 1rem; }

.page-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.page-content a {
    color: #1e3a8a;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.page-content a:hover {
    color: #f59e0b;
    text-decoration: none;
}

/* Изображения */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-content img.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 50%;
}

.page-content img.alignright {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 50%;
}

.page-content img.aligncenter {
    margin: 20px auto;
    display: block;
}

/* Списки */
.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content ul li::marker {
    color: #f59e0b;
}

.page-content ol li::marker {
    color: #1e3a8a;
    font-weight: 600;
}

/* Цитаты */
.page-content blockquote {
    border-left: 4px solid #f59e0b;
    background: #fef3c7;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #78350f;
}

.page-content blockquote p {
    margin-bottom: 0;
}

/* Таблицы */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-content table th,
.page-content table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.page-content table th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.page-content table tr:hover {
    background: #f8fafc;
}

.page-content table tr:last-child td {
    border-bottom: none;
}

/* Код */
.page-content code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.page-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.page-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Выделение текста */
.page-content strong,
.page-content b {
    color: #0f172a;
    font-weight: 700;
}

.page-content em,
.page-content i {
    color: #475569;
}

/* Разделители */
.page-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 40px 0;
}

/* Видео */
.page-content iframe {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-article {
        padding: 10px 0;
    }
    
    .page-header-custom h1 {
        font-size: 2rem;
    }
    
    .page-content {
        font-size: 1rem;
    }
    
    .page-content h1 { font-size: 1.8rem; }
    .page-content h2 { font-size: 1.5rem; }
    .page-content h3 { font-size: 1.3rem; }
    
    .page-content img.alignleft,
    .page-content img.alignright {
        float: none;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .page-content table {
        font-size: 0.9rem;
    }
    
    .page-content table th,
    .page-content table td {
        padding: 8px 12px;
    }
}

.category-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.category-hover-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-hover-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Описание товара */
.product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4 {
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-description table th,
.product-description table td {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.product-description table th {
    background: #1e3a8a;
    color: white;
}

.product-thumbs img:hover {
    border-color: #f59e0b !important;
    transform: scale(1.05);
}

/* Описание категории */
.category-description {
    margin-top: 20px;
}

.category-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.category-text p {
    margin-bottom: 1rem;
}

.category-text p:last-child {
    margin-bottom: 0;
}

.category-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.category-text ul,
.category-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.category-text h2,
.category-text h3,
.category-text h4 {
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Hover эффекты для карточек контактов */
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon {
    transition: transform 0.3s ease;
}

i.bi.bi-building.me-2 {
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-page h1 {
        font-size: 2rem !important;
    }
    
    .contact-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
}

/* ===== LIGHTBOX ===== */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#lightbox[style*="flex"] {
    display: flex !important;
}

#lightboxImg {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
    user-select: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	pointer-events: none;
}

/* Крестик закрытия */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 100000;
    user-select: none;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
    padding: 10px;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: #f59e0b;
}

/* Стрелки навигации */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    z-index: 100000;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}

.lightbox-nav:hover {
    color: #f59e0b;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* Подпись под изображением */
.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.1rem;
    max-width: 80%;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 32px;
    }
    
    .lightbox-nav {
        font-size: 36px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .lightbox-caption {
        bottom: 15px;
        font-size: 0.9rem;
        padding: 6px 15px;
    }
}

/* Типографика контента новости */
.news-content h2,
.news-content h3,
.news-content h4 {
    color: #0f172a;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-content h2 { font-size: 1.6rem; border-bottom: 2px solid #f59e0b; padding-bottom: 8px; }
.news-content h3 { font-size: 1.3rem; }
.news-content h4 { font-size: 1.1rem; }

.news-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-content ul,
.news-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.news-content blockquote {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #78350f;
}

.news-content a {
    color: #1e3a8a;
    text-decoration: underline;
}

.news-content a:hover {
    color: #f59e0b;
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.news-content table th,
.news-content table td {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.news-content table th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
}

.news-content table tr:nth-child(even) {
    background: #f8fafc;
}

/* Адаптивность */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: static !important;
        margin-top: 30px;
    }
    
    .news-content h1 {
        font-size: 1.8rem !important;
    }
}

/* Типографика контента страницы */
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-content h2 { 
    font-size: 1.8rem; 
    border-bottom: 2px solid #f59e0b; 
    padding-bottom: 8px;
    position: relative;
}

.page-content h3 { font-size: 1.4rem; }
.page-content h4 { font-size: 1.15rem; }

.page-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
    line-height: 1.8;
    color: #334155;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.page-content img:hover {
    transform: scale(1.02);
}

.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #334155;
}

.page-content blockquote {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    padding: 18px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #78350f;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-content a {
    color: #1e3a8a;
    text-decoration: underline;
    text-decoration-color: rgba(30, 58, 138, 0.3);
    transition: all 0.2s;
}

.page-content a:hover {
    color: #f59e0b;
    text-decoration-color: #f59e0b;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.page-content table th,
.page-content table td {
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.page-content table th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
}

.page-content table tr:nth-child(even) {
    background: #f8fafc;
}

.page-content table tr:hover {
    background: #eff6ff;
}

/* Список определений */
.page-content dl {
    margin-bottom: 1.5rem;
}

.page-content dt {
    font-weight: 700;
    color: #0f172a;
    margin-top: 1rem;
}

.page-content dd {
    margin-left: 1.5rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Код */
.page-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.page-content code {
    background: #f1f5f9;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.page-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Адаптивность */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: static !important;
        margin-top: 40px;
    }
    
    .page-content h1,
    .page-header-custom h1 {
        font-size: 2rem !important;
    }
}

/* Анимация появления */
.page-article {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover эффекты для виджетов сайдбара */
.sidebar-widget {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

/* ===== СОВРЕМЕННЫЕ ЗАГОЛОВКИ С ТЕНЯМИ ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    text-shadow: 2px 2px 4px rgba(30, 58, 138, 0.1);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 20px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    border-radius: 2px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 2rem;
    text-shadow: 1px 1px 2px rgba(30, 58, 138, 0.08);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.8rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.2rem;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Поиск в хлебных крошках - адаптивность */
@media (max-width: 768px) {
    .breadcrumb-search {
        width: 100%;
        margin-top: 10px;
    }
    
    .breadcrumb-search input {
        width: 100% !important;
        flex: 1;
    }
    
    .breadcrumb-search input:focus {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .breadcrumb-search {
        display: none; /* На очень маленьких экранах скрываем поиск */
    }
}