/* =========================================================
   NEWVESY
   Template styles
   ========================================================= */

/* =========================================================
   BASE
   ========================================================= */
* {
	box-sizing: border-box;
}
html {
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background: #f5f6f7;
}
a {
	color: #245b8a;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* =========================================================
   CONTAINER
   ========================================================= */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	background: #ffffff;
	border-bottom: 1px solid #dfe3e6;
}
.site-header > .container {
	min-height: 100px;
	display: flex;
	align-items: center;
	gap: 30px;
}

/* Logo */
.logo {
	flex: 0 0 439px;
	width: 439px;
	height: 86px;
}
.logo a {
	display: block;
	width: 439px;
	height: 86px;
}
.logo img {
	display: block;
	width: 439px;
	height: 86px;
	max-width: none;
}

/* Header right */
.header-right {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	color: #4a4f54;
	font-size: 14px;
	line-height: 1.45;
}
.header-right .moduletable {
	margin: 0;
}
.header-right p {
	margin: 0;
}
.header-right .contact-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
}
.header-right .contact-row {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.header-right .contact-icon {
	width: 22px;
	flex: 0 0 22px;
	text-align: center;
	font-size: 17px;
	line-height: 1;
}
.header-right a {
	color: #3d596d;
	text-decoration: none;
}
.header-right a:hover {
	color: #245b8a;
	text-decoration: underline;
}

/* =========================================================
   MAIN MENU
   ========================================================= */
.main-menu {
	position: relative;
	width: 100%;
	background: #26333d;
	border-bottom: 3px solid #1d2830;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}
.main-menu > .container {
	min-height: 54px;
	display: flex;
	align-items: center;
}

/* Joomla menu reset */
.main-menu .mod-menu,
.main-menu .mod-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-menu .mod-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* First level */
.main-menu .mod-menu {
	display: flex;
	align-items: stretch;
	width: 100%;
}
.main-menu .mod-menu > li {
	position: relative;
	flex: 0 0 auto;
}
.main-menu .mod-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 0 18px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 0;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}
.main-menu .mod-menu > li > a:hover {
	color: #ffffff;
	background: #245b8a;
	text-decoration: none;
}

/* Active */
.main-menu .mod-menu > li.active > a,
.main-menu .mod-menu > li.current > a {
	color: #ffffff;
	background: #245b8a;
}

/* Submenus */
.main-menu .mod-menu__sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: block;
	min-width: 250px;
	margin: 0;
	padding: 8px 0;
	background: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 0 0 5px 5px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(5px);
	transition:
		opacity 0.15s ease,
		visibility 0.15s ease,
		transform 0.15s ease;
}
.main-menu .mod-menu > li:hover > .mod-menu__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Submenu items */
.main-menu .mod-menu__sub > li {
	position: relative;
	width: 100%;
}
.main-menu .mod-menu__sub a {
	display: block;
	padding: 9px 16px;
	color: #333333;
	font-size: 15px;
	line-height: 1.35;
	white-space: nowrap;
}
.main-menu .mod-menu__sub a:hover {
	color: #ffffff;
	background: #245b8a;
	text-decoration: none;
}

/* Second / third level */
.main-menu .mod-menu__sub .mod-menu__sub {
	top: -9px;
	left: 100%;
	transform: translateX(5px);
}
.main-menu .mod-menu__sub li:hover > .mod-menu__sub {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
.main-menu .mod-menu__toggle-sub {
	display: none;
}

/* =========================================================
   TOP AREA
   ========================================================= */
.top-area {
	width: 100%;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
main.container {
	padding-top: 20px;
	padding-bottom: 40px;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
	margin-bottom: 25px;
}
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 10px 14px;
	list-style: none;
	background: #ffffff;
	border: 1px solid #e1e5e8;
	border-radius: 5px;
	font-size: 14px;
	color: #777;
}
.breadcrumb li {
	margin: 0;
	padding: 0;
}
.breadcrumb li + li::before {
	content: "›";
	margin: 0 9px;
	color: #aaa;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.layout {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		220px;
	gap: 30px;
	align-items: start;
}

/* ---------------------------------------------------------
   Left sidebar
   --------------------------------------------------------- */
.sidebar-left {
	display: none;
	min-width: 0;
}

/* ---------------------------------------------------------
   Main component
   --------------------------------------------------------- */
.component {
	grid-column: 1;
	min-width: 0;
	background: #ffffff;
	padding: 30px;
	border: 1px solid #e1e5e8;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ---------------------------------------------------------
   Right sidebar
   --------------------------------------------------------- */
.sidebar-right {
	grid-column: 2;
	min-width: 0;
}

/* =========================================================
   SIDEBAR MODULES
   ========================================================= */
/*
   Важно:
   сама sidebar-left / sidebar-right ничего не рисует.
   Белый фон, рамка и padding принадлежат конкретному
   модулю .moduletable.
   Поэтому пустая колонка остаётся полностью пустой.
*/
.sidebar-left > *,
.sidebar-right > * {
	margin: 0 0 20px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid #e1e5e8;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-left > *:last-child,
.sidebar-right > *:last-child {
	margin-bottom: 0;
}

/* Заголовки модулей */
.sidebar-left .moduletable h3,
.sidebar-right .moduletable h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	color: #333333;
	font-size: 18px;
	line-height: 1.3;
	border-bottom: 1px solid #e1e5e8;
}

/* =========================================================
   CONTENT BOTTOM
   ========================================================= */
.content-bottom {
	margin-top: 30px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	margin-top: 40px;
	padding: 30px 0;
	background: #26333d;
	color: #dce2e6;
}
.site-footer a {
	color: #ffffff;
}

/* =========================================================
   CATEGORY TITLE
   ========================================================= */
.com-content-category-blog.blog > h1 {
	position: relative;
	margin: 0 0 30px;
	padding: 0 0 12px;
	color: #26333d;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.4px;
	border-bottom: 1px solid #dfe3e6;
}
.com-content-category-blog.blog > h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 65px;
	height: 3px;
	background: #245b8a;
}

/* =========================================================
   ARTICLE IMAGE
   ========================================================= */
.item-image img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 15px;
}

/* =========================================================
   CATEGORY TILES
   ========================================================= */
.category-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.category-tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #333333;
	background: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease;
}
.category-tile:hover {
	color: #245b8a;
	border-color: #b9c9d4;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
}
.category-tile__image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #f5f6f7;
}
.category-tile__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.category-tile:hover .category-tile__image img {
	transform: scale(1.03);
}
.category-tile__title {
	padding: 15px 16px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/* =========================================================
   PRODUCT TILES
   ========================================================= */
.product-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.product-tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #333333;
	background: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease;
}
.product-tile:hover {
	color: #245b8a;
	border-color: #b9c9d4;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
}
.product-tile__image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #f5f6f7;
}
.product-tile__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.2s ease;
}
.product-tile:hover .product-tile__image img {
	transform: scale(1.03);
}
.product-tile__title {
	padding: 15px 16px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/* =========================================================
   PRODUCT PRICE
   ========================================================= */
.product-price,
.price {
	margin: 10px 0;
}
.product-price .price,
.price {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 190px;
	padding: 14px 20px;
	background: #f7f9fa;
	border: 1px solid #dfe5e9;
	border-left: 4px solid #245b8a;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.price .note {
	margin: 0;
	color: #26333d;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}
.price > span {
	display: block;
	margin-top: 5px;
	color: #68747c;
	font-size: 14px;
	line-height: 1.3;
}
.price[data-col]:not([data-col="0"]) > span {
	color: #4f7659;
}
.price[data-col="0"] > span {
	color: #777;
}

/* Price module */
.article-price {
	float: right;
}

/* =========================================================
   JOOMLA CATEGORY LIST
   ========================================================= */
.com-content-category__table.category {
	width: 100%;
	margin: 0;
	border: 0 !important;
	border-collapse: collapse;
	background: #ffffff;
}

/* Hide table header */
.com-content-category__table.category thead {
	display: none;
}

/* Rows */
.com-content-category__table.category > tbody > tr {
	background: #ffffff !important;
	border: 0 !important;
	border-bottom: 1px solid #e1e5e8 !important;
	transition: background-color 0.15s ease;
}
.com-content-category__table.category > tbody > tr:last-child {
	border-bottom: 0 !important;
}
.com-content-category__table.category > tbody > tr:hover {
	background: #f7f9fa !important;
}

/* Cells */
.com-content-category__table.category > tbody > tr > th,
.com-content-category__table.category > tbody > tr > td {
	border: 0 !important;
	background: transparent !important;
	vertical-align: middle;
}

/* Title */
.com-content-category__table.category .list-title {
	padding: 14px 10px 14px 5px !important;
	text-align: left !important;
	font-weight: normal;
}
.com-content-category__table.category .list-title a {
	display: block;
	color: #245b8a !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left !important;
	text-decoration: none;
}
.com-content-category__table.category .list-title a:hover {
	color: #1b4569 !important;
	text-decoration: none;
}

/* Views */
.com-content-category__table.category .list-hits {
	width: 80px;
	padding: 14px 5px 14px 15px !important;
	text-align: right !important;
	white-space: nowrap;
}

/* Views badge */
.com-content-category__table.category .list-hits .badge {
	display: inline-block;
	min-width: 38px;
	padding: 3px 7px;
	color: #7a858c !important;
	background: #eef1f3 !important;
	border: 1px solid #dfe4e7;
	border-radius: 10px;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.2;
	text-align: center;
}

/* =========================================================
   CATEGORY / BLOG PAGINATION
   ========================================================= */
.com-content-category__navigation,
.com-content-category-blog__navigation {
	width: 100%;
	margin-top: 25px;
}

/* Counter */
.com-content-category__counter,
.com-content-category-blog__counter {
	margin: 0 0 10px !important;
	color: #888;
	font-size: 13px;
	text-align: right;
}

/* Pagination wrapper */
.com-content-category__pagination,
.com-content-category-blog__pagination {
	display: flex;
	justify-content: center;
}

/* Pagination UL */
.com-content-category__pagination .pagination,
.com-content-category-blog__pagination .pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0 0 10px !important;
	padding: 0;
	list-style: none;
}

/* Items */
.com-content-category__pagination .page-item,
.com-content-category-blog__pagination .page-item {
	margin: 0;
	padding: 0;
}

/* Buttons */
.com-content-category__pagination .page-link,
.com-content-category-blog__pagination .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 9px;
	color: #245b8a;
	background: #ffffff;
	border: 1px solid #dfe3e6 !important;
	border-radius: 5px !important;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

/* Hover */
.com-content-category__pagination
.page-item:not(.active):not(.disabled)
.page-link:hover,
.com-content-category-blog__pagination
.page-item:not(.active):not(.disabled)
.page-link:hover {
	color: #ffffff;
	background: #245b8a;
	border-color: #245b8a !important;
	text-decoration: none;
}

/* Active */
.com-content-category__pagination .page-item.active .page-link,
.com-content-category-blog__pagination .page-item.active .page-link {
	color: #ffffff;
	background: #245b8a;
	border-color: #245b8a !important;
	font-weight: 600;
}

/* Disabled */
.com-content-category__pagination .page-item.disabled .page-link,
.com-content-category-blog__pagination .page-item.disabled .page-link {
	color: #b7bdc1;
	background: #f5f6f7;
	border-color: #e5e8ea !important;
	cursor: default;
}

/* Icons */
.com-content-category__pagination .page-link span[class*="icon-"],
.com-content-category-blog__pagination .page-link span[class*="icon-"] {
	font-size: 12px;
}

/* =========================================================
   ARTICLE PREVIOUS / NEXT
   ========================================================= */
/*
   Joomla:
   <span class="pagination">
	   <a class="previous">...</a>
	   <a class="next">...</a>
   </span>
   Текст Joomla скрываем.
   Стрелки рисуем через CSS.
*/
.pagination:has(> .previous),
.pagination:has(> .next) {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 30px 0 10px;
	padding: 0;
}

/* Buttons */
.pagination:has(> .previous) > .previous,
.pagination:has(> .next) > .next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 34px;
	padding: 0;
	color: #245b8a;
	background: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 5px;
	text-decoration: none;
	transition:
		color 0.15s ease,
		background-color 0.15s ease,
		border-color 0.15s ease;
}

/* Hide Joomla contents */
.pagination:has(> .previous) > .previous > *,
.pagination:has(> .next) > .next > * {
	display: none;
}

/* Our arrows */
.pagination:has(> .previous) > .previous::before {
	content: "←";
	display: block;
	font-size: 18px;
	line-height: 1;
}
.pagination:has(> .next) > .next::after {
	content: "→";
	display: block;
	font-size: 18px;
	line-height: 1;
}

/* Hover */
.pagination:has(> .previous) > .previous:hover,
.pagination:has(> .next) > .next:hover {
	color: #ffffff;
	background: #245b8a;
	border-color: #245b8a;
	text-decoration: none;
}

/* =========================================================
   JOOMLA — SELECT "Количество материалов"
   ========================================================= */
.com-content-category__pagination.btn-group {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	float: right !important;
	margin: 0 0 15px;
	width: auto;
}

/* Select */
.com-content-category__pagination.btn-group .form-select {
	width: auto;
	min-width: 75px;
	height: 34px;
	padding: 4px 32px 4px 10px;
	color: #4d5961;
	background-color: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 5px;
	font-size: 13px;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

/* Hover */
.com-content-category__pagination.btn-group .form-select:hover {
	border-color: #b9c9d4;
}

/* Focus */
.com-content-category__pagination.btn-group .form-select:focus {
	border-color: #245b8a;
	box-shadow: 0 0 0 2px rgba(36, 91, 138, 0.12);
	outline: none;
}

/* =========================================================
   IMAGES
   ========================================================= */
.component img,
.sidebar-left img,
.sidebar-right img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* =========================================================
   ПЛИТКИ — КАССЫ
   ========================================================= */
.plitki3 {
	margin: 20px 0;
}

/* Заголовок */
.plitki3 > h3 {
	margin: 0 0 20px;
	color: #26333d;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

/* Grid */
.plitki3 .mod-banners {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

/* Joomla banner item */
.plitki3 .banneritem {
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* ---------------------------------------------------------
   Tile
   --------------------------------------------------------- */
.plitki3__item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #333333;
	background: #ffffff;
	border: 1px solid #dfe3e6;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease;
}

/* Hover */
.plitki3__item:hover {
	color: #245b8a;
	border-color: #b9c9d4;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
}

/* Image */
.plitki3__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 180px;
	padding: 10px;
	background: #ffffff;
}
.plitki3__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	object-position: center;
}

/* Title */
.plitki3__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 12px;
	color: #245b8a;
	border-top: 1px solid #eef0f2;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/* Hover title */
.plitki3__item:hover .plitki3__title {
	color: #1b4569;
}

/* =========================================================
   ПЛИТКА 4 — КНОПКИ НА ГЛАВНОЙ
   ========================================================= */
.plitka4 .mod-banners {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}
.plitka4 .banneritem {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}
.plitka4 .banneritem a {
	display: block;
}
.plitka4 .banneritem img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.plitka4 h3 {
	display: none;
}

/* =========================================================
   TABLE
   ========================================================= */
table td {
	vertical-align: top;
}

/* =========================================================
   RESPONSIVE — 1000px
   ========================================================= */
@media (max-width: 1000px) {
	.site-header > .container {
		min-height: 100px;
	}
	.logo {
		flex-basis: 439px;
	}

	/* Main menu */
	.main-menu .mod-menu {
		flex-wrap: wrap;
	}
	.main-menu .mod-menu > li > a {
		min-height: 48px;
		padding: 0 13px;
		font-size: 15px;
	}

	/* Layout */
	.layout {
		grid-template-columns:
			minmax(0, 1fr);
		gap: 20px;
	}
	.sidebar-left,
	.sidebar-right {
		display: none;
	}
	.component {
		width: 100%;
	}

	/* Tiles */
	.plitki3 .mod-banners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */
@media (max-width: 900px) {
	.header-right {
		font-size: 13px;
	}
	.header-right .contact-row {
		white-space: normal;
	}
	.category-tiles,
	.product-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
   RESPONSIVE — 700px
   ========================================================= */
@media (max-width: 700px) {
	.container {
		padding-left: 12px;
		padding-right: 12px;
	}

	/* -------------------------------------------------------
	   Header
	   ------------------------------------------------------- */
	.site-header > .container {
		min-height: 100px;
		display: block;
		padding-top: 7px;
		padding-bottom: 7px;
	}
	.site-header .container {
		flex-wrap: wrap;
		gap: 12px;
	}
	.logo {
		width: 100%;
		height: 86px;
	}
	.logo a {
		width: 439px;
		max-width: 100%;
	}
	.logo img {
		width: 439px;
		height: 86px;
		max-width: 100%;
		object-fit: contain;
		object-position: left center;
	}
	.header-right {
		display: none;
	}

	/* -------------------------------------------------------
	   Main menu
	   ------------------------------------------------------- */
	.main-menu > .container {
		min-height: 0;
		display: block;
	}
	.main-menu .mod-menu {
		display: block;
	}
	.main-menu .mod-menu > li > a {
		width: 100%;
		min-height: 46px;
		padding: 12px 14px;
	}
	.main-menu .mod-menu__sub {
		position: static;
		display: none;
		min-width: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		border-left: 0;
		border-right: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.main-menu .mod-menu > li:hover > .mod-menu__sub,
	.main-menu .mod-menu__sub li:hover > .mod-menu__sub {
		display: block;
		transform: none;
	}

	/* -------------------------------------------------------
	   Layout
	   ------------------------------------------------------- */
	.layout {
		display: block;
	}
	.sidebar-left,
	.sidebar-right {
		margin-bottom: 25px;
	}

	/* -------------------------------------------------------
	   Tiles
	   ------------------------------------------------------- */
	.category-tiles,
	.product-tiles {
		grid-template-columns: 1fr;
	}
	.category-tile__image,
	.product-tile__image {
		height: 200px;
	}

	/* -------------------------------------------------------
	   Category list
	   ------------------------------------------------------- */
	.com-content-category__table.category .list-title {
		padding: 12px 5px !important;
	}
	.com-content-category__table.category .list-title a {
		font-size: 15px;
	}
	.com-content-category__table.category .list-hits {
		width: 55px;
		padding: 12px 5px 12px 10px !important;
	}
	.com-content-category__table.category .list-hits .badge {
		min-width: 30px;
		padding: 2px 5px;
		font-size: 11px;
	}

	/* -------------------------------------------------------
	   Pagination
	   ------------------------------------------------------- */
	.com-content-category__counter,
	.com-content-category-blog__counter {
		margin-bottom: 8px !important;
		text-align: center;
	}
	.com-content-category__pagination .pagination,
	.com-content-category-blog__pagination .pagination {
		gap: 3px;
	}
	.com-content-category__pagination .page-link,
	.com-content-category-blog__pagination .page-link {
		min-width: 32px;
		height: 32px;
		padding: 0 7px;
	}

	/* -------------------------------------------------------
	   Header contacts
	   ------------------------------------------------------- */
	.header-right {
		width: 100%;
		justify-content: flex-start;
		padding-bottom: 12px;
	}
	.header-right .contact-header {
		width: 100%;
	}

	/* -------------------------------------------------------
	   Pagination select
	   ------------------------------------------------------- */
	.com-content-category__pagination.btn-group {
		float: none !important;
		justify-content: center;
		width: 100%;
		margin-bottom: 15px;
	}
	.com-content-category__pagination.btn-group .form-select {
		min-width: 75px;
	}

	/* -------------------------------------------------------
	   Plitki 3
	   ------------------------------------------------------- */
	.plitki3 .mod-banners {
		grid-template-columns: 1fr;
	}
	.plitki3__image {
		height: 200px;
	}

	/* -------------------------------------------------------
	   Plitka 4
	   ------------------------------------------------------- */
	.plitka4 .mod-banners {
		flex-wrap: wrap;
		justify-content: center;
	}
	.plitka4 .banneritem {
		flex: 0 0 calc(50% - 10px);
	}
}
/* =========================================================
   LOGIN — COMPACT CARD
   ========================================================= */
.sidebar-right .mod-login {
	width: 100%;
}

/* Поля */
.sidebar-right .mod-login .form-group {
	margin: 0 0 12px;
}
.sidebar-right .mod-login .input-group {
	display: flex;
	width: 100%;
}

/* Input */
.sidebar-right .mod-login .form-control {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 38px;
	padding: 7px 10px;
	color: #333;
	background: #ffffff;
	border: 1px solid #d5dce1;
	border-radius: 5px;
	font-size: 13px;
	box-shadow: none;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}
.sidebar-right .mod-login .form-control:focus {
	border-color: #245b8a;
	box-shadow: 0 0 0 2px rgba(36, 91, 138, 0.10);
	outline: none;
}

/* Иконка пользователя */
.sidebar-right .mod-login__username .input-group-text {
	display: none;
}

/* Пароль */
.sidebar-right .mod-login__password .form-control {
	border-radius: 5px 0 0 5px;
	border-right: 0;
}

/* Глаз */
.sidebar-right .mod-login .input-password-toggle {
	flex: 0 0 34px;
	width: 34px;
	height: 38px;
	padding: 0;
	color: #7d878e;
	background: #ffffff;
	border: 1px solid #d5dce1;
	border-left: 0;
	border-radius: 0 5px 5px 0;
	box-shadow: none;
}
.sidebar-right .mod-login .input-password-toggle:hover {
	color: #245b8a;
	background: #f3f6f8;
}

/* Запомнить */
.sidebar-right .mod-login__remember {
	margin-top: 2px;
	margin-bottom: 14px;
}
.sidebar-right .mod-login .form-check {
	display: flex;
	align-items: center;
}
.sidebar-right .mod-login .form-check-input {
	width: 14px;
	height: 14px;
	margin: 0 6px 0 0;
	cursor: pointer;
}
.sidebar-right .mod-login .form-check-label {
	color: #6f7980;
	font-size: 12px;
	line-height: 1.3;
	cursor: pointer;
}

/* =========================================================
   BUTTON
   ========================================================= */
.sidebar-right .mod-login__submit {
	margin: 0 0 13px;
}
.sidebar-right .mod-login__submit .btn-primary {
	display: block;
	width: 100%;
	height: 39px;
	padding: 7px 10px;
	color: #ffffff;
	background: #245b8a;
	border: 1px solid #245b8a;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 2px 5px rgba(36, 91, 138, 0.20);
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}
form.mod-login .visually-hidden { display: none; }
.sidebar-right .mod-login__submit .btn-primary:hover {
	background: #1b4569;
	border-color: #1b4569;
	box-shadow: 0 3px 8px rgba(36, 91, 138, 0.28);
}

/* =========================================================
   LINKS
   ========================================================= */
.sidebar-right .mod-login__options {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	line-height: 1.4;
}
.sidebar-right .mod-login__options li {
	margin: 4px 0;
	padding: 0;
}
.sidebar-right .mod-login__options a {	color: #68747c; text-decoration: none; }
.sidebar-right .mod-login__options a:hover { color: #245b8a; text-decoration: underline; }

table { width: 100%; border-collapse: collapse; border: 1px solid #ddd; }
table th,table td {
	padding: 8px;
	vertical-align: top;
	border-top: 1px solid #ddd;
	line-height: 1.5em;
	text-align: left;
}

/* =========================================================
   Категории
   ========================================================= */

.sidebar-right .categories-module {
    padding: 10px 0;
    list-style: none;
}

/* Все пункты */
.sidebar-right .categories-module li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ссылки первого уровня */
.sidebar-right .categories-module > li > a {
    display: block;
    padding: 9px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color .15s, color .15s;
}

/* Наведение */
.sidebar-right .categories-module > li > a:hover {
    background: #e9e9e9;
    color: #000;
}


/* =========================================================
   Подкатегории
   ========================================================= */

.sidebar-right .categories-module ul {
    margin: 0 0 6px 0;
    padding: 0;
    list-style: none;
}

.sidebar-right .categories-module ul li a {
    display: block;
    padding: 6px 16px 6px 30px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    border-left: 3px solid transparent;
    transition: background-color .15s, color .15s, border-color .15s;
}

.sidebar-right .categories-module ul li a:hover {
    background: #e9e9e9;
    color: #222;
    border-left-color: #aaa;
}


/* =========================================================
   Активный пункт
   ========================================================= */

.sidebar-right .categories-module li.active > a {
    background: #e2e2e2;
    color: #111;
    font-weight: 700;
}

.sidebar-right .categories-module ul li.active > a {
    background: #e8e8e8;
    color: #111;
    border-left-color: #777;
    font-weight: 600;
}


/* =========================================================
   Мобильные устройства
   ========================================================= */

@media (max-width: 768px) {

    .sidebar-right {
        font-size: 14px;
    }

    .sidebar-right .categories-module > li > a {
        padding: 8px 14px;
    }

    .sidebar-right .categories-module ul li a {
        padding-left: 26px;
    }
}