.barme-catalog-element h1 {
	margin-top: 0;
	margin-bottom: 8px;
}
.barme-catalog-element .element-block-main {
	gap: 64px;
	margin-bottom: 24px;
}

.element-block-tabs {
	margin-top: 64px;
}

.element-block-tabs nav {
	border-bottom: var(--divider-color) 1px solid;
}
.element-block-tabs nav .nav-link {
	color: var(--bg-divider-color);
}
.element-block-tabs nav .nav-link.active {
	color: var(--text-color);
	border-bottom: var(--text-color) 2px solid;
	font-weight: 300;
}
.element-block-tabs .tab-content {
	margin-top: 28px;
}

.product-color-selector {
	display: flex;
	flex-direction: row;
	gap: 8px;
	margin: 20px 0 4px;
}
.product-color-title {
	margin: 4px 0 12px;
}
.product-color-selector .product-color {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	border: var(--divider-color) 1px solid;
}
.product-color-selector .product-color.active {
	border: var(--text-color) 1px solid;
}
.product-color-selector .product-color img {
	border-radius: 3px;
	width: 58px;
	height: 58px;
	object-fit: cover;

}
.element-media-container {
	display: flex;
	flex-direction: row;
	gap: 16px;
	max-width: 60%;
}
.element-slider {
	width: 92px;
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-height: 670px;
}
.element-slider .element-slider-item {
	width: 92px;
	height: 92px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.element-slider .element-slider-item img {
	width: 92px;
	height: 92px;
	object-fit: cover;
	border-radius: 4px;
	transition: 100ms;
}
.element-slider .element-slider-item.active {
	border: var(--text-color) 2px solid;
}
.element-slider .element-slider-item:hover img {
	width: 86px;
	height: 86px;
}
.element-slider .element-slider-item.active img {
	width: 86px;
	height: 86px;
}
.element-photo-main {
	aspect-ratio: 1;

	overflow: hidden;
}
.element-photo-main img {
	width: 100%;
	border-radius: 8px;
	max-height: 670px;
	object-fit: cover;
}

.accordion-button {
	background-color: transparent;
	padding: 1rem 0em;
	color: var(--text-color);
	text-transform: uppercase;
	font-size: 13px;
}
.accordion-button:not(.collapsed) {
	background-color: transparent;
	color: var(--text-color);
	box-shadow: none;
}
.accordion-button:focus {
	border-color: transparent;
	box-shadow: none;
}

.accordion-body {
	padding: 1rem 0em;
	color: var(--text-second-color);
	font-size: 12px;
}
.product-selector-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.product-selector {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
}
.product-selector .label {
	font-size: 12px;
	margin: 0;
	flex: 1;
}
.product-selector select.form-control {
	
	height: 28px;
	border-radius: 14px;
	font-size: 12px;
	padding: 0 14px;
	font-weight: 300;
	border: var(--divider-color) 1px solid;
}
.product-selector select.form-control:after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border: red 1px solid;
}
.product-quantity {
	height: 28px;
	border-radius: 14px;
	font-size: 12px;
	border: var(--divider-color) 1px solid;
	display: flex;
	flex-direction: row;
	align-items: center;
	overflow: hidden;
	color: var(--text-color);
}
.product-quantity div {
	width: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-quantity input {
	border-left: var(--divider-color) 1px solid;
	border-right: var(--divider-color) 1px solid;
	border-top: none;
	border-bottom: none;
	width: 24px;
	text-align: center;
	height: 22px;

}
.product-quantity .minus,
.product-quantity .plus {
	cursor: pointer;
	height: 28px;
	user-select: none;
}
.product-quantity .minus:hover,
.product-quantity .plus:hover {
	background-color: var(--bg-second-color);
	color: var(--text-color);
}
.product-complect-description {
	margin-top: 16px;
}

.product-pack-selector {
	margin-top: 24px;
}
.product-sku-selector .form-check,
.product-pack-selector .form-check {
	display: flex;
	flex-direction: row;
	gap: 8px;
	border: var(--divider-color) 1px solid;
	border-radius: 8px;
	height: 48px;
	padding: 12px 12px 12px 36px;
	cursor: pointer;
	align-items: center;
	line-height: 1;
}
.product-sku-selector .form-check img {
	height: 32px;
	border-radius: 2px;
	flex: none;
}
.form-check-input {
	flex: none;
}

.product-sku-selector {
	margin-top: 24px;
}


.product-buy-container {
	margin-top: 32px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;
}
.product-buy-container .product-price {
	font-size: 28px;
	height: 32px;
	display: flex;
	align-items: center;
}
.product-buy-container .product-price.old {
	color: var(--text-second-color);
	text-decoration: line-through;
	font-size: 18px;
	display: flex;
	align-items: flex-start;
	margin-left: 12px;


}
.product-buy-container .btn {
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;

	color: var(--bg-text-color);
	background-color: var(--bg-color);
	padding: 0 24px;
}
.product-buy-container .fav {
	height: 36px;
	width: 36px;

	background-color: var(--bg-second-color);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	cursor: pointer;
}
.product-buy-container .fav img {
	width: 18px;
}
.product-buy-container .fav.active {
	background-color: #ff69b2;
}
.product-buy-container .fav.active img {
	filter: brightness(3);
}
.custom-order .flex-row {
	gap: 12px;
}
.custom-order .label {
	width: 25%
}
textarea.form-control {
	color: var(--text-color);
	font-weight: 300;
	font-size: 13px;
}

.sku-prop.product-selector.sku-cert {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.sku-prop.product-selector.sku-cert .form-control-selector-container {
	width: 100%;
}

#productPriceValue {
	white-space: nowrap;
}

.element-photo-main.photo-cert {
	aspect-ratio: unset;
}

@media screen and (max-width: 520px) {
	#select-cert {
		overflow: hidden;
	}
}

@media only screen and (max-width: 960px) {
	.element-media-container {
		max-width: 100%;
		flex-direction: column-reverse;
	}
	.element-media-container .element-slider {
		max-width: 100vw;
		overflow-x: auto;
		width: 100%;
		flex-direction: row;
	}
	.element-photo-main img {
		aspect-ratio: 1;
	}
}

.magnifier-container {
	overflow: hidden;
	img {
	  margin: auto;
	  display: block;
	  transition: opacity .5s;
	  &:hover  {
		opacity: 0;
	  }
	}
	.main_image__wrap {
	  background-position: 50% 50%;
	  position: relative;
	  width: 100%;
	  overflow: hidden;
	  cursor: zoom-in;
	}
}