@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('opentype');
	font-style: normal;
	font-display: fallback;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('opentype');
	font-style: italic;
	font-display: fallback;
}


html {
	--main-color: #000;
  	--main-color-contrast: #fff;
	--accent-color: #FF5100;
	--secondary-color: #6CA9FF;
	--accept-color: #3C9;
	--danger-color: #D33;
	
	--page-vertical-padding: 16px;
	--page-horizontal-padding: 50px;

	--page-background-color: #eee;
}

@media screen and (max-width: 1919px) {
	html {
		--page-vertical-padding: 18px;
		--page-horizontal-padding: 30px;
	}
}

@media screen and (max-width: 1833px) {
	html {
		--page-vertical-padding: 18px;
		--page-horizontal-padding: 28px;
	}
}

body {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
	background-color: var(--page-background-color);
	padding: 0;
}

[type="text"], 
[type="password"], 
[type="email"], 
[type="number"], 
[type="search"], 
[type="tel"], 
[type="date"],
[type="datetime"], 
[type="datetime-local"], 
[type="month"],
[type="week"], 
[type="time"],
[type="url"], 
[type="search"], 
[type="tel"],
textarea,
select {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	display: block;
	border: none;
	background-color: var(--page-background-color);
	border-radius: 20px;
	padding: 16px 32px;
	box-sizing: border-box;
	width: auto;
	resize: vertical;
}

p:first-child {
	margin-top: 0;
}

p:last-child {
	margin-bottom: 0;
}

input:invalid {
	outline: 2px solid var(--danger-color);
}

fieldset {
	padding: 0;
	margin: 0;
	border: none;
}
select {
	appearance: none;
}

option {
	padding: 16px 32px;
}

hr {
	height: 1px;
	width: 100%;
	background: black;
	border: none;
}

a {
	color: var(--main-color);
	text-decoration: underline;
}

a:hover:where(:not(.brand-btn)) {
	text-decoration: none;
}

.accent-text {
	color: var(--accent-color);
}

.secondary-text {
	color: var(--secondary-color);
}

cart-counter {
	display: flex;
	background: var(--accent-color);
	border-radius: 30px;
	padding: 0 !important;
	color: #fff;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.cart-counter_contrast {
	color: var(--main-color);
	background-color: transparent;
	border: 1px solid currentColor;
}

cart-counter::part(add-button) {
	display: block;
	background: transparent;
	color: inherit;
	text-align: center;
	border: none;
	font-size: 13px;
	padding: 0 16px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	height: 100%;
}

cart-counter::part(counter) {
	display: flex;
	background: transparent;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	gap: 4px;
	height: 100%;
}

cart-counter::part(increment-btn),
cart-counter::part(decrement-btn) {
	border: none;
	color: inherit;
	background: transparent;
	font-size: 24px;
	width: 24px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 2 1 auto;
}
cart-counter::part(increment-btn) {
	text-align: left;
}
cart-counter::part(decrement-btn) {
	text-align: right;
}

cart-counter::part(value-input) {
	font-size: 20px;
	background: transparent;
	flex: 1 1 auto;
	width: 32px;
	border: none;
	color: inherit;
	text-align: center;
}
cart-counter::part(value-input):focus {
	outline: 1px solid #fff;
	border-radius: 30px;
}

.brand-input {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.brand-input > span {
	color: #888;
	font-size: 15px;
	line-height: 1.2;
}
.brand-input > :is(input, select) {
	width: 100%;
}

.brand-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border: none;
	height: auto;
	background-color: var(--accent-color);
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	padding: 12px 0;
	border-radius: 30px;
	cursor: pointer;
	will-change: filter;
	/*transition: background-color color 0.3s linear;*/
}

cart-counter.brand-btn {
	border-radius: 20px;
	height: 40px;
	overflow: hidden;
}

.brand-btn_wide {
	width: 100%;
}

@media screen and (max-width: 767px) {
  .brand-btn {
    font-size: 12px;
    padding: 10px 20px;
  }
}

.brand-btn_contrast {
  background-color: var(--main-color-contrast);
  color: var(--main-color);
}

.brand-btn_transparent {
	background-color: transparent;
	color: var(--main-color);
	border: 1px solid currentColor;
}


.brand-btn_radio {
	transition: all 0.2s;	
}
.brand-btn_with-arrow > span:after {
	content: '▼';
	display: inline-block;
	margin-left: 8px;
	transform: scale(1, 0.7);
}

.brand-btn_with-arrow:has(:checked) > span:after {
	transform: scale(1, -0.7);
}

.brand-btn_radio input:where(
	[type="radio"],
	[type="checkbox"]
){
	display: none;
}

.brand-btn_radio:has(input:not(:checked)) {
	background-color: transparent;
	color: var(--main-color);
	border: 1px solid currentColor;
}

.brand-btn_radio:has(input:checked) {
	border: 1px solid var(--accent-color);
	background-color: var(--accent-color);
	color: white;
}

/*.brand-btn:hover {*/
/*	text-decoration: none;*/
/*	background-color: color-mix(in srgb, var(--accent-color), var(--main-color) 15%);*/
/*}*/

/*.brand-btn_transparent:hover,*/
/*.brand-btn_contrast:hover {*/
/*	background-color: var(--accent-color);*/
/*	color: var(--main-color-contrast);*/
/*	border-color: var(--accent-color);*/
/*}*/

.brand-btn[disabled] {
	background-color: #ccc;
	filter: none;
	cursor: not-allowed;
}
.labeled-input {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0;
}
.labeled-input:first-child {
	margin-top: 0;
}
.labeled-input:last-child {
	margin-bottom: 0;
}

.labeled-input__label-text {
	color: #888;
}

.labeled-input__label-text {
	color: #888;
	font-size: 15px;
	font-weight: 400;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
	overflow-y: auto;
	padding: 20px;
	box-sizing: border-box;
}

.modal.active {
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	z-index: 1;
}

.modal__content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	max-width: 500px;
	width: 100%;
	z-index: 2;
	animation: modalFadeIn 0.3s ease-out;
}



.modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	transition: color 0.2s;
	z-index: 3;
}

.modal__close:hover {
	color: #f00;
}

.auth-window {
	padding: 50px 40px;
}

.auth-window__register {
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-transform: uppercase;
	color: var(--main-color);
	margin-bottom: 20px;
}

.auth-form__label_checkbox {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.auth-window__socials {
	float: right;
	text-align: right;
}

.auth-form__label {
	margin: 16px 0;
}
.auth-form__label:first-child {
	margin-top: 0;
}
.auth-form__label:last-child {
	margin-bottom: 0;
}
.auth-form__submit {
	max-width: 240px;
	width: 100%;
}

@media (max-width: 767px) {
	.auth-window__title {
		
	}
	.auth-window__socials {
		float: none;
		text-align: left;
		margin: 16px 0;
	}
}

/* Анимация появления */
@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.modal__content {
		width: 95%;
		margin: 20px auto;
		border-radius: 8px;
	}

	.modal__close {
		top: 10px;
		right: 10px;
		width: 25px;
		height: 25px;
		font-size: 20px;
	}
}




.page-content {
	padding: 50px 40px;
	background-color: #fff;
	border-radius: 20px;
	margin-top: 24px;
	margin-bottom: 24px;
}

@media (max-width: 1341px) {
	.page-content {
		padding: 32px;
	}
}

@media (max-width: 767px) {
	.page-content {
		padding: 24px 12px;
	}
}

@media (max-width: 359px) {
	.page-content {
		padding: 24px;
	}
}

.page-content > h1:first-child {
	margin-top: 0;
}

/* ============================================================================ */
/* 									FONTS										*/
/* ============================================================================ */


.two-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

h1 {
	font-size: 40px;
	line-height: 41px;
	font-weight: 500;
}
h2 {
	font-size: 40px;
	line-height: 41px;
	font-weight: 400;
}
h3 {
	font-size: 40px;
	line-height: 41px;
	font-weight: 500;
}


h4 {
	font-size: 20px;
	line-height: 22px;
}

h5 {
	font-size: 16px;
	line-height: 19px;
}

h6 {
	font-size: 14px;
	line-height: 17px;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}

:where(.page-wrapper) {
	padding: 0 var(--page-horizontal-padding);
	box-sizing: border-box;
}

:where(.page-wrapper__ignore-paddings) {
	margin: 0 calc(-1 * var(--page-horizontal-padding));
}
.breadcrumbs {
	padding: 0 var(--page-horizontal-padding);
}
.breadcrumbs__list {
	padding: 18px 0;
	margin: 0;
	list-style: none;
}

.breadcrumbs__item {
	display: inline-block;
	color: #888;
}

.breadcrumbs__item a {
	color: inherit;
	
}

.breadcrumbs__item a:hover {
	
}

.breadcrumbs__item:not(:first-child)::before {
	content: "/";
}

@media screen and (max-width: 1833px) {
  h3 {
    font-size: 30px;
    line-height: 31px;
  }
}

@media screen and (max-width: 999px) {
  h1 {
    font-size: 32px;
    line-height: 33px;
  }
  h2 {
		font-size: 32px;
		line-height: 33px;
	}
  h3 {
    font-size: 28px;
    line-height: 28px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 26px;
    line-height: 26px;
  }
  h2 {
		font-size: 26px;
		line-height: 26px;
	}
	h3 {
    font-size: 22px;
    line-height: 22px;
  }
	h4 {
		font-size: 16px;
		line-height: 18px;
	}

	h5 {
		font-size: 14px;
		line-height: 16px;
	}

	h6 {
		font-size: 12px;
		line-height: 14px;
	}
}

.price {
	font-size: 19px;
	font-weight: 900;
}

.price_old {
	font-size: 17px;
	text-decoration: line-through;
	color: #888;
}

.tag {
	background-color: #eee;
	font-size: 13px;
	padding: 8px 12px;
	border-radius: 20px;
	white-space: nowrap;
}

.tag_darker {
	background-color: #E0DEDE;
}
/* region HEADER */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 20px;
	padding: var(--page-vertical-padding) var(--page-horizontal-padding);
	background-color: var(--page-background-color);
	z-index: 100;
	--header-row-height: 48px;
}
/* region LOGO */
.header__logo {
	flex: 0 1 210px;
	margin-right: 56px;
}
/* endregion LOGO */

/* region NAV */
.header__menu {
	flex: 0 1 690px;
	margin-right: 58px;
}
.header__menu-btn {
	display: none;
	cursor: pointer;
}
.top-menu__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	flex-direction: row;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 4px 37px;
}

.top-menu__item {
	padding: 0;
	
}


.menu-item {
	white-space: nowrap;
	font-size: 15px;
	color: var(--main-color);
	text-decoration: none;
}

.menu-item a {
	color: inherit;
	text-decoration: inherit;
}

.menu-item:hover {
	color: var(--accent-color);
}


.top-menu__user-avatar {
	display: none;
	max-width: 296px;
	width: 100%;
}

.top-menu__auth-btn {
	width: 100%;
}

.top-menu__footer {
	display: none;
}

.top-menu__org-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.top-menu__vk span {
	color: inherit;
}
.top-menu__phone {
	margin-bottom: 32px;
	display: block;
}

.top-menu__app-links-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	max-width: 300px;
	margin-top: 12px;
}
.top-menu__app-link {
	text-decoration: none;
	display: block;
}

/* endregion NAV */

/* region PHONE */
.header__phone {
	flex: 0 1 163px;
	text-align: center;
	margin-right: 63px;
}

.phone-link {
	font-size: 19px;
	font-weight: 900;
	color: var(--main-color);
	white-space: nowrap;
	text-decoration: none;
}

.phone-link:hover {
	color: var(--accent-color);
	text-decoration: none;
}
/* endregion PHONE */

/* region SOCIAL */
.vk-link {
	color: var(--main-color);
	display: flex;
	gap: 10px;
	align-items: center;
	text-decoration: none;
}

.vk-link:hover {
	color: var(--accent-color);
	text-decoration: none;
}

.vk-link img {
	width: 20px;
	height: 20px;
}
/* endregion SOCIAL */

/* region SEARCH */
.header__search {
	flex: 1 1 290px;
	height: var(--header-row-height);
	position: relative;
}

.search-form {
	height: 100%;
	width: 100%;
	position: relative;
}

.search-form:before {
	content: '';
	background-image: url(../images/search_icon.svg);
	display: block;
	width: 22px;
	height: 22px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	margin: auto;
}

.search-form__input {
	width: 100%;
	padding: 12px 20px 12px 52px;
	border: none;
	background-color: #e0dede;
	border-radius: 20px;
	outline: none;
}
/* endregion SEARCH */

/* region HEARDER LINE BREAK */
.header__hr {
	display: block;
	flex: 1 0 100%;
	height: 0;
	border: none;
	min-width: 100%;
	margin: 0;
}

/* endregion HEADER LINE BREAK */


/* region TAGS */
.nav-tags {
	flex: 1 1 1565px;
	background-color: #fff;
	border-radius: 20px;
	display: flex;
	justify-content: space-around;
}

.nav-tags__link {
	display: inline-flex;
	text-transform: uppercase;
	flex: 1 1 100px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	line-height: 1;
	padding: 8px 16px;
}

.nav-tags__link img {
	max-height: 34px;
}

.nav-tags__link_blue {
	color: #6CA9FF;
}
.nav-tags__link_green {
	color: #33CC99;
}
.nav-tags__link_orange {
	color: #FF5100;
}
.nav-tags__link_pink {
	color: #FFA6CA;
}

.nav-tags__link:hover {
	color: var(--main-color);
	text-decoration: none;
}


/* endregion TAGS */


.auth-btn__icon, .profile-link__icon, .cart-btn__icon {
	width: 21px;
	height: 22px;
}

/* region CART */
.header__cart {
	flex: 0 1 auto;
	text-align: right;
	white-space: nowrap;
}
/* endregion CART */

/* region USER */
.header__user {
	flex: 0 1 auto;
	text-align: right;
	white-space: nowrap;
}

.auth-btn {
	color: var(--main-color);
	text-decoration: none;
}
/* endregion USER */

.cart-btn, .profile-link, .auth-btn {
	color: var(--main-color);
	font-size: inherit;
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	text-decoration: none;
}

.cart-btn:hover, .profile-link:hover, .auth-btn:hover {
	color: var(--accent-color);
	text-decoration: none;
}
@media screen and (max-width: 1919px) {
	.header {
		gap: 10px 20px;
	}
	.header__logo {
		height: 37px;
		margin-right: 57px;
	}
	.header__menu {
		margin-right: 59px;
	}
	.header__phone {
		margin-right: 61px;
	}
	.header__nav-tags {
		flex-basis: 1476px;
	}
}

@media screen and (max-width: 1833px) {
	/* region ORDER */
	.header__menu {
		order: 1;
	}
	.header__logo {
		order: 2;
	}
	.header__search {
		order: 3;
	}
	.header__phone {
		order: 4;
	}
	.header__cart {
		order: 5;
	}
	.header__user {
		order: 6;
	}
	.header__hr {
		order: 7;
	}
	.header__nav-tags {
		order: 8;
	}
	/* endregion ORDER */
	
	/* region menu */
	.header {
		gap: 10px 30px;
	}
	.header__logo {
		margin-right: 22px;
	}
	.header__menu {
		flex: 0 1 auto;
	}

	.header__menu-btn {
		display: flex;
		border: none;
		padding: 0;
		margin: 0;
		background-color: transparent;
		width: 20px;
		height: 20px;
		outline: none;
	}
	.header__menu-btn-text_opened {
		font-size: 40px;
		line-height: 15px;
	}
	.header__menu-btn-text_closed {
		font-size: 30px;
		line-height: 10px;
	}
	.header__menu-btn:not(.active) .header__menu-btn-text_opened {
		display: none;
	}
	.header__menu-btn.active .header__menu-btn-text_closed {
		display: none;
	}
	.top-menu {
		position: absolute;
		margin-top: calc(var(--header-row-height) + var(--page-vertical-padding));
		top: 0;
		left: 0;
		bottom: 0;
		box-sizing: border-box;
		background-color: var(--page-background-color);
		z-index: 1000;
		padding: 32px 24px;
		gap: 32px;
		display: none;
		flex-direction: column;
		overflow: auto;
	}
	
	.top-menu__footer {
		display: flex;
	}
	.top-menu__nav-tags {
		display: none;
	}
	.top-menu__list {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 16px;
		margin: 0;
		list-style: none;
	}

	.top-menu__item {
		font-size: 19px;
	}

	.top-menu__item a {
		font-size: 19px;
		color: var(--main-color);
		text-decoration: none;
	}

	.top-menu__item a:hover {
		color: var(--accent-color);
	}

	.top-menu__close {
		position: absolute;
		top: 20px;
		right: 20px;
		background: none;
		border: none;
		font-size: 30px;
		cursor: pointer;
		color: #333;
	}

	.top-menu__close:hover {
		color: #007bff;
	}

	.js_menu.active {
		display: flex;
	}
	
	.top-menu__user-avatar {
		display: block;
	}
	
	.user-avatar {
		display: flex;
		gap: 16px;
		align-items: center;
		color: var(--main-color);
		text-decoration: none;
	}

	.user-avatar:hover {
		color: var(--accent-color);
		text-decoration: none;
	}
	.user-avatar__img {
		width: 80px;
		height: 80px;
	}
	
	.user-avatar__name {
		font-size: 15px;
		color: inherit;
	}
	
	
	
	.top-menu__tags {
		
	}
	/* endregion menu */
	
	.header__user, .header__cart {
		flex-grow: 0;
	}
	
	.header__nav-tags {
		flex: 1 0 100%;
	}
}

@media screen and (max-width: 1341px) {
	html {
		--page-vertical-padding: 19px;
		--page-horizontal-padding: 24px;
	}
	
	.header {
		--vertical-gap: 24px;
		flex-wrap: nowrap;
		height: var(--header-row-height);
		padding-bottom: calc(var(--header-row-height) + var(--vertical-gap));
	}
	.header__hr {
		display: none;
	}
	.header__menu {
		margin-right: 0;
	}
	
	.header__logo {
		margin-right: 0;
	}
	.header__phone {
		display: none;
	}
	
	.header__nav-tags {
		position: absolute;
		top: calc(var(--page-vertical-padding) + var(--header-row-height) + var(--vertical-gap));
		left: 0;
		right: 0;
		overflow-x: auto;
		max-width: 100%;
		padding: 0 var(--page-horizontal-padding);
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.header__nav-tags::-webkit-scrollbar {
		height: 0;
	}
	
	.nav-tags {
		background-color: transparent;
		gap: 16px;
		border-radius: 0;
	}
	.nav-tags__link {
		white-space: nowrap;
		border-radius: 20px;
		background-color: white;
	}
}

@media screen and (max-width: 999px) {
	.header {
		height: auto;
		padding: 20px var(--page-horizontal-padding);
	}
	.cart-btn__label {
		display: none;
	}
	.header__nav-tags {
		display: none;
	}
	.top-menu__nav-tags {
		display: flex;
		flex-direction: column;
	}
	.nav-tags__link {
		flex: 0 1 auto;
		text-align: left;
		padding-left: 108px;
		display: flex;
		justify-content: flex-start;
		position: relative;
		min-height: 48px;
		box-sizing: border-box;
	}
	
	.nav-tags__link img {
		position: absolute;
		right: calc(100% - 108px + 16px);
	}
	
	.nav-tags__link span {
		white-space: normal;
	}

	.top-menu {
		bottom: 0;
		right: 0;
	}
	
	.top-menu__footer {
		gap: 60px;
	}
	
	.top-menu__nav-tags {
		flex: 1 1 296px;
	}
	
	.top-menu__org-info {
		flex: 1 1 296px;
	}
}

@media screen and (max-width: 767px) {
	.header {
		gap: 10px;
		flex-wrap: wrap;
	}
	.header__search {
		order: 5;
		flex-basis: 100%;
	}
	.header__menu {
		order: 1;
	}
	.header__logo {
		order: 2;
		margin: 0 auto;
		height: 25px;
		flex-basis: 150px;
		text-align: center;
	}
	.header__logo img {
		height: 100%;
	}
	.header__user {
		order: 3;
		flex: 0 0 auto;
	}
	.auth-btn__label {
		display: none;
	}
	.header__cart {
		order: 4;
		flex: 0 0 auto;
	}
	
	.auth-btn, .profile-link, .cart-btn {
		padding: 8px;
		height: 16px;
		box-sizing: content-box;
		display: block;
		line-height: 1;
	}
	.auth-btn, .cart-btn {
		width: 16px;
	}

	.auth-btn__icon, .profile-link__icon, .cart-btn__icon {
		width: 16px;
		height: 16px;
		object-fit: contain;
		object-position: center;
	}
	
	.top-menu__footer {
		flex-wrap: wrap;
		max-width: 100%;
	}
}
@media screen and (max-width: 359px) {
	html {
		--page-horizontal-padding: 12px
	}
}

/* endregion HEADER */

/* region FOOTER */
.footer {
	display: grid;
	padding: 80px var(--page-horizontal-padding) 50px;
	grid-template-columns: repeat(5, auto);
	grid-template-rows: repeat(2, max-content);
	justify-content: space-between;
	gap: 32px;
	grid-template-areas: "logo menu phone vk legal"
						 "none none none none legal";
}

@media screen and (max-width: 1883px) {
	.footer {
		grid-template-columns: 1fr 2fr repeat(2, max-content);

		grid-template-areas: "logo menu phone vk"
							"logo menu legal legal";
	}
}

@media screen and (max-width: 1341px) {
	.footer {
		grid-template-areas: "logo menu menu vk"
							"logo phone legal legal";
	}
}

@media screen and (max-width: 999px) {
	.footer {
		grid-template-columns: min-content 1fr 1fr 1fr;
		grid-template-areas: "logo menu phone vk "
							"logo menu legal legal";
	}
}

@media screen and (max-width: 767px) {
	.footer {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: min-content min-content max-content max-content;
		grid-template-areas: "logo menu"
							 "vk menu"
							 "phone phone"
							 "legal legal";
	}
}

.footer__logo {
	margin-top: -6px;
	flex: 0 1 210px;
	grid-area: logo;
}

@media screen and (min-width: 1342px) {
	.footer__logo .logo__img {
		display: block;
	}
	.footer__logo .logo__img-vertical {
		display: none;
	}
	.footer__logo .logo__img-vertical2{
		display: none;
	}
}
@media screen and (max-width: 1341px) {
	.footer__logo {
		flex: 0 1 auto;
		margin-top: 6px;
	}
	.footer__logo .logo__img {
		display: none;
	}
	.footer__logo .logo__img-vertical {
		display: block;
	}
	.footer__logo .logo__img-vertical2{
		display: none;
	}
}

@media screen and (max-width: 767px) {
	.footer__logo .logo__img {
		display: none;
	}
	.footer__logo .logo__img-vertical {
		display: none;
	}
	.footer__logo .logo__img-vertical2{
		display: block;
	}
}

.footer__menu {
	grid-area: menu;
	justify-self: center;
}

.bottom-menu__list {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 4px 37px;
}


.bottom-menu__item {
	padding: 0;
	white-space: nowrap;
	font-size: 15px;
	text-decoration: none;
}

@media screen and (max-width: 999px) {
	.bottom-menu__list {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 4px 16px;
		max-height: 100px;
	}
}

@media screen and (max-width: 767px) {
	.bottom-menu__list {
		max-height: 100%;
	}
}

.footer__phone {
	grid-area: phone;
}

@media screen and (max-width: 1883px) {
	.footer__phone {
		justify-self: end;
	}
}

@media screen and (max-width: 767px) {
	.footer__phone {
		justify-self: start;
	}
}

.footer__vk {
	color: var(--main-color);
	display: flex;
	gap: 10px;
	text-decoration: none;
	grid-area: vk;
	align-self: start;
}

@media screen and (max-width: 1883px) {
	.footer__vk {
		justify-self: end;
	}
}

@media screen and (max-width: 767px) {
	.footer__vk {
		justify-self: start;
	}
}

.footer__legal {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
	grid-area: legal;
}
@media screen and (max-width: 1883px) {
	.footer__legal {
		flex-direction: row;
	}
}

@media screen and (max-width: 1341px) {
	.footer__legal {
		min-width: 100%;
		flex: 0 0 100%;
		justify-content: flex-end;
	}
}

@media screen and (max-width: 767px) {
	.footer__legal {
		flex-direction: column;
		align-items: flex-start;
	}
}

.footer__legal-link {
	color: var(--main-color);
	text-decoration: underline;
}

.footer__legal-link:hover {
	text-decoration: none;
}

.footer__design-link {
	color: #888;
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
}
/* endregion FOOTER */

cart-counter {
	display: block;
}

.scrollable {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.containers-list::-webkit-scrollbar {
	display: none;
}

.items-list__pagination {
	margin-top: 60px;
}

.pages-nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.pages-nav__item {
	flex: 0 0 32px;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: var(--main-color);
}
span.pages-nav__item {
	text-decoration: underline;
}

.pages-nav__item:first-child {
	margin-right: 32px;
}
.pages-nav__item:last-child {
	margin-left: 32px;
}

/* region FAVORITE BUTTON */
.favorite-btn {
    color: var(--page-background-color);
    border: none;
    background: none;
    padding: 16px;
    cursor: pointer;
}

.favorite-btn .icon {
	width: 24px;
	height: 20px;
}
.favorite-btn_active {
    color: var(--accent-color);
}
/* endregion FAVORITE BUTTON */

.cart-btn {
  position: relative;
}
.cart-btn__badge {
  position: absolute;
  top: -12px;
  left: 12px;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  line-height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 767px) {
	.cart-btn__badge {
		top: 0;
		left: 16px;
	}
}

.input-row {
	display: flex;
	flex-direction: row;
	gap: 16px;
	margin: 16px 0;
}

.input-row:first-child {
	margin-top: 0;
}
.input-row:last-child {
	margin-bottom: 0;
}

.input-row__input {
	width: 100%;
	flex: 1 1 1px;
}

.input-row__input_2 {
	flex: 2 1 2px;
}

.input-row__input_align-center {
	align-self: center;
}

.input-row__input input {
	
}

.input-row__input .input-row {
	margin: 0;
}

.bonuses {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: start;
	justify-content: end;
	height: 32px;
	gap: 0 8px;
	width: fit-content;
}

.bonuses_large {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
}

.bonuses_large .bonuses__img {
	width: 42px;
	height: 38px;
}

.bonuses_large .bonuses__label {
	font-size: 15px;
}

.bonuses__label,
.bonuses__count {
	flex: 0 0 50%;
	/*height: 0;*/
}
.bonuses__label {
	font-size: 13px;
}
.bonuses__count {
	font-weight: 700;
}

.white-card {
	border-radius: 20px;
	background: #fff;
}

.underline {
	text-decoration: underline;
}

:where(.columns) {
	display: flex;
	gap: 16px;
}
.columns__column {
	flex: 1 1 0;
}

.padded-content {
	padding-left: 50px;
	padding-right: 50px;
}

:where(.flex) {
	display: flex;
}

:where(.align-items-center) {
	align-items: center;
}

/* region SEARCH */
.search-container {
	z-index: 100;
	position: absolute;
	border-radius: 20px;
	background: var(--page-background-color);
	padding: 12px;
	display: none;
	box-sizing: border-box;
}

.search-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 16px;
}
.search-item {
	background: white;
	display: flex;
	align-items: center;
	border-radius: 20px;
	gap: 12px;
	overflow: hidden;
	padding: 12px;
}

.search-item__title {
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	margin-right: auto;
}

.search-item__price {
	font-size: 18px;
	font-weight: 700;
}

.search-item__add-form {
	flex: 0 0 130px;
}

@media screen and (max-width: 767px) {
	.search-item {
		flex-wrap: wrap;
	}
	.search-item__image {
		max-width: 82px;
	}
	.search-item__title {
		flex-basis: calc(100% - 114px);
	}
	.search-item__add-form,
	.search-item__price {
		flex: 1 1 20%;
	}

}
/* endregion SEARCH */