/* Оверрайды главной страницы поверх redesign2026/*.css (базовых стилей верстальщика). только на главной. */

.switch-field input[type=radio] {
	display: none;
	width: 0;
	height: 0;
	min-width: 0;
	min-height: 0;
}

/* ---------------------------- main-banner.css ------------------------------------*/
.main-banner a:not([class]):hover, .main-banner a:not([class]):active {
	color: currentColor;
}
.main-banners .btnbox-request {
	margin: 0 -16px;
	padding: 0 24px;
	@media (min-width: 1025px) {
		margin: 0;
		padding: 0;
	}
}
.main-banner-aside .aside-banner {
	padding: 24px 24px 21px;
	text-decoration: none;
}
.main-banner-aside .aside-banner img {
	display: block;
}
.main-banner-aside .aside-banner-pic {
	align-self: center;
	margin-left: auto;
}
.main-banner-aside .aside-banner-content h3 {
	margin-bottom: 0;
	@media (min-width: 1025px) {
		line-height: 135%;
		letter-spacing: -0.3px;
	}
}
.main-banner-root {
	@media (min-width: 1025px) {
		height: 348px;
	}
	& .main-banner-slider {
		border-radius: 16px;
	}
}
.main-banner-root .glider-btn {
	display: none;
	@media (min-width: 1025px) {
		display: flex;
	}
}
.main-banner-root .glider-track {
	gap: unset;
	@media (min-width: 1025px) {
		padding-bottom: 0;
	}
}
.main-banner-slider {
	overflow-x: hidden;
}
#main-banner-dots {
	margin-top: 8px;
	margin-bottom: 24px;
	& .glider-dot {
		background-color: #C4C9CC;
	}
	& .glider-dot:hover, & .glider-dot:focus, & .glider-dot.active {
		background-color: #F9712A;
	}
	@media (min-width: 1025px) {
		display: none;
	}
}

/* ---------------------------- tiles.css ------------------------------------*/
.tiles-stock.is-used .tile-item {
	background-color: #EBF4FB;
}
.tiles .tile-item .tile-head {
	gap: 0;
}
.tiles.tiles-stock {
	gap: 16px;
	& .tile-item {
		text-decoration: none;
		height: 158px;
		@media (min-width: 1025px) {
			height: 187px;
		}
		& .tile-head h4 {
			@media (min-width: 1025px) {
				margin-bottom: 0;
			}
		}
		& .tile-pic {
			flex: 1;
			min-height: 0;
			max-width: 100%;
			display: flex;
			align-items: flex-end;
			justify-content: flex-end;
			overflow: hidden;
		}
		@media (min-width: 1025px) {
			&:nth-child(-n+3) {
				flex-direction: row;
				justify-content: space-between;
				& .tile-pic {
					align-self: center;
				}
			}
		}
	}
	& img {
		max-height: 100%;
		object-fit: contain;
	}
}
.tiles.tiles-serv .tile-item .btn {
	margin-top: 16px;
	height: 54px;
	@media (min-width: 1025px) {
		margin-top: auto;
	}
}

/* ---------------------------- lists.css ------------------------------------*/
.page-int ol:not([class]) {
	list-style-type: none;
	counter-reset: number;
	&:not(:last-child) {
		margin-bottom: 16px;
	}
}
.page-int ol:not([class]) > li {
	counter-increment: number;
	position: relative;
	color: rgba(3, 3, 6, 0.88);
	padding-bottom: 14px;
	padding-left: 38px;
	&:before {
		content: counter(number) "";
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background-color: #fff;
		border: 2px solid #F89763;
		font-weight: 600;
		font-size: 14px;
		line-height: 140%;
		color: #f56920;
		position: absolute;
		left: 0;
		top: -4px !important;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}
}
.page-int ol:not([class]) > li ol:not([class]) > li ul:not([class]), .page-int ol:not([class]) > li ul:not([class]) {
	& > li {
		margin-bottom: 12px;
		&:before {
			content: "";
			top: 9px;
			width: 4px;
			height: 4px;
			border-radius: 50%;
			background: #fff;
			border: 2px solid #F56920;
		}
	}
}
.page-int ul:not([class]) {
	padding-top: 8px;
	&:not(:last-child) {
		margin-bottom: 16px;
	}
	& > li {
		position: relative;
		color: rgba(3, 3, 6, 0.88);
		padding-left: 16px;
		margin-bottom: 12px;
		&:before {
			content: "";
			position: absolute;
			left: 0;
			top: 9px;
			width: 4px;
			height: 4px;
			border-radius: 50%;
			padding: 0;
			background: #fff;
			border: 2px solid #F56920;
		}
	}
}
.list-circle:last-child {
	margin-bottom: 0;
}

/* ---------------------------- calc.css ------------------------------------*/
.calculator .offer-filterdetail .offer-filtertag:not(.selected) {
	background-color: #fff;
}
.calc-wrap .offer-filterdetail {
	@media (min-width: 1025px) {
		display: none;
	}
}
.calc-wrap calc-search-filter-redesign {
	display: block;
	& #calc-filter-popup.overlay {
		&.is-visible {
			visibility: visible;
			opacity: 1;
		}
		@media (max-width: 1024px) {
			& .formbox-popup .formfield:not(.is-active) {
				display: none;
			}
		}
		@media (min-width: 1025px) {
			position: static;
			inset: auto;
			background: none;
			visibility: visible;
			opacity: 1;
			display: block;
			& .popup {
				width: 100%;
				max-width: none;
				height: auto;
				padding: 0;
				border-radius: 0;
			}
			& .header-popup, & .footer-popup, & .tab-roll {
				display: none;
			}
			& .main-popup {
				padding: 0;
				max-height: none;
				overflow: visible;
				background-color: #F0F6FA;
			}
			& .formbox-popup {
				display: flex;
				gap: 16px;
				margin-bottom: 32px;
				& .formfield {
					flex: 1;
					min-width: 0;
				}
			}
		}
	}
}
.range-data {
	height: 48px;
	border-color: #ccc;
	margin-bottom: -13px;
	@media (min-width: 1025px) {
		height: 56px;
		margin-bottom: -14px;
	}
}
.range-data-input {
	field-sizing: content;
	border: none;
	outline: none;
	background: transparent;
	padding: 0;
	font: inherit;
	color: inherit;
	width: auto;
}
.calc-resultblock {
	border-radius: 16px;
	& .calc-result-pay .ph-item {
		display: block;
		width: 64px;
		height: 30px;
		@media (min-width: 1025px) {
			width: 96px;
			height: 50px;
		}
		& .ph-row, & .ph-row div {
			display: block;
			width: 100%;
			height: 100%;
			margin: 0;
		}
	}
}
.resul-amountbox [tooltip], .resul-taxtbox [tooltip], .resul-costbox [tooltip] {
	margin-left: 6px;
}
.resul-sum.ph-item {
	display: block;
	width: 80px;
	height: 18px;
	@media (min-width: 1025px) {
		width: 96px;
		height: 26px;
	}
	& .ph-row, & .ph-row div {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
	}
}

/* ---------------------------- range.css ------------------------------------*/
input[type="range"]::-moz-range-track {
	border-radius: 4px;
	height: 4px;
}
input[type="range"]::-ms-fill-upper, input[type="range"]::-ms-fill-lower {
	border-radius: 4px;
}
input[type="range"]::-ms-track {
	height: 4px;
}
input[type="range"].webkit-track {
	border-radius: 4px;
	height: 4px;
}
input[type="range"] {
	height: 4px;
}
input[type="range"]::-moz-range-thumb {
	top: 0;
}
input[type="range"]::-ms-thumb {
	top: 0;
}
input[type="range"]::-webkit-slider-thumb {
	top: 0;
}

/* ---------------------------- offers.css ------------------------------------*/
.offers {
	margin-top: 24px;
}
.offer-mark .offer-mark-link {
	cursor: pointer;
}
.offer-filterchoise.overlay {
	display: flex;
	padding: 0;
	border-radius: 0;
	margin-bottom: 0;
	&.is-visible {
		visibility: visible;
		opacity: 1;
	}
	@media (min-width: 1025px) {
		position: static;
		inset: auto;
		background: none;
		visibility: visible;
		opacity: 1;
		display: block;
		margin-bottom: 24px;
		& .popup {
			width: 100%;
			max-width: none;
			height: auto;
			padding: 24px;
			border-radius: 16px;
			background-color: #F0F6FA;
		}
		& .header-popup, & .footer-popup {
			display: none;
		}
		& .main-popup {
			padding: 0;
			max-height: none;
			overflow: visible;
		}
	}
	& .offer-filter-dropbox {
		grid-template-columns: 1fr;
		@media (min-width: 1025px) {
			grid-template-columns: repeat(4, 1fr);
		}
	}
}
.offer-filterchoise .offer-filter-dropbox .formfield:nth-child(n+5) {
	display: block;
}
@media (min-width: 1025px) {
	.offer-filterchoise .offer-filter-dropbox .formfield:nth-child(n+5) {
		display: none;
	}
	.offer-filterchoise:has(.offer-filter-paramtoggle.open) .offer-filter-dropbox .formfield:nth-child(n+5) {
		display: block;
	}
}
#sort-popup.overlay.is-visible, #category-popup.overlay.is-visible {
	visibility: visible;
	opacity: 1;
}

/* ---------------------------- selects.css ------------------------------------*/
select {
	appearance: base-select !important;
	&::picker(select) {
		appearance: base-select !important;
	}
}
:root {
  	--select-m-h: 48px;
	--select-l-h: 56px;
	--select-color: #939799;
}
select {
	color: var(--select-color) !important;
	background-color: var(--select-bg-white) !important;
	min-height: 0;
	height: var(--select-m-h);
	padding: 8px !important;
	padding-left: 12px !important;
	border: 1px solid #999 !important;
	border-radius: var(--select-option-r) !important;
	flex-direction: row;
	&:active {
		border-color: #666;
	}
	&:hover {
		border-color: #666;
	}
	& > button {
		min-width: 0;
		&:has(.select-label) {
			flex-direction: column;
			align-items: flex-start;
			gap: 2px;
		}
	}
	& .select-label {
		font-size: 11px;
		line-height: 1;
		color: #939799;
	}
	&:has(option:not([hidden]):checked) {
		color: rgba(3, 3, 6, 0.88) !important;
	}
	&::picker(select) {
		overflow: hidden;
		width: anchor-size(width);
	}
	& optgroup {
		display: block;
		max-height: 252px;
		overflow-y: auto;
		overflow-x: clip;
	}
	& option {
		min-height: 48px;
		height: auto;
		& span {
			white-space: normal;
			min-width: 0;
		}
	}
}
select::picker-icon {
  opacity: 1;
}
select:open {
	border-color: rgba(4, 4, 21, 0.47);
}
select selectedcontent {
	width: 100%;
	min-width: 0;
}

/* ---------------------------- inputs.css ------------------------------------*/
.f-input {
	border: 1px solid #999;
	min-height: 0;
	height: 48px;
	padding-right: 12px;
	padding-top: 10px;
	font-size: 15px;
	font-weight: 400;
	&:active {
		border-color: #666;
	}
	&:hover {
		border-color: #666;
	}
	@media (min-width: 1025px) {
		&.f-inputXL {
			height: 56px;
		}
	}
}
.f-helper {
	color: rgba(4, 4, 19, 0.55);
	font-size: 11px;
	line-height: 1;
	margin: 2px 8px;
	display: none;
}
.f-ganger .f-helper {
	display: block;
}
.f-ganger .f-input {
	border: 1px solid #e4002b;
}
.f-input-label {
	top: 12px;
	color: #939799;
	@media (min-width: 1025px) {
		top: 14px;
	}
}
.f-input:focus + .f-input-label, .f-input:valid + .f-input-label,
input:focus + .f-input-label, input:valid + .f-input-label,
.f-label.is-filled .f-input-label {
	top: 2px;
	font-size: 13px;
	@media (min-width: 1025px) {
		top: 4px;
	}
}
.f-ganger .f-helper, .f-ganger .f-input-label {
	color: #EF3124;
}
.formfield-line {
	flex-direction: row;
}
.formfield-line input:focus + .f-input-label, .formfield-line input:valid + .f-input-label {
	top: 2px;
}

/* ---------------------------- catalog.css ------------------------------------*/
.cards-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 16px 0;
	& .cards-empty-pic {
		display: block;
		max-width: 200px;
		margin-bottom: 16px;
	}
	& .cards-empty-title {
		font-size: 18px;
		font-weight: 600;
		line-height: 150%;
		color: #313233;
		margin-bottom: 12px;
	}
	& .cards-empty-subtitle {
		font-size: 16px;
		font-weight: 400;
		line-height: 150%;
		color: #313233;
		margin-bottom: 16px;
	}
}
.cards-flow.is-limited {
	@media (max-width: 1024px) {
		& .card-item:nth-child(n+4) {
			display: none;
		}
	}
}
.card-item.card-item > a {
	color: #333;
}
.card-item .card-pic .card-cap .card-cap-bonus.--orange {
	background-color: #F56920;
}
.card-item .card-price .card-price-old {
	font-size: 12px;
}
.card-item .card-price .card-price-actual {
	font-size: 14px;
}
.card-item .card-gifts {
	margin-top: auto;
}
.cards-btn {
	margin-top: auto;
	& .btn {
		font-size: 14px;
	}
	& > * {width: 100%}
}
#offers-new .ep-similarblock {
	border-radius: 20px;
}
#offers-new .ep-similar.card-item {
	border-radius: 16px !important;
	flex-direction: column;
	@media (min-width: 1025px) {
		flex-direction: row;
	}
}
.ep-similar .card-pic {
	margin-bottom: 8px;
	@media (min-width: 1025px) {
		width: 288px;
		flex-shrink: 0;
		margin-bottom: 0;
	}
}
@media (min-width: 1328px) {
	.ep-similar .card-pic {width: 320px}
}
.cards-btn-more.--mobile-reveal {
	@media (min-width: 1025px) {
		display: none;
	}
}
.cards-btn-more.--mobile-wait {
	@media (max-width: 1024px) {
		display: none;
	}
}

/* ---------------------------- popups.css ------------------------------------*/
body:has(:target) {
	overflow: visible;
}
.popup {
	@media (min-width: 1025px) {
		max-width: 479px;
	}
}
.header-popup .head-popup {
	@media (min-width: 1025px) {
		font-weight: 800;
		line-height: 135%;
		letter-spacing: -0.3px;
	}
}
.main-popup h4 {
	line-height: 150%;
	letter-spacing: 0px;
	color: #333333;
}

/* ---------------------------- custom-reset.css ------------------------------------*/
[hidden] {
	display: none;
}

/* ---------------------------- main.css ------------------------------------*/
body {
	font-size: 15px;
	line-height: 1.45;
}
a:not([class]) {
	color: #004B7A;
}
h1 {
	line-height: 1.25;
	@media (min-width: 1025px) {
		font-size: 44px;
		line-height: 1.4;
	}
}
h2 {
	@media (min-width: 1025px) {
		line-height: 1.4;
	}
}
h3 {
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 12px;
	@media (min-width: 1025px) {
		font-size: 24px;
		line-height: 1.5;
		margin-bottom: 16px;
	}
}
h4 {
	font-weight: 600;
	line-height: 1.35;
	@media (min-width: 1025px) {
		font-size: 18px;
		line-height: 1.4;
		margin-bottom: 12px;
	}
}

/* ---------------------------- tooltip.css ------------------------------------*/
[tooltip] {
	background-color: #ccc;
}

input[type=radio]{
	position: absolute;
}

.offer-mark-link picture {
	margin: auto;
}

@media(min-width: 1024px){
	#filter-popup {
		z-index: 100;
	}
}