/* catalog.section */

/*
#3052bf
#26b0e4
#00a2df
*/

/* Slider */
.bx-blue .product-item-image-slider-progress-bar { background-color: #0083d1; }

.bx-blue .product-item-image-slider-control:hover { background-color: rgba(0, 131, 209, .8); }

.bx-blue .product-item-image-slider-control.active,
.bx-blue .product-item-image-slider-control:hover { background-color: #0083d1; }

.bx-blue .product-item-selected-scu,
.bx-blue .product-item-detail-slider-controls-image:hover,
.bx-blue .product-item-detail-slider-controls-image.active { outline-color: #006cc0; }

/* SCU */
.bx-blue .product-item-scu-item-text-block:hover,
.bx-blue .product-item-scu-item-color-block:hover,
.bx-blue .product-item-scu-item-text-container.selected .product-item-scu-item-text-block,
.bx-blue .product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-color: #006cc0; }

/* Выбранный цвет/размер: серая подсветка на мобильных и десктопе (перебивает outline-width: 0 в styles.css) */
.bx-catalog-element .product-item-scu-item-text-container.selected .product-item-scu-item-text-block,
.bx-catalog-element .product-item-scu-item-color-container.selected .product-item-scu-item-color-block {
	background-color: #d3d3d3 !important;
	border-radius: 5px;
	outline: none !important;
}

/* Пустые значения торговых предложений (ID 0 / «-») не показываем */
.bx-catalog-element .product-item-scu-item-list .product-item-scu-item-text-container,
.bx-catalog-element .product-item-scu-item-list .product-item-scu-item-color-container {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

.bx-catalog-element .product-item-scu-item-list .product-item-scu-item-text-container[data-onevalue="0"],
.bx-catalog-element .product-item-scu-item-list .product-item-scu-item-color-container[data-onevalue="0"] {
	display: none !important;
}

/* Amount */
.bx-blue .product-item-amount-field:focus { border-color: #006cc0; }

/*Proress Bar*/
.bx-blue .product-item-detail-slider-progress-bar { background-color: #006cc0; }

.slider_right{
	flex: 0 0 168px;
	min-width: 168px;
	width: 168px;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-height: 0;
}

.slider_left{
	flex: 1 1 auto;
	min-width: 0;
}

.product_slider{
	display: flex;
	align-items: stretch;
}

/* Колонка превью по высоте совпадает со слайдером; миниатюры прижаты к верху */
.product_slider .slider_right .product-item-detail-slider-controls-block {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	box-sizing: border-box;
	gap: 5px;
	overflow-y: auto;
}

.product_slider .slider_right .product-item-detail-slider-controls-image {
	display: block;
	width: 168px;
	height: 168px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.product_slider .slider_right .product-item-detail-slider-controls-image img {
	max-width: 168px;
	max-height: 168px;
}

/* Штатный Bitrix: outline у превью (в т.ч. .active / hover / retina) выглядит как верх/низ рамки — убираем */
.bx-catalog-element .product_slider .slider_right .product-item-detail-slider-controls-image,
.bx-catalog-element .product_slider .slider_right .product-item-detail-slider-controls-image:hover,
.bx-catalog-element .product_slider .slider_right .product-item-detail-slider-controls-image.active {
	border: none;
	outline: none;
	box-shadow: none;
}

.card_h1{
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.bx-catalog-element .card_h1 {
		font-size: 22px;
	}
}

.card_only_one{
	white-space: nowrap;
    font-size: 22px;
    font-weight: normal;
    color: #03aa46 !important;
    text-transform: lowercase;
	margin-bottom: 1.2em;
}
    
.card_prop_name	{
	margin: 0;
    font-size: 18px;
    font-weight: 300;
    color: #424242;
    line-height: 25.2px;
}

.card_prop_value {
	margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: black;
    line-height: 25.2px;
}
	
	
.card_prop{
	margin-bottom: 1em;
}

.product-item-detail-pay-block {
	border: 0px !important;
    padding-top: 0px;
}

.prices{
	display: flex;
    align-items: baseline;
}

.product-item-detail-price-current{
	font-size: 28px;
    font-weight: normal;
    line-height: 39.2px;
	color: black;
	margin-left: 10px;
}

.old-price{
	font-size: 18px;
    font-weight: normal;
    line-height: 25.2px;
}

.product-item-detail-info-container{
	/* display: none; */
}

.card_quantity{
	display: flex;
	align-items: center;
}

.card_quantity .product-item-detail-info-container-title{
	margin: 0;
    font-size: 18px;
    font-weight: 300;
    color: #424242;
    line-height: 25.2px;
	margin-right: 1em;
}

.card_quantity .product-item-amount-field-btn-minus{
	
}

.card_quantity .product-item-amount-field-btn-minus, .card_quantity .product-item-amount-field-btn-plus{
	padding: 15px;
    border: 1px solid black;
    background: no-repeat;
    color: black;
    border-radius: 4px;
}


.card_quantity .product-item-amount-field{
	padding: 15px;
	border: 1px solid black;
    background: no-repeat;
    color: black;
    border-radius: 4px;
}

.bx-blue .btn.btn-default{
    margin: 0px;
    width: 100%;
    max-width: none;
    background: black;
    height: 60px;
    font-size: 22px;
    font-weight: 400;
    text-transform: none;
	border-color: black;
}

.bx-blue .btn.btn-default:hover{
	background: white;
    color: black;
    border-color: black;
}

.js-quick-order-popup-trigger{
	background: white !important;
    color: black !important;
    border-color: black !important;
    font-size: 16px !important;
}

.js-quick-order-popup-trigger:hover{
	background: black !important;
	color: white !important;
}

.bx-blue .product-item-selected-scu, .bx-blue .product-item-detail-slider-controls-image:hover, .bx-blue .product-item-detail-slider-controls-image.active{
	outline-color: black;
}

.detail_info{
    border-top: 1px solid;
    margin-top: 1em;
    padding-top: 1em;
    display: flex;
    flex-direction: column;
    gap: 20px;
	margin-bottom: 2em;
}

.detail_info-tabs{
	display: none;
}

.detail_info-panels{
	display: flex;
	gap: 20px;
	width: 100%;
}

.prop_block{
	max-width: 370px;
	flex: 1 1 0;
	min-width: 0;
}

.detail_info-tab{
	padding: 0;
	border: none;
	background: none;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: #000;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.detail_info-tab.is-active{
	color: rgba(75, 78, 84, 0.6);
}

@media (max-width: 991px) {
	.detail_info-tabs{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px 24px;
		width: 100%;
	}

	.detail_info-panels{
		display: block;
	}

	.detail_info .prop_block{
		display: none;
		max-width: none;
		width: 100%;
	}

	.detail_info .prop_block.is-active{
		display: block;
	}

	.detail_info .prop_block .prop_block_title{
		display: none;
	}
}

.prop_block_title{
font-size: 22px;
    font-weight: normal;
    line-height: 30.8px;
    margin-top: 0.2em;
    margin-bottom: 1em;
}

.prop_block_text .card_prop{
	margin-bottom: 0px;
}

.prop_block_text .card_prop_name{
	color: rgba(75, 78, 84, .6);
	font-size: 14px;
}

.prop_block_text .card_prop_value{
	font-size: 14px;
    font-weight: 400;
    color: black;
    /* line-height: 25.2px; */
}

/* Карточка товара: «В избранное» перед «Добавить в корзину» на мобильном; на десктопе — внизу блока кнопок */
.bx-catalog-element [data-entity="main-button-container"] {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bx-catalog-element [data-entity="main-button-container"] .product-item-detail-info-container {
	margin-bottom: 0;
}

.bx-catalog-element [data-entity="main-button-container"] .btn.product-item-detail-buy-button {
	margin-bottom: 0;
}

.bx-catalog-element [data-entity="main-button-container"] .c-favorite-btn.wide {
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.bx-catalog-element .product-detail-favorite-wrap .c-favorite-btn.wide {
		width: 100%;
		max-width: 182px;
	}
}

@media (min-width: 992px) {
	.bx-catalog-element .product-detail-favorite-wrap {
		order: 10;
	}
}