/* Каталог «Оборудование Breezart» — шаблоны shop.view.breezart_* */

.bz {
	--bz-accent: var(--primary, #136f39);
	--bz-dark: var(--main, #0b0b0b);
	--bz-text: #4a4f4c;
	--bz-muted: #7d8580;
	--bz-border: #e3e8e5;
	--bz-soft: #f4f7f5;
	--bz-radius: 12px;
	--bz-shadow: 0 10px 30px rgba(16, 40, 26, .10);
	color: var(--bz-text);
}

.bz *,
.bz *:before,
.bz *:after {
	box-sizing: border-box;
}

.bz a {
	text-decoration: none;
}

/* Заголовки секций */

.bz-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 0 0 24px;
}

.bz-head__title,
.bz-section-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bz-dark);
}

.bz-head__meta {
	font-size: 14px;
	color: var(--bz-muted);
}

.bz-section-title {
	margin: 40px 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bz-border);
	position: relative;
}

.bz-section-title:first-child {
	margin-top: 0;
}

.bz-section-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 60px;
	height: 2px;
	background: var(--bz-accent);
}

.bz-section-title a {
	color: inherit;
}

.bz-section-title a:hover {
	color: var(--bz-accent);
}

.bz-section-title span {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	vertical-align: middle;
	color: var(--bz-accent);
	background: var(--bz-soft);
	border-radius: 20px;
}

.bz-lead,
.bz-text {
	margin: 0 0 30px;
	font-size: 15px;
	line-height: 1.7;
}

.bz-text {
	margin: 40px 0 0;
}

/* Сетки */

.bz-grid {
	display: grid;
	gap: 24px;
}

.bz-grid--cats {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.bz-grid--subcats {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.bz-grid--goods {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.bz-grid--goods + .bz-grid--goods {
	margin-top: 24px;
}

/* Заглушка изображения */

.bz-noimg {
	display: block;
	width: 64px;
	height: 64px;
	margin: auto;
	border-radius: 50%;
	background: #e9eeeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390a097' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / 32px no-repeat;
}

/* Плитка категории */

.bz-cat {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.bz-cat:hover {
	border-color: transparent;
	box-shadow: var(--bz-shadow);
	transform: translateY(-3px);
}

.bz-cat__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid var(--bz-border);
}

.bz-cat--small .bz-cat__media {
	height: 170px;
	padding: 16px;
}

.bz-cat__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform .35s ease;
}

.bz-cat:hover .bz-cat__media img {
	transform: scale(1.04);
}

.bz-cat__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}

.bz-cat--small .bz-cat__body {
	padding: 14px 16px 16px;
}

.bz .bz-cat__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.bz-cat--small .bz-cat__title {
	font-size: 15px;
}

.bz .bz-cat__title a {
	color: var(--bz-dark);
	text-decoration: none;
	font-weight: 700;
}

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

.bz-cat__count {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-accent);
}

.bz-cat__anons {
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--bz-muted);
}

.bz-cat__more {
	margin-top: auto;
	padding-top: 14px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--bz-accent);
}

.bz-cat__more:after {
	content: " →";
	transition: margin-left .2s ease;
}

.bz-cat__more:hover {
	color: var(--bz-dark);
}

/* Чипсы подкатегорий */

.bz .bz-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bz .bz-chips li {
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
}

.bz .bz-chips a {
	display: inline-block;
	padding: 5px 10px;
	color: var(--bz-text);
	background: var(--bz-soft);
	border: 1px solid var(--bz-border);
	border-radius: 20px;
	text-decoration: none;
	font-weight: 400;
	transition: all .2s ease;
}

.bz .bz-chips a:hover {
	color: #fff;
	background: var(--bz-accent);
	border-color: var(--bz-accent);
	text-decoration: none;
}

/* Карточка товара в списке */

.bz-good {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.bz-good:hover {
	border-color: transparent;
	box-shadow: var(--bz-shadow);
	transform: translateY(-3px);
}

.bz-good__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	padding: 18px;
	background: #fff;
	border-bottom: 1px solid var(--bz-border);
}

.bz-good__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform .35s ease;
}

.bz-good:hover .bz-good__media img {
	transform: scale(1.04);
}

.bz-labels {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
}

.bz-label {
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: var(--bz-accent);
	border-radius: 4px;
}

.bz-label--hit {
	background: #e8590c;
}

.bz-label--action {
	background: #c92a2a;
}

.bz-good__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
}

.bz-good__article {
	margin-bottom: 4px;
	font-size: 12px;
	letter-spacing: .02em;
	color: var(--bz-muted);
}

.bz .bz-good__title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.bz .bz-good__title a {
	color: var(--bz-dark);
	text-decoration: none;
	font-weight: 700;
}

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

.bz .bz-good__specs {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.bz .bz-good__specs li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 4px 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--bz-dark);
	border-bottom: 1px dashed var(--bz-border);
}

.bz .bz-good__specs li span {
	font-weight: 400;
	color: var(--bz-muted);
}

.bz-good__anons {
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--bz-muted);
}

.bz-good__footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--bz-border);
}

.bz-good__actions {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.bz-good__actions .bz-btn {
	flex: 1 1 0;
	padding-left: 8px;
	padding-right: 8px;
}

/* Цена */

.bz-price__value {
	font-size: 18px;
	font-weight: 700;
	color: var(--bz-dark);
}

.bz-price--request .bz-price__value {
	font-size: 15px;
	color: var(--bz-accent);
}

/* Кнопки */

.bz .bz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .03em;
	text-align: center;
	white-space: nowrap;
	border: 2px solid var(--bz-accent);
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: all .2s ease;
}

.bz .bz-btn--primary {
	color: #fff;
	background: var(--bz-accent);
}

.bz .bz-btn--primary:hover {
	color: #fff;
	background: var(--bz-dark);
	border-color: var(--bz-dark);
	text-decoration: none;
}

.bz .bz-btn--ghost {
	color: var(--bz-accent);
	background: transparent;
}

.bz .bz-btn--ghost:hover {
	color: #fff;
	background: var(--bz-accent);
	text-decoration: none;
}

.bz .bz-btn--big {
	width: 100%;
	padding: 15px 24px;
	font-size: 14px;
}

.bz-all {
	margin-top: 20px;
	text-align: center;
}

/* Страница товара */

.bz-product {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 40px;
	align-items: start;
}

.bz-product__gallery {
	min-width: 0;
}

.bz-gallery {
	padding: 16px;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
}

.bz-gallery--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 420px;
}

.bz-gallery #wprt-slider {
	margin: 0;
	background: #fff;
	border: 0;
	box-shadow: none;
}

.bz-gallery #wprt-slider .slides li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 440px;
	cursor: zoom-in;
}

.bz-gallery #wprt-slider .slides img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.bz-gallery #wprt-carousel {
	margin: 14px 0 0;
	padding-top: 14px;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--bz-border);
	box-shadow: none;
}

.bz-gallery #wprt-carousel .slides li {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: 8px;
	overflow: hidden;
	opacity: .65;
	transition: opacity .2s ease, border-color .2s ease;
}

.bz-gallery #wprt-carousel .slides li:hover,
.bz-gallery #wprt-carousel .slides li.flex-active-slide {
	opacity: 1;
	border-color: var(--bz-accent);
}

.bz-gallery #wprt-carousel .slides li:hover:after {
	display: none;
}

.bz-gallery #wprt-carousel .slides img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.bz-gallery .flex-direction-nav a {
	border-radius: 50%;
}

.bz-gallery--single #wprt-slider .flex-direction-nav {
	display: none;
}

.bz-product__info {
	min-width: 0;
}

.bz-product__cat {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bz-accent);
	background: var(--bz-soft);
	border-radius: 20px;
}

.bz-product__cat:hover {
	color: #fff;
	background: var(--bz-accent);
}

.bz-product__subtitle {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--bz-dark);
}

.bz-product__article,
.bz-product__brand {
	margin-bottom: 14px;
	font-size: 14px;
	color: var(--bz-muted);
}

.bz-product__article b {
	color: var(--bz-dark);
}

.bz-product__anons {
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.7;
}

.bz-product__anons p:last-child {
	margin-bottom: 0;
}

.bz .bz-keyspecs {
	margin: 0 0 8px;
	padding: 0;
	border-top: 1px solid var(--bz-border);
}

.bz-keyspecs__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	font-size: 14px;
	line-height: 1.45;
	border-bottom: 1px solid var(--bz-border);
}

.bz .bz-keyspecs dt {
	font-weight: 400;
	color: var(--bz-muted);
}

.bz .bz-keyspecs dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
	color: var(--bz-dark);
}

.bz-product__all-specs {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bz-accent);
	border-bottom: 1px dashed currentColor;
}

.bz-product__all-specs:hover {
	color: var(--bz-dark);
}

.bz-buy {
	margin-top: 8px;
	padding: 20px;
	background: var(--bz-soft);
	border-radius: var(--bz-radius);
}

.bz-buy .bz-price {
	margin-bottom: 14px;
}

.bz-buy .bz-price__value {
	font-size: 24px;
}

.bz-buy .bz-price--request .bz-price__value {
	font-size: 20px;
}

.bz-buy__note {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--bz-muted);
}

/* Вкладки */

.bz-tabs {
	margin-top: 50px;
}

.bz-tabs__nav {
	display: none;
	gap: 4px;

	border-bottom: 2px solid var(--bz-border);
	-webkit-overflow-scrolling: touch;
}

.bz-js .bz-tabs__nav {
	display: flex;
}

.bz .bz-tabs__btn {
	flex: 0 0 auto;
	margin: 0 0 -2px;
	padding: 14px 22px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bz-muted);
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}

.bz .bz-tabs__btn:hover {
	color: var(--bz-dark);
}

.bz .bz-tabs__btn.is-active {
	color: var(--bz-accent);
	border-bottom-color: var(--bz-accent);
}

.bz-tabs__panel {
	padding: 28px 0 0;
}

.bz-tabs__panel-title {
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 700;
	color: var(--bz-dark);
}

.bz-js .bz-tabs__panel-title {
	display: none;
}

.bz-js .bz-tabs__panel {
	display: none;
}

.bz-js .bz-tabs__panel.is-active {
	display: block;
}

.bz-desc {
	max-width: 900px;
	font-size: 15px;
	line-height: 1.75;
}

.bz-desc h3,
.bz-options h3 {
	margin: 28px 0 12px;
	font-size: 17px;
	font-weight: 700;
	color: var(--bz-dark);
}

.bz-desc h3:first-child,
.bz-options h3:first-child {
	margin-top: 0;
}

.bz .bz-desc ul,
.bz .bz-options ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.bz .bz-desc ul li,
.bz .bz-options ul li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 22px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

.bz .bz-desc ul li:before,
.bz .bz-options ul li:before {
	content: "";
	position: absolute;
	left: 2px;
	top: .6em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bz-accent);
}

.bz-desc__intro {
	margin-bottom: 10px;
	padding: 20px 24px;
	background: var(--bz-soft);
	border-left: 3px solid var(--bz-accent);
	border-radius: 0 var(--bz-radius) var(--bz-radius) 0;
}

.bz .bz-desc__intro ul:last-child,
.bz-desc__intro p:last-child {
	margin-bottom: 0;
}

.bz .bz-specs {
	width: 100%;
	max-width: 900px;
	margin: 0 0 20px;
	border-collapse: collapse;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	overflow: hidden;
	font-size: 14px;
}

.bz .bz-specs tr:nth-child(odd) {
	background: var(--bz-soft);
}

.bz .bz-specs th,
.bz .bz-specs td {
	padding: 11px 18px;
	line-height: 1.5;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--bz-border);
	white-space: normal;
}

.bz .bz-specs th {
	width: 45%;
	font-weight: 400;
	color: var(--bz-muted);
}

.bz .bz-specs td {
	font-weight: 600;
	color: var(--bz-dark);
}

.bz .bz-specs tr:last-child th,
.bz .bz-specs tr:last-child td {
	border-bottom: 0;
}

.bz-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.bz-options__col {
	padding: 22px 24px;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
}

.bz-related {
	padding-top: 0;
}

/* Адаптив */

@media (max-width: 991px) {
	.bz-product {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.bz-gallery #wprt-slider .slides li a {
		height: 360px;
	}
}

@media (max-width: 767px) {
	.bz-grid--cats,
	.bz-grid--goods {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 16px;
	}

	.bz-grid--subcats {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 12px;
	}

	.bz-cat__media,
	.bz-good__media {
		height: 170px;
	}

	.bz-cat--small .bz-cat__media {
		height: 130px;
	}

	.bz-head__title,
	.bz-section-title {
		font-size: 19px;
	}

	.bz-gallery {
		padding: 10px;
	}

	.bz-gallery #wprt-slider .slides li a {
		height: 280px;
	}

	.bz-gallery #wprt-carousel .slides li {
		height: 64px;
	}

	.bz .bz-tabs__btn {
		padding: 12px 14px;
		font-size: 14px;
	}

	.bz .bz-specs th,
	.bz .bz-specs td {
		display: block;
		width: 100%;
		padding: 8px 14px;
		border: 0;
	}

	.bz .bz-specs th {
		padding-bottom: 0;
	}

	.bz .bz-specs tr {
		display: block;
		border-bottom: 1px solid var(--bz-border);
	}

	.bz-options {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bz-grid--goods {
		grid-template-columns: 1fr;
	}

	.bz-good__actions {
		flex-direction: column;
	}
}
