/* KM product detail mobile buy block */
.catalog_detail .cheaper_form,
.catalog_detail .calculate-delivery {
	display: none !important;
}

@media (max-width: 991px) {
	.km-product-buy-portal:empty {
		display: none !important;
	}

	html.km-product-buy-ready body {
		padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
		z-index: 40070 !important;
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
		background: var(--card_bg_black) !important;
		box-shadow: 0 -10px 24px rgba(7, 16, 37, .12) !important;
		transform: translate3d(0, 0, 0) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .buy_block {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list {
		display: flex !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: none !important;
		height: 58px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #ececec !important;
		border-width: 1px 0 0 !important;
		border-color: var(--stroke_black) !important;
		border-radius: 0 !important;
		overflow: hidden !important;
		background: #fff !important;
		background: var(--card_bg_black) !important;
		box-shadow: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list > div {
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block_inner {
		display: block !important;
		flex: 0 0 116px !important;
		width: 116px !important;
		max-width: 38vw !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block {
		display: block !important;
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block {
		display: block !important;
		width: 100% !important;
		height: 58px !important;
		margin: 0 !important;
		border: 0 !important;
		border-right: 1px solid #ececec !important;
		border-right-color: var(--stroke_black) !important;
		border-radius: 0 !important;
		background: #fafafa !important;
		background: var(--darkerblack_bg_black) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block input[type="text"],
	html.km-product-buy-ready .km-product-buy-portal .counter_block .minus,
	html.km-product-buy-ready .km-product-buy-portal .counter_block .plus {
		height: 58px !important;
		line-height: 58px !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: none !important;
		height: 58px !important;
		min-height: 58px !important;
		margin: 0 !important;
		padding: 0 12px !important;
		border-radius: 0 !important;
		text-align: center !important;
		white-space: nowrap !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: .04em !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.in-cart {
		display: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn i:not(.svg-inline-prediction) {
		display: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn span {
		padding: 0 !important;
	}

	html.km-product-buy-ready .km-scroll-top {
		display: none !important;
	}

	.popup-window,
	.popup-window-overlay,
	.jqmWindow,
	.jqmOverlay,
	.basket_hover_block,
	.top_basket .basket_hover_block,
	#headerfixed .basket_hover_block,
	#basket_line,
	#basket_line .basket_fly {
		z-index: 50080 !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item:not(:empty) {
		display: block !important;
		margin: 16px 0 0 !important;
		clear: both;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .buy_block {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_wrapp.list {
		display: flex !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #ececec !important;
		border-color: var(--stroke_black) !important;
		border-radius: 3px !important;
		overflow: hidden !important;
		background: #fff !important;
		background: var(--card_bg_black) !important;
		box-shadow: 0 8px 20px rgba(29, 32, 41, .06);
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_wrapp.list > div {
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block_inner {
		display: block !important;
		flex: 0 0 42% !important;
		width: 42% !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block {
		display: block !important;
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block {
		width: 100% !important;
		height: 54px !important;
		margin: 0 !important;
		border: 0 !important;
		border-right: 1px solid #ececec !important;
		border-right-color: var(--stroke_black) !important;
		border-radius: 0 !important;
		background: #fafafa !important;
		background: var(--darkerblack_bg_black) !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block input[type="text"],
	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block .minus,
	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block .plus {
		height: 54px !important;
		line-height: 54px !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 54px !important;
		min-height: 54px !important;
		margin: 0 !important;
		padding: 0 12px !important;
		border-radius: 0 !important;
		text-align: center !important;
		white-space: nowrap !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn[style*="display:none"],
	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn[style*="display: none"] {
		display: none !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn i:not(.svg-inline-prediction) {
		display: none !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn span {
		padding: 0 !important;
	}

	html.km-product-buy-ready body {
		padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item:not(:empty) {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
		z-index: 40070 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
		background: var(--card_bg_black) !important;
		box-shadow: 0 -10px 24px rgba(7, 16, 37, .12) !important;
		transform: translate3d(0, 0, 0) !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_wrapp.list {
		height: 58px !important;
		border-width: 1px 0 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block,
	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block input[type="text"],
	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block .minus,
	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block .plus,
	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn {
		height: 58px !important;
		min-height: 58px !important;
		line-height: 58px !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block_inner {
		flex-basis: 39% !important;
		width: 39% !important;
		max-width: 156px !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .button_block {
		flex: 1 1 auto !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn {
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: .04em !important;
	}

	html.km-product-buy-ready .km-scroll-top {
		display: none !important;
	}
}

@media (max-width: 370px) {
	html.km-product-buy-ready .km-product-buy-portal .counter_block_inner {
		flex-basis: 104px !important;
		width: 104px !important;
		max-width: 36vw !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart {
		font-size: 11px !important;
		letter-spacing: 0 !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .counter_block_inner {
		flex-basis: 38% !important;
		width: 38% !important;
	}

	.catalog_detail .product-info .right_info .js-prices-in-item .button_block .btn {
		font-size: 12px !important;
		letter-spacing: 0 !important;
	}

	html.km-product-buy-ready .catalog_detail .product-info .right_info .js-prices-in-item .counter_block_inner {
		flex-basis: 36% !important;
		width: 36% !important;
		max-width: 136px !important;
	}
}
/* /KM product detail mobile buy block */

/* KM product detail mobile buy bar polish */
@media (max-width: 991px) {
	html.km-product-buy-ready .km-product-buy-portal {
		border-top: 1px solid #dde4ee !important;
		box-shadow: 0 -6px 18px rgba(7, 16, 37, .08) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		height: 54px !important;
		min-height: 54px !important;
		border: 0 !important;
		background: #fff !important;
		background: var(--card_bg_black) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block_inner,
	html.km-product-buy-ready .km-product-buy-portal .button_block {
		display: block !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		flex-basis: auto !important;
		flex: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block_inner {
		grid-column: 1 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block {
		grid-column: 2 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block {
		height: 54px !important;
		min-height: 54px !important;
		width: 100% !important;
		border-right: 1px solid #dde4ee !important;
		background: #f8fafc !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block input[type="text"],
	html.km-product-buy-ready .km-product-buy-portal .counter_block .minus,
	html.km-product-buy-ready .km-product-buy-portal .counter_block .plus {
		height: 54px !important;
		line-height: 54px !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block input[type="text"] {
		color: #1d2029 !important;
		font-size: 13px !important;
		font-weight: 500 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block .minus,
	html.km-product-buy-ready .km-product-buy-portal .counter_block .plus {
		color: #7c8797 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart {
		height: 54px !important;
		min-height: 54px !important;
		line-height: 1 !important;
		padding: 0 10px !important;
		border: 0 !important;
		background: #e1251b !important;
		color: #fff !important;
		font-size: 12px !important;
		font-weight: 800 !important;
		letter-spacing: .01em !important;
		text-transform: uppercase !important;
		box-shadow: none !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart:hover,
	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart:focus {
		background: #d82718 !important;
		color: #fff !important;
	}
}

@media (max-width: 370px) {
	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart {
		font-size: 11px !important;
	}
}
/* /KM product detail mobile buy bar polish */

/* KM product detail mobile buy bar exact 50/50 */
@media (max-width: 991px) {
	html.km-product-buy-ready .km-product-buy-portal {
		left: 0 !important;
		right: auto !important;
		width: 100vw !important;
		max-width: 100vw !important;
		min-width: 100vw !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .buy_block {
		width: 100vw !important;
		max-width: 100vw !important;
		min-width: 100vw !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list {
		display: grid !important;
		grid-template-columns: 50vw 50vw !important;
		width: 100vw !important;
		max-width: 100vw !important;
		min-width: 100vw !important;
		height: 56px !important;
		min-height: 56px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-top: 1px solid #dde4ee !important;
		background: #fff !important;
		overflow: hidden !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list > .counter_block_inner {
		grid-column: 1 / 2 !important;
		display: block !important;
		width: 50vw !important;
		max-width: 50vw !important;
		min-width: 50vw !important;
		height: 56px !important;
		min-height: 56px !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_wrapp.list > .button_block {
		grid-column: 2 / 3 !important;
		display: block !important;
		width: 50vw !important;
		max-width: 50vw !important;
		min-width: 50vw !important;
		height: 56px !important;
		min-height: 56px !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block {
		position: relative !important;
		display: block !important;
		width: 50vw !important;
		max-width: 50vw !important;
		height: 56px !important;
		min-height: 56px !important;
		border: 0 !important;
		border-right: 1px solid #dde4ee !important;
		background: #f8fafc !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block input[type="text"] {
		display: block !important;
		width: 100% !important;
		height: 56px !important;
		line-height: 56px !important;
		margin: 0 !important;
		padding: 0 46px !important;
		border: 0 !important;
		background: transparent !important;
		color: #1d2029 !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		text-align: center !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block .minus,
	html.km-product-buy-ready .km-product-buy-portal .counter_block .plus {
		position: absolute !important;
		top: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 46px !important;
		height: 56px !important;
		line-height: 56px !important;
		color: #7c8797 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block .minus {
		left: 0 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .counter_block .plus {
		right: 0 !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 50vw !important;
		max-width: 50vw !important;
		min-width: 50vw !important;
		height: 56px !important;
		min-height: 56px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: #e1251b !important;
		color: #fff !important;
		box-shadow: none !important;
		text-align: center !important;
	}

	html.km-product-buy-ready .km-product-buy-portal .button_block .btn.to-cart span {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		color: inherit !important;
		font-size: 12px !important;
		font-weight: 800 !important;
		line-height: 1 !important;
		letter-spacing: .01em !important;
		text-transform: uppercase !important;
		text-align: center !important;
	}
}
/* /KM product detail mobile buy bar exact 50/50 */
