@charset "UTF-8";
/*
Theme Name: МАКС-АВТО
Theme URI:  
Author:   МАКС-АВТО
Author URI: 
Description:   МАКС-АВТО
Version: 1.0
*/
body{
	font-family: "LINE Seed JP", sans-serif;
	color: #000000;
	background: #ffffff;
	line-height: 1.4;
	overflow-x:hidden;
	-webkit-font-smoothing: subpixel-antialiased !important;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
	position:relative;
	margin:0;
	-webkit-text-size-adjust:100%;
	-webkit-tap-highlight-color:transparent;
}
.body{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	
}
html,body{
	height: 100%;
}
*{
min-width:0;
min-height:0;
}
*,::after,::before{
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
}
[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}
hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}
button, button:active, button:focus, a, a:active, a:focus, a:hover,
div:focus, input:focus{
	outline: none;
	text-decoration:none;
}
a{
	color:#000000;
	text-decoration:none;
}
a:hover,
a:focus{
	color:#000000;
	text-decoration:none;
}
p{margin-top:0;margin-bottom:1rem}
button::-moz-focus-inner, a::-moz-focus-inner {
	border: 0;
}
iframe{
	border:0;
	box-shadow:none;
	margin:0;
	padding:0;
	margin-bottom: -10px;
}
input, textarea, select{
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	box-shadow: none;
	border: 0;
	background-image: none;
	padding-left:20px;
	padding-right:20px;
}
br{
	font-size:1px;
	line-height:1px;
}
img{
	display:block;
	max-width:100%;
	height:auto;
}
input,textarea,button{
	font-family: "LINE Seed JP", sans-serif;
}
.bodycontent {
	flex: 1 0 auto;
	position:relative;
	background:#FFFFFF;
	overflow:hidden;
}
.footercontent {
  flex-shrink: 0;
}
a {
    text-decoration: none;
}
.text-left,
caption {
    text-align: left;
}
.h1,
body,h1,html,legend {
    color: #1C161F;
}
blockquote,body,code,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,
h5,h6,legend,li,l,p,pre,td,th,ul {
    margin: 0;
    padding: 0;
}
td {
    vertical-align: top;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,th,var {
    font-style: normal;
    font-weight: 400;
}
b,strong {
    font-weight: 700;
}
em {
    font-style: italic;
}
li {
    list-style: none;
}
h1,h2,h3,h4,h5,h6 {
    font-size: 100%;
}
abbr,acronym {
    border: 0;
    font-variant: normal;
}
input,select,textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}
html {
    font-size: 16px;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
/**/
.container{
	width:100%;
	padding-right:12px;
	padding-left:12px;
	margin-right:auto;
	margin-left:auto;
}

@media (min-width:1300px){
	.container{max-width:1280px}
}
@media (min-width:1400px){
	.container{max-width:1920px}
}

.btn{
	display: flex;
	align-items: center;
	justify-content: center; 
	text-align:center;
	height:44px;
	max-width:100%;
	width:fit-content;
	border-radius:360px;
	cursor:pointer;
	box-shadow:none;
	border:none;
	outline:none;
}

.header {
	padding: 0;
}
.header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding:21px 67px 15px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.logo__icon {
	width: 57px;
	height: 57px;
	position: relative;
}
.logo__icon img{
	display:block;
	width:100%;
	height:100%;
	margin:auto;
	object-fit:contain;
}
.logo__text {
	display: flex;
	flex-direction: column;
}
.logo__title {
	font-size: 26px;
	line-height:100%;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #6056A0;
}
.logo__subtitle {
	font-size: 12px;
	color: #000;
}

/* Меню */
.nav {
	padding:0 32px;
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
	padding-bottom:10px;
}
.nav__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	line-height:15px;
	font-weight: 400;
	transition: color 0.2s;
	text-align:left;
}
.nav__item:hover {
	color: #6056A0;
}
.nav__icon {
	width: 25px;
	height: 25px;
	display: flex;
	flex-shrink:0;
	align-items: center;
	justify-content: center; 
}
.nav__icon .ico{
	width: 19px;
	height: 10px;
	stroke:#000;
}
.nav__item:hover .ico{
	stroke:#6056A0;
}



.header__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}
.header__address-row {
	display: flex;
	align-items: center;
	gap: 40px;
}
.header__address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #000;
}
.header__address-icon {
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center; 
}
.header__address-icon .ico{
	width: 19px;
	height: 23px;
	fill:#000;
}
.header__phone {
	font-size: 20px;
	font-weight: bold;
	color: #000;
	white-space: nowrap;
}

.header__actions {
	display: flex;
	gap: 37px;
}
.btn-topg {
	gap: 12px;
	padding: 10px 15px;
	border:0;
	font-size: 13px;
	color:#000;
	background: #F3F5F7;
	transition: background 0.2s;
	text-align:left;
	justify-content: start;
}
.btn-topg:hover {
	background: #f8f7fc;
}
.btn-topg__icon {
	width: 25px;
	height: 25px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center; 
}
.btn-topg__icon .ico{
	width: 25px;
	height: 25px;
}

.search-barwrap{
	background: #F3F5F7;
}
.search-bar {	
	padding: 7px 67px;
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: wrap;
	justify-content: space-between;
}
.search-form {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 280px;
	max-width:822px;
	background: #fff;
	border-radius: 100px;
	padding:0;
	margin:0;
	border: 1px solid transparent;
}
.search-form:focus-within {
	border-color: #6056A0;
}
.search-form input {
	flex: 1;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 13px;
	height:64px;
	background: transparent;
	padding: 0px 25px;
}
.search-form input::placeholder {
	color: #B2B2B2;
}
.btn-search {
	background: #6056A0;
	color: #fff;
	padding: 15px 25px;
	font-size: 13px;
	font-weight: bold;
	transition: background 0.2s;
	border:0;
	box-shadow:none;
	margin-right:13px;
	cursor:pointer;
}
.btn-search:hover {
	background: #4e4690;
}

.search-bar__buttons {
	display: flex;
	gap: 36px;
	flex-wrap: wrap;
}

.btn-tag {
	padding: 5px 25px;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
	transition: opacity 0.2s;
}
.btn-tag:active,
.btn-tag:focus,
.btn-tag:hover {
	opacity: 0.9;
	color:#fff;
}
.btn-tag--green {
	background: #50B3AD;
}
.btn-tag--purple {
	background: #6056A0;
}

.delivery-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 100px;
	padding: 5px 10px;
	font-size: 13px;
	font-weight: bold;
	color:#50B3AD;
	min-height:45px;
}
.delivery-banner__arrow {
	width: 35px;
	height: 35px;
	background: #50B3AD;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.delivery-banner__arrow .ico{
	stroke:#fff;
	width:11px;
	height:11px;
}
.delivery-banner:hover{
	background: #50B3AD;
	color:#fff;
}
.delivery-banner:hover .delivery-banner__arrow {
	background:#fff;
}
.delivery-banner:hover .delivery-banner__arrow .ico{
	stroke:#50B3AD;
}

/* ========== Каталог ========== */
.catalog {
	padding:15px 0;
}
.catalog__grid {
	display: flex;
	gap: 23px;
	flex-wrap: wrap;
}
.category-card {
	width: calc(16% - 20px);
	min-height: 243px;
	background: #fff url('./img/decor/wheel.svg') no-repeat calc(100% - 15px) calc(100% - 14px) / 69.75px 69.75px;
	border: 1px solid #E9E9E9;
	border-radius: 25px;
	padding: 35px 50px 75px;
	position: relative;
	display: flex;
	flex-direction: column;
}
.category-card:hover {
	
}
.category-card__title {
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 14px;
}
.category-card__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.category-card__list li {
	font-size: 14px;
	position: relative;
	padding-left: 14px;
}
.category-card__list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #000;
}
.category-card__list li a{
	color:#000;
}
.category-card__list li a:hover{
	color:#50B3AD;
}
.category-card__link {
	position: absolute;
	left: 12px;
	bottom: 13px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #E9E9E9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: border-color 0.2s, background 0.2s;
}
.category-card__link .ico{
	width:8px;
	height:8px;
	stroke:#E9E9E9;
	transition: stroke 0.2s;
}
.category-card__link:hover {
	border-color: #6056A0;
	background: #f8f7fc;
}
.category-card__link:hover  .ico{
	stroke:#6056A0;
}



@media (max-width: 1800px) {
	.header__top {
		gap:16px;
	}
	.header__address-row,
	.header__actions{
		gap: 12px;
	}
	.nav {
		padding: 0 10px;
	}
	.category-card {
		padding: 30px 30px 75px;
	}

}
@media (max-width: 1600px) {
	.header__address-row{
		flex-direction: column;
		align-items: end;
		gap:0;
	}

}
@media (max-width: 1399.9px) {
	.header__top,
	.search-bar{
		padding:10px 0;
	}
	.header__top {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.nav{
		flex:auto;
		max-width:fit-content;
	}
	.header__contacts{
		width:100%;
	}
	.header__contacts {
		flex-direction:row;
		justify-content: space-between;
	}
	.catalog__grid{
		flex-wrap: wrap;
		gap:10px;
	}
	.category-card {
		width: calc(25% - 8px);
	}
	.search-bar,
	.search-bar__buttons {
		gap:8px;
	}
}
@media (max-width: 1199.9px) {
	.search-form input {
		height:50px;
	}
	.btn-search {
		margin-right: 4px;
	}
	.btn-tag {
		padding: 5px 10px;
	}
}
@media (max-width: 1024px) {
	.header__phone {
		font-size: 18px;
	}
	.search-bar {
		gap: 5px;
	}
	.delivery-banner {
		font-size: 11px;
		padding: 3px 10px;
	}
	.category-card {
		min-height: 230px;
	}
}
@media (max-width: 992px) {
	.search-form{
		width:100%;
		max-width:100%;
		flex:auto;
	}
	.category-card {
		width:calc(33% - 7px);
	}
	.header__contacts{
		flex-wrap: wrap;
	}
	.header__address-row,.header__actions{
		width:100%;
	}
}
@media (max-width: 768px) {
	.header__top {
		flex-direction: column;
		align-items: stretch;
		gap: 5px;
	}
	.logo {
		justify-content: flex-start;
	}
	.nav {
		order: unset;
		flex-wrap: wrap;
		gap: 5px;
		padding-top: 0;
	}
	.header__contacts {
		align-items: flex-start;
	}
	.header__address-row {
		align-items: flex-start;
	}
	.header__actions {
		flex-wrap: wrap;
	}
	.search-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.search-bar__buttons {
		justify-content: flex-start;
	}
	.category-card {
		width:calc(50% - 7px);
		padding: 20px 10px 65px;
	}
	.category-card__title {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.nav{
		flex-direction: column;
		gap:8px;
	}
	.header__contacts{
		padding:20px 0;
	}
	.btn.btn-topg{
		width:100%;
	}
	.category-card {
		width:100%;
	}
	.search-bar {
		gap: 16px;
		justify-content: center; 
		align-items: center;
	}
  
}