:root {

--c-white: #ffffff;

--c-primary-base: #1ba730;
--c-primary-800: #49b959;
--c-primary-600: #76ca83;
--c-primary-400: #a4dcac;
--c-primary-200: #d1edd6;

--c-dark-base: #373435;
--c-dark-800: #5f5d5d;
--c-dark-600: #878586;
--c-dark-400: #afaeae;
--c-dark-200: #d7d6d7;
--c-dark-100: #ebebeb;
--c-dark-50: #f5f5f5;


--c-red-base: #e53935;
--c-orange-base: #fb8c00;
--c-blue-base: #1e88e5;




--r-base: 6px;
--max-width: 1648px;

--gap-base: clamp(4px, 0.375vw + 2.65px, 6px);
--gap-xs: clamp(8px, 0.75vw + 5.3px, 12px);
--gap-s: clamp(12px, 1.125vw + 7.95px, 18px);
--gap-m: clamp(16px, 1.5vw + 10.6px, 24px);
--gap-l: clamp(24px, 2.25vw + 15.9px, 36px);
--gap-xl: clamp(32px, 3vw + 21.2px, 48px);


--f-h1: clamp(24px, 2.25vw + 15.9px, 36px);
--f-h2: clamp(24px, 2.25vw + 15.9px, 36px);
--f-h3: clamp(21px, 2vw + 14.13px, 32px);
--f-h4: clamp(18px, 1.5vw + 10.6px, 24px);
--f-h5: clamp(16px, 1.125vw + 7.95px, 18px);
--f-p: clamp(14px, 1vw + 7.07px, 16px);
--f-p-s: clamp(12px, 0.875vw + 6.18px, 14px);
--f-p-xs: clamp(10px, 0.75vw + 5.3px, 12px);

--filter-green: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(500%) hue-rotate(81deg) brightness(102%) contrast(87%);
--filter-white: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(18%) hue-rotate(236deg) brightness(104%) contrast(104%);
--filter-gray: brightness(0) saturate(100%) invert(84%) sepia(3%) saturate(52%) hue-rotate(251deg) brightness(105%) contrast(89%);

}


button[disabled],html input[disabled] {
	cursor: default;
	opacity: .5;
}


.labels{
	display: flex;
	flex-wrap: wrap;	
	gap:6px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1;

	
	li{
		color: var(--c-white);
		font-weight: 400;
		display: block;
	}
	li::before{
		border-radius: 3px;
		padding: 4px;
	}

	.lnew::before{
		content: 'Новинка';
		background-color: var(--c-primary-base);
	}
	.lsale::before{
		content: 'Распродажа';
		background-color: var(--c-red-base);
	}
	.laction::before{
		content: 'Акция';
		background-color: var(--c-orange-base);
	}
	.lhit::before{
		content: 'Хит продаж';
		background-color: var(--c-blue-base);
	}


}


.uk-grid-small {
	margin-left: calc(-1 * var(--gap-s));
}
.uk-grid-small > * {
	padding-left: var(--gap-s);
}

.uk-grid, .uk-grid-medium {
	margin-left: calc(-1 * var(--gap-m));
}
.uk-grid>*, .uk-grid-medium > * {
	padding-left: var(--gap-m);
}

.uk-grid-large {
	margin-left: calc(-1 * var(--gap-l));
}
.uk-grid-large > * {
	padding-left: var(--gap-l);
}


*,*::before,*::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}

body {
	-webkit-font-smoothing: antialiased;
	font: 400 var(--f-p) "Golos Text", Arial, sans-serif;
	
	color: var(--dark);
	background: var(--white);
}

img,picture,video,canvas,svg {
	display: block;
	max-width: 100%;
}
input,button,textarea,select {
	font: inherit;
}

p,h1,h2,h3,h4,h5,h6 {
	overflow-wrap: break-word;
	color: var(--c-dark-base);
	font-family: "Golos Text", Arial, sans-serif;
}

a{
	color: var(--c-primary-base);
}

.ico{
	display: inline-flex; align-items: center;gap: var(--gap-base);
	&::before, &::after{
		flex-shrink: 0;
	}
}

.bt{
	display: block;
	padding: var(--gap-xs);
	border: none;
	border-radius: var(--r-base);
	text-decoration: none !important;
	text-align: center;
}
.bt+.bt{
	margin-top: var(--gap-xs);
}
.bt-main{
	background-color: var(--c-primary-base);
	color: var(--c-white);
}
.bt-sec{
	background-color: var(--c-primary-400);
	color: var(--c-primary-base) !important;
}

.box {
	max-width: 1648px;
	margin-inline: auto;
	padding-inline: var(--gap-m);
}
header.box+.box.cnt{
	margin-top: var(--gap-m);
}
.first {
	background-color: var(--c-primary-base);
	padding-block: var(--gap-s);
	nav {
		display: flex; align-items: center; gap: var(--gap-m);
		line-height: 1;
		a{
			color: var(--c-white);
		}
		.ico::before{
			height: 16px;width: 16px;
		}
		.vk{
			margin-left: auto;
		}
		.vk::before{
			height: 24px;width: 24px;
		}
	}
}
.second {
	display: flex; align-items: center;gap: var(--gap-l);
	padding-block: var(--gap-m);
	.logo{
		width: 224px;height: 72px;
	}
	.short-menu{
		display: flex; align-items: center;gap: var(--gap-l);
		font-size: 18px;
		font-weight: 600;
		a{
			color: var(--c-dark-base);
			flex-shrink: 0;
		}
		.ico::before{
			height: 20px;width: 20px;
		}
	}
	
	.search-box{
		position: relative;
		display: flex; align-items: center;
		flex: 1 1 auto;
		background-color: var(--c-dark-50);
		background-size: 20px 20px;
		background-repeat: no-repeat;
		background-position: var(--gap-s) 50%;
		border-radius: 50px;
		min-width: 200px;
		.in{
			padding: var(--gap-s) 0 var(--gap-s) var(--gap-xl);
			border-radius: 50px;
			flex: 1 1 auto;
			border: none;
			background-color: transparent;
			outline: none;
			line-height: 1;
			min-width: 100px;
		}
		.bt{
			height: 56px;width: 56px;
			flex: 0 0 auto;
			border: none;
			border-radius: 50px;
			background-size: 20px 20px;
			background-repeat: no-repeat;
			background-position: 50%;
			cursor: pointer;
		}
		#search-results{
			position: absolute;
			top: 44px;left: 0;right: 0;
			z-index: 1;
			box-shadow: 0px 17px 7px rgba(59, 58, 71, 0.01), 0px 10px 6px rgba(59, 58, 71, 0.03), 0px 4px 4px rgba(59, 58, 71, 0.04), 0px 1px 2px rgba(59, 58, 71, 0.05);
			.search-results{
				background-color: var(--c-white);
				border-radius:0 0 var(--r-base) var(--r-base);
				dl {
					padding: calc(var(--gap-xs) / 2) var(--gap-xs);
					margin: 0;
					width: 100%;
					display: flex;
					justify-content: space-between;
					font-size: 13px;
				}
				dl:hover{
					background-color: var(--c-primary-200);
				}
				
				dt{
					white-space: nowrap;
					margin-left: 20px;
				}
				.all-result{
					display: none;
				}
				dl+.all-result{
					display: block;
					margin-top: 10px;
					text-align: center;
					padding: 10px;
					color: var(--c-white);
					border-radius:0 0 var(--r-base) var(--r-base);
					background-color: var(--c-primary-base);
				}
			}
		}
	}
	
	.action-menu{
		display: flex; align-items: center;gap: var(--gap-l);
		.ico{
			display: flex; align-items: center; gap: 0;
			span{
				display: block;
				height: 16px;
				min-width: 16px;
				background-color: var(--c-primary-base);
				color: var(--c-white);
				font-size: 12px;
				font-weight: 600;
				line-height: 16px;
				text-align: center;
				padding-inline: 3px;
				border-radius: 20px;
				margin-left: -6px;
			}
		}
		.ico::before{
			height: 24px;width: 24px;
		}
	}
}

.burger {
	display: none;
	height: 48px;
	width: 48px;
	flex-shrink: 0;
	background-color: var(--c-primary-base);
	background-size: 26px 23px;
	background-repeat: no-repeat;
	background-position: 50%;
	border-radius: var(--r-base);
	border:none;
	cursor: pointer;
}

.cat-header{
	max-height: 200px;
	min-height: 100px;
	aspect-ratio: 16/2;
	padding: var(--gap-s);
	border-radius: var(--r-base);
	display: flex; flex-direction: column; justify-content: space-between;gap: var(--gap-m);
	* {
		color: var(--c-white);
		line-height: 1;
		margin: 0;
	}
	nav{
		font-size: var(--f-p-s);
		a:not(:last-child){
			text-decoration: underline;
			margin-right: var(--gap-xs);
		}
		a:not(:first-child){
			margin-left: var(--gap-xs);
		}
	}
	h1{
		font-size: var(--f-h1);
		font-weight: 600;
	}
}

.item-header{
	background-color: var(--c-primary-base);
	height: auto;
}

.cat-box {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--gap-m);
	margin-top: var(--gap-m);
}

.open-filter{
	display: none;
}

.filter-box{
	margin-inline: 10px;
	& > li{
		margin-bottom: var(--gap-s);
	}
	.uk-accordion-title{
		color: var(--c-dark-base);
		background: none;
		font-size: var(--f-p);
		font-weight: 600;
		text-decoration: none;
		display: flex; align-items: center;justify-content: space-between;
		transition: .2s;
	}

	.uk-accordion-title::before{
		display: none;
	}

	.uk-accordion-title::after{
		height: 16px;width: 16px;
	}

	.uk-open .uk-accordion-title::after{
		transform: rotate(180deg);
	}

	.uk-accordion-content{
		max-height: 242px;
		overflow-y: auto;
	}
	.checkbox{
		font-size: var(--f-xs);
	}
	.bt-main{
		display: none;
	}
}

.range-slider {
	margin-bottom: var(--gap-m);
	width: 100%;

	.number-group {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: var(--gap-xs);
	}

	.number-input {
		width: 100%;
		background-color: transparent;
		border: 0;
		outline: 0;
		font-size: var(--f-p);
		color: var(--c-dark-base);
	}

	.range-group {
		position: relative;
		flex: 0 0 100%;
		height: 9px;
		margin-top: 6px;
		margin-bottom: 12px;
		margin-right: 2px;
	}

	.range-input {
		position: absolute;
		left: 0;
		bottom: 0;
		margin-bottom: 0;
		-webkit-appearance: none;
		width: 100%;
		border-bottom: 0;
		background-color: transparent;
		height: 0;
	}

	.range-input:focus {
		outline: 0;
	}

	.range-input::-webkit-slider-runnable-track {
		width: 100%;
		height: 2px;
		cursor: pointer;
		animation: 0.2s;
		background: var(--c-dark-200);
		border-radius: 1px;
		box-shadow: none;
		border: 0;
	}

	.range-input::-webkit-slider-thumb {
		z-index: 2;
		position: relative;
		height: 18px;
		width: 18px;
		border-radius: 50%;
		background: var(--c-primary-base);
		cursor: pointer;
		-webkit-appearance: none;
		margin-top: -7px;
	}

	.range-input::-moz-range-track {
		width: 100%;
		height: 2px;
		cursor: pointer;
		animation: 0.2s;
		background: var(--c-dark-200);
		border-radius: 1px;
		box-shadow: none;
		border: 0;
	}

	.range-input + .range-input::-moz-range-track {
		height: 0;
	}

	.range-input::-moz-range-thumb {
		z-index: 2;
		position: relative;
		border: 1px solid var(--c-primary-base);
		height: 18px;
		width: 18px;
		border-radius: 50%;
		background: var(--c-primary-base);
		cursor: pointer;
	}

	.range-input::-ms-track {
		width: 100%;
		height: 5px;
		cursor: pointer;
		animation: 0.2s;
		background: transparent;
		border-color: transparent;
		color: transparent;
	}

	.range-input::-ms-fill-lower,
	.range-input::-ms-fill-upper {
		background: var(--c-primary-base);
		border-radius: 1px;
		box-shadow: none;
		border: 0;
	}

	.range-input::-ms-thumb {
		z-index: 2;
		position: relative;
		height: 18px;
		width: 18px;
		border-radius: 50%;
		background: var(--c-primary-base);
		cursor: pointer;
	}
}

.form {
	& > *:not([type="hidden"]) + * {
		margin-top: var(--gap-xs);
	}

	.name {
		display: none;
	}

	.field {
		border: 1px solid var(--c-dark-200);
		padding: 6px;
		border-radius: var(--r-base);
		position: relative;

		&:not(.checkbox) {
			background-color: var(--c-white);
		}

		label {
			display: block;
			font-size: var(--f-p-s);
		}

		.alert {
			position: absolute;
			top: -8px;
			right: 5px;
			font-size: 10px;
			color: var(--c-white);
			background-color: rgb(198, 0, 58);
			padding: 1px 5px;
			border-radius: 5px;
		}

		.in {
			width: 100%;
			margin-top: 4px;
			border: none;
			background-color: var(--c-white);
			color: var(--c-dark-base);
		}

		textarea.in {
			height: 60px;
		}

		.in:focus {
			outline: none;
		}
	}

	.bad {
		border: 1px solid var(--c-red-base);
	}

	.file {
		position: relative;
		width: 100%;
		padding: 8px 0;
		cursor: pointer;
		overflow: hidden;
		display: flex;
		align-items: center;
		gap: 10px;
		z-index: 0;

		.file-input {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			opacity: 0;
			cursor: pointer;
			background: transparent;
			z-index: 1;
		}

		.file-name {
			color: var(--c-dark-600);
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			cursor: pointer;
			position: relative;
			z-index: 0;
		}
	}

	.radio {
		border: none;
		padding: 0;
		display: flex;
		gap: var(--gap-base);

		h6 {
			color: var(--c-dark-base);
			margin-bottom: 3px;
		}

		p {
			color: var(--c-dark-600) !important;
			font-weight: 300;
			margin-top: 6px;
		}

		input[type="radio"] {
			appearance: none;
			background-color: var(--c-white);
			margin: 0;
			width: 18px;
			height: 18px;
			border: 2px solid var(--c-dark-200);
			border-radius: 50%;
			transition: background-color .3s, border-color .3s;
			flex-shrink: 0;
		}

		input[type="radio"]:checked {
			background-color: var(--c-primary-base);
			border: 2px solid var(--c-primary-base);
		}
	}

	.checkbox {
		border: none;
		padding: 0;
		display: flex;
		gap: var(--gap-base);
		margin-bottom: var(--gap-base);

		label {
			font-size: var(--f-p-s);
			line-height: 16px;
		}

		input[type="checkbox"] {
			appearance: none;
			background-color: var(--c-primary-200);
			margin: 0;
			width: 16px;
			height: 16px;
			border: none;
			border-radius: 2px;
			transition: background-color .3s;
			flex-shrink: 0;
		}

		input[type="checkbox"]:checked {
			background-color: var(--c-primary-base);
			background-position: 50%;
			background-repeat: no-repeat;
		}
	}

	.input-box p {
		margin-bottom: var(--gap-base);
	}

	.input-box:has(.input-group:empty) p {
		display: none;
	}

	.input-group {
		display: flex;
		flex-wrap: wrap;
		gap: var(--gap-base);
	}

	.input-group:empty {
		display: none;
	}

	.image-checkbox,
	.image-radio {
		border: none;
		padding: 0;

		label {
			cursor: pointer;
		}

		img {
			height: 36px;
			width: 36px;
			object-fit: cover;
			border-radius: var(--r-base);
			border: 1px solid var(--c-dark-200);
			overflow: hidden;
			display: block;
		}

		input[type="checkbox"],
		input[type="radio"] {
			display: none;
		}

		input[type="checkbox"]:checked + img,
		input[type="radio"]:checked + img {
			border: 6px double var(--c-primary-base);
		}
	}

	.select {
		select {
			appearance: none;
			padding-right: 16px;
			background-repeat: no-repeat;
			background-position: 100% 50%;
			background-size: 16px 16px;
		}
	}

	.text-checkbox,
	.text-radio {
		padding: 0;
		border: none;

		label {
			cursor: pointer;
			padding: var(--gap-base);
			border: 2px solid var(--c-dark-200);
			border-radius: var(--r-base);
		}

		input[type="checkbox"],
		input[type="radio"] {
			display: none;
		}

		label:has(input[type="checkbox"]:checked),
		label:has(input[type="radio"]:checked) {
			border: 2px solid var(--c-primary-base);
		}
	}

	.go-policy {
		font-size: var(--f-p-s);
		border: none;
	}

	.go-policy.bad{
		color: var(--c-red-base);
	}


	.form-footer {
		display: flex;
		align-items: center;
		gap: var(--gap-xs);

		button {
			flex-shrink: 0;
			height: 44px;
		}

		p {
			font-size: var(--f-p-s);
		}
	}

	a {
		color: var(--c-dark-600);
		text-decoration: underline;
	}
}

.item_rating_box {
	display: flex;
	align-items: center;
	margin-block: 10px;
	.item_rating_label {
		margin-right: var(--gap-s);
		color: var(--c-primary-base);
		font-weight: 600;
	}
	.item_rating {
		display: block;
		overflow: hidden;
		width: 180px;
	}
	.item_rating:not(:checked)>input {
		display: none;
	}
	
	#rate:not(:checked)>label {
		cursor: pointer;
		float: right;
		width: 36px;
		height: 30px;
		display: block;
		font-size: 30px;
	
		color: var(--c-primary-base);
		opacity: .3;
		line-height: 33px;
		text-align: center;
	}
	#rate:not(:checked)>label:hover,#rate:not(:checked)>label:hover~label {
		color: var(--c-primary-base);
		opacity: 1;
	}
	#rate>input:checked+label:hover,#rate>input:checked+label:hover~label,#rate>input:checked~label:hover,#rate>input:checked~label:hover~label,#rate>label:hover~input:checked~label {
		color: var(--c-primary-base);
		opacity: 1;
	}
	
	#rate>input:checked~label {
		color: var(--c-primary-base);
		opacity: 1;
	}
}


.items-box{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap:var(--gap-s);
	padding: 0;margin: 0; list-style: none;
}

.catalog-loading{
	height: 3px;
	margin-bottom: 5px;
	border-radius: 999px;
	background-color: var(--c-dark-50);
	overflow: hidden;
	margin-top: -8px;
}

.catalog-loading-bar{
	display: block;
	width: 35%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--c-primary-base) 0%, #4fd466 100%);
	animation: catalog-loading-move 1s linear infinite;
}

@keyframes catalog-loading-move {
	0% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(320%);
	}
}

.empty-result{
	padding: var(--gap-m);
	border-radius: var(--r-base);
	background-color: var(--c-dark-50);
	font-weight: 500;
}

.empty-result a{
	color: var(--c-primary-base);
	font-weight: 700;
}

.items{
	list-style: none;
	li{
		position: relative;
		display: flex; flex-direction: column;
		a{
			text-decoration: none;
			.item-img{
				background-color: var(--c-dark-50);
				border-radius: var(--r-base);
				position: relative;
				img{
					display: block;
					border-radius: var(--r-base);
					mix-blend-mode: multiply;
				}
				.labels{
					position: absolute;
					left: var(--gap-xs);
					bottom: var(--gap-xs);
					font-size: var(--f-p-xs);
				}
			}
			h6{
				font-size: var(--f-h4);
				font-weight: 600;
				color: var(--c-primary-base);
				margin-block: var(--gap-xs);
				line-height: 1;
				u{
					font-size: var(--f-h5);
					text-decoration: line-through;
					color: var(--c-primary-800);
					font-weight: 400;
				}
			}
			p{
				font-weight: 600;
				line-height: 1;
				margin-block: var(--gap-xs);
			}
		}
		.add-compare{
			position: absolute;
			right: var(--gap-xs);
			top: var(--gap-xs);
			height: 44px;width: 44px;
			background-color: var(--c-white);
			border: none;
			border-radius: 44px;
			display: flex; align-items: center;justify-content: center;
			cursor: pointer;
			&::before{
				height: 20px; width: 20px;
				filter: var(--filter-green);
			}
		}
		.add-compare.added{
			background-color: var(--c-primary-400);
		}
		.but-box {
			margin-top: auto;
			display: grid;
			grid-template-columns: 1fr 44px;
			gap: var(--gap-xs);
			height: 44px;
			button{
				display: flex; align-items: center;justify-content: center;
				border: none;
				border-radius: var(--r-base);
				cursor: pointer;
			}
			.ico::before{
				height: 20px; width: 20px;
			}
			.add-basket{
				background-color: var(--c-primary-base);
				color: var(--c-white);
				&::before{
					filter: var(--filter-white)
				}
			}
			.add-favorite{
				background-color: var(--c-primary-200);
			}
			.add-favorite.added{
				background-color: var(--c-primary-400);
			}
		}
	}
}

.pagenav {
	all: unset;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--gap-xs);
	margin-top: var(--gap-l);

	a {
		display: flex;
		align-items: center;
		justify-content: center;

		height: 36px;
		width: 36px;

		background-repeat: no-repeat;
		background-position: 50%;

		color: var(--c-dark-base);
		font-weight: 600;
		background-color: var(--c-dark-100);
		border-radius: 36px;

		font-size: var(--f-p-s);
		text-decoration: none;
	}

	li:first-child a,
	li:last-child a {
		border: 1px solid var(--c-dark-100);
		background-color: var(--c-white);
	}

	li:last-child a {
		transform: rotate(180deg);
	}

	.active {
		background-color: var(--c-primary-base);
		color: var(--c-white);
	}
}

.item-box{
	margin-top: var(--gap-m);
	display: grid;
	grid-template-columns: 11fr 4fr;
	grid-template-rows: min-content 1fr;
	gap: var(--gap-m);

	.item-alb{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: var(--gap-m);
		a{
			background-color: var(--c-dark-50);
			border-radius: var(--r-base);
			img{
				mix-blend-mode: multiply;
				display: block;
				border-radius: var(--r-base);
			}
		}
	}
}

.action-box{
	grid-row: span 2;
	.available{
		color: var(--c-primary-base);
		margin: 0;
		font-size: var(--f-p-s);
		font-weight: 500;
		&::before{
			height: 20px;width: 20px;
		}
	}
	.not-available{
		color: var(--c-dark-400);
		margin: 0;
		font-size: var(--f-p-s);
		font-weight: 500;
		&::before{
			height: 20px;width: 20px;
			filter: var(--filter-gray);
		}
	}
	.labels{
		margin-top: var(--gap-s);
		font-size: var(--f-p-s);
	}
	h1{
		margin-block: var(--gap-s);
		font-size: var(--f-h3);
		font-weight: 600;
	}
	h6{
		font-size: var(--f-h1);
		font-weight: 600;
		color: var(--c-primary-base);
		margin-block: var(--gap-s);
		line-height: 1;
		u{
			font-size: var(--f-h4);
			text-decoration: line-through;
			color: var(--c-primary-800);
			font-weight: 400;
		}
	}
	.item-bt-box{
		display: grid;
		grid-template-columns: 44px 44px 1fr;
		gap: var(--gap-xs);
		button{
			display: flex; align-items: center;justify-content: center;
			border: none;
			border-radius: var(--r-base);
			cursor: pointer;
			height: 44px;
			&::before{
				display: block;
				height: 20px;width: 20px;
			}
		}
		.add-compare{
			background-color: var(--c-primary-200);
			&::before{
				filter: var(--filter-green)
			}
		}
		.add-favorite{
			background-color: var(--c-primary-200);
		}
		
		.add-favorite.added{
			background-color: var(--c-primary-400);
		}
		.add-compare.added{
			background-color: var(--c-primary-400);
		}
		.add-basket{
			background-color: var(--c-primary-base);
			color: var(--c-white);
			&::before{
				filter: var(--filter-white)
			}
		}
		.add-form{
			grid-column-start: span 3;
			border: 1px solid var(--c-primary-base);
			background-color: var(--c-white);
			color: var(--c-primary-base);
		}
	}

}

.question-box {
	margin-top: var(--gap-m);
	padding: var(--gap-s);
	background: var(--c-primary-base);
	border-radius: var(--r-base);
	text-align: center;

	h6 {
		color: var(--c-white);
		margin: 0 0 var(--gap-s);
		font-size: var(--f-h4);
		font-weight: 600;
	}
	
	p {
		margin: 0 auto var(--gap-m);
		line-height: 1.2;
		color: var(--c-white);
	}
	
	.callback {
		height: 44px;
		width: 100%;
		border: 1px solid var(--c-white);
		border-radius: var(--r-base);
		background: transparent;
		color: var(--c-white);
		cursor: pointer;
		justify-content: center;
		&::before{
			height: 20px;width: 20px;
		}
	}
}

.pd-box {
	margin-top: -6px;
	position: relative;
	z-index: -1;
	padding: var(--gap-m) var(--gap-s) var(--gap-s) var(--gap-s);
	background: var(--c-dark-100);
	border-radius: var(--r-base);
	text-align: center;
	
	.pd-but-box {
		display: flex;
		justify-content: center;
		gap: var(--gap-xs);
		margin-bottom: var(--gap-s);
	
		button {
			display: flex; align-items: center;justify-content: center;
			font-size: var(--f-p-s);
			color: var(--c-dark-base);
			background: none;
			border: none;
			cursor: pointer;
			line-height: 1;
	
			&.ico::before {
				width: 20px;
				height: 20px;
			}
		}
	}
	
	p {
		margin: 0;
		font-size: var(--f-p-s);
		line-height: 1.2;
		color: var(--c-dark-400);
	}
}

.item-acc-data {
	margin-top: var(--gap-base);
	font-size: var(--f-p);
	font-weight: 300;
}

.switcher-nav {
	display: flex;
	gap: var(--gap-s);
	font-size: var(--f-p);
	font-weight: 500;
	border-bottom: 1px solid var(--c-dark-200);
	list-style: none;
	padding: 0;
	
	overflow-x: auto;
	touch-action: pan-x;
	scrollbar-width: none;
	-ms-overflow-style: none;
	&::-webkit-scrollbar {
		display: none;
	}

	a {
		position: relative;
		display: block;
		padding-bottom: var(--gap-xs);
		color: var(--c-dark-base);
		text-wrap: nowrap;
	}

	.uk-active a {
		color: var(--c-primary-base);
	}

	.uk-active a::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: -1px;

		height: 5px;
		background-color: var(--c-primary-base);
	}
}

.switcher-data {
	margin-top: var(--gap-base);
}

.item-char {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: var(--gap-s);
	row-gap: var(--gap-xs);
	
	dl {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		margin: 0;
	
		border-bottom: 1px dashed var(--c-dark-200);
	
		dt {
			margin-bottom: -2px;
			font-weight: 500;
			background-color: var(--c-white);
		}
	
		dd {
			margin-bottom: -2px;
			max-width: 50%;
			text-align: right;
			background-color: var(--c-white);
		}
	
		&:hover {
			border-bottom: 1px solid var(--c-primary-base);
		}
	}
	
	/* dl + dl {
		margin-bottom: var(--gap-xs);
	} */
}

.send_review {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap-m);
	
	background-color: var(--c-primary-200);
	
	padding: var(--gap-m);
	margin-bottom: var(--gap-l);
	
	border: 1px solid var(--c-primary-200);
	border-radius: var(--r-base);

	h4{
		font-weight: 600;
		margin-bottom: 0;
	}

	p {
		margin-top: var(--gap-base);
		line-height: 1.2;
		margin-bottom: 0;
	}
	
	button {
		flex-shrink: 0;
	
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--gap-xs);
		border: none;
		padding: var(--gap-xs);
		border-radius: var(--r-base);
	
		background-color: var(--c-primary-base);
		color: var(--c-white);
	
		font-weight: 600;
	}
}

.rq {
	.rq-header {
		display: flex;
		align-items: center;
		gap: var(--gap-xs);
	
		img {
			height: 60px;
		}
	
		div {
			margin-right: auto;
		}
	
		time {
			font-size: var(--f-p-s);
			color: var(--c-dark-400);
		}
	
		h6 {
			margin-bottom: var(--gap-base);
		}
	
		.rating {
			display: flex;
			list-style: none;
	
			margin: 0;
			padding: 0;
	
			width: 100px;
			height: 16px;
	
			li {
			width: 20px;
			height: 16px;
			}
		}
	}

	.rq-photos {
		display: flex;
		flex-wrap: wrap;
		gap: var(--gap-xs);
	
		margin-top: var(--gap-xs);
	
		img {
			width: 60px;
			height: 60px;
			object-fit: cover;
		}
	}
	
	h4 {
		margin-top: var(--gap-s);
		font-size: var(--f-h5);
		font-weight: 500;
		line-height: 1.4;
	}
	
	p {
		margin-top: var(--gap-s);
		padding: var(--gap-base) 0 var(--gap-base) var(--gap-m);
	
		font-size: var(--f-p);
		line-height: 1.4;
	
		border-left: 2px solid var(--c-primary-base);
	
		&::before {
			content: 'Дешевая Мебель';
			display: block;
	
			margin-bottom: var(--gap-base);
	
			font-weight: 600;
			color: var(--c-primary-base);
		}
	}
}

.rq + .rq {
  margin-top: var(--gap-xl);
}

.scroll-header{
	display: flex; align-items: center;justify-content: space-between;
	margin-top: var(--gap-l);
	margin-bottom: var(--gap-s);
	* {
		margin: 0;
	}
	h6{
		font-size: var(--f-h2);
		font-weight: 600;
		letter-spacing: -3%;
	}
	a{
		color: var(--c-dark-base);
		text-decoration: none;
		&::after{
			height: 20px;width: 20px;
		}
	}
}

.items-slider-box{
	position: relative;
	.prev,.next{
		position: absolute;
		top: 30%;
		border: none;
		border-radius: 44px;
		background-color: var(--c-primary-base);
		background-repeat: no-repeat;
		background-position: 50%;
		background-size: 20px 20px;
		height: 44px;width: 44px;
		cursor: pointer;
	}
	.prev{
		left: 2px;
		transform: rotate(180deg);
	}
	.next{
		right: 2px;
	}
}

.switcher-data .items-slider-box{
	.prev{
		left: -18px;
	}
	.next{
		right: -18px;
	}
}

.modal{
	.uk-modal-dialog{
		border-radius: var(--r-base);
	}
	.uk-close{
		filter: var(--filter-green)
	}
	h3{
		font-size: var(--f-h3);
		font-weight: 600;
	}
	p{
		margin-block: 0;
		line-height: 1.2;
	}
	.callback {
		height: 56px;
		width: 100%;
		font-size: var(--f-h5);
		border: none;
		border-radius: var(--r-base);
		background: var(--c-primary-base);
		color: var(--c-white);
		cursor: pointer;
		justify-content: center;
		&::before{
			height: 20px;width: 20px;
		}
	}
	.add-form {
		height: 56px;
		width: 100%;
		font-size: var(--f-h5);
		border: none;
		border-radius: var(--r-base);
		background-color: var(--c-primary-base);
		color: var(--c-white);
		cursor: pointer;
		justify-content: center;
		&::before{
			height: 20px;width: 20px;
			filter: var(--filter-white);
		}
	}
}




.offcanvas {
	&::before {
		background: rgba(0,0,0,.3);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
	}
	.uk-offcanvas-bar {
		background-color: var(--c-white);
		color: var(--c-dark-base);
		padding: var(--gap-m);

		label {
			color: var(--c-dark-base);
		}

		p {
			color: var(--c-dark-base);
			margin: 0;
			line-height: 1;
		}
		.bsk-item {
			display: flex;
			gap: var(--gap-xs);
			.bsk-img{
				width: 90px;
			}	
			.bsk-data {
				flex-basis: 90%;
			}
			.bsk-price {
				font-size: var(--f-h4);
				margin-top: var(--gap-xs);
				margin-bottom: var(--gap-s);
		
				b {
					color: var(--c-primary-base);
					margin-right: var(--gap-xs);
					font-weight: 600;
				}
		
				u {
					text-decoration: line-through;
					color: var(--c-dark-400);
				}
			}
		}
		a {
			color: var(--c-dark-base);

			&:hover {
				color: var(--c-primary-base);
			}
		}

		h1 {
			color: var(--c-primary-base);
			font-weight: 600;
			margin-top: 0;
		}

		h3 {
			color: var(--c-dark-base);
			font-weight: 600;
		}

		h4 {
			color: var(--c-dark-base);
			margin-block: var(--gap-s);
		}

		hr {
			margin-block: var(--gap-s);
			border-top: 1px solid var(--c-dark-200);
			
		}

		.bt {
			margin-top: var(--gap-s);
			flex: 1 1 1rem;
		}
	}

	.offcanvas-menu{
		a{
			display: block;
			color: var(--c-primary-base);
			font-weight: 600;
			font-size: var(--f-h5);
			padding-block: var(--gap-xs);
		}
	}

	.close {
		outline: none;
		top: var(--gap-m);
		right: var(--gap-m);
		color: var(--c-primary-base);
	}
	.close:hover {
		color: var(--c-primary-base);
		opacity: .9;
	}
	.form-footer {
		display: flex;
		align-items: center;
		gap: var(--gap-xs);

		button{
			height: 44px;
			flex: 1 0 auto;
			border: none;
			border-radius: var(--r-base);
			cursor: pointer;
		}
		.next-step{
			background: var(--c-primary-base);
			color: var(--c-white);
		}
		.back-step{
			background: var(--c-primary-200);
			color: var(--c-primary-base);
		}
	}
}

.basket-box .uk-offcanvas-bar,
.favorite-box .uk-offcanvas-bar{
	width: 90%;
}



.bsk-option-box {
	display: flex; align-items: center;justify-content: space-between;
	gap: var(--gap-xs);

	.bsk-option-form {
		display: flex;
		align-items: center;

		.minus,
		.plus {
			border: none;
			height: 36px;
			width: 36px;
			cursor: pointer;
			background-color: var(--c-primary-200);
		}

		.bsk-option-value {
			margin: 0 10px;
			font-size: 20px;
			color: var(--c-dark-base);
			width: 30px;
			text-align: center;
			border: none;
			outline: none;
			-moz-appearance: textfield;
		}

		.bsk-option-value::-webkit-outer-spin-button,
		.bsk-option-value::-webkit-inner-spin-button {
			-webkit-appearance: none;
			margin: 0;
		}
	}
	button {
		justify-content: center;
		border: none;
		border-radius: var(--r-base);
		cursor: pointer;
		height: 36px;
		font-size: var(--f-p-s);
	}
	.add-basket{
		flex: 1 1 auto;
		background-color: var(--c-primary-base);
		color: var(--c-white);
		&::before{
			filter: var(--filter-white);
			height: 20px;width: 20px;
		}
	}
	.del-basket {
		flex: 1 1 auto;
		background-color: var(--c-primary-200);
		color: var(--c-primary-base);
		&::before{
			filter: var(--filter-green);
			height: 16px;width: 16px;
		}
	}
	.bsk-option-form + .del-basket {
		flex: 0 1 auto;
		background-color: var(--c-white);
		color: var(--c-dark-400);
		&::before {
			filter: none;
		}
	}
}

.delivery-hidden:not(.show-delivery){
	display: none;
}

footer.box{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--gap-s);
	padding-top: var(--gap-l);
	padding-bottom: var(--gap-m);
	line-height: 1.2;

	.logo{
		max-width: 174px;
	}

	h3{
		font-size: var(--f-h5);
		font-weight: 700;
		color: var(--c-primary-base);
		margin-bottom: var(--gap-s);
	}

	a{
		color: var(--c-dark-base);
	}
	a:hover{
		color: var(--c-primary-base);
	}

	.docs{
		display: flex; flex-direction: column; gap: var(--gap-base);
		.doc{
			align-items: start;
			color: var(--c-dark-base);
			&::before{
				height: 20px;width: 20px;
			}
		}
	}

	.copyright{
		color: var(--c-dark-400);
		font-size: var(--f-p-s);
	}

	nav {
		display: flex; align-items: flex-start; flex-direction: column; gap: var(--gap-s);
	}

	.phone::before,.callback::before{
		height: 16px;width: 16px;
		filter: brightness(0) saturate(100%) invert(77%) sepia(1%) saturate(0%) hue-rotate(53deg) brightness(92%) contrast(88%);
	}

	.mail::before{
		height: 16px;width: 16px;
	}
	
	.vk-btn,.max-btn,.ok-btn{
		border: 1px solid var(--c-primary-base);
		padding: var(--gap-xs) var(--gap-s);
		border-radius: 50px;
	}
	.vk-btn::before,.max-btn::before,.ok-btn::before{
		height: 24px;width: 24px;
	}
}

.hero-box{
	position: relative;
	.dotnav{
		position: absolute;
		bottom: var(--gap-m);
		right: calc(var(--gap-m)*2);
		a{
			background-color: var(--c-white);
			border: 1px solid var(--c-primary-base);
			border-radius: 30px;
			transition: .3s;
		}
		.uk-active a{
			background-color: var(--c-primary-base);
			width: 20px;
		}
	}
}

.hero-list{
	aspect-ratio: 1600/590 !important;
	border-radius: var(--r-base);
	& > a{
		text-decoration: none;
	}
	& > *{
		background-position: 50%;
		background-size: cover;
		padding: var(--gap-m);
		.hero-txt{
			height: 100%;
			max-width: 600px;
			display: flex; flex-direction: column; align-items: flex-start;justify-content: flex-end; gap: var(--gap-xs);
			h2 {
				line-height: 1.1;
				font-weight: 600;
				margin: 0;
				span{
					background-color: var(--c-white);
					padding-inline: var(--gap-xs);
					border-radius: var(--r-base);
					box-decoration-break: clone;
					-webkit-box-decoration-break: clone;
					text-wrap: balance;
				}
			}
			button{
				background-color: var(--c-primary-base);
				color: var(--c-white);
				padding: var(--gap-xs);
				border: none;
				border-radius: var(--r-base);
				line-height: 1;
				&::after{
					height: 20px;width: 20px;
					filter: var(--filter-white);
				}
			}
		}
	}
}

.category-box {
	display: flex;
	gap: var(--gap-s);
	overflow-x: auto;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
	font-size: var(--f-p-s);
	list-style: none;
	margin: 0;
	padding: 0;
	a{
		display: block;
		width: 200px;
		text-decoration: none;
		img{
			border-radius: var(--r-base);
		}
		p{
			display: flex; align-items: center;justify-content: space-between;
			font-weight: 600;
			margin: var(--gap-xs) 0 0 0;
			&::after{
				height: 20px;width: 20px;
			}
		}
	}
}

.category-list{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: var(--gap-s);
	overflow-x: initial;
	a{
		width: auto;
	}
}

.scrollbar {
	margin-block: var(--gap-s);
}
.scrollbar__track {
	position: relative;
	height: 4px;
	background: var(--c-dark-50);
	border-radius: 3px;
}
.scrollbar__thumb {
	position: absolute;
	height: 100%;
	width: 40px;
	background: var(--c-primary-800);
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s;
}
.scrollbar__thumb:hover {
	background: var(--c-primary-base);
}

.no-select {
	user-select: none;
}

.brands{
	display: flex; flex-wrap: wrap; gap: var(--gap-m);
	a,div{
		flex: 1 1 10ch;
		display: flex; align-items: center;justify-content: center;
		background-color:var(--c-dark-50);
		aspect-ratio: auto;
		border-radius: var(--r-base);
		padding: var(--gap-m);
		img{
			mix-blend-mode:multiply;
		}
	}
}

.gray-box{
	background-color: var(--c-dark-50);
	padding-block: var(--gap-m);
	margin-top: var(--gap-m);
}

.advantages-box{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto;
	gap: var(--gap-m);
	aspect-ratio: 160/59;
	
	article {
		grid-row: 1 / 3;
		display: flex; flex-direction: column;
		padding: var(--gap-s);
		border-radius: var(--r-base);
		* {
			color: var(--c-white);
			margin: 0;
			line-height: 1.4;
		}
		h6{
			font-size: var(--f-p);
			font-weight: 600;
		}
		p{
			font-size: var(--f-p-s);
		}
	}

	article:nth-child(3) {
		grid-row: 1 / 2;
		grid-column: 3;
	}
	
	article:nth-child(4){
		grid-row: 2 / 3;
		grid-column: 3;
	}

	article:not(:first-child){
		background-size: cover;
		background-position: 50%;
		justify-content: flex-end;
	}
	article:first-child{
		background-size: 0 0, 200px 200px;
		background-attachment: fixed;
		
		&::before{
			content: 'НАШИ ПРЕИМУЩЕСТВА';
			color: var(--c-white);
			font-size: var(--f-p-s);
		}

		h6{
			margin-top: auto;
			font-size: var(--f-h4);
			line-height: 1.2;
			margin-bottom: var(--gap-s);
		}

	}
}

.green-box{
	background-color: var(--c-primary-200);
	padding-block: var(--gap-m);
}

.rating{
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	height: 16px;width: 100px;
	li{
		width: 20px;height: 16px;
	}
}

.review-box{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap-m);
	min-width: 0;
}
.review-list{
	grid-column-start: span 3;
	min-width: 0;
	overflow: hidden;

	article{
		display: flex; flex-direction: column;
		border: 1px solid var(--c-primary-base);
		border-radius: var(--r-base);
		height: 100%;
		header{
			line-height: 1;
			display: flex; align-items: center;justify-content: space-between;
			padding: var(--gap-s);
			color: var(--c-primary-base);
			min-width: 0;
			border-bottom: 1px solid var(--c-primary-base);
			time{
				font-size: var(--f-p-xs);
				text-align: right;
			}
		}
		p{
			margin: var(--gap-s);
			line-height: 1.2;
		}
		h6{
			margin:auto var(--gap-s) var(--gap-s) var(--gap-s);
			color: var(--c-primary-base);
			font-weight: 600;
		}
	}
}

.cnt .review-list{
	display: block;
	min-width: auto;
	overflow: auto;
	
	li{
		margin-bottom: 24px;
	}
}

.review-form{
	display: flex; flex-direction: column; align-items:flex-start;
	background-image: url(/f/green-bg.png);
	border-radius: var(--r-base);
	background-size: 200px 200px;
	background-attachment: fixed;
	padding: var(--gap-s);
	* {
		color: var(--c-white);
		margin: 0;
		line-height: 1.4;
	}
	h3 {
		margin-top: auto;
		line-height: 1;
		font-weight: 600;
	}

	.add-review{
		color: var(--c-white);
		padding: 0;
		margin-top: var(--gap-m);
		background-color: transparent;
		border: none;
		cursor: pointer;
		&::after{
			height: 20px;
			width: 20px;
			filter: var(--filter-white);
		}
	}

	.review-nav{
		display: flex; gap: var(--gap-xs);
		padding: 0;
		list-style: none;
		margin-top: var(--gap-xs); 
		li{
			padding: 0;
			margin: 0;
		}
		a{
			display: block;
			height: 10px;width: 10px;
			background-color: var(--c-primary-200);
			border: none;
			border-radius: 10px;
		}
		.uk-active a{
			background-color: var(--c-white);
			width: 20px;
		}
	}

}

.delivery-box{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap-m);
	padding-block: var(--gap-l);
	div{
		border-radius: var(--r-base);
	}
	div:first-child {
		grid-column-start: span 3;
		display: flex; flex-direction: column; gap: var(--gap-xs);
		min-height: 255px;
		background-size: 200px 200px;
		background-image: url(/f/green-bg.png);
		background-attachment: fixed;
		padding: var(--gap-s);
		*{
			color: var(--c-white);
			margin: 0;
			line-height: 1;
		}
		h2{
			font-weight: 600;
		}
		.go-delivery{
			margin-top: auto;
			&::after{
				height: 20px;
				width: 20px;
				filter: var(--filter-white);
			}
		}
	}
	div:last-child {
		background-size: cover;
		background-position: 50%;
	}
}


.bottom-nav{
	display: none;
	align-items: center;justify-content: space-around;
	position: fixed;
	padding-block: var(--gap-s);
	left: 0;right: 0;bottom: 0;
	z-index: 200;
	background-color: var(--c-primary-base);
	a{
		height: 24px;
		width: 24px;
		background-size: 24px 24px;
		position: relative;
		span{
			position: absolute;
			right: -12px;
			display: block;
			height: 18px;
			min-width: 18px;
			background-color: var(--c-white);
			color: var(--c-primary-base);
			font-size: 12px;
			font-weight: 600;
			line-height: 16px;
			text-align: center;
			padding-inline: 3px;
			border-radius: 20px;
			border: 1px solid var(--c-primary-base);
		}
	}
}

.compare-box{
	overflow-x: auto;

	table{
		position: relative;
		border-collapse: separate;
		border-spacing: 12px;
		table-layout: auto;
		width: auto;
		margin-left: -12px;
		tr{
			a{
				position: relative;
				text-decoration: none;
				z-index: 0;
				display: block;
				.del-compare{
					position: absolute;
					top: var(--gap-s);
					right: var(--gap-s);
					background-color: var(--c-white);
					border: none;
					border-radius: 30px;
					font-size: 10px;
					font-weight: 400;
					line-height: 1;
					padding: 6px;
				}
			}
			img{
				max-width: 250px;
				border-radius: var(--r-base);
			}

			.gray-bg{
				z-index: 1;
				background-color: rgba(245, 245, 245, 0.9);
				backdrop-filter: blur(10px);
				-webkit-backdrop-filter: blur(10px);
				border-radius:0 var(--r-base) var(--r-base) var(--r-base);
			}

			.add-basket{
				background-color: var(--c-primary-base);
				color: var(--c-white);
				margin-top: 12px;
				padding: var(--gap-xs);
				width: calc(100% + 2px);
				display: flex; align-items: center;justify-content: center;
				border: none;
				border-radius: var(--r-base);
				font-weight: 400;
				&::before{
					filter: var(--filter-white);
					height: 20px; width: 20px;
				}
			}

			th,td {
				padding: 1px;
				background-color: var(--c-white);
				text-align: center;
				vertical-align: top;
				max-width: 250px;
			}


			td {
				border-bottom: 1px solid var(--c-dark-100);
				padding-bottom: 12px;
			}

			th:first-child,td:first-child {
				position: sticky;
				left: 0;
				white-space: nowrap;
				text-align: left;
			}
		}
	}
}


.mob-search-box{
	position: fixed;
	bottom: calc(22px + var(--gap-s)*2);
	left: 0;
	right: 0;
	padding:var(--gap-xs);
	background-color: var(--c-dark-100);
	.in{
		width: 100%;
		box-sizing: border-box;
		font-size: 18px;
		background-color: var(--c-white);
		border: none;
		border-radius: 30px;
		padding: 6px 12px;
	}
}


.address-list{
	display: grid;
	grid-template-columns: 4fr 6fr;
	gap:var(--gap-l);
	.map{
		min-height: 400px;
	}
}

.action-list{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gap-l);
	img{
		border-radius: var(--r-base);
	}
	h3{
		margin-top: var(--gap-s);
		line-height: 1.2;
	}
}

.t1{width: 100%;}
.t1 p{margin: 0;}
.t1 th{padding: var(--gap-xs);color: var(--c-white);background-color: var(--c-primary-base);}
.t1 td{padding: var(--gap-xs);border-bottom: 1px solid var(--c-primary-400);}
.t1 tr:hover{background-color: var(--c-primary-200);}

@media screen and (max-width: 1290px) {

	.second .short-menu{
		gap: var(--gap-s);
	}

}

@media screen and (max-width: 1200px) {
	.burger{
		display: block;
	}
	.second .short-menu{
		display: none;
	}
	footer.box {
		grid-template-columns: repeat(4, 1fr);
		&>div:last-child{
			grid-column: 1 / 5;
			a{
				display: block;
				max-width: 300px;
				margin-inline: auto;
			}
		}
	}
}

@media screen and (max-width: 1024px) {
	.advantages-box {
			grid-template-columns: repeat(3, 1fr);
			grid-template-rows: auto;
			aspect-ratio: auto;
	
			article {
					grid-row: auto; 
			}
			article:first-child {
					grid-column: 1 / -1;
			}
			article:nth-child(2) {
					grid-column: 1;
					grid-row: span 2;
			}
			article:nth-child(3) {
					grid-column: 2;
					grid-row: 2 / 3;
					aspect-ratio: 4/3;
			}
			article:nth-child(4) {
					grid-column: 2;
					grid-row: 3 / 4;
					aspect-ratio: 4/3;
			}
			article:nth-child(5) {
					grid-column: 3;
					grid-row: span 2;
			}
		}

	.review-box {
		display: flex; flex-direction: column-reverse;
	}
	.delivery-box{
		grid-template-columns: repeat(3, 1fr);
		div:first-child {
			grid-column-start: span 2;
			display: flex; flex-direction: column; gap: var(--gap-xs);
			min-height: 220px;
		}
		div:last-child {
			background-size: cover;
			background-position: 50%;
		}
	}
}

@media screen and (max-width: 960px) {
	.second {
		gap: var(--gap-s);
		.logo {
			width: 160px;
			height: 52px;
		}
		.action-menu{
			gap: var(--gap-s);
		}
	}

	.cat-header{
		aspect-ratio: auto;
	}
	
	.cat-box {
		display: block;
	}

	.sort{
		flex: 1 1 auto;
	}
	.filter{
		position: relative;
		display: flex; align-items: center; gap: var(--gap-s);
		margin-bottom: var(--gap-s);
	}

	.open-filter{
		height: 55px;width: 55px;
		padding: var(--gap-xs);
		display: block;
	}
	.filter-box{
		position: absolute;
		top: 44px;
		z-index: 10;
		background-color: var(--c-white);
		padding: var(--gap-s);
		margin: 0;
		width: 100%;
		box-shadow: 0px 17px 7px rgba(59, 58, 71, 0.01), 0px 10px 6px rgba(59, 58, 71, 0.03), 0px 4px 4px rgba(59, 58, 71, 0.04), 0px 1px 2px rgba(59, 58, 71, 0.05);
	}
	.bt-main{
		display: block;
	}

	.filter-box:not(.view){
		display: none;
	}

	.uk-sticky {
		z-index: 1;
	}

	footer.box {
		grid-template-columns: repeat(3, 1fr);
		.logo {
			max-width: 140px;
		}
		&>div:first-child{
			grid-column: 1 / 5;
			order: 4;
			text-align: center;
		}
		&>div:last-child{
			order: 5;
		}
	}
}



@media screen and (max-width:768px){
	.first{
		a:not(.phone):not(.callback){
			display: none;
		}
		.callback{
			margin-left: auto;
		}
	}
	.second{
		.search-box{
			display: none;
		}
		.action-menu{
			display: none;
		}
		.burger{
			margin-left: auto;
		}
	}
	.bottom-nav{
		display: flex;
	}

	.brands{
		a{
			flex: 1 1 160px;
			background-color:var(--c-dark-50);
			aspect-ratio: auto;
		}
	}
	footer.box{
		padding-bottom: 90px;
	}
	.item-box{
		display: flex; flex-direction: column; gap:var(--gap-m);
	}
	.scroll-header{
		h6{
			font-size: var(--f-h3);
			line-height: 1.2;
		}
		a{
			text-align: right;
		}
	}

	.address-list {
		grid-template-columns: 1fr;
	}

	.action-list{
		grid-template-columns: repeat(1, 1fr);
		gap: var(--gap-m);
	}
}


@media screen and (max-width:640px){
	
	.hero-list .hero-txt{
		h2 {
			font-size: var(--f-h4);
		}
		button{
			span{
				display: none;
			}
			&::before{
				content: 'Подробнее';
			}
		}
	}

	.category-box {
		font-size: var(--f-p);
		a{
			width: 140px;
		}
	}
	.category-list{
		a{
			width: auto;
			img{
				width: 100%;
			}
		}
	}

	.advantages-box {
			grid-template-columns: repeat(2, 1fr);
			aspect-ratio: auto;
	
			article {
				grid-column: auto !important;
				grid-row: auto !important;
			}
			article:first-child {
					grid-column: 1 / -1 !important;
			}
		}

	.delivery-box{
		grid-template-columns: repeat(1, 1fr);
		div {
			min-height: 150px !important;
		}
		div:first-child {
			grid-column-start: span 1;
		}
	}

	footer.box {
		display: flex; flex-direction: column; gap: var(--gap-m);
		&>div{
			text-align: center;
		}
		&>div:nth-child(3),&>div:nth-child(4){
			display: none;
		}
		nav,.docs{
			align-items: center;
		}
	}
}
















