﻿
/*====================GENERAL==================*/
html{
	height: 100%;
	scroll-behavior: smooth; /*ПРОВЕРИТЬ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
}
body{
	height: 100%;
	min-width: 320px;
	/* padding-top: 60px; */
	font-family: "Roboto";
	font-weight: 200;
	user-select: none;
	color: #333;
}
h1, h2, h3, h4, h5, h6 {
    color: #000;
}
img{
	max-width: 100%;
	height: auto;
}
#catalog, #contacts/* и другие id, к которым ведут ссылки */
section[id] {
    scroll-margin-top: 70px; /* 60px высота шапки + небольшой запас */
}/*====================GENERAL==================*/

/*====================HEADER==================*/
.navbar {
	transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: #fff; /* исходно белый */
	border-bottom: 1px solid #eee;
}
.home .navbar { 
	background: transparent; /* для глайной исходно прозрачный */
	border-bottom: none;
}

a.navbar-brand {
	padding: 3px 0px;
}
.navbar-scrolled a.navbar-brand {
	padding: 1px 0px;
}
.navbar-brand img {
    width: 150px;
    height: auto;
    transition: width 0.3s ease;
}
.navbar-scrolled .navbar-brand img {
	width: 120px;
}
.navbar-scrolled .navbar-toggler-icon {
	width: 1.3em;
	height: 1.3em;
}	
.navbar.navbar-scrolled {
    background-color: #fff; /* при скролле меняем цвет навбара */
	border-bottom: 1px solid #eee;
	/* padding-top: 4px;
	padding-bottom: 4px; */
}
.home .navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
	padding-top: 0px;
    padding-bottom: 0px;
    border: none;
    box-shadow: none;
    outline: none;
}
.home .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
.offcanvas-body .nav-link {
    color: #000;
	font-weight: 300;
}
.offcanvas-body .nav-link:hover {
    color: #0066CC;
}
.offcanvas-body .nav-link.active {
    color: #0066CC;
}
.offcanvas-body .navbar-nav {
    margin-left: 11px; /* или padding-right */
}
.offcanvas-header .btn-close {
	margin-right: 5px; /* отступ кнопки справа*/
}
.offcanvas-header .btn-close {
	outline: none;
    box-shadow: none;
}
/*====================HERO==================*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    /* align-items: center; */
    overflow: hidden;            /* чтобы масштабированное изображение не вылезало */
}

/* Псевдоэлемент для фонового изображения (анимируем его) */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../img/hero-bg1.jpeg') no-repeat center/cover;
    animation: slowZoom 20s infinite alternate ease-in-out;
    z-index: 0;
}

/* Псевдоэлемент для черной вуали (статичный) */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Контент поверх всего */
.hero > * {
    position: relative;
    z-index: 2;
}

/* Анимация */
@keyframes slowZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.1); }
}

.hero-wrapper{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.hero-top-title{
	margin-top: 60px;
	font-size: 60px;
	font-weight: 200;
	color: #fff;
	line-height: 1.0;
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.hero-top-title b{
	font-weight: 900;
	color: #0066CC;
}
.hero-top-description{
	margin-top: 20px;
	font-size: 18px;
	font-weight: 400;
	color: #fff;
	line-height: 1.1;
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.hero-midle-items{
	display: flex;
	flex-direction: column;
}
.hero-midle-item{
	margin-bottom: 10px;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 400;
	background: linear-gradient(90deg, #0066CC 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, #198754 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, #0066CC 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, grey 0%, rgba(0,102,204,0) 40%);
	color: #fff;
}
.thick-arrow {
	padding-right: 5px;
    font-weight: 900;
}
.hero-midle-description{
	margin-top: 20px;
	font-size: 19px;
	font-weight: 400;
	color: #fff;
	line-height: 1.1;
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.hero-bottom-description-bottom{
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	line-height: 1.1;
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
.hero-btn{
	margin-bottom: 10px;
	padding: 20px 40px;
	font-size: 20px;
	font-weight: 500;
	background: #FFC107;
	color: #000000;
}
.hero-btn:hover{
	background: #E0A800;
	color: #000000;
}



/*====================HERO==================*/

/*====================CATALOG==================*/
.catalog{
	margin: 50px 0px;
	padding-top: 50px;
}
.catalog h2{
	margin-bottom: 20px;
	font-size: 50px;
	font-weight: 100;
	text-align: center;
	line-height: 1.0;
}
.catalog h2 b{
	font-weight: 900;
	color: #0066CC;
}
.product-card{
	/* border: 1px solid #eeeeee; */
	text-align: center;
}
.product-card-thumb{
	position: relative;
	overflow: hidden;
	padding-bottom: 56.25%;
}
.thumb-img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/* height: auto; */height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.thumb-img.active {
    opacity: 1;
}
.thumb-zones{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	z-index: 2;
}
.thumb-zones .zone{
	flex: 1;
	height: 100%;
	cursor: pointer;
}
.thumb-lines {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.line {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    background-color: red;
    border-radius: 2px;
    transition: background-color 0.5s;
}
.line.active {
    background-color: #0066CC;
}
.product-card-content{
	margin-top: 30px;
}
.product-car-title{
	margin: 0px;
	font-size: 30px;
	font-weight: 300;
	letter-spacing: 0.5px;
}
/* .product-car-bodytype{
	font-size: 15px;
	font-weight: 400;
    letter-spacing: 0.5px;
} */
.product-car-price{
	margin-bottom: 6px;
	font-size: 25px;
	font-weight: 900;
}
.product-card-content span{ 
	font-size: 18px;
	font-weight: 400;
}
.product-card-footer a{margin-top: 10px;
	padding: 10px 40px;
	/* font-weight: 400; */
	border-radius: 0px;
    transition: background 0.3s;
	background: #2C3E50;
	color: #fff;
}
.product-card-footer a:hover{
	background: #1B2836;
}/*====================CATALOG==================*/

.work-item-wrapper{
	padding: 0px;
	border: 1px solid black;
}
.work-item{
	
}
.work-item-top-header{
	font-size: 60px;
	font-weight: 900;
	text-align: center;
	color: #fff;
}
.work-item-top-header-one{
	background: #4f4b98;
}
.work-item-top-header-two{
	background: #3479ba;
}
.work-item-top-header-three{
	background: #00a9c1;
}
.work-item-top-header-four{
	background: #00ba9b;
}
.work-item-top-header-five{
	background: #7dcf05;
}
.work-item-top-header-six{
	background: #a6d002;
}
.work-item-header{
	padding-left: 12px;
	padding-right: 12px;
	min-height: 100px;
	display: flex;
	align-items: center;
	text-align: center;
}
.work-item-header h3{
	margin-top: auto;
	margin-bottom: auto;
	font-size: 20px;
	font-weight: 300;
}
.work-item-body{
	padding-left: 12px;
	padding-right: 12px;
	font-size: 15px;
	font-weight: 500;
	text-align: justify;
	hyphens: auto;          /* переносы слов (работает не во всех браузерах) */
    word-break: break-word; /* перенос длинных слов */
}
/*====================WORK==================*/
.work{
	margin-top: 120px;
}
.work h2{
    margin-bottom: 10px;
	font-size: 50px;
	font-weight: 100;
	text-align: center;
	line-height: 1.0;
}
.work-description{
	margin-bottom: 50px;
	text-align: center;
	font-size: 20px;
	font-weight: 400;
	color: #666;
	line-height: 1.1;
}
.work-left{
	/* padding-right: 20px; */
}
.work-left-items{
	display: flex;
	flex-direction: column;
}
.work-left-item{
	margin-bottom: 10px;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: 400;
	background: linear-gradient(90deg, #0066CC 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, #198754 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, #0066CC 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, grey 0%, rgba(0,102,204,0) 40%);
	background: linear-gradient(90deg, #0066CC 0%, rgba(0,102,204,0) 90%);
	background: linear-gradient(90deg, #FFC107 0%, rgba(0,102,204,0) 90%);
	color: #fff;
	color: #000;
}
.work-left-thick-arrow {
	padding-right: 5px;
    font-weight: 900;
}

.work-button-top button{
	padding: 15px 30px;
}
.work-right{
}
.work-steps{
	list-style: none;
	margin: 0px;
	padding: 0px;
	
}
.work-steps {
    counter-reset: step;
    padding-left: 0;
    list-style: none;
}
.work-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}
.work-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #0066CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0066CC;
    z-index: 2;
}
/* Вертикальная линия */
.work-steps {
    position: relative;
}
.work-steps::before {
    content: '';
    position: absolute;
    left: 18px;             /* половина ширины круга (36/2) */
    top: 18px;              /* половина высоты первого круга */
    bottom: 18px;           /* отступ снизу */
    width: 2px;
    background: #0066CC;
    z-index: 1;
}
/* Убираем линию у последнего элемента (опционально) */
.work-steps li:last-child {
    margin-bottom: 0;
}
.work-steps li h3{
	margin: 0px;
	font-size: 16px;
	font-weight: 600;
	/* color: #0066CC; */
}
/* .work-steps li h3 span{
	margin-right: 15px;
	font-size: 20px;
	font-weight: 400;
	color: #0066CC; 
} */
.work-steps li p{
	font-size: 15px;
	font-weight: 400;
}
/*====================WORK==================*/

.section-bottom{
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
}
.section-button{
	margin-bottom: 10px;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 500;
	background: #FFC107;
	color: #000000;
}
.section-button:hover{
	background: #E0A800;
}
.section-bottom-description-bottom{
	font-size: 15px;
	font-weight: 400;
}

/*====================ADVANTAGES==================*/
.advantages{
	margin: 120px 0px;
}
.advantages h2{
	margin-bottom: 0px;
	font-size: 50px;
	font-weight: 100;
	text-align: center;
	line-height: 1.0;
}
.advantage-title-bottom{
	font-size: 20px;
	font-weight: 400;
	color: #666;
	text-align: center;
	margin-bottom: 50px;
	line-height: 1.1;
}
.advantage-card-main{
	margin-bottom: 25px;
}
.advantage-card-wrapper{
	display: flex;
	flex-direction: column;
	height: 100%;
}
.advantage-card{
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	padding: 20px;
	border: 1px solid black;
}

.advantage-card::before{
	content: "";
	width: 20px;
	height: 1px;
	background: #fff;
	position: absolute;
	top: -1px;
	right: 20px;
}
.advantage-card::after{
	content: "";
	width: 1px;
	height: 20px;
	background: #fff;
	position: absolute;
	top: 20px;
	right: -1px;
}
.advantage-card i::before{
	content: "";
	width: 21px;
	height: 21px;
	background: #ffc107;
	position: absolute;
	top: -1px;
	right: -1px;
}
.advantage-card-header{	
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.advantage-card-header h3{
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	font-weight: 500;
}
.advantage-card-content{
	/* margin-top: 10px; */
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.advantage-card-content p{
	margin: 0px;
	margin-top: 10px;
	padding: 0px;
	font-size: 15px;
	font-weight: 400;
}
.advantage-card-footer{
	margin-top: auto;
}/*====================ADVANTAGES==================*/

/*====================REVIEWS==================*/
.reviews{
	margin-top: 100px;
	margin-bottom: 120px;
}
.reviews h2{
	margin-bottom: 0px;
	font-size: 50px;
	font-weight: 100;
	text-align: center;
	line-height: 1.0;
}
.reviews-title-bottom{
	font-size: 20px;
	font-weight: 400;
	color: #666;
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.1;
}
.rev-card{
	padding: 20px 0px;
	height: 100%;
}
.rev-card-top{
	display: flex;
}
.rev-card-body{
	margin-top: 10px;
	font-size: 15px;
	font-weight: 400;
	color: #271511;
	color: #000;
	-webkit-line-clamp: 10; /*Ограничение числа строк.*/
    display: -webkit-box; /*.........................*/
    -webkit-box-orient: vertical; /*.................*/
    overflow: hidden; /*Ограничение числа строк......*/
}
.rev-card-top-left{
	margin-right: 10px;
}
.rev-card-top-left img{
	width: 44px;
	height: 44px;
	border-radius: 999px;
	object-fit: cover;
	background: #f1f3f5;
}

.rev-name {
	font-weight: 600;
	color: #111;
}
.rev-stars svg {
	width: 14px;
	height: 14px;
}
.rev-date {
	margin-left: 10px;
	color: #adb5bd;
	font-size: 12px;
}
.reviews-bottom{
	margin-top: 25px;
	display: flex;
	justify-content: center;
	gap: 50px;
}
.btn-max{
	padding: 10px 20px;
	background: linear-gradient(90deg, #1baaf7, #573ff7);
	transition: all 0.3s ease;
	border: none;
	border-radius: 0px;
}
.btn-max:hover{
	background: linear-gradient(90deg, #3bb5ff, #6b55ff);
}
.btn-tg{
	padding: 10px 20px;
	background: linear-gradient(135deg, #2AABEE 0%, #229ED9 70%);
	transition: all 0.3s ease;
	border: none;
	border-radius: 0px;
}
.btn-tg:hover{
	background: linear-gradient(135deg, #1F93D4 0%, #1A7FBA 100%);
}
/*====================REVIEWS==================*/

/*====================home-social-icon==================*/
/*.home-social-icon { border: 1px solid black;
	margin-left: auto;
	margin-right: auto;
	padding: 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	border: 1px solid black;
	text-align: center;
} */

.home-social-icon {
	height: 100%;
    position: relative;
    color: #000;
    /* border-radius: 50px; */
    padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	}
.home-social-icon-tg {
    background: url('../img/home-social-tg-icon.png') center/cover no-repeat;
}
.home-social-icon-max {
    background: url('../img/home-social-max-icon.png') center/cover no-repeat;
}
.home-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Чёрная вуаль с 50% прозрачности – регулируйте */
    pointer-events: none;          /* Чтобы можно было кликать по кнопке */
    z-index: 1;
    border-radius: inherit;        /* Повторяет скругление родителя */
}
.home-social-icon > * {
    position: relative;
    z-index: 2;
}
.home-social-icon-top h3{
	font-size: 36px;
	font-weight: 300;
	text-align: center;/* 
	background: #dde7f0;
	border-radius: 30px;
	padding: 20px; */
}
.home-social-icon-midle{
	flex-grow: 1;
	font-size: 17px;
	font-weight: 400;
	text-align: center;
}
.home-social-icon-bottom{
	margin-top: 10px;
}


/*====================home-social-icon==================*/

/*====================MAP==================*/
.footer{
	position: relative;
	padding: 70px 0px;
}
.footer::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../img/footer-bg.jpg') no-repeat center/cover;
	z-index: 0;
}
.footer::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1;
}
.footer > * {
    position: relative;
    z-index: 2;
}
.footer-left{
	/* display: flex;
	flex-direction: column; */
}
.footer-about{
}
.footer-about h3{
	font-size: 30px;
	font-weight: 200;
	color: #fff;
}
.footer-about p{
	font-size: 16px;
	font-weight: 400;
	color: #fff;
}
.footer-contact{
	margin-top: 25px;
}
.footer-contact h3{
	margin-bottom: 4px;
	font-size: 30px;
	font-weight: 200;
	color: #fff;
}
.footer-contact p{
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 400;
	color: #fff;
}
.footer-contact img{
	margin-right: 3px;
	width: 28px;
}
.footer-contact a{
	font-size: 15px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	transition: 0.3s;
}
.footer-contact a:hover{
	color: #0066CC;
	text-decoration-color: #0066CC;
}
.footer-right{
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0px;
}
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.footer-bottom{
	margin-top: 50px;
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	color: #fff;
}
/*====================FOOTER==================*/

/*====================legal-page==================*/
/* Стили для страниц политики и соглашения */
.legal-page {
    padding: 80px 0 60px;
    background: #f9f9f9;
}
.legal-page h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.2rem 0 0.8rem;
    color: #1e3a5f;
}
.legal-page p, .legal-page li {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}
.legal-page ul {
    margin-bottom: 1rem;
}
.legal-page a {
    color: #0066CC;
}
/*====================legal-page==================*/


/*==user-select: none; оставить или нет. Или оставить и задать только адресу номеру и мейлу=====*/
/*==с альтами закрыть вопрос, для логотипа и картинок карточек прояснить=====*/


.car-detail{
	margin-top: 100px;
}
.car-detail h1{
	margin-bottom: 20px;
	font-size: 50px;
	font-weight: 100;
	color: #000;
}
#carImage {
    transition: opacity 0.4s ease;
}
.image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
	text-align: center;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.car-detail-right-wrapper{
	margin-left: 50px;
	padding: 25px;
	background-color: #f5f7fa ;
	background-color: #eee;
	background-color: #eee ;
	/* background-color: #f5f5f5; */
}

.main-car-specs{
	margin-top: 50px;
	display: flex;
	justify-content: space-between;
}
.main-car-specs-item{
	display: flex;
	flex-direction: column;
}
.main-car-specs-item-left{
	display: flex;
	align-items: center;
	justify-content: center;
}
.main-car-specs-item-left img{
	width: 50px;
}
.main-car-specs-item-right{
	font-size: 20px;
}
.main-car-specs-item-right{
	display: flex;
	justify-content: center;
	align-items: center;
}
.main-car-specs-item-right-value{
	margin-top: 5px;
	font-size: 19px;
	font-weight: 400;
	text-transform: lowercase;
}



/* Общие для опций */ /* некоторые свойства заданы отдельно */
.car-options-wrapper{
	margin-top: 25px;
}
.car-options-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    /* gap: 0.5rem; */
}
.car-options-p{
	margin: 0px;
	margin-bottom: 0px;
	font-size: 16px;
	font-weight: 400;
}
.car-options-value{
	font-size: 15px;
	font-weight: 500;
}/* Общие для опций */ /* некоторые свойства заданы отдельно */

/* Контейнер с комплектациями */
.trim-options{
	padding: 0px 0px 10px 0px;
	display: flex;
	flex-direction: column;
	/* background-color: #f5f7fa ;*/
}
.trim-label{
	margin-top: 5px;
	margin-bottom: 5px;
}
.trim-card{
	margin: 0px 0px;
	display: flex;
	justify-content: space-between;
	font-weight: 400;
	cursor: pointer;
	transition: 0.3s;
	align-items: flex-end;
}
.trim-card:hover{
	color: #0066CC; 
}
.trim-name{
	padding-left: 2px;
	font-size: 18px;
	font-weight: 300;
	word-break: break-word;
	white-space: normal;
}
.trim-label input:checked + .trim-card .trim-name {
    color: #0066CC;
}
.trim-price{
	white-space: nowrap;
}/* Контейнер с комплектациями */

/* 
ТРИМ ПРОСТО СТРОКИ С СПЕЙС БИТВИН НЕЙМ И ЦЕНА И КАКОЙ ТО ЦВЕТ ДЛЯ ВЫДЕЛЕННОГО
С КРУГАМИ ЦВЕТОМ И САЛОНОМ ДОБИТЬ ПО ОТСТУПАМ И ВНЕ РАМКИ



 */

/* Опции экстерьера */
.color-options{
	padding: 10px 0px;
    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
	gap: 5px;
	/* background-color: #f5f7fa; */
}
.color-label {
    cursor: pointer;
}
.color-circle{
	margin-right: 3px;
	position: relative;
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
	/* border: 1px solid grey; */border: 1px solid #ddd;
    transition: transform 0.3s, border-color 0.3s;
}
.color-options input[type="radio"],
.interior-options input[type="radio"] {
    display: none;
}/* скрываем стандартный кружок */

input[type="radio"]:checked + .color-circle::after {
    content: "✓";
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background-color: #0066CC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.color-label:hover .color-circle{
    transform: scale(1.15);
}
.car-color-options-value {
	font-size: 16px;
    font-weight: 400;
}/* Опции экстерьера */

/* Опции интерьера */
.interior-options {
	padding: 10px 0px;
    display: flex;
	flex-direction: column;
    gap: 5px;
    flex-wrap: wrap;
	/* background-color: #f5f7fa; */
}
.interior-label{
	margin-right: 10px;
}
.interior-img-wrapper {
    position: relative;
    display: inline-block;
    width: 88px;
    height: 88px;
    border-radius: 50%;
}
.interior-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	border-radius: 50%;
	/* border: 1px solid #000; */
	transition: transform 0.4s, border-color 0.4s;
}
.interior-label input:checked + .interior-img-wrapper::after {
    content: "✓";
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background-color: #0066CC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.interior-label:hover .interior-img {
    transform: scale(1.15);
}
.car-interior-options-value {
	font-size: 16px;
    font-weight: 400;
}/* Опции интерьера */


/* Опции цена */
.car-detail-add-price{
	margin-top: 10px;
	padding: 25px 0px;
	display: flex;
	justify-content: space-between;
	align-items: end;
}
.car-detail-price{
	display: flex;
	flex-direction: column;
	align-items: end;
	font-size: 30px;
	font-weight: 300;
}
.car-detail-price span{
	font-size: 16px;
	font-weight: 400;
}
.car-detail-add{
	
}
.car-detail-add button{
	padding: 20px 30px;
	border-radius: 0px;
    transition: background 0.4s;
}
.car-detail-add button:hover{
}/* Опции цена */

/* Вкладки с характеристиками и комплектации */
.car-specs-wrapper{
	margin-top: 70px;
	margin-bottom: 50px;
}
.nav .nav-link {
    font-size: 20px;
	font-weight: 300;
	color: #000;
}
.nav .nav-link:hover {
    font-size: 20px;
	font-weight: 300;
	/* color: #0066CC; */
	color: #dc3545;
}
.nav .nav-link.active {
    font-size: 20px;
	font-weight: 400;
	/* color: #0066CC; */
	color: #dc3545;
	/* border-bottom-width: 1px; */
}


.all-car-specs{
	margin-top: 30px;
}

.accordion-body{
	padding: 0px 0px 0px 0px;
	padding: 5px 0px 0px 0px;
	font-size: 15px;
	font-weight: 400;
}
.accordion-item {
    margin-bottom: 5px;
	border: none;
}
.accordion-button{
	background-color: #f5f7fa;
	font-size: 15px;
	font-weight: 400;
}
.accordion-button:focus {
    box-shadow: none;
    outline: none;
}
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
    /* content: ''; */                    /* убираем текст */
    background-repeat: no-repeat;
    background-size: 1.1rem;
    background-position: center;
    width: 1.2rem;
    height: 1.2rem;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3E%3Cpath d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3E%3Cpath d='M0 7h16v2H0z'/%3E%3C/svg%3E");
}/* Вкладки с характеристиками и комплектации */


.specs-table{
	width: 100%;
}
.specs-table th {
    width: 50%;
	/* padding: 10px 20px; */
	padding: 3px 20px;
	text-align: left;
	font-size: 15px;
	font-weight: 400;
}
.specs-table td {
	text-align: left;
	/* padding: 10px 20px; */
	padding: 3px 20px;
	text-align: center;
    background: #f5f7fa;
	font-size: 15px;
	font-weight: 500;
}

/* Модальное окно для Отправки заявки */
.modal .modal-title{
	font-weight: 200;
}
.modal .form-label{
	font-weight: 300;
}
.modal .btn{
	border-radius: 0px;
}

.modal input[name="name"],
.modal input[name="phone"] {
    color: #000;
    background-color: #fff;
}
.modal input[name="name"]:focus,
.modal input[name="phone"]:focus {
    outline: none;
    box-shadow: none;
}/* Модальное окно для Отправки заявки */






/* car-description писание машины */
.car-description-wrapper{
}
.car-description{
	margin-top: 100px;
}
.div-for-border{
	width: 150px;
	margin-left: auto;
	margin-right: auto;
	border-top: 5px solid #dc3545;
}
.car-description h2{
	width: 80%;
	margin-top: 10px;
	margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
	font-size: 30px;
	font-weight: 100;
	text-align: center;
}
.car-description-card{
	margin-top: 4px;
	margin-bottom: 16px;
	
}
.car-description-card-wrapper{
	display: flex;
	flex-direction: column;
	height: 100%;
}
.car-description-card-footer{
	margin-top: auto;
	/* border: 1px solid #052c92; */
}

.car-description-card-img-lg{
	aspect-ratio: 16 / 9;
	/* height: 250px; */
}
.car-description-card-img-lg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.car-description-card-img-sm{
	height: 260px;
}
.car-description-card-img-sm img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.car-description-card-value{
	padding: 15px;
	text-align: center;
	background-color: #f5f7fa;
	flex-grow: 1;
}
.car-description-card-value-accordion{
	padding: 0px;
	background-color: #fff;
}
.car-description-card-value h3{
	margin-top: 3px;
	margin-bottom: 5px;
	font-size: 20px;
	font-weight: 400;
	/* color: #052c92; */
}
.car-description-card-value p{
	font-size: 15px;
	font-weight: 400;
}
.accordion-collapse{
    border-top: none;
}
.car-description-card-value .accordion-item {
    margin-bottom: 5px;
}
.car-description-card-value .accordion-button{
	padding: 16px 10px;
	/* background: #fff; */
	font-size: 15px;
	font-weight: 400;
}
.car-description-card-value .accordion-body{
	padding: 0px 10px 16px 10px;
	text-align: left;
	background: #fff;
	/* background: #f5f7fa; */
	font-size: 15px;
	font-weight: 400;
}
.car-description-card-value .accordion-item:first-child .accordion-button{
	padding: 16px 10px 16px 10px;
}
.car-description-card-value .accordion-button:focus {
    box-shadow: none;
    outline: none;
	border: none;
}
.car-description-card-value .accordion-button::after,
.car-description-card-value .accordion-button:not(.collapsed)::after {
    content: '';
    background-repeat: no-repeat;
    background-size: 1.1rem;
    background-position: center;
    width: 1.0rem;
    height: 1.0rem;
}
.car-description-card-value .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3E%3Cpath d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}
.car-description-card-value .accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3E%3Cpath d='M0 7h16v2H0z'/%3E%3C/svg%3E");
}/* car-description писание машины */

/* car-description раскрывающиеся элементы картинки */
.car-description-card-wrapper {
    position: relative;
    overflow: hidden;
}
.car-description-card-img-sm {
    position: relative;
    cursor: pointer;
}
.car-description-card-img-sm img {
    width: 100%;
    display: block;
}
.hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    pointer-events: none;
    z-index: 2;
}
.car-description-card-value2 {
    position: absolute;
	width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    pointer-events: none;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.car-description-card-value2 h3{
	color: #000;
	font-size: 16px;
	font-weight: 400;
}
.car-description-card-value2 p{
	color: #000;
	font-size: 14px;
	font-weight: 400;
}
.car-description-card-wrapper:hover .car-description-card-value2 {
    transform: translateY(0);
}
.car-description-card-wrapper.active .car-description-card-value2 {
    transform: translateY(0);
}
.car-description-card-wrapper:hover .hover-icon,
.car-description-card-wrapper.active .hover-icon {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s;
}/* car-description раскрывающиеся элементы картинки */

/* callback-btn-form */
.feedback-btn-group {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
}
.feedback-btn {
    background-color: #0066CC;
    color: #fff;
    border: none;
    padding: 15px 3px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.btn-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 10px;
    font-size: 15px;
	font-weight: 400;
    line-height: 1.2;
}
.phone-icon {
    position: relative;
    font-size: 24px;
    display: inline-block;
}
.radio-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.radio-waves::before,
.radio-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    animation: wave-animation 2s infinite;
}
.radio-waves::after {
    animation-delay: 0.8s;
}
@keyframes wave-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}/* callback-btn-form */

/* callbackModal */
.callbackModal .modal-content {
    border-radius: 0;
}
.callbackModal .modal-header{
	padding: 20px 20px 10px 20px;
	display: flex;
	flex-direction: column;
	position: relative;
}
.callbackModal .btn-close {
	padding: 5px;
    position: absolute;
    top: -1px;
    right: -1px;
	width: 24px;
    height: 24px;
	background-color: #fff;
	border-radius: 50%;
	border: 1px solid #eee;
	opacity: 1;
    outline: none;
    box-shadow: none;
}
.callbackModal .modal-title{
	padding-bottom: 5px;
	text-align: center;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.0;
}
.callbackModal .modal-description{
	margin: 0px;
	margin-top: 5px;
	text-align: center;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.1;
}
.callbackModal .modal-body{
	padding: 10px 20px;
}
.callbackModal .form-inputs-wrapper input{
	margin-bottom: 10px;
	padding: 10px;
	font-size: 12px;
	font-weight: 400;
	border: 1px solid black;
}
.callbackModal .form-button{
	margin-top: 10px;
}
.callbackModal .form-button button{
	padding: 10px 15px;
}
.callbackModal .modal-social-wrapper {
	margin-top: 20px;
	line-height: 1.1;
}
.callbackModal .modal-social-wrapper span{
	font-size: 15px;
	font-weight: 400;
}
.callbackModal .modal-social-icons{
	margin-top: 5px;
	display: flex;
	gap: 10px;
}
.callbackModal .modal-social-icons img{
	width: 38px;
	height: 38px;
}
.callbackModal .form-bottom{
	margin-top: 25px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.1;
}/* callbackModal */



/* getOfferForm */
.getOffer-modal .modal-dialog {
	margin-left: auto;
	margin-right: auto;
	width: 650px;
    max-width: 650px; 
	margin: 1.75rem auto; /* стандартное центрирование Bootstrap */
    left: 0;              /* сброс возможного смещения */
    right: 0;
    transform: none;      /* отключаем сдвиги от Bootstrap */
}
.getOffer-modal .modal-content {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding: 30px;
    border-radius: 0;
	/* background: linear-gradient(90deg, #5eab35, #a1d95d); color: ; font-weight: 500; */
} 
.getOffer-modal .modal-header{border: 1px solid red;
	padding: 0px;
	display: flex;
	flex-direction: column;
	position: relative;
	border: none;
}
.getOffer-modal .btn-close {
	padding: 5px;
    position: absolute;
    top: -10px;
    right: -10px;
	width: 24px;
    height: 24px;
	background-color: #fff;
	border-radius: 50%;
	border: 1px solid #eee;
	opacity: 1;
    outline: none;
    box-shadow: none;
}
.getOffer-modal .modal-title{
	padding-bottom: 5px;
	text-align: center;
	/* font-size: 24px;
	font-weight: 300; */
	line-height: 1.0;
}
.getOffer-modal .modal-description{
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.1;
}

.getOffer-modal .modal-body{
	padding: 0px;
	padding-top: 20px;
}
.getOffer-modal .form-fieldsets{
	display: flex;
	justify-content: space-between;
}
.getOffer-modal .form-fieldsets legend{
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.0;
}
.getOffer-modal div.form-check{
	padding-left: 0px;
	margin-bottom: 0px;
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 400;
}
.getOffer-modal div.form-check label{
	margin-left: 5px;
}
.getOffer-modal .form-inputs-wrapper {
	margin-top: 30px;
	display: flex;
	align-items: center;
}
.getOffer-modal .form-inputs-wrapper label{
	margin-right: 20px;
	font-size: 20px;
	font-weight: 300;
}
.getOffer-modal .form-inputs-wrapper label i {
    color: red;
}
.getOffer-modal .form-inputs-wrapper input {
	flex: 1;
    min-width: 0; /* важно для корректного сжатия */
	/* border: 1px solid grey; */
	border: none;
	background: #dde7f0;
	border-radius: 30px;
	padding: 10px;
	
	/* border: none; */
}
.getOffer-modal .form-button{
	margin-top: 40px;
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.getOffer-modal .form-button button{
	margin-left: auto;
	margin-right: auto;
	padding: 10px 15px;
	max-width: 260px;
}
.form-button-button{
	background: #ffc107;
	color: #000;
	transition: 0.3s;
}
.form-button-button:hover{
	background: #e0a800;
}
.form-button-bottom{
	margin-top: 10px;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	line-height: 1.0;
}
.getOffer-modal .modal-social-wrapper {
	margin-top: 15px;
	line-height: 1.1;
	text-align: center;
}
.getOffer-modal .modal-social-wrapper span{
	font-size: 15px;
	font-weight: 500;
}
.getOffer-modal .modal-social-icons{
	margin-top: 5px;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.getOffer-modal .modal-social-icons img{
	width: 38px;
	height: 38px;
}
.getOffer-modal .form-bottom{
	margin-top: 25px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.1;
}/* getOfferForm */

/* thankModalGetOfferModal */
.thankModalGetOfferModal .modal-header{
	position: relative;
}
.thankModalGetOfferModal .modal-title{
	font-size: 20px;
	font-weight: 400;
	line-height: 1.0;
}
.thankModalGetOfferModal .btn-close {
	padding: 5px;
    position: absolute;
    top: -1px;
    right: -1px;
	width: 24px;
    height: 24px;
	background-color: #fff;
	border-radius: 50%;
	border: 1px solid #eee;
	opacity: 1;
    outline: none;
    box-shadow: none;
}
.thankModalGetOfferModal .modal-body-top{
	font-size: 15px;
	font-weight: 300;
}
.thankModalGetOfferModal .modal-body-bottom{
	font-size: 15px;
	font-weight: 400;
}
.thankModalGetOfferModal .modal-footer{
	display: flex;
	flex-direction: column;
	align-items: start;
}
.thankModalGetOfferModal .modal-footer-top{
	font-size: 15px;
	font-weight: 300;
}
.thankModalGetOfferModal .modal-footer-bottom{
	font-size: 15px;
	font-weight: 400;
}
.thankModalGetOfferModal .modal-social-buttons{
	margin-top: 20px;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.thankModalGetOfferModal .modal-social-buttons .btn-max{
	font-size: 14px;
}
.thankModalGetOfferModal .modal-social-buttons .btn-tg{
	font-size: 14px;
}/* thankModalGetOfferModal */